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
1866 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1871 cat >>confdefs.h <<\_ACEOF
1875 cat >>confdefs.h <<\_ACEOF
1879 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1880 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1885 cat >>confdefs.h <<\_ACEOF
1889 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 cat >>confdefs.h <<\_ACEOF
1902 cat >>confdefs.h <<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 cat >>confdefs.h <<\_ACEOF
1917 cat >>confdefs.h <<\_ACEOF
1921 cat >>confdefs.h <<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __UNIXWARE__ 1
1938 *-*-cygwin* | *-*-mingw32* )
1941 DEFAULT_DEFAULT_wxUSE_MSW=1
1948 cat >>confdefs.h <<\_ACEOF
1953 DEFAULT_DEFAULT_wxUSE_MGL=1
1956 *-pc-os2_emx | *-pc-os2-emx )
1957 cat >>confdefs.h <<\_ACEOF
1962 cat >>confdefs.h <<\_ACEOF
1967 DEFAULT_DEFAULT_wxUSE_PM=1
1969 LDFLAGS="$LDFLAGS -Zcrtdll"
1970 ac_executable_extensions=".exe"
1971 export ac_executable_extensions
1975 for ac_dir in $PATH; do
1977 if test -z "$ac_TEMP_PATH"; then
1978 ac_TEMP_PATH="$ac_dir"
1980 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1983 export PATH="$ac_TEMP_PATH"
1992 cat >>confdefs.h <<\_ACEOF
1996 cat >>confdefs.h <<\_ACEOF
1997 #define __DARWIN__ 1
2000 cat >>confdefs.h <<\_ACEOF
2001 #define TARGET_CARBON 1
2004 DEFAULT_DEFAULT_wxUSE_MAC=1
2007 powerpc-apple-macos* )
2009 ac_cv_c_bigendian=yes
2011 DEFAULT_DEFAULT_wxUSE_MAC=1
2017 cat >>confdefs.h <<\_ACEOF
2024 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2025 echo "$as_me: error: unknown system type ${host}." >&2;}
2026 { (exit 1); exit 1; }; }
2032 wx_arg_cache_file="configarg.cache"
2033 echo "loading argument cache $wx_arg_cache_file"
2034 rm -f ${wx_arg_cache_file}.tmp
2035 touch ${wx_arg_cache_file}.tmp
2036 touch ${wx_arg_cache_file}
2040 if test $DEBUG_CONFIGURE = 1; then
2041 DEFAULT_wxUSE_UNIVERSAL=no
2042 DEFAULT_wxUSE_STL=no
2044 DEFAULT_wxUSE_NANOX=no
2046 DEFAULT_wxUSE_THREADS=yes
2048 DEFAULT_wxUSE_SHARED=yes
2049 DEFAULT_wxUSE_OPTIMISE=no
2050 DEFAULT_wxUSE_PROFILE=no
2051 DEFAULT_wxUSE_NO_DEPS=no
2052 DEFAULT_wxUSE_NO_RTTI=no
2053 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2054 DEFAULT_wxUSE_RPATH=yes
2055 DEFAULT_wxUSE_PERMISSIVE=no
2056 DEFAULT_wxUSE_DEBUG_FLAG=yes
2057 DEFAULT_wxUSE_DEBUG_INFO=yes
2058 DEFAULT_wxUSE_DEBUG_GDB=yes
2059 DEFAULT_wxUSE_MEM_TRACING=no
2060 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2061 DEFAULT_wxUSE_DMALLOC=no
2062 DEFAULT_wxUSE_APPLE_IEEE=no
2064 DEFAULT_wxUSE_EXCEPTIONS=no
2065 DEFAULT_wxUSE_LOG=yes
2066 DEFAULT_wxUSE_LOGWINDOW=no
2067 DEFAULT_wxUSE_LOGGUI=no
2068 DEFAULT_wxUSE_LOGDIALOG=no
2070 DEFAULT_wxUSE_GUI=yes
2071 DEFAULT_wxUSE_CONTROLS=no
2073 DEFAULT_wxUSE_REGEX=no
2074 DEFAULT_wxUSE_XML=no
2075 DEFAULT_wxUSE_EXPAT=no
2076 DEFAULT_wxUSE_ZLIB=no
2077 DEFAULT_wxUSE_LIBPNG=no
2078 DEFAULT_wxUSE_LIBJPEG=no
2079 DEFAULT_wxUSE_LIBTIFF=no
2080 DEFAULT_wxUSE_LIBXPM=no
2081 DEFAULT_wxUSE_LIBMSPACK=no
2082 DEFAULT_wxUSE_LIBSDL=no
2083 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2084 DEFAULT_wxUSE_LIBHILDON=no
2085 DEFAULT_wxUSE_ODBC=no
2086 DEFAULT_wxUSE_OPENGL=no
2088 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2089 DEFAULT_wxUSE_STACKWALKER=no
2090 DEFAULT_wxUSE_DEBUGREPORT=no
2091 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2092 DEFAULT_wxUSE_STD_IOSTREAM=no
2093 DEFAULT_wxUSE_STD_STRING=no
2094 DEFAULT_wxUSE_CMDLINE_PARSER=no
2095 DEFAULT_wxUSE_DATETIME=no
2096 DEFAULT_wxUSE_TIMER=no
2097 DEFAULT_wxUSE_STOPWATCH=no
2098 DEFAULT_wxUSE_FILE=no
2099 DEFAULT_wxUSE_FFILE=no
2100 DEFAULT_wxUSE_STDPATHS=no
2101 DEFAULT_wxUSE_TEXTBUFFER=no
2102 DEFAULT_wxUSE_TEXTFILE=no
2103 DEFAULT_wxUSE_SOUND=no
2104 DEFAULT_wxUSE_MEDIACTRL=no
2105 DEFAULT_wxUSE_INTL=no
2106 DEFAULT_wxUSE_CONFIG=no
2107 DEFAULT_wxUSE_FONTMAP=no
2108 DEFAULT_wxUSE_STREAMS=no
2109 DEFAULT_wxUSE_SOCKETS=no
2110 DEFAULT_wxUSE_OLE=no
2111 DEFAULT_wxUSE_DATAOBJ=no
2112 DEFAULT_wxUSE_DIALUP_MANAGER=no
2113 DEFAULT_wxUSE_JOYSTICK=no
2114 DEFAULT_wxUSE_DYNLIB_CLASS=no
2115 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2116 DEFAULT_wxUSE_LONGLONG=no
2117 DEFAULT_wxUSE_GEOMETRY=no
2119 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2120 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2121 DEFAULT_wxUSE_POSTSCRIPT=no
2123 DEFAULT_wxUSE_CLIPBOARD=no
2124 DEFAULT_wxUSE_TOOLTIPS=no
2125 DEFAULT_wxUSE_DRAG_AND_DROP=no
2126 DEFAULT_wxUSE_DRAGIMAGE=no
2127 DEFAULT_wxUSE_SPLINES=no
2128 DEFAULT_wxUSE_MOUSEWHEEL=no
2130 DEFAULT_wxUSE_MDI=no
2131 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2132 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2133 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2135 DEFAULT_wxUSE_RESOURCES=no
2136 DEFAULT_wxUSE_CONSTRAINTS=no
2137 DEFAULT_wxUSE_IPC=no
2138 DEFAULT_wxUSE_HELP=no
2139 DEFAULT_wxUSE_MS_HTML_HELP=no
2140 DEFAULT_wxUSE_WXHTML_HELP=no
2141 DEFAULT_wxUSE_TREELAYOUT=no
2142 DEFAULT_wxUSE_METAFILE=no
2143 DEFAULT_wxUSE_MIMETYPE=no
2144 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2145 DEFAULT_wxUSE_PROTOCOL=no
2146 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2147 DEFAULT_wxUSE_PROTOCOL_FTP=no
2148 DEFAULT_wxUSE_PROTOCOL_FILE=no
2149 DEFAULT_wxUSE_URL=no
2151 DEFAULT_wxUSE_COMMONDLGS=no
2152 DEFAULT_wxUSE_CHOICEDLG=no
2153 DEFAULT_wxUSE_COLOURDLG=no
2154 DEFAULT_wxUSE_DIRDLG=no
2155 DEFAULT_wxUSE_FILEDLG=no
2156 DEFAULT_wxUSE_FINDREPLDLG=no
2157 DEFAULT_wxUSE_FONTDLG=no
2158 DEFAULT_wxUSE_MSGDLG=no
2159 DEFAULT_wxUSE_NUMBERDLG=no
2160 DEFAULT_wxUSE_TEXTDLG=no
2161 DEFAULT_wxUSE_SPLASH=no
2162 DEFAULT_wxUSE_STARTUP_TIPS=no
2163 DEFAULT_wxUSE_PROGRESSDLG=no
2164 DEFAULT_wxUSE_WIZARDDLG=no
2166 DEFAULT_wxUSE_MENUS=no
2167 DEFAULT_wxUSE_MINIFRAME=no
2168 DEFAULT_wxUSE_HTML=no
2169 DEFAULT_wxUSE_RICHTEXT=no
2170 DEFAULT_wxUSE_XRC=no
2171 DEFAULT_wxUSE_WEBKIT=no
2172 DEFAULT_wxUSE_FILESYSTEM=no
2173 DEFAULT_wxUSE_FS_INET=no
2174 DEFAULT_wxUSE_FS_ZIP=no
2175 DEFAULT_wxUSE_BUSYINFO=no
2176 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2177 DEFAULT_wxUSE_ZIPSTREAM=no
2178 DEFAULT_wxUSE_VALIDATORS=no
2180 DEFAULT_wxUSE_ACCEL=no
2181 DEFAULT_wxUSE_BUTTON=no
2182 DEFAULT_wxUSE_BMPBUTTON=no
2183 DEFAULT_wxUSE_CALCTRL=no
2184 DEFAULT_wxUSE_CARET=no
2185 DEFAULT_wxUSE_CHECKBOX=no
2186 DEFAULT_wxUSE_CHECKLST=no
2187 DEFAULT_wxUSE_CHOICE=no
2188 DEFAULT_wxUSE_CHOICEBOOK=no
2189 DEFAULT_wxUSE_COMBOBOX=no
2190 DEFAULT_wxUSE_DATEPICKCTRL=no
2191 DEFAULT_wxUSE_DISPLAY=no
2192 DEFAULT_wxUSE_GAUGE=no
2193 DEFAULT_wxUSE_GRID=no
2194 DEFAULT_wxUSE_DATAVIEWCTRL=no
2195 DEFAULT_wxUSE_IMAGLIST=no
2196 DEFAULT_wxUSE_LISTBOOK=no
2197 DEFAULT_wxUSE_LISTBOX=no
2198 DEFAULT_wxUSE_LISTCTRL=no
2199 DEFAULT_wxUSE_NOTEBOOK=no
2200 DEFAULT_wxUSE_RADIOBOX=no
2201 DEFAULT_wxUSE_RADIOBTN=no
2202 DEFAULT_wxUSE_SASH=no
2203 DEFAULT_wxUSE_SCROLLBAR=no
2204 DEFAULT_wxUSE_SLIDER=no
2205 DEFAULT_wxUSE_SPINBTN=no
2206 DEFAULT_wxUSE_SPINCTRL=no
2207 DEFAULT_wxUSE_SPLITTER=no
2208 DEFAULT_wxUSE_STATBMP=no
2209 DEFAULT_wxUSE_STATBOX=no
2210 DEFAULT_wxUSE_STATLINE=no
2211 DEFAULT_wxUSE_STATTEXT=no
2212 DEFAULT_wxUSE_STATUSBAR=yes
2213 DEFAULT_wxUSE_TABDIALOG=no
2214 DEFAULT_wxUSE_TEXTCTRL=no
2215 DEFAULT_wxUSE_TOGGLEBTN=no
2216 DEFAULT_wxUSE_TOOLBAR=no
2217 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2218 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2219 DEFAULT_wxUSE_TREEBOOK=no
2220 DEFAULT_wxUSE_TREECTRL=no
2221 DEFAULT_wxUSE_POPUPWIN=no
2222 DEFAULT_wxUSE_TIPWINDOW=no
2224 DEFAULT_wxUSE_UNICODE=no
2225 DEFAULT_wxUSE_UNICODE_MSLU=no
2226 DEFAULT_wxUSE_WCSRTOMBS=no
2228 DEFAULT_wxUSE_PALETTE=no
2229 DEFAULT_wxUSE_IMAGE=no
2230 DEFAULT_wxUSE_GIF=no
2231 DEFAULT_wxUSE_PCX=no
2232 DEFAULT_wxUSE_PNM=no
2233 DEFAULT_wxUSE_IFF=no
2234 DEFAULT_wxUSE_XPM=no
2235 DEFAULT_wxUSE_ICO_CUR=no
2236 DEFAULT_wxUSE_ACCESSIBILITY=no
2238 DEFAULT_wxUSE_MONOLITHIC=no
2239 DEFAULT_wxUSE_PLUGINS=no
2240 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2242 DEFAULT_wxUSE_UNIVERSAL=no
2243 DEFAULT_wxUSE_STL=no
2245 DEFAULT_wxUSE_NANOX=no
2247 DEFAULT_wxUSE_THREADS=yes
2249 DEFAULT_wxUSE_SHARED=yes
2250 DEFAULT_wxUSE_OPTIMISE=yes
2251 DEFAULT_wxUSE_PROFILE=no
2252 DEFAULT_wxUSE_NO_DEPS=no
2253 DEFAULT_wxUSE_NO_RTTI=no
2254 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2255 DEFAULT_wxUSE_RPATH=yes
2256 DEFAULT_wxUSE_PERMISSIVE=no
2257 DEFAULT_wxUSE_DEBUG_FLAG=no
2258 DEFAULT_wxUSE_DEBUG_INFO=no
2259 DEFAULT_wxUSE_DEBUG_GDB=no
2260 DEFAULT_wxUSE_MEM_TRACING=no
2261 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2262 DEFAULT_wxUSE_DMALLOC=no
2263 DEFAULT_wxUSE_APPLE_IEEE=yes
2265 DEFAULT_wxUSE_EXCEPTIONS=yes
2266 DEFAULT_wxUSE_LOG=yes
2267 DEFAULT_wxUSE_LOGWINDOW=yes
2268 DEFAULT_wxUSE_LOGGUI=yes
2269 DEFAULT_wxUSE_LOGDIALOG=yes
2271 DEFAULT_wxUSE_GUI=yes
2273 DEFAULT_wxUSE_REGEX=yes
2274 DEFAULT_wxUSE_XML=yes
2275 DEFAULT_wxUSE_EXPAT=yes
2276 DEFAULT_wxUSE_ZLIB=yes
2277 DEFAULT_wxUSE_LIBPNG=yes
2278 DEFAULT_wxUSE_LIBJPEG=yes
2279 DEFAULT_wxUSE_LIBTIFF=yes
2280 DEFAULT_wxUSE_LIBXPM=yes
2281 DEFAULT_wxUSE_LIBMSPACK=yes
2282 DEFAULT_wxUSE_LIBSDL=no
2283 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2284 DEFAULT_wxUSE_LIBHILDON=no
2285 DEFAULT_wxUSE_ODBC=no
2286 DEFAULT_wxUSE_OPENGL=no
2288 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2289 DEFAULT_wxUSE_STACKWALKER=yes
2290 DEFAULT_wxUSE_DEBUGREPORT=yes
2291 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2292 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2293 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2294 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2295 DEFAULT_wxUSE_DATETIME=yes
2296 DEFAULT_wxUSE_TIMER=yes
2297 DEFAULT_wxUSE_STOPWATCH=yes
2298 DEFAULT_wxUSE_FILE=yes
2299 DEFAULT_wxUSE_FFILE=yes
2300 DEFAULT_wxUSE_STDPATHS=yes
2301 DEFAULT_wxUSE_TEXTBUFFER=yes
2302 DEFAULT_wxUSE_TEXTFILE=yes
2303 DEFAULT_wxUSE_SOUND=yes
2304 DEFAULT_wxUSE_MEDIACTRL=no
2305 DEFAULT_wxUSE_INTL=yes
2306 DEFAULT_wxUSE_CONFIG=yes
2307 DEFAULT_wxUSE_FONTMAP=yes
2308 DEFAULT_wxUSE_STREAMS=yes
2309 DEFAULT_wxUSE_SOCKETS=yes
2310 DEFAULT_wxUSE_OLE=yes
2311 DEFAULT_wxUSE_DATAOBJ=yes
2312 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2313 DEFAULT_wxUSE_JOYSTICK=yes
2314 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2315 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2316 DEFAULT_wxUSE_LONGLONG=yes
2317 DEFAULT_wxUSE_GEOMETRY=yes
2319 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2320 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2321 DEFAULT_wxUSE_POSTSCRIPT=yes
2323 DEFAULT_wxUSE_CLIPBOARD=yes
2324 DEFAULT_wxUSE_TOOLTIPS=yes
2325 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2326 DEFAULT_wxUSE_DRAGIMAGE=yes
2327 DEFAULT_wxUSE_SPLINES=yes
2328 DEFAULT_wxUSE_MOUSEWHEEL=yes
2330 DEFAULT_wxUSE_MDI=yes
2331 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2332 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2333 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2335 DEFAULT_wxUSE_RESOURCES=no
2336 DEFAULT_wxUSE_CONSTRAINTS=yes
2337 DEFAULT_wxUSE_IPC=yes
2338 DEFAULT_wxUSE_HELP=yes
2339 DEFAULT_wxUSE_MS_HTML_HELP=yes
2340 DEFAULT_wxUSE_WXHTML_HELP=yes
2341 DEFAULT_wxUSE_TREELAYOUT=yes
2342 DEFAULT_wxUSE_METAFILE=yes
2343 DEFAULT_wxUSE_MIMETYPE=yes
2344 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2345 DEFAULT_wxUSE_PROTOCOL=yes
2346 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2347 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2348 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2349 DEFAULT_wxUSE_URL=yes
2351 DEFAULT_wxUSE_COMMONDLGS=yes
2352 DEFAULT_wxUSE_CHOICEDLG=yes
2353 DEFAULT_wxUSE_COLOURDLG=yes
2354 DEFAULT_wxUSE_DIRDLG=yes
2355 DEFAULT_wxUSE_FILEDLG=yes
2356 DEFAULT_wxUSE_FINDREPLDLG=yes
2357 DEFAULT_wxUSE_FONTDLG=yes
2358 DEFAULT_wxUSE_MSGDLG=yes
2359 DEFAULT_wxUSE_NUMBERDLG=yes
2360 DEFAULT_wxUSE_TEXTDLG=yes
2361 DEFAULT_wxUSE_SPLASH=yes
2362 DEFAULT_wxUSE_STARTUP_TIPS=yes
2363 DEFAULT_wxUSE_PROGRESSDLG=yes
2364 DEFAULT_wxUSE_WIZARDDLG=yes
2366 DEFAULT_wxUSE_MENUS=yes
2367 DEFAULT_wxUSE_MINIFRAME=yes
2368 DEFAULT_wxUSE_HTML=yes
2369 DEFAULT_wxUSE_RICHTEXT=yes
2370 DEFAULT_wxUSE_XRC=yes
2371 DEFAULT_wxUSE_WEBKIT=yes
2372 DEFAULT_wxUSE_FILESYSTEM=yes
2373 DEFAULT_wxUSE_FS_INET=yes
2374 DEFAULT_wxUSE_FS_ZIP=yes
2375 DEFAULT_wxUSE_BUSYINFO=yes
2376 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2377 DEFAULT_wxUSE_ZIPSTREAM=yes
2378 DEFAULT_wxUSE_VALIDATORS=yes
2380 DEFAULT_wxUSE_ACCEL=yes
2381 DEFAULT_wxUSE_BUTTON=yes
2382 DEFAULT_wxUSE_BMPBUTTON=yes
2383 DEFAULT_wxUSE_CALCTRL=yes
2384 DEFAULT_wxUSE_CARET=yes
2385 DEFAULT_wxUSE_CHECKBOX=yes
2386 DEFAULT_wxUSE_CHECKLST=yes
2387 DEFAULT_wxUSE_CHOICE=yes
2388 DEFAULT_wxUSE_CHOICEBOOK=yes
2389 DEFAULT_wxUSE_COMBOBOX=yes
2390 DEFAULT_wxUSE_DATEPICKCTRL=yes
2391 DEFAULT_wxUSE_DISPLAY=yes
2392 DEFAULT_wxUSE_GAUGE=yes
2393 DEFAULT_wxUSE_GRID=yes
2394 DEFAULT_wxUSE_DATAVIEWCTRL=no
2395 DEFAULT_wxUSE_IMAGLIST=yes
2396 DEFAULT_wxUSE_LISTBOOK=yes
2397 DEFAULT_wxUSE_LISTBOX=yes
2398 DEFAULT_wxUSE_LISTCTRL=yes
2399 DEFAULT_wxUSE_NOTEBOOK=yes
2400 DEFAULT_wxUSE_RADIOBOX=yes
2401 DEFAULT_wxUSE_RADIOBTN=yes
2402 DEFAULT_wxUSE_SASH=yes
2403 DEFAULT_wxUSE_SCROLLBAR=yes
2404 DEFAULT_wxUSE_SLIDER=yes
2405 DEFAULT_wxUSE_SPINBTN=yes
2406 DEFAULT_wxUSE_SPINCTRL=yes
2407 DEFAULT_wxUSE_SPLITTER=yes
2408 DEFAULT_wxUSE_STATBMP=yes
2409 DEFAULT_wxUSE_STATBOX=yes
2410 DEFAULT_wxUSE_STATLINE=yes
2411 DEFAULT_wxUSE_STATTEXT=yes
2412 DEFAULT_wxUSE_STATUSBAR=yes
2413 DEFAULT_wxUSE_TABDIALOG=no
2414 DEFAULT_wxUSE_TEXTCTRL=yes
2415 DEFAULT_wxUSE_TOGGLEBTN=yes
2416 DEFAULT_wxUSE_TOOLBAR=yes
2417 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2418 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2419 DEFAULT_wxUSE_TREEBOOK=yes
2420 DEFAULT_wxUSE_TREECTRL=yes
2421 DEFAULT_wxUSE_POPUPWIN=yes
2422 DEFAULT_wxUSE_TIPWINDOW=yes
2424 DEFAULT_wxUSE_UNICODE=no
2425 DEFAULT_wxUSE_UNICODE_MSLU=yes
2426 DEFAULT_wxUSE_WCSRTOMBS=no
2428 DEFAULT_wxUSE_PALETTE=yes
2429 DEFAULT_wxUSE_IMAGE=yes
2430 DEFAULT_wxUSE_GIF=yes
2431 DEFAULT_wxUSE_PCX=yes
2432 DEFAULT_wxUSE_IFF=no
2433 DEFAULT_wxUSE_PNM=yes
2434 DEFAULT_wxUSE_XPM=yes
2435 DEFAULT_wxUSE_ICO_CUR=yes
2436 DEFAULT_wxUSE_ACCESSIBILITY=no
2438 DEFAULT_wxUSE_MONOLITHIC=no
2439 DEFAULT_wxUSE_PLUGINS=no
2440 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2442 DEFAULT_wxUSE_GTK2=yes
2448 for toolkit in `echo $ALL_TOOLKITS`; do
2449 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2450 if test "x$LINE" != "x" ; then
2451 has_toolkit_in_cache=1
2452 eval "DEFAULT_$LINE"
2453 eval "CACHE_$toolkit=1"
2455 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2456 if test "x$LINE" != "x" ; then
2457 eval "DEFAULT_$LINE"
2465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2466 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2468 # Check whether --enable-gui or --disable-gui was given.
2469 if test "${enable_gui+set}" = set; then
2470 enableval="$enable_gui"
2472 if test "$enableval" = yes; then
2473 ac_cv_use_gui='wxUSE_GUI
=yes'
2475 ac_cv_use_gui='wxUSE_GUI
=no
'
2480 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2481 if test "x$LINE" != x ; then
2482 eval "DEFAULT_$LINE"
2487 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2491 eval "$ac_cv_use_gui"
2492 if test "$no_cache" != 1; then
2493 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2496 if test "$wxUSE_GUI" = yes; then
2497 echo "$as_me:$LINENO: result: yes" >&5
2498 echo "${ECHO_T}yes" >&6
2500 echo "$as_me:$LINENO: result: no" >&5
2501 echo "${ECHO_T}no" >&6
2506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2507 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2509 # Check whether --enable-monolithic or --disable-monolithic was given.
2510 if test "${enable_monolithic+set}" = set; then
2511 enableval="$enable_monolithic"
2513 if test "$enableval" = yes; then
2514 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2516 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2521 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2522 if test "x$LINE" != x ; then
2523 eval "DEFAULT_$LINE"
2528 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2532 eval "$ac_cv_use_monolithic"
2533 if test "$no_cache" != 1; then
2534 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2537 if test "$wxUSE_MONOLITHIC" = yes; then
2538 echo "$as_me:$LINENO: result: yes" >&5
2539 echo "${ECHO_T}yes" >&6
2541 echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6
2547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2548 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2550 # Check whether --enable-plugins or --disable-plugins was given.
2551 if test "${enable_plugins+set}" = set; then
2552 enableval="$enable_plugins"
2554 if test "$enableval" = yes; then
2555 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2557 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2562 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2563 if test "x$LINE" != x ; then
2564 eval "DEFAULT_$LINE"
2569 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2573 eval "$ac_cv_use_plugins"
2574 if test "$no_cache" != 1; then
2575 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2578 if test "$wxUSE_PLUGINS" = yes; then
2579 echo "$as_me:$LINENO: result: yes" >&5
2580 echo "${ECHO_T}yes" >&6
2582 echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6
2588 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2589 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2592 # Check whether --with-subdirs or --without-subdirs was given.
2593 if test "${with_subdirs+set}" = set; then
2594 withval="$with_subdirs"
2596 if test "$withval" = yes; then
2597 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2599 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2604 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2605 if test "x$LINE" != x ; then
2606 eval "DEFAULT_$LINE"
2611 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2615 eval "$ac_cv_use_subdirs"
2616 if test "$no_cache" != 1; then
2617 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2620 if test "$wxWITH_SUBDIRS" = yes; then
2621 echo "$as_me:$LINENO: result: yes" >&5
2622 echo "${ECHO_T}yes" >&6
2624 echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6
2629 if test "$wxUSE_GUI" = "yes"; then
2633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2634 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2636 # Check whether --enable-universal or --disable-universal was given.
2637 if test "${enable_universal+set}" = set; then
2638 enableval="$enable_universal"
2640 if test "$enableval" = yes; then
2641 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2643 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2648 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2649 if test "x$LINE" != x ; then
2650 eval "DEFAULT_$LINE"
2655 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2659 eval "$ac_cv_use_universal"
2660 if test "$no_cache" != 1; then
2661 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2664 if test "$wxUSE_UNIVERSAL" = yes; then
2665 echo "$as_me:$LINENO: result: yes" >&5
2666 echo "${ECHO_T}yes" >&6
2668 echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2673 # Check whether --with-gtk or --without-gtk was given.
2674 if test "${with_gtk+set}" = set; then
2676 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2679 # Check whether --with-motif or --without-motif was given.
2680 if test "${with_motif+set}" = set; then
2681 withval="$with_motif"
2682 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2685 # Check whether --with-mac or --without-mac was given.
2686 if test "${with_mac+set}" = set; then
2688 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2691 # Check whether --with-cocoa or --without-cocoa was given.
2692 if test "${with_cocoa+set}" = set; then
2693 withval="$with_cocoa"
2694 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2697 # Check whether --with-wine or --without-wine was given.
2698 if test "${with_wine+set}" = set; then
2699 withval="$with_wine"
2700 wxUSE_WINE="$withval" CACHE_WINE=1
2703 # Check whether --with-msw or --without-msw was given.
2704 if test "${with_msw+set}" = set; then
2706 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2709 # Check whether --with-pm or --without-pm was given.
2710 if test "${with_pm+set}" = set; then
2712 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2715 # Check whether --with-mgl or --without-mgl was given.
2716 if test "${with_mgl+set}" = set; then
2718 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2721 # Check whether --with-microwin or --without-microwin was given.
2722 if test "${with_microwin+set}" = set; then
2723 withval="$with_microwin"
2724 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2727 # Check whether --with-x11 or --without-x11 was given.
2728 if test "${with_x11+set}" = set; then
2730 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2735 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2737 # Check whether --enable-nanox or --disable-nanox was given.
2738 if test "${enable_nanox+set}" = set; then
2739 enableval="$enable_nanox"
2741 if test "$enableval" = yes; then
2742 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2744 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2749 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x ; then
2751 eval "DEFAULT_$LINE"
2756 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2760 eval "$ac_cv_use_nanox"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2765 if test "$wxUSE_NANOX" = yes; then
2766 echo "$as_me:$LINENO: result: yes" >&5
2767 echo "${ECHO_T}yes" >&6
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2774 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2775 if test "${enable_gtk2+set}" = set; then
2776 enableval="$enable_gtk2"
2777 wxUSE_GTK2="$enableval"
2781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2782 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2784 # Check whether --enable-gpe or --disable-gpe was given.
2785 if test "${enable_gpe+set}" = set; then
2786 enableval="$enable_gpe"
2788 if test "$enableval" = yes; then
2789 ac_cv_use_gpe='wxUSE_GPE
=yes'
2791 ac_cv_use_gpe='wxUSE_GPE
=no
'
2796 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2797 if test "x$LINE" != x ; then
2798 eval "DEFAULT_$LINE"
2803 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2807 eval "$ac_cv_use_gpe"
2808 if test "$no_cache" != 1; then
2809 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2812 if test "$wxUSE_GPE" = yes; then
2813 echo "$as_me:$LINENO: result: yes" >&5
2814 echo "${ECHO_T}yes" >&6
2816 echo "$as_me:$LINENO: result: no" >&5
2817 echo "${ECHO_T}no" >&6
2822 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2823 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2826 # Check whether --with-libpng or --without-libpng was given.
2827 if test "${with_libpng+set}" = set; then
2828 withval="$with_libpng"
2830 if test "$withval" = yes; then
2831 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2832 elif test "$withval" = no; then
2833 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2834 elif test "$withval" = sys; then
2835 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2836 elif test "$withval" = builtin; then
2837 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2840 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2841 { (exit 1); exit 1; }; }
2846 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2847 if test "x$LINE" != x ; then
2848 eval "DEFAULT_$LINE"
2853 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2857 eval "$ac_cv_use_libpng"
2858 if test "$no_cache" != 1; then
2859 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2862 if test "$wxUSE_LIBPNG" = yes; then
2863 echo "$as_me:$LINENO: result: yes" >&5
2864 echo "${ECHO_T}yes" >&6
2865 elif test "$wxUSE_LIBPNG" = no; then
2866 echo "$as_me:$LINENO: result: no" >&5
2867 echo "${ECHO_T}no" >&6
2868 elif test "$wxUSE_LIBPNG" = sys; then
2869 echo "$as_me:$LINENO: result: system version" >&5
2870 echo "${ECHO_T}system version" >&6
2871 elif test "$wxUSE_LIBPNG" = builtin; then
2872 echo "$as_me:$LINENO: result: builtin version" >&5
2873 echo "${ECHO_T}builtin version" >&6
2875 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2876 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2877 { (exit 1); exit 1; }; }
2881 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2882 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2885 # Check whether --with-libjpeg or --without-libjpeg was given.
2886 if test "${with_libjpeg+set}" = set; then
2887 withval="$with_libjpeg"
2889 if test "$withval" = yes; then
2890 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2891 elif test "$withval" = no; then
2892 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2893 elif test "$withval" = sys; then
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2895 elif test "$withval" = builtin; then
2896 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2899 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2905 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x ; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2916 eval "$ac_cv_use_libjpeg"
2917 if test "$no_cache" != 1; then
2918 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2921 if test "$wxUSE_LIBJPEG" = yes; then
2922 echo "$as_me:$LINENO: result: yes" >&5
2923 echo "${ECHO_T}yes" >&6
2924 elif test "$wxUSE_LIBJPEG" = no; then
2925 echo "$as_me:$LINENO: result: no" >&5
2926 echo "${ECHO_T}no" >&6
2927 elif test "$wxUSE_LIBJPEG" = sys; then
2928 echo "$as_me:$LINENO: result: system version" >&5
2929 echo "${ECHO_T}system version" >&6
2930 elif test "$wxUSE_LIBJPEG" = builtin; then
2931 echo "$as_me:$LINENO: result: builtin version" >&5
2932 echo "${ECHO_T}builtin version" >&6
2934 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2935 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2936 { (exit 1); exit 1; }; }
2940 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2941 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2944 # Check whether --with-libtiff or --without-libtiff was given.
2945 if test "${with_libtiff+set}" = set; then
2946 withval="$with_libtiff"
2948 if test "$withval" = yes; then
2949 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2950 elif test "$withval" = no; then
2951 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2952 elif test "$withval" = sys; then
2953 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2954 elif test "$withval" = builtin; then
2955 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2957 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2958 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2959 { (exit 1); exit 1; }; }
2964 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2965 if test "x$LINE" != x ; then
2966 eval "DEFAULT_$LINE"
2971 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2975 eval "$ac_cv_use_libtiff"
2976 if test "$no_cache" != 1; then
2977 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2980 if test "$wxUSE_LIBTIFF" = yes; then
2981 echo "$as_me:$LINENO: result: yes" >&5
2982 echo "${ECHO_T}yes" >&6
2983 elif test "$wxUSE_LIBTIFF" = no; then
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2986 elif test "$wxUSE_LIBTIFF" = sys; then
2987 echo "$as_me:$LINENO: result: system version" >&5
2988 echo "${ECHO_T}system version" >&6
2989 elif test "$wxUSE_LIBTIFF" = builtin; then
2990 echo "$as_me:$LINENO: result: builtin version" >&5
2991 echo "${ECHO_T}builtin version" >&6
2993 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2994 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2995 { (exit 1); exit 1; }; }
2999 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3000 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3003 # Check whether --with-libxpm or --without-libxpm was given.
3004 if test "${with_libxpm+set}" = set; then
3005 withval="$with_libxpm"
3007 if test "$withval" = yes; then
3008 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3009 elif test "$withval" = no; then
3010 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3011 elif test "$withval" = sys; then
3012 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3013 elif test "$withval" = builtin; then
3014 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3016 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3017 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3018 { (exit 1); exit 1; }; }
3023 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3024 if test "x$LINE" != x ; then
3025 eval "DEFAULT_$LINE"
3030 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3034 eval "$ac_cv_use_libxpm"
3035 if test "$no_cache" != 1; then
3036 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3039 if test "$wxUSE_LIBXPM" = yes; then
3040 echo "$as_me:$LINENO: result: yes" >&5
3041 echo "${ECHO_T}yes" >&6
3042 elif test "$wxUSE_LIBXPM" = no; then
3043 echo "$as_me:$LINENO: result: no" >&5
3044 echo "${ECHO_T}no" >&6
3045 elif test "$wxUSE_LIBXPM" = sys; then
3046 echo "$as_me:$LINENO: result: system version" >&5
3047 echo "${ECHO_T}system version" >&6
3048 elif test "$wxUSE_LIBXPM" = builtin; then
3049 echo "$as_me:$LINENO: result: builtin version" >&5
3050 echo "${ECHO_T}builtin version" >&6
3052 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3053 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3054 { (exit 1); exit 1; }; }
3059 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3060 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3063 # Check whether --with-libmspack or --without-libmspack was given.
3064 if test "${with_libmspack+set}" = set; then
3065 withval="$with_libmspack"
3067 if test "$withval" = yes; then
3068 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3070 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3075 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x ; then
3077 eval "DEFAULT_$LINE"
3082 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3086 eval "$ac_cv_use_libmspack"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3091 if test "$wxUSE_LIBMSPACK" = yes; then
3092 echo "$as_me:$LINENO: result: yes" >&5
3093 echo "${ECHO_T}yes" >&6
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3101 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3102 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3105 # Check whether --with-sdl or --without-sdl was given.
3106 if test "${with_sdl+set}" = set; then
3109 if test "$withval" = yes; then
3110 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3112 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3117 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x ; then
3119 eval "DEFAULT_$LINE"
3124 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3128 eval "$ac_cv_use_sdl"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_LIBSDL" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3143 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3144 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3147 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3148 if test "${with_gnomeprint+set}" = set; then
3149 withval="$with_gnomeprint"
3151 if test "$withval" = yes; then
3152 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3154 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3159 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3160 if test "x$LINE" != x ; then
3161 eval "DEFAULT_$LINE"
3166 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3170 eval "$ac_cv_use_gnomeprint"
3171 if test "$no_cache" != 1; then
3172 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3175 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3176 echo "$as_me:$LINENO: result: yes" >&5
3177 echo "${ECHO_T}yes" >&6
3179 echo "$as_me:$LINENO: result: no" >&5
3180 echo "${ECHO_T}no" >&6
3185 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3186 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3189 # Check whether --with-hildon or --without-hildon was given.
3190 if test "${with_hildon+set}" = set; then
3191 withval="$with_hildon"
3193 if test "$withval" = yes; then
3194 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3196 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3201 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x ; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3212 eval "$ac_cv_use_hildon"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3217 if test "$wxUSE_LIBHILDON" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219 echo "${ECHO_T}yes" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3227 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3228 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3231 # Check whether --with-opengl or --without-opengl was given.
3232 if test "${with_opengl+set}" = set; then
3233 withval="$with_opengl"
3235 if test "$withval" = yes; then
3236 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3238 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3243 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x ; then
3245 eval "DEFAULT_$LINE"
3250 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3254 eval "$ac_cv_use_opengl"
3255 if test "$no_cache" != 1; then
3256 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3259 if test "$wxUSE_OPENGL" = yes; then
3260 echo "$as_me:$LINENO: result: yes" >&5
3261 echo "${ECHO_T}yes" >&6
3263 echo "$as_me:$LINENO: result: no" >&5
3264 echo "${ECHO_T}no" >&6
3272 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3273 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3276 # Check whether --with-dmalloc or --without-dmalloc was given.
3277 if test "${with_dmalloc+set}" = set; then
3278 withval="$with_dmalloc"
3280 if test "$withval" = yes; then
3281 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3283 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3288 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x ; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3299 eval "$ac_cv_use_dmalloc"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_DMALLOC" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3313 echo "$as_me:$LINENO: checking for --with-regex" >&5
3314 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3317 # Check whether --with-regex or --without-regex was given.
3318 if test "${with_regex+set}" = set; then
3319 withval="$with_regex"
3321 if test "$withval" = yes; then
3322 ac_cv_use_regex='wxUSE_REGEX
=yes'
3323 elif test "$withval" = no; then
3324 ac_cv_use_regex='wxUSE_REGEX
=no
'
3325 elif test "$withval" = sys; then
3326 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3327 elif test "$withval" = builtin; then
3328 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3330 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3331 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3332 { (exit 1); exit 1; }; }
3337 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3338 if test "x$LINE" != x ; then
3339 eval "DEFAULT_$LINE"
3344 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3348 eval "$ac_cv_use_regex"
3349 if test "$no_cache" != 1; then
3350 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3353 if test "$wxUSE_REGEX" = yes; then
3354 echo "$as_me:$LINENO: result: yes" >&5
3355 echo "${ECHO_T}yes" >&6
3356 elif test "$wxUSE_REGEX" = no; then
3357 echo "$as_me:$LINENO: result: no" >&5
3358 echo "${ECHO_T}no" >&6
3359 elif test "$wxUSE_REGEX" = sys; then
3360 echo "$as_me:$LINENO: result: system version" >&5
3361 echo "${ECHO_T}system version" >&6
3362 elif test "$wxUSE_REGEX" = builtin; then
3363 echo "$as_me:$LINENO: result: builtin version" >&5
3364 echo "${ECHO_T}builtin version" >&6
3366 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3367 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3368 { (exit 1); exit 1; }; }
3372 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3373 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3376 # Check whether --with-zlib or --without-zlib was given.
3377 if test "${with_zlib+set}" = set; then
3378 withval="$with_zlib"
3380 if test "$withval" = yes; then
3381 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3382 elif test "$withval" = no; then
3383 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3384 elif test "$withval" = sys; then
3385 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3386 elif test "$withval" = builtin; then
3387 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3389 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3390 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3391 { (exit 1); exit 1; }; }
3396 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3397 if test "x$LINE" != x ; then
3398 eval "DEFAULT_$LINE"
3403 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3407 eval "$ac_cv_use_zlib"
3408 if test "$no_cache" != 1; then
3409 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3412 if test "$wxUSE_ZLIB" = yes; then
3413 echo "$as_me:$LINENO: result: yes" >&5
3414 echo "${ECHO_T}yes" >&6
3415 elif test "$wxUSE_ZLIB" = no; then
3416 echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6
3418 elif test "$wxUSE_ZLIB" = sys; then
3419 echo "$as_me:$LINENO: result: system version" >&5
3420 echo "${ECHO_T}system version" >&6
3421 elif test "$wxUSE_ZLIB" = builtin; then
3422 echo "$as_me:$LINENO: result: builtin version" >&5
3423 echo "${ECHO_T}builtin version" >&6
3425 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3426 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3427 { (exit 1); exit 1; }; }
3431 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3432 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3435 # Check whether --with-odbc or --without-odbc was given.
3436 if test "${with_odbc+set}" = set; then
3437 withval="$with_odbc"
3439 if test "$withval" = yes; then
3440 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3441 elif test "$withval" = no; then
3442 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3443 elif test "$withval" = sys; then
3444 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3445 elif test "$withval" = builtin; then
3446 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3448 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3449 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3450 { (exit 1); exit 1; }; }
3455 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x ; then
3457 eval "DEFAULT_$LINE"
3462 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3466 eval "$ac_cv_use_odbc"
3467 if test "$no_cache" != 1; then
3468 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3471 if test "$wxUSE_ODBC" = yes; then
3472 echo "$as_me:$LINENO: result: yes" >&5
3473 echo "${ECHO_T}yes" >&6
3474 elif test "$wxUSE_ODBC" = no; then
3475 echo "$as_me:$LINENO: result: no" >&5
3476 echo "${ECHO_T}no" >&6
3477 elif test "$wxUSE_ODBC" = sys; then
3478 echo "$as_me:$LINENO: result: system version" >&5
3479 echo "${ECHO_T}system version" >&6
3480 elif test "$wxUSE_ODBC" = builtin; then
3481 echo "$as_me:$LINENO: result: builtin version" >&5
3482 echo "${ECHO_T}builtin version" >&6
3484 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3485 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3486 { (exit 1); exit 1; }; }
3490 echo "$as_me:$LINENO: checking for --with-expat" >&5
3491 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3494 # Check whether --with-expat or --without-expat was given.
3495 if test "${with_expat+set}" = set; then
3496 withval="$with_expat"
3498 if test "$withval" = yes; then
3499 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3500 elif test "$withval" = no; then
3501 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3502 elif test "$withval" = sys; then
3503 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3504 elif test "$withval" = builtin; then
3505 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3507 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3508 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3509 { (exit 1); exit 1; }; }
3514 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3515 if test "x$LINE" != x ; then
3516 eval "DEFAULT_$LINE"
3521 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3525 eval "$ac_cv_use_expat"
3526 if test "$no_cache" != 1; then
3527 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3530 if test "$wxUSE_EXPAT" = yes; then
3531 echo "$as_me:$LINENO: result: yes" >&5
3532 echo "${ECHO_T}yes" >&6
3533 elif test "$wxUSE_EXPAT" = no; then
3534 echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6
3536 elif test "$wxUSE_EXPAT" = sys; then
3537 echo "$as_me:$LINENO: result: system version" >&5
3538 echo "${ECHO_T}system version" >&6
3539 elif test "$wxUSE_EXPAT" = builtin; then
3540 echo "$as_me:$LINENO: result: builtin version" >&5
3541 echo "${ECHO_T}builtin version" >&6
3543 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3544 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3545 { (exit 1); exit 1; }; }
3552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3553 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3555 # Check whether --enable-shared or --disable-shared was given.
3556 if test "${enable_shared+set}" = set; then
3557 enableval="$enable_shared"
3559 if test "$enableval" = yes; then
3560 ac_cv_use_shared='wxUSE_SHARED
=yes'
3562 ac_cv_use_shared='wxUSE_SHARED
=no
'
3567 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3574 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3578 eval "$ac_cv_use_shared"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_SHARED" = yes; then
3584 echo "$as_me:$LINENO: result: yes" >&5
3585 echo "${ECHO_T}yes" >&6
3587 echo "$as_me:$LINENO: result: no" >&5
3588 echo "${ECHO_T}no" >&6
3593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3594 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3596 # Check whether --enable-optimise or --disable-optimise was given.
3597 if test "${enable_optimise+set}" = set; then
3598 enableval="$enable_optimise"
3600 if test "$enableval" = yes; then
3601 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3603 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3608 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3609 if test "x$LINE" != x ; then
3610 eval "DEFAULT_$LINE"
3615 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3619 eval "$ac_cv_use_optimise"
3620 if test "$no_cache" != 1; then
3621 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3624 if test "$wxUSE_OPTIMISE" = yes; then
3625 echo "$as_me:$LINENO: result: yes" >&5
3626 echo "${ECHO_T}yes" >&6
3628 echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6
3634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3635 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3637 # Check whether --enable-debug or --disable-debug was given.
3638 if test "${enable_debug+set}" = set; then
3639 enableval="$enable_debug"
3641 if test "$enableval" = yes; then
3642 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3644 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3649 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3660 eval "$ac_cv_use_debug"
3661 if test "$no_cache" != 1; then
3662 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3665 if test "$wxUSE_DEBUG" = yes; then
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3676 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3678 # Check whether --enable-stl or --disable-stl was given.
3679 if test "${enable_stl+set}" = set; then
3680 enableval="$enable_stl"
3682 if test "$enableval" = yes; then
3683 ac_cv_use_stl='wxUSE_STL
=yes'
3685 ac_cv_use_stl='wxUSE_STL
=no
'
3690 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x ; then
3692 eval "DEFAULT_$LINE"
3697 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3701 eval "$ac_cv_use_stl"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3706 if test "$wxUSE_STL" = yes; then
3707 echo "$as_me:$LINENO: result: yes" >&5
3708 echo "${ECHO_T}yes" >&6
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3714 if test "$USE_OS2" = "1"; then
3715 DEFAULT_wxUSE_OMF=no
3718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3719 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3721 # Check whether --enable-omf or --disable-omf was given.
3722 if test "${enable_omf+set}" = set; then
3723 enableval="$enable_omf"
3725 if test "$enableval" = yes; then
3726 ac_cv_use_omf='wxUSE_OMF
=yes'
3728 ac_cv_use_omf='wxUSE_OMF
=no
'
3733 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3734 if test "x$LINE" != x ; then
3735 eval "DEFAULT_$LINE"
3740 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3744 eval "$ac_cv_use_omf"
3745 if test "$no_cache" != 1; then
3746 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3749 if test "$wxUSE_OMF" = yes; then
3750 echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6
3753 echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6
3759 if test "$wxUSE_DEBUG" = "yes"; then
3760 DEFAULT_wxUSE_DEBUG_FLAG=yes
3761 DEFAULT_wxUSE_DEBUG_INFO=yes
3763 elif test "$wxUSE_DEBUG" = "no"; then
3764 DEFAULT_wxUSE_DEBUG_FLAG=no
3765 DEFAULT_wxUSE_DEBUG_INFO=no
3771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3772 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3774 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3775 if test "${enable_debug_flag+set}" = set; then
3776 enableval="$enable_debug_flag"
3778 if test "$enableval" = yes; then
3779 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3781 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3786 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3787 if test "x$LINE" != x ; then
3788 eval "DEFAULT_$LINE"
3793 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3797 eval "$ac_cv_use_debug_flag"
3798 if test "$no_cache" != 1; then
3799 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3802 if test "$wxUSE_DEBUG_FLAG" = yes; then
3803 echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6
3806 echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6
3812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3813 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3815 # Check whether --enable-debug_info or --disable-debug_info was given.
3816 if test "${enable_debug_info+set}" = set; then
3817 enableval="$enable_debug_info"
3819 if test "$enableval" = yes; then
3820 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3822 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3827 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3828 if test "x$LINE" != x ; then
3829 eval "DEFAULT_$LINE"
3834 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3838 eval "$ac_cv_use_debug_info"
3839 if test "$no_cache" != 1; then
3840 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3843 if test "$wxUSE_DEBUG_INFO" = yes; then
3844 echo "$as_me:$LINENO: result: yes" >&5
3845 echo "${ECHO_T}yes" >&6
3847 echo "$as_me:$LINENO: result: no" >&5
3848 echo "${ECHO_T}no" >&6
3853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3854 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3856 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3857 if test "${enable_debug_gdb+set}" = set; then
3858 enableval="$enable_debug_gdb"
3860 if test "$enableval" = yes; then
3861 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3863 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3868 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3869 if test "x$LINE" != x ; then
3870 eval "DEFAULT_$LINE"
3875 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3879 eval "$ac_cv_use_debug_gdb"
3880 if test "$no_cache" != 1; then
3881 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3884 if test "$wxUSE_DEBUG_GDB" = yes; then
3885 echo "$as_me:$LINENO: result: yes" >&5
3886 echo "${ECHO_T}yes" >&6
3888 echo "$as_me:$LINENO: result: no" >&5
3889 echo "${ECHO_T}no" >&6
3894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3895 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3897 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3898 if test "${enable_debug_cntxt+set}" = set; then
3899 enableval="$enable_debug_cntxt"
3901 if test "$enableval" = yes; then
3902 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3904 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3909 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3910 if test "x$LINE" != x ; then
3911 eval "DEFAULT_$LINE"
3916 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3920 eval "$ac_cv_use_debug_cntxt"
3921 if test "$no_cache" != 1; then
3922 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3925 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3926 echo "$as_me:$LINENO: result: yes" >&5
3927 echo "${ECHO_T}yes" >&6
3929 echo "$as_me:$LINENO: result: no" >&5
3930 echo "${ECHO_T}no" >&6
3935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3936 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3938 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3939 if test "${enable_mem_tracing+set}" = set; then
3940 enableval="$enable_mem_tracing"
3942 if test "$enableval" = yes; then
3943 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3945 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3950 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3951 if test "x$LINE" != x ; then
3952 eval "DEFAULT_$LINE"
3957 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3961 eval "$ac_cv_use_mem_tracing"
3962 if test "$no_cache" != 1; then
3963 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3966 if test "$wxUSE_MEM_TRACING" = yes; then
3967 echo "$as_me:$LINENO: result: yes" >&5
3968 echo "${ECHO_T}yes" >&6
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3977 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3979 # Check whether --enable-profile or --disable-profile was given.
3980 if test "${enable_profile+set}" = set; then
3981 enableval="$enable_profile"
3983 if test "$enableval" = yes; then
3984 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3986 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3991 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3992 if test "x$LINE" != x ; then
3993 eval "DEFAULT_$LINE"
3998 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
4002 eval "$ac_cv_use_profile"
4003 if test "$no_cache" != 1; then
4004 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4007 if test "$wxUSE_PROFILE" = yes; then
4008 echo "$as_me:$LINENO: result: yes" >&5
4009 echo "${ECHO_T}yes" >&6
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4018 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4020 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4021 if test "${enable_no_rtti+set}" = set; then
4022 enableval="$enable_no_rtti"
4024 if test "$enableval" = yes; then
4025 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4027 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4032 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x ; then
4034 eval "DEFAULT_$LINE"
4039 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4043 eval "$ac_cv_use_no_rtti"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4048 if test "$wxUSE_NO_RTTI" = yes; then
4049 echo "$as_me:$LINENO: result: yes" >&5
4050 echo "${ECHO_T}yes" >&6
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4059 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4061 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4062 if test "${enable_no_exceptions+set}" = set; then
4063 enableval="$enable_no_exceptions"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4068 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4073 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x ; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4084 eval "$ac_cv_use_no_exceptions"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4089 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4090 echo "$as_me:$LINENO: result: yes" >&5
4091 echo "${ECHO_T}yes" >&6
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4100 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4102 # Check whether --enable-permissive or --disable-permissive was given.
4103 if test "${enable_permissive+set}" = set; then
4104 enableval="$enable_permissive"
4106 if test "$enableval" = yes; then
4107 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4109 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4114 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4115 if test "x$LINE" != x ; then
4116 eval "DEFAULT_$LINE"
4121 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4125 eval "$ac_cv_use_permissive"
4126 if test "$no_cache" != 1; then
4127 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4130 if test "$wxUSE_PERMISSIVE" = yes; then
4131 echo "$as_me:$LINENO: result: yes" >&5
4132 echo "${ECHO_T}yes" >&6
4134 echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6
4140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4141 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4143 # Check whether --enable-no_deps or --disable-no_deps was given.
4144 if test "${enable_no_deps+set}" = set; then
4145 enableval="$enable_no_deps"
4147 if test "$enableval" = yes; then
4148 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4150 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4155 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4156 if test "x$LINE" != x ; then
4157 eval "DEFAULT_$LINE"
4162 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4166 eval "$ac_cv_use_no_deps"
4167 if test "$no_cache" != 1; then
4168 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4171 if test "$wxUSE_NO_DEPS" = yes; then
4172 echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6
4175 echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6
4182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4183 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4185 # Check whether --enable-compat24 or --disable-compat24 was given.
4186 if test "${enable_compat24+set}" = set; then
4187 enableval="$enable_compat24"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4192 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4197 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4208 eval "$ac_cv_use_compat24"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4213 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4214 echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4222 enablestring=disable
4223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4224 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4226 # Check whether --enable-compat26 or --disable-compat26 was given.
4227 if test "${enable_compat26+set}" = set; then
4228 enableval="$enable_compat26"
4230 if test "$enableval" = yes; then
4231 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4233 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4238 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x ; then
4240 eval "DEFAULT_$LINE"
4245 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4249 eval "$ac_cv_use_compat26"
4250 if test "$no_cache" != 1; then
4251 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4254 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4255 echo "$as_me:$LINENO: result: yes" >&5
4256 echo "${ECHO_T}yes" >&6
4258 echo "$as_me:$LINENO: result: no" >&5
4259 echo "${ECHO_T}no" >&6
4265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4266 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4268 # Check whether --enable-rpath or --disable-rpath was given.
4269 if test "${enable_rpath+set}" = set; then
4270 enableval="$enable_rpath"
4272 if test "$enableval" = yes; then
4273 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4275 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4280 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x ; then
4282 eval "DEFAULT_$LINE"
4287 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4291 eval "$ac_cv_use_rpath"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4296 if test "$wxUSE_RPATH" = yes; then
4297 echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4310 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4312 # Check whether --enable-intl or --disable-intl was given.
4313 if test "${enable_intl+set}" = set; then
4314 enableval="$enable_intl"
4316 if test "$enableval" = yes; then
4317 ac_cv_use_intl='wxUSE_INTL
=yes'
4319 ac_cv_use_intl='wxUSE_INTL
=no
'
4324 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x ; then
4326 eval "DEFAULT_$LINE"
4331 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4335 eval "$ac_cv_use_intl"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4340 if test "$wxUSE_INTL" = yes; then
4341 echo "$as_me:$LINENO: result: yes" >&5
4342 echo "${ECHO_T}yes" >&6
4344 echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6
4350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4351 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4353 # Check whether --enable-config or --disable-config was given.
4354 if test "${enable_config+set}" = set; then
4355 enableval="$enable_config"
4357 if test "$enableval" = yes; then
4358 ac_cv_use_config='wxUSE_CONFIG
=yes'
4360 ac_cv_use_config='wxUSE_CONFIG
=no
'
4365 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4372 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4376 eval "$ac_cv_use_config"
4377 if test "$no_cache" != 1; then
4378 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4381 if test "$wxUSE_CONFIG" = yes; then
4382 echo "$as_me:$LINENO: result: yes" >&5
4383 echo "${ECHO_T}yes" >&6
4385 echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4395 # Check whether --enable-protocols or --disable-protocols was given.
4396 if test "${enable_protocols+set}" = set; then
4397 enableval="$enable_protocols"
4399 if test "$enableval" = yes; then
4400 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4402 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4407 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x ; then
4409 eval "DEFAULT_$LINE"
4414 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4418 eval "$ac_cv_use_protocols"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_PROTOCOL" = yes; then
4424 echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6
4427 echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6
4433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4436 # Check whether --enable-ftp or --disable-ftp was given.
4437 if test "${enable_ftp+set}" = set; then
4438 enableval="$enable_ftp"
4440 if test "$enableval" = yes; then
4441 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4443 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4448 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x ; then
4450 eval "DEFAULT_$LINE"
4455 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4459 eval "$ac_cv_use_ftp"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4465 echo "$as_me:$LINENO: result: yes" >&5
4466 echo "${ECHO_T}yes" >&6
4468 echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6
4474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4475 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4477 # Check whether --enable-http or --disable-http was given.
4478 if test "${enable_http+set}" = set; then
4479 enableval="$enable_http"
4481 if test "$enableval" = yes; then
4482 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4484 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4489 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4496 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4500 eval "$ac_cv_use_http"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4505 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4506 echo "$as_me:$LINENO: result: yes" >&5
4507 echo "${ECHO_T}yes" >&6
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4518 # Check whether --enable-fileproto or --disable-fileproto was given.
4519 if test "${enable_fileproto+set}" = set; then
4520 enableval="$enable_fileproto"
4522 if test "$enableval" = yes; then
4523 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4525 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4530 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x ; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4541 eval "$ac_cv_use_fileproto"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4546 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4547 echo "$as_me:$LINENO: result: yes" >&5
4548 echo "${ECHO_T}yes" >&6
4550 echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6
4556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4557 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4559 # Check whether --enable-sockets or --disable-sockets was given.
4560 if test "${enable_sockets+set}" = set; then
4561 enableval="$enable_sockets"
4563 if test "$enableval" = yes; then
4564 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4566 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4571 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x ; then
4573 eval "DEFAULT_$LINE"
4578 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4582 eval "$ac_cv_use_sockets"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4587 if test "$wxUSE_SOCKETS" = yes; then
4588 echo "$as_me:$LINENO: result: yes" >&5
4589 echo "${ECHO_T}yes" >&6
4591 echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4600 # Check whether --enable-ole or --disable-ole was given.
4601 if test "${enable_ole+set}" = set; then
4602 enableval="$enable_ole"
4604 if test "$enableval" = yes; then
4605 ac_cv_use_ole='wxUSE_OLE
=yes'
4607 ac_cv_use_ole='wxUSE_OLE
=no
'
4612 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4619 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4623 eval "$ac_cv_use_ole"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4628 if test "$wxUSE_OLE" = yes; then
4629 echo "$as_me:$LINENO: result: yes" >&5
4630 echo "${ECHO_T}yes" >&6
4632 echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4641 # Check whether --enable-dataobj or --disable-dataobj was given.
4642 if test "${enable_dataobj+set}" = set; then
4643 enableval="$enable_dataobj"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4648 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4653 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4664 eval "$ac_cv_use_dataobj"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_DATAOBJ" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4683 # Check whether --enable-ipc or --disable-ipc was given.
4684 if test "${enable_ipc+set}" = set; then
4685 enableval="$enable_ipc"
4687 if test "$enableval" = yes; then
4688 ac_cv_use_ipc='wxUSE_IPC
=yes'
4690 ac_cv_use_ipc='wxUSE_IPC
=no
'
4695 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x ; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4706 eval "$ac_cv_use_ipc"
4707 if test "$no_cache" != 1; then
4708 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4711 if test "$wxUSE_IPC" = yes; then
4712 echo "$as_me:$LINENO: result: yes" >&5
4713 echo "${ECHO_T}yes" >&6
4715 echo "$as_me:$LINENO: result: no" >&5
4716 echo "${ECHO_T}no" >&6
4722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4723 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4725 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4726 if test "${enable_apple_ieee+set}" = set; then
4727 enableval="$enable_apple_ieee"
4729 if test "$enableval" = yes; then
4730 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4732 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4737 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4744 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4748 eval "$ac_cv_use_apple_ieee"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4753 if test "$wxUSE_APPLE_IEEE" = yes; then
4754 echo "$as_me:$LINENO: result: yes" >&5
4755 echo "${ECHO_T}yes" >&6
4757 echo "$as_me:$LINENO: result: no" >&5
4758 echo "${ECHO_T}no" >&6
4763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4764 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4766 # Check whether --enable-arcstream or --disable-arcstream was given.
4767 if test "${enable_arcstream+set}" = set; then
4768 enableval="$enable_arcstream"
4770 if test "$enableval" = yes; then
4771 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4773 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4778 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4789 eval "$ac_cv_use_arcstream"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4794 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4795 echo "$as_me:$LINENO: result: yes" >&5
4796 echo "${ECHO_T}yes" >&6
4798 echo "$as_me:$LINENO: result: no" >&5
4799 echo "${ECHO_T}no" >&6
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4807 # Check whether --enable-backtrace or --disable-backtrace was given.
4808 if test "${enable_backtrace+set}" = set; then
4809 enableval="$enable_backtrace"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4814 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4819 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4830 eval "$ac_cv_use_backtrace"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4835 if test "$wxUSE_STACKWALKER" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837 echo "${ECHO_T}yes" >&6
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4848 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4849 if test "${enable_catch_segvs+set}" = set; then
4850 enableval="$enable_catch_segvs"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4855 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4860 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4871 eval "$ac_cv_use_catch_segvs"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878 echo "${ECHO_T}yes" >&6
4880 echo "$as_me:$LINENO: result: no" >&5
4881 echo "${ECHO_T}no" >&6
4886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4889 # Check whether --enable-cmdline or --disable-cmdline was given.
4890 if test "${enable_cmdline+set}" = set; then
4891 enableval="$enable_cmdline"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4896 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4901 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4912 eval "$ac_cv_use_cmdline"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4917 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6
4921 echo "$as_me:$LINENO: result: no" >&5
4922 echo "${ECHO_T}no" >&6
4927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4930 # Check whether --enable-datetime or --disable-datetime was given.
4931 if test "${enable_datetime+set}" = set; then
4932 enableval="$enable_datetime"
4934 if test "$enableval" = yes; then
4935 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4937 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4942 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4953 eval "$ac_cv_use_datetime"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4958 if test "$wxUSE_DATETIME" = yes; then
4959 echo "$as_me:$LINENO: result: yes" >&5
4960 echo "${ECHO_T}yes" >&6
4962 echo "$as_me:$LINENO: result: no" >&5
4963 echo "${ECHO_T}no" >&6
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4971 # Check whether --enable-debugreport or --disable-debugreport was given.
4972 if test "${enable_debugreport+set}" = set; then
4973 enableval="$enable_debugreport"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4978 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4983 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4994 eval "$ac_cv_use_debugreport"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_DEBUGREPORT" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5012 # Check whether --enable-dialupman or --disable-dialupman was given.
5013 if test "${enable_dialupman+set}" = set; then
5014 enableval="$enable_dialupman"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5019 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5024 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5035 eval "$ac_cv_use_dialupman"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5040 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5053 # Check whether --enable-dynlib or --disable-dynlib was given.
5054 if test "${enable_dynlib+set}" = set; then
5055 enableval="$enable_dynlib"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5060 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5065 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5076 eval "$ac_cv_use_dynlib"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5094 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5095 if test "${enable_dynamicloader+set}" = set; then
5096 enableval="$enable_dynamicloader"
5098 if test "$enableval" = yes; then
5099 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5101 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5106 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5117 eval "$ac_cv_use_dynamicloader"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5135 # Check whether --enable-exceptions or --disable-exceptions was given.
5136 if test "${enable_exceptions+set}" = set; then
5137 enableval="$enable_exceptions"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5142 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5147 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5158 eval "$ac_cv_use_exceptions"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_EXCEPTIONS" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5176 # Check whether --enable-ffile or --disable-ffile was given.
5177 if test "${enable_ffile+set}" = set; then
5178 enableval="$enable_ffile"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5183 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5188 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5199 eval "$ac_cv_use_ffile"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_FFILE" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5217 # Check whether --enable-file or --disable-file was given.
5218 if test "${enable_file+set}" = set; then
5219 enableval="$enable_file"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_file='wxUSE_FILE
=yes'
5224 ac_cv_use_file='wxUSE_FILE
=no
'
5229 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5240 eval "$ac_cv_use_file"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_FILE" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5258 # Check whether --enable-filesystem or --disable-filesystem was given.
5259 if test "${enable_filesystem+set}" = set; then
5260 enableval="$enable_filesystem"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5265 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5270 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5281 eval "$ac_cv_use_filesystem"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_FILESYSTEM" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5299 # Check whether --enable-fontmap or --disable-fontmap was given.
5300 if test "${enable_fontmap+set}" = set; then
5301 enableval="$enable_fontmap"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5306 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5311 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5322 eval "$ac_cv_use_fontmap"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_FONTMAP" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5340 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5341 if test "${enable_fs_inet+set}" = set; then
5342 enableval="$enable_fs_inet"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5347 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5352 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5363 eval "$ac_cv_use_fs_inet"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_FS_INET" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5381 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5382 if test "${enable_fs_zip+set}" = set; then
5383 enableval="$enable_fs_zip"
5385 if test "$enableval" = yes; then
5386 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5388 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5393 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5400 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5404 eval "$ac_cv_use_fs_zip"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_FS_ZIP" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5422 # Check whether --enable-geometry or --disable-geometry was given.
5423 if test "${enable_geometry+set}" = set; then
5424 enableval="$enable_geometry"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5429 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5434 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5445 eval "$ac_cv_use_geometry"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_GEOMETRY" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5463 # Check whether --enable-log or --disable-log was given.
5464 if test "${enable_log+set}" = set; then
5465 enableval="$enable_log"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_log='wxUSE_LOG
=yes'
5470 ac_cv_use_log='wxUSE_LOG
=no
'
5475 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5486 eval "$ac_cv_use_log"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_LOG" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5504 # Check whether --enable-longlong or --disable-longlong was given.
5505 if test "${enable_longlong+set}" = set; then
5506 enableval="$enable_longlong"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5511 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5516 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5527 eval "$ac_cv_use_longlong"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_LONGLONG" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5545 # Check whether --enable-mimetype or --disable-mimetype was given.
5546 if test "${enable_mimetype+set}" = set; then
5547 enableval="$enable_mimetype"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5552 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5557 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5568 eval "$ac_cv_use_mimetype"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_MIMETYPE" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5586 # Check whether --enable-mslu or --disable-mslu was given.
5587 if test "${enable_mslu+set}" = set; then
5588 enableval="$enable_mslu"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5593 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5598 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5609 eval "$ac_cv_use_mslu"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_UNICODE_MSLU" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5627 # Check whether --enable-snglinst or --disable-snglinst was given.
5628 if test "${enable_snglinst+set}" = set; then
5629 enableval="$enable_snglinst"
5631 if test "$enableval" = yes; then
5632 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5634 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5639 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x ; then
5641 eval "DEFAULT_$LINE"
5646 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5650 eval "$ac_cv_use_snglinst"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5656 echo "$as_me:$LINENO: result: yes" >&5
5657 echo "${ECHO_T}yes" >&6
5659 echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6
5665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5668 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5669 if test "${enable_std_iostreams+set}" = set; then
5670 enableval="$enable_std_iostreams"
5672 if test "$enableval" = yes; then
5673 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5675 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5680 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x ; then
5682 eval "DEFAULT_$LINE"
5687 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5691 eval "$ac_cv_use_std_iostreams"
5692 if test "$no_cache" != 1; then
5693 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5696 if test "$wxUSE_STD_IOSTREAM" = yes; then
5697 echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6
5700 echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6
5706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5709 # Check whether --enable-std_string or --disable-std_string was given.
5710 if test "${enable_std_string+set}" = set; then
5711 enableval="$enable_std_string"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5716 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5721 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x ; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5732 eval "$ac_cv_use_std_string"
5733 if test "$no_cache" != 1; then
5734 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5737 if test "$wxUSE_STD_STRING" = yes; then
5738 echo "$as_me:$LINENO: result: yes" >&5
5739 echo "${ECHO_T}yes" >&6
5741 echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6
5747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5750 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5751 if test "${enable_stdpaths+set}" = set; then
5752 enableval="$enable_stdpaths"
5754 if test "$enableval" = yes; then
5755 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5757 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5762 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x ; then
5764 eval "DEFAULT_$LINE"
5769 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5773 eval "$ac_cv_use_stdpaths"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_STDPATHS" = yes; then
5779 echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6
5782 echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5791 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5792 if test "${enable_stopwatch+set}" = set; then
5793 enableval="$enable_stopwatch"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5798 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5803 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x ; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5814 eval "$ac_cv_use_stopwatch"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_STOPWATCH" = yes; then
5820 echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5832 # Check whether --enable-streams or --disable-streams was given.
5833 if test "${enable_streams+set}" = set; then
5834 enableval="$enable_streams"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5839 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5844 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x ; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5855 eval "$ac_cv_use_streams"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_STREAMS" = yes; then
5861 echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5873 # Check whether --enable-system_options or --disable-system_options was given.
5874 if test "${enable_system_options+set}" = set; then
5875 enableval="$enable_system_options"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5880 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5885 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x ; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5896 eval "$ac_cv_use_system_options"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5902 echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5905 echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5914 # Check whether --enable-textbuf or --disable-textbuf was given.
5915 if test "${enable_textbuf+set}" = set; then
5916 enableval="$enable_textbuf"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5921 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5926 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x ; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5937 eval "$ac_cv_use_textbuf"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_TEXTBUFFER" = yes; then
5943 echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5955 # Check whether --enable-textfile or --disable-textfile was given.
5956 if test "${enable_textfile+set}" = set; then
5957 enableval="$enable_textfile"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5962 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5967 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x ; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5978 eval "$ac_cv_use_textfile"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_TEXTFILE" = yes; then
5984 echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5996 # Check whether --enable-timer or --disable-timer was given.
5997 if test "${enable_timer+set}" = set; then
5998 enableval="$enable_timer"
6000 if test "$enableval" = yes; then
6001 ac_cv_use_timer='wxUSE_TIMER
=yes'
6003 ac_cv_use_timer='wxUSE_TIMER
=no
'
6008 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x ; then
6010 eval "DEFAULT_$LINE"
6015 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6019 eval "$ac_cv_use_timer"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_TIMER" = yes; then
6025 echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6
6028 echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6
6034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6037 # Check whether --enable-unicode or --disable-unicode was given.
6038 if test "${enable_unicode+set}" = set; then
6039 enableval="$enable_unicode"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6044 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6049 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x ; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6060 eval "$ac_cv_use_unicode"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_UNICODE" = yes; then
6066 echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6069 echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6078 # Check whether --enable-sound or --disable-sound was given.
6079 if test "${enable_sound+set}" = set; then
6080 enableval="$enable_sound"
6082 if test "$enableval" = yes; then
6083 ac_cv_use_sound='wxUSE_SOUND
=yes'
6085 ac_cv_use_sound='wxUSE_SOUND
=no
'
6090 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x ; then
6092 eval "DEFAULT_$LINE"
6097 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6101 eval "$ac_cv_use_sound"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_SOUND" = yes; then
6107 echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6
6110 echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6119 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6120 if test "${enable_mediactrl+set}" = set; then
6121 enableval="$enable_mediactrl"
6123 if test "$enableval" = yes; then
6124 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6126 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6131 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x ; then
6133 eval "DEFAULT_$LINE"
6138 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6142 eval "$ac_cv_use_mediactrl"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6147 if test "$wxUSE_MEDIACTRL" = yes; then
6148 echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6
6151 echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6160 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6161 if test "${enable_wxprintfv+set}" = set; then
6162 enableval="$enable_wxprintfv"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6167 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6172 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x ; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6183 eval "$ac_cv_use_wxprintfv"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6201 # Check whether --enable-zipstream or --disable-zipstream was given.
6202 if test "${enable_zipstream+set}" = set; then
6203 enableval="$enable_zipstream"
6205 if test "$enableval" = yes; then
6206 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6208 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6213 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x ; then
6215 eval "DEFAULT_$LINE"
6220 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6224 eval "$ac_cv_use_zipstream"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6229 if test "$wxUSE_ZIPSTREAM" = yes; then
6230 echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6
6233 echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6
6240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6243 # Check whether --enable-url or --disable-url was given.
6244 if test "${enable_url+set}" = set; then
6245 enableval="$enable_url"
6247 if test "$enableval" = yes; then
6248 ac_cv_use_url='wxUSE_URL
=yes'
6250 ac_cv_use_url='wxUSE_URL
=no
'
6255 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6262 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6266 eval "$ac_cv_use_url"
6267 if test "$no_cache" != 1; then
6268 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6271 if test "$wxUSE_URL" = yes; then
6272 echo "$as_me:$LINENO: result: yes" >&5
6273 echo "${ECHO_T}yes" >&6
6275 echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6
6281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6282 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6284 # Check whether --enable-protocol or --disable-protocol was given.
6285 if test "${enable_protocol+set}" = set; then
6286 enableval="$enable_protocol"
6288 if test "$enableval" = yes; then
6289 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6291 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6296 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x ; then
6298 eval "DEFAULT_$LINE"
6303 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6307 eval "$ac_cv_use_protocol"
6308 if test "$no_cache" != 1; then
6309 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6312 if test "$wxUSE_PROTOCOL" = yes; then
6313 echo "$as_me:$LINENO: result: yes" >&5
6314 echo "${ECHO_T}yes" >&6
6316 echo "$as_me:$LINENO: result: no" >&5
6317 echo "${ECHO_T}no" >&6
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6325 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6326 if test "${enable_protocol_http+set}" = set; then
6327 enableval="$enable_protocol_http"
6329 if test "$enableval" = yes; then
6330 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6332 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6337 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6344 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6348 eval "$ac_cv_use_protocol_http"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6353 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6364 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6366 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6367 if test "${enable_protocol_ftp+set}" = set; then
6368 enableval="$enable_protocol_ftp"
6370 if test "$enableval" = yes; then
6371 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6373 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6378 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6379 if test "x$LINE" != x ; then
6380 eval "DEFAULT_$LINE"
6385 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6389 eval "$ac_cv_use_protocol_ftp"
6390 if test "$no_cache" != 1; then
6391 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6394 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6395 echo "$as_me:$LINENO: result: yes" >&5
6396 echo "${ECHO_T}yes" >&6
6398 echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6
6404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6405 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6407 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6408 if test "${enable_protocol_file+set}" = set; then
6409 enableval="$enable_protocol_file"
6411 if test "$enableval" = yes; then
6412 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6414 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6419 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6420 if test "x$LINE" != x ; then
6421 eval "DEFAULT_$LINE"
6426 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6430 eval "$ac_cv_use_protocol_file"
6431 if test "$no_cache" != 1; then
6432 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6435 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6436 echo "$as_me:$LINENO: result: yes" >&5
6437 echo "${ECHO_T}yes" >&6
6439 echo "$as_me:$LINENO: result: no" >&5
6440 echo "${ECHO_T}no" >&6
6448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6449 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6451 # Check whether --enable-threads or --disable-threads was given.
6452 if test "${enable_threads+set}" = set; then
6453 enableval="$enable_threads"
6455 if test "$enableval" = yes; then
6456 ac_cv_use_threads='wxUSE_THREADS
=yes'
6458 ac_cv_use_threads='wxUSE_THREADS
=no
'
6463 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6464 if test "x$LINE" != x ; then
6465 eval "DEFAULT_$LINE"
6470 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6474 eval "$ac_cv_use_threads"
6475 if test "$no_cache" != 1; then
6476 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6479 if test "$wxUSE_THREADS" = yes; then
6480 echo "$as_me:$LINENO: result: yes" >&5
6481 echo "${ECHO_T}yes" >&6
6483 echo "$as_me:$LINENO: result: no" >&5
6484 echo "${ECHO_T}no" >&6
6488 if test "$wxUSE_GUI" = "yes"; then
6493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6494 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6496 # Check whether --enable-docview or --disable-docview was given.
6497 if test "${enable_docview+set}" = set; then
6498 enableval="$enable_docview"
6500 if test "$enableval" = yes; then
6501 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6503 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6508 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6509 if test "x$LINE" != x ; then
6510 eval "DEFAULT_$LINE"
6515 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6519 eval "$ac_cv_use_docview"
6520 if test "$no_cache" != 1; then
6521 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6524 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6525 echo "$as_me:$LINENO: result: yes" >&5
6526 echo "${ECHO_T}yes" >&6
6528 echo "$as_me:$LINENO: result: no" >&5
6529 echo "${ECHO_T}no" >&6
6534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6535 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6537 # Check whether --enable-help or --disable-help was given.
6538 if test "${enable_help+set}" = set; then
6539 enableval="$enable_help"
6541 if test "$enableval" = yes; then
6542 ac_cv_use_help='wxUSE_HELP
=yes'
6544 ac_cv_use_help='wxUSE_HELP
=no
'
6549 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6550 if test "x$LINE" != x ; then
6551 eval "DEFAULT_$LINE"
6556 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6560 eval "$ac_cv_use_help"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6565 if test "$wxUSE_HELP" = yes; then
6566 echo "$as_me:$LINENO: result: yes" >&5
6567 echo "${ECHO_T}yes" >&6
6569 echo "$as_me:$LINENO: result: no" >&5
6570 echo "${ECHO_T}no" >&6
6575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6576 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6578 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6579 if test "${enable_mshtmlhelp+set}" = set; then
6580 enableval="$enable_mshtmlhelp"
6582 if test "$enableval" = yes; then
6583 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6585 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6590 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6591 if test "x$LINE" != x ; then
6592 eval "DEFAULT_$LINE"
6597 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6601 eval "$ac_cv_use_mshtmlhelp"
6602 if test "$no_cache" != 1; then
6603 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6606 if test "$wxUSE_MS_HTML_HELP" = yes; then
6607 echo "$as_me:$LINENO: result: yes" >&5
6608 echo "${ECHO_T}yes" >&6
6610 echo "$as_me:$LINENO: result: no" >&5
6611 echo "${ECHO_T}no" >&6
6616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6617 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6619 # Check whether --enable-html or --disable-html was given.
6620 if test "${enable_html+set}" = set; then
6621 enableval="$enable_html"
6623 if test "$enableval" = yes; then
6624 ac_cv_use_html='wxUSE_HTML
=yes'
6626 ac_cv_use_html='wxUSE_HTML
=no
'
6631 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x ; then
6633 eval "DEFAULT_$LINE"
6638 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6642 eval "$ac_cv_use_html"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6647 if test "$wxUSE_HTML" = yes; then
6648 echo "$as_me:$LINENO: result: yes" >&5
6649 echo "${ECHO_T}yes" >&6
6651 echo "$as_me:$LINENO: result: no" >&5
6652 echo "${ECHO_T}no" >&6
6657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6658 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6660 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6661 if test "${enable_htmlhelp+set}" = set; then
6662 enableval="$enable_htmlhelp"
6664 if test "$enableval" = yes; then
6665 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6667 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6672 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6673 if test "x$LINE" != x ; then
6674 eval "DEFAULT_$LINE"
6679 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6683 eval "$ac_cv_use_htmlhelp"
6684 if test "$no_cache" != 1; then
6685 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6688 if test "$wxUSE_WXHTML_HELP" = yes; then
6689 echo "$as_me:$LINENO: result: yes" >&5
6690 echo "${ECHO_T}yes" >&6
6692 echo "$as_me:$LINENO: result: no" >&5
6693 echo "${ECHO_T}no" >&6
6698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6699 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6701 # Check whether --enable-xrc or --disable-xrc was given.
6702 if test "${enable_xrc+set}" = set; then
6703 enableval="$enable_xrc"
6705 if test "$enableval" = yes; then
6706 ac_cv_use_xrc='wxUSE_XRC
=yes'
6708 ac_cv_use_xrc='wxUSE_XRC
=no
'
6713 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x ; then
6715 eval "DEFAULT_$LINE"
6720 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6724 eval "$ac_cv_use_xrc"
6725 if test "$no_cache" != 1; then
6726 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6729 if test "$wxUSE_XRC" = yes; then
6730 echo "$as_me:$LINENO: result: yes" >&5
6731 echo "${ECHO_T}yes" >&6
6733 echo "$as_me:$LINENO: result: no" >&5
6734 echo "${ECHO_T}no" >&6
6739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6740 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6742 # Check whether --enable-constraints or --disable-constraints was given.
6743 if test "${enable_constraints+set}" = set; then
6744 enableval="$enable_constraints"
6746 if test "$enableval" = yes; then
6747 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6749 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6754 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6755 if test "x$LINE" != x ; then
6756 eval "DEFAULT_$LINE"
6761 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6765 eval "$ac_cv_use_constraints"
6766 if test "$no_cache" != 1; then
6767 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6770 if test "$wxUSE_CONSTRAINTS" = yes; then
6771 echo "$as_me:$LINENO: result: yes" >&5
6772 echo "${ECHO_T}yes" >&6
6774 echo "$as_me:$LINENO: result: no" >&5
6775 echo "${ECHO_T}no" >&6
6780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6783 # Check whether --enable-printarch or --disable-printarch was given.
6784 if test "${enable_printarch+set}" = set; then
6785 enableval="$enable_printarch"
6787 if test "$enableval" = yes; then
6788 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6790 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6795 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x ; then
6797 eval "DEFAULT_$LINE"
6802 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6806 eval "$ac_cv_use_printarch"
6807 if test "$no_cache" != 1; then
6808 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6811 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6812 echo "$as_me:$LINENO: result: yes" >&5
6813 echo "${ECHO_T}yes" >&6
6815 echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6
6821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6824 # Check whether --enable-mdi or --disable-mdi was given.
6825 if test "${enable_mdi+set}" = set; then
6826 enableval="$enable_mdi"
6828 if test "$enableval" = yes; then
6829 ac_cv_use_mdi='wxUSE_MDI
=yes'
6831 ac_cv_use_mdi='wxUSE_MDI
=no
'
6836 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x ; then
6838 eval "DEFAULT_$LINE"
6843 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6847 eval "$ac_cv_use_mdi"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6852 if test "$wxUSE_MDI" = yes; then
6853 echo "$as_me:$LINENO: result: yes" >&5
6854 echo "${ECHO_T}yes" >&6
6856 echo "$as_me:$LINENO: result: no" >&5
6857 echo "${ECHO_T}no" >&6
6862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6865 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6866 if test "${enable_mdidoc+set}" = set; then
6867 enableval="$enable_mdidoc"
6869 if test "$enableval" = yes; then
6870 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6872 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6877 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x ; then
6879 eval "DEFAULT_$LINE"
6884 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6888 eval "$ac_cv_use_mdidoc"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6893 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6894 echo "$as_me:$LINENO: result: yes" >&5
6895 echo "${ECHO_T}yes" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6906 # Check whether --enable-loggui or --disable-loggui was given.
6907 if test "${enable_loggui+set}" = set; then
6908 enableval="$enable_loggui"
6910 if test "$enableval" = yes; then
6911 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6913 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6918 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x ; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6929 eval "$ac_cv_use_loggui"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6934 if test "$wxUSE_LOGGUI" = yes; then
6935 echo "$as_me:$LINENO: result: yes" >&5
6936 echo "${ECHO_T}yes" >&6
6938 echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6
6944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6947 # Check whether --enable-logwin or --disable-logwin was given.
6948 if test "${enable_logwin+set}" = set; then
6949 enableval="$enable_logwin"
6951 if test "$enableval" = yes; then
6952 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6954 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6959 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x ; then
6961 eval "DEFAULT_$LINE"
6966 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6970 eval "$ac_cv_use_logwin"
6971 if test "$no_cache" != 1; then
6972 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6975 if test "$wxUSE_LOGWINDOW" = yes; then
6976 echo "$as_me:$LINENO: result: yes" >&5
6977 echo "${ECHO_T}yes" >&6
6979 echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6
6985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6988 # Check whether --enable-logdialog or --disable-logdialog was given.
6989 if test "${enable_logdialog+set}" = set; then
6990 enableval="$enable_logdialog"
6992 if test "$enableval" = yes; then
6993 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6995 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
7000 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7011 eval "$ac_cv_use_logdialog"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7016 if test "$wxUSE_LOGDIALOG" = yes; then
7017 echo "$as_me:$LINENO: result: yes" >&5
7018 echo "${ECHO_T}yes" >&6
7020 echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6
7026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7029 # Check whether --enable-webkit or --disable-webkit was given.
7030 if test "${enable_webkit+set}" = set; then
7031 enableval="$enable_webkit"
7033 if test "$enableval" = yes; then
7034 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7036 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7041 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x ; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7052 eval "$ac_cv_use_webkit"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_WEBKIT" = yes; then
7058 echo "$as_me:$LINENO: result: yes" >&5
7059 echo "${ECHO_T}yes" >&6
7061 echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7070 # Check whether --enable-html or --disable-html was given.
7071 if test "${enable_html+set}" = set; then
7072 enableval="$enable_html"
7074 if test "$enableval" = yes; then
7075 ac_cv_use_html='wxUSE_RICHTEXT
=yes'
7077 ac_cv_use_html='wxUSE_RICHTEXT
=no
'
7082 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x ; then
7084 eval "DEFAULT_$LINE"
7089 ac_cv_use_html='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7093 eval "$ac_cv_use_html"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7098 if test "$wxUSE_RICHTEXT" = yes; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7102 echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6
7109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7110 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7112 # Check whether --enable-postscript or --disable-postscript was given.
7113 if test "${enable_postscript+set}" = set; then
7114 enableval="$enable_postscript"
7116 if test "$enableval" = yes; then
7117 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7119 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7124 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7125 if test "x$LINE" != x ; then
7126 eval "DEFAULT_$LINE"
7131 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7135 eval "$ac_cv_use_postscript"
7136 if test "$no_cache" != 1; then
7137 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7140 if test "$wxUSE_POSTSCRIPT" = yes; then
7141 echo "$as_me:$LINENO: result: yes" >&5
7142 echo "${ECHO_T}yes" >&6
7144 echo "$as_me:$LINENO: result: no" >&5
7145 echo "${ECHO_T}no" >&6
7153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7156 # Check whether --enable-prologio or --disable-prologio was given.
7157 if test "${enable_prologio+set}" = set; then
7158 enableval="$enable_prologio"
7160 if test "$enableval" = yes; then
7161 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7163 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7168 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x ; then
7170 eval "DEFAULT_$LINE"
7175 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7179 eval "$ac_cv_use_prologio"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7184 if test "$wxUSE_PROLOGIO" = yes; then
7185 echo "$as_me:$LINENO: result: yes" >&5
7186 echo "${ECHO_T}yes" >&6
7188 echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6
7194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7197 # Check whether --enable-resources or --disable-resources was given.
7198 if test "${enable_resources+set}" = set; then
7199 enableval="$enable_resources"
7201 if test "$enableval" = yes; then
7202 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7204 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7209 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7210 if test "x$LINE" != x ; then
7211 eval "DEFAULT_$LINE"
7216 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7220 eval "$ac_cv_use_resources"
7221 if test "$no_cache" != 1; then
7222 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7225 if test "$wxUSE_RESOURCES" = yes; then
7226 echo "$as_me:$LINENO: result: yes" >&5
7227 echo "${ECHO_T}yes" >&6
7229 echo "$as_me:$LINENO: result: no" >&5
7230 echo "${ECHO_T}no" >&6
7237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7240 # Check whether --enable-clipboard or --disable-clipboard was given.
7241 if test "${enable_clipboard+set}" = set; then
7242 enableval="$enable_clipboard"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7247 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7252 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7263 eval "$ac_cv_use_clipboard"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7268 if test "$wxUSE_CLIPBOARD" = yes; then
7269 echo "$as_me:$LINENO: result: yes" >&5
7270 echo "${ECHO_T}yes" >&6
7272 echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6
7278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7279 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7281 # Check whether --enable-dnd or --disable-dnd was given.
7282 if test "${enable_dnd+set}" = set; then
7283 enableval="$enable_dnd"
7285 if test "$enableval" = yes; then
7286 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7288 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7293 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x ; then
7295 eval "DEFAULT_$LINE"
7300 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7304 eval "$ac_cv_use_dnd"
7305 if test "$no_cache" != 1; then
7306 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7309 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7310 echo "$as_me:$LINENO: result: yes" >&5
7311 echo "${ECHO_T}yes" >&6
7313 echo "$as_me:$LINENO: result: no" >&5
7314 echo "${ECHO_T}no" >&6
7319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7320 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7322 # Check whether --enable-metafile or --disable-metafile was given.
7323 if test "${enable_metafile+set}" = set; then
7324 enableval="$enable_metafile"
7326 if test "$enableval" = yes; then
7327 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7329 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7334 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x ; then
7336 eval "DEFAULT_$LINE"
7341 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7345 eval "$ac_cv_use_metafile"
7346 if test "$no_cache" != 1; then
7347 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7350 if test "$wxUSE_METAFILE" = yes; then
7351 echo "$as_me:$LINENO: result: yes" >&5
7352 echo "${ECHO_T}yes" >&6
7354 echo "$as_me:$LINENO: result: no" >&5
7355 echo "${ECHO_T}no" >&6
7363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7364 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7366 # Check whether --enable-controls or --disable-controls was given.
7367 if test "${enable_controls+set}" = set; then
7368 enableval="$enable_controls"
7370 if test "$enableval" = yes; then
7371 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7373 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7378 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7379 if test "x$LINE" != x ; then
7380 eval "DEFAULT_$LINE"
7385 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7389 eval "$ac_cv_use_controls"
7390 if test "$no_cache" != 1; then
7391 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7394 if test "$wxUSE_CONTROLS" = yes; then
7395 echo "$as_me:$LINENO: result: yes" >&5
7396 echo "${ECHO_T}yes" >&6
7398 echo "$as_me:$LINENO: result: no" >&5
7399 echo "${ECHO_T}no" >&6
7403 if test "$wxUSE_CONTROLS" = "yes"; then
7404 DEFAULT_wxUSE_ACCEL=yes
7405 DEFAULT_wxUSE_BMPBUTTON=yes
7406 DEFAULT_wxUSE_BUTTON=yes
7407 DEFAULT_wxUSE_CALCTRL=yes
7408 DEFAULT_wxUSE_CARET=yes
7409 DEFAULT_wxUSE_COMBOBOX=yes
7410 DEFAULT_wxUSE_CHECKBOX=yes
7411 DEFAULT_wxUSE_CHECKLISTBOX=yes
7412 DEFAULT_wxUSE_CHOICE=yes
7413 DEFAULT_wxUSE_CHOICEBOOK=yes
7414 DEFAULT_wxUSE_DATEPICKCTRL=yes
7415 DEFAULT_wxUSE_GAUGE=yes
7416 DEFAULT_wxUSE_GRID=yes
7417 DEFAULT_wxUSE_DATAVIEWCTRL=no
7418 DEFAULT_wxUSE_IMAGLIST=yes
7419 DEFAULT_wxUSE_LISTBOOK=yes
7420 DEFAULT_wxUSE_LISTBOX=yes
7421 DEFAULT_wxUSE_LISTCTRL=yes
7422 DEFAULT_wxUSE_NOTEBOOK=yes
7423 DEFAULT_wxUSE_RADIOBOX=yes
7424 DEFAULT_wxUSE_RADIOBTN=yes
7425 DEFAULT_wxUSE_SASH=yes
7426 DEFAULT_wxUSE_SCROLLBAR=yes
7427 DEFAULT_wxUSE_SLIDER=yes
7428 DEFAULT_wxUSE_SPINBTN=yes
7429 DEFAULT_wxUSE_SPINCTRL=yes
7430 DEFAULT_wxUSE_SPLITTER=yes
7431 DEFAULT_wxUSE_STATBMP=yes
7432 DEFAULT_wxUSE_STATBOX=yes
7433 DEFAULT_wxUSE_STATLINE=yes
7434 DEFAULT_wxUSE_STATUSBAR=yes
7435 DEFAULT_wxUSE_TAB_DIALOG=yes
7436 DEFAULT_wxUSE_TOGGLEBTN=yes
7437 DEFAULT_wxUSE_TOOLBAR=yes
7438 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7439 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7440 DEFAULT_wxUSE_TOOLTIPS=yes
7441 DEFAULT_wxUSE_TREEBOOK=yes
7442 DEFAULT_wxUSE_TREECTRL=yes
7443 DEFAULT_wxUSE_POPUPWIN=yes
7444 DEFAULT_wxUSE_TIPWINDOW=yes
7445 elif test "$wxUSE_CONTROLS" = "no"; then
7446 DEFAULT_wxUSE_ACCEL=no
7447 DEFAULT_wxUSE_BMPBUTTON=no
7448 DEFAULT_wxUSE_BUTTON=no
7449 DEFAULT_wxUSE_CALCTRL=no
7450 DEFAULT_wxUSE_CARET=no
7451 DEFAULT_wxUSE_COMBOBOX=no
7452 DEFAULT_wxUSE_CHECKBOX=no
7453 DEFAULT_wxUSE_CHECKLISTBOX=no
7454 DEFAULT_wxUSE_CHOICE=no
7455 DEFAULT_wxUSE_CHOICEBOOK=no
7456 DEFAULT_wxUSE_DATEPICKCTRL=no
7457 DEFAULT_wxUSE_GAUGE=no
7458 DEFAULT_wxUSE_GRID=no
7459 DEFAULT_wxUSE_DATAVIEWCTRL=no
7460 DEFAULT_wxUSE_IMAGLIST=no
7461 DEFAULT_wxUSE_LISTBOOK=no
7462 DEFAULT_wxUSE_LISTBOX=no
7463 DEFAULT_wxUSE_LISTCTRL=no
7464 DEFAULT_wxUSE_NOTEBOOK=no
7465 DEFAULT_wxUSE_RADIOBOX=no
7466 DEFAULT_wxUSE_RADIOBTN=no
7467 DEFAULT_wxUSE_SASH=no
7468 DEFAULT_wxUSE_SCROLLBAR=no
7469 DEFAULT_wxUSE_SLIDER=no
7470 DEFAULT_wxUSE_SPINBTN=no
7471 DEFAULT_wxUSE_SPINCTRL=no
7472 DEFAULT_wxUSE_SPLITTER=no
7473 DEFAULT_wxUSE_STATBMP=no
7474 DEFAULT_wxUSE_STATBOX=no
7475 DEFAULT_wxUSE_STATLINE=no
7476 DEFAULT_wxUSE_STATUSBAR=no
7477 DEFAULT_wxUSE_TAB_DIALOG=no
7478 DEFAULT_wxUSE_TOGGLEBTN=no
7479 DEFAULT_wxUSE_TOOLBAR=no
7480 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7481 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7482 DEFAULT_wxUSE_TOOLTIPS=no
7483 DEFAULT_wxUSE_TREEBOOK=no
7484 DEFAULT_wxUSE_TREECTRL=no
7485 DEFAULT_wxUSE_POPUPWIN=no
7486 DEFAULT_wxUSE_TIPWINDOW=no
7491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7494 # Check whether --enable-accel or --disable-accel was given.
7495 if test "${enable_accel+set}" = set; then
7496 enableval="$enable_accel"
7498 if test "$enableval" = yes; then
7499 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7501 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7506 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x ; then
7508 eval "DEFAULT_$LINE"
7513 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7517 eval "$ac_cv_use_accel"
7518 if test "$no_cache" != 1; then
7519 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7522 if test "$wxUSE_ACCEL" = yes; then
7523 echo "$as_me:$LINENO: result: yes" >&5
7524 echo "${ECHO_T}yes" >&6
7526 echo "$as_me:$LINENO: result: no" >&5
7527 echo "${ECHO_T}no" >&6
7532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7533 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7535 # Check whether --enable-button or --disable-button was given.
7536 if test "${enable_button+set}" = set; then
7537 enableval="$enable_button"
7539 if test "$enableval" = yes; then
7540 ac_cv_use_button='wxUSE_BUTTON
=yes'
7542 ac_cv_use_button='wxUSE_BUTTON
=no
'
7547 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7548 if test "x$LINE" != x ; then
7549 eval "DEFAULT_$LINE"
7554 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7558 eval "$ac_cv_use_button"
7559 if test "$no_cache" != 1; then
7560 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7563 if test "$wxUSE_BUTTON" = yes; then
7564 echo "$as_me:$LINENO: result: yes" >&5
7565 echo "${ECHO_T}yes" >&6
7567 echo "$as_me:$LINENO: result: no" >&5
7568 echo "${ECHO_T}no" >&6
7573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7574 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7576 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7577 if test "${enable_bmpbutton+set}" = set; then
7578 enableval="$enable_bmpbutton"
7580 if test "$enableval" = yes; then
7581 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7583 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7588 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7589 if test "x$LINE" != x ; then
7590 eval "DEFAULT_$LINE"
7595 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7599 eval "$ac_cv_use_bmpbutton"
7600 if test "$no_cache" != 1; then
7601 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7604 if test "$wxUSE_BMPBUTTON" = yes; then
7605 echo "$as_me:$LINENO: result: yes" >&5
7606 echo "${ECHO_T}yes" >&6
7608 echo "$as_me:$LINENO: result: no" >&5
7609 echo "${ECHO_T}no" >&6
7614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7615 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7617 # Check whether --enable-calendar or --disable-calendar was given.
7618 if test "${enable_calendar+set}" = set; then
7619 enableval="$enable_calendar"
7621 if test "$enableval" = yes; then
7622 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7624 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7629 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7630 if test "x$LINE" != x ; then
7631 eval "DEFAULT_$LINE"
7636 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7640 eval "$ac_cv_use_calendar"
7641 if test "$no_cache" != 1; then
7642 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7645 if test "$wxUSE_CALCTRL" = yes; then
7646 echo "$as_me:$LINENO: result: yes" >&5
7647 echo "${ECHO_T}yes" >&6
7649 echo "$as_me:$LINENO: result: no" >&5
7650 echo "${ECHO_T}no" >&6
7655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7656 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7658 # Check whether --enable-caret or --disable-caret was given.
7659 if test "${enable_caret+set}" = set; then
7660 enableval="$enable_caret"
7662 if test "$enableval" = yes; then
7663 ac_cv_use_caret='wxUSE_CARET
=yes'
7665 ac_cv_use_caret='wxUSE_CARET
=no
'
7670 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7671 if test "x$LINE" != x ; then
7672 eval "DEFAULT_$LINE"
7677 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7681 eval "$ac_cv_use_caret"
7682 if test "$no_cache" != 1; then
7683 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7686 if test "$wxUSE_CARET" = yes; then
7687 echo "$as_me:$LINENO: result: yes" >&5
7688 echo "${ECHO_T}yes" >&6
7690 echo "$as_me:$LINENO: result: no" >&5
7691 echo "${ECHO_T}no" >&6
7696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7699 # Check whether --enable-checkbox or --disable-checkbox was given.
7700 if test "${enable_checkbox+set}" = set; then
7701 enableval="$enable_checkbox"
7703 if test "$enableval" = yes; then
7704 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7706 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7711 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7712 if test "x$LINE" != x ; then
7713 eval "DEFAULT_$LINE"
7718 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7722 eval "$ac_cv_use_checkbox"
7723 if test "$no_cache" != 1; then
7724 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7727 if test "$wxUSE_CHECKBOX" = yes; then
7728 echo "$as_me:$LINENO: result: yes" >&5
7729 echo "${ECHO_T}yes" >&6
7731 echo "$as_me:$LINENO: result: no" >&5
7732 echo "${ECHO_T}no" >&6
7737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7738 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7740 # Check whether --enable-checklst or --disable-checklst was given.
7741 if test "${enable_checklst+set}" = set; then
7742 enableval="$enable_checklst"
7744 if test "$enableval" = yes; then
7745 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7747 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7752 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7753 if test "x$LINE" != x ; then
7754 eval "DEFAULT_$LINE"
7759 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7763 eval "$ac_cv_use_checklst"
7764 if test "$no_cache" != 1; then
7765 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7768 if test "$wxUSE_CHECKLST" = yes; then
7769 echo "$as_me:$LINENO: result: yes" >&5
7770 echo "${ECHO_T}yes" >&6
7772 echo "$as_me:$LINENO: result: no" >&5
7773 echo "${ECHO_T}no" >&6
7778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7779 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7781 # Check whether --enable-choice or --disable-choice was given.
7782 if test "${enable_choice+set}" = set; then
7783 enableval="$enable_choice"
7785 if test "$enableval" = yes; then
7786 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7788 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7793 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7794 if test "x$LINE" != x ; then
7795 eval "DEFAULT_$LINE"
7800 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7804 eval "$ac_cv_use_choice"
7805 if test "$no_cache" != 1; then
7806 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7809 if test "$wxUSE_CHOICE" = yes; then
7810 echo "$as_me:$LINENO: result: yes" >&5
7811 echo "${ECHO_T}yes" >&6
7813 echo "$as_me:$LINENO: result: no" >&5
7814 echo "${ECHO_T}no" >&6
7819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7820 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7822 # Check whether --enable-choicebook or --disable-choicebook was given.
7823 if test "${enable_choicebook+set}" = set; then
7824 enableval="$enable_choicebook"
7826 if test "$enableval" = yes; then
7827 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7829 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7834 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7835 if test "x$LINE" != x ; then
7836 eval "DEFAULT_$LINE"
7841 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7845 eval "$ac_cv_use_choicebook"
7846 if test "$no_cache" != 1; then
7847 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7850 if test "$wxUSE_CHOICEBOOK" = yes; then
7851 echo "$as_me:$LINENO: result: yes" >&5
7852 echo "${ECHO_T}yes" >&6
7854 echo "$as_me:$LINENO: result: no" >&5
7855 echo "${ECHO_T}no" >&6
7860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7861 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7863 # Check whether --enable-combobox or --disable-combobox was given.
7864 if test "${enable_combobox+set}" = set; then
7865 enableval="$enable_combobox"
7867 if test "$enableval" = yes; then
7868 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7870 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7875 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7876 if test "x$LINE" != x ; then
7877 eval "DEFAULT_$LINE"
7882 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7886 eval "$ac_cv_use_combobox"
7887 if test "$no_cache" != 1; then
7888 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7891 if test "$wxUSE_COMBOBOX" = yes; then
7892 echo "$as_me:$LINENO: result: yes" >&5
7893 echo "${ECHO_T}yes" >&6
7895 echo "$as_me:$LINENO: result: no" >&5
7896 echo "${ECHO_T}no" >&6
7901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7902 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7904 # Check whether --enable-datepick or --disable-datepick was given.
7905 if test "${enable_datepick+set}" = set; then
7906 enableval="$enable_datepick"
7908 if test "$enableval" = yes; then
7909 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7911 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7916 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7917 if test "x$LINE" != x ; then
7918 eval "DEFAULT_$LINE"
7923 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7927 eval "$ac_cv_use_datepick"
7928 if test "$no_cache" != 1; then
7929 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7932 if test "$wxUSE_DATEPICKCTRL" = yes; then
7933 echo "$as_me:$LINENO: result: yes" >&5
7934 echo "${ECHO_T}yes" >&6
7936 echo "$as_me:$LINENO: result: no" >&5
7937 echo "${ECHO_T}no" >&6
7942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7943 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7945 # Check whether --enable-display or --disable-display was given.
7946 if test "${enable_display+set}" = set; then
7947 enableval="$enable_display"
7949 if test "$enableval" = yes; then
7950 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7952 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7957 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7958 if test "x$LINE" != x ; then
7959 eval "DEFAULT_$LINE"
7964 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7968 eval "$ac_cv_use_display"
7969 if test "$no_cache" != 1; then
7970 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7973 if test "$wxUSE_DISPLAY" = yes; then
7974 echo "$as_me:$LINENO: result: yes" >&5
7975 echo "${ECHO_T}yes" >&6
7977 echo "$as_me:$LINENO: result: no" >&5
7978 echo "${ECHO_T}no" >&6
7983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7984 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7986 # Check whether --enable-gauge or --disable-gauge was given.
7987 if test "${enable_gauge+set}" = set; then
7988 enableval="$enable_gauge"
7990 if test "$enableval" = yes; then
7991 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7993 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7998 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7999 if test "x$LINE" != x ; then
8000 eval "DEFAULT_$LINE"
8005 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
8009 eval "$ac_cv_use_gauge"
8010 if test "$no_cache" != 1; then
8011 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8014 if test "$wxUSE_GAUGE" = yes; then
8015 echo "$as_me:$LINENO: result: yes" >&5
8016 echo "${ECHO_T}yes" >&6
8018 echo "$as_me:$LINENO: result: no" >&5
8019 echo "${ECHO_T}no" >&6
8024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8025 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8027 # Check whether --enable-grid or --disable-grid was given.
8028 if test "${enable_grid+set}" = set; then
8029 enableval="$enable_grid"
8031 if test "$enableval" = yes; then
8032 ac_cv_use_grid='wxUSE_GRID
=yes'
8034 ac_cv_use_grid='wxUSE_GRID
=no
'
8039 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8040 if test "x$LINE" != x ; then
8041 eval "DEFAULT_$LINE"
8046 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
8050 eval "$ac_cv_use_grid"
8051 if test "$no_cache" != 1; then
8052 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8055 if test "$wxUSE_GRID" = yes; then
8056 echo "$as_me:$LINENO: result: yes" >&5
8057 echo "${ECHO_T}yes" >&6
8059 echo "$as_me:$LINENO: result: no" >&5
8060 echo "${ECHO_T}no" >&6
8065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8066 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8068 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8069 if test "${enable_dataviewctrl+set}" = set; then
8070 enableval="$enable_dataviewctrl"
8072 if test "$enableval" = yes; then
8073 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
8075 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
8080 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8081 if test "x$LINE" != x ; then
8082 eval "DEFAULT_$LINE"
8087 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
8091 eval "$ac_cv_use_dataviewctrl"
8092 if test "$no_cache" != 1; then
8093 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8096 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8097 echo "$as_me:$LINENO: result: yes" >&5
8098 echo "${ECHO_T}yes" >&6
8100 echo "$as_me:$LINENO: result: no" >&5
8101 echo "${ECHO_T}no" >&6
8106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8109 # Check whether --enable-imaglist or --disable-imaglist was given.
8110 if test "${enable_imaglist+set}" = set; then
8111 enableval="$enable_imaglist"
8113 if test "$enableval" = yes; then
8114 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
8116 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
8121 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8122 if test "x$LINE" != x ; then
8123 eval "DEFAULT_$LINE"
8128 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
8132 eval "$ac_cv_use_imaglist"
8133 if test "$no_cache" != 1; then
8134 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8137 if test "$wxUSE_IMAGLIST" = yes; then
8138 echo "$as_me:$LINENO: result: yes" >&5
8139 echo "${ECHO_T}yes" >&6
8141 echo "$as_me:$LINENO: result: no" >&5
8142 echo "${ECHO_T}no" >&6
8147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8148 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8150 # Check whether --enable-listbook or --disable-listbook was given.
8151 if test "${enable_listbook+set}" = set; then
8152 enableval="$enable_listbook"
8154 if test "$enableval" = yes; then
8155 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8157 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8162 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8163 if test "x$LINE" != x ; then
8164 eval "DEFAULT_$LINE"
8169 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8173 eval "$ac_cv_use_listbook"
8174 if test "$no_cache" != 1; then
8175 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8178 if test "$wxUSE_LISTBOOK" = yes; then
8179 echo "$as_me:$LINENO: result: yes" >&5
8180 echo "${ECHO_T}yes" >&6
8182 echo "$as_me:$LINENO: result: no" >&5
8183 echo "${ECHO_T}no" >&6
8188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8189 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8191 # Check whether --enable-listbox or --disable-listbox was given.
8192 if test "${enable_listbox+set}" = set; then
8193 enableval="$enable_listbox"
8195 if test "$enableval" = yes; then
8196 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8198 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8203 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8204 if test "x$LINE" != x ; then
8205 eval "DEFAULT_$LINE"
8210 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8214 eval "$ac_cv_use_listbox"
8215 if test "$no_cache" != 1; then
8216 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8219 if test "$wxUSE_LISTBOX" = yes; then
8220 echo "$as_me:$LINENO: result: yes" >&5
8221 echo "${ECHO_T}yes" >&6
8223 echo "$as_me:$LINENO: result: no" >&5
8224 echo "${ECHO_T}no" >&6
8229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8230 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8232 # Check whether --enable-listctrl or --disable-listctrl was given.
8233 if test "${enable_listctrl+set}" = set; then
8234 enableval="$enable_listctrl"
8236 if test "$enableval" = yes; then
8237 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8239 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8244 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8245 if test "x$LINE" != x ; then
8246 eval "DEFAULT_$LINE"
8251 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8255 eval "$ac_cv_use_listctrl"
8256 if test "$no_cache" != 1; then
8257 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8260 if test "$wxUSE_LISTCTRL" = yes; then
8261 echo "$as_me:$LINENO: result: yes" >&5
8262 echo "${ECHO_T}yes" >&6
8264 echo "$as_me:$LINENO: result: no" >&5
8265 echo "${ECHO_T}no" >&6
8270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8271 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8273 # Check whether --enable-notebook or --disable-notebook was given.
8274 if test "${enable_notebook+set}" = set; then
8275 enableval="$enable_notebook"
8277 if test "$enableval" = yes; then
8278 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8280 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8285 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8286 if test "x$LINE" != x ; then
8287 eval "DEFAULT_$LINE"
8292 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8296 eval "$ac_cv_use_notebook"
8297 if test "$no_cache" != 1; then
8298 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8301 if test "$wxUSE_NOTEBOOK" = yes; then
8302 echo "$as_me:$LINENO: result: yes" >&5
8303 echo "${ECHO_T}yes" >&6
8305 echo "$as_me:$LINENO: result: no" >&5
8306 echo "${ECHO_T}no" >&6
8311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8312 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8314 # Check whether --enable-radiobox or --disable-radiobox was given.
8315 if test "${enable_radiobox+set}" = set; then
8316 enableval="$enable_radiobox"
8318 if test "$enableval" = yes; then
8319 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8321 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8326 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8327 if test "x$LINE" != x ; then
8328 eval "DEFAULT_$LINE"
8333 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8337 eval "$ac_cv_use_radiobox"
8338 if test "$no_cache" != 1; then
8339 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8342 if test "$wxUSE_RADIOBOX" = yes; then
8343 echo "$as_me:$LINENO: result: yes" >&5
8344 echo "${ECHO_T}yes" >&6
8346 echo "$as_me:$LINENO: result: no" >&5
8347 echo "${ECHO_T}no" >&6
8352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8353 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8355 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8356 if test "${enable_radiobtn+set}" = set; then
8357 enableval="$enable_radiobtn"
8359 if test "$enableval" = yes; then
8360 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8362 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8367 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8368 if test "x$LINE" != x ; then
8369 eval "DEFAULT_$LINE"
8374 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8378 eval "$ac_cv_use_radiobtn"
8379 if test "$no_cache" != 1; then
8380 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8383 if test "$wxUSE_RADIOBTN" = yes; then
8384 echo "$as_me:$LINENO: result: yes" >&5
8385 echo "${ECHO_T}yes" >&6
8387 echo "$as_me:$LINENO: result: no" >&5
8388 echo "${ECHO_T}no" >&6
8393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8394 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8396 # Check whether --enable-sash or --disable-sash was given.
8397 if test "${enable_sash+set}" = set; then
8398 enableval="$enable_sash"
8400 if test "$enableval" = yes; then
8401 ac_cv_use_sash='wxUSE_SASH
=yes'
8403 ac_cv_use_sash='wxUSE_SASH
=no
'
8408 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8409 if test "x$LINE" != x ; then
8410 eval "DEFAULT_$LINE"
8415 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8419 eval "$ac_cv_use_sash"
8420 if test "$no_cache" != 1; then
8421 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8424 if test "$wxUSE_SASH" = yes; then
8425 echo "$as_me:$LINENO: result: yes" >&5
8426 echo "${ECHO_T}yes" >&6
8428 echo "$as_me:$LINENO: result: no" >&5
8429 echo "${ECHO_T}no" >&6
8434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8435 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8437 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8438 if test "${enable_scrollbar+set}" = set; then
8439 enableval="$enable_scrollbar"
8441 if test "$enableval" = yes; then
8442 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8444 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8449 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8450 if test "x$LINE" != x ; then
8451 eval "DEFAULT_$LINE"
8456 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8460 eval "$ac_cv_use_scrollbar"
8461 if test "$no_cache" != 1; then
8462 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8465 if test "$wxUSE_SCROLLBAR" = yes; then
8466 echo "$as_me:$LINENO: result: yes" >&5
8467 echo "${ECHO_T}yes" >&6
8469 echo "$as_me:$LINENO: result: no" >&5
8470 echo "${ECHO_T}no" >&6
8475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8476 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8478 # Check whether --enable-slider or --disable-slider was given.
8479 if test "${enable_slider+set}" = set; then
8480 enableval="$enable_slider"
8482 if test "$enableval" = yes; then
8483 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8485 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8490 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8491 if test "x$LINE" != x ; then
8492 eval "DEFAULT_$LINE"
8497 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8501 eval "$ac_cv_use_slider"
8502 if test "$no_cache" != 1; then
8503 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8506 if test "$wxUSE_SLIDER" = yes; then
8507 echo "$as_me:$LINENO: result: yes" >&5
8508 echo "${ECHO_T}yes" >&6
8510 echo "$as_me:$LINENO: result: no" >&5
8511 echo "${ECHO_T}no" >&6
8516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8517 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8519 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8520 if test "${enable_spinbtn+set}" = set; then
8521 enableval="$enable_spinbtn"
8523 if test "$enableval" = yes; then
8524 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8526 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8531 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8532 if test "x$LINE" != x ; then
8533 eval "DEFAULT_$LINE"
8538 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8542 eval "$ac_cv_use_spinbtn"
8543 if test "$no_cache" != 1; then
8544 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8547 if test "$wxUSE_SPINBTN" = yes; then
8548 echo "$as_me:$LINENO: result: yes" >&5
8549 echo "${ECHO_T}yes" >&6
8551 echo "$as_me:$LINENO: result: no" >&5
8552 echo "${ECHO_T}no" >&6
8557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8558 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8560 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8561 if test "${enable_spinctrl+set}" = set; then
8562 enableval="$enable_spinctrl"
8564 if test "$enableval" = yes; then
8565 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8567 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8572 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8573 if test "x$LINE" != x ; then
8574 eval "DEFAULT_$LINE"
8579 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8583 eval "$ac_cv_use_spinctrl"
8584 if test "$no_cache" != 1; then
8585 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8588 if test "$wxUSE_SPINCTRL" = yes; then
8589 echo "$as_me:$LINENO: result: yes" >&5
8590 echo "${ECHO_T}yes" >&6
8592 echo "$as_me:$LINENO: result: no" >&5
8593 echo "${ECHO_T}no" >&6
8598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8599 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8601 # Check whether --enable-splitter or --disable-splitter was given.
8602 if test "${enable_splitter+set}" = set; then
8603 enableval="$enable_splitter"
8605 if test "$enableval" = yes; then
8606 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8608 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8613 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8614 if test "x$LINE" != x ; then
8615 eval "DEFAULT_$LINE"
8620 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8624 eval "$ac_cv_use_splitter"
8625 if test "$no_cache" != 1; then
8626 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8629 if test "$wxUSE_SPLITTER" = yes; then
8630 echo "$as_me:$LINENO: result: yes" >&5
8631 echo "${ECHO_T}yes" >&6
8633 echo "$as_me:$LINENO: result: no" >&5
8634 echo "${ECHO_T}no" >&6
8639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8640 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8642 # Check whether --enable-statbmp or --disable-statbmp was given.
8643 if test "${enable_statbmp+set}" = set; then
8644 enableval="$enable_statbmp"
8646 if test "$enableval" = yes; then
8647 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8649 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8654 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8655 if test "x$LINE" != x ; then
8656 eval "DEFAULT_$LINE"
8661 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8665 eval "$ac_cv_use_statbmp"
8666 if test "$no_cache" != 1; then
8667 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8670 if test "$wxUSE_STATBMP" = yes; then
8671 echo "$as_me:$LINENO: result: yes" >&5
8672 echo "${ECHO_T}yes" >&6
8674 echo "$as_me:$LINENO: result: no" >&5
8675 echo "${ECHO_T}no" >&6
8680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8681 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8683 # Check whether --enable-statbox or --disable-statbox was given.
8684 if test "${enable_statbox+set}" = set; then
8685 enableval="$enable_statbox"
8687 if test "$enableval" = yes; then
8688 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8690 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8695 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8696 if test "x$LINE" != x ; then
8697 eval "DEFAULT_$LINE"
8702 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8706 eval "$ac_cv_use_statbox"
8707 if test "$no_cache" != 1; then
8708 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8711 if test "$wxUSE_STATBOX" = yes; then
8712 echo "$as_me:$LINENO: result: yes" >&5
8713 echo "${ECHO_T}yes" >&6
8715 echo "$as_me:$LINENO: result: no" >&5
8716 echo "${ECHO_T}no" >&6
8721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8722 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8724 # Check whether --enable-statline or --disable-statline was given.
8725 if test "${enable_statline+set}" = set; then
8726 enableval="$enable_statline"
8728 if test "$enableval" = yes; then
8729 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8731 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8736 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8737 if test "x$LINE" != x ; then
8738 eval "DEFAULT_$LINE"
8743 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8747 eval "$ac_cv_use_statline"
8748 if test "$no_cache" != 1; then
8749 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8752 if test "$wxUSE_STATLINE" = yes; then
8753 echo "$as_me:$LINENO: result: yes" >&5
8754 echo "${ECHO_T}yes" >&6
8756 echo "$as_me:$LINENO: result: no" >&5
8757 echo "${ECHO_T}no" >&6
8762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8763 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8765 # Check whether --enable-stattext or --disable-stattext was given.
8766 if test "${enable_stattext+set}" = set; then
8767 enableval="$enable_stattext"
8769 if test "$enableval" = yes; then
8770 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8772 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8777 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8778 if test "x$LINE" != x ; then
8779 eval "DEFAULT_$LINE"
8784 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8788 eval "$ac_cv_use_stattext"
8789 if test "$no_cache" != 1; then
8790 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8793 if test "$wxUSE_STATTEXT" = yes; then
8794 echo "$as_me:$LINENO: result: yes" >&5
8795 echo "${ECHO_T}yes" >&6
8797 echo "$as_me:$LINENO: result: no" >&5
8798 echo "${ECHO_T}no" >&6
8803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8806 # Check whether --enable-statusbar or --disable-statusbar was given.
8807 if test "${enable_statusbar+set}" = set; then
8808 enableval="$enable_statusbar"
8810 if test "$enableval" = yes; then
8811 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8813 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8818 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8819 if test "x$LINE" != x ; then
8820 eval "DEFAULT_$LINE"
8825 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8829 eval "$ac_cv_use_statusbar"
8830 if test "$no_cache" != 1; then
8831 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8834 if test "$wxUSE_STATUSBAR" = yes; then
8835 echo "$as_me:$LINENO: result: yes" >&5
8836 echo "${ECHO_T}yes" >&6
8838 echo "$as_me:$LINENO: result: no" >&5
8839 echo "${ECHO_T}no" >&6
8844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8845 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8847 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8848 if test "${enable_tabdialog+set}" = set; then
8849 enableval="$enable_tabdialog"
8851 if test "$enableval" = yes; then
8852 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8854 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8859 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8860 if test "x$LINE" != x ; then
8861 eval "DEFAULT_$LINE"
8866 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8870 eval "$ac_cv_use_tabdialog"
8871 if test "$no_cache" != 1; then
8872 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8875 if test "$wxUSE_TABDIALOG" = yes; then
8876 echo "$as_me:$LINENO: result: yes" >&5
8877 echo "${ECHO_T}yes" >&6
8879 echo "$as_me:$LINENO: result: no" >&5
8880 echo "${ECHO_T}no" >&6
8885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8886 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8888 # Check whether --enable-textctrl or --disable-textctrl was given.
8889 if test "${enable_textctrl+set}" = set; then
8890 enableval="$enable_textctrl"
8892 if test "$enableval" = yes; then
8893 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8895 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8900 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8901 if test "x$LINE" != x ; then
8902 eval "DEFAULT_$LINE"
8907 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8911 eval "$ac_cv_use_textctrl"
8912 if test "$no_cache" != 1; then
8913 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8916 if test "$wxUSE_TEXTCTRL" = yes; then
8917 echo "$as_me:$LINENO: result: yes" >&5
8918 echo "${ECHO_T}yes" >&6
8920 echo "$as_me:$LINENO: result: no" >&5
8921 echo "${ECHO_T}no" >&6
8926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8927 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8929 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8930 if test "${enable_togglebtn+set}" = set; then
8931 enableval="$enable_togglebtn"
8933 if test "$enableval" = yes; then
8934 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8936 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8941 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8942 if test "x$LINE" != x ; then
8943 eval "DEFAULT_$LINE"
8948 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8952 eval "$ac_cv_use_togglebtn"
8953 if test "$no_cache" != 1; then
8954 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8957 if test "$wxUSE_TOGGLEBTN" = yes; then
8958 echo "$as_me:$LINENO: result: yes" >&5
8959 echo "${ECHO_T}yes" >&6
8961 echo "$as_me:$LINENO: result: no" >&5
8962 echo "${ECHO_T}no" >&6
8967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8968 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8970 # Check whether --enable-toolbar or --disable-toolbar was given.
8971 if test "${enable_toolbar+set}" = set; then
8972 enableval="$enable_toolbar"
8974 if test "$enableval" = yes; then
8975 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8977 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8982 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8983 if test "x$LINE" != x ; then
8984 eval "DEFAULT_$LINE"
8989 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8993 eval "$ac_cv_use_toolbar"
8994 if test "$no_cache" != 1; then
8995 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8998 if test "$wxUSE_TOOLBAR" = yes; then
8999 echo "$as_me:$LINENO: result: yes" >&5
9000 echo "${ECHO_T}yes" >&6
9002 echo "$as_me:$LINENO: result: no" >&5
9003 echo "${ECHO_T}no" >&6
9008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9011 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9012 if test "${enable_tbarnative+set}" = set; then
9013 enableval="$enable_tbarnative"
9015 if test "$enableval" = yes; then
9016 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
9018 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
9023 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9024 if test "x$LINE" != x ; then
9025 eval "DEFAULT_$LINE"
9030 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9034 eval "$ac_cv_use_tbarnative"
9035 if test "$no_cache" != 1; then
9036 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9039 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9040 echo "$as_me:$LINENO: result: yes" >&5
9041 echo "${ECHO_T}yes" >&6
9043 echo "$as_me:$LINENO: result: no" >&5
9044 echo "${ECHO_T}no" >&6
9049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9050 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9052 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9053 if test "${enable_tbarsmpl+set}" = set; then
9054 enableval="$enable_tbarsmpl"
9056 if test "$enableval" = yes; then
9057 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
9059 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
9064 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9065 if test "x$LINE" != x ; then
9066 eval "DEFAULT_$LINE"
9071 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9075 eval "$ac_cv_use_tbarsmpl"
9076 if test "$no_cache" != 1; then
9077 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9080 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9081 echo "$as_me:$LINENO: result: yes" >&5
9082 echo "${ECHO_T}yes" >&6
9084 echo "$as_me:$LINENO: result: no" >&5
9085 echo "${ECHO_T}no" >&6
9090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9091 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9093 # Check whether --enable-treebook or --disable-treebook was given.
9094 if test "${enable_treebook+set}" = set; then
9095 enableval="$enable_treebook"
9097 if test "$enableval" = yes; then
9098 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
9100 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
9105 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9106 if test "x$LINE" != x ; then
9107 eval "DEFAULT_$LINE"
9112 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
9116 eval "$ac_cv_use_treebook"
9117 if test "$no_cache" != 1; then
9118 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9121 if test "$wxUSE_TREEBOOK" = yes; then
9122 echo "$as_me:$LINENO: result: yes" >&5
9123 echo "${ECHO_T}yes" >&6
9125 echo "$as_me:$LINENO: result: no" >&5
9126 echo "${ECHO_T}no" >&6
9131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9132 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9134 # Check whether --enable-treectrl or --disable-treectrl was given.
9135 if test "${enable_treectrl+set}" = set; then
9136 enableval="$enable_treectrl"
9138 if test "$enableval" = yes; then
9139 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
9141 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
9146 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9147 if test "x$LINE" != x ; then
9148 eval "DEFAULT_$LINE"
9153 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
9157 eval "$ac_cv_use_treectrl"
9158 if test "$no_cache" != 1; then
9159 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9162 if test "$wxUSE_TREECTRL" = yes; then
9163 echo "$as_me:$LINENO: result: yes" >&5
9164 echo "${ECHO_T}yes" >&6
9166 echo "$as_me:$LINENO: result: no" >&5
9167 echo "${ECHO_T}no" >&6
9172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9173 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9175 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9176 if test "${enable_tipwindow+set}" = set; then
9177 enableval="$enable_tipwindow"
9179 if test "$enableval" = yes; then
9180 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
9182 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9187 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9188 if test "x$LINE" != x ; then
9189 eval "DEFAULT_$LINE"
9194 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9198 eval "$ac_cv_use_tipwindow"
9199 if test "$no_cache" != 1; then
9200 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9203 if test "$wxUSE_TIPWINDOW" = yes; then
9204 echo "$as_me:$LINENO: result: yes" >&5
9205 echo "${ECHO_T}yes" >&6
9207 echo "$as_me:$LINENO: result: no" >&5
9208 echo "${ECHO_T}no" >&6
9213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9214 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9216 # Check whether --enable-popupwin or --disable-popupwin was given.
9217 if test "${enable_popupwin+set}" = set; then
9218 enableval="$enable_popupwin"
9220 if test "$enableval" = yes; then
9221 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9223 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9228 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9229 if test "x$LINE" != x ; then
9230 eval "DEFAULT_$LINE"
9235 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9239 eval "$ac_cv_use_popupwin"
9240 if test "$no_cache" != 1; then
9241 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9244 if test "$wxUSE_POPUPWIN" = yes; then
9245 echo "$as_me:$LINENO: result: yes" >&5
9246 echo "${ECHO_T}yes" >&6
9248 echo "$as_me:$LINENO: result: no" >&5
9249 echo "${ECHO_T}no" >&6
9256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9259 # Check whether --enable-commondlg or --disable-commondlg was given.
9260 if test "${enable_commondlg+set}" = set; then
9261 enableval="$enable_commondlg"
9263 if test "$enableval" = yes; then
9264 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9266 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9271 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9272 if test "x$LINE" != x ; then
9273 eval "DEFAULT_$LINE"
9278 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9282 eval "$ac_cv_use_commondlg"
9283 if test "$no_cache" != 1; then
9284 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9287 if test "$wxUSE_COMMONDLGS" = yes; then
9288 echo "$as_me:$LINENO: result: yes" >&5
9289 echo "${ECHO_T}yes" >&6
9291 echo "$as_me:$LINENO: result: no" >&5
9292 echo "${ECHO_T}no" >&6
9297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9300 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9301 if test "${enable_choicedlg+set}" = set; then
9302 enableval="$enable_choicedlg"
9304 if test "$enableval" = yes; then
9305 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9307 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9312 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9313 if test "x$LINE" != x ; then
9314 eval "DEFAULT_$LINE"
9319 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9323 eval "$ac_cv_use_choicedlg"
9324 if test "$no_cache" != 1; then
9325 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9328 if test "$wxUSE_CHOICEDLG" = yes; then
9329 echo "$as_me:$LINENO: result: yes" >&5
9330 echo "${ECHO_T}yes" >&6
9332 echo "$as_me:$LINENO: result: no" >&5
9333 echo "${ECHO_T}no" >&6
9338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9339 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9341 # Check whether --enable-coldlg or --disable-coldlg was given.
9342 if test "${enable_coldlg+set}" = set; then
9343 enableval="$enable_coldlg"
9345 if test "$enableval" = yes; then
9346 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9348 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9353 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9354 if test "x$LINE" != x ; then
9355 eval "DEFAULT_$LINE"
9360 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9364 eval "$ac_cv_use_coldlg"
9365 if test "$no_cache" != 1; then
9366 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9369 if test "$wxUSE_COLOURDLG" = yes; then
9370 echo "$as_me:$LINENO: result: yes" >&5
9371 echo "${ECHO_T}yes" >&6
9373 echo "$as_me:$LINENO: result: no" >&5
9374 echo "${ECHO_T}no" >&6
9379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9380 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9382 # Check whether --enable-filedlg or --disable-filedlg was given.
9383 if test "${enable_filedlg+set}" = set; then
9384 enableval="$enable_filedlg"
9386 if test "$enableval" = yes; then
9387 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9389 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9394 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9395 if test "x$LINE" != x ; then
9396 eval "DEFAULT_$LINE"
9401 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9405 eval "$ac_cv_use_filedlg"
9406 if test "$no_cache" != 1; then
9407 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9410 if test "$wxUSE_FILEDLG" = yes; then
9411 echo "$as_me:$LINENO: result: yes" >&5
9412 echo "${ECHO_T}yes" >&6
9414 echo "$as_me:$LINENO: result: no" >&5
9415 echo "${ECHO_T}no" >&6
9420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9421 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9423 # Check whether --enable-finddlg or --disable-finddlg was given.
9424 if test "${enable_finddlg+set}" = set; then
9425 enableval="$enable_finddlg"
9427 if test "$enableval" = yes; then
9428 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9430 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9435 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9436 if test "x$LINE" != x ; then
9437 eval "DEFAULT_$LINE"
9442 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9446 eval "$ac_cv_use_finddlg"
9447 if test "$no_cache" != 1; then
9448 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9451 if test "$wxUSE_FINDREPLDLG" = yes; then
9452 echo "$as_me:$LINENO: result: yes" >&5
9453 echo "${ECHO_T}yes" >&6
9455 echo "$as_me:$LINENO: result: no" >&5
9456 echo "${ECHO_T}no" >&6
9461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9462 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9464 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9465 if test "${enable_fontdlg+set}" = set; then
9466 enableval="$enable_fontdlg"
9468 if test "$enableval" = yes; then
9469 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9471 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9476 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9477 if test "x$LINE" != x ; then
9478 eval "DEFAULT_$LINE"
9483 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9487 eval "$ac_cv_use_fontdlg"
9488 if test "$no_cache" != 1; then
9489 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9492 if test "$wxUSE_FONTDLG" = yes; then
9493 echo "$as_me:$LINENO: result: yes" >&5
9494 echo "${ECHO_T}yes" >&6
9496 echo "$as_me:$LINENO: result: no" >&5
9497 echo "${ECHO_T}no" >&6
9502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9503 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9505 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9506 if test "${enable_dirdlg+set}" = set; then
9507 enableval="$enable_dirdlg"
9509 if test "$enableval" = yes; then
9510 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9512 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9517 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9518 if test "x$LINE" != x ; then
9519 eval "DEFAULT_$LINE"
9524 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9528 eval "$ac_cv_use_dirdlg"
9529 if test "$no_cache" != 1; then
9530 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9533 if test "$wxUSE_DIRDLG" = yes; then
9534 echo "$as_me:$LINENO: result: yes" >&5
9535 echo "${ECHO_T}yes" >&6
9537 echo "$as_me:$LINENO: result: no" >&5
9538 echo "${ECHO_T}no" >&6
9543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9544 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9546 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9547 if test "${enable_msgdlg+set}" = set; then
9548 enableval="$enable_msgdlg"
9550 if test "$enableval" = yes; then
9551 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9553 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9558 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9559 if test "x$LINE" != x ; then
9560 eval "DEFAULT_$LINE"
9565 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9569 eval "$ac_cv_use_msgdlg"
9570 if test "$no_cache" != 1; then
9571 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9574 if test "$wxUSE_MSGDLG" = yes; then
9575 echo "$as_me:$LINENO: result: yes" >&5
9576 echo "${ECHO_T}yes" >&6
9578 echo "$as_me:$LINENO: result: no" >&5
9579 echo "${ECHO_T}no" >&6
9584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9585 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9587 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9588 if test "${enable_numberdlg+set}" = set; then
9589 enableval="$enable_numberdlg"
9591 if test "$enableval" = yes; then
9592 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9594 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9599 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9600 if test "x$LINE" != x ; then
9601 eval "DEFAULT_$LINE"
9606 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9610 eval "$ac_cv_use_numberdlg"
9611 if test "$no_cache" != 1; then
9612 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9615 if test "$wxUSE_NUMBERDLG" = yes; then
9616 echo "$as_me:$LINENO: result: yes" >&5
9617 echo "${ECHO_T}yes" >&6
9619 echo "$as_me:$LINENO: result: no" >&5
9620 echo "${ECHO_T}no" >&6
9625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9626 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9628 # Check whether --enable-splash or --disable-splash was given.
9629 if test "${enable_splash+set}" = set; then
9630 enableval="$enable_splash"
9632 if test "$enableval" = yes; then
9633 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9635 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9640 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9641 if test "x$LINE" != x ; then
9642 eval "DEFAULT_$LINE"
9647 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9651 eval "$ac_cv_use_splash"
9652 if test "$no_cache" != 1; then
9653 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9656 if test "$wxUSE_SPLASH" = yes; then
9657 echo "$as_me:$LINENO: result: yes" >&5
9658 echo "${ECHO_T}yes" >&6
9660 echo "$as_me:$LINENO: result: no" >&5
9661 echo "${ECHO_T}no" >&6
9666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9667 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9669 # Check whether --enable-textdlg or --disable-textdlg was given.
9670 if test "${enable_textdlg+set}" = set; then
9671 enableval="$enable_textdlg"
9673 if test "$enableval" = yes; then
9674 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9676 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9681 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9682 if test "x$LINE" != x ; then
9683 eval "DEFAULT_$LINE"
9688 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9692 eval "$ac_cv_use_textdlg"
9693 if test "$no_cache" != 1; then
9694 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9697 if test "$wxUSE_TEXTDLG" = yes; then
9698 echo "$as_me:$LINENO: result: yes" >&5
9699 echo "${ECHO_T}yes" >&6
9701 echo "$as_me:$LINENO: result: no" >&5
9702 echo "${ECHO_T}no" >&6
9707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9708 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9710 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9711 if test "${enable_tipdlg+set}" = set; then
9712 enableval="$enable_tipdlg"
9714 if test "$enableval" = yes; then
9715 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9717 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9722 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9723 if test "x$LINE" != x ; then
9724 eval "DEFAULT_$LINE"
9729 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9733 eval "$ac_cv_use_tipdlg"
9734 if test "$no_cache" != 1; then
9735 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9738 if test "$wxUSE_STARTUP_TIPS" = yes; then
9739 echo "$as_me:$LINENO: result: yes" >&5
9740 echo "${ECHO_T}yes" >&6
9742 echo "$as_me:$LINENO: result: no" >&5
9743 echo "${ECHO_T}no" >&6
9748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9749 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9751 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9752 if test "${enable_progressdlg+set}" = set; then
9753 enableval="$enable_progressdlg"
9755 if test "$enableval" = yes; then
9756 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9758 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9763 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9764 if test "x$LINE" != x ; then
9765 eval "DEFAULT_$LINE"
9770 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9774 eval "$ac_cv_use_progressdlg"
9775 if test "$no_cache" != 1; then
9776 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9779 if test "$wxUSE_PROGRESSDLG" = yes; then
9780 echo "$as_me:$LINENO: result: yes" >&5
9781 echo "${ECHO_T}yes" >&6
9783 echo "$as_me:$LINENO: result: no" >&5
9784 echo "${ECHO_T}no" >&6
9789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9790 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9792 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9793 if test "${enable_wizarddlg+set}" = set; then
9794 enableval="$enable_wizarddlg"
9796 if test "$enableval" = yes; then
9797 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9799 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9804 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9805 if test "x$LINE" != x ; then
9806 eval "DEFAULT_$LINE"
9811 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9815 eval "$ac_cv_use_wizarddlg"
9816 if test "$no_cache" != 1; then
9817 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9820 if test "$wxUSE_WIZARDDLG" = yes; then
9821 echo "$as_me:$LINENO: result: yes" >&5
9822 echo "${ECHO_T}yes" >&6
9824 echo "$as_me:$LINENO: result: no" >&5
9825 echo "${ECHO_T}no" >&6
9832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9833 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9835 # Check whether --enable-menus or --disable-menus was given.
9836 if test "${enable_menus+set}" = set; then
9837 enableval="$enable_menus"
9839 if test "$enableval" = yes; then
9840 ac_cv_use_menus='wxUSE_MENUS
=yes'
9842 ac_cv_use_menus='wxUSE_MENUS
=no
'
9847 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9848 if test "x$LINE" != x ; then
9849 eval "DEFAULT_$LINE"
9854 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9858 eval "$ac_cv_use_menus"
9859 if test "$no_cache" != 1; then
9860 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9863 if test "$wxUSE_MENUS" = yes; then
9864 echo "$as_me:$LINENO: result: yes" >&5
9865 echo "${ECHO_T}yes" >&6
9867 echo "$as_me:$LINENO: result: no" >&5
9868 echo "${ECHO_T}no" >&6
9873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9874 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9876 # Check whether --enable-miniframe or --disable-miniframe was given.
9877 if test "${enable_miniframe+set}" = set; then
9878 enableval="$enable_miniframe"
9880 if test "$enableval" = yes; then
9881 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9883 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9888 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9889 if test "x$LINE" != x ; then
9890 eval "DEFAULT_$LINE"
9895 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9899 eval "$ac_cv_use_miniframe"
9900 if test "$no_cache" != 1; then
9901 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9904 if test "$wxUSE_MINIFRAME" = yes; then
9905 echo "$as_me:$LINENO: result: yes" >&5
9906 echo "${ECHO_T}yes" >&6
9908 echo "$as_me:$LINENO: result: no" >&5
9909 echo "${ECHO_T}no" >&6
9914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9915 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9917 # Check whether --enable-tooltips or --disable-tooltips was given.
9918 if test "${enable_tooltips+set}" = set; then
9919 enableval="$enable_tooltips"
9921 if test "$enableval" = yes; then
9922 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9924 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9929 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9930 if test "x$LINE" != x ; then
9931 eval "DEFAULT_$LINE"
9936 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9940 eval "$ac_cv_use_tooltips"
9941 if test "$no_cache" != 1; then
9942 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9945 if test "$wxUSE_TOOLTIPS" = yes; then
9946 echo "$as_me:$LINENO: result: yes" >&5
9947 echo "${ECHO_T}yes" >&6
9949 echo "$as_me:$LINENO: result: no" >&5
9950 echo "${ECHO_T}no" >&6
9955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9956 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9958 # Check whether --enable-splines or --disable-splines was given.
9959 if test "${enable_splines+set}" = set; then
9960 enableval="$enable_splines"
9962 if test "$enableval" = yes; then
9963 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9965 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9970 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9971 if test "x$LINE" != x ; then
9972 eval "DEFAULT_$LINE"
9977 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9981 eval "$ac_cv_use_splines"
9982 if test "$no_cache" != 1; then
9983 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9986 if test "$wxUSE_SPLINES" = yes; then
9987 echo "$as_me:$LINENO: result: yes" >&5
9988 echo "${ECHO_T}yes" >&6
9990 echo "$as_me:$LINENO: result: no" >&5
9991 echo "${ECHO_T}no" >&6
9996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9997 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9999 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10000 if test "${enable_mousewheel+set}" = set; then
10001 enableval="$enable_mousewheel"
10003 if test "$enableval" = yes; then
10004 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
10006 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
10011 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10012 if test "x$LINE" != x ; then
10013 eval "DEFAULT_$LINE"
10018 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
10022 eval "$ac_cv_use_mousewheel"
10023 if test "$no_cache" != 1; then
10024 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10027 if test "$wxUSE_MOUSEWHEEL" = yes; then
10028 echo "$as_me:$LINENO: result: yes" >&5
10029 echo "${ECHO_T}yes" >&6
10031 echo "$as_me:$LINENO: result: no" >&5
10032 echo "${ECHO_T}no" >&6
10037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10038 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10040 # Check whether --enable-validators or --disable-validators was given.
10041 if test "${enable_validators+set}" = set; then
10042 enableval="$enable_validators"
10044 if test "$enableval" = yes; then
10045 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
10047 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
10052 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10053 if test "x$LINE" != x ; then
10054 eval "DEFAULT_$LINE"
10059 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
10063 eval "$ac_cv_use_validators"
10064 if test "$no_cache" != 1; then
10065 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10068 if test "$wxUSE_VALIDATORS" = yes; then
10069 echo "$as_me:$LINENO: result: yes" >&5
10070 echo "${ECHO_T}yes" >&6
10072 echo "$as_me:$LINENO: result: no" >&5
10073 echo "${ECHO_T}no" >&6
10078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10079 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10081 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10082 if test "${enable_busyinfo+set}" = set; then
10083 enableval="$enable_busyinfo"
10085 if test "$enableval" = yes; then
10086 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
10088 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
10093 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10094 if test "x$LINE" != x ; then
10095 eval "DEFAULT_$LINE"
10100 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
10104 eval "$ac_cv_use_busyinfo"
10105 if test "$no_cache" != 1; then
10106 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10109 if test "$wxUSE_BUSYINFO" = yes; then
10110 echo "$as_me:$LINENO: result: yes" >&5
10111 echo "${ECHO_T}yes" >&6
10113 echo "$as_me:$LINENO: result: no" >&5
10114 echo "${ECHO_T}no" >&6
10119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10120 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10122 # Check whether --enable-joystick or --disable-joystick was given.
10123 if test "${enable_joystick+set}" = set; then
10124 enableval="$enable_joystick"
10126 if test "$enableval" = yes; then
10127 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
10129 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
10134 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10135 if test "x$LINE" != x ; then
10136 eval "DEFAULT_$LINE"
10141 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
10145 eval "$ac_cv_use_joystick"
10146 if test "$no_cache" != 1; then
10147 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10150 if test "$wxUSE_JOYSTICK" = yes; then
10151 echo "$as_me:$LINENO: result: yes" >&5
10152 echo "${ECHO_T}yes" >&6
10154 echo "$as_me:$LINENO: result: no" >&5
10155 echo "${ECHO_T}no" >&6
10160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10161 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10163 # Check whether --enable-metafile or --disable-metafile was given.
10164 if test "${enable_metafile+set}" = set; then
10165 enableval="$enable_metafile"
10167 if test "$enableval" = yes; then
10168 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
10170 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
10175 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10176 if test "x$LINE" != x ; then
10177 eval "DEFAULT_$LINE"
10182 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10186 eval "$ac_cv_use_metafile"
10187 if test "$no_cache" != 1; then
10188 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10191 if test "$wxUSE_METAFILE" = yes; then
10192 echo "$as_me:$LINENO: result: yes" >&5
10193 echo "${ECHO_T}yes" >&6
10195 echo "$as_me:$LINENO: result: no" >&5
10196 echo "${ECHO_T}no" >&6
10201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10202 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10204 # Check whether --enable-dragimage or --disable-dragimage was given.
10205 if test "${enable_dragimage+set}" = set; then
10206 enableval="$enable_dragimage"
10208 if test "$enableval" = yes; then
10209 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10211 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10216 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10217 if test "x$LINE" != x ; then
10218 eval "DEFAULT_$LINE"
10223 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10227 eval "$ac_cv_use_dragimage"
10228 if test "$no_cache" != 1; then
10229 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10232 if test "$wxUSE_DRAGIMAGE" = yes; then
10233 echo "$as_me:$LINENO: result: yes" >&5
10234 echo "${ECHO_T}yes" >&6
10236 echo "$as_me:$LINENO: result: no" >&5
10237 echo "${ECHO_T}no" >&6
10242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10243 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10245 # Check whether --enable-accessibility or --disable-accessibility was given.
10246 if test "${enable_accessibility+set}" = set; then
10247 enableval="$enable_accessibility"
10249 if test "$enableval" = yes; then
10250 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10252 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10257 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10258 if test "x$LINE" != x ; then
10259 eval "DEFAULT_$LINE"
10264 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10268 eval "$ac_cv_use_accessibility"
10269 if test "$no_cache" != 1; then
10270 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10273 if test "$wxUSE_ACCESSIBILITY" = yes; then
10274 echo "$as_me:$LINENO: result: yes" >&5
10275 echo "${ECHO_T}yes" >&6
10277 echo "$as_me:$LINENO: result: no" >&5
10278 echo "${ECHO_T}no" >&6
10282 if test "$wxUSE_MSW" = "1"; then
10285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10288 # Check whether --enable-dccache or --disable-dccache was given.
10289 if test "${enable_dccache+set}" = set; then
10290 enableval="$enable_dccache"
10292 if test "$enableval" = yes; then
10293 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10295 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10300 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10301 if test "x$LINE" != x ; then
10302 eval "DEFAULT_$LINE"
10307 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10311 eval "$ac_cv_use_dccache"
10312 if test "$no_cache" != 1; then
10313 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10316 if test "$wxUSE_DC_CACHEING" = yes; then
10317 echo "$as_me:$LINENO: result: yes" >&5
10318 echo "${ECHO_T}yes" >&6
10320 echo "$as_me:$LINENO: result: no" >&5
10321 echo "${ECHO_T}no" >&6
10329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10332 # Check whether --enable-palette or --disable-palette was given.
10333 if test "${enable_palette+set}" = set; then
10334 enableval="$enable_palette"
10336 if test "$enableval" = yes; then
10337 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10339 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10344 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10345 if test "x$LINE" != x ; then
10346 eval "DEFAULT_$LINE"
10351 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10355 eval "$ac_cv_use_palette"
10356 if test "$no_cache" != 1; then
10357 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10360 if test "$wxUSE_PALETTE" = yes; then
10361 echo "$as_me:$LINENO: result: yes" >&5
10362 echo "${ECHO_T}yes" >&6
10364 echo "$as_me:$LINENO: result: no" >&5
10365 echo "${ECHO_T}no" >&6
10370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10373 # Check whether --enable-image or --disable-image was given.
10374 if test "${enable_image+set}" = set; then
10375 enableval="$enable_image"
10377 if test "$enableval" = yes; then
10378 ac_cv_use_image='wxUSE_IMAGE
=yes'
10380 ac_cv_use_image='wxUSE_IMAGE
=no
'
10385 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10386 if test "x$LINE" != x ; then
10387 eval "DEFAULT_$LINE"
10392 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10396 eval "$ac_cv_use_image"
10397 if test "$no_cache" != 1; then
10398 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10401 if test "$wxUSE_IMAGE" = yes; then
10402 echo "$as_me:$LINENO: result: yes" >&5
10403 echo "${ECHO_T}yes" >&6
10405 echo "$as_me:$LINENO: result: no" >&5
10406 echo "${ECHO_T}no" >&6
10411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10414 # Check whether --enable-gif or --disable-gif was given.
10415 if test "${enable_gif+set}" = set; then
10416 enableval="$enable_gif"
10418 if test "$enableval" = yes; then
10419 ac_cv_use_gif='wxUSE_GIF
=yes'
10421 ac_cv_use_gif='wxUSE_GIF
=no
'
10426 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10427 if test "x$LINE" != x ; then
10428 eval "DEFAULT_$LINE"
10433 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10437 eval "$ac_cv_use_gif"
10438 if test "$no_cache" != 1; then
10439 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10442 if test "$wxUSE_GIF" = yes; then
10443 echo "$as_me:$LINENO: result: yes" >&5
10444 echo "${ECHO_T}yes" >&6
10446 echo "$as_me:$LINENO: result: no" >&5
10447 echo "${ECHO_T}no" >&6
10452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10453 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10455 # Check whether --enable-pcx or --disable-pcx was given.
10456 if test "${enable_pcx+set}" = set; then
10457 enableval="$enable_pcx"
10459 if test "$enableval" = yes; then
10460 ac_cv_use_pcx='wxUSE_PCX
=yes'
10462 ac_cv_use_pcx='wxUSE_PCX
=no
'
10467 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10468 if test "x$LINE" != x ; then
10469 eval "DEFAULT_$LINE"
10474 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10478 eval "$ac_cv_use_pcx"
10479 if test "$no_cache" != 1; then
10480 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10483 if test "$wxUSE_PCX" = yes; then
10484 echo "$as_me:$LINENO: result: yes" >&5
10485 echo "${ECHO_T}yes" >&6
10487 echo "$as_me:$LINENO: result: no" >&5
10488 echo "${ECHO_T}no" >&6
10493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10494 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10496 # Check whether --enable-iff or --disable-iff was given.
10497 if test "${enable_iff+set}" = set; then
10498 enableval="$enable_iff"
10500 if test "$enableval" = yes; then
10501 ac_cv_use_iff='wxUSE_IFF
=yes'
10503 ac_cv_use_iff='wxUSE_IFF
=no
'
10508 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10509 if test "x$LINE" != x ; then
10510 eval "DEFAULT_$LINE"
10515 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10519 eval "$ac_cv_use_iff"
10520 if test "$no_cache" != 1; then
10521 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10524 if test "$wxUSE_IFF" = yes; then
10525 echo "$as_me:$LINENO: result: yes" >&5
10526 echo "${ECHO_T}yes" >&6
10528 echo "$as_me:$LINENO: result: no" >&5
10529 echo "${ECHO_T}no" >&6
10534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10535 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10537 # Check whether --enable-pnm or --disable-pnm was given.
10538 if test "${enable_pnm+set}" = set; then
10539 enableval="$enable_pnm"
10541 if test "$enableval" = yes; then
10542 ac_cv_use_pnm='wxUSE_PNM
=yes'
10544 ac_cv_use_pnm='wxUSE_PNM
=no
'
10549 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10550 if test "x$LINE" != x ; then
10551 eval "DEFAULT_$LINE"
10556 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10560 eval "$ac_cv_use_pnm"
10561 if test "$no_cache" != 1; then
10562 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10565 if test "$wxUSE_PNM" = yes; then
10566 echo "$as_me:$LINENO: result: yes" >&5
10567 echo "${ECHO_T}yes" >&6
10569 echo "$as_me:$LINENO: result: no" >&5
10570 echo "${ECHO_T}no" >&6
10575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10576 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10578 # Check whether --enable-xpm or --disable-xpm was given.
10579 if test "${enable_xpm+set}" = set; then
10580 enableval="$enable_xpm"
10582 if test "$enableval" = yes; then
10583 ac_cv_use_xpm='wxUSE_XPM
=yes'
10585 ac_cv_use_xpm='wxUSE_XPM
=no
'
10590 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10591 if test "x$LINE" != x ; then
10592 eval "DEFAULT_$LINE"
10597 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10601 eval "$ac_cv_use_xpm"
10602 if test "$no_cache" != 1; then
10603 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10606 if test "$wxUSE_XPM" = yes; then
10607 echo "$as_me:$LINENO: result: yes" >&5
10608 echo "${ECHO_T}yes" >&6
10610 echo "$as_me:$LINENO: result: no" >&5
10611 echo "${ECHO_T}no" >&6
10616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10617 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10619 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10620 if test "${enable_ico_cur+set}" = set; then
10621 enableval="$enable_ico_cur"
10623 if test "$enableval" = yes; then
10624 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10626 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10631 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10632 if test "x$LINE" != x ; then
10633 eval "DEFAULT_$LINE"
10638 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10642 eval "$ac_cv_use_ico_cur"
10643 if test "$no_cache" != 1; then
10644 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10647 if test "$wxUSE_ICO_CUR" = yes; then
10648 echo "$as_me:$LINENO: result: yes" >&5
10649 echo "${ECHO_T}yes" >&6
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10660 # Check whether --with-flavour or --without-flavour was given.
10661 if test "${with_flavour+set}" = set; then
10662 withval="$with_flavour"
10663 WX_FLAVOUR="$withval"
10669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10670 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10672 # Check whether --enable-official_build or --disable-official_build was given.
10673 if test "${enable_official_build+set}" = set; then
10674 enableval="$enable_official_build"
10676 if test "$enableval" = yes; then
10677 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10679 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10684 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10691 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10695 eval "$ac_cv_use_official_build"
10696 if test "$no_cache" != 1; then
10697 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10700 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10701 echo "$as_me:$LINENO: result: yes" >&5
10702 echo "${ECHO_T}yes" >&6
10704 echo "$as_me:$LINENO: result: no" >&5
10705 echo "${ECHO_T}no" >&6
10708 # Check whether --enable-vendor or --disable-vendor was given.
10709 if test "${enable_vendor+set}" = set; then
10710 enableval="$enable_vendor"
10711 VENDOR="$enableval"
10713 if test "x$VENDOR" = "x"; then
10720 echo "saving argument cache $wx_arg_cache_file"
10721 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10725 echo "$as_me:$LINENO: checking for toolkit" >&5
10726 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10728 # In Wine, we need to default to MSW, not GTK or MOTIF
10729 if test "$wxUSE_WINE" = "yes"; then
10730 DEFAULT_DEFAULT_wxUSE_GTK=0
10731 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10732 DEFAULT_DEFAULT_wxUSE_MSW=1
10737 if test "$wxUSE_GUI" = "yes"; then
10739 if test "$USE_BEOS" = 1; then
10740 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10741 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10742 { (exit 1); exit 1; }; }
10745 if test "$TOOLKIT_GIVEN" = 1; then
10746 for toolkit in `echo $ALL_TOOLKITS`; do
10748 eval "value=\$${var}"
10749 if test "x$value" = "xno"; then
10751 elif test "x$value" != "x"; then
10755 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10756 eval "wx${toolkit}_VERSION=$value"
10760 for toolkit in `echo $ALL_TOOLKITS`; do
10761 if test "$has_toolkit_in_cache" != 1; then
10762 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10764 var=DEFAULT_wxUSE_$toolkit
10766 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10767 if test "x$version" != "x"; then
10768 eval "wx${toolkit}_VERSION=$version"
10771 eval "wxUSE_$toolkit=\$${var}"
10775 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10776 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10777 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10780 *-pc-os2_emx | *-pc-os2-emx )
10781 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10784 case "$NUM_TOOLKITS" in
10788 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10789 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10790 { (exit 1); exit 1; }; }
10793 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10794 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10795 { (exit 1); exit 1; }; }
10798 # to be removed when --disable-gtk2 isn't needed
10799 if test "x$wxUSE_GTK2" = "xyes"; then
10801 elif test "x$wxUSE_GTK2" = "xno"; then
10805 for toolkit
in `echo $ALL_TOOLKITS`; do
10807 eval "value=\$${var}"
10808 if test "x$value" != x
; then
10809 cache_var
=CACHE_
$toolkit
10810 eval "cache=\$${cache_var}"
10811 if test "$cache" = 1; then
10812 echo "$var=$value" >> ${wx_arg_cache_file}
10813 eval "version=\$wx${toolkit}_VERSION"
10814 if test "x$version" != "x"; then
10815 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10818 if test "$value" = 1; then
10819 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10820 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10821 echo "${ECHO_T}$toolkit_echo" >&6
10826 if test "x$host_alias" != "x"; then
10827 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10828 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10830 echo "$as_me:$LINENO: result: base only" >&5
10831 echo "${ECHO_T}base only" >&6
10836 doesnt_want_win32
=0
10839 if test "$wxUSE_MSW" = 1 ; then
10841 BAKEFILE_FORCE_PLATFORM
=win32
10843 doesnt_want_win32
=1
10851 if test "$wxUSE_WINE" = "yes"; then
10855 LDFLAGS_GUI
="-mwindows"
10858 if test "$wants_win32" = 1 ; then
10861 cat >>confdefs.h
<<\_ACEOF
10862 #define __WIN32__ 1
10865 cat >>confdefs.h
<<\_ACEOF
10866 #define __WIN95__ 1
10869 cat >>confdefs.h
<<\_ACEOF
10870 #define __WINDOWS__ 1
10873 cat >>confdefs.h
<<\_ACEOF
10874 #define __GNUWIN32__ 1
10877 cat >>confdefs.h
<<\_ACEOF
10881 cat >>confdefs.h
<<\_ACEOF
10882 #define WINVER 0x0400
10886 if test "$doesnt_want_win32" = 1 ; then
10891 if test "$USE_UNIX" = 1 ; then
10893 cat >>confdefs.h
<<\_ACEOF
10900 cat >confcache
<<\_ACEOF
10901 # This file is a shell script that caches the results of configure
10902 # tests run on this system so they can be shared between configure
10903 # scripts and configure runs, see configure's option --config-cache.
10904 # It is not useful on other systems. If it contains results you don't
10905 # want to keep, you may remove or edit it.
10907 # config.status only pays attention to the cache file if you give it
10908 # the --recheck option to rerun configure.
10910 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10911 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10912 # following values.
10916 # The following way of writing the cache mishandles newlines in values,
10917 # but we know of no workaround that is simple, portable, and efficient.
10918 # So, don't put newlines in cache variables' values.
10919 # Ultrix sh set writes to stderr and can't be redirected directly,
10920 # and sets the high bit in the cache file unless we assign to the vars.
10923 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10925 # `set' does not quote correctly, so add quotes (double-quote
10926 # substitution turns \\\\ into \\, and sed turns \\ into \).
10929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10932 # `set' quotes correctly as required by POSIX, so do not add quotes.
10934 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10941 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10943 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10945 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10946 if test -w $cache_file; then
10947 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10948 cat confcache
>$cache_file
10950 echo "not updating unwritable cache $cache_file"
10960 ac_cpp
='$CPP $CPPFLAGS'
10961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10964 if test -n "$ac_tool_prefix"; then
10965 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10966 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10967 echo "$as_me:$LINENO: checking for $ac_word" >&5
10968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10969 if test "${ac_cv_prog_CC+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 if test -n "$CC"; then
10973 ac_cv_prog_CC
="$CC" # Let the user override the test.
10975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10976 for as_dir
in $PATH
10979 test -z "$as_dir" && as_dir
=.
10980 for ac_exec_ext
in '' $ac_executable_extensions; do
10981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10992 if test -n "$CC"; then
10993 echo "$as_me:$LINENO: result: $CC" >&5
10994 echo "${ECHO_T}$CC" >&6
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
11001 if test -z "$ac_cv_prog_CC"; then
11003 # Extract the first word of "gcc", so it can be a program name with args.
11004 set dummy gcc
; ac_word
=$2
11005 echo "$as_me:$LINENO: checking for $ac_word" >&5
11006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11007 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 if test -n "$ac_ct_CC"; then
11011 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11014 for as_dir
in $PATH
11017 test -z "$as_dir" && as_dir
=.
11018 for ac_exec_ext
in '' $ac_executable_extensions; do
11019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11020 ac_cv_prog_ac_ct_CC
="gcc"
11021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11029 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11030 if test -n "$ac_ct_CC"; then
11031 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11032 echo "${ECHO_T}$ac_ct_CC" >&6
11034 echo "$as_me:$LINENO: result: no" >&5
11035 echo "${ECHO_T}no" >&6
11040 CC
="$ac_cv_prog_CC"
11043 if test -z "$CC"; then
11044 if test -n "$ac_tool_prefix"; then
11045 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11046 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11047 echo "$as_me:$LINENO: checking for $ac_word" >&5
11048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11049 if test "${ac_cv_prog_CC+set}" = set; then
11050 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 if test -n "$CC"; then
11053 ac_cv_prog_CC
="$CC" # Let the user override the test.
11055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11056 for as_dir
in $PATH
11059 test -z "$as_dir" && as_dir
=.
11060 for ac_exec_ext
in '' $ac_executable_extensions; do
11061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11062 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11072 if test -n "$CC"; then
11073 echo "$as_me:$LINENO: result: $CC" >&5
11074 echo "${ECHO_T}$CC" >&6
11076 echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6
11081 if test -z "$ac_cv_prog_CC"; then
11083 # Extract the first word of "cc", so it can be a program name with args.
11084 set dummy cc
; ac_word
=$2
11085 echo "$as_me:$LINENO: checking for $ac_word" >&5
11086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11087 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11088 echo $ECHO_N "(cached) $ECHO_C" >&6
11090 if test -n "$ac_ct_CC"; then
11091 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11094 for as_dir
in $PATH
11097 test -z "$as_dir" && as_dir
=.
11098 for ac_exec_ext
in '' $ac_executable_extensions; do
11099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11100 ac_cv_prog_ac_ct_CC
="cc"
11101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11109 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11110 if test -n "$ac_ct_CC"; then
11111 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11112 echo "${ECHO_T}$ac_ct_CC" >&6
11114 echo "$as_me:$LINENO: result: no" >&5
11115 echo "${ECHO_T}no" >&6
11120 CC
="$ac_cv_prog_CC"
11124 if test -z "$CC"; then
11125 # Extract the first word of "cc", so it can be a program name with args.
11126 set dummy cc
; ac_word
=$2
11127 echo "$as_me:$LINENO: checking for $ac_word" >&5
11128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11129 if test "${ac_cv_prog_CC+set}" = set; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11132 if test -n "$CC"; then
11133 ac_cv_prog_CC
="$CC" # Let the user override the test.
11135 ac_prog_rejected
=no
11136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11137 for as_dir
in $PATH
11140 test -z "$as_dir" && as_dir
=.
11141 for ac_exec_ext
in '' $ac_executable_extensions; do
11142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11143 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11144 ac_prog_rejected
=yes
11148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11154 if test $ac_prog_rejected = yes; then
11155 # We found a bogon in the path, so make sure we never use it.
11156 set dummy
$ac_cv_prog_CC
11158 if test $# != 0; then
11159 # We chose a different compiler from the bogus one.
11160 # However, it has the same basename, so the bogon will be chosen
11161 # first if we set CC to just the basename; use the full file name.
11163 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11169 if test -n "$CC"; then
11170 echo "$as_me:$LINENO: result: $CC" >&5
11171 echo "${ECHO_T}$CC" >&6
11173 echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6
11178 if test -z "$CC"; then
11179 if test -n "$ac_tool_prefix"; then
11182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11183 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11184 echo "$as_me:$LINENO: checking for $ac_word" >&5
11185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11186 if test "${ac_cv_prog_CC+set}" = set; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11189 if test -n "$CC"; then
11190 ac_cv_prog_CC
="$CC" # Let the user override the test.
11192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11193 for as_dir
in $PATH
11196 test -z "$as_dir" && as_dir
=.
11197 for ac_exec_ext
in '' $ac_executable_extensions; do
11198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11199 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11209 if test -n "$CC"; then
11210 echo "$as_me:$LINENO: result: $CC" >&5
11211 echo "${ECHO_T}$CC" >&6
11213 echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6
11217 test -n "$CC" && break
11220 if test -z "$CC"; then
11224 # Extract the first word of "$ac_prog", so it can be a program name with args.
11225 set dummy
$ac_prog; ac_word
=$2
11226 echo "$as_me:$LINENO: checking for $ac_word" >&5
11227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11229 echo $ECHO_N "(cached) $ECHO_C" >&6
11231 if test -n "$ac_ct_CC"; then
11232 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11235 for as_dir
in $PATH
11238 test -z "$as_dir" && as_dir
=.
11239 for ac_exec_ext
in '' $ac_executable_extensions; do
11240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11241 ac_cv_prog_ac_ct_CC
="$ac_prog"
11242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11250 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11251 if test -n "$ac_ct_CC"; then
11252 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11253 echo "${ECHO_T}$ac_ct_CC" >&6
11255 echo "$as_me:$LINENO: result: no" >&5
11256 echo "${ECHO_T}no" >&6
11259 test -n "$ac_ct_CC" && break
11268 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11269 See \`config.log' for more details." >&5
11270 echo "$as_me: error: no acceptable C compiler found in \$PATH
11271 See \`config.log' for more details." >&2;}
11272 { (exit 1); exit 1; }; }
11274 # Provide some information about the compiler.
11275 echo "$as_me:$LINENO:" \
11276 "checking for C compiler version" >&5
11277 ac_compiler
=`set X $ac_compile; echo $2`
11278 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11279 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); }
11283 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11284 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); }
11288 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11289 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); }
11294 cat >conftest.
$ac_ext <<_ACEOF
11297 cat confdefs.h
>>conftest.
$ac_ext
11298 cat >>conftest.
$ac_ext <<_ACEOF
11299 /* end confdefs.h. */
11309 ac_clean_files_save
=$ac_clean_files
11310 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11311 # Try to create an executable without -o first, disregard a.out.
11312 # It will help us diagnose broken compilers, and finding out an intuition
11314 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11315 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11316 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11317 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11318 (eval $ac_link_default) 2>&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }; then
11322 # Find the output, starting from the most likely. This scheme is
11323 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11326 # Be careful to initialize this variable, since it used to be cached.
11327 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11329 # b.out is created by i960 compilers.
11330 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11332 test -f "$ac_file" || continue
11334 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11337 # This is the source file.
11340 # We found the default executable, but exeext='' is most
11344 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11345 # FIXME: I believe we export ac_cv_exeext for Libtool,
11346 # but it would be cool to find out if it's true. Does anybody
11347 # maintain Libtool? --akim.
11348 export ac_cv_exeext
11355 echo "$as_me: failed program was:" >&5
11356 sed 's/^/| /' conftest.
$ac_ext >&5
11358 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11359 See \`config.log' for more details." >&5
11360 echo "$as_me: error: C compiler cannot create executables
11361 See \`config.log' for more details." >&2;}
11362 { (exit 77); exit 77; }; }
11365 ac_exeext
=$ac_cv_exeext
11366 echo "$as_me:$LINENO: result: $ac_file" >&5
11367 echo "${ECHO_T}$ac_file" >&6
11369 # Check the compiler produces executables we can run. If not, either
11370 # the compiler is broken, or we cross compile.
11371 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11373 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11374 # If not cross compiling, check that we can run a simple program.
11375 if test "$cross_compiling" != yes; then
11376 if { ac_try
='./$ac_file'
11377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378 (eval $ac_try) 2>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }; }; then
11384 if test "$cross_compiling" = maybe
; then
11385 cross_compiling
=yes
11387 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11388 If you meant to cross compile, use \`--host'.
11389 See \`config.log' for more details." >&5
11390 echo "$as_me: error: cannot run C compiled programs.
11391 If you meant to cross compile, use \`--host'.
11392 See \`config.log' for more details." >&2;}
11393 { (exit 1); exit 1; }; }
11397 echo "$as_me:$LINENO: result: yes" >&5
11398 echo "${ECHO_T}yes" >&6
11400 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11401 ac_clean_files
=$ac_clean_files_save
11402 # Check the compiler produces executables we can run. If not, either
11403 # the compiler is broken, or we cross compile.
11404 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11405 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11406 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11407 echo "${ECHO_T}$cross_compiling" >&6
11409 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11410 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11412 (eval $ac_link) 2>&5
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); }; then
11416 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11417 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11418 # work properly (i.e., refer to `conftest.exe'), while it won't with
11420 for ac_file
in conftest.exe conftest conftest.
*; do
11421 test -f "$ac_file" || continue
11423 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11424 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11425 export ac_cv_exeext
11431 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11432 See \`config.log' for more details." >&5
11433 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11434 See \`config.log' for more details." >&2;}
11435 { (exit 1); exit 1; }; }
11438 rm -f conftest
$ac_cv_exeext
11439 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11440 echo "${ECHO_T}$ac_cv_exeext" >&6
11442 rm -f conftest.
$ac_ext
11443 EXEEXT
=$ac_cv_exeext
11445 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11446 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11447 if test "${ac_cv_objext+set}" = set; then
11448 echo $ECHO_N "(cached) $ECHO_C" >&6
11450 cat >conftest.
$ac_ext <<_ACEOF
11453 cat confdefs.h
>>conftest.
$ac_ext
11454 cat >>conftest.
$ac_ext <<_ACEOF
11455 /* end confdefs.h. */
11465 rm -f conftest.o conftest.obj
11466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11467 (eval $ac_compile) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; then
11471 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11473 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11474 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11479 echo "$as_me: failed program was:" >&5
11480 sed 's/^/| /' conftest.
$ac_ext >&5
11482 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11483 See \`config.log' for more details." >&5
11484 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11485 See \`config.log' for more details." >&2;}
11486 { (exit 1); exit 1; }; }
11489 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11491 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11492 echo "${ECHO_T}$ac_cv_objext" >&6
11493 OBJEXT
=$ac_cv_objext
11495 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11496 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11497 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11500 cat >conftest.
$ac_ext <<_ACEOF
11503 cat confdefs.h
>>conftest.
$ac_ext
11504 cat >>conftest.
$ac_ext <<_ACEOF
11505 /* end confdefs.h. */
11518 rm -f conftest.
$ac_objext
11519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11520 (eval $ac_compile) 2>conftest.er1
11522 grep -v '^ *+' conftest.er1
>conftest.err
11524 cat conftest.err
>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } &&
11527 { ac_try
='test -z "$ac_c_werror_flag"
11528 || test ! -s conftest.err'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; } &&
11534 { ac_try
='test -s conftest.$ac_objext'
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 (eval $ac_try) 2>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); }; }; then
11540 ac_compiler_gnu
=yes
11542 echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.
$ac_ext >&5
11547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11548 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11551 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11552 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11553 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11554 ac_test_CFLAGS
=${CFLAGS+set}
11555 ac_save_CFLAGS
=$CFLAGS
11557 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11558 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11559 if test "${ac_cv_prog_cc_g+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 cat >conftest.
$ac_ext <<_ACEOF
11565 cat confdefs.h
>>conftest.
$ac_ext
11566 cat >>conftest.
$ac_ext <<_ACEOF
11567 /* end confdefs.h. */
11577 rm -f conftest.
$ac_objext
11578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11579 (eval $ac_compile) 2>conftest.er1
11581 grep -v '^ *+' conftest.er1
>conftest.err
11583 cat conftest.err
>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); } &&
11586 { ac_try
='test -z "$ac_c_werror_flag"
11587 || test ! -s conftest.err'
11588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589 (eval $ac_try) 2>&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }; } &&
11593 { ac_try
='test -s conftest.$ac_objext'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; }; then
11599 ac_cv_prog_cc_g
=yes
11601 echo "$as_me: failed program was:" >&5
11602 sed 's/^/| /' conftest.
$ac_ext >&5
11606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11608 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11609 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11610 if test "$ac_test_CFLAGS" = set; then
11611 CFLAGS
=$ac_save_CFLAGS
11612 elif test $ac_cv_prog_cc_g = yes; then
11613 if test "$GCC" = yes; then
11619 if test "$GCC" = yes; then
11625 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11626 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11627 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11628 echo $ECHO_N "(cached) $ECHO_C" >&6
11630 ac_cv_prog_cc_stdc
=no
11632 cat >conftest.
$ac_ext <<_ACEOF
11635 cat confdefs.h
>>conftest.
$ac_ext
11636 cat >>conftest.
$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11638 #include <stdarg.h>
11640 #include <sys/types.h>
11641 #include <sys/stat.h>
11642 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11643 struct buf { int x; };
11644 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11645 static char *e (p, i)
11651 static char *f (char * (*g) (char **, int), char **p, ...)
11656 s = g (p, va_arg (v,int));
11661 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11662 function prototypes and stuff, but not '\xHH' hex character constants.
11663 These don't provoke an error unfortunately, instead are silently treated
11664 as 'x'. The following induces an error, until -std1 is added to get
11665 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11666 array size at least. It's necessary to write '\x00'==0 to get something
11667 that's true only with -std1. */
11668 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11670 int test (int i, double x);
11671 struct s1 {int (*f) (int a);};
11672 struct s2 {int (*f) (double a);};
11673 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11679 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11684 # Don't try gcc -ansi; that turns off useful extensions and
11685 # breaks some systems' header files.
11686 # AIX -qlanglvl=ansi
11687 # Ultrix and OSF/1 -std1
11688 # HP-UX 10.20 and later -Ae
11689 # HP-UX older versions -Aa -D_HPUX_SOURCE
11690 # SVR4 -Xc -D__EXTENSIONS__
11691 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11693 CC
="$ac_save_CC $ac_arg"
11694 rm -f conftest.
$ac_objext
11695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11696 (eval $ac_compile) 2>conftest.er1
11698 grep -v '^ *+' conftest.er1
>conftest.err
11700 cat conftest.err
>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); } &&
11703 { ac_try
='test -z "$ac_c_werror_flag"
11704 || test ! -s conftest.err'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; } &&
11710 { ac_try
='test -s conftest.$ac_objext'
11711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712 (eval $ac_try) 2>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; }; then
11716 ac_cv_prog_cc_stdc
=$ac_arg
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.
$ac_ext >&5
11723 rm -f conftest.err conftest.
$ac_objext
11725 rm -f conftest.
$ac_ext conftest.
$ac_objext
11730 case "x$ac_cv_prog_cc_stdc" in
11732 echo "$as_me:$LINENO: result: none needed" >&5
11733 echo "${ECHO_T}none needed" >&6 ;;
11735 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11736 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11737 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11740 # Some people use a C++ compiler to compile C. Since we use `exit',
11741 # in C++ we need to declare it. In case someone uses the same compiler
11742 # for both compiling C and C++ we need to have the C++ compiler decide
11743 # the declaration of exit, since it's the most demanding environment.
11744 cat >conftest.
$ac_ext <<_ACEOF
11745 #ifndef __cplusplus
11749 rm -f conftest.
$ac_objext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11751 (eval $ac_compile) 2>conftest.er1
11753 grep -v '^ *+' conftest.er1
>conftest.err
11755 cat conftest.err
>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try
='test -z "$ac_c_werror_flag"
11759 || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try
='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 for ac_declaration
in \
11773 'extern "C" void std::exit (int) throw (); using std::exit;' \
11774 'extern "C" void std::exit (int); using std::exit;' \
11775 'extern "C" void exit (int) throw ();' \
11776 'extern "C" void exit (int);' \
11779 cat >conftest.
$ac_ext <<_ACEOF
11782 cat confdefs.h
>>conftest.
$ac_ext
11783 cat >>conftest.
$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11786 #include <stdlib.h>
11795 rm -f conftest.
$ac_objext
11796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11797 (eval $ac_compile) 2>conftest.er1
11799 grep -v '^ *+' conftest.er1
>conftest.err
11801 cat conftest.err
>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } &&
11804 { ac_try
='test -z "$ac_c_werror_flag"
11805 || test ! -s conftest.err'
11806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807 (eval $ac_try) 2>&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); }; } &&
11811 { ac_try
='test -s conftest.$ac_objext'
11812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11813 (eval $ac_try) 2>&5
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816 (exit $ac_status); }; }; then
11819 echo "$as_me: failed program was:" >&5
11820 sed 's/^/| /' conftest.
$ac_ext >&5
11824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11825 cat >conftest.
$ac_ext <<_ACEOF
11828 cat confdefs.h
>>conftest.
$ac_ext
11829 cat >>conftest.
$ac_ext <<_ACEOF
11830 /* end confdefs.h. */
11840 rm -f conftest.
$ac_objext
11841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11842 (eval $ac_compile) 2>conftest.er1
11844 grep -v '^ *+' conftest.er1
>conftest.err
11846 cat conftest.err
>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } &&
11849 { ac_try
='test -z "$ac_c_werror_flag"
11850 || test ! -s conftest.err'
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; } &&
11856 { ac_try
='test -s conftest.$ac_objext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.
$ac_ext >&5
11868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11871 if test -n "$ac_declaration"; then
11872 echo '#ifdef __cplusplus' >>confdefs.h
11873 echo $ac_declaration >>confdefs.h
11874 echo '#endif' >>confdefs.h
11878 echo "$as_me: failed program was:" >&5
11879 sed 's/^/| /' conftest.
$ac_ext >&5
11882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11884 ac_cpp
='$CPP $CPPFLAGS'
11885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11892 ac_cpp
='$CPP $CPPFLAGS'
11893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11897 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11898 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11899 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11900 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 cat >conftest.
$ac_ext <<_ACEOF
11905 cat confdefs.h
>>conftest.
$ac_ext
11906 cat >>conftest.
$ac_ext <<_ACEOF
11907 /* end confdefs.h. */
11913 #ifndef __INTEL_COMPILER
11921 rm -f conftest.
$ac_objext
11922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11923 (eval $ac_compile) 2>conftest.er1
11925 grep -v '^ *+' conftest.er1
>conftest.err
11927 cat conftest.err
>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } &&
11930 { ac_try
='test -z "$ac_c_werror_flag"
11931 || test ! -s conftest.err'
11932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11933 (eval $ac_try) 2>&5
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); }; } &&
11937 { ac_try
='test -s conftest.$ac_objext'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; }; then
11943 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11945 echo "$as_me: failed program was:" >&5
11946 sed 's/^/| /' conftest.
$ac_ext >&5
11948 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11955 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11956 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11958 ac_cpp
='$CPP $CPPFLAGS'
11959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11963 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11970 if test "x$GCC" != "xyes"; then
11971 if test "xCC" = "xC"; then
11972 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11973 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11974 if test "${bakefile_cv_c_exto+set}" = set; then
11975 echo $ECHO_N "(cached) $ECHO_C" >&6
11977 cat >conftest.
$ac_ext <<_ACEOF
11980 cat confdefs.h
>>conftest.
$ac_ext
11981 cat >>conftest.
$ac_ext <<_ACEOF
11982 /* end confdefs.h. */
11992 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11994 (eval $ac_compile) 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; then
11998 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12000 conftest.
$ac_ext.o
)
12001 bakefile_cv_c_exto
="-ext o"
12008 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12009 See \`config.log' for more details." >&5
12010 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12011 See \`config.log' for more details." >&2;}
12012 { (exit 1); exit 1; }; }
12016 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12019 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12020 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12021 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12022 if test "c" = "c"; then
12023 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12025 if test "c" = "cxx"; then
12026 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12030 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12031 unset ac_cv_prog_cc_g
12032 ac_test_CFLAGS
=${CFLAGS+set}
12033 ac_save_CFLAGS
=$CFLAGS
12035 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12036 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12037 if test "${ac_cv_prog_cc_g+set}" = set; then
12038 echo $ECHO_N "(cached) $ECHO_C" >&6
12040 cat >conftest.
$ac_ext <<_ACEOF
12043 cat confdefs.h
>>conftest.
$ac_ext
12044 cat >>conftest.
$ac_ext <<_ACEOF
12045 /* end confdefs.h. */
12055 rm -f conftest.
$ac_objext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12057 (eval $ac_compile) 2>conftest.er1
12059 grep -v '^ *+' conftest.er1
>conftest.err
12061 cat conftest.err
>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); } &&
12064 { ac_try
='test -z "$ac_c_werror_flag"
12065 || test ! -s conftest.err'
12066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12067 (eval $ac_try) 2>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; } &&
12071 { ac_try
='test -s conftest.$ac_objext'
12072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12073 (eval $ac_try) 2>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); }; }; then
12077 ac_cv_prog_cc_g
=yes
12079 echo "$as_me: failed program was:" >&5
12080 sed 's/^/| /' conftest.
$ac_ext >&5
12084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12088 if test "$ac_test_CFLAGS" = set; then
12089 CFLAGS
=$ac_save_CFLAGS
12090 elif test $ac_cv_prog_cc_g = yes; then
12091 if test "$GCC" = yes; then
12097 if test "$GCC" = yes; then
12109 ac_cpp
='$CPP $CPPFLAGS'
12110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 cat >conftest.
$ac_ext <<_ACEOF
12122 cat confdefs.h
>>conftest.
$ac_ext
12123 cat >>conftest.
$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12137 rm -f conftest.
$ac_objext
12138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12139 (eval $ac_compile) 2>conftest.er1
12141 grep -v '^ *+' conftest.er1
>conftest.err
12143 cat conftest.err
>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); } &&
12146 { ac_try
='test -z "$ac_c_werror_flag"
12147 || test ! -s conftest.err'
12148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12149 (eval $ac_try) 2>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); }; } &&
12153 { ac_try
='test -s conftest.$ac_objext'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; }; then
12159 bakefile_compiler_xlc
=yes
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.
$ac_ext >&5
12164 bakefile_compiler_xlc
=no
12166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12167 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12170 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12171 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12173 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12175 ac_cpp
='$CPP $CPPFLAGS'
12176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12185 ac_cpp
='$CPP $CPPFLAGS'
12186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12190 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12191 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12192 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12193 echo $ECHO_N "(cached) $ECHO_C" >&6
12195 cat >conftest.
$ac_ext <<_ACEOF
12198 cat confdefs.h
>>conftest.
$ac_ext
12199 cat >>conftest.
$ac_ext <<_ACEOF
12200 /* end confdefs.h. */
12213 rm -f conftest.
$ac_objext
12214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12215 (eval $ac_compile) 2>conftest.er1
12217 grep -v '^ *+' conftest.er1
>conftest.err
12219 cat conftest.err
>&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); } &&
12222 { ac_try
='test -z "$ac_c_werror_flag"
12223 || test ! -s conftest.err'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; } &&
12229 { ac_try
='test -s conftest.$ac_objext'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; }; then
12235 bakefile_compiler_mwerks
=yes
12237 echo "$as_me: failed program was:" >&5
12238 sed 's/^/| /' conftest.
$ac_ext >&5
12240 bakefile_compiler_mwerks
=no
12242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12243 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12246 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12247 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12249 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12251 ac_cpp
='$CPP $CPPFLAGS'
12252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12258 ac_cpp
='$CPP $CPPFLAGS'
12259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12263 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12264 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12265 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12266 echo $ECHO_N "(cached) $ECHO_C" >&6
12268 cat >conftest.
$ac_ext <<_ACEOF
12271 cat confdefs.h
>>conftest.
$ac_ext
12272 cat >>conftest.
$ac_ext <<_ACEOF
12273 /* end confdefs.h. */
12286 rm -f conftest.
$ac_objext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12288 (eval $ac_compile) 2>conftest.er1
12290 grep -v '^ *+' conftest.er1
>conftest.err
12292 cat conftest.err
>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } &&
12295 { ac_try
='test -z "$ac_c_werror_flag"
12296 || test ! -s conftest.err'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; } &&
12302 { ac_try
='test -s conftest.$ac_objext'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308 bakefile_compiler_xlc
=yes
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.
$ac_ext >&5
12313 bakefile_compiler_xlc
=no
12315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12316 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12319 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12320 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12322 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12324 ac_cpp
='$CPP $CPPFLAGS'
12325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12336 ac_cpp
='$CPP $CPPFLAGS'
12337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12341 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12342 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12343 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12344 echo $ECHO_N "(cached) $ECHO_C" >&6
12346 cat >conftest.
$ac_ext <<_ACEOF
12349 cat confdefs.h
>>conftest.
$ac_ext
12350 cat >>conftest.
$ac_ext <<_ACEOF
12351 /* end confdefs.h. */
12357 #ifndef _SGI_COMPILER_VERSION
12365 rm -f conftest.
$ac_objext
12366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12367 (eval $ac_compile) 2>conftest.er1
12369 grep -v '^ *+' conftest.er1
>conftest.err
12371 cat conftest.err
>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try
='test -z "$ac_c_werror_flag"
12375 || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try
='test -s conftest.$ac_objext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.
$ac_ext >&5
12392 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12399 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12400 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12402 ac_cpp
='$CPP $CPPFLAGS'
12403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12407 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12420 ac_cpp
='$CPP $CPPFLAGS'
12421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12425 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12426 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12427 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 cat >conftest.
$ac_ext <<_ACEOF
12433 cat confdefs.h
>>conftest.
$ac_ext
12434 cat >>conftest.
$ac_ext <<_ACEOF
12435 /* end confdefs.h. */
12449 rm -f conftest.
$ac_objext
12450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12451 (eval $ac_compile) 2>conftest.er1
12453 grep -v '^ *+' conftest.er1
>conftest.err
12455 cat conftest.err
>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); } &&
12458 { ac_try
='test -z "$ac_c_werror_flag"
12459 || test ! -s conftest.err'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; } &&
12465 { ac_try
='test -s conftest.$ac_objext'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; }; then
12471 bakefile_cv_c_compiler___HP_cc
=yes
12473 echo "$as_me: failed program was:" >&5
12474 sed 's/^/| /' conftest.
$ac_ext >&5
12476 bakefile_cv_c_compiler___HP_cc
=no
12479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12483 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12484 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12486 ac_cpp
='$CPP $CPPFLAGS'
12487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12491 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12504 ac_cpp
='$CPP $CPPFLAGS'
12505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12509 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12510 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12511 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12512 echo $ECHO_N "(cached) $ECHO_C" >&6
12514 cat >conftest.
$ac_ext <<_ACEOF
12517 cat confdefs.h
>>conftest.
$ac_ext
12518 cat >>conftest.
$ac_ext <<_ACEOF
12519 /* end confdefs.h. */
12533 rm -f conftest.
$ac_objext
12534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12535 (eval $ac_compile) 2>conftest.er1
12537 grep -v '^ *+' conftest.er1
>conftest.err
12539 cat conftest.err
>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try
='test -z "$ac_c_werror_flag"
12543 || test ! -s conftest.err'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; } &&
12549 { ac_try
='test -s conftest.$ac_objext'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; }; then
12555 bakefile_cv_c_compiler___DECC
=yes
12557 echo "$as_me: failed program was:" >&5
12558 sed 's/^/| /' conftest.
$ac_ext >&5
12560 bakefile_cv_c_compiler___DECC
=no
12563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12567 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12568 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12570 ac_cpp
='$CPP $CPPFLAGS'
12571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12575 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12588 ac_cpp
='$CPP $CPPFLAGS'
12589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12593 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12594 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12595 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12596 echo $ECHO_N "(cached) $ECHO_C" >&6
12598 cat >conftest.
$ac_ext <<_ACEOF
12601 cat confdefs.h
>>conftest.
$ac_ext
12602 cat >>conftest.
$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12617 rm -f conftest.
$ac_objext
12618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12619 (eval $ac_compile) 2>conftest.er1
12621 grep -v '^ *+' conftest.er1
>conftest.err
12623 cat conftest.err
>&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); } &&
12626 { ac_try
='test -z "$ac_c_werror_flag"
12627 || test ! -s conftest.err'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; } &&
12633 { ac_try
='test -s conftest.$ac_objext'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; }; then
12639 bakefile_cv_c_compiler___SUNPRO_C
=yes
12641 echo "$as_me: failed program was:" >&5
12642 sed 's/^/| /' conftest.
$ac_ext >&5
12644 bakefile_cv_c_compiler___SUNPRO_C
=no
12647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12651 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12652 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12654 ac_cpp
='$CPP $CPPFLAGS'
12655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12659 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12673 ac_cpp
='$CPP $CPPFLAGS'
12674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12677 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12678 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12679 # On Suns, sometimes $CPP names a directory.
12680 if test -n "$CPP" && test -d "$CPP"; then
12683 if test -z "$CPP"; then
12684 if test "${ac_cv_prog_CPP+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12687 # Double quotes because CPP needs to be expanded
12688 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12690 ac_preproc_ok
=false
12691 for ac_c_preproc_warn_flag
in '' yes
12693 # Use a header file that comes with gcc, so configuring glibc
12694 # with a fresh cross-compiler works.
12695 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12696 # <limits.h> exists even on freestanding compilers.
12697 # On the NeXT, cc -E runs the code through the compiler's parser,
12698 # not just through cpp. "Syntax error" is here to catch this case.
12699 cat >conftest.
$ac_ext <<_ACEOF
12702 cat confdefs.h
>>conftest.
$ac_ext
12703 cat >>conftest.
$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12706 # include <limits.h>
12708 # include <assert.h>
12712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12715 grep -v '^ *+' conftest.er1
>conftest.err
12717 cat conftest.err
>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } >/dev
/null
; then
12720 if test -s conftest.err
; then
12721 ac_cpp_err
=$ac_c_preproc_warn_flag
12722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12729 if test -z "$ac_cpp_err"; then
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.
$ac_ext >&5
12735 # Broken: fails on valid input.
12738 rm -f conftest.err conftest.
$ac_ext
12740 # OK, works on sane cases. Now check whether non-existent headers
12741 # can be detected and how.
12742 cat >conftest.
$ac_ext <<_ACEOF
12745 cat confdefs.h
>>conftest.
$ac_ext
12746 cat >>conftest.
$ac_ext <<_ACEOF
12747 /* end confdefs.h. */
12748 #include <ac_nonexistent.h>
12750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12751 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12753 grep -v '^ *+' conftest.er1
>conftest.err
12755 cat conftest.err
>&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); } >/dev
/null
; then
12758 if test -s conftest.err
; then
12759 ac_cpp_err
=$ac_c_preproc_warn_flag
12760 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12767 if test -z "$ac_cpp_err"; then
12768 # Broken: success on invalid input.
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.
$ac_ext >&5
12774 # Passes both tests.
12778 rm -f conftest.err conftest.
$ac_ext
12781 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12782 rm -f conftest.err conftest.
$ac_ext
12783 if $ac_preproc_ok; then
12788 ac_cv_prog_CPP
=$CPP
12791 CPP
=$ac_cv_prog_CPP
12793 ac_cv_prog_CPP
=$CPP
12795 echo "$as_me:$LINENO: result: $CPP" >&5
12796 echo "${ECHO_T}$CPP" >&6
12797 ac_preproc_ok
=false
12798 for ac_c_preproc_warn_flag
in '' yes
12800 # Use a header file that comes with gcc, so configuring glibc
12801 # with a fresh cross-compiler works.
12802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12803 # <limits.h> exists even on freestanding compilers.
12804 # On the NeXT, cc -E runs the code through the compiler's parser,
12805 # not just through cpp. "Syntax error" is here to catch this case.
12806 cat >conftest.
$ac_ext <<_ACEOF
12809 cat confdefs.h
>>conftest.
$ac_ext
12810 cat >>conftest.
$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12813 # include <limits.h>
12815 # include <assert.h>
12819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12820 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1
>conftest.err
12824 cat conftest.err
>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } >/dev
/null
; then
12827 if test -s conftest.err
; then
12828 ac_cpp_err
=$ac_c_preproc_warn_flag
12829 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12836 if test -z "$ac_cpp_err"; then
12839 echo "$as_me: failed program was:" >&5
12840 sed 's/^/| /' conftest.
$ac_ext >&5
12842 # Broken: fails on valid input.
12845 rm -f conftest.err conftest.
$ac_ext
12847 # OK, works on sane cases. Now check whether non-existent headers
12848 # can be detected and how.
12849 cat >conftest.
$ac_ext <<_ACEOF
12852 cat confdefs.h
>>conftest.
$ac_ext
12853 cat >>conftest.
$ac_ext <<_ACEOF
12854 /* end confdefs.h. */
12855 #include <ac_nonexistent.h>
12857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12860 grep -v '^ *+' conftest.er1
>conftest.err
12862 cat conftest.err
>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } >/dev
/null
; then
12865 if test -s conftest.err
; then
12866 ac_cpp_err
=$ac_c_preproc_warn_flag
12867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12874 if test -z "$ac_cpp_err"; then
12875 # Broken: success on invalid input.
12878 echo "$as_me: failed program was:" >&5
12879 sed 's/^/| /' conftest.
$ac_ext >&5
12881 # Passes both tests.
12885 rm -f conftest.err conftest.
$ac_ext
12888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12889 rm -f conftest.err conftest.
$ac_ext
12890 if $ac_preproc_ok; then
12893 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12894 See \`config.log' for more details." >&5
12895 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12896 See \`config.log' for more details." >&2;}
12897 { (exit 1); exit 1; }; }
12901 ac_cpp
='$CPP $CPPFLAGS'
12902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12907 echo "$as_me:$LINENO: checking for egrep" >&5
12908 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12909 if test "${ac_cv_prog_egrep+set}" = set; then
12910 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12913 then ac_cv_prog_egrep
='grep -E'
12914 else ac_cv_prog_egrep
='egrep'
12917 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12918 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12919 EGREP
=$ac_cv_prog_egrep
12922 if test $ac_cv_c_compiler_gnu = yes; then
12923 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12924 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12925 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12928 ac_pattern
="Autoconf.*'x'"
12929 cat >conftest.
$ac_ext <<_ACEOF
12932 cat confdefs.h
>>conftest.
$ac_ext
12933 cat >>conftest.
$ac_ext <<_ACEOF
12934 /* end confdefs.h. */
12938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12939 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12940 ac_cv_prog_gcc_traditional
=yes
12942 ac_cv_prog_gcc_traditional
=no
12947 if test $ac_cv_prog_gcc_traditional = no
; then
12948 cat >conftest.
$ac_ext <<_ACEOF
12951 cat confdefs.h
>>conftest.
$ac_ext
12952 cat >>conftest.
$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12954 #include <termio.h>
12957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12958 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12959 ac_cv_prog_gcc_traditional
=yes
12965 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12966 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12967 if test $ac_cv_prog_gcc_traditional = yes; then
12968 CC
="$CC -traditional"
12976 ac_cpp
='$CXXCPP $CPPFLAGS'
12977 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12978 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12979 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12982 CXXFLAGS
=${CXXFLAGS:=}
12987 ac_cpp
='$CXXCPP $CPPFLAGS'
12988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12991 if test -n "$ac_tool_prefix"; then
12992 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12995 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12996 echo "$as_me:$LINENO: checking for $ac_word" >&5
12997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12998 if test "${ac_cv_prog_CXX+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 if test -n "$CXX"; then
13002 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13005 for as_dir
in $PATH
13008 test -z "$as_dir" && as_dir
=.
13009 for ac_exec_ext
in '' $ac_executable_extensions; do
13010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13011 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13020 CXX
=$ac_cv_prog_CXX
13021 if test -n "$CXX"; then
13022 echo "$as_me:$LINENO: result: $CXX" >&5
13023 echo "${ECHO_T}$CXX" >&6
13025 echo "$as_me:$LINENO: result: no" >&5
13026 echo "${ECHO_T}no" >&6
13029 test -n "$CXX" && break
13032 if test -z "$CXX"; then
13034 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13036 # Extract the first word of "$ac_prog", so it can be a program name with args.
13037 set dummy
$ac_prog; ac_word
=$2
13038 echo "$as_me:$LINENO: checking for $ac_word" >&5
13039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13040 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13041 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 if test -n "$ac_ct_CXX"; then
13044 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13047 for as_dir
in $PATH
13050 test -z "$as_dir" && as_dir
=.
13051 for ac_exec_ext
in '' $ac_executable_extensions; do
13052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13053 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13062 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13063 if test -n "$ac_ct_CXX"; then
13064 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13065 echo "${ECHO_T}$ac_ct_CXX" >&6
13067 echo "$as_me:$LINENO: result: no" >&5
13068 echo "${ECHO_T}no" >&6
13071 test -n "$ac_ct_CXX" && break
13073 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13079 # Provide some information about the compiler.
13080 echo "$as_me:$LINENO:" \
13081 "checking for C++ compiler version" >&5
13082 ac_compiler
=`set X $ac_compile; echo $2`
13083 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13084 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }
13088 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13089 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }
13093 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13094 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }
13099 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13100 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13101 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13102 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 cat >conftest.
$ac_ext <<_ACEOF
13107 cat confdefs.h
>>conftest.
$ac_ext
13108 cat >>conftest.
$ac_ext <<_ACEOF
13109 /* end confdefs.h. */
13122 rm -f conftest.
$ac_objext
13123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13124 (eval $ac_compile) 2>conftest.er1
13126 grep -v '^ *+' conftest.er1
>conftest.err
13128 cat conftest.err
>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try
='test -z "$ac_cxx_werror_flag"
13132 || test ! -s conftest.err'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } &&
13138 { ac_try
='test -s conftest.$ac_objext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then
13144 ac_compiler_gnu
=yes
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.
$ac_ext >&5
13151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13152 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13155 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13156 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13157 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13158 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13159 ac_save_CXXFLAGS
=$CXXFLAGS
13161 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13162 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13163 if test "${ac_cv_prog_cxx_g+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 cat >conftest.
$ac_ext <<_ACEOF
13169 cat confdefs.h
>>conftest.
$ac_ext
13170 cat >>conftest.
$ac_ext <<_ACEOF
13171 /* end confdefs.h. */
13181 rm -f conftest.
$ac_objext
13182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13183 (eval $ac_compile) 2>conftest.er1
13185 grep -v '^ *+' conftest.er1
>conftest.err
13187 cat conftest.err
>&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } &&
13190 { ac_try
='test -z "$ac_cxx_werror_flag"
13191 || test ! -s conftest.err'
13192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13193 (eval $ac_try) 2>&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); }; } &&
13197 { ac_try
='test -s conftest.$ac_objext'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; }; then
13203 ac_cv_prog_cxx_g
=yes
13205 echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.
$ac_ext >&5
13208 ac_cv_prog_cxx_g
=no
13210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13212 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13213 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13214 if test "$ac_test_CXXFLAGS" = set; then
13215 CXXFLAGS
=$ac_save_CXXFLAGS
13216 elif test $ac_cv_prog_cxx_g = yes; then
13217 if test "$GXX" = yes; then
13223 if test "$GXX" = yes; then
13229 for ac_declaration
in \
13231 'extern "C" void std::exit (int) throw (); using std::exit;' \
13232 'extern "C" void std::exit (int); using std::exit;' \
13233 'extern "C" void exit (int) throw ();' \
13234 'extern "C" void exit (int);' \
13237 cat >conftest.
$ac_ext <<_ACEOF
13240 cat confdefs.h
>>conftest.
$ac_ext
13241 cat >>conftest.
$ac_ext <<_ACEOF
13242 /* end confdefs.h. */
13244 #include <stdlib.h>
13253 rm -f conftest.
$ac_objext
13254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13255 (eval $ac_compile) 2>conftest.er1
13257 grep -v '^ *+' conftest.er1
>conftest.err
13259 cat conftest.err
>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } &&
13262 { ac_try
='test -z "$ac_cxx_werror_flag"
13263 || test ! -s conftest.err'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; } &&
13269 { ac_try
='test -s conftest.$ac_objext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.
$ac_ext >&5
13282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13283 cat >conftest.
$ac_ext <<_ACEOF
13286 cat confdefs.h
>>conftest.
$ac_ext
13287 cat >>conftest.
$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13298 rm -f conftest.
$ac_objext
13299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13300 (eval $ac_compile) 2>conftest.er1
13302 grep -v '^ *+' conftest.er1
>conftest.err
13304 cat conftest.err
>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try
='test -z "$ac_cxx_werror_flag"
13308 || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } &&
13314 { ac_try
='test -s conftest.$ac_objext'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; }; then
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.
$ac_ext >&5
13326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13329 if test -n "$ac_declaration"; then
13330 echo '#ifdef __cplusplus' >>confdefs.h
13331 echo $ac_declaration >>confdefs.h
13332 echo '#endif' >>confdefs.h
13336 ac_cpp
='$CXXCPP $CPPFLAGS'
13337 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13338 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13339 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13344 ac_cpp
='$CXXCPP $CPPFLAGS'
13345 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13346 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13347 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13349 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13350 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13351 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 cat >conftest.
$ac_ext <<_ACEOF
13357 cat confdefs.h
>>conftest.
$ac_ext
13358 cat >>conftest.
$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13365 #ifndef __INTEL_COMPILER
13373 rm -f conftest.
$ac_objext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>conftest.er1
13377 grep -v '^ *+' conftest.er1
>conftest.err
13379 cat conftest.err
>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } &&
13382 { ac_try
='test -z "$ac_cxx_werror_flag"
13383 || test ! -s conftest.err'
13384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13385 (eval $ac_try) 2>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); }; } &&
13389 { ac_try
='test -s conftest.$ac_objext'
13390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13391 (eval $ac_try) 2>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); }; }; then
13395 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13397 echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.
$ac_ext >&5
13400 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13407 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13408 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13410 ac_cpp
='$CXXCPP $CPPFLAGS'
13411 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13412 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13413 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13415 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13422 if test "x$GCXX" != "xyes"; then
13423 if test "xCXX" = "xC"; then
13424 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13425 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13426 if test "${bakefile_cv_cxx_exto+set}" = set; then
13427 echo $ECHO_N "(cached) $ECHO_C" >&6
13429 cat >conftest.
$ac_ext <<_ACEOF
13432 cat confdefs.h
>>conftest.
$ac_ext
13433 cat >>conftest.
$ac_ext <<_ACEOF
13434 /* end confdefs.h. */
13444 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13446 (eval $ac_compile) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; then
13450 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13452 conftest.
$ac_ext.o
)
13453 bakefile_cv_cxx_exto
="-ext o"
13460 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13461 See \`config.log' for more details." >&5
13462 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13463 See \`config.log' for more details." >&2;}
13464 { (exit 1); exit 1; }; }
13468 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13471 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13472 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13473 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13474 if test "cxx" = "c"; then
13475 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13477 if test "cxx" = "cxx"; then
13478 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13482 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13483 unset ac_cv_prog_cc_g
13484 ac_test_CFLAGS
=${CFLAGS+set}
13485 ac_save_CFLAGS
=$CFLAGS
13487 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13488 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13489 if test "${ac_cv_prog_cc_g+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 cat >conftest.
$ac_ext <<_ACEOF
13495 cat confdefs.h
>>conftest.
$ac_ext
13496 cat >>conftest.
$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13507 rm -f conftest.
$ac_objext
13508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13509 (eval $ac_compile) 2>conftest.er1
13511 grep -v '^ *+' conftest.er1
>conftest.err
13513 cat conftest.err
>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } &&
13516 { ac_try
='test -z "$ac_cxx_werror_flag"
13517 || test ! -s conftest.err'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try
='test -s conftest.$ac_objext'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13529 ac_cv_prog_cc_g
=yes
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.
$ac_ext >&5
13536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13538 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13539 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13540 if test "$ac_test_CFLAGS" = set; then
13541 CFLAGS
=$ac_save_CFLAGS
13542 elif test $ac_cv_prog_cc_g = yes; then
13543 if test "$GCC" = yes; then
13549 if test "$GCC" = yes; then
13561 ac_cpp
='$CXXCPP $CPPFLAGS'
13562 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13563 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13564 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13566 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13567 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13568 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 cat >conftest.
$ac_ext <<_ACEOF
13574 cat confdefs.h
>>conftest.
$ac_ext
13575 cat >>conftest.
$ac_ext <<_ACEOF
13576 /* end confdefs.h. */
13589 rm -f conftest.
$ac_objext
13590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13591 (eval $ac_compile) 2>conftest.er1
13593 grep -v '^ *+' conftest.er1
>conftest.err
13595 cat conftest.err
>&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } &&
13598 { ac_try
='test -z "$ac_cxx_werror_flag"
13599 || test ! -s conftest.err'
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601 (eval $ac_try) 2>&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); }; } &&
13605 { ac_try
='test -s conftest.$ac_objext'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; }; then
13611 bakefile_compiler_xlc
=yes
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.
$ac_ext >&5
13616 bakefile_compiler_xlc
=no
13618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13619 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13622 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13623 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13625 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13627 ac_cpp
='$CXXCPP $CPPFLAGS'
13628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13637 ac_cpp
='$CXXCPP $CPPFLAGS'
13638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13642 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13643 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13644 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13647 cat >conftest.
$ac_ext <<_ACEOF
13650 cat confdefs.h
>>conftest.
$ac_ext
13651 cat >>conftest.
$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13665 rm -f conftest.
$ac_objext
13666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13667 (eval $ac_compile) 2>conftest.er1
13669 grep -v '^ *+' conftest.er1
>conftest.err
13671 cat conftest.err
>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } &&
13674 { ac_try
='test -z "$ac_cxx_werror_flag"
13675 || test ! -s conftest.err'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; } &&
13681 { ac_try
='test -s conftest.$ac_objext'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; }; then
13687 bakefile_compiler_mwerks
=yes
13689 echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.
$ac_ext >&5
13692 bakefile_compiler_mwerks
=no
13694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13695 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13698 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13699 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13701 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13703 ac_cpp
='$CXXCPP $CPPFLAGS'
13704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13710 ac_cpp
='$CXXCPP $CPPFLAGS'
13711 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13712 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13713 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13715 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13716 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13717 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13718 echo $ECHO_N "(cached) $ECHO_C" >&6
13720 cat >conftest.
$ac_ext <<_ACEOF
13723 cat confdefs.h
>>conftest.
$ac_ext
13724 cat >>conftest.
$ac_ext <<_ACEOF
13725 /* end confdefs.h. */
13738 rm -f conftest.
$ac_objext
13739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13740 (eval $ac_compile) 2>conftest.er1
13742 grep -v '^ *+' conftest.er1
>conftest.err
13744 cat conftest.err
>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } &&
13747 { ac_try
='test -z "$ac_cxx_werror_flag"
13748 || test ! -s conftest.err'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; } &&
13754 { ac_try
='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 bakefile_compiler_xlc
=yes
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.
$ac_ext >&5
13765 bakefile_compiler_xlc
=no
13767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13768 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13771 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13772 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13774 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13776 ac_cpp
='$CXXCPP $CPPFLAGS'
13777 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13778 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13779 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13788 ac_cpp
='$CXXCPP $CPPFLAGS'
13789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13793 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13794 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13795 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 cat >conftest.
$ac_ext <<_ACEOF
13801 cat confdefs.h
>>conftest.
$ac_ext
13802 cat >>conftest.
$ac_ext <<_ACEOF
13803 /* end confdefs.h. */
13809 #ifndef _SGI_COMPILER_VERSION
13817 rm -f conftest.
$ac_objext
13818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13819 (eval $ac_compile) 2>conftest.er1
13821 grep -v '^ *+' conftest.er1
>conftest.err
13823 cat conftest.err
>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); } &&
13826 { ac_try
='test -z "$ac_cxx_werror_flag"
13827 || test ! -s conftest.err'
13828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829 (eval $ac_try) 2>&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); }; } &&
13833 { ac_try
='test -s conftest.$ac_objext'
13834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13835 (eval $ac_try) 2>&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 (exit $ac_status); }; }; then
13839 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13841 echo "$as_me: failed program was:" >&5
13842 sed 's/^/| /' conftest.
$ac_ext >&5
13844 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13851 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13852 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13854 ac_cpp
='$CXXCPP $CPPFLAGS'
13855 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13856 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13857 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13859 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13872 ac_cpp
='$CXXCPP $CPPFLAGS'
13873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13877 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13878 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13879 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13880 echo $ECHO_N "(cached) $ECHO_C" >&6
13882 cat >conftest.
$ac_ext <<_ACEOF
13885 cat confdefs.h
>>conftest.
$ac_ext
13886 cat >>conftest.
$ac_ext <<_ACEOF
13887 /* end confdefs.h. */
13901 rm -f conftest.
$ac_objext
13902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13903 (eval $ac_compile) 2>conftest.er1
13905 grep -v '^ *+' conftest.er1
>conftest.err
13907 cat conftest.err
>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); } &&
13910 { ac_try
='test -z "$ac_cxx_werror_flag"
13911 || test ! -s conftest.err'
13912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13913 (eval $ac_try) 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }; } &&
13917 { ac_try
='test -s conftest.$ac_objext'
13918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13919 (eval $ac_try) 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }; }; then
13923 bakefile_cv_cxx_compiler___HP_aCC
=yes
13925 echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.
$ac_ext >&5
13928 bakefile_cv_cxx_compiler___HP_aCC
=no
13931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13935 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13936 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13938 ac_cpp
='$CXXCPP $CPPFLAGS'
13939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13943 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13956 ac_cpp
='$CXXCPP $CPPFLAGS'
13957 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13958 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13959 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13961 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13962 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13963 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13964 echo $ECHO_N "(cached) $ECHO_C" >&6
13966 cat >conftest.
$ac_ext <<_ACEOF
13969 cat confdefs.h
>>conftest.
$ac_ext
13970 cat >>conftest.
$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13985 rm -f conftest.
$ac_objext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13987 (eval $ac_compile) 2>conftest.er1
13989 grep -v '^ *+' conftest.er1
>conftest.err
13991 cat conftest.err
>&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try
='test -z "$ac_cxx_werror_flag"
13995 || test ! -s conftest.err'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; } &&
14001 { ac_try
='test -s conftest.$ac_objext'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; }; then
14007 bakefile_cv_cxx_compiler___DECCXX
=yes
14009 echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.
$ac_ext >&5
14012 bakefile_cv_cxx_compiler___DECCXX
=no
14015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14019 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14020 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14022 ac_cpp
='$CXXCPP $CPPFLAGS'
14023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14027 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14040 ac_cpp
='$CXXCPP $CPPFLAGS'
14041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14045 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14046 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14047 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 cat >conftest.
$ac_ext <<_ACEOF
14053 cat confdefs.h
>>conftest.
$ac_ext
14054 cat >>conftest.
$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14061 #ifndef __SUNPRO_CC
14069 rm -f conftest.
$ac_objext
14070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071 (eval $ac_compile) 2>conftest.er1
14073 grep -v '^ *+' conftest.er1
>conftest.err
14075 cat conftest.err
>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } &&
14078 { ac_try
='test -z "$ac_cxx_werror_flag"
14079 || test ! -s conftest.err'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; } &&
14085 { ac_try
='test -s conftest.$ac_objext'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; }; then
14091 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.
$ac_ext >&5
14096 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14103 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14104 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14106 ac_cpp
='$CXXCPP $CPPFLAGS'
14107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14111 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14125 ac_cpp
='$CPP $CPPFLAGS'
14126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14131 if test -n "$ac_tool_prefix"; then
14132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14133 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14134 echo "$as_me:$LINENO: checking for $ac_word" >&5
14135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14136 if test "${ac_cv_prog_RANLIB+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 if test -n "$RANLIB"; then
14140 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14143 for as_dir
in $PATH
14146 test -z "$as_dir" && as_dir
=.
14147 for ac_exec_ext
in '' $ac_executable_extensions; do
14148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14149 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14158 RANLIB
=$ac_cv_prog_RANLIB
14159 if test -n "$RANLIB"; then
14160 echo "$as_me:$LINENO: result: $RANLIB" >&5
14161 echo "${ECHO_T}$RANLIB" >&6
14163 echo "$as_me:$LINENO: result: no" >&5
14164 echo "${ECHO_T}no" >&6
14168 if test -z "$ac_cv_prog_RANLIB"; then
14169 ac_ct_RANLIB
=$RANLIB
14170 # Extract the first word of "ranlib", so it can be a program name with args.
14171 set dummy ranlib
; ac_word
=$2
14172 echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14174 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 if test -n "$ac_ct_RANLIB"; then
14178 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14181 for as_dir
in $PATH
14184 test -z "$as_dir" && as_dir
=.
14185 for ac_exec_ext
in '' $ac_executable_extensions; do
14186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14187 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14194 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14197 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14198 if test -n "$ac_ct_RANLIB"; then
14199 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14200 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14202 echo "$as_me:$LINENO: result: no" >&5
14203 echo "${ECHO_T}no" >&6
14206 RANLIB
=$ac_ct_RANLIB
14208 RANLIB
="$ac_cv_prog_RANLIB"
14212 if test -n "$ac_tool_prefix"; then
14213 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14214 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14215 echo "$as_me:$LINENO: checking for $ac_word" >&5
14216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14217 if test "${ac_cv_prog_AR+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 if test -n "$AR"; then
14221 ac_cv_prog_AR
="$AR" # Let the user override the test.
14223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14224 for as_dir
in $PATH
14227 test -z "$as_dir" && as_dir
=.
14228 for ac_exec_ext
in '' $ac_executable_extensions; do
14229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14230 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14240 if test -n "$AR"; then
14241 echo "$as_me:$LINENO: result: $AR" >&5
14242 echo "${ECHO_T}$AR" >&6
14244 echo "$as_me:$LINENO: result: no" >&5
14245 echo "${ECHO_T}no" >&6
14249 if test -z "$ac_cv_prog_AR"; then
14251 # Extract the first word of "ar", so it can be a program name with args.
14252 set dummy
ar; ac_word
=$2
14253 echo "$as_me:$LINENO: checking for $ac_word" >&5
14254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14255 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 if test -n "$ac_ct_AR"; then
14259 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14262 for as_dir
in $PATH
14265 test -z "$as_dir" && as_dir
=.
14266 for ac_exec_ext
in '' $ac_executable_extensions; do
14267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14268 ac_cv_prog_ac_ct_AR
="ar"
14269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14277 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14278 if test -n "$ac_ct_AR"; then
14279 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14280 echo "${ECHO_T}$ac_ct_AR" >&6
14282 echo "$as_me:$LINENO: result: no" >&5
14283 echo "${ECHO_T}no" >&6
14288 AR
="$ac_cv_prog_AR"
14291 if test "x$AR" = "x" ; then
14292 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14293 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14294 { (exit 1); exit 1; }; }
14297 # Find a good install program. We prefer a C program (faster),
14298 # so one script is as good as another. But avoid the broken or
14299 # incompatible versions:
14300 # SysV /etc/install, /usr/sbin/install
14301 # SunOS /usr/etc/install
14302 # IRIX /sbin/install
14304 # AmigaOS /C/install, which installs bootblocks on floppy discs
14305 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14306 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14307 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14308 # OS/2's system install, which has a completely different semantic
14309 # ./install, which can be erroneously created by make from ./install.sh.
14310 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14311 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14312 if test -z "$INSTALL"; then
14313 if test "${ac_cv_path_install+set}" = set; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14317 for as_dir
in $PATH
14320 test -z "$as_dir" && as_dir
=.
14321 # Account for people who put trailing slashes in PATH elements.
14323 .
/ | .
// | /cC
/* | \
14324 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14325 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14328 # OSF1 and SCO ODT 3.0 have their own names for install.
14329 # Don't use installbsd from OSF since it installs stuff as root
14331 for ac_prog
in ginstall scoinst
install; do
14332 for ac_exec_ext
in '' $ac_executable_extensions; do
14333 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14334 if test $ac_prog = install &&
14335 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14336 # AIX install. It has an incompatible calling convention.
14338 elif test $ac_prog = install &&
14339 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14340 # program-specific install script used by HP pwplus--don't use.
14343 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14355 if test "${ac_cv_path_install+set}" = set; then
14356 INSTALL
=$ac_cv_path_install
14358 # As a last resort, use the slow shell script. We don't cache a
14359 # path for INSTALL within a source directory, because that will
14360 # break other packages using the cache if that directory is
14361 # removed, or if the path is relative.
14362 INSTALL
=$ac_install_sh
14365 echo "$as_me:$LINENO: result: $INSTALL" >&5
14366 echo "${ECHO_T}$INSTALL" >&6
14368 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14369 # It thinks the first close brace ends the variable substitution.
14370 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14372 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14374 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14380 ?
:* ) # Drive letter, considered as absolute.
14383 INSTALL
=`pwd`/${INSTALL} ;;
14390 INSTALL_PROGRAM
="cp -fp"
14391 INSTALL_DATA
="cp -fp"
14397 if test -n "$ac_tool_prefix"; then
14398 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14399 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14400 echo "$as_me:$LINENO: checking for $ac_word" >&5
14401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14402 if test "${ac_cv_prog_STRIP+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 if test -n "$STRIP"; then
14406 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14409 for as_dir
in $PATH
14412 test -z "$as_dir" && as_dir
=.
14413 for ac_exec_ext
in '' $ac_executable_extensions; do
14414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14415 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14424 STRIP
=$ac_cv_prog_STRIP
14425 if test -n "$STRIP"; then
14426 echo "$as_me:$LINENO: result: $STRIP" >&5
14427 echo "${ECHO_T}$STRIP" >&6
14429 echo "$as_me:$LINENO: result: no" >&5
14430 echo "${ECHO_T}no" >&6
14434 if test -z "$ac_cv_prog_STRIP"; then
14436 # Extract the first word of "strip", so it can be a program name with args.
14437 set dummy strip
; ac_word
=$2
14438 echo "$as_me:$LINENO: checking for $ac_word" >&5
14439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14440 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 if test -n "$ac_ct_STRIP"; then
14444 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14447 for as_dir
in $PATH
14450 test -z "$as_dir" && as_dir
=.
14451 for ac_exec_ext
in '' $ac_executable_extensions; do
14452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14453 ac_cv_prog_ac_ct_STRIP
="strip"
14454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14460 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14463 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14464 if test -n "$ac_ct_STRIP"; then
14465 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14466 echo "${ECHO_T}$ac_ct_STRIP" >&6
14468 echo "$as_me:$LINENO: result: no" >&5
14469 echo "${ECHO_T}no" >&6
14474 STRIP
="$ac_cv_prog_STRIP"
14478 if test "$wxUSE_WINE" = "yes"; then
14479 if test -n "$ac_tool_prefix"; then
14480 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14481 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14482 echo "$as_me:$LINENO: checking for $ac_word" >&5
14483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14484 if test "${ac_cv_prog_WINDRES+set}" = set; then
14485 echo $ECHO_N "(cached) $ECHO_C" >&6
14487 if test -n "$WINDRES"; then
14488 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14491 for as_dir
in $PATH
14494 test -z "$as_dir" && as_dir
=.
14495 for ac_exec_ext
in '' $ac_executable_extensions; do
14496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14497 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14506 WINDRES
=$ac_cv_prog_WINDRES
14507 if test -n "$WINDRES"; then
14508 echo "$as_me:$LINENO: result: $WINDRES" >&5
14509 echo "${ECHO_T}$WINDRES" >&6
14511 echo "$as_me:$LINENO: result: no" >&5
14512 echo "${ECHO_T}no" >&6
14516 if test -z "$ac_cv_prog_WINDRES"; then
14517 ac_ct_WINDRES
=$WINDRES
14518 # Extract the first word of "wrc", so it can be a program name with args.
14519 set dummy wrc
; ac_word
=$2
14520 echo "$as_me:$LINENO: checking for $ac_word" >&5
14521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14522 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14525 if test -n "$ac_ct_WINDRES"; then
14526 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14529 for as_dir
in $PATH
14532 test -z "$as_dir" && as_dir
=.
14533 for ac_exec_ext
in '' $ac_executable_extensions; do
14534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14535 ac_cv_prog_ac_ct_WINDRES
="wrc"
14536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14544 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14545 if test -n "$ac_ct_WINDRES"; then
14546 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14547 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14549 echo "$as_me:$LINENO: result: no" >&5
14550 echo "${ECHO_T}no" >&6
14553 WINDRES
=$ac_ct_WINDRES
14555 WINDRES
="$ac_cv_prog_WINDRES"
14561 *-*-cygwin* | *-*-mingw32* )
14562 if test -n "$ac_tool_prefix"; then
14563 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14564 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14565 echo "$as_me:$LINENO: checking for $ac_word" >&5
14566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14567 if test "${ac_cv_prog_WINDRES+set}" = set; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 if test -n "$WINDRES"; then
14571 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14574 for as_dir
in $PATH
14577 test -z "$as_dir" && as_dir
=.
14578 for ac_exec_ext
in '' $ac_executable_extensions; do
14579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14580 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14589 WINDRES
=$ac_cv_prog_WINDRES
14590 if test -n "$WINDRES"; then
14591 echo "$as_me:$LINENO: result: $WINDRES" >&5
14592 echo "${ECHO_T}$WINDRES" >&6
14594 echo "$as_me:$LINENO: result: no" >&5
14595 echo "${ECHO_T}no" >&6
14599 if test -z "$ac_cv_prog_WINDRES"; then
14600 ac_ct_WINDRES
=$WINDRES
14601 # Extract the first word of "windres", so it can be a program name with args.
14602 set dummy windres
; ac_word
=$2
14603 echo "$as_me:$LINENO: checking for $ac_word" >&5
14604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14605 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 if test -n "$ac_ct_WINDRES"; then
14609 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14612 for as_dir
in $PATH
14615 test -z "$as_dir" && as_dir
=.
14616 for ac_exec_ext
in '' $ac_executable_extensions; do
14617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14618 ac_cv_prog_ac_ct_WINDRES
="windres"
14619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14627 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14628 if test -n "$ac_ct_WINDRES"; then
14629 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14630 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14632 echo "$as_me:$LINENO: result: no" >&5
14633 echo "${ECHO_T}no" >&6
14636 WINDRES
=$ac_ct_WINDRES
14638 WINDRES
="$ac_cv_prog_WINDRES"
14642 if test -n "$ac_tool_prefix"; then
14643 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14644 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14645 echo "$as_me:$LINENO: checking for $ac_word" >&5
14646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14647 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 if test -n "$DLLTOOL"; then
14651 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14654 for as_dir
in $PATH
14657 test -z "$as_dir" && as_dir
=.
14658 for ac_exec_ext
in '' $ac_executable_extensions; do
14659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14660 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14669 DLLTOOL
=$ac_cv_prog_DLLTOOL
14670 if test -n "$DLLTOOL"; then
14671 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14672 echo "${ECHO_T}$DLLTOOL" >&6
14674 echo "$as_me:$LINENO: result: no" >&5
14675 echo "${ECHO_T}no" >&6
14679 if test -z "$ac_cv_prog_DLLTOOL"; then
14680 ac_ct_DLLTOOL
=$DLLTOOL
14681 # Extract the first word of "dlltool", so it can be a program name with args.
14682 set dummy dlltool
; ac_word
=$2
14683 echo "$as_me:$LINENO: checking for $ac_word" >&5
14684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14685 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14688 if test -n "$ac_ct_DLLTOOL"; then
14689 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14692 for as_dir
in $PATH
14695 test -z "$as_dir" && as_dir
=.
14696 for ac_exec_ext
in '' $ac_executable_extensions; do
14697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14698 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14707 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14708 if test -n "$ac_ct_DLLTOOL"; then
14709 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14710 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14712 echo "$as_me:$LINENO: result: no" >&5
14713 echo "${ECHO_T}no" >&6
14716 DLLTOOL
=$ac_ct_DLLTOOL
14718 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14725 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14726 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14727 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14732 egrep -s GNU
> /dev
/null
); then
14733 wx_cv_prog_makeisgnu
="yes"
14735 wx_cv_prog_makeisgnu
="no"
14739 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14740 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14742 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14750 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14751 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14752 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14753 if test "${wx_cv_prog_makevpath+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14757 cat - << EOF > confMake
14763 if test ! -d sub
; then
14766 echo dummy
> sub
/file
14767 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14769 rm -f sub
/file check final_file confMake
14771 if test "$RESULT" = 0; then
14772 wx_cv_prog_makevpath
="yes"
14774 wx_cv_prog_makevpath
="no"
14778 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14779 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14781 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14782 { { echo "$as_me:$LINENO: error:
14783 You need a make-utility that is able to use the variable
14785 If your version of make does not support VPATH correctly,
14786 please install GNU-make (possibly as gmake), and start
14787 configure with the following command:
14788 export MAKE=gmake; ./configure for sh-type shells
14789 setenv MAKE gmake; ./configure for csh-type shells
14790 Also please do remember to use gmake in this case every time
14791 you are trying to compile.
14793 echo "$as_me: error:
14794 You need a make-utility that is able to use the variable
14796 If your version of make does not support VPATH correctly,
14797 please install GNU-make (possibly as gmake), and start
14798 configure with the following command:
14799 export MAKE=gmake; ./configure for sh-type shells
14800 setenv MAKE gmake; ./configure for csh-type shells
14801 Also please do remember to use gmake in this case every time
14802 you are trying to compile.
14804 { (exit 1); exit 1; }; }
14806 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14807 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14809 if test "$LN_S" = "ln -s"; then
14810 echo "$as_me:$LINENO: result: yes" >&5
14811 echo "${ECHO_T}yes" >&6
14813 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14814 echo "${ECHO_T}no, using $LN_S" >&6
14818 for ac_prog
in lndir
14820 # Extract the first word of "$ac_prog", so it can be a program name with args.
14821 set dummy
$ac_prog; ac_word
=$2
14822 echo "$as_me:$LINENO: checking for $ac_word" >&5
14823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14824 if test "${ac_cv_prog_LNDIR+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 if test -n "$LNDIR"; then
14828 ac_cv_prog_LNDIR
="$LNDIR" # Let the user override the test.
14830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14831 for as_dir
in $PATH
14834 test -z "$as_dir" && as_dir
=.
14835 for ac_exec_ext
in '' $ac_executable_extensions; do
14836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14837 ac_cv_prog_LNDIR
="$ac_prog"
14838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14846 LNDIR
=$ac_cv_prog_LNDIR
14847 if test -n "$LNDIR"; then
14848 echo "$as_me:$LINENO: result: $LNDIR" >&5
14849 echo "${ECHO_T}$LNDIR" >&6
14851 echo "$as_me:$LINENO: result: no" >&5
14852 echo "${ECHO_T}no" >&6
14855 test -n "$LNDIR" && break
14857 test -n "$LNDIR" || LNDIR
="cp -pR"
14862 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14863 CXXFLAGS
="-qunique $CXXFLAGS"
14867 powerpc
-*-darwin* )
14868 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14869 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14870 cat >conftest.
$ac_ext <<_ACEOF
14873 cat confdefs.h
>>conftest.
$ac_ext
14874 cat >>conftest.
$ac_ext <<_ACEOF
14875 /* end confdefs.h. */
14880 #ifndef __POWERPC__
14881 choke me for lack of PowerPC
14888 rm -f conftest.
$ac_objext
14889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14890 (eval $ac_compile) 2>conftest.er1
14892 grep -v '^ *+' conftest.er1
>conftest.err
14894 cat conftest.err
>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); } &&
14897 { ac_try
='test -z "$ac_c_werror_flag"
14898 || test ! -s conftest.err'
14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900 (eval $ac_try) 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; } &&
14904 { ac_try
='test -s conftest.$ac_objext'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; }; then
14910 echo "$as_me:$LINENO: result: yes" >&5
14911 echo "${ECHO_T}yes" >&6
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.
$ac_ext >&5
14916 echo "$as_me:$LINENO: result: no" >&5
14917 echo "${ECHO_T}no" >&6
14918 cat >>confdefs.h
<<\_ACEOF
14919 #define __POWERPC__ 1
14924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14930 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14931 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14932 cat >conftest.
$ac_ext <<_ACEOF
14935 cat confdefs.h
>>conftest.
$ac_ext
14936 cat >>conftest.
$ac_ext <<_ACEOF
14937 /* end confdefs.h. */
14938 #include <CoreFoundation/CFBase.h>
14948 rm -f conftest.
$ac_objext
14949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14950 (eval $ac_compile) 2>conftest.er1
14952 grep -v '^ *+' conftest.er1
>conftest.err
14954 cat conftest.err
>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } &&
14957 { ac_try
='test -z "$ac_c_werror_flag"
14958 || test ! -s conftest.err'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; } &&
14964 { ac_try
='test -s conftest.$ac_objext'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; }; then
14970 echo "$as_me:$LINENO: result: yes" >&5
14971 echo "${ECHO_T}yes" >&6
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14976 echo "$as_me:$LINENO: result: no" >&5
14977 echo "${ECHO_T}no" >&6
14978 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14979 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14980 cat >conftest.
$ac_ext <<_ACEOF
14983 cat confdefs.h
>>conftest.
$ac_ext
14984 cat >>conftest.
$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14986 #define __CF_USE_FRAMEWORK_INCLUDES__
14987 #include <CoreFoundation/CFBase.h>
14997 rm -f conftest.
$ac_objext
14998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14999 (eval $ac_compile) 2>conftest.er1
15001 grep -v '^ *+' conftest.er1
>conftest.err
15003 cat conftest.err
>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } &&
15006 { ac_try
='test -z "$ac_c_werror_flag"
15007 || test ! -s conftest.err'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; } &&
15013 { ac_try
='test -s conftest.$ac_objext'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; }; then
15019 echo "$as_me:$LINENO: result: yes" >&5
15020 echo "${ECHO_T}yes" >&6
15021 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15023 echo "$as_me: failed program was:" >&5
15024 sed 's/^/| /' conftest.
$ac_ext >&5
15026 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15027 See \`config.log' for more details." >&5
15028 echo "$as_me: error: no. CoreFoundation not available.
15029 See \`config.log' for more details." >&2;}
15030 { (exit 1); exit 1; }; }
15033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15042 *-pc-os2_emx | *-pc-os2-emx )
15043 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15044 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15045 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15046 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 ac_check_lib_save_LIBS
=$LIBS
15050 LIBS
="-lcExt $LIBS"
15051 cat >conftest.
$ac_ext <<_ACEOF
15054 cat confdefs.h
>>conftest.
$ac_ext
15055 cat >>conftest.
$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15058 /* Override any gcc2 internal prototype to avoid an error. */
15062 /* We use char because int might match the return type of a gcc2
15063 builtin and then its argument prototype would still apply. */
15073 rm -f conftest.
$ac_objext conftest
$ac_exeext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15075 (eval $ac_link) 2>conftest.er1
15077 grep -v '^ *+' conftest.er1
>conftest.err
15079 cat conftest.err
>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try
='test -z "$ac_c_werror_flag"
15083 || test ! -s conftest.err'
15084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085 (eval $ac_try) 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; } &&
15089 { ac_try
='test -s conftest$ac_exeext'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; }; then
15095 ac_cv_lib_cExt_drand48
=yes
15097 echo "$as_me: failed program was:" >&5
15098 sed 's/^/| /' conftest.
$ac_ext >&5
15100 ac_cv_lib_cExt_drand48
=no
15102 rm -f conftest.err conftest.
$ac_objext \
15103 conftest
$ac_exeext conftest.
$ac_ext
15104 LIBS
=$ac_check_lib_save_LIBS
15106 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15107 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15108 if test $ac_cv_lib_cExt_drand48 = yes; then
15109 LIBS
="$LIBS -lcExt"
15113 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15115 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15116 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15117 if test "${wx_cv_gccversion+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15121 if test "$cross_compiling" = yes; then
15122 wx_cv_gccversion
="EMX2"
15125 cat >conftest.
$ac_ext <<_ACEOF
15128 cat confdefs.h
>>conftest.
$ac_ext
15129 cat >>conftest.
$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15136 FILE *f=fopen("conftestval", "w");
15141 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15143 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15153 rm -f conftest
$ac_exeext
15154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15155 (eval $ac_link) 2>&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; }; then
15164 wx_cv_gccversion
=`cat conftestval`
15166 echo "$as_me: program exited with status $ac_status" >&5
15167 echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.
$ac_ext >&5
15170 ( exit $ac_status )
15171 wx_cv_gccversion
="EMX2"
15173 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15177 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15178 echo "${ECHO_T}$wx_cv_gccversion" >&6
15179 if test "$wx_cv_gccversion" = "EMX2"; then
15180 LIBS
="$LIBS -lstdcpp"
15181 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15183 if test "$wx_cv_gccversion" = "EMX3"; then
15184 LIBS
="$LIBS -lstdcxx -lgcc"
15185 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15187 LIBS
="$LIBS -lstdc++"
15190 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15191 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15192 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15202 ac_cpp
='$CXXCPP $CPPFLAGS'
15203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15208 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15209 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15210 if test "${ac_cv_string_strcasecmp+set}" = set; then
15211 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 cat >conftest.
$ac_ext <<_ACEOF
15217 cat confdefs.h
>>conftest.
$ac_ext
15218 cat >>conftest.
$ac_ext <<_ACEOF
15219 /* end confdefs.h. */
15221 #include <string.h>
15227 strcasecmp("foo", "bar");
15233 rm -f conftest.
$ac_objext conftest
$ac_exeext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15235 (eval $ac_link) 2>conftest.er1
15237 grep -v '^ *+' conftest.er1
>conftest.err
15239 cat conftest.err
>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try
='test -z "$ac_cxx_werror_flag"
15243 || test ! -s conftest.err'
15244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245 (eval $ac_try) 2>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }; } &&
15249 { ac_try
='test -s conftest$ac_exeext'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; }; then
15255 ac_cv_string_strcasecmp
=yes
15257 echo "$as_me: failed program was:" >&5
15258 sed 's/^/| /' conftest.
$ac_ext >&5
15260 ac_cv_string_strcasecmp
=no
15263 rm -f conftest.err conftest.
$ac_objext \
15264 conftest
$ac_exeext conftest.
$ac_ext
15267 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15268 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15270 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15271 cat >>confdefs.h
<<\_ACEOF
15272 #define HAVE_STRCASECMP_IN_STRING_H 1
15276 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15277 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15278 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15279 echo $ECHO_N "(cached) $ECHO_C" >&6
15282 cat >conftest.
$ac_ext <<_ACEOF
15285 cat confdefs.h
>>conftest.
$ac_ext
15286 cat >>conftest.
$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15289 #include <strings.h>
15295 strcasecmp("foo", "bar");
15301 rm -f conftest.
$ac_objext conftest
$ac_exeext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15303 (eval $ac_link) 2>conftest.er1
15305 grep -v '^ *+' conftest.er1
>conftest.err
15307 cat conftest.err
>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try
='test -z "$ac_cxx_werror_flag"
15311 || test ! -s conftest.err'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; } &&
15317 { ac_try
='test -s conftest$ac_exeext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 ac_cv_strings_strcasecmp
=yes
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.
$ac_ext >&5
15328 ac_cv_strings_strcasecmp
=no
15331 rm -f conftest.err conftest.
$ac_objext \
15332 conftest
$ac_exeext conftest.
$ac_ext
15335 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15336 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15338 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15339 cat >>confdefs.h
<<\_ACEOF
15340 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15344 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15345 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15346 { (exit 1); exit 1; }; }
15351 ac_cpp
='$CPP $CPPFLAGS'
15352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15360 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15361 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15362 if test "${ac_cv_header_stdc+set}" = set; then
15363 echo $ECHO_N "(cached) $ECHO_C" >&6
15365 cat >conftest.
$ac_ext <<_ACEOF
15368 cat confdefs.h
>>conftest.
$ac_ext
15369 cat >>conftest.
$ac_ext <<_ACEOF
15370 /* end confdefs.h. */
15371 #include <stdlib.h>
15372 #include <stdarg.h>
15373 #include <string.h>
15384 rm -f conftest.
$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>conftest.er1
15388 grep -v '^ *+' conftest.er1
>conftest.err
15390 cat conftest.err
>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try
='test -z "$ac_c_werror_flag"
15394 || test ! -s conftest.err'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; } &&
15400 { ac_try
='test -s conftest.$ac_objext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 ac_cv_header_stdc
=yes
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.
$ac_ext >&5
15411 ac_cv_header_stdc
=no
15413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15415 if test $ac_cv_header_stdc = yes; then
15416 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15417 cat >conftest.
$ac_ext <<_ACEOF
15420 cat confdefs.h
>>conftest.
$ac_ext
15421 cat >>conftest.
$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423 #include <string.h>
15426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15427 $EGREP "memchr" >/dev
/null
2>&1; then
15430 ac_cv_header_stdc
=no
15436 if test $ac_cv_header_stdc = yes; then
15437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15438 cat >conftest.
$ac_ext <<_ACEOF
15441 cat confdefs.h
>>conftest.
$ac_ext
15442 cat >>conftest.
$ac_ext <<_ACEOF
15443 /* end confdefs.h. */
15444 #include <stdlib.h>
15447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15448 $EGREP "free" >/dev
/null
2>&1; then
15451 ac_cv_header_stdc
=no
15457 if test $ac_cv_header_stdc = yes; then
15458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15459 if test "$cross_compiling" = yes; then
15462 cat >conftest.
$ac_ext <<_ACEOF
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15469 #if ((' ' & 0x0FF) == 0x020)
15470 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15471 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15473 # define ISLOWER(c) \
15474 (('a' <= (c) && (c) <= 'i') \
15475 || ('j' <= (c) && (c) <= 'r') \
15476 || ('s' <= (c) && (c) <= 'z'))
15477 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15480 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15485 for (i = 0; i < 256; i++)
15486 if (XOR (islower (i), ISLOWER (i))
15487 || toupper (i) != TOUPPER (i))
15492 rm -f conftest
$ac_exeext
15493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15494 (eval $ac_link) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; }; then
15505 echo "$as_me: program exited with status $ac_status" >&5
15506 echo "$as_me: failed program was:" >&5
15507 sed 's/^/| /' conftest.
$ac_ext >&5
15509 ( exit $ac_status )
15510 ac_cv_header_stdc
=no
15512 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15516 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15517 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15518 if test $ac_cv_header_stdc = yes; then
15520 cat >>confdefs.h
<<\_ACEOF
15521 #define STDC_HEADERS 1
15526 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15536 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15537 inttypes.h stdint.h unistd.h
15539 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15540 echo "$as_me:$LINENO: checking for $ac_header" >&5
15541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 cat >conftest.
$ac_ext <<_ACEOF
15548 cat confdefs.h
>>conftest.
$ac_ext
15549 cat >>conftest.
$ac_ext <<_ACEOF
15550 /* end confdefs.h. */
15551 $ac_includes_default
15553 #include <$ac_header>
15555 rm -f conftest.
$ac_objext
15556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15557 (eval $ac_compile) 2>conftest.er1
15559 grep -v '^ *+' conftest.er1
>conftest.err
15561 cat conftest.err
>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } &&
15564 { ac_try
='test -z "$ac_c_werror_flag"
15565 || test ! -s conftest.err'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; } &&
15571 { ac_try
='test -s conftest.$ac_objext'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; }; then
15577 eval "$as_ac_Header=yes"
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.
$ac_ext >&5
15582 eval "$as_ac_Header=no"
15584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15589 cat >>confdefs.h
<<_ACEOF
15590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15599 for ac_header
in stdlib.h
15601 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15603 echo "$as_me:$LINENO: checking for $ac_header" >&5
15604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15611 # Is the header compilable?
15612 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15613 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15614 cat >conftest.
$ac_ext <<_ACEOF
15617 cat confdefs.h
>>conftest.
$ac_ext
15618 cat >>conftest.
$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15620 $ac_includes_default
15621 #include <$ac_header>
15623 rm -f conftest.
$ac_objext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15625 (eval $ac_compile) 2>conftest.er1
15627 grep -v '^ *+' conftest.er1
>conftest.err
15629 cat conftest.err
>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } &&
15632 { ac_try
='test -z "$ac_c_werror_flag"
15633 || test ! -s conftest.err'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; } &&
15639 { ac_try
='test -s conftest.$ac_objext'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15645 ac_header_compiler
=yes
15647 echo "$as_me: failed program was:" >&5
15648 sed 's/^/| /' conftest.
$ac_ext >&5
15650 ac_header_compiler
=no
15652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15654 echo "${ECHO_T}$ac_header_compiler" >&6
15656 # Is the header present?
15657 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15658 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15659 cat >conftest.
$ac_ext <<_ACEOF
15662 cat confdefs.h
>>conftest.
$ac_ext
15663 cat >>conftest.
$ac_ext <<_ACEOF
15664 /* end confdefs.h. */
15665 #include <$ac_header>
15667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15668 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15670 grep -v '^ *+' conftest.er1
>conftest.err
15672 cat conftest.err
>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } >/dev
/null
; then
15675 if test -s conftest.err
; then
15676 ac_cpp_err
=$ac_c_preproc_warn_flag
15677 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15684 if test -z "$ac_cpp_err"; then
15685 ac_header_preproc
=yes
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.
$ac_ext >&5
15690 ac_header_preproc
=no
15692 rm -f conftest.err conftest.
$ac_ext
15693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15694 echo "${ECHO_T}$ac_header_preproc" >&6
15696 # So? What about this header?
15697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15699 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15700 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15702 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15703 ac_header_preproc
=yes
15706 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15707 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15708 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15709 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15710 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15711 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15712 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15713 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15716 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15717 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15720 ## ----------------------------------------- ##
15721 ## Report this to wx-dev@lists.wxwidgets.org ##
15722 ## ----------------------------------------- ##
15725 sed "s/^/$as_me: WARNING: /" >&2
15728 echo "$as_me:$LINENO: checking for $ac_header" >&5
15729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 eval "$as_ac_Header=\$ac_header_preproc"
15735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15740 cat >>confdefs.h
<<_ACEOF
15741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15749 for ac_header
in malloc.h
15751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15753 echo "$as_me:$LINENO: checking for $ac_header" >&5
15754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15756 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15761 # Is the header compilable?
15762 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15763 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15764 cat >conftest.
$ac_ext <<_ACEOF
15767 cat confdefs.h
>>conftest.
$ac_ext
15768 cat >>conftest.
$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770 $ac_includes_default
15771 #include <$ac_header>
15773 rm -f conftest.
$ac_objext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15775 (eval $ac_compile) 2>conftest.er1
15777 grep -v '^ *+' conftest.er1
>conftest.err
15779 cat conftest.err
>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try
='test -z "$ac_c_werror_flag"
15783 || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try
='test -s conftest.$ac_objext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_header_compiler
=yes
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.
$ac_ext >&5
15800 ac_header_compiler
=no
15802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15804 echo "${ECHO_T}$ac_header_compiler" >&6
15806 # Is the header present?
15807 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15808 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15809 cat >conftest.
$ac_ext <<_ACEOF
15812 cat confdefs.h
>>conftest.
$ac_ext
15813 cat >>conftest.
$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 #include <$ac_header>
15817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15818 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15820 grep -v '^ *+' conftest.er1
>conftest.err
15822 cat conftest.err
>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); } >/dev
/null
; then
15825 if test -s conftest.err
; then
15826 ac_cpp_err
=$ac_c_preproc_warn_flag
15827 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15834 if test -z "$ac_cpp_err"; then
15835 ac_header_preproc
=yes
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15840 ac_header_preproc
=no
15842 rm -f conftest.err conftest.
$ac_ext
15843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15844 echo "${ECHO_T}$ac_header_preproc" >&6
15846 # So? What about this header?
15847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15849 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15850 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15852 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15853 ac_header_preproc
=yes
15856 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15857 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15858 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15859 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15860 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15861 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15862 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15863 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15866 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15867 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15870 ## ----------------------------------------- ##
15871 ## Report this to wx-dev@lists.wxwidgets.org ##
15872 ## ----------------------------------------- ##
15875 sed "s/^/$as_me: WARNING: /" >&2
15878 echo "$as_me:$LINENO: checking for $ac_header" >&5
15879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15881 echo $ECHO_N "(cached) $ECHO_C" >&6
15883 eval "$as_ac_Header=\$ac_header_preproc"
15885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15890 cat >>confdefs.h
<<_ACEOF
15891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15899 for ac_header
in unistd.h
15901 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15903 echo "$as_me:$LINENO: checking for $ac_header" >&5
15904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15906 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15911 # Is the header compilable?
15912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15914 cat >conftest.
$ac_ext <<_ACEOF
15917 cat confdefs.h
>>conftest.
$ac_ext
15918 cat >>conftest.
$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15921 #include <$ac_header>
15923 rm -f conftest.
$ac_objext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925 (eval $ac_compile) 2>conftest.er1
15927 grep -v '^ *+' conftest.er1
>conftest.err
15929 cat conftest.err
>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } &&
15932 { ac_try
='test -z "$ac_c_werror_flag"
15933 || test ! -s conftest.err'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; } &&
15939 { ac_try
='test -s conftest.$ac_objext'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; }; then
15945 ac_header_compiler
=yes
15947 echo "$as_me: failed program was:" >&5
15948 sed 's/^/| /' conftest.
$ac_ext >&5
15950 ac_header_compiler
=no
15952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15954 echo "${ECHO_T}$ac_header_compiler" >&6
15956 # Is the header present?
15957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15959 cat >conftest.
$ac_ext <<_ACEOF
15962 cat confdefs.h
>>conftest.
$ac_ext
15963 cat >>conftest.
$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15965 #include <$ac_header>
15967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15968 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15970 grep -v '^ *+' conftest.er1
>conftest.err
15972 cat conftest.err
>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } >/dev
/null
; then
15975 if test -s conftest.err
; then
15976 ac_cpp_err
=$ac_c_preproc_warn_flag
15977 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15984 if test -z "$ac_cpp_err"; then
15985 ac_header_preproc
=yes
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.
$ac_ext >&5
15990 ac_header_preproc
=no
15992 rm -f conftest.err conftest.
$ac_ext
15993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15994 echo "${ECHO_T}$ac_header_preproc" >&6
15996 # So? What about this header?
15997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16003 ac_header_preproc
=yes
16006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16020 ## ----------------------------------------- ##
16021 ## Report this to wx-dev@lists.wxwidgets.org ##
16022 ## ----------------------------------------- ##
16025 sed "s/^/$as_me: WARNING: /" >&2
16028 echo "$as_me:$LINENO: checking for $ac_header" >&5
16029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 eval "$as_ac_Header=\$ac_header_preproc"
16035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16040 cat >>confdefs.h
<<_ACEOF
16041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16049 for ac_header
in wchar.h
16051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16053 echo "$as_me:$LINENO: checking for $ac_header" >&5
16054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16061 # Is the header compilable?
16062 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16064 cat >conftest.
$ac_ext <<_ACEOF
16067 cat confdefs.h
>>conftest.
$ac_ext
16068 cat >>conftest.
$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 $ac_includes_default
16071 #include <$ac_header>
16073 rm -f conftest.
$ac_objext
16074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16075 (eval $ac_compile) 2>conftest.er1
16077 grep -v '^ *+' conftest.er1
>conftest.err
16079 cat conftest.err
>&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } &&
16082 { ac_try
='test -z "$ac_c_werror_flag"
16083 || test ! -s conftest.err'
16084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16085 (eval $ac_try) 2>&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); }; } &&
16089 { ac_try
='test -s conftest.$ac_objext'
16090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16091 (eval $ac_try) 2>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); }; }; then
16095 ac_header_compiler
=yes
16097 echo "$as_me: failed program was:" >&5
16098 sed 's/^/| /' conftest.
$ac_ext >&5
16100 ac_header_compiler
=no
16102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16104 echo "${ECHO_T}$ac_header_compiler" >&6
16106 # Is the header present?
16107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16109 cat >conftest.
$ac_ext <<_ACEOF
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 #include <$ac_header>
16117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16118 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16120 grep -v '^ *+' conftest.er1
>conftest.err
16122 cat conftest.err
>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } >/dev
/null
; then
16125 if test -s conftest.err
; then
16126 ac_cpp_err
=$ac_c_preproc_warn_flag
16127 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16134 if test -z "$ac_cpp_err"; then
16135 ac_header_preproc
=yes
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.
$ac_ext >&5
16140 ac_header_preproc
=no
16142 rm -f conftest.err conftest.
$ac_ext
16143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16144 echo "${ECHO_T}$ac_header_preproc" >&6
16146 # So? What about this header?
16147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16152 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16153 ac_header_preproc
=yes
16156 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16157 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16158 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16159 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16160 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16161 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16162 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16163 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16166 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16167 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16170 ## ----------------------------------------- ##
16171 ## Report this to wx-dev@lists.wxwidgets.org ##
16172 ## ----------------------------------------- ##
16175 sed "s/^/$as_me: WARNING: /" >&2
16178 echo "$as_me:$LINENO: checking for $ac_header" >&5
16179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16181 echo $ECHO_N "(cached) $ECHO_C" >&6
16183 eval "$as_ac_Header=\$ac_header_preproc"
16185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16190 cat >>confdefs.h
<<_ACEOF
16191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16199 if test "$ac_cv_header_wchar_h" != "yes"; then
16201 for ac_header
in wcstr.h
16203 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16205 echo "$as_me:$LINENO: checking for $ac_header" >&5
16206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16213 # Is the header compilable?
16214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16216 cat >conftest.
$ac_ext <<_ACEOF
16219 cat confdefs.h
>>conftest.
$ac_ext
16220 cat >>conftest.
$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 $ac_includes_default
16223 #include <$ac_header>
16225 rm -f conftest.
$ac_objext
16226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16227 (eval $ac_compile) 2>conftest.er1
16229 grep -v '^ *+' conftest.er1
>conftest.err
16231 cat conftest.err
>&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } &&
16234 { ac_try
='test -z "$ac_c_werror_flag"
16235 || test ! -s conftest.err'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; } &&
16241 { ac_try
='test -s conftest.$ac_objext'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; }; then
16247 ac_header_compiler
=yes
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.
$ac_ext >&5
16252 ac_header_compiler
=no
16254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16256 echo "${ECHO_T}$ac_header_compiler" >&6
16258 # Is the header present?
16259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16261 cat >conftest.
$ac_ext <<_ACEOF
16264 cat confdefs.h
>>conftest.
$ac_ext
16265 cat >>conftest.
$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <$ac_header>
16269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16270 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16272 grep -v '^ *+' conftest.er1
>conftest.err
16274 cat conftest.err
>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } >/dev
/null
; then
16277 if test -s conftest.err
; then
16278 ac_cpp_err
=$ac_c_preproc_warn_flag
16279 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16286 if test -z "$ac_cpp_err"; then
16287 ac_header_preproc
=yes
16289 echo "$as_me: failed program was:" >&5
16290 sed 's/^/| /' conftest.
$ac_ext >&5
16292 ac_header_preproc
=no
16294 rm -f conftest.err conftest.
$ac_ext
16295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16296 echo "${ECHO_T}$ac_header_preproc" >&6
16298 # So? What about this header?
16299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16305 ac_header_preproc
=yes
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16322 ## ----------------------------------------- ##
16323 ## Report this to wx-dev@lists.wxwidgets.org ##
16324 ## ----------------------------------------- ##
16327 sed "s/^/$as_me: WARNING: /" >&2
16330 echo "$as_me:$LINENO: checking for $ac_header" >&5
16331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16335 eval "$as_ac_Header=\$ac_header_preproc"
16337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16342 cat >>confdefs.h
<<_ACEOF
16343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16353 for ac_header
in fnmatch.h
16355 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16357 echo "$as_me:$LINENO: checking for $ac_header" >&5
16358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16360 echo $ECHO_N "(cached) $ECHO_C" >&6
16362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16365 # Is the header compilable?
16366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16368 cat >conftest.
$ac_ext <<_ACEOF
16371 cat confdefs.h
>>conftest.
$ac_ext
16372 cat >>conftest.
$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16374 $ac_includes_default
16375 #include <$ac_header>
16377 rm -f conftest.
$ac_objext
16378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16379 (eval $ac_compile) 2>conftest.er1
16381 grep -v '^ *+' conftest.er1
>conftest.err
16383 cat conftest.err
>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } &&
16386 { ac_try
='test -z "$ac_c_werror_flag"
16387 || test ! -s conftest.err'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; } &&
16393 { ac_try
='test -s conftest.$ac_objext'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; }; then
16399 ac_header_compiler
=yes
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.
$ac_ext >&5
16404 ac_header_compiler
=no
16406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16408 echo "${ECHO_T}$ac_header_compiler" >&6
16410 # Is the header present?
16411 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16413 cat >conftest.
$ac_ext <<_ACEOF
16416 cat confdefs.h
>>conftest.
$ac_ext
16417 cat >>conftest.
$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16419 #include <$ac_header>
16421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16422 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16424 grep -v '^ *+' conftest.er1
>conftest.err
16426 cat conftest.err
>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } >/dev
/null
; then
16429 if test -s conftest.err
; then
16430 ac_cpp_err
=$ac_c_preproc_warn_flag
16431 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16438 if test -z "$ac_cpp_err"; then
16439 ac_header_preproc
=yes
16441 echo "$as_me: failed program was:" >&5
16442 sed 's/^/| /' conftest.
$ac_ext >&5
16444 ac_header_preproc
=no
16446 rm -f conftest.err conftest.
$ac_ext
16447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16448 echo "${ECHO_T}$ac_header_preproc" >&6
16450 # So? What about this header?
16451 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16457 ac_header_preproc
=yes
16460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16474 ## ----------------------------------------- ##
16475 ## Report this to wx-dev@lists.wxwidgets.org ##
16476 ## ----------------------------------------- ##
16479 sed "s/^/$as_me: WARNING: /" >&2
16482 echo "$as_me:$LINENO: checking for $ac_header" >&5
16483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16485 echo $ECHO_N "(cached) $ECHO_C" >&6
16487 eval "$as_ac_Header=\$ac_header_preproc"
16489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16494 cat >>confdefs.h
<<_ACEOF
16495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16504 for ac_header
in langinfo.h
16506 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16508 echo "$as_me:$LINENO: checking for $ac_header" >&5
16509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16511 echo $ECHO_N "(cached) $ECHO_C" >&6
16513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16516 # Is the header compilable?
16517 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16519 cat >conftest.
$ac_ext <<_ACEOF
16522 cat confdefs.h
>>conftest.
$ac_ext
16523 cat >>conftest.
$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 $ac_includes_default
16526 #include <$ac_header>
16528 rm -f conftest.
$ac_objext
16529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16530 (eval $ac_compile) 2>conftest.er1
16532 grep -v '^ *+' conftest.er1
>conftest.err
16534 cat conftest.err
>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); } &&
16537 { ac_try
='test -z "$ac_c_werror_flag"
16538 || test ! -s conftest.err'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; } &&
16544 { ac_try
='test -s conftest.$ac_objext'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; }; then
16550 ac_header_compiler
=yes
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.
$ac_ext >&5
16555 ac_header_compiler
=no
16557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16559 echo "${ECHO_T}$ac_header_compiler" >&6
16561 # Is the header present?
16562 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16564 cat >conftest.
$ac_ext <<_ACEOF
16567 cat confdefs.h
>>conftest.
$ac_ext
16568 cat >>conftest.
$ac_ext <<_ACEOF
16569 /* end confdefs.h. */
16570 #include <$ac_header>
16572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16575 grep -v '^ *+' conftest.er1
>conftest.err
16577 cat conftest.err
>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); } >/dev
/null
; then
16580 if test -s conftest.err
; then
16581 ac_cpp_err
=$ac_c_preproc_warn_flag
16582 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16589 if test -z "$ac_cpp_err"; then
16590 ac_header_preproc
=yes
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 ac_header_preproc
=no
16597 rm -f conftest.err conftest.
$ac_ext
16598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16599 echo "${ECHO_T}$ac_header_preproc" >&6
16601 # So? What about this header?
16602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16608 ac_header_preproc
=yes
16611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16625 ## ----------------------------------------- ##
16626 ## Report this to wx-dev@lists.wxwidgets.org ##
16627 ## ----------------------------------------- ##
16630 sed "s/^/$as_me: WARNING: /" >&2
16633 echo "$as_me:$LINENO: checking for $ac_header" >&5
16634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16636 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 eval "$as_ac_Header=\$ac_header_preproc"
16640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16645 cat >>confdefs.h
<<_ACEOF
16646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16655 *-pc-os2_emx | *-pc-os2-emx )
16656 if test $ac_cv_header_langinfo_h = "yes" \
16657 -a \
( "$wx_cv_gccversion" = "EMX2" \
16658 -o "$wx_cv_gccversion" = "EMX3" \
16659 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16660 LIBS
="$LIBS -lintl"
16666 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16667 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16668 if test "${ac_cv_c_const+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 cat >conftest.
$ac_ext <<_ACEOF
16674 cat confdefs.h
>>conftest.
$ac_ext
16675 cat >>conftest.
$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16681 /* FIXME: Include the comments suggested by Paul. */
16682 #ifndef __cplusplus
16683 /* Ultrix mips cc rejects this. */
16684 typedef int charset[2];
16686 /* SunOS 4.1.1 cc rejects this. */
16687 char const *const *ccp;
16689 /* NEC SVR4.0.2 mips cc rejects this. */
16690 struct point {int x, y;};
16691 static struct point const zero = {0,0};
16692 /* AIX XL C 1.02.0.0 rejects this.
16693 It does not let you subtract one const X* pointer from another in
16694 an arm of an if-expression whose if-part is not a constant
16696 const char *g = "string";
16697 ccp = &g + (g ? g-g : 0);
16698 /* HPUX 7.0 cc rejects these. */
16701 ccp = (char const *const *) p;
16702 { /* SCO 3.2v4 cc rejects this. */
16704 char const *s = 0 ? (char *) 0 : (char const *) 0;
16708 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16709 int x[] = {25, 17};
16710 const int *foo = &x[0];
16713 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16714 typedef const int *iptr;
16718 { /* AIX XL C 1.02.0.0 rejects this saying
16719 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16720 struct s { int j; const int *ap[3]; };
16721 struct s *b; b->j = 5;
16723 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16724 const int foo = 10;
16732 rm -f conftest.
$ac_objext
16733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16734 (eval $ac_compile) 2>conftest.er1
16736 grep -v '^ *+' conftest.er1
>conftest.err
16738 cat conftest.err
>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); } &&
16741 { ac_try
='test -z "$ac_c_werror_flag"
16742 || test ! -s conftest.err'
16743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16744 (eval $ac_try) 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); }; } &&
16748 { ac_try
='test -s conftest.$ac_objext'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.
$ac_ext >&5
16761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16763 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16764 echo "${ECHO_T}$ac_cv_c_const" >&6
16765 if test $ac_cv_c_const = no
; then
16767 cat >>confdefs.h
<<\_ACEOF
16773 echo "$as_me:$LINENO: checking for inline" >&5
16774 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16775 if test "${ac_cv_c_inline+set}" = set; then
16776 echo $ECHO_N "(cached) $ECHO_C" >&6
16779 for ac_kw
in inline __inline__ __inline
; do
16780 cat >conftest.
$ac_ext <<_ACEOF
16783 cat confdefs.h
>>conftest.
$ac_ext
16784 cat >>conftest.
$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786 #ifndef __cplusplus
16788 static $ac_kw foo_t static_foo () {return 0; }
16789 $ac_kw foo_t foo () {return 0; }
16793 rm -f conftest.
$ac_objext
16794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16795 (eval $ac_compile) 2>conftest.er1
16797 grep -v '^ *+' conftest.er1
>conftest.err
16799 cat conftest.err
>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); } &&
16802 { ac_try
='test -z "$ac_c_werror_flag"
16803 || test ! -s conftest.err'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; } &&
16809 { ac_try
='test -s conftest.$ac_objext'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; }; then
16815 ac_cv_c_inline
=$ac_kw; break
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.
$ac_ext >&5
16821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16825 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16826 echo "${ECHO_T}$ac_cv_c_inline" >&6
16829 case $ac_cv_c_inline in
16832 case $ac_cv_c_inline in
16834 *) ac_val
=$ac_cv_c_inline;;
16836 cat >>confdefs.h
<<_ACEOF
16837 #ifndef __cplusplus
16838 #define inline $ac_val
16845 echo "$as_me:$LINENO: checking for char" >&5
16846 echo $ECHO_N "checking for char... $ECHO_C" >&6
16847 if test "${ac_cv_type_char+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 cat >conftest.
$ac_ext <<_ACEOF
16853 cat confdefs.h
>>conftest.
$ac_ext
16854 cat >>conftest.
$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16868 rm -f conftest.
$ac_objext
16869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16870 (eval $ac_compile) 2>conftest.er1
16872 grep -v '^ *+' conftest.er1
>conftest.err
16874 cat conftest.err
>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); } &&
16877 { ac_try
='test -z "$ac_c_werror_flag"
16878 || test ! -s conftest.err'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; } &&
16884 { ac_try
='test -s conftest.$ac_objext'
16885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886 (eval $ac_try) 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; }; then
16890 ac_cv_type_char
=yes
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.
$ac_ext >&5
16897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16899 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16900 echo "${ECHO_T}$ac_cv_type_char" >&6
16902 echo "$as_me:$LINENO: checking size of char" >&5
16903 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16904 if test "${ac_cv_sizeof_char+set}" = set; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 if test "$ac_cv_type_char" = yes; then
16908 # The cast to unsigned long works around a bug in the HP C Compiler
16909 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16910 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16911 # This bug is HP SR number 8606223364.
16912 if test "$cross_compiling" = yes; then
16913 # Depending upon the size, compute the lo and hi bounds.
16914 cat >conftest.
$ac_ext <<_ACEOF
16917 cat confdefs.h
>>conftest.
$ac_ext
16918 cat >>conftest.
$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920 $ac_includes_default
16924 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16931 rm -f conftest.
$ac_objext
16932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16933 (eval $ac_compile) 2>conftest.er1
16935 grep -v '^ *+' conftest.er1
>conftest.err
16937 cat conftest.err
>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } &&
16940 { ac_try
='test -z "$ac_c_werror_flag"
16941 || test ! -s conftest.err'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; } &&
16947 { ac_try
='test -s conftest.$ac_objext'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; }; then
16955 cat >conftest.
$ac_ext <<_ACEOF
16958 cat confdefs.h
>>conftest.
$ac_ext
16959 cat >>conftest.
$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
16961 $ac_includes_default
16965 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16972 rm -f conftest.
$ac_objext
16973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16974 (eval $ac_compile) 2>conftest.er1
16976 grep -v '^ *+' conftest.er1
>conftest.err
16978 cat conftest.err
>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } &&
16981 { ac_try
='test -z "$ac_c_werror_flag"
16982 || test ! -s conftest.err'
16983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16984 (eval $ac_try) 2>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }; } &&
16988 { ac_try
='test -s conftest.$ac_objext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_hi
=$ac_mid; break
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.
$ac_ext >&5
16999 ac_lo
=`expr $ac_mid + 1`
17000 if test $ac_lo -le $ac_mid; then
17004 ac_mid
=`expr 2 '*' $ac_mid + 1`
17006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.
$ac_ext >&5
17012 cat >conftest.
$ac_ext <<_ACEOF
17015 cat confdefs.h
>>conftest.
$ac_ext
17016 cat >>conftest.
$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17018 $ac_includes_default
17022 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17029 rm -f conftest.
$ac_objext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17031 (eval $ac_compile) 2>conftest.er1
17033 grep -v '^ *+' conftest.er1
>conftest.err
17035 cat conftest.err
>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } &&
17038 { ac_try
='test -z "$ac_c_werror_flag"
17039 || test ! -s conftest.err'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; } &&
17045 { ac_try
='test -s conftest.$ac_objext'
17046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17047 (eval $ac_try) 2>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; }; then
17053 cat >conftest.
$ac_ext <<_ACEOF
17056 cat confdefs.h
>>conftest.
$ac_ext
17057 cat >>conftest.
$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17059 $ac_includes_default
17063 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17070 rm -f conftest.
$ac_objext
17071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17072 (eval $ac_compile) 2>conftest.er1
17074 grep -v '^ *+' conftest.er1
>conftest.err
17076 cat conftest.err
>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try
='test -z "$ac_c_werror_flag"
17080 || test ! -s conftest.err'
17081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17082 (eval $ac_try) 2>&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); }; } &&
17086 { ac_try
='test -s conftest.$ac_objext'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; }; then
17092 ac_lo
=$ac_mid; break
17094 echo "$as_me: failed program was:" >&5
17095 sed 's/^/| /' conftest.
$ac_ext >&5
17097 ac_hi
=`expr '(' $ac_mid ')' - 1`
17098 if test $ac_mid -le $ac_hi; then
17102 ac_mid
=`expr 2 '*' $ac_mid`
17104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.
$ac_ext >&5
17112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17115 # Binary search between lo and hi bounds.
17116 while test "x$ac_lo" != "x$ac_hi"; do
17117 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17118 cat >conftest.
$ac_ext <<_ACEOF
17121 cat confdefs.h
>>conftest.
$ac_ext
17122 cat >>conftest.
$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17128 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17135 rm -f conftest.
$ac_objext
17136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17137 (eval $ac_compile) 2>conftest.er1
17139 grep -v '^ *+' conftest.er1
>conftest.err
17141 cat conftest.err
>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } &&
17144 { ac_try
='test -z "$ac_c_werror_flag"
17145 || test ! -s conftest.err'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; } &&
17151 { ac_try
='test -s conftest.$ac_objext'
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; }; then
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.
$ac_ext >&5
17162 ac_lo
=`expr '(' $ac_mid ')' + 1`
17164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17167 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17168 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17169 See \`config.log' for more details." >&5
17170 echo "$as_me: error: cannot compute sizeof (char), 77
17171 See \`config.log' for more details." >&2;}
17172 { (exit 1); exit 1; }; } ;;
17175 if test "$cross_compiling" = yes; then
17176 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17177 See \`config.log' for more details." >&5
17178 echo "$as_me: error: cannot run test program while cross compiling
17179 See \`config.log' for more details." >&2;}
17180 { (exit 1); exit 1; }; }
17182 cat >conftest.
$ac_ext <<_ACEOF
17185 cat confdefs.h
>>conftest.
$ac_ext
17186 cat >>conftest.
$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 $ac_includes_default
17189 long longval () { return (long) (sizeof (char)); }
17190 unsigned long ulongval () { return (long) (sizeof (char)); }
17192 #include <stdlib.h>
17197 FILE *f = fopen ("conftest.val", "w");
17200 if (((long) (sizeof (char))) < 0)
17202 long i = longval ();
17203 if (i != ((long) (sizeof (char))))
17205 fprintf (f, "%ld\n", i);
17209 unsigned long i = ulongval ();
17210 if (i != ((long) (sizeof (char))))
17212 fprintf (f, "%lu\n", i);
17214 exit (ferror (f) || fclose (f) != 0);
17220 rm -f conftest
$ac_exeext
17221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17222 (eval $ac_link) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; }; then
17231 ac_cv_sizeof_char
=`cat conftest.val`
17233 echo "$as_me: program exited with status $ac_status" >&5
17234 echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.
$ac_ext >&5
17237 ( exit $ac_status )
17238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17239 See \`config.log' for more details." >&5
17240 echo "$as_me: error: cannot compute sizeof (char), 77
17241 See \`config.log' for more details." >&2;}
17242 { (exit 1); exit 1; }; }
17244 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17249 ac_cv_sizeof_char
=0
17252 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17253 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17254 cat >>confdefs.h
<<_ACEOF
17255 #define SIZEOF_CHAR $ac_cv_sizeof_char
17259 echo "$as_me:$LINENO: checking for short" >&5
17260 echo $ECHO_N "checking for short... $ECHO_C" >&6
17261 if test "${ac_cv_type_short+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17264 cat >conftest.
$ac_ext <<_ACEOF
17267 cat confdefs.h
>>conftest.
$ac_ext
17268 cat >>conftest.
$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17270 $ac_includes_default
17276 if (sizeof (short))
17282 rm -f conftest.
$ac_objext
17283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17284 (eval $ac_compile) 2>conftest.er1
17286 grep -v '^ *+' conftest.er1
>conftest.err
17288 cat conftest.err
>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } &&
17291 { ac_try
='test -z "$ac_c_werror_flag"
17292 || test ! -s conftest.err'
17293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294 (eval $ac_try) 2>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); }; } &&
17298 { ac_try
='test -s conftest.$ac_objext'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; }; then
17304 ac_cv_type_short
=yes
17306 echo "$as_me: failed program was:" >&5
17307 sed 's/^/| /' conftest.
$ac_ext >&5
17309 ac_cv_type_short
=no
17311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17313 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17314 echo "${ECHO_T}$ac_cv_type_short" >&6
17316 echo "$as_me:$LINENO: checking size of short" >&5
17317 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17318 if test "${ac_cv_sizeof_short+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 if test "$ac_cv_type_short" = yes; then
17322 # The cast to unsigned long works around a bug in the HP C Compiler
17323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17325 # This bug is HP SR number 8606223364.
17326 if test "$cross_compiling" = yes; then
17327 # Depending upon the size, compute the lo and hi bounds.
17328 cat >conftest.
$ac_ext <<_ACEOF
17331 cat confdefs.h
>>conftest.
$ac_ext
17332 cat >>conftest.
$ac_ext <<_ACEOF
17333 /* end confdefs.h. */
17334 $ac_includes_default
17338 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17345 rm -f conftest.
$ac_objext
17346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17347 (eval $ac_compile) 2>conftest.er1
17349 grep -v '^ *+' conftest.er1
>conftest.err
17351 cat conftest.err
>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } &&
17354 { ac_try
='test -z "$ac_c_werror_flag"
17355 || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try
='test -s conftest.$ac_objext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17369 cat >conftest.
$ac_ext <<_ACEOF
17372 cat confdefs.h
>>conftest.
$ac_ext
17373 cat >>conftest.
$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375 $ac_includes_default
17379 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17386 rm -f conftest.
$ac_objext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17388 (eval $ac_compile) 2>conftest.er1
17390 grep -v '^ *+' conftest.er1
>conftest.err
17392 cat conftest.err
>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try
='test -z "$ac_c_werror_flag"
17396 || test ! -s conftest.err'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; } &&
17402 { ac_try
='test -s conftest.$ac_objext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 ac_hi
=$ac_mid; break
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17413 ac_lo
=`expr $ac_mid + 1`
17414 if test $ac_lo -le $ac_mid; then
17418 ac_mid
=`expr 2 '*' $ac_mid + 1`
17420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.
$ac_ext >&5
17426 cat >conftest.
$ac_ext <<_ACEOF
17429 cat confdefs.h
>>conftest.
$ac_ext
17430 cat >>conftest.
$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17432 $ac_includes_default
17436 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17443 rm -f conftest.
$ac_objext
17444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17445 (eval $ac_compile) 2>conftest.er1
17447 grep -v '^ *+' conftest.er1
>conftest.err
17449 cat conftest.err
>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } &&
17452 { ac_try
='test -z "$ac_c_werror_flag"
17453 || test ! -s conftest.err'
17454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17455 (eval $ac_try) 2>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }; } &&
17459 { ac_try
='test -s conftest.$ac_objext'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; }; then
17467 cat >conftest.
$ac_ext <<_ACEOF
17470 cat confdefs.h
>>conftest.
$ac_ext
17471 cat >>conftest.
$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17473 $ac_includes_default
17477 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17484 rm -f conftest.
$ac_objext
17485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17486 (eval $ac_compile) 2>conftest.er1
17488 grep -v '^ *+' conftest.er1
>conftest.err
17490 cat conftest.err
>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } &&
17493 { ac_try
='test -z "$ac_c_werror_flag"
17494 || test ! -s conftest.err'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; } &&
17500 { ac_try
='test -s conftest.$ac_objext'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; }; then
17506 ac_lo
=$ac_mid; break
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.
$ac_ext >&5
17511 ac_hi
=`expr '(' $ac_mid ')' - 1`
17512 if test $ac_mid -le $ac_hi; then
17516 ac_mid
=`expr 2 '*' $ac_mid`
17518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.
$ac_ext >&5
17526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17529 # Binary search between lo and hi bounds.
17530 while test "x$ac_lo" != "x$ac_hi"; do
17531 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17532 cat >conftest.
$ac_ext <<_ACEOF
17535 cat confdefs.h
>>conftest.
$ac_ext
17536 cat >>conftest.
$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 $ac_includes_default
17542 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17549 rm -f conftest.
$ac_objext
17550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17551 (eval $ac_compile) 2>conftest.er1
17553 grep -v '^ *+' conftest.er1
>conftest.err
17555 cat conftest.err
>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); } &&
17558 { ac_try
='test -z "$ac_c_werror_flag"
17559 || test ! -s conftest.err'
17560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17561 (eval $ac_try) 2>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); }; } &&
17565 { ac_try
='test -s conftest.$ac_objext'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; }; then
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.
$ac_ext >&5
17576 ac_lo
=`expr '(' $ac_mid ')' + 1`
17578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17581 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17582 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17583 See \`config.log' for more details." >&5
17584 echo "$as_me: error: cannot compute sizeof (short), 77
17585 See \`config.log' for more details." >&2;}
17586 { (exit 1); exit 1; }; } ;;
17589 if test "$cross_compiling" = yes; then
17590 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17591 See \`config.log' for more details." >&5
17592 echo "$as_me: error: cannot run test program while cross compiling
17593 See \`config.log' for more details." >&2;}
17594 { (exit 1); exit 1; }; }
17596 cat >conftest.
$ac_ext <<_ACEOF
17599 cat confdefs.h
>>conftest.
$ac_ext
17600 cat >>conftest.
$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17602 $ac_includes_default
17603 long longval () { return (long) (sizeof (short)); }
17604 unsigned long ulongval () { return (long) (sizeof (short)); }
17606 #include <stdlib.h>
17611 FILE *f = fopen ("conftest.val", "w");
17614 if (((long) (sizeof (short))) < 0)
17616 long i = longval ();
17617 if (i != ((long) (sizeof (short))))
17619 fprintf (f, "%ld\n", i);
17623 unsigned long i = ulongval ();
17624 if (i != ((long) (sizeof (short))))
17626 fprintf (f, "%lu\n", i);
17628 exit (ferror (f) || fclose (f) != 0);
17634 rm -f conftest
$ac_exeext
17635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17636 (eval $ac_link) 2>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17641 (eval $ac_try) 2>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); }; }; then
17645 ac_cv_sizeof_short
=`cat conftest.val`
17647 echo "$as_me: program exited with status $ac_status" >&5
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.
$ac_ext >&5
17651 ( exit $ac_status )
17652 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17653 See \`config.log' for more details." >&5
17654 echo "$as_me: error: cannot compute sizeof (short), 77
17655 See \`config.log' for more details." >&2;}
17656 { (exit 1); exit 1; }; }
17658 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17663 ac_cv_sizeof_short
=0
17666 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17667 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17668 cat >>confdefs.h
<<_ACEOF
17669 #define SIZEOF_SHORT $ac_cv_sizeof_short
17673 echo "$as_me:$LINENO: checking for void *" >&5
17674 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17675 if test "${ac_cv_type_void_p+set}" = set; then
17676 echo $ECHO_N "(cached) $ECHO_C" >&6
17678 cat >conftest.
$ac_ext <<_ACEOF
17681 cat confdefs.h
>>conftest.
$ac_ext
17682 cat >>conftest.
$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17690 if (sizeof (void *))
17696 rm -f conftest.
$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>conftest.er1
17700 grep -v '^ *+' conftest.er1
>conftest.err
17702 cat conftest.err
>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } &&
17705 { ac_try
='test -z "$ac_c_werror_flag"
17706 || test ! -s conftest.err'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; } &&
17712 { ac_try
='test -s conftest.$ac_objext'
17713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714 (eval $ac_try) 2>&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; }; then
17718 ac_cv_type_void_p
=yes
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.
$ac_ext >&5
17723 ac_cv_type_void_p
=no
17725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17727 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17728 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17730 echo "$as_me:$LINENO: checking size of void *" >&5
17731 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17732 if test "${ac_cv_sizeof_void_p+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 if test "$ac_cv_type_void_p" = yes; then
17736 # The cast to unsigned long works around a bug in the HP C Compiler
17737 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17738 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17739 # This bug is HP SR number 8606223364.
17740 if test "$cross_compiling" = yes; then
17741 # Depending upon the size, compute the lo and hi bounds.
17742 cat >conftest.
$ac_ext <<_ACEOF
17745 cat confdefs.h
>>conftest.
$ac_ext
17746 cat >>conftest.
$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 $ac_includes_default
17752 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17759 rm -f conftest.
$ac_objext
17760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17761 (eval $ac_compile) 2>conftest.er1
17763 grep -v '^ *+' conftest.er1
>conftest.err
17765 cat conftest.err
>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } &&
17768 { ac_try
='test -z "$ac_c_werror_flag"
17769 || test ! -s conftest.err'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; } &&
17775 { ac_try
='test -s conftest.$ac_objext'
17776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 (eval $ac_try) 2>&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }; }; then
17783 cat >conftest.
$ac_ext <<_ACEOF
17786 cat confdefs.h
>>conftest.
$ac_ext
17787 cat >>conftest.
$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17789 $ac_includes_default
17793 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17800 rm -f conftest.
$ac_objext
17801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17802 (eval $ac_compile) 2>conftest.er1
17804 grep -v '^ *+' conftest.er1
>conftest.err
17806 cat conftest.err
>&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); } &&
17809 { ac_try
='test -z "$ac_c_werror_flag"
17810 || test ! -s conftest.err'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; } &&
17816 { ac_try
='test -s conftest.$ac_objext'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; }; then
17822 ac_hi
=$ac_mid; break
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.
$ac_ext >&5
17827 ac_lo
=`expr $ac_mid + 1`
17828 if test $ac_lo -le $ac_mid; then
17832 ac_mid
=`expr 2 '*' $ac_mid + 1`
17834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.
$ac_ext >&5
17840 cat >conftest.
$ac_ext <<_ACEOF
17843 cat confdefs.h
>>conftest.
$ac_ext
17844 cat >>conftest.
$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 $ac_includes_default
17850 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17857 rm -f conftest.
$ac_objext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17859 (eval $ac_compile) 2>conftest.er1
17861 grep -v '^ *+' conftest.er1
>conftest.err
17863 cat conftest.err
>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } &&
17866 { ac_try
='test -z "$ac_c_werror_flag"
17867 || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try
='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17881 cat >conftest.
$ac_ext <<_ACEOF
17884 cat confdefs.h
>>conftest.
$ac_ext
17885 cat >>conftest.
$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 $ac_includes_default
17891 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17898 rm -f conftest.
$ac_objext
17899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17900 (eval $ac_compile) 2>conftest.er1
17902 grep -v '^ *+' conftest.er1
>conftest.err
17904 cat conftest.err
>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } &&
17907 { ac_try
='test -z "$ac_c_werror_flag"
17908 || test ! -s conftest.err'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; } &&
17914 { ac_try
='test -s conftest.$ac_objext'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; }; then
17920 ac_lo
=$ac_mid; break
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.
$ac_ext >&5
17925 ac_hi
=`expr '(' $ac_mid ')' - 1`
17926 if test $ac_mid -le $ac_hi; then
17930 ac_mid
=`expr 2 '*' $ac_mid`
17932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.
$ac_ext >&5
17940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17943 # Binary search between lo and hi bounds.
17944 while test "x$ac_lo" != "x$ac_hi"; do
17945 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17946 cat >conftest.
$ac_ext <<_ACEOF
17949 cat confdefs.h
>>conftest.
$ac_ext
17950 cat >>conftest.
$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 $ac_includes_default
17956 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17963 rm -f conftest.
$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>conftest.er1
17967 grep -v '^ *+' conftest.er1
>conftest.err
17969 cat conftest.err
>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try
='test -z "$ac_c_werror_flag"
17973 || test ! -s conftest.err'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; } &&
17979 { ac_try
='test -s conftest.$ac_objext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.
$ac_ext >&5
17990 ac_lo
=`expr '(' $ac_mid ')' + 1`
17992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17995 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17996 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17997 See \`config.log' for more details." >&5
17998 echo "$as_me: error: cannot compute sizeof (void *), 77
17999 See \`config.log' for more details." >&2;}
18000 { (exit 1); exit 1; }; } ;;
18003 if test "$cross_compiling" = yes; then
18004 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18005 See \`config.log' for more details." >&5
18006 echo "$as_me: error: cannot run test program while cross compiling
18007 See \`config.log' for more details." >&2;}
18008 { (exit 1); exit 1; }; }
18010 cat >conftest.
$ac_ext <<_ACEOF
18013 cat confdefs.h
>>conftest.
$ac_ext
18014 cat >>conftest.
$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 $ac_includes_default
18017 long longval () { return (long) (sizeof (void *)); }
18018 unsigned long ulongval () { return (long) (sizeof (void *)); }
18020 #include <stdlib.h>
18025 FILE *f = fopen ("conftest.val", "w");
18028 if (((long) (sizeof (void *))) < 0)
18030 long i = longval ();
18031 if (i != ((long) (sizeof (void *))))
18033 fprintf (f, "%ld\n", i);
18037 unsigned long i = ulongval ();
18038 if (i != ((long) (sizeof (void *))))
18040 fprintf (f, "%lu\n", i);
18042 exit (ferror (f) || fclose (f) != 0);
18048 rm -f conftest
$ac_exeext
18049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18050 (eval $ac_link) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; }; then
18059 ac_cv_sizeof_void_p
=`cat conftest.val`
18061 echo "$as_me: program exited with status $ac_status" >&5
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.
$ac_ext >&5
18065 ( exit $ac_status )
18066 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18067 See \`config.log' for more details." >&5
18068 echo "$as_me: error: cannot compute sizeof (void *), 77
18069 See \`config.log' for more details." >&2;}
18070 { (exit 1); exit 1; }; }
18072 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18077 ac_cv_sizeof_void_p
=0
18080 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18081 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18082 cat >>confdefs.h
<<_ACEOF
18083 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18087 echo "$as_me:$LINENO: checking for int" >&5
18088 echo $ECHO_N "checking for int... $ECHO_C" >&6
18089 if test "${ac_cv_type_int+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 cat >conftest.
$ac_ext <<_ACEOF
18095 cat confdefs.h
>>conftest.
$ac_ext
18096 cat >>conftest.
$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 $ac_includes_default
18110 rm -f conftest.
$ac_objext
18111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18112 (eval $ac_compile) 2>conftest.er1
18114 grep -v '^ *+' conftest.er1
>conftest.err
18116 cat conftest.err
>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try
='test -z "$ac_c_werror_flag"
18120 || test ! -s conftest.err'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; } &&
18126 { ac_try
='test -s conftest.$ac_objext'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; }; then
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.
$ac_ext >&5
18139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18141 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18142 echo "${ECHO_T}$ac_cv_type_int" >&6
18144 echo "$as_me:$LINENO: checking size of int" >&5
18145 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18146 if test "${ac_cv_sizeof_int+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 if test "$ac_cv_type_int" = yes; then
18150 # The cast to unsigned long works around a bug in the HP C Compiler
18151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18153 # This bug is HP SR number 8606223364.
18154 if test "$cross_compiling" = yes; then
18155 # Depending upon the size, compute the lo and hi bounds.
18156 cat >conftest.
$ac_ext <<_ACEOF
18159 cat confdefs.h
>>conftest.
$ac_ext
18160 cat >>conftest.
$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 $ac_includes_default
18166 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18173 rm -f conftest.
$ac_objext
18174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18175 (eval $ac_compile) 2>conftest.er1
18177 grep -v '^ *+' conftest.er1
>conftest.err
18179 cat conftest.err
>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } &&
18182 { ac_try
='test -z "$ac_c_werror_flag"
18183 || test ! -s conftest.err'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; } &&
18189 { ac_try
='test -s conftest.$ac_objext'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18197 cat >conftest.
$ac_ext <<_ACEOF
18200 cat confdefs.h
>>conftest.
$ac_ext
18201 cat >>conftest.
$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18203 $ac_includes_default
18207 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18214 rm -f conftest.
$ac_objext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216 (eval $ac_compile) 2>conftest.er1
18218 grep -v '^ *+' conftest.er1
>conftest.err
18220 cat conftest.err
>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } &&
18223 { ac_try
='test -z "$ac_c_werror_flag"
18224 || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try
='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_hi
=$ac_mid; break
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.
$ac_ext >&5
18241 ac_lo
=`expr $ac_mid + 1`
18242 if test $ac_lo -le $ac_mid; then
18246 ac_mid
=`expr 2 '*' $ac_mid + 1`
18248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.
$ac_ext >&5
18254 cat >conftest.
$ac_ext <<_ACEOF
18257 cat confdefs.h
>>conftest.
$ac_ext
18258 cat >>conftest.
$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260 $ac_includes_default
18264 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18271 rm -f conftest.
$ac_objext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18273 (eval $ac_compile) 2>conftest.er1
18275 grep -v '^ *+' conftest.er1
>conftest.err
18277 cat conftest.err
>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try
='test -z "$ac_c_werror_flag"
18281 || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try
='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18295 cat >conftest.
$ac_ext <<_ACEOF
18298 cat confdefs.h
>>conftest.
$ac_ext
18299 cat >>conftest.
$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 $ac_includes_default
18305 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18312 rm -f conftest.
$ac_objext
18313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18314 (eval $ac_compile) 2>conftest.er1
18316 grep -v '^ *+' conftest.er1
>conftest.err
18318 cat conftest.err
>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } &&
18321 { ac_try
='test -z "$ac_c_werror_flag"
18322 || test ! -s conftest.err'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; } &&
18328 { ac_try
='test -s conftest.$ac_objext'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; }; then
18334 ac_lo
=$ac_mid; break
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.
$ac_ext >&5
18339 ac_hi
=`expr '(' $ac_mid ')' - 1`
18340 if test $ac_mid -le $ac_hi; then
18344 ac_mid
=`expr 2 '*' $ac_mid`
18346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.
$ac_ext >&5
18354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18357 # Binary search between lo and hi bounds.
18358 while test "x$ac_lo" != "x$ac_hi"; do
18359 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18360 cat >conftest.
$ac_ext <<_ACEOF
18363 cat confdefs.h
>>conftest.
$ac_ext
18364 cat >>conftest.
$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 $ac_includes_default
18370 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18377 rm -f conftest.
$ac_objext
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>conftest.er1
18381 grep -v '^ *+' conftest.er1
>conftest.err
18383 cat conftest.err
>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } &&
18386 { ac_try
='test -z "$ac_c_werror_flag"
18387 || test ! -s conftest.err'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; } &&
18393 { ac_try
='test -s conftest.$ac_objext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.
$ac_ext >&5
18404 ac_lo
=`expr '(' $ac_mid ')' + 1`
18406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18409 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18410 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18411 See \`config.log' for more details." >&5
18412 echo "$as_me: error: cannot compute sizeof (int), 77
18413 See \`config.log' for more details." >&2;}
18414 { (exit 1); exit 1; }; } ;;
18417 if test "$cross_compiling" = yes; then
18418 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18419 See \`config.log' for more details." >&5
18420 echo "$as_me: error: cannot run test program while cross compiling
18421 See \`config.log' for more details." >&2;}
18422 { (exit 1); exit 1; }; }
18424 cat >conftest.
$ac_ext <<_ACEOF
18427 cat confdefs.h
>>conftest.
$ac_ext
18428 cat >>conftest.
$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18430 $ac_includes_default
18431 long longval () { return (long) (sizeof (int)); }
18432 unsigned long ulongval () { return (long) (sizeof (int)); }
18434 #include <stdlib.h>
18439 FILE *f = fopen ("conftest.val", "w");
18442 if (((long) (sizeof (int))) < 0)
18444 long i = longval ();
18445 if (i != ((long) (sizeof (int))))
18447 fprintf (f, "%ld\n", i);
18451 unsigned long i = ulongval ();
18452 if (i != ((long) (sizeof (int))))
18454 fprintf (f, "%lu\n", i);
18456 exit (ferror (f) || fclose (f) != 0);
18462 rm -f conftest
$ac_exeext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18464 (eval $ac_link) 2>&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; }; then
18473 ac_cv_sizeof_int
=`cat conftest.val`
18475 echo "$as_me: program exited with status $ac_status" >&5
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.
$ac_ext >&5
18479 ( exit $ac_status )
18480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18481 See \`config.log' for more details." >&5
18482 echo "$as_me: error: cannot compute sizeof (int), 77
18483 See \`config.log' for more details." >&2;}
18484 { (exit 1); exit 1; }; }
18486 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18494 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18495 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18496 cat >>confdefs.h
<<_ACEOF
18497 #define SIZEOF_INT $ac_cv_sizeof_int
18501 echo "$as_me:$LINENO: checking for long" >&5
18502 echo $ECHO_N "checking for long... $ECHO_C" >&6
18503 if test "${ac_cv_type_long+set}" = set; then
18504 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 cat >conftest.
$ac_ext <<_ACEOF
18509 cat confdefs.h
>>conftest.
$ac_ext
18510 cat >>conftest.
$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512 $ac_includes_default
18524 rm -f conftest.
$ac_objext
18525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18526 (eval $ac_compile) 2>conftest.er1
18528 grep -v '^ *+' conftest.er1
>conftest.err
18530 cat conftest.err
>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
18533 { ac_try
='test -z "$ac_c_werror_flag"
18534 || test ! -s conftest.err'
18535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536 (eval $ac_try) 2>&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); }; } &&
18540 { ac_try
='test -s conftest.$ac_objext'
18541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542 (eval $ac_try) 2>&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; }; then
18546 ac_cv_type_long
=yes
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.
$ac_ext >&5
18553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18555 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18556 echo "${ECHO_T}$ac_cv_type_long" >&6
18558 echo "$as_me:$LINENO: checking size of long" >&5
18559 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18560 if test "${ac_cv_sizeof_long+set}" = set; then
18561 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 if test "$ac_cv_type_long" = yes; then
18564 # The cast to unsigned long works around a bug in the HP C Compiler
18565 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18566 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18567 # This bug is HP SR number 8606223364.
18568 if test "$cross_compiling" = yes; then
18569 # Depending upon the size, compute the lo and hi bounds.
18570 cat >conftest.
$ac_ext <<_ACEOF
18573 cat confdefs.h
>>conftest.
$ac_ext
18574 cat >>conftest.
$ac_ext <<_ACEOF
18575 /* end confdefs.h. */
18576 $ac_includes_default
18580 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18587 rm -f conftest.
$ac_objext
18588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18589 (eval $ac_compile) 2>conftest.er1
18591 grep -v '^ *+' conftest.er1
>conftest.err
18593 cat conftest.err
>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); } &&
18596 { ac_try
='test -z "$ac_c_werror_flag"
18597 || test ! -s conftest.err'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; } &&
18603 { ac_try
='test -s conftest.$ac_objext'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18611 cat >conftest.
$ac_ext <<_ACEOF
18614 cat confdefs.h
>>conftest.
$ac_ext
18615 cat >>conftest.
$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 $ac_includes_default
18621 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18628 rm -f conftest.
$ac_objext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18630 (eval $ac_compile) 2>conftest.er1
18632 grep -v '^ *+' conftest.er1
>conftest.err
18634 cat conftest.err
>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } &&
18637 { ac_try
='test -z "$ac_c_werror_flag"
18638 || test ! -s conftest.err'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; } &&
18644 { ac_try
='test -s conftest.$ac_objext'
18645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18646 (eval $ac_try) 2>&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); }; }; then
18650 ac_hi
=$ac_mid; break
18652 echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.
$ac_ext >&5
18655 ac_lo
=`expr $ac_mid + 1`
18656 if test $ac_lo -le $ac_mid; then
18660 ac_mid
=`expr 2 '*' $ac_mid + 1`
18662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.
$ac_ext >&5
18668 cat >conftest.
$ac_ext <<_ACEOF
18671 cat confdefs.h
>>conftest.
$ac_ext
18672 cat >>conftest.
$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 $ac_includes_default
18678 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18685 rm -f conftest.
$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18689 grep -v '^ *+' conftest.er1
>conftest.err
18691 cat conftest.err
>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try
='test -z "$ac_c_werror_flag"
18695 || test ! -s conftest.err'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; } &&
18701 { ac_try
='test -s conftest.$ac_objext'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; }; then
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18719 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18726 rm -f conftest.
$ac_objext
18727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18728 (eval $ac_compile) 2>conftest.er1
18730 grep -v '^ *+' conftest.er1
>conftest.err
18732 cat conftest.err
>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } &&
18735 { ac_try
='test -z "$ac_c_werror_flag"
18736 || test ! -s conftest.err'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; } &&
18742 { ac_try
='test -s conftest.$ac_objext'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; }; then
18748 ac_lo
=$ac_mid; break
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.
$ac_ext >&5
18753 ac_hi
=`expr '(' $ac_mid ')' - 1`
18754 if test $ac_mid -le $ac_hi; then
18758 ac_mid
=`expr 2 '*' $ac_mid`
18760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.
$ac_ext >&5
18768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18771 # Binary search between lo and hi bounds.
18772 while test "x$ac_lo" != "x$ac_hi"; do
18773 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18774 cat >conftest.
$ac_ext <<_ACEOF
18777 cat confdefs.h
>>conftest.
$ac_ext
18778 cat >>conftest.
$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 $ac_includes_default
18784 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18791 rm -f conftest.
$ac_objext
18792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18793 (eval $ac_compile) 2>conftest.er1
18795 grep -v '^ *+' conftest.er1
>conftest.err
18797 cat conftest.err
>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } &&
18800 { ac_try
='test -z "$ac_c_werror_flag"
18801 || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try
='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.
$ac_ext >&5
18818 ac_lo
=`expr '(' $ac_mid ')' + 1`
18820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18823 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18824 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18825 See \`config.log' for more details." >&5
18826 echo "$as_me: error: cannot compute sizeof (long), 77
18827 See \`config.log' for more details." >&2;}
18828 { (exit 1); exit 1; }; } ;;
18831 if test "$cross_compiling" = yes; then
18832 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18833 See \`config.log' for more details." >&5
18834 echo "$as_me: error: cannot run test program while cross compiling
18835 See \`config.log' for more details." >&2;}
18836 { (exit 1); exit 1; }; }
18838 cat >conftest.
$ac_ext <<_ACEOF
18841 cat confdefs.h
>>conftest.
$ac_ext
18842 cat >>conftest.
$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 $ac_includes_default
18845 long longval () { return (long) (sizeof (long)); }
18846 unsigned long ulongval () { return (long) (sizeof (long)); }
18848 #include <stdlib.h>
18853 FILE *f = fopen ("conftest.val", "w");
18856 if (((long) (sizeof (long))) < 0)
18858 long i = longval ();
18859 if (i != ((long) (sizeof (long))))
18861 fprintf (f, "%ld\n", i);
18865 unsigned long i = ulongval ();
18866 if (i != ((long) (sizeof (long))))
18868 fprintf (f, "%lu\n", i);
18870 exit (ferror (f) || fclose (f) != 0);
18876 rm -f conftest
$ac_exeext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18878 (eval $ac_link) 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; }; then
18887 ac_cv_sizeof_long
=`cat conftest.val`
18889 echo "$as_me: program exited with status $ac_status" >&5
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.
$ac_ext >&5
18893 ( exit $ac_status )
18894 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18895 See \`config.log' for more details." >&5
18896 echo "$as_me: error: cannot compute sizeof (long), 77
18897 See \`config.log' for more details." >&2;}
18898 { (exit 1); exit 1; }; }
18900 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18905 ac_cv_sizeof_long
=0
18908 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18909 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18910 cat >>confdefs.h
<<_ACEOF
18911 #define SIZEOF_LONG $ac_cv_sizeof_long
18915 echo "$as_me:$LINENO: checking for size_t" >&5
18916 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18917 if test "${ac_cv_type_size_t+set}" = set; then
18918 echo $ECHO_N "(cached) $ECHO_C" >&6
18920 cat >conftest.
$ac_ext <<_ACEOF
18923 cat confdefs.h
>>conftest.
$ac_ext
18924 cat >>conftest.
$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 $ac_includes_default
18932 if (sizeof (size_t))
18938 rm -f conftest.
$ac_objext
18939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18940 (eval $ac_compile) 2>conftest.er1
18942 grep -v '^ *+' conftest.er1
>conftest.err
18944 cat conftest.err
>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); } &&
18947 { ac_try
='test -z "$ac_c_werror_flag"
18948 || test ! -s conftest.err'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; } &&
18954 { ac_try
='test -s conftest.$ac_objext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_cv_type_size_t
=yes
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.
$ac_ext >&5
18965 ac_cv_type_size_t
=no
18967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18969 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18970 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18972 echo "$as_me:$LINENO: checking size of size_t" >&5
18973 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18974 if test "${ac_cv_sizeof_size_t+set}" = set; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 if test "$ac_cv_type_size_t" = yes; then
18978 # The cast to unsigned long works around a bug in the HP C Compiler
18979 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18980 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18981 # This bug is HP SR number 8606223364.
18982 if test "$cross_compiling" = yes; then
18983 # Depending upon the size, compute the lo and hi bounds.
18984 cat >conftest.
$ac_ext <<_ACEOF
18987 cat confdefs.h
>>conftest.
$ac_ext
18988 cat >>conftest.
$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990 $ac_includes_default
18994 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19001 rm -f conftest.
$ac_objext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19003 (eval $ac_compile) 2>conftest.er1
19005 grep -v '^ *+' conftest.er1
>conftest.err
19007 cat conftest.err
>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try
='test -z "$ac_c_werror_flag"
19011 || test ! -s conftest.err'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; } &&
19017 { ac_try
='test -s conftest.$ac_objext'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; }; then
19025 cat >conftest.
$ac_ext <<_ACEOF
19028 cat confdefs.h
>>conftest.
$ac_ext
19029 cat >>conftest.
$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19031 $ac_includes_default
19035 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19042 rm -f conftest.
$ac_objext
19043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19044 (eval $ac_compile) 2>conftest.er1
19046 grep -v '^ *+' conftest.er1
>conftest.err
19048 cat conftest.err
>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } &&
19051 { ac_try
='test -z "$ac_c_werror_flag"
19052 || test ! -s conftest.err'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; } &&
19058 { ac_try
='test -s conftest.$ac_objext'
19059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19060 (eval $ac_try) 2>&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); }; }; then
19064 ac_hi
=$ac_mid; break
19066 echo "$as_me: failed program was:" >&5
19067 sed 's/^/| /' conftest.
$ac_ext >&5
19069 ac_lo
=`expr $ac_mid + 1`
19070 if test $ac_lo -le $ac_mid; then
19074 ac_mid
=`expr 2 '*' $ac_mid + 1`
19076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.
$ac_ext >&5
19082 cat >conftest.
$ac_ext <<_ACEOF
19085 cat confdefs.h
>>conftest.
$ac_ext
19086 cat >>conftest.
$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 $ac_includes_default
19092 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19099 rm -f conftest.
$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>conftest.er1
19103 grep -v '^ *+' conftest.er1
>conftest.err
19105 cat conftest.err
>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } &&
19108 { ac_try
='test -z "$ac_c_werror_flag"
19109 || test ! -s conftest.err'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; } &&
19115 { ac_try
='test -s conftest.$ac_objext'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; }; then
19123 cat >conftest.
$ac_ext <<_ACEOF
19126 cat confdefs.h
>>conftest.
$ac_ext
19127 cat >>conftest.
$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 $ac_includes_default
19133 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19140 rm -f conftest.
$ac_objext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19142 (eval $ac_compile) 2>conftest.er1
19144 grep -v '^ *+' conftest.er1
>conftest.err
19146 cat conftest.err
>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } &&
19149 { ac_try
='test -z "$ac_c_werror_flag"
19150 || test ! -s conftest.err'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; } &&
19156 { ac_try
='test -s conftest.$ac_objext'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; }; then
19162 ac_lo
=$ac_mid; break
19164 echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.
$ac_ext >&5
19167 ac_hi
=`expr '(' $ac_mid ')' - 1`
19168 if test $ac_mid -le $ac_hi; then
19172 ac_mid
=`expr 2 '*' $ac_mid`
19174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.
$ac_ext >&5
19182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19185 # Binary search between lo and hi bounds.
19186 while test "x$ac_lo" != "x$ac_hi"; do
19187 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19188 cat >conftest.
$ac_ext <<_ACEOF
19191 cat confdefs.h
>>conftest.
$ac_ext
19192 cat >>conftest.
$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 $ac_includes_default
19198 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19205 rm -f conftest.
$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19209 grep -v '^ *+' conftest.er1
>conftest.err
19211 cat conftest.err
>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try
='test -z "$ac_c_werror_flag"
19215 || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try
='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.
$ac_ext >&5
19232 ac_lo
=`expr '(' $ac_mid ')' + 1`
19234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19237 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19239 See \`config.log' for more details." >&5
19240 echo "$as_me: error: cannot compute sizeof (size_t), 77
19241 See \`config.log' for more details." >&2;}
19242 { (exit 1); exit 1; }; } ;;
19245 if test "$cross_compiling" = yes; then
19246 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19247 See \`config.log' for more details." >&5
19248 echo "$as_me: error: cannot run test program while cross compiling
19249 See \`config.log' for more details." >&2;}
19250 { (exit 1); exit 1; }; }
19252 cat >conftest.
$ac_ext <<_ACEOF
19255 cat confdefs.h
>>conftest.
$ac_ext
19256 cat >>conftest.
$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19258 $ac_includes_default
19259 long longval () { return (long) (sizeof (size_t)); }
19260 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19262 #include <stdlib.h>
19267 FILE *f = fopen ("conftest.val", "w");
19270 if (((long) (sizeof (size_t))) < 0)
19272 long i = longval ();
19273 if (i != ((long) (sizeof (size_t))))
19275 fprintf (f, "%ld\n", i);
19279 unsigned long i = ulongval ();
19280 if (i != ((long) (sizeof (size_t))))
19282 fprintf (f, "%lu\n", i);
19284 exit (ferror (f) || fclose (f) != 0);
19290 rm -f conftest
$ac_exeext
19291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19292 (eval $ac_link) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19297 (eval $ac_try) 2>&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); }; }; then
19301 ac_cv_sizeof_size_t
=`cat conftest.val`
19303 echo "$as_me: program exited with status $ac_status" >&5
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.
$ac_ext >&5
19307 ( exit $ac_status )
19308 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19309 See \`config.log' for more details." >&5
19310 echo "$as_me: error: cannot compute sizeof (size_t), 77
19311 See \`config.log' for more details." >&2;}
19312 { (exit 1); exit 1; }; }
19314 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19319 ac_cv_sizeof_size_t
=0
19322 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19323 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19324 cat >>confdefs.h
<<_ACEOF
19325 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19332 echo "$as_me:$LINENO: checking for long long" >&5
19333 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19334 if test "${ac_cv_type_long_long+set}" = set; then
19335 echo $ECHO_N "(cached) $ECHO_C" >&6
19337 cat >conftest.
$ac_ext <<_ACEOF
19340 cat confdefs.h
>>conftest.
$ac_ext
19341 cat >>conftest.
$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 $ac_includes_default
19347 if ((long long *) 0)
19349 if (sizeof (long long))
19355 rm -f conftest.
$ac_objext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19357 (eval $ac_compile) 2>conftest.er1
19359 grep -v '^ *+' conftest.er1
>conftest.err
19361 cat conftest.err
>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } &&
19364 { ac_try
='test -z "$ac_c_werror_flag"
19365 || test ! -s conftest.err'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; } &&
19371 { ac_try
='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 ac_cv_type_long_long
=yes
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.
$ac_ext >&5
19382 ac_cv_type_long_long
=no
19384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19386 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19387 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19389 echo "$as_me:$LINENO: checking size of long long" >&5
19390 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19391 if test "${ac_cv_sizeof_long_long+set}" = set; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 if test "$ac_cv_type_long_long" = yes; then
19395 # The cast to unsigned long works around a bug in the HP C Compiler
19396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19397 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19398 # This bug is HP SR number 8606223364.
19399 if test "$cross_compiling" = yes; then
19400 # Depending upon the size, compute the lo and hi bounds.
19401 cat >conftest.
$ac_ext <<_ACEOF
19404 cat confdefs.h
>>conftest.
$ac_ext
19405 cat >>conftest.
$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19407 $ac_includes_default
19411 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19418 rm -f conftest.
$ac_objext
19419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19420 (eval $ac_compile) 2>conftest.er1
19422 grep -v '^ *+' conftest.er1
>conftest.err
19424 cat conftest.err
>&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } &&
19427 { ac_try
='test -z "$ac_c_werror_flag"
19428 || test ! -s conftest.err'
19429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 (eval $ac_try) 2>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; } &&
19434 { ac_try
='test -s conftest.$ac_objext'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; }; then
19442 cat >conftest.
$ac_ext <<_ACEOF
19445 cat confdefs.h
>>conftest.
$ac_ext
19446 cat >>conftest.
$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 $ac_includes_default
19452 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19459 rm -f conftest.
$ac_objext
19460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19461 (eval $ac_compile) 2>conftest.er1
19463 grep -v '^ *+' conftest.er1
>conftest.err
19465 cat conftest.err
>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); } &&
19468 { ac_try
='test -z "$ac_c_werror_flag"
19469 || test ! -s conftest.err'
19470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471 (eval $ac_try) 2>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); }; } &&
19475 { ac_try
='test -s conftest.$ac_objext'
19476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19477 (eval $ac_try) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; }; then
19481 ac_hi
=$ac_mid; break
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.
$ac_ext >&5
19486 ac_lo
=`expr $ac_mid + 1`
19487 if test $ac_lo -le $ac_mid; then
19491 ac_mid
=`expr 2 '*' $ac_mid + 1`
19493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.
$ac_ext >&5
19499 cat >conftest.
$ac_ext <<_ACEOF
19502 cat confdefs.h
>>conftest.
$ac_ext
19503 cat >>conftest.
$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 $ac_includes_default
19509 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19516 rm -f conftest.
$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>conftest.er1
19520 grep -v '^ *+' conftest.er1
>conftest.err
19522 cat conftest.err
>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try
='test -z "$ac_c_werror_flag"
19526 || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try
='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19540 cat >conftest.
$ac_ext <<_ACEOF
19543 cat confdefs.h
>>conftest.
$ac_ext
19544 cat >>conftest.
$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19546 $ac_includes_default
19550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19557 rm -f conftest.
$ac_objext
19558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19559 (eval $ac_compile) 2>conftest.er1
19561 grep -v '^ *+' conftest.er1
>conftest.err
19563 cat conftest.err
>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } &&
19566 { ac_try
='test -z "$ac_c_werror_flag"
19567 || test ! -s conftest.err'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; } &&
19573 { ac_try
='test -s conftest.$ac_objext'
19574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19575 (eval $ac_try) 2>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); }; }; then
19579 ac_lo
=$ac_mid; break
19581 echo "$as_me: failed program was:" >&5
19582 sed 's/^/| /' conftest.
$ac_ext >&5
19584 ac_hi
=`expr '(' $ac_mid ')' - 1`
19585 if test $ac_mid -le $ac_hi; then
19589 ac_mid
=`expr 2 '*' $ac_mid`
19591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.
$ac_ext >&5
19599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19602 # Binary search between lo and hi bounds.
19603 while test "x$ac_lo" != "x$ac_hi"; do
19604 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19605 cat >conftest.
$ac_ext <<_ACEOF
19608 cat confdefs.h
>>conftest.
$ac_ext
19609 cat >>conftest.
$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19615 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19622 rm -f conftest.
$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19624 (eval $ac_compile) 2>conftest.er1
19626 grep -v '^ *+' conftest.er1
>conftest.err
19628 cat conftest.err
>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } &&
19631 { ac_try
='test -z "$ac_c_werror_flag"
19632 || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try
='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.
$ac_ext >&5
19649 ac_lo
=`expr '(' $ac_mid ')' + 1`
19651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19654 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19655 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19656 See \`config.log' for more details." >&5
19657 echo "$as_me: error: cannot compute sizeof (long long), 77
19658 See \`config.log' for more details." >&2;}
19659 { (exit 1); exit 1; }; } ;;
19662 if test "$cross_compiling" = yes; then
19663 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19664 See \`config.log' for more details." >&5
19665 echo "$as_me: error: cannot run test program while cross compiling
19666 See \`config.log' for more details." >&2;}
19667 { (exit 1); exit 1; }; }
19669 cat >conftest.
$ac_ext <<_ACEOF
19672 cat confdefs.h
>>conftest.
$ac_ext
19673 cat >>conftest.
$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 $ac_includes_default
19676 long longval () { return (long) (sizeof (long long)); }
19677 unsigned long ulongval () { return (long) (sizeof (long long)); }
19679 #include <stdlib.h>
19684 FILE *f = fopen ("conftest.val", "w");
19687 if (((long) (sizeof (long long))) < 0)
19689 long i = longval ();
19690 if (i != ((long) (sizeof (long long))))
19692 fprintf (f, "%ld\n", i);
19696 unsigned long i = ulongval ();
19697 if (i != ((long) (sizeof (long long))))
19699 fprintf (f, "%lu\n", i);
19701 exit (ferror (f) || fclose (f) != 0);
19707 rm -f conftest
$ac_exeext
19708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19709 (eval $ac_link) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; }; then
19718 ac_cv_sizeof_long_long
=`cat conftest.val`
19720 echo "$as_me: program exited with status $ac_status" >&5
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.
$ac_ext >&5
19724 ( exit $ac_status )
19725 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19726 See \`config.log' for more details." >&5
19727 echo "$as_me: error: cannot compute sizeof (long long), 77
19728 See \`config.log' for more details." >&2;}
19729 { (exit 1); exit 1; }; }
19731 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19736 ac_cv_sizeof_long_long
=0
19739 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19740 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19741 cat >>confdefs.h
<<_ACEOF
19742 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19748 echo "$as_me:$LINENO: checking for long long" >&5
19749 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19750 if test "${ac_cv_type_long_long+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 cat >conftest.
$ac_ext <<_ACEOF
19756 cat confdefs.h
>>conftest.
$ac_ext
19757 cat >>conftest.
$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19763 if ((long long *) 0)
19765 if (sizeof (long long))
19771 rm -f conftest.
$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773 (eval $ac_compile) 2>conftest.er1
19775 grep -v '^ *+' conftest.er1
>conftest.err
19777 cat conftest.err
>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try
='test -z "$ac_c_werror_flag"
19781 || test ! -s conftest.err'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; } &&
19787 { ac_try
='test -s conftest.$ac_objext'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 ac_cv_type_long_long
=yes
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.
$ac_ext >&5
19798 ac_cv_type_long_long
=no
19800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19802 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19803 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19805 echo "$as_me:$LINENO: checking size of long long" >&5
19806 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19807 if test "${ac_cv_sizeof_long_long+set}" = set; then
19808 echo $ECHO_N "(cached) $ECHO_C" >&6
19810 if test "$ac_cv_type_long_long" = yes; then
19811 # The cast to unsigned long works around a bug in the HP C Compiler
19812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19814 # This bug is HP SR number 8606223364.
19815 if test "$cross_compiling" = yes; then
19816 # Depending upon the size, compute the lo and hi bounds.
19817 cat >conftest.
$ac_ext <<_ACEOF
19820 cat confdefs.h
>>conftest.
$ac_ext
19821 cat >>conftest.
$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19823 $ac_includes_default
19827 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19834 rm -f conftest.
$ac_objext
19835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19836 (eval $ac_compile) 2>conftest.er1
19838 grep -v '^ *+' conftest.er1
>conftest.err
19840 cat conftest.err
>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); } &&
19843 { ac_try
='test -z "$ac_c_werror_flag"
19844 || test ! -s conftest.err'
19845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846 (eval $ac_try) 2>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); }; } &&
19850 { ac_try
='test -s conftest.$ac_objext'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; }; then
19858 cat >conftest.
$ac_ext <<_ACEOF
19861 cat confdefs.h
>>conftest.
$ac_ext
19862 cat >>conftest.
$ac_ext <<_ACEOF
19863 /* end confdefs.h. */
19864 $ac_includes_default
19868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19875 rm -f conftest.
$ac_objext
19876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19877 (eval $ac_compile) 2>conftest.er1
19879 grep -v '^ *+' conftest.er1
>conftest.err
19881 cat conftest.err
>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } &&
19884 { ac_try
='test -z "$ac_c_werror_flag"
19885 || test ! -s conftest.err'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; } &&
19891 { ac_try
='test -s conftest.$ac_objext'
19892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19893 (eval $ac_try) 2>&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); }; }; then
19897 ac_hi
=$ac_mid; break
19899 echo "$as_me: failed program was:" >&5
19900 sed 's/^/| /' conftest.
$ac_ext >&5
19902 ac_lo
=`expr $ac_mid + 1`
19903 if test $ac_lo -le $ac_mid; then
19907 ac_mid
=`expr 2 '*' $ac_mid + 1`
19909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19912 echo "$as_me: failed program was:" >&5
19913 sed 's/^/| /' conftest.
$ac_ext >&5
19915 cat >conftest.
$ac_ext <<_ACEOF
19918 cat confdefs.h
>>conftest.
$ac_ext
19919 cat >>conftest.
$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19925 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19932 rm -f conftest.
$ac_objext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19934 (eval $ac_compile) 2>conftest.er1
19936 grep -v '^ *+' conftest.er1
>conftest.err
19938 cat conftest.err
>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } &&
19941 { ac_try
='test -z "$ac_c_werror_flag"
19942 || test ! -s conftest.err'
19943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19944 (eval $ac_try) 2>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; } &&
19948 { ac_try
='test -s conftest.$ac_objext'
19949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19950 (eval $ac_try) 2>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }; }; then
19956 cat >conftest.
$ac_ext <<_ACEOF
19959 cat confdefs.h
>>conftest.
$ac_ext
19960 cat >>conftest.
$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19966 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19973 rm -f conftest.
$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19977 grep -v '^ *+' conftest.er1
>conftest.err
19979 cat conftest.err
>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try
='test -z "$ac_c_werror_flag"
19983 || test ! -s conftest.err'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try
='test -s conftest.$ac_objext'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; }; then
19995 ac_lo
=$ac_mid; break
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.
$ac_ext >&5
20000 ac_hi
=`expr '(' $ac_mid ')' - 1`
20001 if test $ac_mid -le $ac_hi; then
20005 ac_mid
=`expr 2 '*' $ac_mid`
20007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.
$ac_ext >&5
20015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20018 # Binary search between lo and hi bounds.
20019 while test "x$ac_lo" != "x$ac_hi"; do
20020 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20021 cat >conftest.
$ac_ext <<_ACEOF
20024 cat confdefs.h
>>conftest.
$ac_ext
20025 cat >>conftest.
$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 $ac_includes_default
20031 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20038 rm -f conftest.
$ac_objext
20039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20040 (eval $ac_compile) 2>conftest.er1
20042 grep -v '^ *+' conftest.er1
>conftest.err
20044 cat conftest.err
>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } &&
20047 { ac_try
='test -z "$ac_c_werror_flag"
20048 || test ! -s conftest.err'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; } &&
20054 { ac_try
='test -s conftest.$ac_objext'
20055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056 (eval $ac_try) 2>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.
$ac_ext >&5
20065 ac_lo
=`expr '(' $ac_mid ')' + 1`
20067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20070 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20071 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20072 See \`config.log' for more details." >&5
20073 echo "$as_me: error: cannot compute sizeof (long long), 77
20074 See \`config.log' for more details." >&2;}
20075 { (exit 1); exit 1; }; } ;;
20078 if test "$cross_compiling" = yes; then
20079 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20080 See \`config.log' for more details." >&5
20081 echo "$as_me: error: cannot run test program while cross compiling
20082 See \`config.log' for more details." >&2;}
20083 { (exit 1); exit 1; }; }
20085 cat >conftest.
$ac_ext <<_ACEOF
20088 cat confdefs.h
>>conftest.
$ac_ext
20089 cat >>conftest.
$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 $ac_includes_default
20092 long longval () { return (long) (sizeof (long long)); }
20093 unsigned long ulongval () { return (long) (sizeof (long long)); }
20095 #include <stdlib.h>
20100 FILE *f = fopen ("conftest.val", "w");
20103 if (((long) (sizeof (long long))) < 0)
20105 long i = longval ();
20106 if (i != ((long) (sizeof (long long))))
20108 fprintf (f, "%ld\n", i);
20112 unsigned long i = ulongval ();
20113 if (i != ((long) (sizeof (long long))))
20115 fprintf (f, "%lu\n", i);
20117 exit (ferror (f) || fclose (f) != 0);
20123 rm -f conftest
$ac_exeext
20124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20125 (eval $ac_link) 2>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; }; then
20134 ac_cv_sizeof_long_long
=`cat conftest.val`
20136 echo "$as_me: program exited with status $ac_status" >&5
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.
$ac_ext >&5
20140 ( exit $ac_status )
20141 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20142 See \`config.log' for more details." >&5
20143 echo "$as_me: error: cannot compute sizeof (long long), 77
20144 See \`config.log' for more details." >&2;}
20145 { (exit 1); exit 1; }; }
20147 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20152 ac_cv_sizeof_long_long
=0
20155 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20156 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20157 cat >>confdefs.h
<<_ACEOF
20158 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20162 if test "$ac_cv_sizeof_long_long" != "0"; then
20163 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20167 echo "$as_me:$LINENO: checking for long long" >&5
20168 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20169 if test "${ac_cv_type_long_long+set}" = set; then
20170 echo $ECHO_N "(cached) $ECHO_C" >&6
20172 cat >conftest.
$ac_ext <<_ACEOF
20175 cat confdefs.h
>>conftest.
$ac_ext
20176 cat >>conftest.
$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 $ac_includes_default
20182 if ((long long *) 0)
20184 if (sizeof (long long))
20190 rm -f conftest.
$ac_objext
20191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20192 (eval $ac_compile) 2>conftest.er1
20194 grep -v '^ *+' conftest.er1
>conftest.err
20196 cat conftest.err
>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } &&
20199 { ac_try
='test -z "$ac_c_werror_flag"
20200 || test ! -s conftest.err'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; } &&
20206 { ac_try
='test -s conftest.$ac_objext'
20207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20208 (eval $ac_try) 2>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); }; }; then
20212 ac_cv_type_long_long
=yes
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.
$ac_ext >&5
20217 ac_cv_type_long_long
=no
20219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20221 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20222 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20224 echo "$as_me:$LINENO: checking size of long long" >&5
20225 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20226 if test "${ac_cv_sizeof_long_long+set}" = set; then
20227 echo $ECHO_N "(cached) $ECHO_C" >&6
20229 if test "$ac_cv_type_long_long" = yes; then
20230 # The cast to unsigned long works around a bug in the HP C Compiler
20231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20233 # This bug is HP SR number 8606223364.
20234 if test "$cross_compiling" = yes; then
20235 # Depending upon the size, compute the lo and hi bounds.
20236 cat >conftest.
$ac_ext <<_ACEOF
20239 cat confdefs.h
>>conftest.
$ac_ext
20240 cat >>conftest.
$ac_ext <<_ACEOF
20241 /* end confdefs.h. */
20242 $ac_includes_default
20246 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20253 rm -f conftest.
$ac_objext
20254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20255 (eval $ac_compile) 2>conftest.er1
20257 grep -v '^ *+' conftest.er1
>conftest.err
20259 cat conftest.err
>&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); } &&
20262 { ac_try
='test -z "$ac_c_werror_flag"
20263 || test ! -s conftest.err'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; } &&
20269 { ac_try
='test -s conftest.$ac_objext'
20270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20271 (eval $ac_try) 2>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); }; }; then
20277 cat >conftest.
$ac_ext <<_ACEOF
20280 cat confdefs.h
>>conftest.
$ac_ext
20281 cat >>conftest.
$ac_ext <<_ACEOF
20282 /* end confdefs.h. */
20283 $ac_includes_default
20287 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20294 rm -f conftest.
$ac_objext
20295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20296 (eval $ac_compile) 2>conftest.er1
20298 grep -v '^ *+' conftest.er1
>conftest.err
20300 cat conftest.err
>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } &&
20303 { ac_try
='test -z "$ac_c_werror_flag"
20304 || test ! -s conftest.err'
20305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306 (eval $ac_try) 2>&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); }; } &&
20310 { ac_try
='test -s conftest.$ac_objext'
20311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312 (eval $ac_try) 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; }; then
20316 ac_hi
=$ac_mid; break
20318 echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.
$ac_ext >&5
20321 ac_lo
=`expr $ac_mid + 1`
20322 if test $ac_lo -le $ac_mid; then
20326 ac_mid
=`expr 2 '*' $ac_mid + 1`
20328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.
$ac_ext >&5
20334 cat >conftest.
$ac_ext <<_ACEOF
20337 cat confdefs.h
>>conftest.
$ac_ext
20338 cat >>conftest.
$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20340 $ac_includes_default
20344 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20351 rm -f conftest.
$ac_objext
20352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20353 (eval $ac_compile) 2>conftest.er1
20355 grep -v '^ *+' conftest.er1
>conftest.err
20357 cat conftest.err
>&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } &&
20360 { ac_try
='test -z "$ac_c_werror_flag"
20361 || test ! -s conftest.err'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; } &&
20367 { ac_try
='test -s conftest.$ac_objext'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20375 cat >conftest.
$ac_ext <<_ACEOF
20378 cat confdefs.h
>>conftest.
$ac_ext
20379 cat >>conftest.
$ac_ext <<_ACEOF
20380 /* end confdefs.h. */
20381 $ac_includes_default
20385 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20392 rm -f conftest.
$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394 (eval $ac_compile) 2>conftest.er1
20396 grep -v '^ *+' conftest.er1
>conftest.err
20398 cat conftest.err
>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } &&
20401 { ac_try
='test -z "$ac_c_werror_flag"
20402 || test ! -s conftest.err'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; } &&
20408 { ac_try
='test -s conftest.$ac_objext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_lo
=$ac_mid; break
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.
$ac_ext >&5
20419 ac_hi
=`expr '(' $ac_mid ')' - 1`
20420 if test $ac_mid -le $ac_hi; then
20424 ac_mid
=`expr 2 '*' $ac_mid`
20426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.
$ac_ext >&5
20434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20437 # Binary search between lo and hi bounds.
20438 while test "x$ac_lo" != "x$ac_hi"; do
20439 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20440 cat >conftest.
$ac_ext <<_ACEOF
20443 cat confdefs.h
>>conftest.
$ac_ext
20444 cat >>conftest.
$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 $ac_includes_default
20450 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20457 rm -f conftest.
$ac_objext
20458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20459 (eval $ac_compile) 2>conftest.er1
20461 grep -v '^ *+' conftest.er1
>conftest.err
20463 cat conftest.err
>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); } &&
20466 { ac_try
='test -z "$ac_c_werror_flag"
20467 || test ! -s conftest.err'
20468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20469 (eval $ac_try) 2>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); }; } &&
20473 { ac_try
='test -s conftest.$ac_objext'
20474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20475 (eval $ac_try) 2>&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); }; }; then
20481 echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.
$ac_ext >&5
20484 ac_lo
=`expr '(' $ac_mid ')' + 1`
20486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20489 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20490 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20491 See \`config.log' for more details." >&5
20492 echo "$as_me: error: cannot compute sizeof (long long), 77
20493 See \`config.log' for more details." >&2;}
20494 { (exit 1); exit 1; }; } ;;
20497 if test "$cross_compiling" = yes; then
20498 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20499 See \`config.log' for more details." >&5
20500 echo "$as_me: error: cannot run test program while cross compiling
20501 See \`config.log' for more details." >&2;}
20502 { (exit 1); exit 1; }; }
20504 cat >conftest.
$ac_ext <<_ACEOF
20507 cat confdefs.h
>>conftest.
$ac_ext
20508 cat >>conftest.
$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 $ac_includes_default
20511 long longval () { return (long) (sizeof (long long)); }
20512 unsigned long ulongval () { return (long) (sizeof (long long)); }
20514 #include <stdlib.h>
20519 FILE *f = fopen ("conftest.val", "w");
20522 if (((long) (sizeof (long long))) < 0)
20524 long i = longval ();
20525 if (i != ((long) (sizeof (long long))))
20527 fprintf (f, "%ld\n", i);
20531 unsigned long i = ulongval ();
20532 if (i != ((long) (sizeof (long long))))
20534 fprintf (f, "%lu\n", i);
20536 exit (ferror (f) || fclose (f) != 0);
20542 rm -f conftest
$ac_exeext
20543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20544 (eval $ac_link) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549 (eval $ac_try) 2>&5
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); }; }; then
20553 ac_cv_sizeof_long_long
=`cat conftest.val`
20555 echo "$as_me: program exited with status $ac_status" >&5
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 ( exit $ac_status )
20560 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20561 See \`config.log' for more details." >&5
20562 echo "$as_me: error: cannot compute sizeof (long long), 77
20563 See \`config.log' for more details." >&2;}
20564 { (exit 1); exit 1; }; }
20566 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20571 ac_cv_sizeof_long_long
=0
20574 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20575 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20576 cat >>confdefs.h
<<_ACEOF
20577 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20583 echo "$as_me:$LINENO: checking for wchar_t" >&5
20584 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20585 if test "${ac_cv_type_wchar_t+set}" = set; then
20586 echo $ECHO_N "(cached) $ECHO_C" >&6
20588 cat >conftest.
$ac_ext <<_ACEOF
20591 cat confdefs.h
>>conftest.
$ac_ext
20592 cat >>conftest.
$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20595 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20596 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20597 # error "fake wchar_t"
20599 #ifdef HAVE_WCHAR_H
20601 # include <stddef.h>
20603 # include <wchar.h>
20605 #ifdef HAVE_STDLIB_H
20606 # include <stdlib.h>
20617 if (sizeof (wchar_t))
20623 rm -f conftest.
$ac_objext
20624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20625 (eval $ac_compile) 2>conftest.er1
20627 grep -v '^ *+' conftest.er1
>conftest.err
20629 cat conftest.err
>&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } &&
20632 { ac_try
='test -z "$ac_c_werror_flag"
20633 || test ! -s conftest.err'
20634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20635 (eval $ac_try) 2>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; } &&
20639 { ac_try
='test -s conftest.$ac_objext'
20640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641 (eval $ac_try) 2>&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); }; }; then
20645 ac_cv_type_wchar_t
=yes
20647 echo "$as_me: failed program was:" >&5
20648 sed 's/^/| /' conftest.
$ac_ext >&5
20650 ac_cv_type_wchar_t
=no
20652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20654 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20655 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20657 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20658 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20659 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20660 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 if test "$ac_cv_type_wchar_t" = yes; then
20663 # The cast to unsigned long works around a bug in the HP C Compiler
20664 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20665 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20666 # This bug is HP SR number 8606223364.
20667 if test "$cross_compiling" = yes; then
20668 # Depending upon the size, compute the lo and hi bounds.
20669 cat >conftest.
$ac_ext <<_ACEOF
20672 cat confdefs.h
>>conftest.
$ac_ext
20673 cat >>conftest.
$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20676 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20677 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20678 # error "fake wchar_t"
20680 #ifdef HAVE_WCHAR_H
20682 # include <stddef.h>
20684 # include <wchar.h>
20686 #ifdef HAVE_STDLIB_H
20687 # include <stdlib.h>
20696 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20703 rm -f conftest.
$ac_objext
20704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20705 (eval $ac_compile) 2>conftest.er1
20707 grep -v '^ *+' conftest.er1
>conftest.err
20709 cat conftest.err
>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } &&
20712 { ac_try
='test -z "$ac_c_werror_flag"
20713 || test ! -s conftest.err'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; } &&
20719 { ac_try
='test -s conftest.$ac_objext'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; }; then
20727 cat >conftest.
$ac_ext <<_ACEOF
20730 cat confdefs.h
>>conftest.
$ac_ext
20731 cat >>conftest.
$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20734 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20735 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20736 # error "fake wchar_t"
20738 #ifdef HAVE_WCHAR_H
20740 # include <stddef.h>
20742 # include <wchar.h>
20744 #ifdef HAVE_STDLIB_H
20745 # include <stdlib.h>
20754 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20761 rm -f conftest.
$ac_objext
20762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20763 (eval $ac_compile) 2>conftest.er1
20765 grep -v '^ *+' conftest.er1
>conftest.err
20767 cat conftest.err
>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try
='test -z "$ac_c_werror_flag"
20771 || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try
='test -s conftest.$ac_objext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_hi
=$ac_mid; break
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.
$ac_ext >&5
20788 ac_lo
=`expr $ac_mid + 1`
20789 if test $ac_lo -le $ac_mid; then
20793 ac_mid
=`expr 2 '*' $ac_mid + 1`
20795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.
$ac_ext >&5
20801 cat >conftest.
$ac_ext <<_ACEOF
20804 cat confdefs.h
>>conftest.
$ac_ext
20805 cat >>conftest.
$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20808 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20809 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20810 # error "fake wchar_t"
20812 #ifdef HAVE_WCHAR_H
20814 # include <stddef.h>
20816 # include <wchar.h>
20818 #ifdef HAVE_STDLIB_H
20819 # include <stdlib.h>
20828 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20835 rm -f conftest.
$ac_objext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20837 (eval $ac_compile) 2>conftest.er1
20839 grep -v '^ *+' conftest.er1
>conftest.err
20841 cat conftest.err
>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try
='test -z "$ac_c_werror_flag"
20845 || test ! -s conftest.err'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; } &&
20851 { ac_try
='test -s conftest.$ac_objext'
20852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20853 (eval $ac_try) 2>&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); }; }; then
20859 cat >conftest.
$ac_ext <<_ACEOF
20862 cat confdefs.h
>>conftest.
$ac_ext
20863 cat >>conftest.
$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20866 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20867 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20868 # error "fake wchar_t"
20870 #ifdef HAVE_WCHAR_H
20872 # include <stddef.h>
20874 # include <wchar.h>
20876 #ifdef HAVE_STDLIB_H
20877 # include <stdlib.h>
20886 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20893 rm -f conftest.
$ac_objext
20894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20895 (eval $ac_compile) 2>conftest.er1
20897 grep -v '^ *+' conftest.er1
>conftest.err
20899 cat conftest.err
>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } &&
20902 { ac_try
='test -z "$ac_c_werror_flag"
20903 || test ! -s conftest.err'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; } &&
20909 { ac_try
='test -s conftest.$ac_objext'
20910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20911 (eval $ac_try) 2>&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); }; }; then
20915 ac_lo
=$ac_mid; break
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.
$ac_ext >&5
20920 ac_hi
=`expr '(' $ac_mid ')' - 1`
20921 if test $ac_mid -le $ac_hi; then
20925 ac_mid
=`expr 2 '*' $ac_mid`
20927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.
$ac_ext >&5
20935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20938 # Binary search between lo and hi bounds.
20939 while test "x$ac_lo" != "x$ac_hi"; do
20940 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20941 cat >conftest.
$ac_ext <<_ACEOF
20944 cat confdefs.h
>>conftest.
$ac_ext
20945 cat >>conftest.
$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20948 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20949 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20950 # error "fake wchar_t"
20952 #ifdef HAVE_WCHAR_H
20954 # include <stddef.h>
20956 # include <wchar.h>
20958 #ifdef HAVE_STDLIB_H
20959 # include <stdlib.h>
20968 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20975 rm -f conftest.
$ac_objext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20977 (eval $ac_compile) 2>conftest.er1
20979 grep -v '^ *+' conftest.er1
>conftest.err
20981 cat conftest.err
>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } &&
20984 { ac_try
='test -z "$ac_c_werror_flag"
20985 || test ! -s conftest.err'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; } &&
20991 { ac_try
='test -s conftest.$ac_objext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.
$ac_ext >&5
21002 ac_lo
=`expr '(' $ac_mid ')' + 1`
21004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21007 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21008 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21009 See \`config.log' for more details." >&5
21010 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21011 See \`config.log' for more details." >&2;}
21012 { (exit 1); exit 1; }; } ;;
21015 if test "$cross_compiling" = yes; then
21016 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21017 See \`config.log' for more details." >&5
21018 echo "$as_me: error: cannot run test program while cross compiling
21019 See \`config.log' for more details." >&2;}
21020 { (exit 1); exit 1; }; }
21022 cat >conftest.
$ac_ext <<_ACEOF
21025 cat confdefs.h
>>conftest.
$ac_ext
21026 cat >>conftest.
$ac_ext <<_ACEOF
21027 /* end confdefs.h. */
21029 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21030 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21031 # error "fake wchar_t"
21033 #ifdef HAVE_WCHAR_H
21035 # include <stddef.h>
21037 # include <wchar.h>
21039 #ifdef HAVE_STDLIB_H
21040 # include <stdlib.h>
21046 long longval () { return (long) (sizeof (wchar_t)); }
21047 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21049 #include <stdlib.h>
21054 FILE *f = fopen ("conftest.val", "w");
21057 if (((long) (sizeof (wchar_t))) < 0)
21059 long i = longval ();
21060 if (i != ((long) (sizeof (wchar_t))))
21062 fprintf (f, "%ld\n", i);
21066 unsigned long i = ulongval ();
21067 if (i != ((long) (sizeof (wchar_t))))
21069 fprintf (f, "%lu\n", i);
21071 exit (ferror (f) || fclose (f) != 0);
21077 rm -f conftest
$ac_exeext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21079 (eval $ac_link) 2>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21084 (eval $ac_try) 2>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); }; }; then
21088 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21090 echo "$as_me: program exited with status $ac_status" >&5
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.
$ac_ext >&5
21094 ( exit $ac_status )
21095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21096 See \`config.log' for more details." >&5
21097 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21098 See \`config.log' for more details." >&2;}
21099 { (exit 1); exit 1; }; }
21101 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21106 ac_cv_sizeof_wchar_t
=0
21109 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21110 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21111 cat >>confdefs.h
<<_ACEOF
21112 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21116 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21122 echo "$as_me:$LINENO: checking for va_copy" >&5
21123 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21124 if test "${wx_cv_func_va_copy+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21128 cat >conftest.
$ac_ext <<_ACEOF
21130 #include <stdarg.h>
21131 void foo(char *f, ...)
21145 rm -f conftest.
$ac_objext conftest
$ac_exeext
21146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21147 (eval $ac_link) 2>conftest.er1
21149 grep -v '^ *+' conftest.er1
>conftest.err
21151 cat conftest.err
>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } &&
21154 { ac_try
='test -z "$ac_c_werror_flag"
21155 || test ! -s conftest.err'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; } &&
21161 { ac_try
='test -s conftest$ac_exeext'
21162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163 (eval $ac_try) 2>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; }; then
21167 wx_cv_func_va_copy
=yes
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.
$ac_ext >&5
21172 wx_cv_func_va_copy
=no
21175 rm -f conftest.err conftest.
$ac_objext \
21176 conftest
$ac_exeext conftest.
$ac_ext
21180 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21181 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21183 if test $wx_cv_func_va_copy = "yes"; then
21184 cat >>confdefs.h
<<\_ACEOF
21185 #define HAVE_VA_COPY 1
21189 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21190 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21191 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21192 echo $ECHO_N "(cached) $ECHO_C" >&6
21195 if test "$cross_compiling" = yes; then
21196 wx_cv_type_va_list_lvalue
=yes
21199 cat >conftest.
$ac_ext <<_ACEOF
21201 #include <stdarg.h>
21202 int foo(char *f, ...)
21207 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21215 return foo("hi", 17);
21218 rm -f conftest
$ac_exeext
21219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21220 (eval $ac_link) 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225 (eval $ac_try) 2>&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; }; then
21229 wx_cv_type_va_list_lvalue
=yes
21231 echo "$as_me: program exited with status $ac_status" >&5
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.
$ac_ext >&5
21235 ( exit $ac_status )
21236 wx_cv_type_va_list_lvalue
=no
21238 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21243 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21244 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21246 if test $wx_cv_type_va_list_lvalue != "yes"; then
21247 cat >>confdefs.h
<<\_ACEOF
21248 #define VA_LIST_IS_ARRAY 1
21254 # Check whether --enable-largefile or --disable-largefile was given.
21255 if test "${enable_largefile+set}" = set; then
21256 enableval
="$enable_largefile"
21259 if test "$enable_largefile" != no
; then
21262 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21263 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21264 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21265 echo $ECHO_N "(cached) $ECHO_C" >&6
21268 cat >conftest.
$ac_ext <<_ACEOF
21271 cat confdefs.h
>>conftest.
$ac_ext
21272 cat >>conftest.
$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 #define _FILE_OFFSET_BITS 64
21275 #include <sys/types.h>
21280 unsigned int field: sizeof(off_t) == 8;
21287 rm -f conftest.
$ac_objext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21289 (eval $ac_compile) 2>conftest.er1
21291 grep -v '^ *+' conftest.er1
>conftest.err
21293 cat conftest.err
>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try
='test -z "$ac_c_werror_flag"
21297 || test ! -s conftest.err'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; } &&
21303 { ac_try
='test -s conftest.$ac_objext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_cv_sys_file_offset_bits
=64
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.
$ac_ext >&5
21314 ac_cv_sys_file_offset_bits
=no
21316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21320 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21321 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21323 if test "$ac_cv_sys_file_offset_bits" != no
; then
21325 cat >>confdefs.h
<<_ACEOF
21326 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21331 if test "x$wx_largefile" != "xyes"; then
21333 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21334 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21335 if test "${ac_cv_sys_large_files+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21339 cat >conftest.
$ac_ext <<_ACEOF
21342 cat confdefs.h
>>conftest.
$ac_ext
21343 cat >>conftest.
$ac_ext <<_ACEOF
21344 /* end confdefs.h. */
21345 #define _LARGE_FILES 1
21346 #include <sys/types.h>
21351 unsigned int field: sizeof(off_t) == 8;
21358 rm -f conftest.
$ac_objext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21360 (eval $ac_compile) 2>conftest.er1
21362 grep -v '^ *+' conftest.er1
>conftest.err
21364 cat conftest.err
>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try
='test -z "$ac_c_werror_flag"
21368 || test ! -s conftest.err'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try
='test -s conftest.$ac_objext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 ac_cv_sys_large_files
=1
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.
$ac_ext >&5
21385 ac_cv_sys_large_files
=no
21387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21391 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21392 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21394 if test "$ac_cv_sys_large_files" != no
; then
21396 cat >>confdefs.h
<<_ACEOF
21397 #define _LARGE_FILES $ac_cv_sys_large_files
21404 echo "$as_me:$LINENO: checking if large file support is available" >&5
21405 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21406 if test "x$wx_largefile" = "xyes"; then
21407 cat >>confdefs.h
<<\_ACEOF
21408 #define HAVE_LARGEFILE_SUPPORT 1
21412 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21413 echo "${ECHO_T}$wx_largefile" >&6
21417 if test "x$wx_largefile" = "xyes"; then
21418 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21419 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21421 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21422 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21423 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21424 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21425 echo $ECHO_N "(cached) $ECHO_C" >&6
21431 ac_cpp
='$CXXCPP $CPPFLAGS'
21432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21436 cat >conftest.
$ac_ext <<_ACEOF
21439 cat confdefs.h
>>conftest.
$ac_ext
21440 cat >>conftest.
$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21447 #ifndef __STDC_EXT__
21455 rm -f conftest.
$ac_objext
21456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21457 (eval $ac_compile) 2>conftest.er1
21459 grep -v '^ *+' conftest.er1
>conftest.err
21461 cat conftest.err
>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } &&
21464 { ac_try
='test -z "$ac_cxx_werror_flag"
21465 || test ! -s conftest.err'
21466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21467 (eval $ac_try) 2>&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); }; } &&
21471 { ac_try
='test -s conftest.$ac_objext'
21472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21473 (eval $ac_try) 2>&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); }; }; then
21477 wx_cv_STDC_EXT_required
=no
21479 echo "$as_me: failed program was:" >&5
21480 sed 's/^/| /' conftest.
$ac_ext >&5
21482 wx_cv_STDC_EXT_required
=yes
21485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21487 ac_cpp
='$CPP $CPPFLAGS'
21488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21495 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21496 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21497 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21498 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21502 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21504 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21505 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21506 if test "${ac_cv_sys_largefile_source+set}" = set; then
21507 echo $ECHO_N "(cached) $ECHO_C" >&6
21510 ac_cv_sys_largefile_source
=no
21511 cat >conftest.
$ac_ext <<_ACEOF
21514 cat confdefs.h
>>conftest.
$ac_ext
21515 cat >>conftest.
$ac_ext <<_ACEOF
21516 /* end confdefs.h. */
21526 rm -f conftest.
$ac_objext
21527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21528 (eval $ac_compile) 2>conftest.er1
21530 grep -v '^ *+' conftest.er1
>conftest.err
21532 cat conftest.err
>&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } &&
21535 { ac_try
='test -z "$ac_c_werror_flag"
21536 || test ! -s conftest.err'
21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538 (eval $ac_try) 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; } &&
21542 { ac_try
='test -s conftest.$ac_objext'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; }; then
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.
$ac_ext >&5
21554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21555 cat >conftest.
$ac_ext <<_ACEOF
21558 cat confdefs.h
>>conftest.
$ac_ext
21559 cat >>conftest.
$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 #define _LARGEFILE_SOURCE 1
21571 rm -f conftest.
$ac_objext
21572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21573 (eval $ac_compile) 2>conftest.er1
21575 grep -v '^ *+' conftest.er1
>conftest.err
21577 cat conftest.err
>&5
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); } &&
21580 { ac_try
='test -z "$ac_c_werror_flag"
21581 || test ! -s conftest.err'
21582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21583 (eval $ac_try) 2>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); }; } &&
21587 { ac_try
='test -s conftest.$ac_objext'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; }; then
21593 ac_cv_sys_largefile_source
=1; break
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.
$ac_ext >&5
21599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21603 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21604 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21605 if test "$ac_cv_sys_largefile_source" != no
; then
21607 cat >>confdefs.h
<<_ACEOF
21608 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21614 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21615 # in glibc 2.1.3, but that breaks too many other things.
21616 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21617 echo "$as_me:$LINENO: checking for fseeko" >&5
21618 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21619 if test "${ac_cv_func_fseeko+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 cat >conftest.
$ac_ext <<_ACEOF
21625 cat confdefs.h
>>conftest.
$ac_ext
21626 cat >>conftest.
$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21632 return fseeko && fseeko (stdin, 0, 0);
21637 rm -f conftest.
$ac_objext conftest
$ac_exeext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21639 (eval $ac_link) 2>conftest.er1
21641 grep -v '^ *+' conftest.er1
>conftest.err
21643 cat conftest.err
>&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try
='test -z "$ac_c_werror_flag"
21647 || test ! -s conftest.err'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; } &&
21653 { ac_try
='test -s conftest$ac_exeext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_func_fseeko
=yes
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.
$ac_ext >&5
21664 ac_cv_func_fseeko
=no
21666 rm -f conftest.err conftest.
$ac_objext \
21667 conftest
$ac_exeext conftest.
$ac_ext
21669 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21670 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21671 if test $ac_cv_func_fseeko = yes; then
21673 cat >>confdefs.h
<<\_ACEOF
21674 #define HAVE_FSEEKO 1
21679 if test "$ac_cv_sys_largefile_source" != no
; then
21680 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21684 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21685 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21686 if test "${ac_cv_c_bigendian+set}" = set; then
21687 echo $ECHO_N "(cached) $ECHO_C" >&6
21689 ac_cv_c_bigendian
=unknown
21690 # See if sys/param.h defines the BYTE_ORDER macro.
21691 cat >conftest.
$ac_ext <<_ACEOF
21694 cat confdefs.h
>>conftest.
$ac_ext
21695 cat >>conftest.
$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21697 #include <sys/types.h>
21698 #include <sys/param.h>
21703 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21704 bogus endian macros
21710 rm -f conftest.
$ac_objext
21711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21712 (eval $ac_compile) 2>conftest.er1
21714 grep -v '^ *+' conftest.er1
>conftest.err
21716 cat conftest.err
>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } &&
21719 { ac_try
='test -z "$ac_c_werror_flag"
21720 || test ! -s conftest.err'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; } &&
21726 { ac_try
='test -s conftest.$ac_objext'
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; }; then
21732 # It does; now see whether it defined to BIG_ENDIAN or not.
21733 cat >conftest.
$ac_ext <<_ACEOF
21736 cat confdefs.h
>>conftest.
$ac_ext
21737 cat >>conftest.
$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21739 #include <sys/types.h>
21740 #include <sys/param.h>
21745 #if BYTE_ORDER != BIG_ENDIAN
21752 rm -f conftest.
$ac_objext
21753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21754 (eval $ac_compile) 2>conftest.er1
21756 grep -v '^ *+' conftest.er1
>conftest.err
21758 cat conftest.err
>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } &&
21761 { ac_try
='test -z "$ac_c_werror_flag"
21762 || test ! -s conftest.err'
21763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764 (eval $ac_try) 2>&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); }; } &&
21768 { ac_try
='test -s conftest.$ac_objext'
21769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21770 (eval $ac_try) 2>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); }; }; then
21774 ac_cv_c_bigendian
=yes
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.
$ac_ext >&5
21779 ac_cv_c_bigendian
=no
21781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.
$ac_ext >&5
21787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21788 if test $ac_cv_c_bigendian = unknown
; then
21789 if test "$cross_compiling" = yes; then
21790 ac_cv_c_bigendian
=unknown
21792 cat >conftest.
$ac_ext <<_ACEOF
21795 cat confdefs.h
>>conftest.
$ac_ext
21796 cat >>conftest.
$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21799 /* Are we little or big endian? From Harbison&Steele. */
21803 char c[sizeof (long)];
21806 exit (u.c[sizeof (long) - 1] == 1);
21809 rm -f conftest
$ac_exeext
21810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21811 (eval $ac_link) 2>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816 (eval $ac_try) 2>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; }; then
21820 ac_cv_c_bigendian
=no
21822 echo "$as_me: program exited with status $ac_status" >&5
21823 echo "$as_me: failed program was:" >&5
21824 sed 's/^/| /' conftest.
$ac_ext >&5
21826 ( exit $ac_status )
21827 ac_cv_c_bigendian
=yes
21829 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21833 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21834 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21835 if test $ac_cv_c_bigendian = unknown
; then
21836 { 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
21837 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;}
21839 if test $ac_cv_c_bigendian = yes; then
21840 cat >>confdefs.h
<<\_ACEOF
21841 #define WORDS_BIGENDIAN 1
21848 ac_cpp
='$CXXCPP $CPPFLAGS'
21849 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21850 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21851 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21852 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21853 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21854 if test -z "$CXXCPP"; then
21855 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21856 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 # Double quotes because CXXCPP needs to be expanded
21859 for CXXCPP
in "$CXX -E" "/lib/cpp"
21861 ac_preproc_ok
=false
21862 for ac_cxx_preproc_warn_flag
in '' yes
21864 # Use a header file that comes with gcc, so configuring glibc
21865 # with a fresh cross-compiler works.
21866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21867 # <limits.h> exists even on freestanding compilers.
21868 # On the NeXT, cc -E runs the code through the compiler's parser,
21869 # not just through cpp. "Syntax error" is here to catch this case.
21870 cat >conftest.
$ac_ext <<_ACEOF
21873 cat confdefs.h
>>conftest.
$ac_ext
21874 cat >>conftest.
$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21877 # include <limits.h>
21879 # include <assert.h>
21883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21884 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21886 grep -v '^ *+' conftest.er1
>conftest.err
21888 cat conftest.err
>&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } >/dev
/null
; then
21891 if test -s conftest.err
; then
21892 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21893 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21900 if test -z "$ac_cpp_err"; then
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.
$ac_ext >&5
21906 # Broken: fails on valid input.
21909 rm -f conftest.err conftest.
$ac_ext
21911 # OK, works on sane cases. Now check whether non-existent headers
21912 # can be detected and how.
21913 cat >conftest.
$ac_ext <<_ACEOF
21916 cat confdefs.h
>>conftest.
$ac_ext
21917 cat >>conftest.
$ac_ext <<_ACEOF
21918 /* end confdefs.h. */
21919 #include <ac_nonexistent.h>
21921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21922 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21924 grep -v '^ *+' conftest.er1
>conftest.err
21926 cat conftest.err
>&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); } >/dev
/null
; then
21929 if test -s conftest.err
; then
21930 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21931 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21938 if test -z "$ac_cpp_err"; then
21939 # Broken: success on invalid input.
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.
$ac_ext >&5
21945 # Passes both tests.
21949 rm -f conftest.err conftest.
$ac_ext
21952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21953 rm -f conftest.err conftest.
$ac_ext
21954 if $ac_preproc_ok; then
21959 ac_cv_prog_CXXCPP
=$CXXCPP
21962 CXXCPP
=$ac_cv_prog_CXXCPP
21964 ac_cv_prog_CXXCPP
=$CXXCPP
21966 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21967 echo "${ECHO_T}$CXXCPP" >&6
21968 ac_preproc_ok
=false
21969 for ac_cxx_preproc_warn_flag
in '' yes
21971 # Use a header file that comes with gcc, so configuring glibc
21972 # with a fresh cross-compiler works.
21973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21974 # <limits.h> exists even on freestanding compilers.
21975 # On the NeXT, cc -E runs the code through the compiler's parser,
21976 # not just through cpp. "Syntax error" is here to catch this case.
21977 cat >conftest.
$ac_ext <<_ACEOF
21980 cat confdefs.h
>>conftest.
$ac_ext
21981 cat >>conftest.
$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21984 # include <limits.h>
21986 # include <assert.h>
21990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21993 grep -v '^ *+' conftest.er1
>conftest.err
21995 cat conftest.err
>&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); } >/dev
/null
; then
21998 if test -s conftest.err
; then
21999 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22000 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22007 if test -z "$ac_cpp_err"; then
22010 echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.
$ac_ext >&5
22013 # Broken: fails on valid input.
22016 rm -f conftest.err conftest.
$ac_ext
22018 # OK, works on sane cases. Now check whether non-existent headers
22019 # can be detected and how.
22020 cat >conftest.
$ac_ext <<_ACEOF
22023 cat confdefs.h
>>conftest.
$ac_ext
22024 cat >>conftest.
$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026 #include <ac_nonexistent.h>
22028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22031 grep -v '^ *+' conftest.er1
>conftest.err
22033 cat conftest.err
>&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); } >/dev
/null
; then
22036 if test -s conftest.err
; then
22037 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22038 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22045 if test -z "$ac_cpp_err"; then
22046 # Broken: success on invalid input.
22049 echo "$as_me: failed program was:" >&5
22050 sed 's/^/| /' conftest.
$ac_ext >&5
22052 # Passes both tests.
22056 rm -f conftest.err conftest.
$ac_ext
22059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22060 rm -f conftest.err conftest.
$ac_ext
22061 if $ac_preproc_ok; then
22064 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22065 See \`config.log' for more details." >&5
22066 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22067 See \`config.log' for more details." >&2;}
22068 { (exit 1); exit 1; }; }
22072 ac_cpp
='$CXXCPP $CPPFLAGS'
22073 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22074 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22075 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22082 ac_cpp
='$CXXCPP $CPPFLAGS'
22083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22089 for ac_header
in iostream
22091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22093 echo "$as_me:$LINENO: checking for $ac_header" >&5
22094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22096 echo $ECHO_N "(cached) $ECHO_C" >&6
22098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22101 # Is the header compilable?
22102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22104 cat >conftest.
$ac_ext <<_ACEOF
22107 cat confdefs.h
>>conftest.
$ac_ext
22108 cat >>conftest.
$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 $ac_includes_default
22111 #include <$ac_header>
22113 rm -f conftest.
$ac_objext
22114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22115 (eval $ac_compile) 2>conftest.er1
22117 grep -v '^ *+' conftest.er1
>conftest.err
22119 cat conftest.err
>&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
22122 { ac_try
='test -z "$ac_cxx_werror_flag"
22123 || test ! -s conftest.err'
22124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22125 (eval $ac_try) 2>&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; } &&
22129 { ac_try
='test -s conftest.$ac_objext'
22130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22131 (eval $ac_try) 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22135 ac_header_compiler
=yes
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.
$ac_ext >&5
22140 ac_header_compiler
=no
22142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22144 echo "${ECHO_T}$ac_header_compiler" >&6
22146 # Is the header present?
22147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22149 cat >conftest.
$ac_ext <<_ACEOF
22152 cat confdefs.h
>>conftest.
$ac_ext
22153 cat >>conftest.
$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22155 #include <$ac_header>
22157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22160 grep -v '^ *+' conftest.er1
>conftest.err
22162 cat conftest.err
>&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); } >/dev
/null
; then
22165 if test -s conftest.err
; then
22166 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22167 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22174 if test -z "$ac_cpp_err"; then
22175 ac_header_preproc
=yes
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.
$ac_ext >&5
22180 ac_header_preproc
=no
22182 rm -f conftest.err conftest.
$ac_ext
22183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22184 echo "${ECHO_T}$ac_header_preproc" >&6
22186 # So? What about this header?
22187 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22193 ac_header_preproc
=yes
22196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22210 ## ----------------------------------------- ##
22211 ## Report this to wx-dev@lists.wxwidgets.org ##
22212 ## ----------------------------------------- ##
22215 sed "s/^/$as_me: WARNING: /" >&2
22218 echo "$as_me:$LINENO: checking for $ac_header" >&5
22219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 eval "$as_ac_Header=\$ac_header_preproc"
22225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22230 cat >>confdefs.h
<<_ACEOF
22231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22239 if test "$ac_cv_header_iostream" = "yes" ; then
22242 cat >>confdefs.h
<<\_ACEOF
22243 #define wxUSE_IOSTREAMH 1
22249 ac_cpp
='$CPP $CPPFLAGS'
22250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22257 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22258 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22259 if test "${wx_cv_cpp_bool+set}" = set; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22266 ac_cpp
='$CXXCPP $CPPFLAGS'
22267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22272 cat >conftest.
$ac_ext <<_ACEOF
22275 cat confdefs.h
>>conftest.
$ac_ext
22276 cat >>conftest.
$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22292 rm -f conftest.
$ac_objext
22293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22294 (eval $ac_compile) 2>conftest.er1
22296 grep -v '^ *+' conftest.er1
>conftest.err
22298 cat conftest.err
>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } &&
22301 { ac_try
='test -z "$ac_cxx_werror_flag"
22302 || test ! -s conftest.err'
22303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304 (eval $ac_try) 2>&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; } &&
22308 { ac_try
='test -s conftest.$ac_objext'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; }; then
22318 echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.
$ac_ext >&5
22326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22329 ac_cpp
='$CPP $CPPFLAGS'
22330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22336 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22337 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22339 if test "$wx_cv_cpp_bool" = "yes"; then
22340 cat >>confdefs.h
<<\_ACEOF
22341 #define HAVE_BOOL 1
22348 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22349 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22350 if test "${wx_cv_explicit+set}" = set; then
22351 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 ac_cpp
='$CXXCPP $CPPFLAGS'
22358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22363 cat >conftest.
$ac_ext <<_ACEOF
22366 cat confdefs.h
>>conftest.
$ac_ext
22367 cat >>conftest.
$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22370 class Foo { public: explicit Foo(int) {} };
22382 rm -f conftest.
$ac_objext
22383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22384 (eval $ac_compile) 2>conftest.er1
22386 grep -v '^ *+' conftest.er1
>conftest.err
22388 cat conftest.err
>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); } &&
22391 { ac_try
='test -z "$ac_cxx_werror_flag"
22392 || test ! -s conftest.err'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; } &&
22398 { ac_try
='test -s conftest.$ac_objext'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; }; then
22405 cat >conftest.
$ac_ext <<_ACEOF
22408 cat confdefs.h
>>conftest.
$ac_ext
22409 cat >>conftest.
$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22412 class Foo { public: explicit Foo(int) {} };
22413 static void TakeFoo(const Foo& foo) { }
22426 rm -f conftest.
$ac_objext
22427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22428 (eval $ac_compile) 2>conftest.er1
22430 grep -v '^ *+' conftest.er1
>conftest.err
22432 cat conftest.err
>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } &&
22435 { ac_try
='test -z "$ac_cxx_werror_flag"
22436 || test ! -s conftest.err'
22437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22438 (eval $ac_try) 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; } &&
22442 { ac_try
='test -s conftest.$ac_objext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.
$ac_ext >&5
22456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.
$ac_ext >&5
22465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22468 ac_cpp
='$CPP $CPPFLAGS'
22469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22475 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22476 echo "${ECHO_T}$wx_cv_explicit" >&6
22478 if test "$wx_cv_explicit" = "yes"; then
22479 cat >>confdefs.h
<<\_ACEOF
22480 #define HAVE_EXPLICIT 1
22486 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22487 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22488 if test "${ac_cv_cxx_const_cast+set}" = set; then
22489 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 ac_cpp
='$CXXCPP $CPPFLAGS'
22495 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22499 cat >conftest.
$ac_ext <<_ACEOF
22502 cat confdefs.h
>>conftest.
$ac_ext
22503 cat >>conftest.
$ac_ext <<_ACEOF
22504 /* end confdefs.h. */
22509 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22514 rm -f conftest.
$ac_objext
22515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22516 (eval $ac_compile) 2>conftest.er1
22518 grep -v '^ *+' conftest.er1
>conftest.err
22520 cat conftest.err
>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } &&
22523 { ac_try
='test -z "$ac_cxx_werror_flag"
22524 || test ! -s conftest.err'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; } &&
22530 { ac_try
='test -s conftest.$ac_objext'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; }; then
22536 ac_cv_cxx_const_cast
=yes
22538 echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.
$ac_ext >&5
22541 ac_cv_cxx_const_cast
=no
22543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22545 ac_cpp
='$CPP $CPPFLAGS'
22546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22552 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22553 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22554 if test "$ac_cv_cxx_const_cast" = yes; then
22556 cat >>confdefs.h
<<\_ACEOF
22557 #define HAVE_CONST_CAST
22562 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22563 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22564 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22565 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 ac_cpp
='$CXXCPP $CPPFLAGS'
22571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22575 cat >conftest.
$ac_ext <<_ACEOF
22578 cat confdefs.h
>>conftest.
$ac_ext
22579 cat >>conftest.
$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581 #include <typeinfo>
22582 class Base { public : Base () {} virtual void f () = 0;};
22583 class Derived : public Base { public : Derived () {} virtual void f () {} };
22584 class Unrelated { public : Unrelated () {} };
22585 int g (Unrelated&) { return 0; }
22590 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22595 rm -f conftest.
$ac_objext
22596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22597 (eval $ac_compile) 2>conftest.er1
22599 grep -v '^ *+' conftest.er1
>conftest.err
22601 cat conftest.err
>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } &&
22604 { ac_try
='test -z "$ac_cxx_werror_flag"
22605 || test ! -s conftest.err'
22606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22607 (eval $ac_try) 2>&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); }; } &&
22611 { ac_try
='test -s conftest.$ac_objext'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 ac_cv_cxx_reinterpret_cast
=yes
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.
$ac_ext >&5
22622 ac_cv_cxx_reinterpret_cast
=no
22624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22626 ac_cpp
='$CPP $CPPFLAGS'
22627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22633 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22634 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22635 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22637 cat >>confdefs.h
<<\_ACEOF
22638 #define HAVE_REINTERPRET_CAST
22643 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22644 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22645 if test "${ac_cv_cxx_static_cast+set}" = set; then
22646 echo $ECHO_N "(cached) $ECHO_C" >&6
22651 ac_cpp
='$CXXCPP $CPPFLAGS'
22652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22656 cat >conftest.
$ac_ext <<_ACEOF
22659 cat confdefs.h
>>conftest.
$ac_ext
22660 cat >>conftest.
$ac_ext <<_ACEOF
22661 /* end confdefs.h. */
22662 #include <typeinfo>
22663 class Base { public : Base () {} virtual void f () = 0; };
22664 class Derived : public Base { public : Derived () {} virtual void f () {} };
22665 int g (Derived&) { return 0; }
22670 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22675 rm -f conftest.
$ac_objext
22676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22677 (eval $ac_compile) 2>conftest.er1
22679 grep -v '^ *+' conftest.er1
>conftest.err
22681 cat conftest.err
>&5
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } &&
22684 { ac_try
='test -z "$ac_cxx_werror_flag"
22685 || test ! -s conftest.err'
22686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22687 (eval $ac_try) 2>&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); }; } &&
22691 { ac_try
='test -s conftest.$ac_objext'
22692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22693 (eval $ac_try) 2>&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); }; }; then
22697 ac_cv_cxx_static_cast
=yes
22699 echo "$as_me: failed program was:" >&5
22700 sed 's/^/| /' conftest.
$ac_ext >&5
22702 ac_cv_cxx_static_cast
=no
22704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22706 ac_cpp
='$CPP $CPPFLAGS'
22707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22713 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22714 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22715 if test "$ac_cv_cxx_static_cast" = yes; then
22717 cat >>confdefs.h
<<\_ACEOF
22718 #define HAVE_STATIC_CAST
22724 if test "x$SUNCXX" = xyes
; then
22725 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22728 if test "x$SUNCC" = xyes
; then
22729 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22732 if test "x$SGICC" = "xyes"; then
22733 CFLAGS
="-woff 3970 $CFLAGS"
22735 if test "x$SGICXX" = "xyes"; then
22736 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22739 if test "x$HPCC" = "xyes"; then
22740 CFLAGS
="+W 2011,2450 $CFLAGS"
22742 if test "x$HPCXX" = "xyes"; then
22743 CXXFLAGS
="+W 2340 $CXXFLAGS"
22746 if test "x$COMPAQCXX" = "xyes"; then
22747 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22750 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22752 ac_cpp
='$CXXCPP $CPPFLAGS'
22753 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22758 if test "$wxUSE_UNICODE" = "yes"; then
22759 std_string
="std::wstring"
22760 char_type
="wchar_t"
22762 std_string
="std::string"
22766 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22767 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22768 cat >conftest.
$ac_ext <<_ACEOF
22771 cat confdefs.h
>>conftest.
$ac_ext
22772 cat >>conftest.
$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22783 rm -f conftest.
$ac_objext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22785 (eval $ac_compile) 2>conftest.er1
22787 grep -v '^ *+' conftest.er1
>conftest.err
22789 cat conftest.err
>&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try
='test -z "$ac_cxx_werror_flag"
22793 || test ! -s conftest.err'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; } &&
22799 { ac_try
='test -s conftest.$ac_objext'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 echo "$as_me:$LINENO: result: yes" >&5
22806 echo "${ECHO_T}yes" >&6
22807 cat >>confdefs.h
<<\_ACEOF
22808 #define HAVE_STD_WSTRING 1
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.
$ac_ext >&5
22815 echo "$as_me:$LINENO: result: no" >&5
22816 echo "${ECHO_T}no" >&6
22817 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22818 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22819 cat >conftest.
$ac_ext <<_ACEOF
22822 cat confdefs.h
>>conftest.
$ac_ext
22823 cat >>conftest.
$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22826 #ifdef HAVE_WCHAR_H
22828 # include <stddef.h>
22830 # include <wchar.h>
22832 #ifdef HAVE_STDLIB_H
22833 # include <stdlib.h>
22841 std::basic_string<$char_type> foo;
22842 const $char_type* dummy = foo.c_str();
22847 rm -f conftest.
$ac_objext
22848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22849 (eval $ac_compile) 2>conftest.er1
22851 grep -v '^ *+' conftest.er1
>conftest.err
22853 cat conftest.err
>&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } &&
22856 { ac_try
='test -z "$ac_cxx_werror_flag"
22857 || test ! -s conftest.err'
22858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859 (eval $ac_try) 2>&5
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); }; } &&
22863 { ac_try
='test -s conftest.$ac_objext'
22864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865 (eval $ac_try) 2>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; }; then
22869 echo "$as_me:$LINENO: result: yes" >&5
22870 echo "${ECHO_T}yes" >&6
22872 echo "$as_me: failed program was:" >&5
22873 sed 's/^/| /' conftest.
$ac_ext >&5
22875 echo "$as_me:$LINENO: result: no" >&5
22876 echo "${ECHO_T}no" >&6
22877 if test "$wxUSE_STL" = "yes"; then
22878 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22879 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22880 { (exit 1); exit 1; }; }
22881 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22882 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22883 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22884 { (exit 1); exit 1; }; }
22886 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22887 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22888 wxUSE_STD_STRING
=no
22893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22899 ac_cpp
='$CPP $CPPFLAGS'
22900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22906 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22908 ac_cpp
='$CXXCPP $CPPFLAGS'
22909 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22914 echo "$as_me:$LINENO: checking for std::istream" >&5
22915 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22916 if test "${ac_cv_type_std__istream+set}" = set; then
22917 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 cat >conftest.
$ac_ext <<_ACEOF
22922 cat confdefs.h
>>conftest.
$ac_ext
22923 cat >>conftest.
$ac_ext <<_ACEOF
22924 /* end confdefs.h. */
22925 #include <iostream>
22930 if ((std::istream *) 0)
22932 if (sizeof (std::istream))
22938 rm -f conftest.
$ac_objext
22939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22940 (eval $ac_compile) 2>conftest.er1
22942 grep -v '^ *+' conftest.er1
>conftest.err
22944 cat conftest.err
>&5
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); } &&
22947 { ac_try
='test -z "$ac_cxx_werror_flag"
22948 || test ! -s conftest.err'
22949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22950 (eval $ac_try) 2>&5
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); }; } &&
22954 { ac_try
='test -s conftest.$ac_objext'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; }; then
22960 ac_cv_type_std__istream
=yes
22962 echo "$as_me: failed program was:" >&5
22963 sed 's/^/| /' conftest.
$ac_ext >&5
22965 ac_cv_type_std__istream
=no
22967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22969 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22970 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22971 if test $ac_cv_type_std__istream = yes; then
22973 cat >>confdefs.h
<<_ACEOF
22974 #define HAVE_STD__ISTREAM 1
22979 wxUSE_STD_IOSTREAM
=no
22981 echo "$as_me:$LINENO: checking for std::ostream" >&5
22982 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22983 if test "${ac_cv_type_std__ostream+set}" = set; then
22984 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 cat >conftest.
$ac_ext <<_ACEOF
22989 cat confdefs.h
>>conftest.
$ac_ext
22990 cat >>conftest.
$ac_ext <<_ACEOF
22991 /* end confdefs.h. */
22992 #include <iostream>
22997 if ((std::ostream *) 0)
22999 if (sizeof (std::ostream))
23005 rm -f conftest.
$ac_objext
23006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23007 (eval $ac_compile) 2>conftest.er1
23009 grep -v '^ *+' conftest.er1
>conftest.err
23011 cat conftest.err
>&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } &&
23014 { ac_try
='test -z "$ac_cxx_werror_flag"
23015 || test ! -s conftest.err'
23016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23017 (eval $ac_try) 2>&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); }; } &&
23021 { ac_try
='test -s conftest.$ac_objext'
23022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23023 (eval $ac_try) 2>&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); }; }; then
23027 ac_cv_type_std__ostream
=yes
23029 echo "$as_me: failed program was:" >&5
23030 sed 's/^/| /' conftest.
$ac_ext >&5
23032 ac_cv_type_std__ostream
=no
23034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23036 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23037 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23038 if test $ac_cv_type_std__ostream = yes; then
23040 cat >>confdefs.h
<<_ACEOF
23041 #define HAVE_STD__OSTREAM 1
23046 wxUSE_STD_IOSTREAM
=no
23050 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23051 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23052 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23053 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23054 { (exit 1); exit 1; }; }
23056 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23057 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23062 ac_cpp
='$CPP $CPPFLAGS'
23063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23069 if test "$wxUSE_STL" = "yes"; then
23071 ac_cpp
='$CXXCPP $CPPFLAGS'
23072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23077 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23078 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23079 cat >conftest.
$ac_ext <<_ACEOF
23082 cat confdefs.h
>>conftest.
$ac_ext
23083 cat >>conftest.
$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23086 #include <functional>
23087 #include <algorithm>
23093 std::vector<int> moo;
23094 std::list<int> foo;
23095 std::vector<int>::iterator it =
23096 std::find_if(moo.begin(), moo.end(),
23097 std::bind2nd(std::less<int>(), 3));
23102 rm -f conftest.
$ac_objext
23103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23104 (eval $ac_compile) 2>conftest.er1
23106 grep -v '^ *+' conftest.er1
>conftest.err
23108 cat conftest.err
>&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } &&
23111 { ac_try
='test -z "$ac_cxx_werror_flag"
23112 || test ! -s conftest.err'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; } &&
23118 { ac_try
='test -s conftest.$ac_objext'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; }; then
23124 echo "$as_me:$LINENO: result: yes" >&5
23125 echo "${ECHO_T}yes" >&6
23127 echo "$as_me: failed program was:" >&5
23128 sed 's/^/| /' conftest.
$ac_ext >&5
23130 echo "$as_me:$LINENO: result: no" >&5
23131 echo "${ECHO_T}no" >&6
23132 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23133 echo "$as_me: error: Basic STL functionality missing" >&2;}
23134 { (exit 1); exit 1; }; }
23136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23138 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23139 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23140 cat >conftest.
$ac_ext <<_ACEOF
23143 cat confdefs.h
>>conftest.
$ac_ext
23144 cat >>conftest.
$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23150 std::string foo, bar;
23152 foo.compare(1, 1, bar);
23153 foo.compare(1, 1, bar, 1, 1);
23155 foo.compare(1, 1, "");
23156 foo.compare(1, 1, "", 2);
23161 rm -f conftest.
$ac_objext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23163 (eval $ac_compile) 2>conftest.er1
23165 grep -v '^ *+' conftest.er1
>conftest.err
23167 cat conftest.err
>&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); } &&
23170 { ac_try
='test -z "$ac_cxx_werror_flag"
23171 || test ! -s conftest.err'
23172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173 (eval $ac_try) 2>&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; } &&
23177 { ac_try
='test -s conftest.$ac_objext'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; }; then
23183 echo "$as_me:$LINENO: result: yes" >&5
23184 echo "${ECHO_T}yes" >&6
23185 cat >>confdefs.h
<<\_ACEOF
23186 #define HAVE_STD_STRING_COMPARE 1
23190 echo "$as_me: failed program was:" >&5
23191 sed 's/^/| /' conftest.
$ac_ext >&5
23193 echo "$as_me:$LINENO: result: no" >&5
23194 echo "${ECHO_T}no" >&6
23196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23198 if test "${ac_cv_header_hash_map+set}" = set; then
23199 echo "$as_me:$LINENO: checking for hash_map" >&5
23200 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23201 if test "${ac_cv_header_hash_map+set}" = set; then
23202 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23205 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23207 # Is the header compilable?
23208 echo "$as_me:$LINENO: checking hash_map usability" >&5
23209 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23210 cat >conftest.
$ac_ext <<_ACEOF
23213 cat confdefs.h
>>conftest.
$ac_ext
23214 cat >>conftest.
$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216 $ac_includes_default
23217 #include <hash_map>
23219 rm -f conftest.
$ac_objext
23220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23221 (eval $ac_compile) 2>conftest.er1
23223 grep -v '^ *+' conftest.er1
>conftest.err
23225 cat conftest.err
>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } &&
23228 { ac_try
='test -z "$ac_cxx_werror_flag"
23229 || test ! -s conftest.err'
23230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231 (eval $ac_try) 2>&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); }; } &&
23235 { ac_try
='test -s conftest.$ac_objext'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; }; then
23241 ac_header_compiler
=yes
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.
$ac_ext >&5
23246 ac_header_compiler
=no
23248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23250 echo "${ECHO_T}$ac_header_compiler" >&6
23252 # Is the header present?
23253 echo "$as_me:$LINENO: checking hash_map presence" >&5
23254 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23255 cat >conftest.
$ac_ext <<_ACEOF
23258 cat confdefs.h
>>conftest.
$ac_ext
23259 cat >>conftest.
$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 #include <hash_map>
23263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23264 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23266 grep -v '^ *+' conftest.er1
>conftest.err
23268 cat conftest.err
>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } >/dev
/null
; then
23271 if test -s conftest.err
; then
23272 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23273 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23280 if test -z "$ac_cpp_err"; then
23281 ac_header_preproc
=yes
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.
$ac_ext >&5
23286 ac_header_preproc
=no
23288 rm -f conftest.err conftest.
$ac_ext
23289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23290 echo "${ECHO_T}$ac_header_preproc" >&6
23292 # So? What about this header?
23293 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23295 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23296 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23297 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23298 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23299 ac_header_preproc
=yes
23302 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23303 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23304 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23305 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23306 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23307 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23308 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23309 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23310 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23311 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23312 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23313 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23316 ## ----------------------------------------- ##
23317 ## Report this to wx-dev@lists.wxwidgets.org ##
23318 ## ----------------------------------------- ##
23321 sed "s/^/$as_me: WARNING: /" >&2
23324 echo "$as_me:$LINENO: checking for hash_map" >&5
23325 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23326 if test "${ac_cv_header_hash_map+set}" = set; then
23327 echo $ECHO_N "(cached) $ECHO_C" >&6
23329 ac_cv_header_hash_map
=$ac_header_preproc
23331 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23332 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23335 if test $ac_cv_header_hash_map = yes; then
23336 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23337 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23338 cat >conftest.
$ac_ext <<_ACEOF
23341 cat confdefs.h
>>conftest.
$ac_ext
23342 cat >>conftest.
$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344 #include <hash_map>
23345 #include <hash_set>
23349 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23350 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23355 rm -f conftest.
$ac_objext
23356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23357 (eval $ac_compile) 2>conftest.er1
23359 grep -v '^ *+' conftest.er1
>conftest.err
23361 cat conftest.err
>&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); } &&
23364 { ac_try
='test -z "$ac_cxx_werror_flag"
23365 || test ! -s conftest.err'
23366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23367 (eval $ac_try) 2>&5
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); }; } &&
23371 { ac_try
='test -s conftest.$ac_objext'
23372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23373 (eval $ac_try) 2>&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); }; }; then
23377 echo "$as_me:$LINENO: result: yes" >&5
23378 echo "${ECHO_T}yes" >&6
23379 cat >>confdefs.h
<<\_ACEOF
23380 #define HAVE_HASH_MAP 1
23383 cat >>confdefs.h
<<\_ACEOF
23384 #define HAVE_STD_HASH_MAP 1
23388 echo "$as_me: failed program was:" >&5
23389 sed 's/^/| /' conftest.
$ac_ext >&5
23391 echo "$as_me:$LINENO: result: no" >&5
23392 echo "${ECHO_T}no" >&6
23394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23400 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23401 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23402 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23403 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23407 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23409 # Is the header compilable?
23410 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23411 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23412 cat >conftest.
$ac_ext <<_ACEOF
23415 cat confdefs.h
>>conftest.
$ac_ext
23416 cat >>conftest.
$ac_ext <<_ACEOF
23417 /* end confdefs.h. */
23418 $ac_includes_default
23419 #include <ext/hash_map>
23421 rm -f conftest.
$ac_objext
23422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23423 (eval $ac_compile) 2>conftest.er1
23425 grep -v '^ *+' conftest.er1
>conftest.err
23427 cat conftest.err
>&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } &&
23430 { ac_try
='test -z "$ac_cxx_werror_flag"
23431 || test ! -s conftest.err'
23432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23433 (eval $ac_try) 2>&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; } &&
23437 { ac_try
='test -s conftest.$ac_objext'
23438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439 (eval $ac_try) 2>&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); }; }; then
23443 ac_header_compiler
=yes
23445 echo "$as_me: failed program was:" >&5
23446 sed 's/^/| /' conftest.
$ac_ext >&5
23448 ac_header_compiler
=no
23450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23452 echo "${ECHO_T}$ac_header_compiler" >&6
23454 # Is the header present?
23455 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23456 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23457 cat >conftest.
$ac_ext <<_ACEOF
23460 cat confdefs.h
>>conftest.
$ac_ext
23461 cat >>conftest.
$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23463 #include <ext/hash_map>
23465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23468 grep -v '^ *+' conftest.er1
>conftest.err
23470 cat conftest.err
>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); } >/dev
/null
; then
23473 if test -s conftest.err
; then
23474 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23475 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23482 if test -z "$ac_cpp_err"; then
23483 ac_header_preproc
=yes
23485 echo "$as_me: failed program was:" >&5
23486 sed 's/^/| /' conftest.
$ac_ext >&5
23488 ac_header_preproc
=no
23490 rm -f conftest.err conftest.
$ac_ext
23491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23492 echo "${ECHO_T}$ac_header_preproc" >&6
23494 # So? What about this header?
23495 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23497 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23498 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23499 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23500 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23501 ac_header_preproc
=yes
23504 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23505 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23506 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23507 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23508 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23509 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23510 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23511 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23512 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23513 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23514 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23515 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23518 ## ----------------------------------------- ##
23519 ## Report this to wx-dev@lists.wxwidgets.org ##
23520 ## ----------------------------------------- ##
23523 sed "s/^/$as_me: WARNING: /" >&2
23526 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23527 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23528 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23531 ac_cv_header_ext_hash_map
=$ac_header_preproc
23533 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23534 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23537 if test $ac_cv_header_ext_hash_map = yes; then
23538 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23539 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23540 cat >conftest.
$ac_ext <<_ACEOF
23543 cat confdefs.h
>>conftest.
$ac_ext
23544 cat >>conftest.
$ac_ext <<_ACEOF
23545 /* end confdefs.h. */
23546 #include <ext/hash_map>
23547 #include <ext/hash_set>
23551 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23552 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23557 rm -f conftest.
$ac_objext
23558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23559 (eval $ac_compile) 2>conftest.er1
23561 grep -v '^ *+' conftest.er1
>conftest.err
23563 cat conftest.err
>&5
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); } &&
23566 { ac_try
='test -z "$ac_cxx_werror_flag"
23567 || test ! -s conftest.err'
23568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23569 (eval $ac_try) 2>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); }; } &&
23573 { ac_try
='test -s conftest.$ac_objext'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; }; then
23579 echo "$as_me:$LINENO: result: yes" >&5
23580 echo "${ECHO_T}yes" >&6
23581 cat >>confdefs.h
<<\_ACEOF
23582 #define HAVE_EXT_HASH_MAP 1
23585 cat >>confdefs.h
<<\_ACEOF
23586 #define HAVE_GNU_CXX_HASH_MAP 1
23590 echo "$as_me: failed program was:" >&5
23591 sed 's/^/| /' conftest.
$ac_ext >&5
23593 echo "$as_me:$LINENO: result: no" >&5
23594 echo "${ECHO_T}no" >&6
23596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23603 ac_cpp
='$CPP $CPPFLAGS'
23604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23612 /usr/local/include \
23614 /usr/Motif-2.1/include \
23615 /usr/Motif-1.2/include \
23616 /usr/include/Motif1.2 \
23619 /usr/openwin/include \
23623 /usr/X11R6/include \
23624 /usr/X11R6.4/include \
23625 /usr/X11R5/include \
23626 /usr/X11R4/include \
23628 /usr/include/X11R6 \
23629 /usr/include/X11R5 \
23630 /usr/include/X11R4 \
23632 /usr/local/X11R6/include \
23633 /usr/local/X11R5/include \
23634 /usr/local/X11R4/include \
23636 /usr/local/include/X11R6 \
23637 /usr/local/include/X11R5 \
23638 /usr/local/include/X11R4 \
23642 /usr/local/X11/include \
23643 /usr/local/include/X11 \
23645 /usr/XFree86/include/X11 \
23648 /usr/openwin/share/include"
23650 echo "$as_me:$LINENO: checking for libraries directory" >&5
23651 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23655 if test "${wx_cv_std_libpath+set}" = set; then
23656 echo $ECHO_N "(cached) $ECHO_C" >&6
23659 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23660 for e
in a so sl dylib dll.a
; do
23662 if test -f $libc; then
23665 cat >conftest.
$ac_ext <<_ACEOF
23666 int main() { return 0; }
23668 rm -f conftest.
$ac_objext conftest
$ac_exeext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670 (eval $ac_link) 2>conftest.er1
23672 grep -v '^ *+' conftest.er1
>conftest.err
23674 cat conftest.err
>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try
='test -z "$ac_c_werror_flag"
23678 || test ! -s conftest.err'
23679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23680 (eval $ac_try) 2>&5
23682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); }; } &&
23684 { ac_try
='test -s conftest$ac_exeext'
23685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686 (eval $ac_try) 2>&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; }; then
23690 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23692 echo "$as_me: failed program was:" >&5
23693 sed 's/^/| /' conftest.
$ac_ext >&5
23696 rm -f conftest.err conftest.
$ac_objext \
23697 conftest
$ac_exeext conftest.
$ac_ext
23699 if test "x$wx_cv_std_libpath" != "x"; then
23705 if test "x$wx_cv_std_libpath" = "x"; then
23706 wx_cv_std_libpath
="lib"
23715 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23716 wx_cv_std_libpath
="lib/64"
23718 wx_cv_std_libpath
="lib"
23723 if test "$ac_cv_sizeof_void_p" = 8 -a \
23724 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23725 wx_cv_std_libpath
="lib64"
23727 wx_cv_std_libpath
="lib"
23732 wx_cv_std_libpath
="lib";
23736 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23737 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23739 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23741 if test "$build" != "$host" -a "$GCC" = yes; then
23742 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23743 cross_root
=`dirname $cross_root`
23744 cross_root
=`dirname $cross_root`
23746 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23747 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23748 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23750 if test -z "$PKG_CONFIG_PATH"; then
23751 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23752 export PKG_CONFIG_PATH
23755 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23758 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23760 if test -f "$ac_dir/X11/Intrinsic.h"; then
23761 ac_find_includes
=$ac_dir
23766 x_includes
=$ac_find_includes
23768 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23771 for ac_dir
in $SEARCH_LIB;
23773 for ac_extension
in a so sl dylib dll.a
; do
23774 if test -f "$ac_dir/libXt.$ac_extension"; then
23775 ac_find_libraries
=$ac_dir
23781 x_libraries
=$ac_find_libraries
23787 cat >confcache
<<\_ACEOF
23788 # This file is a shell script that caches the results of configure
23789 # tests run on this system so they can be shared between configure
23790 # scripts and configure runs, see configure's option --config-cache.
23791 # It is not useful on other systems. If it contains results you don't
23792 # want to keep, you may remove or edit it.
23794 # config.status only pays attention to the cache file if you give it
23795 # the --recheck option to rerun configure.
23797 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23798 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23799 # following values.
23803 # The following way of writing the cache mishandles newlines in values,
23804 # but we know of no workaround that is simple, portable, and efficient.
23805 # So, don't put newlines in cache variables' values.
23806 # Ultrix sh set writes to stderr and can't be redirected directly,
23807 # and sets the high bit in the cache file unless we assign to the vars.
23810 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23812 # `set' does not quote correctly, so add quotes (double-quote
23813 # substitution turns \\\\ into \\, and sed turns \\ into \).
23816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23819 # `set' quotes correctly as required by POSIX, so do not add quotes.
23821 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23828 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23830 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23832 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23833 if test -w $cache_file; then
23834 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23835 cat confcache
>$cache_file
23837 echo "not updating unwritable cache $cache_file"
23842 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23843 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23844 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23845 if test "${wx_cv_lib_glibc21+set}" = set; then
23846 echo $ECHO_N "(cached) $ECHO_C" >&6
23849 cat >conftest.
$ac_ext <<_ACEOF
23852 cat confdefs.h
>>conftest.
$ac_ext
23853 cat >>conftest.
$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855 #include <features.h>
23860 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23868 rm -f conftest.
$ac_objext
23869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23870 (eval $ac_compile) 2>conftest.er1
23872 grep -v '^ *+' conftest.er1
>conftest.err
23874 cat conftest.err
>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); } &&
23877 { ac_try
='test -z "$ac_c_werror_flag"
23878 || test ! -s conftest.err'
23879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23880 (eval $ac_try) 2>&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); }; } &&
23884 { ac_try
='test -s conftest.$ac_objext'
23885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23886 (eval $ac_try) 2>&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); }; }; then
23891 wx_cv_lib_glibc21
=yes
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.
$ac_ext >&5
23898 wx_cv_lib_glibc21
=no
23902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23905 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23906 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23907 if test "$wx_cv_lib_glibc21" = "yes"; then
23908 cat >>confdefs.h
<<\_ACEOF
23909 #define wxHAVE_GLIBC2 1
23915 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23916 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23917 cat >>confdefs.h
<<\_ACEOF
23918 #define _GNU_SOURCE 1
23926 if test "$wxUSE_REGEX" != "no"; then
23927 cat >>confdefs.h
<<\_ACEOF
23928 #define wxUSE_REGEX 1
23932 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23933 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23934 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23935 wxUSE_REGEX
=builtin
23938 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23939 if test "${ac_cv_header_regex_h+set}" = set; then
23940 echo "$as_me:$LINENO: checking for regex.h" >&5
23941 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23942 if test "${ac_cv_header_regex_h+set}" = set; then
23943 echo $ECHO_N "(cached) $ECHO_C" >&6
23945 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23946 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23948 # Is the header compilable?
23949 echo "$as_me:$LINENO: checking regex.h usability" >&5
23950 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23951 cat >conftest.
$ac_ext <<_ACEOF
23954 cat confdefs.h
>>conftest.
$ac_ext
23955 cat >>conftest.
$ac_ext <<_ACEOF
23956 /* end confdefs.h. */
23957 $ac_includes_default
23960 rm -f conftest.
$ac_objext
23961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23962 (eval $ac_compile) 2>conftest.er1
23964 grep -v '^ *+' conftest.er1
>conftest.err
23966 cat conftest.err
>&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); } &&
23969 { ac_try
='test -z "$ac_c_werror_flag"
23970 || test ! -s conftest.err'
23971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23972 (eval $ac_try) 2>&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); }; } &&
23976 { ac_try
='test -s conftest.$ac_objext'
23977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978 (eval $ac_try) 2>&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; }; then
23982 ac_header_compiler
=yes
23984 echo "$as_me: failed program was:" >&5
23985 sed 's/^/| /' conftest.
$ac_ext >&5
23987 ac_header_compiler
=no
23989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23991 echo "${ECHO_T}$ac_header_compiler" >&6
23993 # Is the header present?
23994 echo "$as_me:$LINENO: checking regex.h presence" >&5
23995 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23996 cat >conftest.
$ac_ext <<_ACEOF
23999 cat confdefs.h
>>conftest.
$ac_ext
24000 cat >>conftest.
$ac_ext <<_ACEOF
24001 /* end confdefs.h. */
24004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24007 grep -v '^ *+' conftest.er1
>conftest.err
24009 cat conftest.err
>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); } >/dev
/null
; then
24012 if test -s conftest.err
; then
24013 ac_cpp_err
=$ac_c_preproc_warn_flag
24014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24021 if test -z "$ac_cpp_err"; then
24022 ac_header_preproc
=yes
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.
$ac_ext >&5
24027 ac_header_preproc
=no
24029 rm -f conftest.err conftest.
$ac_ext
24030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24031 echo "${ECHO_T}$ac_header_preproc" >&6
24033 # So? What about this header?
24034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24036 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24037 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24038 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24039 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24040 ac_header_preproc
=yes
24043 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24044 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24045 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24046 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24047 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24048 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24049 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24050 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24051 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24052 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24053 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24054 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24057 ## ----------------------------------------- ##
24058 ## Report this to wx-dev@lists.wxwidgets.org ##
24059 ## ----------------------------------------- ##
24062 sed "s/^/$as_me: WARNING: /" >&2
24065 echo "$as_me:$LINENO: checking for regex.h" >&5
24066 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24067 if test "${ac_cv_header_regex_h+set}" = set; then
24068 echo $ECHO_N "(cached) $ECHO_C" >&6
24070 ac_cv_header_regex_h
=$ac_header_preproc
24072 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24073 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24076 if test $ac_cv_header_regex_h = yes; then
24079 for ac_func
in regcomp re_search
24081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24082 echo "$as_me:$LINENO: checking for $ac_func" >&5
24083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24084 if eval "test \"\${$as_ac_var+set}\" = set"; then
24085 echo $ECHO_N "(cached) $ECHO_C" >&6
24087 cat >conftest.
$ac_ext <<_ACEOF
24090 cat confdefs.h
>>conftest.
$ac_ext
24091 cat >>conftest.
$ac_ext <<_ACEOF
24092 /* end confdefs.h. */
24093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24095 #define $ac_func innocuous_$ac_func
24097 /* System header to define __stub macros and hopefully few prototypes,
24098 which can conflict with char $ac_func (); below.
24099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24100 <limits.h> exists even on freestanding compilers. */
24103 # include <limits.h>
24105 # include <assert.h>
24110 /* Override any gcc2 internal prototype to avoid an error. */
24115 /* We use char because int might match the return type of a gcc2
24116 builtin and then its argument prototype would still apply. */
24118 /* The GNU C library defines this for functions which it implements
24119 to always fail with ENOSYS. Some functions are actually named
24120 something starting with __ and the normal name is an alias. */
24121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24124 char (*f) () = $ac_func;
24133 return f != $ac_func;
24138 rm -f conftest.
$ac_objext conftest
$ac_exeext
24139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24140 (eval $ac_link) 2>conftest.er1
24142 grep -v '^ *+' conftest.er1
>conftest.err
24144 cat conftest.err
>&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } &&
24147 { ac_try
='test -z "$ac_c_werror_flag"
24148 || test ! -s conftest.err'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; } &&
24154 { ac_try
='test -s conftest$ac_exeext'
24155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24156 (eval $ac_try) 2>&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); }; }; then
24160 eval "$as_ac_var=yes"
24162 echo "$as_me: failed program was:" >&5
24163 sed 's/^/| /' conftest.
$ac_ext >&5
24165 eval "$as_ac_var=no"
24167 rm -f conftest.err conftest.
$ac_objext \
24168 conftest
$ac_exeext conftest.
$ac_ext
24170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24172 if test `eval echo '${'$as_ac_var'}'` = yes; then
24173 cat >>confdefs.h
<<_ACEOF
24174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24184 if test "x$ac_cv_func_regcomp" != "xyes"; then
24185 if test "$wxUSE_REGEX" = "sys" ; then
24186 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24187 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24188 { (exit 1); exit 1; }; }
24190 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24191 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24192 wxUSE_REGEX
=builtin
24196 cat >>confdefs.h
<<\_ACEOF
24197 #define WX_NO_REGEX_ADVANCED 1
24206 if test "$wxUSE_ZLIB" != "no" ; then
24207 cat >>confdefs.h
<<\_ACEOF
24208 #define wxUSE_ZLIB 1
24212 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24213 if test "$USE_DARWIN" = 1; then
24214 system_zlib_h_ok
="yes"
24216 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24217 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24218 if test "${ac_cv_header_zlib_h+set}" = set; then
24219 echo $ECHO_N "(cached) $ECHO_C" >&6
24221 if test "$cross_compiling" = yes; then
24222 unset ac_cv_header_zlib_h
24225 cat >conftest.
$ac_ext <<_ACEOF
24228 cat confdefs.h
>>conftest.
$ac_ext
24229 cat >>conftest.
$ac_ext <<_ACEOF
24230 /* end confdefs.h. */
24237 FILE *f=fopen("conftestval", "w");
24240 ZLIB_VERSION[0] == '1' &&
24241 (ZLIB_VERSION[2] > '1' ||
24242 (ZLIB_VERSION[2] == '1' &&
24243 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24248 rm -f conftest
$ac_exeext
24249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24250 (eval $ac_link) 2>&5
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24255 (eval $ac_try) 2>&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); }; }; then
24259 ac_cv_header_zlib_h
=`cat conftestval`
24261 echo "$as_me: program exited with status $ac_status" >&5
24262 echo "$as_me: failed program was:" >&5
24263 sed 's/^/| /' conftest.
$ac_ext >&5
24265 ( exit $ac_status )
24266 ac_cv_header_zlib_h
=no
24268 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24272 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24273 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24274 if test "${ac_cv_header_zlib_h+set}" = set; then
24275 echo "$as_me:$LINENO: checking for zlib.h" >&5
24276 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24277 if test "${ac_cv_header_zlib_h+set}" = set; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24281 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24283 # Is the header compilable?
24284 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24285 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24286 cat >conftest.
$ac_ext <<_ACEOF
24289 cat confdefs.h
>>conftest.
$ac_ext
24290 cat >>conftest.
$ac_ext <<_ACEOF
24291 /* end confdefs.h. */
24292 $ac_includes_default
24295 rm -f conftest.
$ac_objext
24296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24297 (eval $ac_compile) 2>conftest.er1
24299 grep -v '^ *+' conftest.er1
>conftest.err
24301 cat conftest.err
>&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } &&
24304 { ac_try
='test -z "$ac_c_werror_flag"
24305 || test ! -s conftest.err'
24306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24307 (eval $ac_try) 2>&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); }; } &&
24311 { ac_try
='test -s conftest.$ac_objext'
24312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313 (eval $ac_try) 2>&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); }; }; then
24317 ac_header_compiler
=yes
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.
$ac_ext >&5
24322 ac_header_compiler
=no
24324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24326 echo "${ECHO_T}$ac_header_compiler" >&6
24328 # Is the header present?
24329 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24330 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24331 cat >conftest.
$ac_ext <<_ACEOF
24334 cat confdefs.h
>>conftest.
$ac_ext
24335 cat >>conftest.
$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24342 grep -v '^ *+' conftest.er1
>conftest.err
24344 cat conftest.err
>&5
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); } >/dev
/null
; then
24347 if test -s conftest.err
; then
24348 ac_cpp_err
=$ac_c_preproc_warn_flag
24349 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24356 if test -z "$ac_cpp_err"; then
24357 ac_header_preproc
=yes
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.
$ac_ext >&5
24362 ac_header_preproc
=no
24364 rm -f conftest.err conftest.
$ac_ext
24365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24366 echo "${ECHO_T}$ac_header_preproc" >&6
24368 # So? What about this header?
24369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24371 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24372 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24373 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24374 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24375 ac_header_preproc
=yes
24378 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24379 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24380 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24381 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24382 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24383 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24384 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24385 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24386 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24387 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24388 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24389 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24392 ## ----------------------------------------- ##
24393 ## Report this to wx-dev@lists.wxwidgets.org ##
24394 ## ----------------------------------------- ##
24397 sed "s/^/$as_me: WARNING: /" >&2
24400 echo "$as_me:$LINENO: checking for zlib.h" >&5
24401 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24402 if test "${ac_cv_header_zlib_h+set}" = set; then
24403 echo $ECHO_N "(cached) $ECHO_C" >&6
24405 ac_cv_header_zlib_h
=$ac_header_preproc
24407 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24408 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24414 system_zlib_h_ok
=$ac_cv_header_zlib_h
24417 if test "$system_zlib_h_ok" = "yes"; then
24418 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24419 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24420 if test "${ac_cv_lib_z_deflate+set}" = set; then
24421 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 ac_check_lib_save_LIBS
=$LIBS
24425 cat >conftest.
$ac_ext <<_ACEOF
24428 cat confdefs.h
>>conftest.
$ac_ext
24429 cat >>conftest.
$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24432 /* Override any gcc2 internal prototype to avoid an error. */
24436 /* We use char because int might match the return type of a gcc2
24437 builtin and then its argument prototype would still apply. */
24447 rm -f conftest.
$ac_objext conftest
$ac_exeext
24448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24449 (eval $ac_link) 2>conftest.er1
24451 grep -v '^ *+' conftest.er1
>conftest.err
24453 cat conftest.err
>&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); } &&
24456 { ac_try
='test -z "$ac_c_werror_flag"
24457 || test ! -s conftest.err'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; } &&
24463 { ac_try
='test -s conftest$ac_exeext'
24464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465 (eval $ac_try) 2>&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; }; then
24469 ac_cv_lib_z_deflate
=yes
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.
$ac_ext >&5
24474 ac_cv_lib_z_deflate
=no
24476 rm -f conftest.err conftest.
$ac_objext \
24477 conftest
$ac_exeext conftest.
$ac_ext
24478 LIBS
=$ac_check_lib_save_LIBS
24480 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24481 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24482 if test $ac_cv_lib_z_deflate = yes; then
24488 if test "x$ZLIB_LINK" = "x" ; then
24489 if test "$wxUSE_ZLIB" = "sys" ; then
24490 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24491 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24492 { (exit 1); exit 1; }; }
24494 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24495 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24506 if test "$wxUSE_LIBPNG" != "no" ; then
24507 cat >>confdefs.h
<<\_ACEOF
24508 #define wxUSE_LIBPNG 1
24512 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24513 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24514 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24518 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24519 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24520 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24521 wxUSE_LIBPNG
=builtin
24524 if test "$wxUSE_MGL" != 1 ; then
24525 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24526 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24527 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24528 if test "${ac_cv_header_png_h+set}" = set; then
24529 echo $ECHO_N "(cached) $ECHO_C" >&6
24531 if test "$cross_compiling" = yes; then
24532 unset ac_cv_header_png_h
24535 cat >conftest.
$ac_ext <<_ACEOF
24538 cat confdefs.h
>>conftest.
$ac_ext
24539 cat >>conftest.
$ac_ext <<_ACEOF
24540 /* end confdefs.h. */
24547 FILE *f=fopen("conftestval", "w");
24550 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24555 rm -f conftest
$ac_exeext
24556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24557 (eval $ac_link) 2>&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 ac_cv_header_png_h
=`cat conftestval`
24568 echo "$as_me: program exited with status $ac_status" >&5
24569 echo "$as_me: failed program was:" >&5
24570 sed 's/^/| /' conftest.
$ac_ext >&5
24572 ( exit $ac_status )
24573 ac_cv_header_png_h
=no
24575 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24579 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24580 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24581 if test "${ac_cv_header_png_h+set}" = set; then
24582 echo "$as_me:$LINENO: checking for png.h" >&5
24583 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24584 if test "${ac_cv_header_png_h+set}" = set; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24588 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24590 # Is the header compilable?
24591 echo "$as_me:$LINENO: checking png.h usability" >&5
24592 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24593 cat >conftest.
$ac_ext <<_ACEOF
24596 cat confdefs.h
>>conftest.
$ac_ext
24597 cat >>conftest.
$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24599 $ac_includes_default
24602 rm -f conftest.
$ac_objext
24603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24604 (eval $ac_compile) 2>conftest.er1
24606 grep -v '^ *+' conftest.er1
>conftest.err
24608 cat conftest.err
>&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } &&
24611 { ac_try
='test -z "$ac_c_werror_flag"
24612 || test ! -s conftest.err'
24613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24614 (eval $ac_try) 2>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); }; } &&
24618 { ac_try
='test -s conftest.$ac_objext'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; }; then
24624 ac_header_compiler
=yes
24626 echo "$as_me: failed program was:" >&5
24627 sed 's/^/| /' conftest.
$ac_ext >&5
24629 ac_header_compiler
=no
24631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24633 echo "${ECHO_T}$ac_header_compiler" >&6
24635 # Is the header present?
24636 echo "$as_me:$LINENO: checking png.h presence" >&5
24637 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24638 cat >conftest.
$ac_ext <<_ACEOF
24641 cat confdefs.h
>>conftest.
$ac_ext
24642 cat >>conftest.
$ac_ext <<_ACEOF
24643 /* end confdefs.h. */
24646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24649 grep -v '^ *+' conftest.er1
>conftest.err
24651 cat conftest.err
>&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } >/dev
/null
; then
24654 if test -s conftest.err
; then
24655 ac_cpp_err
=$ac_c_preproc_warn_flag
24656 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24663 if test -z "$ac_cpp_err"; then
24664 ac_header_preproc
=yes
24666 echo "$as_me: failed program was:" >&5
24667 sed 's/^/| /' conftest.
$ac_ext >&5
24669 ac_header_preproc
=no
24671 rm -f conftest.err conftest.
$ac_ext
24672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24673 echo "${ECHO_T}$ac_header_preproc" >&6
24675 # So? What about this header?
24676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24678 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24679 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24680 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24681 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24682 ac_header_preproc
=yes
24685 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24686 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24687 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24688 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24689 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24690 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24691 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24692 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24693 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24694 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24695 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24696 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24699 ## ----------------------------------------- ##
24700 ## Report this to wx-dev@lists.wxwidgets.org ##
24701 ## ----------------------------------------- ##
24704 sed "s/^/$as_me: WARNING: /" >&2
24707 echo "$as_me:$LINENO: checking for png.h" >&5
24708 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24709 if test "${ac_cv_header_png_h+set}" = set; then
24710 echo $ECHO_N "(cached) $ECHO_C" >&6
24712 ac_cv_header_png_h
=$ac_header_preproc
24714 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24715 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24721 if test "$ac_cv_header_png_h" = "yes"; then
24722 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24723 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24724 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24727 ac_check_lib_save_LIBS
=$LIBS
24728 LIBS
="-lpng -lz -lm $LIBS"
24729 cat >conftest.
$ac_ext <<_ACEOF
24732 cat confdefs.h
>>conftest.
$ac_ext
24733 cat >>conftest.
$ac_ext <<_ACEOF
24734 /* end confdefs.h. */
24736 /* Override any gcc2 internal prototype to avoid an error. */
24740 /* We use char because int might match the return type of a gcc2
24741 builtin and then its argument prototype would still apply. */
24742 char png_check_sig ();
24751 rm -f conftest.
$ac_objext conftest
$ac_exeext
24752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24753 (eval $ac_link) 2>conftest.er1
24755 grep -v '^ *+' conftest.er1
>conftest.err
24757 cat conftest.err
>&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try
='test -z "$ac_c_werror_flag"
24761 || test ! -s conftest.err'
24762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24763 (eval $ac_try) 2>&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); }; } &&
24767 { ac_try
='test -s conftest$ac_exeext'
24768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769 (eval $ac_try) 2>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; }; then
24773 ac_cv_lib_png_png_check_sig
=yes
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.
$ac_ext >&5
24778 ac_cv_lib_png_png_check_sig
=no
24780 rm -f conftest.err conftest.
$ac_objext \
24781 conftest
$ac_exeext conftest.
$ac_ext
24782 LIBS
=$ac_check_lib_save_LIBS
24784 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24785 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24786 if test $ac_cv_lib_png_png_check_sig = yes; then
24787 PNG_LINK
=" -lpng -lz"
24792 if test "x$PNG_LINK" = "x" ; then
24793 if test "$wxUSE_LIBPNG" = "sys" ; then
24794 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24795 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24796 { (exit 1); exit 1; }; }
24798 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24799 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24800 wxUSE_LIBPNG
=builtin
24808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24813 if test "$wxUSE_LIBJPEG" != "no" ; then
24814 cat >>confdefs.h
<<\_ACEOF
24815 #define wxUSE_LIBJPEG 1
24819 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24820 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24821 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24825 if test "$wxUSE_MGL" != 1 ; then
24826 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24827 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24828 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24829 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24832 cat >conftest.
$ac_ext <<_ACEOF
24835 cat confdefs.h
>>conftest.
$ac_ext
24836 cat >>conftest.
$ac_ext <<_ACEOF
24837 /* end confdefs.h. */
24839 #undef HAVE_STDLIB_H
24841 #include <jpeglib.h>
24852 rm -f conftest.
$ac_objext
24853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24854 (eval $ac_compile) 2>conftest.er1
24856 grep -v '^ *+' conftest.er1
>conftest.err
24858 cat conftest.err
>&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } &&
24861 { ac_try
='test -z "$ac_c_werror_flag"
24862 || test ! -s conftest.err'
24863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24864 (eval $ac_try) 2>&5
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); }; } &&
24868 { ac_try
='test -s conftest.$ac_objext'
24869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870 (eval $ac_try) 2>&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); }; }; then
24874 ac_cv_header_jpeglib_h
=yes
24876 echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.
$ac_ext >&5
24879 ac_cv_header_jpeglib_h
=no
24882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24886 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24887 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24889 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24890 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24891 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24892 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24895 ac_check_lib_save_LIBS
=$LIBS
24896 LIBS
="-ljpeg $LIBS"
24897 cat >conftest.
$ac_ext <<_ACEOF
24900 cat confdefs.h
>>conftest.
$ac_ext
24901 cat >>conftest.
$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24904 /* Override any gcc2 internal prototype to avoid an error. */
24908 /* We use char because int might match the return type of a gcc2
24909 builtin and then its argument prototype would still apply. */
24910 char jpeg_read_header ();
24914 jpeg_read_header ();
24919 rm -f conftest.
$ac_objext conftest
$ac_exeext
24920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24921 (eval $ac_link) 2>conftest.er1
24923 grep -v '^ *+' conftest.er1
>conftest.err
24925 cat conftest.err
>&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); } &&
24928 { ac_try
='test -z "$ac_c_werror_flag"
24929 || test ! -s conftest.err'
24930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24931 (eval $ac_try) 2>&5
24933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24934 (exit $ac_status); }; } &&
24935 { ac_try
='test -s conftest$ac_exeext'
24936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24937 (eval $ac_try) 2>&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); }; }; then
24941 ac_cv_lib_jpeg_jpeg_read_header
=yes
24943 echo "$as_me: failed program was:" >&5
24944 sed 's/^/| /' conftest.
$ac_ext >&5
24946 ac_cv_lib_jpeg_jpeg_read_header
=no
24948 rm -f conftest.err conftest.
$ac_objext \
24949 conftest
$ac_exeext conftest.
$ac_ext
24950 LIBS
=$ac_check_lib_save_LIBS
24952 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24953 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24954 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24955 JPEG_LINK
=" -ljpeg"
24960 if test "x$JPEG_LINK" = "x" ; then
24961 if test "$wxUSE_LIBJPEG" = "sys" ; then
24962 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24963 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24964 { (exit 1); exit 1; }; }
24966 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24967 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24968 wxUSE_LIBJPEG
=builtin
24979 TIFF_PREREQ_LINKS
=-lm
24980 if test "$wxUSE_LIBTIFF" != "no" ; then
24981 cat >>confdefs.h
<<\_ACEOF
24982 #define wxUSE_LIBTIFF 1
24986 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24987 if test "$wxUSE_LIBJPEG" = "sys"; then
24988 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24990 if test "$wxUSE_ZLIB" = "sys"; then
24991 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24993 if test "${ac_cv_header_tiffio_h+set}" = set; then
24994 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24995 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24996 if test "${ac_cv_header_tiffio_h+set}" = set; then
24997 echo $ECHO_N "(cached) $ECHO_C" >&6
24999 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25000 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25002 # Is the header compilable?
25003 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25004 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25005 cat >conftest.
$ac_ext <<_ACEOF
25008 cat confdefs.h
>>conftest.
$ac_ext
25009 cat >>conftest.
$ac_ext <<_ACEOF
25010 /* end confdefs.h. */
25011 $ac_includes_default
25012 #include <tiffio.h>
25014 rm -f conftest.
$ac_objext
25015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25016 (eval $ac_compile) 2>conftest.er1
25018 grep -v '^ *+' conftest.er1
>conftest.err
25020 cat conftest.err
>&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); } &&
25023 { ac_try
='test -z "$ac_c_werror_flag"
25024 || test ! -s conftest.err'
25025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25026 (eval $ac_try) 2>&5
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); }; } &&
25030 { ac_try
='test -s conftest.$ac_objext'
25031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25032 (eval $ac_try) 2>&5
25034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035 (exit $ac_status); }; }; then
25036 ac_header_compiler
=yes
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.
$ac_ext >&5
25041 ac_header_compiler
=no
25043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25045 echo "${ECHO_T}$ac_header_compiler" >&6
25047 # Is the header present?
25048 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25049 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25050 cat >conftest.
$ac_ext <<_ACEOF
25053 cat confdefs.h
>>conftest.
$ac_ext
25054 cat >>conftest.
$ac_ext <<_ACEOF
25055 /* end confdefs.h. */
25056 #include <tiffio.h>
25058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25061 grep -v '^ *+' conftest.er1
>conftest.err
25063 cat conftest.err
>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } >/dev
/null
; then
25066 if test -s conftest.err
; then
25067 ac_cpp_err
=$ac_c_preproc_warn_flag
25068 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25075 if test -z "$ac_cpp_err"; then
25076 ac_header_preproc
=yes
25078 echo "$as_me: failed program was:" >&5
25079 sed 's/^/| /' conftest.
$ac_ext >&5
25081 ac_header_preproc
=no
25083 rm -f conftest.err conftest.
$ac_ext
25084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25085 echo "${ECHO_T}$ac_header_preproc" >&6
25087 # So? What about this header?
25088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25090 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25091 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25092 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25093 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25094 ac_header_preproc
=yes
25097 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25098 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25099 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25100 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25101 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25102 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25103 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25104 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25105 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25106 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25107 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25108 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25111 ## ----------------------------------------- ##
25112 ## Report this to wx-dev@lists.wxwidgets.org ##
25113 ## ----------------------------------------- ##
25116 sed "s/^/$as_me: WARNING: /" >&2
25119 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25120 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25121 if test "${ac_cv_header_tiffio_h+set}" = set; then
25122 echo $ECHO_N "(cached) $ECHO_C" >&6
25124 ac_cv_header_tiffio_h
=$ac_header_preproc
25126 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25127 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25130 if test $ac_cv_header_tiffio_h = yes; then
25132 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25133 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25134 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 ac_check_lib_save_LIBS
=$LIBS
25138 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25139 cat >conftest.
$ac_ext <<_ACEOF
25142 cat confdefs.h
>>conftest.
$ac_ext
25143 cat >>conftest.
$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25146 /* Override any gcc2 internal prototype to avoid an error. */
25150 /* We use char because int might match the return type of a gcc2
25151 builtin and then its argument prototype would still apply. */
25161 rm -f conftest.
$ac_objext conftest
$ac_exeext
25162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25163 (eval $ac_link) 2>conftest.er1
25165 grep -v '^ *+' conftest.er1
>conftest.err
25167 cat conftest.err
>&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try
='test -z "$ac_c_werror_flag"
25171 || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try
='test -s conftest$ac_exeext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 ac_cv_lib_tiff_TIFFError
=yes
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.
$ac_ext >&5
25188 ac_cv_lib_tiff_TIFFError
=no
25190 rm -f conftest.err conftest.
$ac_objext \
25191 conftest
$ac_exeext conftest.
$ac_ext
25192 LIBS
=$ac_check_lib_save_LIBS
25194 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25195 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25196 if test $ac_cv_lib_tiff_TIFFError = yes; then
25197 TIFF_LINK
=" -ltiff"
25206 if test "x$TIFF_LINK" = "x" ; then
25207 if test "$wxUSE_LIBTIFF" = "sys" ; then
25208 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25209 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25210 { (exit 1); exit 1; }; }
25212 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25213 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25214 wxUSE_LIBTIFF
=builtin
25223 if test "$wxUSE_WCHAR_T" != "yes"; then
25224 if test "$wxUSE_EXPAT" != "no"; then
25225 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25226 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25229 if test "$wxUSE_XML" != "no"; then
25230 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25231 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25236 if test "$wxUSE_EXPAT" != "no"; then
25238 cat >>confdefs.h
<<\_ACEOF
25239 #define wxUSE_EXPAT 1
25242 cat >>confdefs.h
<<\_ACEOF
25243 #define wxUSE_XML 1
25247 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25248 if test "${ac_cv_header_expat_h+set}" = set; then
25249 echo "$as_me:$LINENO: checking for expat.h" >&5
25250 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25251 if test "${ac_cv_header_expat_h+set}" = set; then
25252 echo $ECHO_N "(cached) $ECHO_C" >&6
25254 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25255 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25257 # Is the header compilable?
25258 echo "$as_me:$LINENO: checking expat.h usability" >&5
25259 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25260 cat >conftest.
$ac_ext <<_ACEOF
25263 cat confdefs.h
>>conftest.
$ac_ext
25264 cat >>conftest.
$ac_ext <<_ACEOF
25265 /* end confdefs.h. */
25266 $ac_includes_default
25269 rm -f conftest.
$ac_objext
25270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25271 (eval $ac_compile) 2>conftest.er1
25273 grep -v '^ *+' conftest.er1
>conftest.err
25275 cat conftest.err
>&5
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); } &&
25278 { ac_try
='test -z "$ac_c_werror_flag"
25279 || test ! -s conftest.err'
25280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25281 (eval $ac_try) 2>&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); }; } &&
25285 { ac_try
='test -s conftest.$ac_objext'
25286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287 (eval $ac_try) 2>&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; }; then
25291 ac_header_compiler
=yes
25293 echo "$as_me: failed program was:" >&5
25294 sed 's/^/| /' conftest.
$ac_ext >&5
25296 ac_header_compiler
=no
25298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25300 echo "${ECHO_T}$ac_header_compiler" >&6
25302 # Is the header present?
25303 echo "$as_me:$LINENO: checking expat.h presence" >&5
25304 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25305 cat >conftest.
$ac_ext <<_ACEOF
25308 cat confdefs.h
>>conftest.
$ac_ext
25309 cat >>conftest.
$ac_ext <<_ACEOF
25310 /* end confdefs.h. */
25313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25316 grep -v '^ *+' conftest.er1
>conftest.err
25318 cat conftest.err
>&5
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); } >/dev
/null
; then
25321 if test -s conftest.err
; then
25322 ac_cpp_err
=$ac_c_preproc_warn_flag
25323 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25330 if test -z "$ac_cpp_err"; then
25331 ac_header_preproc
=yes
25333 echo "$as_me: failed program was:" >&5
25334 sed 's/^/| /' conftest.
$ac_ext >&5
25336 ac_header_preproc
=no
25338 rm -f conftest.err conftest.
$ac_ext
25339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25340 echo "${ECHO_T}$ac_header_preproc" >&6
25342 # So? What about this header?
25343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25345 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25346 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25347 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25348 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25349 ac_header_preproc
=yes
25352 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25353 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25354 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25355 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25356 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25357 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25358 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25359 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25360 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25361 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25362 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25363 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25366 ## ----------------------------------------- ##
25367 ## Report this to wx-dev@lists.wxwidgets.org ##
25368 ## ----------------------------------------- ##
25371 sed "s/^/$as_me: WARNING: /" >&2
25374 echo "$as_me:$LINENO: checking for expat.h" >&5
25375 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25376 if test "${ac_cv_header_expat_h+set}" = set; then
25377 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 ac_cv_header_expat_h
=$ac_header_preproc
25381 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25382 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25385 if test $ac_cv_header_expat_h = yes; then
25390 if test "x$found_expat_h" = "x1"; then
25391 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25392 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25393 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25394 echo $ECHO_N "(cached) $ECHO_C" >&6
25400 ac_cpp
='$CXXCPP $CPPFLAGS'
25401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25405 cat >conftest.
$ac_ext <<_ACEOF
25408 cat confdefs.h
>>conftest.
$ac_ext
25409 cat >>conftest.
$ac_ext <<_ACEOF
25410 /* end confdefs.h. */
25420 rm -f conftest.
$ac_objext
25421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25422 (eval $ac_compile) 2>conftest.er1
25424 grep -v '^ *+' conftest.er1
>conftest.err
25426 cat conftest.err
>&5
25427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25428 (exit $ac_status); } &&
25429 { ac_try
='test -z "$ac_cxx_werror_flag"
25430 || test ! -s conftest.err'
25431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25432 (eval $ac_try) 2>&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); }; } &&
25436 { ac_try
='test -s conftest.$ac_objext'
25437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25438 (eval $ac_try) 2>&5
25440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25441 (exit $ac_status); }; }; then
25442 wx_cv_expat_is_not_broken
=yes
25444 echo "$as_me: failed program was:" >&5
25445 sed 's/^/| /' conftest.
$ac_ext >&5
25447 wx_cv_expat_is_not_broken
=no
25450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25452 ac_cpp
='$CPP $CPPFLAGS'
25453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25460 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25461 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25462 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25463 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25464 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25465 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25466 echo $ECHO_N "(cached) $ECHO_C" >&6
25468 ac_check_lib_save_LIBS
=$LIBS
25469 LIBS
="-lexpat $LIBS"
25470 cat >conftest.
$ac_ext <<_ACEOF
25473 cat confdefs.h
>>conftest.
$ac_ext
25474 cat >>conftest.
$ac_ext <<_ACEOF
25475 /* end confdefs.h. */
25477 /* Override any gcc2 internal prototype to avoid an error. */
25481 /* We use char because int might match the return type of a gcc2
25482 builtin and then its argument prototype would still apply. */
25483 char XML_ParserCreate ();
25487 XML_ParserCreate ();
25492 rm -f conftest.
$ac_objext conftest
$ac_exeext
25493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25494 (eval $ac_link) 2>conftest.er1
25496 grep -v '^ *+' conftest.er1
>conftest.err
25498 cat conftest.err
>&5
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); } &&
25501 { ac_try
='test -z "$ac_c_werror_flag"
25502 || test ! -s conftest.err'
25503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25504 (eval $ac_try) 2>&5
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 (exit $ac_status); }; } &&
25508 { ac_try
='test -s conftest$ac_exeext'
25509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510 (eval $ac_try) 2>&5
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); }; }; then
25514 ac_cv_lib_expat_XML_ParserCreate
=yes
25516 echo "$as_me: failed program was:" >&5
25517 sed 's/^/| /' conftest.
$ac_ext >&5
25519 ac_cv_lib_expat_XML_ParserCreate
=no
25521 rm -f conftest.err conftest.
$ac_objext \
25522 conftest
$ac_exeext conftest.
$ac_ext
25523 LIBS
=$ac_check_lib_save_LIBS
25525 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25526 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25527 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25528 EXPAT_LINK
=" -lexpat"
25533 if test "x$EXPAT_LINK" = "x" ; then
25534 if test "$wxUSE_EXPAT" = "sys" ; then
25535 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25536 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25537 { (exit 1); exit 1; }; }
25539 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25540 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25541 wxUSE_EXPAT
=builtin
25547 if test "$wxUSE_EXPAT" = "builtin" ; then
25550 subdirs
="$subdirs src/expat"
25557 if test "$wxUSE_LIBMSPACK" != "no"; then
25558 if test "${ac_cv_header_mspack_h+set}" = set; then
25559 echo "$as_me:$LINENO: checking for mspack.h" >&5
25560 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25561 if test "${ac_cv_header_mspack_h+set}" = set; then
25562 echo $ECHO_N "(cached) $ECHO_C" >&6
25564 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25565 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25567 # Is the header compilable?
25568 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25569 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25570 cat >conftest.
$ac_ext <<_ACEOF
25573 cat confdefs.h
>>conftest.
$ac_ext
25574 cat >>conftest.
$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25576 $ac_includes_default
25577 #include <mspack.h>
25579 rm -f conftest.
$ac_objext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25581 (eval $ac_compile) 2>conftest.er1
25583 grep -v '^ *+' conftest.er1
>conftest.err
25585 cat conftest.err
>&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try
='test -z "$ac_c_werror_flag"
25589 || test ! -s conftest.err'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; } &&
25595 { ac_try
='test -s conftest.$ac_objext'
25596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597 (eval $ac_try) 2>&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); }; }; then
25601 ac_header_compiler
=yes
25603 echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.
$ac_ext >&5
25606 ac_header_compiler
=no
25608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25610 echo "${ECHO_T}$ac_header_compiler" >&6
25612 # Is the header present?
25613 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25614 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25615 cat >conftest.
$ac_ext <<_ACEOF
25618 cat confdefs.h
>>conftest.
$ac_ext
25619 cat >>conftest.
$ac_ext <<_ACEOF
25620 /* end confdefs.h. */
25621 #include <mspack.h>
25623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25626 grep -v '^ *+' conftest.er1
>conftest.err
25628 cat conftest.err
>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } >/dev
/null
; then
25631 if test -s conftest.err
; then
25632 ac_cpp_err
=$ac_c_preproc_warn_flag
25633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25640 if test -z "$ac_cpp_err"; then
25641 ac_header_preproc
=yes
25643 echo "$as_me: failed program was:" >&5
25644 sed 's/^/| /' conftest.
$ac_ext >&5
25646 ac_header_preproc
=no
25648 rm -f conftest.err conftest.
$ac_ext
25649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25650 echo "${ECHO_T}$ac_header_preproc" >&6
25652 # So? What about this header?
25653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25655 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25656 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25657 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25658 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25659 ac_header_preproc
=yes
25662 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25663 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25664 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25665 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25666 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25667 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25668 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25669 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25670 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25671 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25672 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25673 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25676 ## ----------------------------------------- ##
25677 ## Report this to wx-dev@lists.wxwidgets.org ##
25678 ## ----------------------------------------- ##
25681 sed "s/^/$as_me: WARNING: /" >&2
25684 echo "$as_me:$LINENO: checking for mspack.h" >&5
25685 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25686 if test "${ac_cv_header_mspack_h+set}" = set; then
25687 echo $ECHO_N "(cached) $ECHO_C" >&6
25689 ac_cv_header_mspack_h
=$ac_header_preproc
25691 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25692 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25695 if test $ac_cv_header_mspack_h = yes; then
25700 if test "x$found_mspack_h" = "x1"; then
25701 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25702 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25703 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 ac_check_lib_save_LIBS
=$LIBS
25707 LIBS
="-lmspack $LIBS"
25708 cat >conftest.
$ac_ext <<_ACEOF
25711 cat confdefs.h
>>conftest.
$ac_ext
25712 cat >>conftest.
$ac_ext <<_ACEOF
25713 /* end confdefs.h. */
25715 /* Override any gcc2 internal prototype to avoid an error. */
25719 /* We use char because int might match the return type of a gcc2
25720 builtin and then its argument prototype would still apply. */
25721 char mspack_create_chm_decompressor ();
25725 mspack_create_chm_decompressor ();
25730 rm -f conftest.
$ac_objext conftest
$ac_exeext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25732 (eval $ac_link) 2>conftest.er1
25734 grep -v '^ *+' conftest.er1
>conftest.err
25736 cat conftest.err
>&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } &&
25739 { ac_try
='test -z "$ac_c_werror_flag"
25740 || test ! -s conftest.err'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; } &&
25746 { ac_try
='test -s conftest$ac_exeext'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; }; then
25752 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.
$ac_ext >&5
25757 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25759 rm -f conftest.err conftest.
$ac_objext \
25760 conftest
$ac_exeext conftest.
$ac_ext
25761 LIBS
=$ac_check_lib_save_LIBS
25763 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25764 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25765 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25766 MSPACK_LINK
=" -lmspack"
25770 if test "x$MSPACK_LINK" = "x" ; then
25775 if test "$wxUSE_LIBMSPACK" != "no"; then
25776 cat >>confdefs.h
<<\_ACEOF
25777 #define wxUSE_LIBMSPACK 1
25791 if test "$USE_WIN32" = 1 ; then
25793 for ac_header
in w32api.h
25795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25797 echo "$as_me:$LINENO: checking for $ac_header" >&5
25798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25800 echo $ECHO_N "(cached) $ECHO_C" >&6
25802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25805 # Is the header compilable?
25806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25808 cat >conftest.
$ac_ext <<_ACEOF
25811 cat confdefs.h
>>conftest.
$ac_ext
25812 cat >>conftest.
$ac_ext <<_ACEOF
25813 /* end confdefs.h. */
25814 $ac_includes_default
25815 #include <$ac_header>
25817 rm -f conftest.
$ac_objext
25818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25819 (eval $ac_compile) 2>conftest.er1
25821 grep -v '^ *+' conftest.er1
>conftest.err
25823 cat conftest.err
>&5
25824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825 (exit $ac_status); } &&
25826 { ac_try
='test -z "$ac_c_werror_flag"
25827 || test ! -s conftest.err'
25828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25829 (eval $ac_try) 2>&5
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); }; } &&
25833 { ac_try
='test -s conftest.$ac_objext'
25834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25835 (eval $ac_try) 2>&5
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); }; }; then
25839 ac_header_compiler
=yes
25841 echo "$as_me: failed program was:" >&5
25842 sed 's/^/| /' conftest.
$ac_ext >&5
25844 ac_header_compiler
=no
25846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25848 echo "${ECHO_T}$ac_header_compiler" >&6
25850 # Is the header present?
25851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25853 cat >conftest.
$ac_ext <<_ACEOF
25856 cat confdefs.h
>>conftest.
$ac_ext
25857 cat >>conftest.
$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25859 #include <$ac_header>
25861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25864 grep -v '^ *+' conftest.er1
>conftest.err
25866 cat conftest.err
>&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } >/dev
/null
; then
25869 if test -s conftest.err
; then
25870 ac_cpp_err
=$ac_c_preproc_warn_flag
25871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25878 if test -z "$ac_cpp_err"; then
25879 ac_header_preproc
=yes
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.
$ac_ext >&5
25884 ac_header_preproc
=no
25886 rm -f conftest.err conftest.
$ac_ext
25887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25888 echo "${ECHO_T}$ac_header_preproc" >&6
25890 # So? What about this header?
25891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25897 ac_header_preproc
=yes
25900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25914 ## ----------------------------------------- ##
25915 ## Report this to wx-dev@lists.wxwidgets.org ##
25916 ## ----------------------------------------- ##
25919 sed "s/^/$as_me: WARNING: /" >&2
25922 echo "$as_me:$LINENO: checking for $ac_header" >&5
25923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25927 eval "$as_ac_Header=\$ac_header_preproc"
25929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25934 cat >>confdefs.h
<<_ACEOF
25935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25942 if test "${ac_cv_header_windows_h+set}" = set; then
25943 echo "$as_me:$LINENO: checking for windows.h" >&5
25944 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25945 if test "${ac_cv_header_windows_h+set}" = set; then
25946 echo $ECHO_N "(cached) $ECHO_C" >&6
25948 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25949 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25951 # Is the header compilable?
25952 echo "$as_me:$LINENO: checking windows.h usability" >&5
25953 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25954 cat >conftest.
$ac_ext <<_ACEOF
25957 cat confdefs.h
>>conftest.
$ac_ext
25958 cat >>conftest.
$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25960 $ac_includes_default
25961 #include <windows.h>
25963 rm -f conftest.
$ac_objext
25964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25965 (eval $ac_compile) 2>conftest.er1
25967 grep -v '^ *+' conftest.er1
>conftest.err
25969 cat conftest.err
>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); } &&
25972 { ac_try
='test -z "$ac_c_werror_flag"
25973 || test ! -s conftest.err'
25974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25975 (eval $ac_try) 2>&5
25977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25978 (exit $ac_status); }; } &&
25979 { ac_try
='test -s conftest.$ac_objext'
25980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25981 (eval $ac_try) 2>&5
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); }; }; then
25985 ac_header_compiler
=yes
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.
$ac_ext >&5
25990 ac_header_compiler
=no
25992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25994 echo "${ECHO_T}$ac_header_compiler" >&6
25996 # Is the header present?
25997 echo "$as_me:$LINENO: checking windows.h presence" >&5
25998 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25999 cat >conftest.
$ac_ext <<_ACEOF
26002 cat confdefs.h
>>conftest.
$ac_ext
26003 cat >>conftest.
$ac_ext <<_ACEOF
26004 /* end confdefs.h. */
26005 #include <windows.h>
26007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26010 grep -v '^ *+' conftest.er1
>conftest.err
26012 cat conftest.err
>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } >/dev
/null
; then
26015 if test -s conftest.err
; then
26016 ac_cpp_err
=$ac_c_preproc_warn_flag
26017 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26024 if test -z "$ac_cpp_err"; then
26025 ac_header_preproc
=yes
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.
$ac_ext >&5
26030 ac_header_preproc
=no
26032 rm -f conftest.err conftest.
$ac_ext
26033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26034 echo "${ECHO_T}$ac_header_preproc" >&6
26036 # So? What about this header?
26037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26039 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26040 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26041 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26042 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26043 ac_header_preproc
=yes
26046 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26047 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26048 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26049 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26050 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26051 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26052 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26053 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26054 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26055 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26056 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26057 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26060 ## ----------------------------------------- ##
26061 ## Report this to wx-dev@lists.wxwidgets.org ##
26062 ## ----------------------------------------- ##
26065 sed "s/^/$as_me: WARNING: /" >&2
26068 echo "$as_me:$LINENO: checking for windows.h" >&5
26069 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26070 if test "${ac_cv_header_windows_h+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26073 ac_cv_header_windows_h
=$ac_header_preproc
26075 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26076 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26079 if test $ac_cv_header_windows_h = yes; then
26083 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26084 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26085 { (exit 1); exit 1; }; }
26091 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26093 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26094 LIBS
="$LIBS -loleacc"
26099 LIBS
="$LIBS -lkernel32 -luser32"
26102 if test "$wxUSE_ODBC" = "sys" ; then
26105 if test "$wxUSE_ODBC" = "yes" ; then
26106 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26107 cat >>confdefs.h
<<\_ACEOF
26108 #define wxUSE_ODBC 1
26113 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26114 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26116 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26118 WIN32INSTALL
=win32install
26121 if test "$wxUSE_GUI" = "yes"; then
26131 if test "$wxUSE_COCOA" = 1 ; then
26132 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26133 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26134 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26135 wxUSE_PRINTING_ARCHITECTURE
=no
26137 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26138 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26139 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26140 wxUSE_DRAG_AND_DROP
=no
26142 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26143 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26144 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26149 if test "$wxUSE_MSW" = 1 ; then
26155 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26159 if test "$wxUSE_GTK" = 1; then
26160 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26161 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26163 gtk_version_cached
=1
26164 if test "${wx_cv_lib_gtk+set}" = set; then
26165 echo $ECHO_N "(cached) $ECHO_C" >&6
26168 gtk_version_cached
=0
26169 echo "$as_me:$LINENO: result: " >&5
26170 echo "${ECHO_T}" >&6
26173 if test "$wxUSE_THREADS" = "yes"; then
26174 GTK_MODULES
=gthread
26178 if test "x$wxGTK_VERSION" != "x1"
26182 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26187 # Check whether --enable-gtktest or --disable-gtktest was given.
26188 if test "${enable_gtktest+set}" = set; then
26189 enableval
="$enable_gtktest"
26195 pkg_config_args
=gtk
+-2.0
26196 for module
in .
$GTK_MODULES
26200 pkg_config_args
="$pkg_config_args gthread-2.0"
26207 # Extract the first word of "pkg-config", so it can be a program name with args.
26208 set dummy pkg
-config; ac_word
=$2
26209 echo "$as_me:$LINENO: checking for $ac_word" >&5
26210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26211 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26212 echo $ECHO_N "(cached) $ECHO_C" >&6
26214 case $PKG_CONFIG in
26216 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26220 for as_dir
in $PATH
26223 test -z "$as_dir" && as_dir
=.
26224 for ac_exec_ext
in '' $ac_executable_extensions; do
26225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26226 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26233 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26237 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26239 if test -n "$PKG_CONFIG"; then
26240 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26241 echo "${ECHO_T}$PKG_CONFIG" >&6
26243 echo "$as_me:$LINENO: result: no" >&5
26244 echo "${ECHO_T}no" >&6
26248 if test x
$PKG_CONFIG != xno
; then
26249 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26252 echo "*** pkg-config too old; version 0.7 or better required."
26260 min_gtk_version
=2.0.0
26261 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26262 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26264 if test x
$PKG_CONFIG != xno
; then
26265 ## don't try to run the test against uninstalled libtool libs
26266 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26267 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26271 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26278 if test x
"$no_gtk" = x
; then
26279 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26280 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26281 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26282 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26283 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26284 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26285 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26286 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26287 if test "x$enable_gtktest" = "xyes" ; then
26288 ac_save_CFLAGS
="$CFLAGS"
26289 ac_save_LIBS
="$LIBS"
26290 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26291 LIBS
="$GTK_LIBS $LIBS"
26293 if test "$cross_compiling" = yes; then
26294 echo $ac_n "cross compiling; assumed OK... $ac_c"
26296 cat >conftest.
$ac_ext <<_ACEOF
26299 cat confdefs.h
>>conftest.
$ac_ext
26300 cat >>conftest.
$ac_ext <<_ACEOF
26301 /* end confdefs.h. */
26303 #include <gtk/gtk.h>
26305 #include <stdlib.h>
26310 int major, minor, micro;
26313 system ("touch conf.gtktest");
26315 /* HP/UX 9 (%@#!) writes to sscanf strings */
26316 tmp_version = g_strdup("$min_gtk_version");
26317 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26318 printf("%s, bad version string\n", "$min_gtk_version");
26322 if ((gtk_major_version != $gtk_config_major_version) ||
26323 (gtk_minor_version != $gtk_config_minor_version) ||
26324 (gtk_micro_version != $gtk_config_micro_version))
26326 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26327 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26328 gtk_major_version, gtk_minor_version, gtk_micro_version);
26329 printf ("*** was found! If pkg-config was correct, then it is best\n");
26330 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26331 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26332 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26333 printf("*** required on your system.\n");
26334 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26335 printf("*** to point to the correct configuration files\n");
26337 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26338 (gtk_minor_version != GTK_MINOR_VERSION) ||
26339 (gtk_micro_version != GTK_MICRO_VERSION))
26341 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26342 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26343 printf("*** library (version %d.%d.%d)\n",
26344 gtk_major_version, gtk_minor_version, gtk_micro_version);
26348 if ((gtk_major_version > major) ||
26349 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26350 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26356 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26357 gtk_major_version, gtk_minor_version, gtk_micro_version);
26358 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26359 major, minor, micro);
26360 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26362 printf("*** If you have already installed a sufficiently new version, this error\n");
26363 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26364 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26365 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26366 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26367 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26368 printf("*** so that the correct libraries are found at run-time))\n");
26375 rm -f conftest
$ac_exeext
26376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26377 (eval $ac_link) 2>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26382 (eval $ac_try) 2>&5
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); }; }; then
26388 echo "$as_me: program exited with status $ac_status" >&5
26389 echo "$as_me: failed program was:" >&5
26390 sed 's/^/| /' conftest.
$ac_ext >&5
26392 ( exit $ac_status )
26395 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26397 CFLAGS
="$ac_save_CFLAGS"
26398 LIBS
="$ac_save_LIBS"
26401 if test "x$no_gtk" = x
; then
26402 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26403 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26406 echo "$as_me:$LINENO: result: no" >&5
26407 echo "${ECHO_T}no" >&6
26408 if test "$PKG_CONFIG" = "no" ; then
26409 echo "*** A new enough version of pkg-config was not found."
26410 echo "*** See http://pkgconfig.sourceforge.net"
26412 if test -f conf.gtktest
; then
26415 echo "*** Could not run GTK+ test program, checking why..."
26416 ac_save_CFLAGS
="$CFLAGS"
26417 ac_save_LIBS
="$LIBS"
26418 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26419 LIBS
="$LIBS $GTK_LIBS"
26420 cat >conftest.
$ac_ext <<_ACEOF
26423 cat confdefs.h
>>conftest.
$ac_ext
26424 cat >>conftest.
$ac_ext <<_ACEOF
26425 /* end confdefs.h. */
26427 #include <gtk/gtk.h>
26433 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26438 rm -f conftest.
$ac_objext conftest
$ac_exeext
26439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26440 (eval $ac_link) 2>conftest.er1
26442 grep -v '^ *+' conftest.er1
>conftest.err
26444 cat conftest.err
>&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } &&
26447 { ac_try
='test -z "$ac_c_werror_flag"
26448 || test ! -s conftest.err'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; } &&
26454 { ac_try
='test -s conftest$ac_exeext'
26455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26456 (eval $ac_try) 2>&5
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; }; then
26460 echo "*** The test program compiled, but did not run. This usually means"
26461 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26462 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26463 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26464 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26465 echo "*** is required on your system"
26467 echo "*** If you have an old version installed, it is best to remove it, although"
26468 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.
$ac_ext >&5
26473 echo "*** The test program failed to compile or link. See the file config.log for the"
26474 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26476 rm -f conftest.err conftest.
$ac_objext \
26477 conftest
$ac_exeext conftest.
$ac_ext
26478 CFLAGS
="$ac_save_CFLAGS"
26479 LIBS
="$ac_save_LIBS"
26493 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26494 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26495 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26497 if test "$wxUSE_SHARED" != "yes"; then
26498 GTK_LIBS
="$GTK_LIBS -lX11"
26503 if test -z "$wx_cv_lib_gtk"; then
26504 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26506 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26507 if test "${with_gtk_prefix+set}" = set; then
26508 withval
="$with_gtk_prefix"
26509 gtk_config_prefix
="$withval"
26511 gtk_config_prefix
=""
26514 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26515 if test "${with_gtk_exec_prefix+set}" = set; then
26516 withval
="$with_gtk_exec_prefix"
26517 gtk_config_exec_prefix
="$withval"
26519 gtk_config_exec_prefix
=""
26521 # Check whether --enable-gtktest or --disable-gtktest was given.
26522 if test "${enable_gtktest+set}" = set; then
26523 enableval
="$enable_gtktest"
26529 for module
in .
$GTK_MODULES
26533 gtk_config_args
="$gtk_config_args gthread"
26538 if test x
$gtk_config_exec_prefix != x
; then
26539 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26540 if test x
${GTK_CONFIG+set} != xset
; then
26541 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26544 if test x
$gtk_config_prefix != x
; then
26545 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26546 if test x
${GTK_CONFIG+set} != xset
; then
26547 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26551 # Extract the first word of "gtk-config", so it can be a program name with args.
26552 set dummy gtk
-config; ac_word
=$2
26553 echo "$as_me:$LINENO: checking for $ac_word" >&5
26554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26555 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26558 case $GTK_CONFIG in
26560 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26564 for as_dir
in $PATH
26567 test -z "$as_dir" && as_dir
=.
26568 for ac_exec_ext
in '' $ac_executable_extensions; do
26569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26570 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26577 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26581 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26583 if test -n "$GTK_CONFIG"; then
26584 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26585 echo "${ECHO_T}$GTK_CONFIG" >&6
26587 echo "$as_me:$LINENO: result: no" >&5
26588 echo "${ECHO_T}no" >&6
26591 min_gtk_version
=1.2.7
26592 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26593 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26595 if test "$GTK_CONFIG" = "no" ; then
26598 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26599 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26600 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26601 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26602 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26603 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26604 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26606 if test "x$enable_gtktest" = "xyes" ; then
26607 ac_save_CFLAGS
="$CFLAGS"
26608 ac_save_LIBS
="$LIBS"
26609 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26610 LIBS
="$GTK_LIBS $LIBS"
26612 if test "$cross_compiling" = yes; then
26613 echo $ac_n "cross compiling; assumed OK... $ac_c"
26615 cat >conftest.
$ac_ext <<_ACEOF
26618 cat confdefs.h
>>conftest.
$ac_ext
26619 cat >>conftest.
$ac_ext <<_ACEOF
26620 /* end confdefs.h. */
26622 #include <gtk/gtk.h>
26624 #include <stdlib.h>
26629 int major, minor, micro;
26632 system ("touch conf.gtktest");
26634 /* HP/UX 9 (%@#!) writes to sscanf strings */
26635 tmp_version = g_strdup("$min_gtk_version");
26636 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26637 printf("%s, bad version string\n", "$min_gtk_version");
26641 if ((gtk_major_version != $gtk_config_major_version) ||
26642 (gtk_minor_version != $gtk_config_minor_version) ||
26643 (gtk_micro_version != $gtk_config_micro_version))
26645 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26646 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26647 gtk_major_version, gtk_minor_version, gtk_micro_version);
26648 printf ("*** was found! If gtk-config was correct, then it is best\n");
26649 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26650 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26651 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26652 printf("*** required on your system.\n");
26653 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26654 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26655 printf("*** before re-running configure\n");
26657 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26658 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26659 (gtk_minor_version != GTK_MINOR_VERSION) ||
26660 (gtk_micro_version != GTK_MICRO_VERSION))
26662 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26663 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26664 printf("*** library (version %d.%d.%d)\n",
26665 gtk_major_version, gtk_minor_version, gtk_micro_version);
26667 #endif /* defined (GTK_MAJOR_VERSION) ... */
26670 if ((gtk_major_version > major) ||
26671 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26672 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26678 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26679 gtk_major_version, gtk_minor_version, gtk_micro_version);
26680 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26681 major, minor, micro);
26682 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26684 printf("*** If you have already installed a sufficiently new version, this error\n");
26685 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26686 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26687 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26688 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26689 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26690 printf("*** so that the correct libraries are found at run-time))\n");
26697 rm -f conftest
$ac_exeext
26698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26699 (eval $ac_link) 2>&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26704 (eval $ac_try) 2>&5
26706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26707 (exit $ac_status); }; }; then
26710 echo "$as_me: program exited with status $ac_status" >&5
26711 echo "$as_me: failed program was:" >&5
26712 sed 's/^/| /' conftest.
$ac_ext >&5
26714 ( exit $ac_status )
26717 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26719 CFLAGS
="$ac_save_CFLAGS"
26720 LIBS
="$ac_save_LIBS"
26723 if test "x$no_gtk" = x
; then
26724 echo "$as_me:$LINENO: result: yes" >&5
26725 echo "${ECHO_T}yes" >&6
26726 wx_cv_lib_gtk
=1.2.7
26728 echo "$as_me:$LINENO: result: no" >&5
26729 echo "${ECHO_T}no" >&6
26730 if test "$GTK_CONFIG" = "no" ; then
26731 echo "*** The gtk-config script installed by GTK could not be found"
26732 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26733 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26734 echo "*** full path to gtk-config."
26736 if test -f conf.gtktest
; then
26739 echo "*** Could not run GTK test program, checking why..."
26740 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26741 LIBS
="$LIBS $GTK_LIBS"
26742 cat >conftest.
$ac_ext <<_ACEOF
26745 cat confdefs.h
>>conftest.
$ac_ext
26746 cat >>conftest.
$ac_ext <<_ACEOF
26747 /* end confdefs.h. */
26749 #include <gtk/gtk.h>
26755 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26760 rm -f conftest.
$ac_objext conftest
$ac_exeext
26761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26762 (eval $ac_link) 2>conftest.er1
26764 grep -v '^ *+' conftest.er1
>conftest.err
26766 cat conftest.err
>&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); } &&
26769 { ac_try
='test -z "$ac_c_werror_flag"
26770 || test ! -s conftest.err'
26771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26772 (eval $ac_try) 2>&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); }; } &&
26776 { ac_try
='test -s conftest$ac_exeext'
26777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26778 (eval $ac_try) 2>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); }; }; then
26782 echo "*** The test program compiled, but did not run. This usually means"
26783 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26784 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26785 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26786 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26787 echo "*** is required on your system"
26789 echo "*** If you have an old version installed, it is best to remove it, although"
26790 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26792 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26793 echo "*** came with the system with the command"
26795 echo "*** rpm --erase --nodeps gtk gtk-devel"
26797 echo "$as_me: failed program was:" >&5
26798 sed 's/^/| /' conftest.
$ac_ext >&5
26800 echo "*** The test program failed to compile or link. See the file config.log for the"
26801 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26802 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26803 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26805 rm -f conftest.err conftest.
$ac_objext \
26806 conftest
$ac_exeext conftest.
$ac_ext
26807 CFLAGS
="$ac_save_CFLAGS"
26808 LIBS
="$ac_save_LIBS"
26820 if test -z "$wx_cv_lib_gtk"; then
26822 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26823 if test "${with_gtk_prefix+set}" = set; then
26824 withval
="$with_gtk_prefix"
26825 gtk_config_prefix
="$withval"
26827 gtk_config_prefix
=""
26830 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26831 if test "${with_gtk_exec_prefix+set}" = set; then
26832 withval
="$with_gtk_exec_prefix"
26833 gtk_config_exec_prefix
="$withval"
26835 gtk_config_exec_prefix
=""
26837 # Check whether --enable-gtktest or --disable-gtktest was given.
26838 if test "${enable_gtktest+set}" = set; then
26839 enableval
="$enable_gtktest"
26845 for module
in .
$GTK_MODULES
26849 gtk_config_args
="$gtk_config_args gthread"
26854 if test x
$gtk_config_exec_prefix != x
; then
26855 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26856 if test x
${GTK_CONFIG+set} != xset
; then
26857 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26860 if test x
$gtk_config_prefix != x
; then
26861 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26862 if test x
${GTK_CONFIG+set} != xset
; then
26863 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26867 # Extract the first word of "gtk-config", so it can be a program name with args.
26868 set dummy gtk
-config; ac_word
=$2
26869 echo "$as_me:$LINENO: checking for $ac_word" >&5
26870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26871 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26872 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 case $GTK_CONFIG in
26876 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26880 for as_dir
in $PATH
26883 test -z "$as_dir" && as_dir
=.
26884 for ac_exec_ext
in '' $ac_executable_extensions; do
26885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26886 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26893 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26897 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26899 if test -n "$GTK_CONFIG"; then
26900 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26901 echo "${ECHO_T}$GTK_CONFIG" >&6
26903 echo "$as_me:$LINENO: result: no" >&5
26904 echo "${ECHO_T}no" >&6
26907 min_gtk_version
=1.2.3
26908 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26909 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26911 if test "$GTK_CONFIG" = "no" ; then
26914 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26915 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26916 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26918 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26920 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26922 if test "x$enable_gtktest" = "xyes" ; then
26923 ac_save_CFLAGS
="$CFLAGS"
26924 ac_save_LIBS
="$LIBS"
26925 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26926 LIBS
="$GTK_LIBS $LIBS"
26928 if test "$cross_compiling" = yes; then
26929 echo $ac_n "cross compiling; assumed OK... $ac_c"
26931 cat >conftest.
$ac_ext <<_ACEOF
26934 cat confdefs.h
>>conftest.
$ac_ext
26935 cat >>conftest.
$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26938 #include <gtk/gtk.h>
26940 #include <stdlib.h>
26945 int major, minor, micro;
26948 system ("touch conf.gtktest");
26950 /* HP/UX 9 (%@#!) writes to sscanf strings */
26951 tmp_version = g_strdup("$min_gtk_version");
26952 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26953 printf("%s, bad version string\n", "$min_gtk_version");
26957 if ((gtk_major_version != $gtk_config_major_version) ||
26958 (gtk_minor_version != $gtk_config_minor_version) ||
26959 (gtk_micro_version != $gtk_config_micro_version))
26961 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26962 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26963 gtk_major_version, gtk_minor_version, gtk_micro_version);
26964 printf ("*** was found! If gtk-config was correct, then it is best\n");
26965 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26966 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26967 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26968 printf("*** required on your system.\n");
26969 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26970 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26971 printf("*** before re-running configure\n");
26973 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26974 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26975 (gtk_minor_version != GTK_MINOR_VERSION) ||
26976 (gtk_micro_version != GTK_MICRO_VERSION))
26978 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26979 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26980 printf("*** library (version %d.%d.%d)\n",
26981 gtk_major_version, gtk_minor_version, gtk_micro_version);
26983 #endif /* defined (GTK_MAJOR_VERSION) ... */
26986 if ((gtk_major_version > major) ||
26987 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26988 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26994 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26995 gtk_major_version, gtk_minor_version, gtk_micro_version);
26996 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26997 major, minor, micro);
26998 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27000 printf("*** If you have already installed a sufficiently new version, this error\n");
27001 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27002 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27003 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27004 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27005 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27006 printf("*** so that the correct libraries are found at run-time))\n");
27013 rm -f conftest
$ac_exeext
27014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27015 (eval $ac_link) 2>&5
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020 (eval $ac_try) 2>&5
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); }; }; then
27026 echo "$as_me: program exited with status $ac_status" >&5
27027 echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.
$ac_ext >&5
27030 ( exit $ac_status )
27033 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27035 CFLAGS
="$ac_save_CFLAGS"
27036 LIBS
="$ac_save_LIBS"
27039 if test "x$no_gtk" = x
; then
27040 echo "$as_me:$LINENO: result: yes" >&5
27041 echo "${ECHO_T}yes" >&6
27042 wx_cv_lib_gtk
=1.2.3
27044 echo "$as_me:$LINENO: result: no" >&5
27045 echo "${ECHO_T}no" >&6
27046 if test "$GTK_CONFIG" = "no" ; then
27047 echo "*** The gtk-config script installed by GTK could not be found"
27048 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27049 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27050 echo "*** full path to gtk-config."
27052 if test -f conf.gtktest
; then
27055 echo "*** Could not run GTK test program, checking why..."
27056 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27057 LIBS
="$LIBS $GTK_LIBS"
27058 cat >conftest.
$ac_ext <<_ACEOF
27061 cat confdefs.h
>>conftest.
$ac_ext
27062 cat >>conftest.
$ac_ext <<_ACEOF
27063 /* end confdefs.h. */
27065 #include <gtk/gtk.h>
27071 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27076 rm -f conftest.
$ac_objext conftest
$ac_exeext
27077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27078 (eval $ac_link) 2>conftest.er1
27080 grep -v '^ *+' conftest.er1
>conftest.err
27082 cat conftest.err
>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); } &&
27085 { ac_try
='test -z "$ac_c_werror_flag"
27086 || test ! -s conftest.err'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; } &&
27092 { ac_try
='test -s conftest$ac_exeext'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; }; then
27098 echo "*** The test program compiled, but did not run. This usually means"
27099 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27100 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27101 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27102 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27103 echo "*** is required on your system"
27105 echo "*** If you have an old version installed, it is best to remove it, although"
27106 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27108 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27109 echo "*** came with the system with the command"
27111 echo "*** rpm --erase --nodeps gtk gtk-devel"
27113 echo "$as_me: failed program was:" >&5
27114 sed 's/^/| /' conftest.
$ac_ext >&5
27116 echo "*** The test program failed to compile or link. See the file config.log for the"
27117 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27118 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27119 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27121 rm -f conftest.err conftest.
$ac_objext \
27122 conftest
$ac_exeext conftest.
$ac_ext
27123 CFLAGS
="$ac_save_CFLAGS"
27124 LIBS
="$ac_save_LIBS"
27139 if test -z "$wx_cv_lib_gtk"; then
27142 wx_cv_cflags_gtk
=$GTK_CFLAGS
27143 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27150 if test "$gtk_version_cached" = 1; then
27151 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27152 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27155 case "$wx_cv_lib_gtk" in
27164 *) { { echo "$as_me:$LINENO: error:
27165 The development files for GTK+ were not found. For GTK+ 2, please
27166 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27167 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27168 and that the version is 1.2.3 or above. Also check that the
27169 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27170 --libs' are in the LD_LIBRARY_PATH or equivalent.
27172 echo "$as_me: error:
27173 The development files for GTK+ were not found. For GTK+ 2, please
27174 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27175 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27176 and that the version is 1.2.3 or above. Also check that the
27177 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27178 --libs' are in the LD_LIBRARY_PATH or equivalent.
27180 { (exit 1); exit 1; }; }
27184 if test "$WXGTK20" = 1; then
27185 save_CFLAGS
="$CFLAGS"
27187 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27188 LIBS
="$LIBS $wx_cv_libs_gtk"
27190 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27191 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27192 cat >conftest.
$ac_ext <<_ACEOF
27195 cat confdefs.h
>>conftest.
$ac_ext
27196 cat >>conftest.
$ac_ext <<_ACEOF
27197 /* end confdefs.h. */
27199 #include <gtk/gtk.h>
27205 void *f = gtk_icon_size_lookup;
27211 rm -f conftest.
$ac_objext
27212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27213 (eval $ac_compile) 2>conftest.er1
27215 grep -v '^ *+' conftest.er1
>conftest.err
27217 cat conftest.err
>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } &&
27220 { ac_try
='test -z "$ac_c_werror_flag"
27221 || test ! -s conftest.err'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; } &&
27227 { ac_try
='test -s conftest.$ac_objext'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; }; then
27234 echo "$as_me:$LINENO: result: no" >&5
27235 echo "${ECHO_T}no" >&6
27238 echo "$as_me: failed program was:" >&5
27239 sed 's/^/| /' conftest.
$ac_ext >&5
27242 cat >>confdefs.h
<<\_ACEOF
27243 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27246 echo "$as_me:$LINENO: result: yes" >&5
27247 echo "${ECHO_T}yes" >&6
27250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27252 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27253 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27254 cat >conftest.
$ac_ext <<_ACEOF
27257 cat confdefs.h
>>conftest.
$ac_ext
27258 cat >>conftest.
$ac_ext <<_ACEOF
27259 /* end confdefs.h. */
27261 #include <gtk/gtk.h>
27267 #if !GTK_CHECK_VERSION(2,4,0)
27275 rm -f conftest.
$ac_objext
27276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27277 (eval $ac_compile) 2>conftest.er1
27279 grep -v '^ *+' conftest.er1
>conftest.err
27281 cat conftest.err
>&5
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 (exit $ac_status); } &&
27284 { ac_try
='test -z "$ac_c_werror_flag"
27285 || test ! -s conftest.err'
27286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287 (eval $ac_try) 2>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); }; } &&
27291 { ac_try
='test -s conftest.$ac_objext'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; }; then
27298 cat >>confdefs.h
<<\_ACEOF
27299 #define __WXGTK24__ 1
27302 echo "$as_me:$LINENO: result: yes" >&5
27303 echo "${ECHO_T}yes" >&6
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.
$ac_ext >&5
27310 echo "$as_me:$LINENO: result: no" >&5
27311 echo "${ECHO_T}no" >&6
27314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27316 CFLAGS
="$save_CFLAGS"
27319 if test "$wxUSE_UNICODE" = "yes"; then
27320 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27321 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27326 if test "$USE_DARWIN" != 1; then
27328 for ac_func
in poll
27330 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27331 echo "$as_me:$LINENO: checking for $ac_func" >&5
27332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27333 if eval "test \"\${$as_ac_var+set}\" = set"; then
27334 echo $ECHO_N "(cached) $ECHO_C" >&6
27336 cat >conftest.
$ac_ext <<_ACEOF
27339 cat confdefs.h
>>conftest.
$ac_ext
27340 cat >>conftest.
$ac_ext <<_ACEOF
27341 /* end confdefs.h. */
27342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27344 #define $ac_func innocuous_$ac_func
27346 /* System header to define __stub macros and hopefully few prototypes,
27347 which can conflict with char $ac_func (); below.
27348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27349 <limits.h> exists even on freestanding compilers. */
27352 # include <limits.h>
27354 # include <assert.h>
27359 /* Override any gcc2 internal prototype to avoid an error. */
27364 /* We use char because int might match the return type of a gcc2
27365 builtin and then its argument prototype would still apply. */
27367 /* The GNU C library defines this for functions which it implements
27368 to always fail with ENOSYS. Some functions are actually named
27369 something starting with __ and the normal name is an alias. */
27370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27373 char (*f) () = $ac_func;
27382 return f != $ac_func;
27387 rm -f conftest.
$ac_objext conftest
$ac_exeext
27388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27389 (eval $ac_link) 2>conftest.er1
27391 grep -v '^ *+' conftest.er1
>conftest.err
27393 cat conftest.err
>&5
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); } &&
27396 { ac_try
='test -z "$ac_c_werror_flag"
27397 || test ! -s conftest.err'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; } &&
27403 { ac_try
='test -s conftest$ac_exeext'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; }; then
27409 eval "$as_ac_var=yes"
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.
$ac_ext >&5
27414 eval "$as_ac_var=no"
27416 rm -f conftest.err conftest.
$ac_objext \
27417 conftest
$ac_exeext conftest.
$ac_ext
27419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27421 if test `eval echo '${'$as_ac_var'}'` = yes; then
27422 cat >>confdefs.h
<<_ACEOF
27423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27431 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27432 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27434 AFMINSTALL
=afminstall
27438 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27439 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27440 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27441 echo $ECHO_N "(cached) $ECHO_C" >&6
27443 ac_check_lib_save_LIBS
=$LIBS
27445 cat >conftest.
$ac_ext <<_ACEOF
27448 cat confdefs.h
>>conftest.
$ac_ext
27449 cat >>conftest.
$ac_ext <<_ACEOF
27450 /* end confdefs.h. */
27452 /* Override any gcc2 internal prototype to avoid an error. */
27456 /* We use char because int might match the return type of a gcc2
27457 builtin and then its argument prototype would still apply. */
27458 char gdk_im_open ();
27467 rm -f conftest.
$ac_objext conftest
$ac_exeext
27468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27469 (eval $ac_link) 2>conftest.er1
27471 grep -v '^ *+' conftest.er1
>conftest.err
27473 cat conftest.err
>&5
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); } &&
27476 { ac_try
='test -z "$ac_c_werror_flag"
27477 || test ! -s conftest.err'
27478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27479 (eval $ac_try) 2>&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); }; } &&
27483 { ac_try
='test -s conftest$ac_exeext'
27484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27485 (eval $ac_try) 2>&5
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); }; }; then
27489 ac_cv_lib_gdk_gdk_im_open
=yes
27491 echo "$as_me: failed program was:" >&5
27492 sed 's/^/| /' conftest.
$ac_ext >&5
27494 ac_cv_lib_gdk_gdk_im_open
=no
27496 rm -f conftest.err conftest.
$ac_objext \
27497 conftest
$ac_exeext conftest.
$ac_ext
27498 LIBS
=$ac_check_lib_save_LIBS
27500 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27501 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27502 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27503 cat >>confdefs.h
<<\_ACEOF
27511 if test "$wxUSE_GPE" = "yes"; then
27512 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27513 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27516 for ac_dir
in $SEARCH_LIB;
27518 for ac_extension
in a so sl dylib dll.a
; do
27519 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27520 ac_find_libraries
=$ac_dir
27526 if test "$ac_find_libraries" != "" ; then
27528 if test "$ac_find_libraries" = "default location"; then
27531 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27533 if test $result = 0; then
27536 ac_path_to_link
=" -L$ac_find_libraries"
27540 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27542 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27543 echo "${ECHO_T}found in $ac_find_libraries" >&6
27545 echo "$as_me:$LINENO: result: not found" >&5
27546 echo "${ECHO_T}not found" >&6
27552 if test "$wxUSE_MGL" = 1; then
27553 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27554 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27555 if test "x$MGL_ROOT" = x
; then
27556 echo "$as_me:$LINENO: result: not found" >&5
27557 echo "${ECHO_T}not found" >&6
27558 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27559 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27560 { (exit 1); exit 1; }; }
27562 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27563 echo "${ECHO_T}$MGL_ROOT" >&6
27566 echo "$as_me:$LINENO: checking for libmgl location" >&5
27567 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27570 if test "x$wxUSE_SHARED" = xyes
; then
27571 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27573 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27577 mgl_os_candidates
="dos32/dj2"
27580 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27581 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27582 { (exit 1); exit 1; }; }
27588 for mgl_os_i
in $mgl_os_candidates ; do
27589 if test "x$mgl_os" = x
; then
27590 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27591 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27592 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27597 if test "x$mgl_lib_type" = x
; then
27598 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27599 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27600 mgl_lib_type
=release
27607 if test "x$mgl_os" = x
; then
27608 echo "$as_me:$LINENO: result: not found" >&5
27609 echo "${ECHO_T}not found" >&6
27610 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27611 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27612 { (exit 1); exit 1; }; }
27614 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27615 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27617 wxUSE_UNIVERSAL
="yes"
27619 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27620 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27622 AFMINSTALL
=afminstall
27627 if test "$wxUSE_MICROWIN" = 1; then
27628 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27629 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27630 if test "x$MICROWINDOWS" = x
; then
27631 echo "$as_me:$LINENO: result: not found" >&5
27632 echo "${ECHO_T}not found" >&6
27633 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27634 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27635 { (exit 1); exit 1; }; }
27637 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27638 echo "${ECHO_T}$MICROWINDOWS" >&6
27641 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27642 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27643 echo "${ECHO_T}MicroWindows' libraries found." >&6
27645 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27646 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27647 { (exit 1); exit 1; }; }
27650 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27651 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27653 wxUSE_UNIVERSAL
="yes"
27655 AFMINSTALL
=afminstall
27657 GUIDIST
=MICROWIN_DIST
27659 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27662 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27663 echo "$as_me:$LINENO: checking for X" >&5
27664 echo $ECHO_N "checking for X... $ECHO_C" >&6
27667 # Check whether --with-x or --without-x was given.
27668 if test "${with_x+set}" = set; then
27672 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27673 if test "x$with_x" = xno
; then
27674 # The user explicitly disabled X.
27677 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27678 # Both variables are already set.
27681 if test "${ac_cv_have_x+set}" = set; then
27682 echo $ECHO_N "(cached) $ECHO_C" >&6
27684 # One or both of the vars are not set, and there is no cached value.
27685 ac_x_includes
=no ac_x_libraries
=no
27686 rm -fr conftest.dir
27687 if mkdir conftest.dir
; then
27689 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27690 cat >Imakefile
<<'_ACEOF'
27692 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27694 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27695 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27696 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27697 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27698 for ac_extension
in a so sl
; do
27699 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27700 test -f $ac_im_libdir/libX11.
$ac_extension; then
27701 ac_im_usrlibdir
=$ac_im_libdir; break
27704 # Screen out bogus values from the imake configuration. They are
27705 # bogus both because they are the default anyway, and because
27706 # using them would break gcc on systems where it needs fixed includes.
27707 case $ac_im_incroot in
27709 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27711 case $ac_im_usrlibdir in
27712 /usr
/lib
| /lib
) ;;
27713 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27717 rm -fr conftest.dir
27720 # Standard set of common directories for X headers.
27721 # Check X11 before X11Rn because it is often a symlink to the current release.
27733 /usr/local/X11/include
27734 /usr/local/X11R6/include
27735 /usr/local/X11R5/include
27736 /usr/local/X11R4/include
27738 /usr/local/include/X11
27739 /usr/local/include/X11R6
27740 /usr/local/include/X11R5
27741 /usr/local/include/X11R4
27745 /usr/XFree86/include/X11
27749 /usr/unsupported/include
27750 /usr/athena/include
27751 /usr/local/x11r5/include
27752 /usr/lpp/Xamples/include
27754 /usr/openwin/include
27755 /usr/openwin/share/include'
27757 if test "$ac_x_includes" = no
; then
27758 # Guess where to find include files, by looking for Intrinsic.h.
27759 # First, try using that file with no special directory specified.
27760 cat >conftest.
$ac_ext <<_ACEOF
27763 cat confdefs.h
>>conftest.
$ac_ext
27764 cat >>conftest.
$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 #include <X11/Intrinsic.h>
27768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27769 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27771 grep -v '^ *+' conftest.er1
>conftest.err
27773 cat conftest.err
>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); } >/dev
/null
; then
27776 if test -s conftest.err
; then
27777 ac_cpp_err
=$ac_c_preproc_warn_flag
27778 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27785 if test -z "$ac_cpp_err"; then
27786 # We can compile using X headers with no special include directory.
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.
$ac_ext >&5
27792 for ac_dir
in $ac_x_header_dirs; do
27793 if test -r "$ac_dir/X11/Intrinsic.h"; then
27794 ac_x_includes
=$ac_dir
27799 rm -f conftest.err conftest.
$ac_ext
27800 fi # $ac_x_includes = no
27802 if test "$ac_x_libraries" = no
; then
27803 # Check for the libraries.
27804 # See if we find them without any special options.
27805 # Don't add to $LIBS permanently.
27808 cat >conftest.
$ac_ext <<_ACEOF
27811 cat confdefs.h
>>conftest.
$ac_ext
27812 cat >>conftest.
$ac_ext <<_ACEOF
27813 /* end confdefs.h. */
27814 #include <X11/Intrinsic.h>
27823 rm -f conftest.
$ac_objext conftest
$ac_exeext
27824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27825 (eval $ac_link) 2>conftest.er1
27827 grep -v '^ *+' conftest.er1
>conftest.err
27829 cat conftest.err
>&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } &&
27832 { ac_try
='test -z "$ac_c_werror_flag"
27833 || test ! -s conftest.err'
27834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27835 (eval $ac_try) 2>&5
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; } &&
27839 { ac_try
='test -s conftest$ac_exeext'
27840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27841 (eval $ac_try) 2>&5
27843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); }; }; then
27846 # We can link X programs with no special library path.
27849 echo "$as_me: failed program was:" >&5
27850 sed 's/^/| /' conftest.
$ac_ext >&5
27853 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27855 # Don't even attempt the hair of trying to link an X program!
27856 for ac_extension
in a so sl
; do
27857 if test -r $ac_dir/libXt.
$ac_extension; then
27858 ac_x_libraries
=$ac_dir
27864 rm -f conftest.err conftest.
$ac_objext \
27865 conftest
$ac_exeext conftest.
$ac_ext
27866 fi # $ac_x_libraries = no
27868 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27869 # Didn't find X anywhere. Cache the known absence of X.
27870 ac_cv_have_x
="have_x=no"
27872 # Record where we found X for the cache.
27873 ac_cv_have_x
="have_x=yes \
27874 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27879 eval "$ac_cv_have_x"
27882 if test "$have_x" != yes; then
27883 echo "$as_me:$LINENO: result: $have_x" >&5
27884 echo "${ECHO_T}$have_x" >&6
27887 # If each of the values was on the command line, it overrides each guess.
27888 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27889 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27890 # Update the cache value to reflect the command line values.
27891 ac_cv_have_x
="have_x=yes \
27892 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27893 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27894 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27897 if test "$no_x" = yes; then
27898 # Not all programs may use this symbol, but it does not hurt to define it.
27900 cat >>confdefs.h
<<\_ACEOF
27901 #define X_DISPLAY_MISSING 1
27904 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27906 if test -n "$x_includes"; then
27907 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27910 # It would also be nice to do this for all -L options, not just this one.
27911 if test -n "$x_libraries"; then
27912 X_LIBS
="$X_LIBS -L$x_libraries"
27913 # For Solaris; some versions of Sun CC require a space after -R and
27914 # others require no space. Words are not sufficient . . . .
27915 case `(uname -sr) 2>/dev/null` in
27917 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27918 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27919 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27920 cat >conftest.
$ac_ext <<_ACEOF
27923 cat confdefs.h
>>conftest.
$ac_ext
27924 cat >>conftest.
$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27935 rm -f conftest.
$ac_objext conftest
$ac_exeext
27936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27937 (eval $ac_link) 2>conftest.er1
27939 grep -v '^ *+' conftest.er1
>conftest.err
27941 cat conftest.err
>&5
27942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943 (exit $ac_status); } &&
27944 { ac_try
='test -z "$ac_c_werror_flag"
27945 || test ! -s conftest.err'
27946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27947 (eval $ac_try) 2>&5
27949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 (exit $ac_status); }; } &&
27951 { ac_try
='test -s conftest$ac_exeext'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; }; then
27959 echo "$as_me: failed program was:" >&5
27960 sed 's/^/| /' conftest.
$ac_ext >&5
27964 rm -f conftest.err conftest.
$ac_objext \
27965 conftest
$ac_exeext conftest.
$ac_ext
27966 if test $ac_R_nospace = yes; then
27967 echo "$as_me:$LINENO: result: no" >&5
27968 echo "${ECHO_T}no" >&6
27969 X_LIBS
="$X_LIBS -R$x_libraries"
27971 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27972 cat >conftest.
$ac_ext <<_ACEOF
27975 cat confdefs.h
>>conftest.
$ac_ext
27976 cat >>conftest.
$ac_ext <<_ACEOF
27977 /* end confdefs.h. */
27987 rm -f conftest.
$ac_objext conftest
$ac_exeext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27989 (eval $ac_link) 2>conftest.er1
27991 grep -v '^ *+' conftest.er1
>conftest.err
27993 cat conftest.err
>&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } &&
27996 { ac_try
='test -z "$ac_c_werror_flag"
27997 || test ! -s conftest.err'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; } &&
28003 { ac_try
='test -s conftest$ac_exeext'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; }; then
28011 echo "$as_me: failed program was:" >&5
28012 sed 's/^/| /' conftest.
$ac_ext >&5
28016 rm -f conftest.err conftest.
$ac_objext \
28017 conftest
$ac_exeext conftest.
$ac_ext
28018 if test $ac_R_space = yes; then
28019 echo "$as_me:$LINENO: result: yes" >&5
28020 echo "${ECHO_T}yes" >&6
28021 X_LIBS
="$X_LIBS -R $x_libraries"
28023 echo "$as_me:$LINENO: result: neither works" >&5
28024 echo "${ECHO_T}neither works" >&6
28027 LIBS
=$ac_xsave_LIBS
28031 # Check for system-dependent libraries X programs must link with.
28032 # Do this before checking for the system-independent R6 libraries
28033 # (-lICE), since we may need -lsocket or whatever for X linking.
28035 if test "$ISC" = yes; then
28036 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28038 # Martyn Johnson says this is needed for Ultrix, if the X
28039 # libraries were built with DECnet support. And Karl Berry says
28040 # the Alpha needs dnet_stub (dnet does not exist).
28041 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28042 cat >conftest.
$ac_ext <<_ACEOF
28045 cat confdefs.h
>>conftest.
$ac_ext
28046 cat >>conftest.
$ac_ext <<_ACEOF
28047 /* end confdefs.h. */
28049 /* Override any gcc2 internal prototype to avoid an error. */
28053 /* We use char because int might match the return type of a gcc2
28054 builtin and then its argument prototype would still apply. */
28055 char XOpenDisplay ();
28064 rm -f conftest.
$ac_objext conftest
$ac_exeext
28065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28066 (eval $ac_link) 2>conftest.er1
28068 grep -v '^ *+' conftest.er1
>conftest.err
28070 cat conftest.err
>&5
28071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28072 (exit $ac_status); } &&
28073 { ac_try
='test -z "$ac_c_werror_flag"
28074 || test ! -s conftest.err'
28075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28076 (eval $ac_try) 2>&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; } &&
28080 { ac_try
='test -s conftest$ac_exeext'
28081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28082 (eval $ac_try) 2>&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); }; }; then
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.
$ac_ext >&5
28091 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28092 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28093 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 ac_check_lib_save_LIBS
=$LIBS
28097 LIBS
="-ldnet $LIBS"
28098 cat >conftest.
$ac_ext <<_ACEOF
28101 cat confdefs.h
>>conftest.
$ac_ext
28102 cat >>conftest.
$ac_ext <<_ACEOF
28103 /* end confdefs.h. */
28105 /* Override any gcc2 internal prototype to avoid an error. */
28109 /* We use char because int might match the return type of a gcc2
28110 builtin and then its argument prototype would still apply. */
28120 rm -f conftest.
$ac_objext conftest
$ac_exeext
28121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28122 (eval $ac_link) 2>conftest.er1
28124 grep -v '^ *+' conftest.er1
>conftest.err
28126 cat conftest.err
>&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); } &&
28129 { ac_try
='test -z "$ac_c_werror_flag"
28130 || test ! -s conftest.err'
28131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28132 (eval $ac_try) 2>&5
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); }; } &&
28136 { ac_try
='test -s conftest$ac_exeext'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; }; then
28142 ac_cv_lib_dnet_dnet_ntoa
=yes
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.
$ac_ext >&5
28147 ac_cv_lib_dnet_dnet_ntoa
=no
28149 rm -f conftest.err conftest.
$ac_objext \
28150 conftest
$ac_exeext conftest.
$ac_ext
28151 LIBS
=$ac_check_lib_save_LIBS
28153 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28154 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28155 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28156 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28159 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28160 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28161 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28162 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28163 echo $ECHO_N "(cached) $ECHO_C" >&6
28165 ac_check_lib_save_LIBS
=$LIBS
28166 LIBS
="-ldnet_stub $LIBS"
28167 cat >conftest.
$ac_ext <<_ACEOF
28170 cat confdefs.h
>>conftest.
$ac_ext
28171 cat >>conftest.
$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28174 /* Override any gcc2 internal prototype to avoid an error. */
28178 /* We use char because int might match the return type of a gcc2
28179 builtin and then its argument prototype would still apply. */
28189 rm -f conftest.
$ac_objext conftest
$ac_exeext
28190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28191 (eval $ac_link) 2>conftest.er1
28193 grep -v '^ *+' conftest.er1
>conftest.err
28195 cat conftest.err
>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); } &&
28198 { ac_try
='test -z "$ac_c_werror_flag"
28199 || test ! -s conftest.err'
28200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28201 (eval $ac_try) 2>&5
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); }; } &&
28205 { ac_try
='test -s conftest$ac_exeext'
28206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207 (eval $ac_try) 2>&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; }; then
28211 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28213 echo "$as_me: failed program was:" >&5
28214 sed 's/^/| /' conftest.
$ac_ext >&5
28216 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28218 rm -f conftest.err conftest.
$ac_objext \
28219 conftest
$ac_exeext conftest.
$ac_ext
28220 LIBS
=$ac_check_lib_save_LIBS
28222 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28223 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28224 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28225 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28230 rm -f conftest.err conftest.
$ac_objext \
28231 conftest
$ac_exeext conftest.
$ac_ext
28232 LIBS
="$ac_xsave_LIBS"
28234 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28235 # to get the SysV transport functions.
28236 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28238 # The nsl library prevents programs from opening the X display
28239 # on Irix 5.2, according to T.E. Dickey.
28240 # The functions gethostbyname, getservbyname, and inet_addr are
28241 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28242 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28243 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28244 if test "${ac_cv_func_gethostbyname+set}" = set; then
28245 echo $ECHO_N "(cached) $ECHO_C" >&6
28247 cat >conftest.
$ac_ext <<_ACEOF
28250 cat confdefs.h
>>conftest.
$ac_ext
28251 cat >>conftest.
$ac_ext <<_ACEOF
28252 /* end confdefs.h. */
28253 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28255 #define gethostbyname innocuous_gethostbyname
28257 /* System header to define __stub macros and hopefully few prototypes,
28258 which can conflict with char gethostbyname (); below.
28259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28260 <limits.h> exists even on freestanding compilers. */
28263 # include <limits.h>
28265 # include <assert.h>
28268 #undef gethostbyname
28270 /* Override any gcc2 internal prototype to avoid an error. */
28275 /* We use char because int might match the return type of a gcc2
28276 builtin and then its argument prototype would still apply. */
28277 char gethostbyname ();
28278 /* The GNU C library defines this for functions which it implements
28279 to always fail with ENOSYS. Some functions are actually named
28280 something starting with __ and the normal name is an alias. */
28281 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28284 char (*f) () = gethostbyname;
28293 return f != gethostbyname;
28298 rm -f conftest.
$ac_objext conftest
$ac_exeext
28299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28300 (eval $ac_link) 2>conftest.er1
28302 grep -v '^ *+' conftest.er1
>conftest.err
28304 cat conftest.err
>&5
28305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306 (exit $ac_status); } &&
28307 { ac_try
='test -z "$ac_c_werror_flag"
28308 || test ! -s conftest.err'
28309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310 (eval $ac_try) 2>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; } &&
28314 { ac_try
='test -s conftest$ac_exeext'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; }; then
28320 ac_cv_func_gethostbyname
=yes
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.
$ac_ext >&5
28325 ac_cv_func_gethostbyname
=no
28327 rm -f conftest.err conftest.
$ac_objext \
28328 conftest
$ac_exeext conftest.
$ac_ext
28330 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28331 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28333 if test $ac_cv_func_gethostbyname = no
; then
28334 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28335 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28336 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28337 echo $ECHO_N "(cached) $ECHO_C" >&6
28339 ac_check_lib_save_LIBS
=$LIBS
28341 cat >conftest.
$ac_ext <<_ACEOF
28344 cat confdefs.h
>>conftest.
$ac_ext
28345 cat >>conftest.
$ac_ext <<_ACEOF
28346 /* end confdefs.h. */
28348 /* Override any gcc2 internal prototype to avoid an error. */
28352 /* We use char because int might match the return type of a gcc2
28353 builtin and then its argument prototype would still apply. */
28354 char gethostbyname ();
28363 rm -f conftest.
$ac_objext conftest
$ac_exeext
28364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28365 (eval $ac_link) 2>conftest.er1
28367 grep -v '^ *+' conftest.er1
>conftest.err
28369 cat conftest.err
>&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try
='test -z "$ac_c_werror_flag"
28373 || test ! -s conftest.err'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; } &&
28379 { ac_try
='test -s conftest$ac_exeext'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; }; then
28385 ac_cv_lib_nsl_gethostbyname
=yes
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.
$ac_ext >&5
28390 ac_cv_lib_nsl_gethostbyname
=no
28392 rm -f conftest.err conftest.
$ac_objext \
28393 conftest
$ac_exeext conftest.
$ac_ext
28394 LIBS
=$ac_check_lib_save_LIBS
28396 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28397 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28398 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28399 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28402 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28403 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28404 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28405 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28406 echo $ECHO_N "(cached) $ECHO_C" >&6
28408 ac_check_lib_save_LIBS
=$LIBS
28410 cat >conftest.
$ac_ext <<_ACEOF
28413 cat confdefs.h
>>conftest.
$ac_ext
28414 cat >>conftest.
$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28417 /* Override any gcc2 internal prototype to avoid an error. */
28421 /* We use char because int might match the return type of a gcc2
28422 builtin and then its argument prototype would still apply. */
28423 char gethostbyname ();
28432 rm -f conftest.
$ac_objext conftest
$ac_exeext
28433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28434 (eval $ac_link) 2>conftest.er1
28436 grep -v '^ *+' conftest.er1
>conftest.err
28438 cat conftest.err
>&5
28439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440 (exit $ac_status); } &&
28441 { ac_try
='test -z "$ac_c_werror_flag"
28442 || test ! -s conftest.err'
28443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28444 (eval $ac_try) 2>&5
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); }; } &&
28448 { ac_try
='test -s conftest$ac_exeext'
28449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28450 (eval $ac_try) 2>&5
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); }; }; then
28454 ac_cv_lib_bsd_gethostbyname
=yes
28456 echo "$as_me: failed program was:" >&5
28457 sed 's/^/| /' conftest.
$ac_ext >&5
28459 ac_cv_lib_bsd_gethostbyname
=no
28461 rm -f conftest.err conftest.
$ac_objext \
28462 conftest
$ac_exeext conftest.
$ac_ext
28463 LIBS
=$ac_check_lib_save_LIBS
28465 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28466 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28467 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28474 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28475 # socket/setsockopt and other routines are undefined under SCO ODT
28476 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28477 # on later versions), says Simon Leinen: it contains gethostby*
28478 # variants that don't use the name server (or something). -lsocket
28479 # must be given before -lnsl if both are needed. We assume that
28480 # if connect needs -lnsl, so does gethostbyname.
28481 echo "$as_me:$LINENO: checking for connect" >&5
28482 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28483 if test "${ac_cv_func_connect+set}" = set; then
28484 echo $ECHO_N "(cached) $ECHO_C" >&6
28486 cat >conftest.
$ac_ext <<_ACEOF
28489 cat confdefs.h
>>conftest.
$ac_ext
28490 cat >>conftest.
$ac_ext <<_ACEOF
28491 /* end confdefs.h. */
28492 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28494 #define connect innocuous_connect
28496 /* System header to define __stub macros and hopefully few prototypes,
28497 which can conflict with char connect (); below.
28498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28499 <limits.h> exists even on freestanding compilers. */
28502 # include <limits.h>
28504 # include <assert.h>
28509 /* Override any gcc2 internal prototype to avoid an error. */
28514 /* We use char because int might match the return type of a gcc2
28515 builtin and then its argument prototype would still apply. */
28517 /* The GNU C library defines this for functions which it implements
28518 to always fail with ENOSYS. Some functions are actually named
28519 something starting with __ and the normal name is an alias. */
28520 #if defined (__stub_connect) || defined (__stub___connect)
28523 char (*f) () = connect;
28532 return f != connect;
28537 rm -f conftest.
$ac_objext conftest
$ac_exeext
28538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28539 (eval $ac_link) 2>conftest.er1
28541 grep -v '^ *+' conftest.er1
>conftest.err
28543 cat conftest.err
>&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); } &&
28546 { ac_try
='test -z "$ac_c_werror_flag"
28547 || test ! -s conftest.err'
28548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28549 (eval $ac_try) 2>&5
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); }; } &&
28553 { ac_try
='test -s conftest$ac_exeext'
28554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555 (eval $ac_try) 2>&5
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); }; }; then
28559 ac_cv_func_connect
=yes
28561 echo "$as_me: failed program was:" >&5
28562 sed 's/^/| /' conftest.
$ac_ext >&5
28564 ac_cv_func_connect
=no
28566 rm -f conftest.err conftest.
$ac_objext \
28567 conftest
$ac_exeext conftest.
$ac_ext
28569 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28570 echo "${ECHO_T}$ac_cv_func_connect" >&6
28572 if test $ac_cv_func_connect = no
; then
28573 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28574 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28575 if test "${ac_cv_lib_socket_connect+set}" = set; then
28576 echo $ECHO_N "(cached) $ECHO_C" >&6
28578 ac_check_lib_save_LIBS
=$LIBS
28579 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28580 cat >conftest.
$ac_ext <<_ACEOF
28583 cat confdefs.h
>>conftest.
$ac_ext
28584 cat >>conftest.
$ac_ext <<_ACEOF
28585 /* end confdefs.h. */
28587 /* Override any gcc2 internal prototype to avoid an error. */
28591 /* We use char because int might match the return type of a gcc2
28592 builtin and then its argument prototype would still apply. */
28602 rm -f conftest.
$ac_objext conftest
$ac_exeext
28603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28604 (eval $ac_link) 2>conftest.er1
28606 grep -v '^ *+' conftest.er1
>conftest.err
28608 cat conftest.err
>&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try
='test -z "$ac_c_werror_flag"
28612 || test ! -s conftest.err'
28613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 (eval $ac_try) 2>&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; } &&
28618 { ac_try
='test -s conftest$ac_exeext'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; }; then
28624 ac_cv_lib_socket_connect
=yes
28626 echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.
$ac_ext >&5
28629 ac_cv_lib_socket_connect
=no
28631 rm -f conftest.err conftest.
$ac_objext \
28632 conftest
$ac_exeext conftest.
$ac_ext
28633 LIBS
=$ac_check_lib_save_LIBS
28635 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28636 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28637 if test $ac_cv_lib_socket_connect = yes; then
28638 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28643 # Guillermo Gomez says -lposix is necessary on A/UX.
28644 echo "$as_me:$LINENO: checking for remove" >&5
28645 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28646 if test "${ac_cv_func_remove+set}" = set; then
28647 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 cat >conftest.
$ac_ext <<_ACEOF
28652 cat confdefs.h
>>conftest.
$ac_ext
28653 cat >>conftest.
$ac_ext <<_ACEOF
28654 /* end confdefs.h. */
28655 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28657 #define remove innocuous_remove
28659 /* System header to define __stub macros and hopefully few prototypes,
28660 which can conflict with char remove (); below.
28661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28662 <limits.h> exists even on freestanding compilers. */
28665 # include <limits.h>
28667 # include <assert.h>
28672 /* Override any gcc2 internal prototype to avoid an error. */
28677 /* We use char because int might match the return type of a gcc2
28678 builtin and then its argument prototype would still apply. */
28680 /* The GNU C library defines this for functions which it implements
28681 to always fail with ENOSYS. Some functions are actually named
28682 something starting with __ and the normal name is an alias. */
28683 #if defined (__stub_remove) || defined (__stub___remove)
28686 char (*f) () = remove;
28695 return f != remove;
28700 rm -f conftest.
$ac_objext conftest
$ac_exeext
28701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28702 (eval $ac_link) 2>conftest.er1
28704 grep -v '^ *+' conftest.er1
>conftest.err
28706 cat conftest.err
>&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); } &&
28709 { ac_try
='test -z "$ac_c_werror_flag"
28710 || test ! -s conftest.err'
28711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28712 (eval $ac_try) 2>&5
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); }; } &&
28716 { ac_try
='test -s conftest$ac_exeext'
28717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28718 (eval $ac_try) 2>&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); }; }; then
28722 ac_cv_func_remove
=yes
28724 echo "$as_me: failed program was:" >&5
28725 sed 's/^/| /' conftest.
$ac_ext >&5
28727 ac_cv_func_remove
=no
28729 rm -f conftest.err conftest.
$ac_objext \
28730 conftest
$ac_exeext conftest.
$ac_ext
28732 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28733 echo "${ECHO_T}$ac_cv_func_remove" >&6
28735 if test $ac_cv_func_remove = no
; then
28736 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28737 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28738 if test "${ac_cv_lib_posix_remove+set}" = set; then
28739 echo $ECHO_N "(cached) $ECHO_C" >&6
28741 ac_check_lib_save_LIBS
=$LIBS
28742 LIBS
="-lposix $LIBS"
28743 cat >conftest.
$ac_ext <<_ACEOF
28746 cat confdefs.h
>>conftest.
$ac_ext
28747 cat >>conftest.
$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28750 /* Override any gcc2 internal prototype to avoid an error. */
28754 /* We use char because int might match the return type of a gcc2
28755 builtin and then its argument prototype would still apply. */
28765 rm -f conftest.
$ac_objext conftest
$ac_exeext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767 (eval $ac_link) 2>conftest.er1
28769 grep -v '^ *+' conftest.er1
>conftest.err
28771 cat conftest.err
>&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try
='test -z "$ac_c_werror_flag"
28775 || test ! -s conftest.err'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; } &&
28781 { ac_try
='test -s conftest$ac_exeext'
28782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783 (eval $ac_try) 2>&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; }; then
28787 ac_cv_lib_posix_remove
=yes
28789 echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.
$ac_ext >&5
28792 ac_cv_lib_posix_remove
=no
28794 rm -f conftest.err conftest.
$ac_objext \
28795 conftest
$ac_exeext conftest.
$ac_ext
28796 LIBS
=$ac_check_lib_save_LIBS
28798 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28799 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28800 if test $ac_cv_lib_posix_remove = yes; then
28801 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28806 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28807 echo "$as_me:$LINENO: checking for shmat" >&5
28808 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28809 if test "${ac_cv_func_shmat+set}" = set; then
28810 echo $ECHO_N "(cached) $ECHO_C" >&6
28812 cat >conftest.
$ac_ext <<_ACEOF
28815 cat confdefs.h
>>conftest.
$ac_ext
28816 cat >>conftest.
$ac_ext <<_ACEOF
28817 /* end confdefs.h. */
28818 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28820 #define shmat innocuous_shmat
28822 /* System header to define __stub macros and hopefully few prototypes,
28823 which can conflict with char shmat (); below.
28824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28825 <limits.h> exists even on freestanding compilers. */
28828 # include <limits.h>
28830 # include <assert.h>
28835 /* Override any gcc2 internal prototype to avoid an error. */
28840 /* We use char because int might match the return type of a gcc2
28841 builtin and then its argument prototype would still apply. */
28843 /* The GNU C library defines this for functions which it implements
28844 to always fail with ENOSYS. Some functions are actually named
28845 something starting with __ and the normal name is an alias. */
28846 #if defined (__stub_shmat) || defined (__stub___shmat)
28849 char (*f) () = shmat;
28863 rm -f conftest.
$ac_objext conftest
$ac_exeext
28864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28865 (eval $ac_link) 2>conftest.er1
28867 grep -v '^ *+' conftest.er1
>conftest.err
28869 cat conftest.err
>&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } &&
28872 { ac_try
='test -z "$ac_c_werror_flag"
28873 || test ! -s conftest.err'
28874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28875 (eval $ac_try) 2>&5
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); }; } &&
28879 { ac_try
='test -s conftest$ac_exeext'
28880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28881 (eval $ac_try) 2>&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; }; then
28885 ac_cv_func_shmat
=yes
28887 echo "$as_me: failed program was:" >&5
28888 sed 's/^/| /' conftest.
$ac_ext >&5
28890 ac_cv_func_shmat
=no
28892 rm -f conftest.err conftest.
$ac_objext \
28893 conftest
$ac_exeext conftest.
$ac_ext
28895 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28896 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28898 if test $ac_cv_func_shmat = no
; then
28899 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28900 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28901 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28902 echo $ECHO_N "(cached) $ECHO_C" >&6
28904 ac_check_lib_save_LIBS
=$LIBS
28906 cat >conftest.
$ac_ext <<_ACEOF
28909 cat confdefs.h
>>conftest.
$ac_ext
28910 cat >>conftest.
$ac_ext <<_ACEOF
28911 /* end confdefs.h. */
28913 /* Override any gcc2 internal prototype to avoid an error. */
28917 /* We use char because int might match the return type of a gcc2
28918 builtin and then its argument prototype would still apply. */
28928 rm -f conftest.
$ac_objext conftest
$ac_exeext
28929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28930 (eval $ac_link) 2>conftest.er1
28932 grep -v '^ *+' conftest.er1
>conftest.err
28934 cat conftest.err
>&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } &&
28937 { ac_try
='test -z "$ac_c_werror_flag"
28938 || test ! -s conftest.err'
28939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28940 (eval $ac_try) 2>&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); }; } &&
28944 { ac_try
='test -s conftest$ac_exeext'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; }; then
28950 ac_cv_lib_ipc_shmat
=yes
28952 echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.
$ac_ext >&5
28955 ac_cv_lib_ipc_shmat
=no
28957 rm -f conftest.err conftest.
$ac_objext \
28958 conftest
$ac_exeext conftest.
$ac_ext
28959 LIBS
=$ac_check_lib_save_LIBS
28961 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28962 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28963 if test $ac_cv_lib_ipc_shmat = yes; then
28964 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28970 # Check for libraries that X11R6 Xt/Xaw programs need.
28971 ac_save_LDFLAGS
=$LDFLAGS
28972 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28973 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28974 # check for ICE first), but we must link in the order -lSM -lICE or
28975 # we get undefined symbols. So assume we have SM if we have ICE.
28976 # These have to be linked with before -lX11, unlike the other
28977 # libraries we check for below, so use a different variable.
28978 # John Interrante, Karl Berry
28979 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28980 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28981 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28982 echo $ECHO_N "(cached) $ECHO_C" >&6
28984 ac_check_lib_save_LIBS
=$LIBS
28985 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28986 cat >conftest.
$ac_ext <<_ACEOF
28989 cat confdefs.h
>>conftest.
$ac_ext
28990 cat >>conftest.
$ac_ext <<_ACEOF
28991 /* end confdefs.h. */
28993 /* Override any gcc2 internal prototype to avoid an error. */
28997 /* We use char because int might match the return type of a gcc2
28998 builtin and then its argument prototype would still apply. */
28999 char IceConnectionNumber ();
29003 IceConnectionNumber ();
29008 rm -f conftest.
$ac_objext conftest
$ac_exeext
29009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29010 (eval $ac_link) 2>conftest.er1
29012 grep -v '^ *+' conftest.er1
>conftest.err
29014 cat conftest.err
>&5
29015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016 (exit $ac_status); } &&
29017 { ac_try
='test -z "$ac_c_werror_flag"
29018 || test ! -s conftest.err'
29019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29020 (eval $ac_try) 2>&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); }; } &&
29024 { ac_try
='test -s conftest$ac_exeext'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; }; then
29030 ac_cv_lib_ICE_IceConnectionNumber
=yes
29032 echo "$as_me: failed program was:" >&5
29033 sed 's/^/| /' conftest.
$ac_ext >&5
29035 ac_cv_lib_ICE_IceConnectionNumber
=no
29037 rm -f conftest.err conftest.
$ac_objext \
29038 conftest
$ac_exeext conftest.
$ac_ext
29039 LIBS
=$ac_check_lib_save_LIBS
29041 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29042 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29043 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29044 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29047 LDFLAGS
=$ac_save_LDFLAGS
29052 if test "$no_x" = "yes"; then
29053 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29054 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29055 { (exit 1); exit 1; }; }
29058 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29059 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29060 AFMINSTALL
=afminstall
29061 COMPILED_X_PROGRAM
=0
29065 if test "$wxUSE_X11" = 1; then
29066 if test "$wxUSE_NANOX" = "yes"; then
29067 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29068 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29069 if test "x$MICROWIN" = x
; then
29070 echo "$as_me:$LINENO: result: not found" >&5
29071 echo "${ECHO_T}not found" >&6
29072 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29073 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29074 { (exit 1); exit 1; }; }
29076 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29077 echo "${ECHO_T}$MICROWIN" >&6
29078 cat >>confdefs.h
<<\_ACEOF
29079 #define wxUSE_NANOX 1
29085 if test "$wxUSE_UNICODE" = "yes"; then
29089 if test -z "$PKG_CONFIG"; then
29090 # Extract the first word of "pkg-config", so it can be a program name with args.
29091 set dummy pkg
-config; ac_word
=$2
29092 echo "$as_me:$LINENO: checking for $ac_word" >&5
29093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29094 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29095 echo $ECHO_N "(cached) $ECHO_C" >&6
29097 case $PKG_CONFIG in
29099 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29103 for as_dir
in $PATH
29106 test -z "$as_dir" && as_dir
=.
29107 for ac_exec_ext
in '' $ac_executable_extensions; do
29108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29109 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29116 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29120 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29122 if test -n "$PKG_CONFIG"; then
29123 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29124 echo "${ECHO_T}$PKG_CONFIG" >&6
29126 echo "$as_me:$LINENO: result: no" >&5
29127 echo "${ECHO_T}no" >&6
29132 if test "$PKG_CONFIG" = "no" ; then
29133 echo "*** The pkg-config script could not be found. Make sure it is"
29134 echo "*** in your path, or set the PKG_CONFIG environment variable"
29135 echo "*** to the full path to pkg-config."
29136 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29138 PKG_CONFIG_MIN_VERSION
=0.9.0
29139 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29140 echo "$as_me:$LINENO: checking for pangox" >&5
29141 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29143 if $PKG_CONFIG --exists "pangox" ; then
29144 echo "$as_me:$LINENO: result: yes" >&5
29145 echo "${ECHO_T}yes" >&6
29148 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29149 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29150 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29151 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29152 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29154 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29155 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29156 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29157 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29158 echo "${ECHO_T}$PANGOX_LIBS" >&6
29162 ## If we have a custom action on failure, don't print errors, but
29163 ## do set a variable so people can do so.
29164 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29171 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29172 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29176 if test $succeeded = yes; then
29178 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29179 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29183 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29184 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29185 { (exit 1); exit 1; }; }
29193 if test -z "$PKG_CONFIG"; then
29194 # Extract the first word of "pkg-config", so it can be a program name with args.
29195 set dummy pkg
-config; ac_word
=$2
29196 echo "$as_me:$LINENO: checking for $ac_word" >&5
29197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29198 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29199 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 case $PKG_CONFIG in
29203 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29207 for as_dir
in $PATH
29210 test -z "$as_dir" && as_dir
=.
29211 for ac_exec_ext
in '' $ac_executable_extensions; do
29212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29213 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29220 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29224 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29226 if test -n "$PKG_CONFIG"; then
29227 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29228 echo "${ECHO_T}$PKG_CONFIG" >&6
29230 echo "$as_me:$LINENO: result: no" >&5
29231 echo "${ECHO_T}no" >&6
29236 if test "$PKG_CONFIG" = "no" ; then
29237 echo "*** The pkg-config script could not be found. Make sure it is"
29238 echo "*** in your path, or set the PKG_CONFIG environment variable"
29239 echo "*** to the full path to pkg-config."
29240 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29242 PKG_CONFIG_MIN_VERSION
=0.9.0
29243 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29244 echo "$as_me:$LINENO: checking for pangoft2" >&5
29245 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29247 if $PKG_CONFIG --exists "pangoft2" ; then
29248 echo "$as_me:$LINENO: result: yes" >&5
29249 echo "${ECHO_T}yes" >&6
29252 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29253 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29254 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29255 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29256 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29258 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29259 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29260 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29261 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29262 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29266 ## If we have a custom action on failure, don't print errors, but
29267 ## do set a variable so people can do so.
29268 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29275 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29276 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29280 if test $succeeded = yes; then
29282 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29283 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29287 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29288 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29289 wxUSE_PRINTING_ARCHITECTURE
="no"
29297 if test -z "$PKG_CONFIG"; then
29298 # Extract the first word of "pkg-config", so it can be a program name with args.
29299 set dummy pkg
-config; ac_word
=$2
29300 echo "$as_me:$LINENO: checking for $ac_word" >&5
29301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29302 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29303 echo $ECHO_N "(cached) $ECHO_C" >&6
29305 case $PKG_CONFIG in
29307 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29311 for as_dir
in $PATH
29314 test -z "$as_dir" && as_dir
=.
29315 for ac_exec_ext
in '' $ac_executable_extensions; do
29316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29317 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29324 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29328 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29330 if test -n "$PKG_CONFIG"; then
29331 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29332 echo "${ECHO_T}$PKG_CONFIG" >&6
29334 echo "$as_me:$LINENO: result: no" >&5
29335 echo "${ECHO_T}no" >&6
29340 if test "$PKG_CONFIG" = "no" ; then
29341 echo "*** The pkg-config script could not be found. Make sure it is"
29342 echo "*** in your path, or set the PKG_CONFIG environment variable"
29343 echo "*** to the full path to pkg-config."
29344 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29346 PKG_CONFIG_MIN_VERSION
=0.9.0
29347 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29348 echo "$as_me:$LINENO: checking for pangoxft" >&5
29349 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29351 if $PKG_CONFIG --exists "pangoxft" ; then
29352 echo "$as_me:$LINENO: result: yes" >&5
29353 echo "${ECHO_T}yes" >&6
29356 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29357 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29358 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29359 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29360 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29362 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29363 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29364 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29365 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29366 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29370 ## If we have a custom action on failure, don't print errors, but
29371 ## do set a variable so people can do so.
29372 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29379 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29380 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29384 if test $succeeded = yes; then
29386 cat >>confdefs.h
<<\_ACEOF
29387 #define HAVE_PANGO_XFT 1
29390 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29391 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29395 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29396 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29401 save_CFLAGS
="$CFLAGS"
29403 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29404 LIBS
="$LIBS $PANGOX_LIBS"
29406 for ac_func
in pango_font_family_is_monospace
29408 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29409 echo "$as_me:$LINENO: checking for $ac_func" >&5
29410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29411 if eval "test \"\${$as_ac_var+set}\" = set"; then
29412 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 cat >conftest.
$ac_ext <<_ACEOF
29417 cat confdefs.h
>>conftest.
$ac_ext
29418 cat >>conftest.
$ac_ext <<_ACEOF
29419 /* end confdefs.h. */
29420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29422 #define $ac_func innocuous_$ac_func
29424 /* System header to define __stub macros and hopefully few prototypes,
29425 which can conflict with char $ac_func (); below.
29426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29427 <limits.h> exists even on freestanding compilers. */
29430 # include <limits.h>
29432 # include <assert.h>
29437 /* Override any gcc2 internal prototype to avoid an error. */
29442 /* We use char because int might match the return type of a gcc2
29443 builtin and then its argument prototype would still apply. */
29445 /* The GNU C library defines this for functions which it implements
29446 to always fail with ENOSYS. Some functions are actually named
29447 something starting with __ and the normal name is an alias. */
29448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29451 char (*f) () = $ac_func;
29460 return f != $ac_func;
29465 rm -f conftest.
$ac_objext conftest
$ac_exeext
29466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29467 (eval $ac_link) 2>conftest.er1
29469 grep -v '^ *+' conftest.er1
>conftest.err
29471 cat conftest.err
>&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } &&
29474 { ac_try
='test -z "$ac_c_werror_flag"
29475 || test ! -s conftest.err'
29476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29477 (eval $ac_try) 2>&5
29479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29480 (exit $ac_status); }; } &&
29481 { ac_try
='test -s conftest$ac_exeext'
29482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483 (eval $ac_try) 2>&5
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); }; }; then
29487 eval "$as_ac_var=yes"
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.
$ac_ext >&5
29492 eval "$as_ac_var=no"
29494 rm -f conftest.err conftest.
$ac_objext \
29495 conftest
$ac_exeext conftest.
$ac_ext
29497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29499 if test `eval echo '${'$as_ac_var'}'` = yes; then
29500 cat >>confdefs.h
<<_ACEOF
29501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29507 CFLAGS
="$save_CFLAGS"
29511 wxUSE_UNIVERSAL
="yes"
29513 if test "$wxUSE_NANOX" = "yes"; then
29514 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29515 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"
29516 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29518 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29525 if test "$wxUSE_MOTIF" = 1; then
29526 if test "$wxUSE_UNICODE" = "yes"; then
29527 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29528 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29529 { (exit 1); exit 1; }; }
29532 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29533 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29536 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29538 if test -f "$ac_dir/Xm/Xm.h"; then
29539 ac_find_includes
=$ac_dir
29544 if test "$ac_find_includes" != "" ; then
29545 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29546 echo "${ECHO_T}found in $ac_find_includes" >&6
29548 if test "x$ac_find_includes" = "x/usr/include"; then
29549 ac_path_to_include
=""
29551 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29553 if test $result = 0; then
29554 ac_path_to_include
=""
29556 ac_path_to_include
=" -I$ac_find_includes"
29560 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29562 save_CFLAGS
=$CFLAGS
29563 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29565 cat >conftest.
$ac_ext <<_ACEOF
29568 cat confdefs.h
>>conftest.
$ac_ext
29569 cat >>conftest.
$ac_ext <<_ACEOF
29570 /* end confdefs.h. */
29579 version = xmUseVersion;
29585 rm -f conftest.
$ac_objext
29586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29587 (eval $ac_compile) 2>conftest.er1
29589 grep -v '^ *+' conftest.er1
>conftest.err
29591 cat conftest.err
>&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } &&
29594 { ac_try
='test -z "$ac_c_werror_flag"
29595 || test ! -s conftest.err'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; } &&
29601 { ac_try
='test -s conftest.$ac_objext'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; }; then
29608 echo "$as_me:$LINENO: result: found in default search path" >&5
29609 echo "${ECHO_T}found in default search path" >&6
29610 COMPILED_X_PROGRAM
=1
29613 echo "$as_me: failed program was:" >&5
29614 sed 's/^/| /' conftest.
$ac_ext >&5
29617 echo "$as_me:$LINENO: result: no" >&5
29618 echo "${ECHO_T}no" >&6
29619 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29620 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29621 { (exit 1); exit 1; }; }
29625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29627 CFLAGS
=$save_CFLAGS
29631 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29632 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29635 for ac_dir
in $SEARCH_LIB;
29637 for ac_extension
in a so sl dylib dll.a
; do
29638 if test -f "$ac_dir/libXm.$ac_extension"; then
29639 ac_find_libraries
=$ac_dir
29646 if test "x$ac_find_libraries" != "x" ; then
29647 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29648 echo "${ECHO_T}found in $ac_find_libraries" >&6
29651 if test "$ac_find_libraries" = "default location"; then
29654 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29656 if test $result = 0; then
29659 ac_path_to_link
=" -L$ac_find_libraries"
29663 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29665 save_CFLAGS
=$CFLAGS
29666 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29668 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29670 cat >conftest.
$ac_ext <<_ACEOF
29673 cat confdefs.h
>>conftest.
$ac_ext
29674 cat >>conftest.
$ac_ext <<_ACEOF
29675 /* end confdefs.h. */
29684 version = xmUseVersion;
29690 rm -f conftest.
$ac_objext conftest
$ac_exeext
29691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29692 (eval $ac_link) 2>conftest.er1
29694 grep -v '^ *+' conftest.er1
>conftest.err
29696 cat conftest.err
>&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); } &&
29699 { ac_try
='test -z "$ac_c_werror_flag"
29700 || test ! -s conftest.err'
29701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29702 (eval $ac_try) 2>&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); }; } &&
29706 { ac_try
='test -s conftest$ac_exeext'
29707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708 (eval $ac_try) 2>&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); }; }; then
29713 echo "$as_me:$LINENO: result: found in default search path" >&5
29714 echo "${ECHO_T}found in default search path" >&6
29715 COMPILED_X_PROGRAM
=1
29718 echo "$as_me: failed program was:" >&5
29719 sed 's/^/| /' conftest.
$ac_ext >&5
29722 echo "$as_me:$LINENO: result: no" >&5
29723 echo "${ECHO_T}no" >&6
29724 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29725 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29726 { (exit 1); exit 1; }; }
29730 rm -f conftest.err conftest.
$ac_objext \
29731 conftest
$ac_exeext conftest.
$ac_ext
29733 CFLAGS
=$save_CFLAGS
29737 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29738 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29742 for libp
in "" " -lXp"; do
29743 if test "$libs_found" = "0"; then
29744 for libsm_ice
in "" " -lSM -lICE"; do
29745 if test "$libs_found" = "0"; then
29747 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29748 save_CFLAGS
=$CFLAGS
29749 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29751 cat >conftest.
$ac_ext <<_ACEOF
29754 cat confdefs.h
>>conftest.
$ac_ext
29755 cat >>conftest.
$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29759 #include <Xm/List.h>
29765 XmString string = NULL;
29768 XmListAddItem(w, string, position);
29774 rm -f conftest.
$ac_objext conftest
$ac_exeext
29775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29776 (eval $ac_link) 2>conftest.er1
29778 grep -v '^ *+' conftest.er1
>conftest.err
29780 cat conftest.err
>&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } &&
29783 { ac_try
='test -z "$ac_c_werror_flag"
29784 || test ! -s conftest.err'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; } &&
29790 { ac_try
='test -s conftest$ac_exeext'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; }; then
29798 libsm_ice_link
="$libsm_ice"
29799 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29800 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29804 echo "$as_me: failed program was:" >&5
29805 sed 's/^/| /' conftest.
$ac_ext >&5
29810 rm -f conftest.err conftest.
$ac_objext \
29811 conftest
$ac_exeext conftest.
$ac_ext
29814 CFLAGS
=$save_CFLAGS
29820 if test "$libs_found" = "0"; then
29821 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29822 echo "${ECHO_T}can't find the right libraries" >&6
29823 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29824 echo "$as_me: error: can't link a simple motif program" >&2;}
29825 { (exit 1); exit 1; }; }
29828 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29829 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29830 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29831 echo $ECHO_N "(cached) $ECHO_C" >&6
29833 ac_check_lib_save_LIBS
=$LIBS
29835 cat >conftest.
$ac_ext <<_ACEOF
29838 cat confdefs.h
>>conftest.
$ac_ext
29839 cat >>conftest.
$ac_ext <<_ACEOF
29840 /* end confdefs.h. */
29842 /* Override any gcc2 internal prototype to avoid an error. */
29846 /* We use char because int might match the return type of a gcc2
29847 builtin and then its argument prototype would still apply. */
29848 char SgCreateList ();
29857 rm -f conftest.
$ac_objext conftest
$ac_exeext
29858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29859 (eval $ac_link) 2>conftest.er1
29861 grep -v '^ *+' conftest.er1
>conftest.err
29863 cat conftest.err
>&5
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); } &&
29866 { ac_try
='test -z "$ac_c_werror_flag"
29867 || test ! -s conftest.err'
29868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29869 (eval $ac_try) 2>&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); }; } &&
29873 { ac_try
='test -s conftest$ac_exeext'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; }; then
29879 ac_cv_lib_Sgm_SgCreateList
=yes
29881 echo "$as_me: failed program was:" >&5
29882 sed 's/^/| /' conftest.
$ac_ext >&5
29884 ac_cv_lib_Sgm_SgCreateList
=no
29886 rm -f conftest.err conftest.
$ac_objext \
29887 conftest
$ac_exeext conftest.
$ac_ext
29888 LIBS
=$ac_check_lib_save_LIBS
29890 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29891 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29892 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29893 libsgm_link
=" -lSgm"
29897 save_CFLAGS
=$CFLAGS
29898 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29900 echo "$as_me:$LINENO: checking for Motif 2" >&5
29901 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29902 if test "${wx_cv_lib_motif2+set}" = set; then
29903 echo $ECHO_N "(cached) $ECHO_C" >&6
29905 cat >conftest.
$ac_ext <<_ACEOF
29908 cat confdefs.h
>>conftest.
$ac_ext
29909 cat >>conftest.
$ac_ext <<_ACEOF
29910 /* end confdefs.h. */
29918 #if XmVersion < 2000
29926 rm -f conftest.
$ac_objext
29927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29928 (eval $ac_compile) 2>conftest.er1
29930 grep -v '^ *+' conftest.er1
>conftest.err
29932 cat conftest.err
>&5
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); } &&
29935 { ac_try
='test -z "$ac_c_werror_flag"
29936 || test ! -s conftest.err'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; } &&
29942 { ac_try
='test -s conftest.$ac_objext'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; }; then
29948 wx_cv_lib_motif2
="yes"
29950 echo "$as_me: failed program was:" >&5
29951 sed 's/^/| /' conftest.
$ac_ext >&5
29953 wx_cv_lib_motif2
="no"
29955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29957 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29958 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29959 if test "$wx_cv_lib_motif2" = "yes"; then
29960 cat >>confdefs.h
<<\_ACEOF
29961 #define __WXMOTIF20__ 1
29965 cat >>confdefs.h
<<\_ACEOF
29966 #define __WXMOTIF20__ 0
29971 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29972 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29973 if test "${wx_cv_lib_lesstif+set}" = set; then
29974 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 cat >conftest.
$ac_ext <<_ACEOF
29979 cat confdefs.h
>>conftest.
$ac_ext
29980 cat >>conftest.
$ac_ext <<_ACEOF
29981 /* end confdefs.h. */
29989 #if !defined(LesstifVersion) || LesstifVersion <= 0
29997 rm -f conftest.
$ac_objext
29998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29999 (eval $ac_compile) 2>conftest.er1
30001 grep -v '^ *+' conftest.er1
>conftest.err
30003 cat conftest.err
>&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); } &&
30006 { ac_try
='test -z "$ac_c_werror_flag"
30007 || test ! -s conftest.err'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; } &&
30013 { ac_try
='test -s conftest.$ac_objext'
30014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30015 (eval $ac_try) 2>&5
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; }; then
30019 wx_cv_lib_lesstif
="yes"
30021 echo "$as_me: failed program was:" >&5
30022 sed 's/^/| /' conftest.
$ac_ext >&5
30024 wx_cv_lib_lesstif
="no"
30026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30029 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30030 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30031 if test "$wx_cv_lib_lesstif" = "yes"; then
30032 cat >>confdefs.h
<<\_ACEOF
30033 #define __WXLESSTIF__ 1
30037 cat >>confdefs.h
<<\_ACEOF
30038 #define __WXLESSTIF__ 0
30043 CFLAGS
=$save_CFLAGS
30045 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30050 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30051 if test "$wxUSE_LIBXPM" = "sys"; then
30052 echo "$as_me:$LINENO: checking for Xpm library" >&5
30053 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30056 for ac_dir
in $SEARCH_LIB;
30058 for ac_extension
in a so sl dylib dll.a
; do
30059 if test -f "$ac_dir/libXpm.$ac_extension"; then
30060 ac_find_libraries
=$ac_dir
30066 if test "$ac_find_libraries" != "" ; then
30068 if test "$ac_find_libraries" = "default location"; then
30071 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30073 if test $result = 0; then
30076 ac_path_to_link
=" -L$ac_find_libraries"
30080 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30081 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30082 echo "${ECHO_T}found in $ac_find_libraries" >&6
30084 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30085 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30086 if test "${wx_cv_x11_xpm_h+set}" = set; then
30087 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 save_CFLAGS
=$CFLAGS
30091 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30093 cat >conftest.
$ac_ext <<_ACEOF
30096 cat confdefs.h
>>conftest.
$ac_ext
30097 cat >>conftest.
$ac_ext <<_ACEOF
30098 /* end confdefs.h. */
30100 #include <X11/xpm.h>
30107 version = XpmLibraryVersion();
30113 rm -f conftest.
$ac_objext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30115 (eval $ac_compile) 2>conftest.er1
30117 grep -v '^ *+' conftest.er1
>conftest.err
30119 cat conftest.err
>&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } &&
30122 { ac_try
='test -z "$ac_c_werror_flag"
30123 || test ! -s conftest.err'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; } &&
30129 { ac_try
='test -s conftest.$ac_objext'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; }; then
30135 wx_cv_x11_xpm_h
=yes
30137 echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.
$ac_ext >&5
30143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30145 CFLAGS
=$save_CFLAGS
30149 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30150 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30152 if test $wx_cv_x11_xpm_h = "yes"; then
30153 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30154 cat >>confdefs.h
<<\_ACEOF
30155 #define wxHAVE_LIB_XPM 1
30159 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30160 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30166 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30167 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30168 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30169 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 ac_check_lib_save_LIBS
=$LIBS
30172 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30173 cat >conftest.
$ac_ext <<_ACEOF
30176 cat confdefs.h
>>conftest.
$ac_ext
30177 cat >>conftest.
$ac_ext <<_ACEOF
30178 /* end confdefs.h. */
30180 /* Override any gcc2 internal prototype to avoid an error. */
30184 /* We use char because int might match the return type of a gcc2
30185 builtin and then its argument prototype would still apply. */
30186 char XShapeQueryExtension ();
30190 XShapeQueryExtension ();
30195 rm -f conftest.
$ac_objext conftest
$ac_exeext
30196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30197 (eval $ac_link) 2>conftest.er1
30199 grep -v '^ *+' conftest.er1
>conftest.err
30201 cat conftest.err
>&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); } &&
30204 { ac_try
='test -z "$ac_c_werror_flag"
30205 || test ! -s conftest.err'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; } &&
30211 { ac_try
='test -s conftest$ac_exeext'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; }; then
30217 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.
$ac_ext >&5
30222 ac_cv_lib_Xext_XShapeQueryExtension
=no
30224 rm -f conftest.err conftest.
$ac_objext \
30225 conftest
$ac_exeext conftest.
$ac_ext
30226 LIBS
=$ac_check_lib_save_LIBS
30228 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30229 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30230 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30232 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30238 if test "$wxHAVE_XEXT_LIB" = 1; then
30239 save_CFLAGS
="$CFLAGS"
30240 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30242 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30243 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30244 cat >conftest.
$ac_ext <<_ACEOF
30247 cat confdefs.h
>>conftest.
$ac_ext
30248 cat >>conftest.
$ac_ext <<_ACEOF
30249 /* end confdefs.h. */
30251 #include <X11/Xlib.h>
30252 #include <X11/extensions/shape.h>
30258 int dummy1, dummy2;
30259 XShapeQueryExtension((Display*)NULL,
30260 (int*)NULL, (int*)NULL);
30266 rm -f conftest.
$ac_objext
30267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30268 (eval $ac_compile) 2>conftest.er1
30270 grep -v '^ *+' conftest.er1
>conftest.err
30272 cat conftest.err
>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } &&
30275 { ac_try
='test -z "$ac_c_werror_flag"
30276 || test ! -s conftest.err'
30277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30278 (eval $ac_try) 2>&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); }; } &&
30282 { ac_try
='test -s conftest.$ac_objext'
30283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30284 (eval $ac_try) 2>&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; }; then
30289 cat >>confdefs.h
<<\_ACEOF
30290 #define HAVE_XSHAPE 1
30293 echo "$as_me:$LINENO: result: found" >&5
30294 echo "${ECHO_T}found" >&6
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.
$ac_ext >&5
30301 echo "$as_me:$LINENO: result: not found" >&5
30302 echo "${ECHO_T}not found" >&6
30305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30306 CFLAGS
="$save_CFLAGS"
30311 if test "$wxUSE_MAC" = 1; then
30312 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30313 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30314 if test "$GCC" = yes; then
30315 echo "$as_me:$LINENO: result: gcc" >&5
30316 echo "${ECHO_T}gcc" >&6
30317 CPPFLAGS_PASCAL
="-fpascal-strings"
30318 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30319 echo "$as_me:$LINENO: result: xlc" >&5
30320 echo "${ECHO_T}xlc" >&6
30321 CPPFLAGS_PASCAL
="-qmacpstr"
30323 echo "$as_me:$LINENO: result: none" >&5
30324 echo "${ECHO_T}none" >&6
30327 if test "x$wxUSE_UNIX" = "xyes"; then
30328 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30330 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30335 WXBASEPORT
="_carbon"
30338 if test "$wxUSE_COCOA" = 1; then
30343 if test "$wxUSE_PM" = 1; then
30346 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30347 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30348 if test "${wx_cv_spbcdata+set}" = set; then
30349 echo $ECHO_N "(cached) $ECHO_C" >&6
30352 cat >conftest.
$ac_ext <<_ACEOF
30355 cat confdefs.h
>>conftest.
$ac_ext
30356 cat >>conftest.
$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30372 rm -f conftest.
$ac_objext
30373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30374 (eval $ac_compile) 2>conftest.er1
30376 grep -v '^ *+' conftest.er1
>conftest.err
30378 cat conftest.err
>&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); } &&
30381 { ac_try
='test -z "$ac_c_werror_flag"
30382 || test ! -s conftest.err'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; } &&
30388 { ac_try
='test -s conftest.$ac_objext'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; }; then
30396 echo "$as_me: failed program was:" >&5
30397 sed 's/^/| /' conftest.
$ac_ext >&5
30402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30406 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30407 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30409 if test $wx_cv_spbcdata = "yes"; then
30410 cat >>confdefs.h
<<\_ACEOF
30411 #define HAVE_SPBCDATA 1
30417 if test "$TOOLKIT" = "PM" ; then
30420 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30423 if test "$wxUSE_UNIVERSAL" = "yes"; then
30424 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30428 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30429 DISTDIR
="wx\$(TOOLKIT)"
30435 if test "$USE_WIN32" = 1 ; then
30439 GUIDIST
="BASE_DIST"
30444 if test "$wxUSE_GUI" = "yes"; then
30445 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30447 for ac_header
in X
11/Xlib.h
30449 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30451 echo "$as_me:$LINENO: checking for $ac_header" >&5
30452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30454 echo $ECHO_N "(cached) $ECHO_C" >&6
30456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30459 # Is the header compilable?
30460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30462 cat >conftest.
$ac_ext <<_ACEOF
30465 cat confdefs.h
>>conftest.
$ac_ext
30466 cat >>conftest.
$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 $ac_includes_default
30469 #include <$ac_header>
30471 rm -f conftest.
$ac_objext
30472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30473 (eval $ac_compile) 2>conftest.er1
30475 grep -v '^ *+' conftest.er1
>conftest.err
30477 cat conftest.err
>&5
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); } &&
30480 { ac_try
='test -z "$ac_c_werror_flag"
30481 || test ! -s conftest.err'
30482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30483 (eval $ac_try) 2>&5
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); }; } &&
30487 { ac_try
='test -s conftest.$ac_objext'
30488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30489 (eval $ac_try) 2>&5
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); }; }; then
30493 ac_header_compiler
=yes
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.
$ac_ext >&5
30498 ac_header_compiler
=no
30500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30502 echo "${ECHO_T}$ac_header_compiler" >&6
30504 # Is the header present?
30505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30507 cat >conftest.
$ac_ext <<_ACEOF
30510 cat confdefs.h
>>conftest.
$ac_ext
30511 cat >>conftest.
$ac_ext <<_ACEOF
30512 /* end confdefs.h. */
30513 #include <$ac_header>
30515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30518 grep -v '^ *+' conftest.er1
>conftest.err
30520 cat conftest.err
>&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); } >/dev
/null
; then
30523 if test -s conftest.err
; then
30524 ac_cpp_err
=$ac_c_preproc_warn_flag
30525 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30532 if test -z "$ac_cpp_err"; then
30533 ac_header_preproc
=yes
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.
$ac_ext >&5
30538 ac_header_preproc
=no
30540 rm -f conftest.err conftest.
$ac_ext
30541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30542 echo "${ECHO_T}$ac_header_preproc" >&6
30544 # So? What about this header?
30545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30551 ac_header_preproc
=yes
30554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30568 ## ----------------------------------------- ##
30569 ## Report this to wx-dev@lists.wxwidgets.org ##
30570 ## ----------------------------------------- ##
30573 sed "s/^/$as_me: WARNING: /" >&2
30576 echo "$as_me:$LINENO: checking for $ac_header" >&5
30577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30579 echo $ECHO_N "(cached) $ECHO_C" >&6
30581 eval "$as_ac_Header=\$ac_header_preproc"
30583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30588 cat >>confdefs.h
<<_ACEOF
30589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30597 for ac_header
in X
11/XKBlib.h
30599 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30600 echo "$as_me:$LINENO: checking for $ac_header" >&5
30601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30603 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 cat >conftest.
$ac_ext <<_ACEOF
30608 cat confdefs.h
>>conftest.
$ac_ext
30609 cat >>conftest.
$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30612 #if HAVE_X11_XLIB_H
30613 #include <X11/Xlib.h>
30617 #include <$ac_header>
30619 rm -f conftest.
$ac_objext
30620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30621 (eval $ac_compile) 2>conftest.er1
30623 grep -v '^ *+' conftest.er1
>conftest.err
30625 cat conftest.err
>&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } &&
30628 { ac_try
='test -z "$ac_c_werror_flag"
30629 || test ! -s conftest.err'
30630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30631 (eval $ac_try) 2>&5
30633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30634 (exit $ac_status); }; } &&
30635 { ac_try
='test -s conftest.$ac_objext'
30636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30637 (eval $ac_try) 2>&5
30639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30640 (exit $ac_status); }; }; then
30641 eval "$as_ac_Header=yes"
30643 echo "$as_me: failed program was:" >&5
30644 sed 's/^/| /' conftest.
$ac_ext >&5
30646 eval "$as_ac_Header=no"
30648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30653 cat >>confdefs.h
<<_ACEOF
30654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30669 if test "$TOOLKIT" != "MSW" ; then
30671 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30673 if test "${ac_cv_header_sql_h+set}" = set; then
30674 echo "$as_me:$LINENO: checking for sql.h" >&5
30675 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30676 if test "${ac_cv_header_sql_h+set}" = set; then
30677 echo $ECHO_N "(cached) $ECHO_C" >&6
30679 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30680 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30682 # Is the header compilable?
30683 echo "$as_me:$LINENO: checking sql.h usability" >&5
30684 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30685 cat >conftest.
$ac_ext <<_ACEOF
30688 cat confdefs.h
>>conftest.
$ac_ext
30689 cat >>conftest.
$ac_ext <<_ACEOF
30690 /* end confdefs.h. */
30691 $ac_includes_default
30694 rm -f conftest.
$ac_objext
30695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30696 (eval $ac_compile) 2>conftest.er1
30698 grep -v '^ *+' conftest.er1
>conftest.err
30700 cat conftest.err
>&5
30701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30702 (exit $ac_status); } &&
30703 { ac_try
='test -z "$ac_c_werror_flag"
30704 || test ! -s conftest.err'
30705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30706 (eval $ac_try) 2>&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); }; } &&
30710 { ac_try
='test -s conftest.$ac_objext'
30711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30712 (eval $ac_try) 2>&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; }; then
30716 ac_header_compiler
=yes
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.
$ac_ext >&5
30721 ac_header_compiler
=no
30723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30725 echo "${ECHO_T}$ac_header_compiler" >&6
30727 # Is the header present?
30728 echo "$as_me:$LINENO: checking sql.h presence" >&5
30729 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30730 cat >conftest.
$ac_ext <<_ACEOF
30733 cat confdefs.h
>>conftest.
$ac_ext
30734 cat >>conftest.
$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30739 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30741 grep -v '^ *+' conftest.er1
>conftest.err
30743 cat conftest.err
>&5
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); } >/dev
/null
; then
30746 if test -s conftest.err
; then
30747 ac_cpp_err
=$ac_c_preproc_warn_flag
30748 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30755 if test -z "$ac_cpp_err"; then
30756 ac_header_preproc
=yes
30758 echo "$as_me: failed program was:" >&5
30759 sed 's/^/| /' conftest.
$ac_ext >&5
30761 ac_header_preproc
=no
30763 rm -f conftest.err conftest.
$ac_ext
30764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30765 echo "${ECHO_T}$ac_header_preproc" >&6
30767 # So? What about this header?
30768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30770 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30771 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30772 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30773 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30774 ac_header_preproc
=yes
30777 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30778 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30779 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30780 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30781 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30782 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30783 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30784 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30785 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30786 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30787 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30788 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30791 ## ----------------------------------------- ##
30792 ## Report this to wx-dev@lists.wxwidgets.org ##
30793 ## ----------------------------------------- ##
30796 sed "s/^/$as_me: WARNING: /" >&2
30799 echo "$as_me:$LINENO: checking for sql.h" >&5
30800 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30801 if test "${ac_cv_header_sql_h+set}" = set; then
30802 echo $ECHO_N "(cached) $ECHO_C" >&6
30804 ac_cv_header_sql_h
=$ac_header_preproc
30806 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30807 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30810 if test $ac_cv_header_sql_h = yes; then
30815 if test "x$found_sql_h" = "x1" ; then
30816 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30817 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30818 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30821 ac_check_lib_save_LIBS
=$LIBS
30822 LIBS
="-liodbc $LIBS"
30823 cat >conftest.
$ac_ext <<_ACEOF
30826 cat confdefs.h
>>conftest.
$ac_ext
30827 cat >>conftest.
$ac_ext <<_ACEOF
30828 /* end confdefs.h. */
30830 /* Override any gcc2 internal prototype to avoid an error. */
30834 /* We use char because int might match the return type of a gcc2
30835 builtin and then its argument prototype would still apply. */
30836 char SQLAllocEnv ();
30845 rm -f conftest.
$ac_objext conftest
$ac_exeext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30847 (eval $ac_link) 2>conftest.er1
30849 grep -v '^ *+' conftest.er1
>conftest.err
30851 cat conftest.err
>&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } &&
30854 { ac_try
='test -z "$ac_c_werror_flag"
30855 || test ! -s conftest.err'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; } &&
30861 { ac_try
='test -s conftest$ac_exeext'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; }; then
30867 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.
$ac_ext >&5
30872 ac_cv_lib_iodbc_SQLAllocEnv
=no
30874 rm -f conftest.err conftest.
$ac_objext \
30875 conftest
$ac_exeext conftest.
$ac_ext
30876 LIBS
=$ac_check_lib_save_LIBS
30878 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30879 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30880 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30881 ODBC_LINK
=" -liodbc"
30884 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30885 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30886 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30887 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 ac_check_lib_save_LIBS
=$LIBS
30890 LIBS
="-lunixodbc $LIBS"
30891 cat >conftest.
$ac_ext <<_ACEOF
30894 cat confdefs.h
>>conftest.
$ac_ext
30895 cat >>conftest.
$ac_ext <<_ACEOF
30896 /* end confdefs.h. */
30898 /* Override any gcc2 internal prototype to avoid an error. */
30902 /* We use char because int might match the return type of a gcc2
30903 builtin and then its argument prototype would still apply. */
30904 char SQLAllocEnv ();
30913 rm -f conftest.
$ac_objext conftest
$ac_exeext
30914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30915 (eval $ac_link) 2>conftest.er1
30917 grep -v '^ *+' conftest.er1
>conftest.err
30919 cat conftest.err
>&5
30920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921 (exit $ac_status); } &&
30922 { ac_try
='test -z "$ac_c_werror_flag"
30923 || test ! -s conftest.err'
30924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30925 (eval $ac_try) 2>&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; } &&
30929 { ac_try
='test -s conftest$ac_exeext'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; }; then
30935 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30937 echo "$as_me: failed program was:" >&5
30938 sed 's/^/| /' conftest.
$ac_ext >&5
30940 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30942 rm -f conftest.err conftest.
$ac_objext \
30943 conftest
$ac_exeext conftest.
$ac_ext
30944 LIBS
=$ac_check_lib_save_LIBS
30946 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30947 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30948 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30949 ODBC_LINK
=" -lunixodbc"
30952 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30953 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30954 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30955 echo $ECHO_N "(cached) $ECHO_C" >&6
30957 ac_check_lib_save_LIBS
=$LIBS
30958 LIBS
="-lodbc $LIBS"
30959 cat >conftest.
$ac_ext <<_ACEOF
30962 cat confdefs.h
>>conftest.
$ac_ext
30963 cat >>conftest.
$ac_ext <<_ACEOF
30964 /* end confdefs.h. */
30966 /* Override any gcc2 internal prototype to avoid an error. */
30970 /* We use char because int might match the return type of a gcc2
30971 builtin and then its argument prototype would still apply. */
30972 char SQLAllocEnv ();
30981 rm -f conftest.
$ac_objext conftest
$ac_exeext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30983 (eval $ac_link) 2>conftest.er1
30985 grep -v '^ *+' conftest.er1
>conftest.err
30987 cat conftest.err
>&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } &&
30990 { ac_try
='test -z "$ac_c_werror_flag"
30991 || test ! -s conftest.err'
30992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30993 (eval $ac_try) 2>&5
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); }; } &&
30997 { ac_try
='test -s conftest$ac_exeext'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; }; then
31003 ac_cv_lib_odbc_SQLAllocEnv
=yes
31005 echo "$as_me: failed program was:" >&5
31006 sed 's/^/| /' conftest.
$ac_ext >&5
31008 ac_cv_lib_odbc_SQLAllocEnv
=no
31010 rm -f conftest.err conftest.
$ac_objext \
31011 conftest
$ac_exeext conftest.
$ac_ext
31012 LIBS
=$ac_check_lib_save_LIBS
31014 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31015 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31016 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31017 ODBC_LINK
=" -lodbc"
31027 if test "x$ODBC_LINK" = "x" ; then
31028 if test "$wxUSE_ODBC" = "sys" ; then
31029 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31030 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31031 { (exit 1); exit 1; }; }
31033 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31034 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31042 if test "$wxUSE_ODBC" = "builtin" ; then
31043 cat >>confdefs.h
<<\_ACEOF
31044 #define wxUSE_BUILTIN_IODBC 1
31050 if test "$wxUSE_ODBC" != "no" ; then
31051 cat >>confdefs.h
<<\_ACEOF
31052 #define wxUSE_ODBC 1
31055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31057 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31061 if test "$wxUSE_DISPLAY" = "yes"; then
31062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31063 echo "$as_me:$LINENO: checking for Xinerama" >&5
31064 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31067 for ac_dir
in $SEARCH_LIB;
31069 for ac_extension
in a so sl dylib dll.a
; do
31070 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31071 ac_find_libraries
=$ac_dir
31077 if test "$ac_find_libraries" != "" ; then
31079 if test "$ac_find_libraries" = "default location"; then
31082 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31084 if test $result = 0; then
31087 ac_path_to_link
=" -L$ac_find_libraries"
31091 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31092 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31094 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31095 echo "$as_me:$LINENO: result: yes" >&5
31096 echo "${ECHO_T}yes" >&6
31098 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31099 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31102 for ac_dir
in $SEARCH_LIB;
31104 for ac_extension
in a so sl dylib dll.a
; do
31105 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31106 ac_find_libraries
=$ac_dir
31112 if test "$ac_find_libraries" != "" ; then
31113 echo "$as_me:$LINENO: result: yes" >&5
31114 echo "${ECHO_T}yes" >&6
31116 for ac_header
in X
11/extensions
/xf86vmode.h
31118 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31119 echo "$as_me:$LINENO: checking for $ac_header" >&5
31120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31122 echo $ECHO_N "(cached) $ECHO_C" >&6
31124 cat >conftest.
$ac_ext <<_ACEOF
31127 cat confdefs.h
>>conftest.
$ac_ext
31128 cat >>conftest.
$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31131 #if HAVE_X11_XLIB_H
31132 #include <X11/Xlib.h>
31136 #include <$ac_header>
31138 rm -f conftest.
$ac_objext
31139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31140 (eval $ac_compile) 2>conftest.er1
31142 grep -v '^ *+' conftest.er1
>conftest.err
31144 cat conftest.err
>&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); } &&
31147 { ac_try
='test -z "$ac_c_werror_flag"
31148 || test ! -s conftest.err'
31149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31150 (eval $ac_try) 2>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); }; } &&
31154 { ac_try
='test -s conftest.$ac_objext'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; }; then
31160 eval "$as_ac_Header=yes"
31162 echo "$as_me: failed program was:" >&5
31163 sed 's/^/| /' conftest.
$ac_ext >&5
31165 eval "$as_ac_Header=no"
31167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31172 cat >>confdefs.h
<<_ACEOF
31173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31176 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31183 echo "$as_me:$LINENO: result: no" >&5
31184 echo "${ECHO_T}no" >&6
31188 echo "$as_me:$LINENO: result: no" >&5
31189 echo "${ECHO_T}no" >&6
31190 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31191 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31194 elif test "$wxUSE_MSW" = 1; then
31197 for ac_header
in multimon.h ddraw.h
31199 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31200 echo "$as_me:$LINENO: checking for $ac_header" >&5
31201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31205 cat >conftest.
$ac_ext <<_ACEOF
31208 cat confdefs.h
>>conftest.
$ac_ext
31209 cat >>conftest.
$ac_ext <<_ACEOF
31210 /* end confdefs.h. */
31211 #include <windows.h>
31213 #include <$ac_header>
31215 rm -f conftest.
$ac_objext
31216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31217 (eval $ac_compile) 2>conftest.er1
31219 grep -v '^ *+' conftest.er1
>conftest.err
31221 cat conftest.err
>&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); } &&
31224 { ac_try
='test -z "$ac_c_werror_flag"
31225 || test ! -s conftest.err'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; } &&
31231 { ac_try
='test -s conftest.$ac_objext'
31232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233 (eval $ac_try) 2>&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); }; }; then
31237 eval "$as_ac_Header=yes"
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.
$ac_ext >&5
31242 eval "$as_ac_Header=no"
31244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31249 cat >>confdefs.h
<<_ACEOF
31250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31256 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31257 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31268 if test "$wxUSE_OPENGL" = "yes"; then
31269 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31270 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31271 elif test "$wxUSE_MSW" = 1; then
31272 OPENGL_LIBS
="-lopengl32 -lglu32"
31277 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31279 if test -f "$ac_dir/GL/gl.h"; then
31280 ac_find_includes
=$ac_dir
31285 if test "$ac_find_includes" != "" ; then
31286 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31287 echo "${ECHO_T}found in $ac_find_includes" >&6
31289 if test "x$ac_find_includes" = "x/usr/include"; then
31290 ac_path_to_include
=""
31292 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31294 if test $result = 0; then
31295 ac_path_to_include
=""
31297 ac_path_to_include
=" -I$ac_find_includes"
31301 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31304 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31305 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31306 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31307 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31308 echo $ECHO_N "(cached) $ECHO_C" >&6
31310 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31311 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31313 # Is the header compilable?
31314 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31315 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31316 cat >conftest.
$ac_ext <<_ACEOF
31319 cat confdefs.h
>>conftest.
$ac_ext
31320 cat >>conftest.
$ac_ext <<_ACEOF
31321 /* end confdefs.h. */
31322 $ac_includes_default
31325 rm -f conftest.
$ac_objext
31326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31327 (eval $ac_compile) 2>conftest.er1
31329 grep -v '^ *+' conftest.er1
>conftest.err
31331 cat conftest.err
>&5
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); } &&
31334 { ac_try
='test -z "$ac_c_werror_flag"
31335 || test ! -s conftest.err'
31336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31337 (eval $ac_try) 2>&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); }; } &&
31341 { ac_try
='test -s conftest.$ac_objext'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; }; then
31347 ac_header_compiler
=yes
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.
$ac_ext >&5
31352 ac_header_compiler
=no
31354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31356 echo "${ECHO_T}$ac_header_compiler" >&6
31358 # Is the header present?
31359 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31360 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31361 cat >conftest.
$ac_ext <<_ACEOF
31364 cat confdefs.h
>>conftest.
$ac_ext
31365 cat >>conftest.
$ac_ext <<_ACEOF
31366 /* end confdefs.h. */
31369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31372 grep -v '^ *+' conftest.er1
>conftest.err
31374 cat conftest.err
>&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); } >/dev
/null
; then
31377 if test -s conftest.err
; then
31378 ac_cpp_err
=$ac_c_preproc_warn_flag
31379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31386 if test -z "$ac_cpp_err"; then
31387 ac_header_preproc
=yes
31389 echo "$as_me: failed program was:" >&5
31390 sed 's/^/| /' conftest.
$ac_ext >&5
31392 ac_header_preproc
=no
31394 rm -f conftest.err conftest.
$ac_ext
31395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31396 echo "${ECHO_T}$ac_header_preproc" >&6
31398 # So? What about this header?
31399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31401 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31402 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31403 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31404 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31405 ac_header_preproc
=yes
31408 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31409 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31410 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31411 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31412 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31413 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31414 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31415 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31416 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31417 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31418 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31419 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31422 ## ----------------------------------------- ##
31423 ## Report this to wx-dev@lists.wxwidgets.org ##
31424 ## ----------------------------------------- ##
31427 sed "s/^/$as_me: WARNING: /" >&2
31430 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31431 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31432 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31433 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 ac_cv_header_GL_gl_h
=$ac_header_preproc
31437 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31438 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31441 if test $ac_cv_header_GL_gl_h = yes; then
31445 echo "$as_me:$LINENO: checking for -lGL" >&5
31446 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31449 for ac_dir
in $SEARCH_LIB;
31451 for ac_extension
in a so sl dylib dll.a
; do
31452 if test -f "$ac_dir/libGL.$ac_extension"; then
31453 ac_find_libraries
=$ac_dir
31459 if test "$ac_find_libraries" != "" ; then
31460 echo "$as_me:$LINENO: result: yes" >&5
31461 echo "${ECHO_T}yes" >&6
31464 if test "$ac_find_libraries" = "default location"; then
31467 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31469 if test $result = 0; then
31472 ac_path_to_link
=" -L$ac_find_libraries"
31476 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31477 LDFLAGS_GL
="$ac_path_to_link"
31480 echo "$as_me:$LINENO: checking for -lGLU" >&5
31481 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31484 for ac_dir
in $SEARCH_LIB;
31486 for ac_extension
in a so sl dylib dll.a
; do
31487 if test -f "$ac_dir/libGLU.$ac_extension"; then
31488 ac_find_libraries
=$ac_dir
31494 if test "$ac_find_libraries" != "" ; then
31496 if test "$ac_find_libraries" = "default location"; then
31499 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31501 if test $result = 0; then
31504 ac_path_to_link
=" -L$ac_find_libraries"
31508 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31509 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31510 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31514 OPENGL_LIBS
="-lGL -lGLU"
31515 echo "$as_me:$LINENO: result: yes" >&5
31516 echo "${ECHO_T}yes" >&6
31518 echo "$as_me:$LINENO: result: no" >&5
31519 echo "${ECHO_T}no" >&6
31522 echo "$as_me:$LINENO: result: no" >&5
31523 echo "${ECHO_T}no" >&6
31526 if test "$found_gl" != 1; then
31527 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31528 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31531 for ac_dir
in $SEARCH_LIB;
31533 for ac_extension
in a so sl dylib dll.a
; do
31534 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31535 ac_find_libraries
=$ac_dir
31541 if test "$ac_find_libraries" != "" ; then
31543 if test "$ac_find_libraries" = "default location"; then
31546 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31548 if test $result = 0; then
31551 ac_path_to_link
=" -L$ac_find_libraries"
31555 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31556 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31557 echo "$as_me:$LINENO: result: yes" >&5
31558 echo "${ECHO_T}yes" >&6
31560 echo "$as_me:$LINENO: result: no" >&5
31561 echo "${ECHO_T}no" >&6
31569 if test "x$OPENGL_LIBS" = "x"; then
31570 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31571 echo "$as_me: error: OpenGL libraries not available" >&2;}
31572 { (exit 1); exit 1; }; }
31576 if test "$wxUSE_OPENGL" = "yes"; then
31578 cat >>confdefs.h
<<\_ACEOF
31579 #define wxUSE_OPENGL 1
31582 cat >>confdefs.h
<<\_ACEOF
31583 #define wxUSE_GLCANVAS 1
31586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31591 if test -n "$TOOLKIT" ; then
31592 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31597 if test "$wxUSE_SHARED" = "yes"; then
31601 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31602 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31607 if test "$wxUSE_SHARED" = "yes"; then
31610 found_versioning
=no
31613 if test $found_versioning = no
; then
31614 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31615 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31616 if test "${wx_cv_version_script+set}" = set; then
31617 echo $ECHO_N "(cached) $ECHO_C" >&6
31620 echo "VER_1 { *; };" >conftest.sym
31621 echo "int main() { return 0; }" >conftest.cpp
31624 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31625 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; } ; then
31631 if test -s conftest.stderr
; then
31632 wx_cv_version_script
=no
31634 wx_cv_version_script
=yes
31637 wx_cv_version_script
=no
31640 if test $wx_cv_version_script = yes
31642 echo "struct B { virtual ~B() { } }; \
31643 struct D : public B { }; \
31644 void F() { D d; }" > conftest.cpp
31647 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31648 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31650 (eval $ac_try) 2>&5
31652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31653 (exit $ac_status); }; } &&
31655 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31656 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31658 (eval $ac_try) 2>&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); }; }
31664 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31665 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31667 (eval $ac_try) 2>&5
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); }; }
31672 wx_cv_version_script
=yes
31674 wx_cv_version_script
=no
31679 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31680 rm -f conftest1.output conftest2.output conftest3.output
31683 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31684 echo "${ECHO_T}$wx_cv_version_script" >&6
31685 if test $wx_cv_version_script = yes ; then
31686 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31692 *-*-linux* | *-*-gnu* )
31693 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31694 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31698 if test "$GCC" = yes ; then
31699 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
31701 saveLdflags
="$LDFLAGS"
31702 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31703 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31704 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31705 cat >conftest.
$ac_ext <<_ACEOF
31708 cat confdefs.h
>>conftest.
$ac_ext
31709 cat >>conftest.
$ac_ext <<_ACEOF
31710 /* end confdefs.h. */
31720 rm -f conftest.
$ac_objext conftest
$ac_exeext
31721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31722 (eval $ac_link) 2>conftest.er1
31724 grep -v '^ *+' conftest.er1
>conftest.err
31726 cat conftest.err
>&5
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); } &&
31729 { ac_try
='test -z "$ac_c_werror_flag"
31730 || test ! -s conftest.err'
31731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31732 (eval $ac_try) 2>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; } &&
31736 { ac_try
='test -s conftest$ac_exeext'
31737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31738 (eval $ac_try) 2>&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); }; }; then
31743 echo "$as_me:$LINENO: result: yes" >&5
31744 echo "${ECHO_T}yes" >&6
31745 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31746 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31749 echo "$as_me: failed program was:" >&5
31750 sed 's/^/| /' conftest.
$ac_ext >&5
31753 echo "$as_me:$LINENO: result: no" >&5
31754 echo "${ECHO_T}no" >&6
31755 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31756 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31757 LDFLAGS
="$saveLdflags -Wl,-R,/"
31758 cat >conftest.
$ac_ext <<_ACEOF
31761 cat confdefs.h
>>conftest.
$ac_ext
31762 cat >>conftest.
$ac_ext <<_ACEOF
31763 /* end confdefs.h. */
31773 rm -f conftest.
$ac_objext conftest
$ac_exeext
31774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31775 (eval $ac_link) 2>conftest.er1
31777 grep -v '^ *+' conftest.er1
>conftest.err
31779 cat conftest.err
>&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); } &&
31782 { ac_try
='test -z "$ac_c_werror_flag"
31783 || test ! -s conftest.err'
31784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31785 (eval $ac_try) 2>&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); }; } &&
31789 { ac_try
='test -s conftest$ac_exeext'
31790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31791 (eval $ac_try) 2>&5
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; }; then
31796 echo "$as_me:$LINENO: result: yes" >&5
31797 echo "${ECHO_T}yes" >&6
31798 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31799 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31802 echo "$as_me: failed program was:" >&5
31803 sed 's/^/| /' conftest.
$ac_ext >&5
31806 echo "$as_me:$LINENO: result: no" >&5
31807 echo "${ECHO_T}no" >&6
31810 rm -f conftest.err conftest.
$ac_objext \
31811 conftest
$ac_exeext conftest.
$ac_ext
31814 rm -f conftest.err conftest.
$ac_objext \
31815 conftest
$ac_exeext conftest.
$ac_ext
31816 LDFLAGS
="$saveLdflags"
31818 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31819 WXCONFIG_RPATH
="-R\$libdir"
31824 install_name_tool
=`which install_name_tool`
31825 if test "$install_name_tool" -a -x "$install_name_tool"; then
31826 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31827 cat <<EOF >change-install-names
31829 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31830 inst_cmd="install_name_tool "
31831 for i in \${libnames} ; do
31832 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31836 chmod +x change
-install-names
31840 *-*-cygwin* | *-*-mingw32* )
31841 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31845 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31846 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31851 if test $wxUSE_RPATH = "no"; then
31852 SAMPLES_RPATH_FLAG
=''
31853 SAMPLES_RPATH_POSTLINK
=''
31861 config_linkage_component
="-static"
31868 lib_unicode_suffix
=
31870 if test "$wxUSE_UNICODE" = "yes"; then
31871 lib_unicode_suffix
=u
31872 WX_CHARTYPE
="unicode"
31877 WX_DEBUGTYPE
="release"
31879 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31881 WX_DEBUGTYPE
="debug"
31885 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31886 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31889 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31893 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31895 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31897 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31899 if test "$cross_compiling" = "yes"; then
31900 HOST_SUFFIX
="-$host_alias"
31901 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31902 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31905 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31906 if test "${TOOLKIT_DIR}" = "os2"; then
31907 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31909 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31914 if test "$wxUSE_COCOA" = 1; then
31918 ac_cpp
='$CPP $CPPFLAGS'
31919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31925 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31926 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31927 cat >conftest.
$ac_ext <<_ACEOF
31930 cat confdefs.h
>>conftest.
$ac_ext
31931 cat >>conftest.
$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31933 #include <AppKit/NSEvent.h>
31934 #include <CoreFoundation/CoreFoundation.h>
31944 rm -f conftest.
$ac_objext
31945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31946 (eval $ac_compile) 2>conftest.er1
31948 grep -v '^ *+' conftest.er1
>conftest.err
31950 cat conftest.err
>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); } &&
31953 { ac_try
='test -z "$ac_c_werror_flag"
31954 || test ! -s conftest.err'
31955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31956 (eval $ac_try) 2>&5
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); }; } &&
31960 { ac_try
='test -s conftest.$ac_objext'
31961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962 (eval $ac_try) 2>&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); }; }; then
31966 echo "$as_me:$LINENO: result: no" >&5
31967 echo "${ECHO_T}no" >&6
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.
$ac_ext >&5
31972 echo "$as_me:$LINENO: result: yes" >&5
31973 echo "${ECHO_T}yes" >&6
31974 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31975 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31976 cat >conftest.
$ac_ext <<_ACEOF
31979 cat confdefs.h
>>conftest.
$ac_ext
31980 cat >>conftest.
$ac_ext <<_ACEOF
31981 /* end confdefs.h. */
31982 #define __Point__ 1
31983 #include <AppKit/NSEvent.h>
31984 #include <CoreFoundation/CoreFoundation.h>
31994 rm -f conftest.
$ac_objext
31995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31996 (eval $ac_compile) 2>conftest.er1
31998 grep -v '^ *+' conftest.er1
>conftest.err
32000 cat conftest.err
>&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } &&
32003 { ac_try
='test -z "$ac_c_werror_flag"
32004 || test ! -s conftest.err'
32005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32006 (eval $ac_try) 2>&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); }; } &&
32010 { ac_try
='test -s conftest.$ac_objext'
32011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32012 (eval $ac_try) 2>&5
32014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32015 (exit $ac_status); }; }; then
32016 echo "$as_me:$LINENO: result: yes" >&5
32017 echo "${ECHO_T}yes" >&6
32018 cat >>confdefs.h
<<\_ACEOF
32019 #define __Point__ 1
32024 echo "$as_me: failed program was:" >&5
32025 sed 's/^/| /' conftest.
$ac_ext >&5
32027 { { echo "$as_me:$LINENO: error: no
32028 See \`config.log' for more details." >&5
32029 echo "$as_me: error: no
32030 See \`config.log' for more details." >&2;}
32031 { (exit 1); exit 1; }; }
32034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32039 ac_cpp
='$CPP $CPPFLAGS'
32040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32046 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32047 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32048 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32050 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32052 # Extract the first word of "Rez", so it can be a program name with args.
32053 set dummy Rez
; ac_word
=$2
32054 echo "$as_me:$LINENO: checking for $ac_word" >&5
32055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32056 if test "${ac_cv_prog_REZ+set}" = set; then
32057 echo $ECHO_N "(cached) $ECHO_C" >&6
32059 if test -n "$REZ"; then
32060 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32063 for as_dir
in $PATH
32066 test -z "$as_dir" && as_dir
=.
32067 for ac_exec_ext
in '' $ac_executable_extensions; do
32068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32069 ac_cv_prog_REZ
="Rez"
32070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32076 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32079 REZ
=$ac_cv_prog_REZ
32080 if test -n "$REZ"; then
32081 echo "$as_me:$LINENO: result: $REZ" >&5
32082 echo "${ECHO_T}$REZ" >&6
32084 echo "$as_me:$LINENO: result: no" >&5
32085 echo "${ECHO_T}no" >&6
32088 # Extract the first word of "DeRez", so it can be a program name with args.
32089 set dummy DeRez
; ac_word
=$2
32090 echo "$as_me:$LINENO: checking for $ac_word" >&5
32091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32092 if test "${ac_cv_prog_DEREZ+set}" = set; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32095 if test -n "$DEREZ"; then
32096 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32099 for as_dir
in $PATH
32102 test -z "$as_dir" && as_dir
=.
32103 for ac_exec_ext
in '' $ac_executable_extensions; do
32104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32105 ac_cv_prog_DEREZ
="DeRez"
32106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32112 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32115 DEREZ
=$ac_cv_prog_DEREZ
32116 if test -n "$DEREZ"; then
32117 echo "$as_me:$LINENO: result: $DEREZ" >&5
32118 echo "${ECHO_T}$DEREZ" >&6
32120 echo "$as_me:$LINENO: result: no" >&5
32121 echo "${ECHO_T}no" >&6
32124 # Extract the first word of "SetFile", so it can be a program name with args.
32125 set dummy SetFile
; ac_word
=$2
32126 echo "$as_me:$LINENO: checking for $ac_word" >&5
32127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32128 if test "${ac_cv_prog_SETFILE+set}" = set; then
32129 echo $ECHO_N "(cached) $ECHO_C" >&6
32131 if test -n "$SETFILE"; then
32132 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32135 for as_dir
in $PATH
32138 test -z "$as_dir" && as_dir
=.
32139 for ac_exec_ext
in '' $ac_executable_extensions; do
32140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32141 ac_cv_prog_SETFILE
="SetFile"
32142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32148 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32151 SETFILE
=$ac_cv_prog_SETFILE
32152 if test -n "$SETFILE"; then
32153 echo "$as_me:$LINENO: result: $SETFILE" >&5
32154 echo "${ECHO_T}$SETFILE" >&6
32156 echo "$as_me:$LINENO: result: no" >&5
32157 echo "${ECHO_T}no" >&6
32161 MACSETFILE
="\$(SETFILE)"
32163 if test "$wxUSE_MAC" = 1; then
32164 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32166 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32168 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32169 RESCOMP
="echo -n \| $REZ"
32170 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32176 if test "$wxUSE_PM" = 1; then
32178 WXCONFIG_RESFLAGS
="-ep"
32180 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32182 POSTLINK_COMMAND
="@true"
32189 echo "$as_me:$LINENO: checking for mode_t" >&5
32190 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32191 if test "${ac_cv_type_mode_t+set}" = set; then
32192 echo $ECHO_N "(cached) $ECHO_C" >&6
32194 cat >conftest.
$ac_ext <<_ACEOF
32197 cat confdefs.h
>>conftest.
$ac_ext
32198 cat >>conftest.
$ac_ext <<_ACEOF
32199 /* end confdefs.h. */
32200 $ac_includes_default
32206 if (sizeof (mode_t))
32212 rm -f conftest.
$ac_objext
32213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32214 (eval $ac_compile) 2>conftest.er1
32216 grep -v '^ *+' conftest.er1
>conftest.err
32218 cat conftest.err
>&5
32219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220 (exit $ac_status); } &&
32221 { ac_try
='test -z "$ac_c_werror_flag"
32222 || test ! -s conftest.err'
32223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32224 (eval $ac_try) 2>&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); }; } &&
32228 { ac_try
='test -s conftest.$ac_objext'
32229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32230 (eval $ac_try) 2>&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); }; }; then
32234 ac_cv_type_mode_t
=yes
32236 echo "$as_me: failed program was:" >&5
32237 sed 's/^/| /' conftest.
$ac_ext >&5
32239 ac_cv_type_mode_t
=no
32241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32243 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32244 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32245 if test $ac_cv_type_mode_t = yes; then
32249 cat >>confdefs.h
<<_ACEOF
32255 echo "$as_me:$LINENO: checking for off_t" >&5
32256 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32257 if test "${ac_cv_type_off_t+set}" = set; then
32258 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 cat >conftest.
$ac_ext <<_ACEOF
32263 cat confdefs.h
>>conftest.
$ac_ext
32264 cat >>conftest.
$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32266 $ac_includes_default
32272 if (sizeof (off_t))
32278 rm -f conftest.
$ac_objext
32279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32280 (eval $ac_compile) 2>conftest.er1
32282 grep -v '^ *+' conftest.er1
>conftest.err
32284 cat conftest.err
>&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); } &&
32287 { ac_try
='test -z "$ac_c_werror_flag"
32288 || test ! -s conftest.err'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; } &&
32294 { ac_try
='test -s conftest.$ac_objext'
32295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32296 (eval $ac_try) 2>&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); }; }; then
32300 ac_cv_type_off_t
=yes
32302 echo "$as_me: failed program was:" >&5
32303 sed 's/^/| /' conftest.
$ac_ext >&5
32305 ac_cv_type_off_t
=no
32307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32309 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32310 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32311 if test $ac_cv_type_off_t = yes; then
32315 cat >>confdefs.h
<<_ACEOF
32321 echo "$as_me:$LINENO: checking for pid_t" >&5
32322 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32323 if test "${ac_cv_type_pid_t+set}" = set; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 cat >conftest.
$ac_ext <<_ACEOF
32329 cat confdefs.h
>>conftest.
$ac_ext
32330 cat >>conftest.
$ac_ext <<_ACEOF
32331 /* end confdefs.h. */
32332 $ac_includes_default
32338 if (sizeof (pid_t))
32344 rm -f conftest.
$ac_objext
32345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32346 (eval $ac_compile) 2>conftest.er1
32348 grep -v '^ *+' conftest.er1
>conftest.err
32350 cat conftest.err
>&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); } &&
32353 { ac_try
='test -z "$ac_c_werror_flag"
32354 || test ! -s conftest.err'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; } &&
32360 { ac_try
='test -s conftest.$ac_objext'
32361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32362 (eval $ac_try) 2>&5
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); }; }; then
32366 ac_cv_type_pid_t
=yes
32368 echo "$as_me: failed program was:" >&5
32369 sed 's/^/| /' conftest.
$ac_ext >&5
32371 ac_cv_type_pid_t
=no
32373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32375 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32376 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32377 if test $ac_cv_type_pid_t = yes; then
32381 cat >>confdefs.h
<<_ACEOF
32387 echo "$as_me:$LINENO: checking for size_t" >&5
32388 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32389 if test "${ac_cv_type_size_t+set}" = set; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 cat >conftest.
$ac_ext <<_ACEOF
32395 cat confdefs.h
>>conftest.
$ac_ext
32396 cat >>conftest.
$ac_ext <<_ACEOF
32397 /* end confdefs.h. */
32398 $ac_includes_default
32404 if (sizeof (size_t))
32410 rm -f conftest.
$ac_objext
32411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32412 (eval $ac_compile) 2>conftest.er1
32414 grep -v '^ *+' conftest.er1
>conftest.err
32416 cat conftest.err
>&5
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); } &&
32419 { ac_try
='test -z "$ac_c_werror_flag"
32420 || test ! -s conftest.err'
32421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32422 (eval $ac_try) 2>&5
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); }; } &&
32426 { ac_try
='test -s conftest.$ac_objext'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; }; then
32432 ac_cv_type_size_t
=yes
32434 echo "$as_me: failed program was:" >&5
32435 sed 's/^/| /' conftest.
$ac_ext >&5
32437 ac_cv_type_size_t
=no
32439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32441 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32442 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32443 if test $ac_cv_type_size_t = yes; then
32447 cat >>confdefs.h
<<_ACEOF
32448 #define size_t unsigned
32453 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32454 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32455 if test "${ac_cv_type_uid_t+set}" = set; then
32456 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 cat >conftest.
$ac_ext <<_ACEOF
32461 cat confdefs.h
>>conftest.
$ac_ext
32462 cat >>conftest.
$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32464 #include <sys/types.h>
32467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32468 $EGREP "uid_t" >/dev
/null
2>&1; then
32469 ac_cv_type_uid_t
=yes
32471 ac_cv_type_uid_t
=no
32476 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32477 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32478 if test $ac_cv_type_uid_t = no
; then
32480 cat >>confdefs.h
<<\_ACEOF
32485 cat >>confdefs.h
<<\_ACEOF
32492 echo "$as_me:$LINENO: checking for ssize_t" >&5
32493 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32494 if test "${ac_cv_type_ssize_t+set}" = set; then
32495 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 cat >conftest.
$ac_ext <<_ACEOF
32500 cat confdefs.h
>>conftest.
$ac_ext
32501 cat >>conftest.
$ac_ext <<_ACEOF
32502 /* end confdefs.h. */
32503 $ac_includes_default
32509 if (sizeof (ssize_t))
32515 rm -f conftest.
$ac_objext
32516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32517 (eval $ac_compile) 2>conftest.er1
32519 grep -v '^ *+' conftest.er1
>conftest.err
32521 cat conftest.err
>&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); } &&
32524 { ac_try
='test -z "$ac_c_werror_flag"
32525 || test ! -s conftest.err'
32526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32527 (eval $ac_try) 2>&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; } &&
32531 { ac_try
='test -s conftest.$ac_objext'
32532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32533 (eval $ac_try) 2>&5
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); }; }; then
32537 ac_cv_type_ssize_t
=yes
32539 echo "$as_me: failed program was:" >&5
32540 sed 's/^/| /' conftest.
$ac_ext >&5
32542 ac_cv_type_ssize_t
=no
32544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32546 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32547 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32548 if test $ac_cv_type_ssize_t = yes; then
32550 cat >>confdefs.h
<<_ACEOF
32551 #define HAVE_SSIZE_T 1
32561 ac_cpp
='$CXXCPP $CPPFLAGS'
32562 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32566 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32567 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32568 if test "${wx_cv_size_t_is_uint+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 cat >conftest.
$ac_ext <<_ACEOF
32575 cat confdefs.h
>>conftest.
$ac_ext
32576 cat >>conftest.
$ac_ext <<_ACEOF
32577 /* end confdefs.h. */
32578 #include <stddef.h>
32585 struct Foo { void foo(size_t); void foo(unsigned int); };
32593 rm -f conftest.
$ac_objext
32594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32595 (eval $ac_compile) 2>conftest.er1
32597 grep -v '^ *+' conftest.er1
>conftest.err
32599 cat conftest.err
>&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); } &&
32602 { ac_try
='test -z "$ac_cxx_werror_flag"
32603 || test ! -s conftest.err'
32604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32605 (eval $ac_try) 2>&5
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); }; } &&
32609 { ac_try
='test -s conftest.$ac_objext'
32610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32611 (eval $ac_try) 2>&5
32613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32614 (exit $ac_status); }; }; then
32615 wx_cv_size_t_is_uint
=no
32617 echo "$as_me: failed program was:" >&5
32618 sed 's/^/| /' conftest.
$ac_ext >&5
32620 wx_cv_size_t_is_uint
=yes
32623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32627 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32628 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32630 if test "$wx_cv_size_t_is_uint" = "yes"; then
32631 cat >>confdefs.h
<<\_ACEOF
32632 #define wxSIZE_T_IS_UINT 1
32636 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32637 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32638 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32639 echo $ECHO_N "(cached) $ECHO_C" >&6
32641 cat >conftest.
$ac_ext <<_ACEOF
32644 cat confdefs.h
>>conftest.
$ac_ext
32645 cat >>conftest.
$ac_ext <<_ACEOF
32646 /* end confdefs.h. */
32647 #include <stddef.h>
32654 struct Foo { void foo(size_t); void foo(unsigned long); };
32662 rm -f conftest.
$ac_objext
32663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32664 (eval $ac_compile) 2>conftest.er1
32666 grep -v '^ *+' conftest.er1
>conftest.err
32668 cat conftest.err
>&5
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); } &&
32671 { ac_try
='test -z "$ac_cxx_werror_flag"
32672 || test ! -s conftest.err'
32673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32674 (eval $ac_try) 2>&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); }; } &&
32678 { ac_try
='test -s conftest.$ac_objext'
32679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32680 (eval $ac_try) 2>&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); }; }; then
32684 wx_cv_size_t_is_ulong
=no
32686 echo "$as_me: failed program was:" >&5
32687 sed 's/^/| /' conftest.
$ac_ext >&5
32689 wx_cv_size_t_is_ulong
=yes
32692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32695 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32696 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32698 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32699 cat >>confdefs.h
<<\_ACEOF
32700 #define wxSIZE_T_IS_ULONG 1
32707 ac_cpp
='$CPP $CPPFLAGS'
32708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32714 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32715 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32716 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32717 echo $ECHO_N "(cached) $ECHO_C" >&6
32720 cat >conftest.
$ac_ext <<_ACEOF
32723 cat confdefs.h
>>conftest.
$ac_ext
32724 cat >>conftest.
$ac_ext <<_ACEOF
32725 /* end confdefs.h. */
32739 rm -f conftest.
$ac_objext
32740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32741 (eval $ac_compile) 2>conftest.er1
32743 grep -v '^ *+' conftest.er1
>conftest.err
32745 cat conftest.err
>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } &&
32748 { ac_try
='test -z "$ac_c_werror_flag"
32749 || test ! -s conftest.err'
32750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32751 (eval $ac_try) 2>&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); }; } &&
32755 { ac_try
='test -s conftest.$ac_objext'
32756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32757 (eval $ac_try) 2>&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); }; }; then
32762 wx_cv_struct_pw_gecos
=yes
32765 echo "$as_me: failed program was:" >&5
32766 sed 's/^/| /' conftest.
$ac_ext >&5
32769 wx_cv_struct_pw_gecos
=no
32773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32777 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32778 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32780 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32781 cat >>confdefs.h
<<\_ACEOF
32782 #define HAVE_PW_GECOS 1
32788 if test "$wxUSE_WCHAR_T" = "yes"; then
32789 cat >>confdefs.h
<<\_ACEOF
32790 #define wxUSE_WCHAR_T 1
32797 for ac_func
in wcslen
32799 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32800 echo "$as_me:$LINENO: checking for $ac_func" >&5
32801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32802 if eval "test \"\${$as_ac_var+set}\" = set"; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 cat >conftest.
$ac_ext <<_ACEOF
32808 cat confdefs.h
>>conftest.
$ac_ext
32809 cat >>conftest.
$ac_ext <<_ACEOF
32810 /* end confdefs.h. */
32811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32813 #define $ac_func innocuous_$ac_func
32815 /* System header to define __stub macros and hopefully few prototypes,
32816 which can conflict with char $ac_func (); below.
32817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32818 <limits.h> exists even on freestanding compilers. */
32821 # include <limits.h>
32823 # include <assert.h>
32828 /* Override any gcc2 internal prototype to avoid an error. */
32833 /* We use char because int might match the return type of a gcc2
32834 builtin and then its argument prototype would still apply. */
32836 /* The GNU C library defines this for functions which it implements
32837 to always fail with ENOSYS. Some functions are actually named
32838 something starting with __ and the normal name is an alias. */
32839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32842 char (*f) () = $ac_func;
32851 return f != $ac_func;
32856 rm -f conftest.
$ac_objext conftest
$ac_exeext
32857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32858 (eval $ac_link) 2>conftest.er1
32860 grep -v '^ *+' conftest.er1
>conftest.err
32862 cat conftest.err
>&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); } &&
32865 { ac_try
='test -z "$ac_c_werror_flag"
32866 || test ! -s conftest.err'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; } &&
32872 { ac_try
='test -s conftest$ac_exeext'
32873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32874 (eval $ac_try) 2>&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); }; }; then
32878 eval "$as_ac_var=yes"
32880 echo "$as_me: failed program was:" >&5
32881 sed 's/^/| /' conftest.
$ac_ext >&5
32883 eval "$as_ac_var=no"
32885 rm -f conftest.err conftest.
$ac_objext \
32886 conftest
$ac_exeext conftest.
$ac_ext
32888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32890 if test `eval echo '${'$as_ac_var'}'` = yes; then
32891 cat >>confdefs.h
<<_ACEOF
32892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32899 if test "$WCSLEN_FOUND" = 0; then
32900 if test "$TOOLKIT" = "MSW"; then
32901 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32902 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32903 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32904 echo $ECHO_N "(cached) $ECHO_C" >&6
32906 ac_check_lib_save_LIBS
=$LIBS
32907 LIBS
="-lmsvcrt $LIBS"
32908 cat >conftest.
$ac_ext <<_ACEOF
32911 cat confdefs.h
>>conftest.
$ac_ext
32912 cat >>conftest.
$ac_ext <<_ACEOF
32913 /* end confdefs.h. */
32915 /* Override any gcc2 internal prototype to avoid an error. */
32919 /* We use char because int might match the return type of a gcc2
32920 builtin and then its argument prototype would still apply. */
32930 rm -f conftest.
$ac_objext conftest
$ac_exeext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32932 (eval $ac_link) 2>conftest.er1
32934 grep -v '^ *+' conftest.er1
>conftest.err
32936 cat conftest.err
>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try
='test -z "$ac_c_werror_flag"
32940 || test ! -s conftest.err'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; } &&
32946 { ac_try
='test -s conftest$ac_exeext'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; }; then
32952 ac_cv_lib_msvcrt_wcslen
=yes
32954 echo "$as_me: failed program was:" >&5
32955 sed 's/^/| /' conftest.
$ac_ext >&5
32957 ac_cv_lib_msvcrt_wcslen
=no
32959 rm -f conftest.err conftest.
$ac_objext \
32960 conftest
$ac_exeext conftest.
$ac_ext
32961 LIBS
=$ac_check_lib_save_LIBS
32963 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32964 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32965 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32970 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32971 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32972 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32973 echo $ECHO_N "(cached) $ECHO_C" >&6
32975 ac_check_lib_save_LIBS
=$LIBS
32977 cat >conftest.
$ac_ext <<_ACEOF
32980 cat confdefs.h
>>conftest.
$ac_ext
32981 cat >>conftest.
$ac_ext <<_ACEOF
32982 /* end confdefs.h. */
32984 /* Override any gcc2 internal prototype to avoid an error. */
32988 /* We use char because int might match the return type of a gcc2
32989 builtin and then its argument prototype would still apply. */
32999 rm -f conftest.
$ac_objext conftest
$ac_exeext
33000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33001 (eval $ac_link) 2>conftest.er1
33003 grep -v '^ *+' conftest.er1
>conftest.err
33005 cat conftest.err
>&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); } &&
33008 { ac_try
='test -z "$ac_c_werror_flag"
33009 || test ! -s conftest.err'
33010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33011 (eval $ac_try) 2>&5
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); }; } &&
33015 { ac_try
='test -s conftest$ac_exeext'
33016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33017 (eval $ac_try) 2>&5
33019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020 (exit $ac_status); }; }; then
33021 ac_cv_lib_w_wcslen
=yes
33023 echo "$as_me: failed program was:" >&5
33024 sed 's/^/| /' conftest.
$ac_ext >&5
33026 ac_cv_lib_w_wcslen
=no
33028 rm -f conftest.err conftest.
$ac_objext \
33029 conftest
$ac_exeext conftest.
$ac_ext
33030 LIBS
=$ac_check_lib_save_LIBS
33032 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33033 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33034 if test $ac_cv_lib_w_wcslen = yes; then
33044 if test "$WCSLEN_FOUND" = 1; then
33045 cat >>confdefs.h
<<\_ACEOF
33046 #define HAVE_WCSLEN 1
33051 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33052 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33055 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33056 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33057 if test "${ac_cv_type_mbstate_t+set}" = set; then
33058 echo $ECHO_N "(cached) $ECHO_C" >&6
33060 cat >conftest.
$ac_ext <<_ACEOF
33063 cat confdefs.h
>>conftest.
$ac_ext
33064 cat >>conftest.
$ac_ext <<_ACEOF
33065 /* end confdefs.h. */
33071 if ((mbstate_t *) 0)
33073 if (sizeof (mbstate_t))
33079 rm -f conftest.
$ac_objext
33080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33081 (eval $ac_compile) 2>conftest.er1
33083 grep -v '^ *+' conftest.er1
>conftest.err
33085 cat conftest.err
>&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); } &&
33088 { ac_try
='test -z "$ac_c_werror_flag"
33089 || test ! -s conftest.err'
33090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33091 (eval $ac_try) 2>&5
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); }; } &&
33095 { ac_try
='test -s conftest.$ac_objext'
33096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33097 (eval $ac_try) 2>&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); }; }; then
33101 ac_cv_type_mbstate_t
=yes
33103 echo "$as_me: failed program was:" >&5
33104 sed 's/^/| /' conftest.
$ac_ext >&5
33106 ac_cv_type_mbstate_t
=no
33108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33110 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33111 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33112 if test $ac_cv_type_mbstate_t = yes; then
33114 cat >>confdefs.h
<<_ACEOF
33115 #define HAVE_MBSTATE_T 1
33119 for ac_func
in wcsrtombs
33121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33122 echo "$as_me:$LINENO: checking for $ac_func" >&5
33123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33124 if eval "test \"\${$as_ac_var+set}\" = set"; then
33125 echo $ECHO_N "(cached) $ECHO_C" >&6
33127 cat >conftest.
$ac_ext <<_ACEOF
33130 cat confdefs.h
>>conftest.
$ac_ext
33131 cat >>conftest.
$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33135 #define $ac_func innocuous_$ac_func
33137 /* System header to define __stub macros and hopefully few prototypes,
33138 which can conflict with char $ac_func (); below.
33139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33140 <limits.h> exists even on freestanding compilers. */
33143 # include <limits.h>
33145 # include <assert.h>
33150 /* Override any gcc2 internal prototype to avoid an error. */
33155 /* We use char because int might match the return type of a gcc2
33156 builtin and then its argument prototype would still apply. */
33158 /* The GNU C library defines this for functions which it implements
33159 to always fail with ENOSYS. Some functions are actually named
33160 something starting with __ and the normal name is an alias. */
33161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33164 char (*f) () = $ac_func;
33173 return f != $ac_func;
33178 rm -f conftest.
$ac_objext conftest
$ac_exeext
33179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33180 (eval $ac_link) 2>conftest.er1
33182 grep -v '^ *+' conftest.er1
>conftest.err
33184 cat conftest.err
>&5
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); } &&
33187 { ac_try
='test -z "$ac_c_werror_flag"
33188 || test ! -s conftest.err'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; } &&
33194 { ac_try
='test -s conftest$ac_exeext'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; }; then
33200 eval "$as_ac_var=yes"
33202 echo "$as_me: failed program was:" >&5
33203 sed 's/^/| /' conftest.
$ac_ext >&5
33205 eval "$as_ac_var=no"
33207 rm -f conftest.err conftest.
$ac_objext \
33208 conftest
$ac_exeext conftest.
$ac_ext
33210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33212 if test `eval echo '${'$as_ac_var'}'` = yes; then
33213 cat >>confdefs.h
<<_ACEOF
33214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33223 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33224 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33230 ac_cpp
='$CXXCPP $CPPFLAGS'
33231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33238 for ac_func
in snprintf vsnprintf
33240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33241 echo "$as_me:$LINENO: checking for $ac_func" >&5
33242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33243 if eval "test \"\${$as_ac_var+set}\" = set"; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33246 cat >conftest.
$ac_ext <<_ACEOF
33249 cat confdefs.h
>>conftest.
$ac_ext
33250 cat >>conftest.
$ac_ext <<_ACEOF
33251 /* end confdefs.h. */
33252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33254 #define $ac_func innocuous_$ac_func
33256 /* System header to define __stub macros and hopefully few prototypes,
33257 which can conflict with char $ac_func (); below.
33258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33259 <limits.h> exists even on freestanding compilers. */
33262 # include <limits.h>
33264 # include <assert.h>
33269 /* Override any gcc2 internal prototype to avoid an error. */
33274 /* We use char because int might match the return type of a gcc2
33275 builtin and then its argument prototype would still apply. */
33277 /* The GNU C library defines this for functions which it implements
33278 to always fail with ENOSYS. Some functions are actually named
33279 something starting with __ and the normal name is an alias. */
33280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33283 char (*f) () = $ac_func;
33292 return f != $ac_func;
33297 rm -f conftest.
$ac_objext conftest
$ac_exeext
33298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33299 (eval $ac_link) 2>conftest.er1
33301 grep -v '^ *+' conftest.er1
>conftest.err
33303 cat conftest.err
>&5
33304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305 (exit $ac_status); } &&
33306 { ac_try
='test -z "$ac_cxx_werror_flag"
33307 || test ! -s conftest.err'
33308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33309 (eval $ac_try) 2>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; } &&
33313 { ac_try
='test -s conftest$ac_exeext'
33314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33315 (eval $ac_try) 2>&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); }; }; then
33319 eval "$as_ac_var=yes"
33321 echo "$as_me: failed program was:" >&5
33322 sed 's/^/| /' conftest.
$ac_ext >&5
33324 eval "$as_ac_var=no"
33326 rm -f conftest.err conftest.
$ac_objext \
33327 conftest
$ac_exeext conftest.
$ac_ext
33329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33331 if test `eval echo '${'$as_ac_var'}'` = yes; then
33332 cat >>confdefs.h
<<_ACEOF
33333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33340 if test "$ac_cv_func_vsnprintf" = "yes"; then
33341 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33342 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33343 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33344 echo $ECHO_N "(cached) $ECHO_C" >&6
33347 cat >conftest.
$ac_ext <<_ACEOF
33350 cat confdefs.h
>>conftest.
$ac_ext
33351 cat >>conftest.
$ac_ext <<_ACEOF
33352 /* end confdefs.h. */
33355 #include <stdarg.h>
33357 #if __MSL__ >= 0x6000
33359 using namespace std;
33369 vsnprintf(buf, 10u, "%s", ap);
33375 rm -f conftest.
$ac_objext
33376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33377 (eval $ac_compile) 2>conftest.er1
33379 grep -v '^ *+' conftest.er1
>conftest.err
33381 cat conftest.err
>&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); } &&
33384 { ac_try
='test -z "$ac_cxx_werror_flag"
33385 || test ! -s conftest.err'
33386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33387 (eval $ac_try) 2>&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); }; } &&
33391 { ac_try
='test -s conftest.$ac_objext'
33392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33393 (eval $ac_try) 2>&5
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); }; }; then
33397 wx_cv_func_vsnprintf_decl
=yes
33399 echo "$as_me: failed program was:" >&5
33400 sed 's/^/| /' conftest.
$ac_ext >&5
33402 wx_cv_func_vsnprintf_decl
=no
33405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33409 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33410 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33412 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33413 cat >>confdefs.h
<<\_ACEOF
33414 #define HAVE_VSNPRINTF_DECL 1
33418 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33419 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33420 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33424 cat >conftest.
$ac_ext <<_ACEOF
33427 cat confdefs.h
>>conftest.
$ac_ext
33428 cat >>conftest.
$ac_ext <<_ACEOF
33429 /* end confdefs.h. */
33432 #include <stdarg.h>
33434 #if __MSL__ >= 0x6000
33436 using namespace std;
33446 const char *fmt = "%s";
33447 vsnprintf(buf, 10u, fmt, ap);
33453 rm -f conftest.
$ac_objext
33454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33455 (eval $ac_compile) 2>conftest.er1
33457 grep -v '^ *+' conftest.er1
>conftest.err
33459 cat conftest.err
>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); } &&
33462 { ac_try
='test -z "$ac_cxx_werror_flag"
33463 || test ! -s conftest.err'
33464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33465 (eval $ac_try) 2>&5
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); }; } &&
33469 { ac_try
='test -s conftest.$ac_objext'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; }; then
33475 wx_cv_func_broken_vsnprintf_decl
=no
33477 echo "$as_me: failed program was:" >&5
33478 sed 's/^/| /' conftest.
$ac_ext >&5
33480 wx_cv_func_broken_vsnprintf_decl
=yes
33483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33487 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33488 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33490 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33491 cat >>confdefs.h
<<\_ACEOF
33492 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33499 if test "$ac_cv_func_snprintf" = "yes"; then
33500 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33501 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33502 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33506 cat >conftest.
$ac_ext <<_ACEOF
33509 cat confdefs.h
>>conftest.
$ac_ext
33510 cat >>conftest.
$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33514 #include <stdarg.h>
33516 #if __MSL__ >= 0x6000
33518 using namespace std;
33527 snprintf(buf, 10u, "%s", "wx");
33533 rm -f conftest.
$ac_objext
33534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33535 (eval $ac_compile) 2>conftest.er1
33537 grep -v '^ *+' conftest.er1
>conftest.err
33539 cat conftest.err
>&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } &&
33542 { ac_try
='test -z "$ac_cxx_werror_flag"
33543 || test ! -s conftest.err'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; } &&
33549 { ac_try
='test -s conftest.$ac_objext'
33550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33551 (eval $ac_try) 2>&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); }; }; then
33555 wx_cv_func_snprintf_decl
=yes
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.
$ac_ext >&5
33560 wx_cv_func_snprintf_decl
=no
33563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33567 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33568 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33570 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33571 cat >>confdefs.h
<<\_ACEOF
33572 #define HAVE_SNPRINTF_DECL 1
33576 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33577 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33578 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 cat >conftest.
$ac_ext <<_ACEOF
33585 cat confdefs.h
>>conftest.
$ac_ext
33586 cat >>conftest.
$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33590 #include <stdarg.h>
33592 #if __MSL__ >= 0x6000
33594 using namespace std;
33603 const char *fmt = "%s";
33604 snprintf(buf, 10u, fmt, "wx");
33610 rm -f conftest.
$ac_objext
33611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33612 (eval $ac_compile) 2>conftest.er1
33614 grep -v '^ *+' conftest.er1
>conftest.err
33616 cat conftest.err
>&5
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); } &&
33619 { ac_try
='test -z "$ac_cxx_werror_flag"
33620 || test ! -s conftest.err'
33621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33622 (eval $ac_try) 2>&5
33624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33625 (exit $ac_status); }; } &&
33626 { ac_try
='test -s conftest.$ac_objext'
33627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33628 (eval $ac_try) 2>&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); }; }; then
33632 wx_cv_func_broken_snprintf_decl
=no
33634 echo "$as_me: failed program was:" >&5
33635 sed 's/^/| /' conftest.
$ac_ext >&5
33637 wx_cv_func_broken_snprintf_decl
=yes
33640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33644 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33645 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33647 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33648 cat >>confdefs.h
<<\_ACEOF
33649 #define HAVE_BROKEN_SNPRINTF_DECL 1
33656 if test "$wxUSE_UNICODE" = yes; then
33663 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33666 echo "$as_me:$LINENO: checking for $ac_func" >&5
33667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33668 if eval "test \"\${$as_ac_var+set}\" = set"; then
33669 echo $ECHO_N "(cached) $ECHO_C" >&6
33671 cat >conftest.
$ac_ext <<_ACEOF
33674 cat confdefs.h
>>conftest.
$ac_ext
33675 cat >>conftest.
$ac_ext <<_ACEOF
33676 /* end confdefs.h. */
33677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33679 #define $ac_func innocuous_$ac_func
33681 /* System header to define __stub macros and hopefully few prototypes,
33682 which can conflict with char $ac_func (); below.
33683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33684 <limits.h> exists even on freestanding compilers. */
33687 # include <limits.h>
33689 # include <assert.h>
33694 /* Override any gcc2 internal prototype to avoid an error. */
33699 /* We use char because int might match the return type of a gcc2
33700 builtin and then its argument prototype would still apply. */
33702 /* The GNU C library defines this for functions which it implements
33703 to always fail with ENOSYS. Some functions are actually named
33704 something starting with __ and the normal name is an alias. */
33705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33708 char (*f) () = $ac_func;
33717 return f != $ac_func;
33722 rm -f conftest.
$ac_objext conftest
$ac_exeext
33723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33724 (eval $ac_link) 2>conftest.er1
33726 grep -v '^ *+' conftest.er1
>conftest.err
33728 cat conftest.err
>&5
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); } &&
33731 { ac_try
='test -z "$ac_cxx_werror_flag"
33732 || test ! -s conftest.err'
33733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33734 (eval $ac_try) 2>&5
33736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33737 (exit $ac_status); }; } &&
33738 { ac_try
='test -s conftest$ac_exeext'
33739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33740 (eval $ac_try) 2>&5
33742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33743 (exit $ac_status); }; }; then
33744 eval "$as_ac_var=yes"
33746 echo "$as_me: failed program was:" >&5
33747 sed 's/^/| /' conftest.
$ac_ext >&5
33749 eval "$as_ac_var=no"
33751 rm -f conftest.err conftest.
$ac_objext \
33752 conftest
$ac_exeext conftest.
$ac_ext
33754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33756 if test `eval echo '${'$as_ac_var'}'` = yes; then
33757 cat >>confdefs.h
<<_ACEOF
33758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33765 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33766 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33767 cat >conftest.
$ac_ext <<_ACEOF
33770 cat confdefs.h
>>conftest.
$ac_ext
33771 cat >>conftest.
$ac_ext <<_ACEOF
33772 /* end confdefs.h. */
33782 rm -f conftest.
$ac_objext
33783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33784 (eval $ac_compile) 2>conftest.er1
33786 grep -v '^ *+' conftest.er1
>conftest.err
33788 cat conftest.err
>&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); } &&
33791 { ac_try
='test -z "$ac_cxx_werror_flag"
33792 || test ! -s conftest.err'
33793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33794 (eval $ac_try) 2>&5
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; } &&
33798 { ac_try
='test -s conftest.$ac_objext'
33799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33800 (eval $ac_try) 2>&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); }; }; then
33804 echo "$as_me:$LINENO: result: yes" >&5
33805 echo "${ECHO_T}yes" >&6
33806 cat >>confdefs.h
<<\_ACEOF
33807 #define HAVE__VSNWPRINTF 1
33811 echo "$as_me: failed program was:" >&5
33812 sed 's/^/| /' conftest.
$ac_ext >&5
33814 echo "$as_me:$LINENO: result: no" >&5
33815 echo "${ECHO_T}no" >&6
33817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33821 ac_cpp
='$CPP $CPPFLAGS'
33822 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33823 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33824 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33827 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33829 for ac_func
in fnmatch
33831 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33832 echo "$as_me:$LINENO: checking for $ac_func" >&5
33833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33834 if eval "test \"\${$as_ac_var+set}\" = set"; then
33835 echo $ECHO_N "(cached) $ECHO_C" >&6
33837 cat >conftest.
$ac_ext <<_ACEOF
33840 cat confdefs.h
>>conftest.
$ac_ext
33841 cat >>conftest.
$ac_ext <<_ACEOF
33842 /* end confdefs.h. */
33843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33845 #define $ac_func innocuous_$ac_func
33847 /* System header to define __stub macros and hopefully few prototypes,
33848 which can conflict with char $ac_func (); below.
33849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33850 <limits.h> exists even on freestanding compilers. */
33853 # include <limits.h>
33855 # include <assert.h>
33860 /* Override any gcc2 internal prototype to avoid an error. */
33865 /* We use char because int might match the return type of a gcc2
33866 builtin and then its argument prototype would still apply. */
33868 /* The GNU C library defines this for functions which it implements
33869 to always fail with ENOSYS. Some functions are actually named
33870 something starting with __ and the normal name is an alias. */
33871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33874 char (*f) () = $ac_func;
33883 return f != $ac_func;
33888 rm -f conftest.
$ac_objext conftest
$ac_exeext
33889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33890 (eval $ac_link) 2>conftest.er1
33892 grep -v '^ *+' conftest.er1
>conftest.err
33894 cat conftest.err
>&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); } &&
33897 { ac_try
='test -z "$ac_c_werror_flag"
33898 || test ! -s conftest.err'
33899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33900 (eval $ac_try) 2>&5
33902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33903 (exit $ac_status); }; } &&
33904 { ac_try
='test -s conftest$ac_exeext'
33905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33906 (eval $ac_try) 2>&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); }; }; then
33910 eval "$as_ac_var=yes"
33912 echo "$as_me: failed program was:" >&5
33913 sed 's/^/| /' conftest.
$ac_ext >&5
33915 eval "$as_ac_var=no"
33917 rm -f conftest.err conftest.
$ac_objext \
33918 conftest
$ac_exeext conftest.
$ac_ext
33920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33922 if test `eval echo '${'$as_ac_var'}'` = yes; then
33923 cat >>confdefs.h
<<_ACEOF
33924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33932 if test "$wxUSE_FILE" = "yes"; then
33934 for ac_func
in fsync
33936 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33937 echo "$as_me:$LINENO: checking for $ac_func" >&5
33938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33939 if eval "test \"\${$as_ac_var+set}\" = set"; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33942 cat >conftest.
$ac_ext <<_ACEOF
33945 cat confdefs.h
>>conftest.
$ac_ext
33946 cat >>conftest.
$ac_ext <<_ACEOF
33947 /* end confdefs.h. */
33948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33950 #define $ac_func innocuous_$ac_func
33952 /* System header to define __stub macros and hopefully few prototypes,
33953 which can conflict with char $ac_func (); below.
33954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33955 <limits.h> exists even on freestanding compilers. */
33958 # include <limits.h>
33960 # include <assert.h>
33965 /* Override any gcc2 internal prototype to avoid an error. */
33970 /* We use char because int might match the return type of a gcc2
33971 builtin and then its argument prototype would still apply. */
33973 /* The GNU C library defines this for functions which it implements
33974 to always fail with ENOSYS. Some functions are actually named
33975 something starting with __ and the normal name is an alias. */
33976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33979 char (*f) () = $ac_func;
33988 return f != $ac_func;
33993 rm -f conftest.
$ac_objext conftest
$ac_exeext
33994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33995 (eval $ac_link) 2>conftest.er1
33997 grep -v '^ *+' conftest.er1
>conftest.err
33999 cat conftest.err
>&5
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); } &&
34002 { ac_try
='test -z "$ac_c_werror_flag"
34003 || test ! -s conftest.err'
34004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34005 (eval $ac_try) 2>&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); }; } &&
34009 { ac_try
='test -s conftest$ac_exeext'
34010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34011 (eval $ac_try) 2>&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); }; }; then
34015 eval "$as_ac_var=yes"
34017 echo "$as_me: failed program was:" >&5
34018 sed 's/^/| /' conftest.
$ac_ext >&5
34020 eval "$as_ac_var=no"
34022 rm -f conftest.err conftest.
$ac_objext \
34023 conftest
$ac_exeext conftest.
$ac_ext
34025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34027 if test `eval echo '${'$as_ac_var'}'` = yes; then
34028 cat >>confdefs.h
<<_ACEOF
34029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34038 if test "$TOOLKIT" != "MSW"; then
34044 ac_cpp
='$CXXCPP $CPPFLAGS'
34045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34052 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34053 if test "${with_libiconv_prefix+set}" = set; then
34054 withval
="$with_libiconv_prefix"
34056 for dir
in `echo "$withval" | tr : ' '`; do
34057 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34058 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34063 echo "$as_me:$LINENO: checking for iconv" >&5
34064 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34065 if test "${am_cv_func_iconv+set}" = set; then
34066 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 am_cv_func_iconv
="no, consider installing GNU libiconv"
34071 cat >conftest.
$ac_ext <<_ACEOF
34074 cat confdefs.h
>>conftest.
$ac_ext
34075 cat >>conftest.
$ac_ext <<_ACEOF
34076 /* end confdefs.h. */
34077 #include <stdlib.h>
34082 iconv_t cd = iconv_open("","");
34083 iconv(cd,NULL,NULL,NULL,NULL);
34089 rm -f conftest.
$ac_objext conftest
$ac_exeext
34090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34091 (eval $ac_link) 2>conftest.er1
34093 grep -v '^ *+' conftest.er1
>conftest.err
34095 cat conftest.err
>&5
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); } &&
34098 { ac_try
='test -z "$ac_cxx_werror_flag"
34099 || test ! -s conftest.err'
34100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34101 (eval $ac_try) 2>&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; } &&
34105 { ac_try
='test -s conftest$ac_exeext'
34106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34107 (eval $ac_try) 2>&5
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); }; }; then
34111 am_cv_func_iconv
=yes
34113 echo "$as_me: failed program was:" >&5
34114 sed 's/^/| /' conftest.
$ac_ext >&5
34117 rm -f conftest.err conftest.
$ac_objext \
34118 conftest
$ac_exeext conftest.
$ac_ext
34119 if test "$am_cv_func_iconv" != yes; then
34120 am_save_LIBS
="$LIBS"
34121 LIBS
="$LIBS -liconv"
34122 cat >conftest.
$ac_ext <<_ACEOF
34125 cat confdefs.h
>>conftest.
$ac_ext
34126 cat >>conftest.
$ac_ext <<_ACEOF
34127 /* end confdefs.h. */
34128 #include <stdlib.h>
34133 iconv_t cd = iconv_open("","");
34134 iconv(cd,NULL,NULL,NULL,NULL);
34140 rm -f conftest.
$ac_objext conftest
$ac_exeext
34141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34142 (eval $ac_link) 2>conftest.er1
34144 grep -v '^ *+' conftest.er1
>conftest.err
34146 cat conftest.err
>&5
34147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34148 (exit $ac_status); } &&
34149 { ac_try
='test -z "$ac_cxx_werror_flag"
34150 || test ! -s conftest.err'
34151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34152 (eval $ac_try) 2>&5
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); }; } &&
34156 { ac_try
='test -s conftest$ac_exeext'
34157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158 (eval $ac_try) 2>&5
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); }; }; then
34162 am_cv_lib_iconv
=yes
34163 am_cv_func_iconv
=yes
34165 echo "$as_me: failed program was:" >&5
34166 sed 's/^/| /' conftest.
$ac_ext >&5
34169 rm -f conftest.err conftest.
$ac_objext \
34170 conftest
$ac_exeext conftest.
$ac_ext
34171 LIBS
="$am_save_LIBS"
34175 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34176 echo "${ECHO_T}$am_cv_func_iconv" >&6
34177 if test "$am_cv_func_iconv" = yes; then
34179 cat >>confdefs.h
<<\_ACEOF
34180 #define HAVE_ICONV 1
34183 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34184 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34185 if test "${wx_cv_func_iconv_const+set}" = set; then
34186 echo $ECHO_N "(cached) $ECHO_C" >&6
34188 cat >conftest.
$ac_ext <<_ACEOF
34191 cat confdefs.h
>>conftest.
$ac_ext
34192 cat >>conftest.
$ac_ext <<_ACEOF
34193 /* end confdefs.h. */
34195 #include <stdlib.h>
34201 #if defined(__STDC__) || defined(__cplusplus)
34202 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34215 rm -f conftest.
$ac_objext
34216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34217 (eval $ac_compile) 2>conftest.er1
34219 grep -v '^ *+' conftest.er1
>conftest.err
34221 cat conftest.err
>&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } &&
34224 { ac_try
='test -z "$ac_cxx_werror_flag"
34225 || test ! -s conftest.err'
34226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34227 (eval $ac_try) 2>&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); }; } &&
34231 { ac_try
='test -s conftest.$ac_objext'
34232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34233 (eval $ac_try) 2>&5
34235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34236 (exit $ac_status); }; }; then
34237 wx_cv_func_iconv_const
="no"
34239 echo "$as_me: failed program was:" >&5
34240 sed 's/^/| /' conftest.
$ac_ext >&5
34242 wx_cv_func_iconv_const
="yes"
34245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34248 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34249 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34252 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34253 iconv_const
="const"
34257 cat >>confdefs.h
<<_ACEOF
34258 #define ICONV_CONST $iconv_const
34263 if test "$am_cv_lib_iconv" = yes; then
34268 LIBS
="$LIBICONV $LIBS"
34270 ac_cpp
='$CPP $CPPFLAGS'
34271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34276 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34278 for ac_func
in sigaction
34280 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34281 echo "$as_me:$LINENO: checking for $ac_func" >&5
34282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34283 if eval "test \"\${$as_ac_var+set}\" = set"; then
34284 echo $ECHO_N "(cached) $ECHO_C" >&6
34286 cat >conftest.
$ac_ext <<_ACEOF
34289 cat confdefs.h
>>conftest.
$ac_ext
34290 cat >>conftest.
$ac_ext <<_ACEOF
34291 /* end confdefs.h. */
34292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34294 #define $ac_func innocuous_$ac_func
34296 /* System header to define __stub macros and hopefully few prototypes,
34297 which can conflict with char $ac_func (); below.
34298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34299 <limits.h> exists even on freestanding compilers. */
34302 # include <limits.h>
34304 # include <assert.h>
34309 /* Override any gcc2 internal prototype to avoid an error. */
34314 /* We use char because int might match the return type of a gcc2
34315 builtin and then its argument prototype would still apply. */
34317 /* The GNU C library defines this for functions which it implements
34318 to always fail with ENOSYS. Some functions are actually named
34319 something starting with __ and the normal name is an alias. */
34320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34323 char (*f) () = $ac_func;
34332 return f != $ac_func;
34337 rm -f conftest.
$ac_objext conftest
$ac_exeext
34338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34339 (eval $ac_link) 2>conftest.er1
34341 grep -v '^ *+' conftest.er1
>conftest.err
34343 cat conftest.err
>&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } &&
34346 { ac_try
='test -z "$ac_c_werror_flag"
34347 || test ! -s conftest.err'
34348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34349 (eval $ac_try) 2>&5
34351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34352 (exit $ac_status); }; } &&
34353 { ac_try
='test -s conftest$ac_exeext'
34354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34355 (eval $ac_try) 2>&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); }; }; then
34359 eval "$as_ac_var=yes"
34361 echo "$as_me: failed program was:" >&5
34362 sed 's/^/| /' conftest.
$ac_ext >&5
34364 eval "$as_ac_var=no"
34366 rm -f conftest.err conftest.
$ac_objext \
34367 conftest
$ac_exeext conftest.
$ac_ext
34369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34371 if test `eval echo '${'$as_ac_var'}'` = yes; then
34372 cat >>confdefs.h
<<_ACEOF
34373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34380 if test "$ac_cv_func_sigaction" = "no"; then
34381 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34382 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34383 wxUSE_ON_FATAL_EXCEPTION
=no
34386 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34390 ac_cpp
='$CXXCPP $CPPFLAGS'
34391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34396 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34397 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34398 if test "${wx_cv_type_sa_handler+set}" = set; then
34399 echo $ECHO_N "(cached) $ECHO_C" >&6
34402 cat >conftest.
$ac_ext <<_ACEOF
34405 cat confdefs.h
>>conftest.
$ac_ext
34406 cat >>conftest.
$ac_ext <<_ACEOF
34407 /* end confdefs.h. */
34408 #include <signal.h>
34413 extern void testSigHandler(int);
34415 struct sigaction sa;
34416 sa.sa_handler = testSigHandler;
34422 rm -f conftest.
$ac_objext
34423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34424 (eval $ac_compile) 2>conftest.er1
34426 grep -v '^ *+' conftest.er1
>conftest.err
34428 cat conftest.err
>&5
34429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34430 (exit $ac_status); } &&
34431 { ac_try
='test -z "$ac_cxx_werror_flag"
34432 || test ! -s conftest.err'
34433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34434 (eval $ac_try) 2>&5
34436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437 (exit $ac_status); }; } &&
34438 { ac_try
='test -s conftest.$ac_objext'
34439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34440 (eval $ac_try) 2>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); }; }; then
34445 wx_cv_type_sa_handler
=int
34448 echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.
$ac_ext >&5
34452 wx_cv_type_sa_handler
=void
34455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34458 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34459 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34462 ac_cpp
='$CPP $CPPFLAGS'
34463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34468 cat >>confdefs.h
<<_ACEOF
34469 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34475 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34479 ac_cpp
='$CXXCPP $CPPFLAGS'
34480 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34485 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34486 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34487 if test "${wx_cv_func_backtrace+set}" = set; then
34488 echo $ECHO_N "(cached) $ECHO_C" >&6
34491 cat >conftest.
$ac_ext <<_ACEOF
34494 cat confdefs.h
>>conftest.
$ac_ext
34495 cat >>conftest.
$ac_ext <<_ACEOF
34496 /* end confdefs.h. */
34497 #include <execinfo.h>
34505 backtrace(trace, 1);
34506 messages = backtrace_symbols(trace, 1);
34512 rm -f conftest.
$ac_objext
34513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34514 (eval $ac_compile) 2>conftest.er1
34516 grep -v '^ *+' conftest.er1
>conftest.err
34518 cat conftest.err
>&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } &&
34521 { ac_try
='test -z "$ac_cxx_werror_flag"
34522 || test ! -s conftest.err'
34523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524 (eval $ac_try) 2>&5
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); }; } &&
34528 { ac_try
='test -s conftest.$ac_objext'
34529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34530 (eval $ac_try) 2>&5
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); }; }; then
34534 wx_cv_func_backtrace
=yes
34536 echo "$as_me: failed program was:" >&5
34537 sed 's/^/| /' conftest.
$ac_ext >&5
34539 wx_cv_func_backtrace
=no
34542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34546 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34547 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34550 if test "$wx_cv_func_backtrace" = "no"; then
34551 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34552 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34553 wxUSE_STACKWALKER
=no
34555 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34556 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34557 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34561 cat >conftest.
$ac_ext <<_ACEOF
34564 cat confdefs.h
>>conftest.
$ac_ext
34565 cat >>conftest.
$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34567 #include <cxxabi.h>
34573 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34579 rm -f conftest.
$ac_objext conftest
$ac_exeext
34580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34581 (eval $ac_link) 2>conftest.er1
34583 grep -v '^ *+' conftest.er1
>conftest.err
34585 cat conftest.err
>&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); } &&
34588 { ac_try
='test -z "$ac_cxx_werror_flag"
34589 || test ! -s conftest.err'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; } &&
34595 { ac_try
='test -s conftest$ac_exeext'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; }; then
34601 wx_cv_func_cxa_demangle
=yes
34603 echo "$as_me: failed program was:" >&5
34604 sed 's/^/| /' conftest.
$ac_ext >&5
34606 wx_cv_func_cxa_demangle
=no
34609 rm -f conftest.err conftest.
$ac_objext \
34610 conftest
$ac_exeext conftest.
$ac_ext
34614 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34615 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34617 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34618 cat >>confdefs.h
<<\_ACEOF
34619 #define HAVE_CXA_DEMANGLE 1
34626 ac_cpp
='$CPP $CPPFLAGS'
34627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34633 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34634 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34635 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34636 wxUSE_STACKWALKER
=no
34642 for ac_func
in mkstemp mktemp
34644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34645 echo "$as_me:$LINENO: checking for $ac_func" >&5
34646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34647 if eval "test \"\${$as_ac_var+set}\" = set"; then
34648 echo $ECHO_N "(cached) $ECHO_C" >&6
34650 cat >conftest.
$ac_ext <<_ACEOF
34653 cat confdefs.h
>>conftest.
$ac_ext
34654 cat >>conftest.
$ac_ext <<_ACEOF
34655 /* end confdefs.h. */
34656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34658 #define $ac_func innocuous_$ac_func
34660 /* System header to define __stub macros and hopefully few prototypes,
34661 which can conflict with char $ac_func (); below.
34662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34663 <limits.h> exists even on freestanding compilers. */
34666 # include <limits.h>
34668 # include <assert.h>
34673 /* Override any gcc2 internal prototype to avoid an error. */
34678 /* We use char because int might match the return type of a gcc2
34679 builtin and then its argument prototype would still apply. */
34681 /* The GNU C library defines this for functions which it implements
34682 to always fail with ENOSYS. Some functions are actually named
34683 something starting with __ and the normal name is an alias. */
34684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34687 char (*f) () = $ac_func;
34696 return f != $ac_func;
34701 rm -f conftest.
$ac_objext conftest
$ac_exeext
34702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34703 (eval $ac_link) 2>conftest.er1
34705 grep -v '^ *+' conftest.er1
>conftest.err
34707 cat conftest.err
>&5
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); } &&
34710 { ac_try
='test -z "$ac_c_werror_flag"
34711 || test ! -s conftest.err'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; } &&
34717 { ac_try
='test -s conftest$ac_exeext'
34718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34719 (eval $ac_try) 2>&5
34721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722 (exit $ac_status); }; }; then
34723 eval "$as_ac_var=yes"
34725 echo "$as_me: failed program was:" >&5
34726 sed 's/^/| /' conftest.
$ac_ext >&5
34728 eval "$as_ac_var=no"
34730 rm -f conftest.err conftest.
$ac_objext \
34731 conftest
$ac_exeext conftest.
$ac_ext
34733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34735 if test `eval echo '${'$as_ac_var'}'` = yes; then
34736 cat >>confdefs.h
<<_ACEOF
34737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34744 echo "$as_me:$LINENO: checking for statfs" >&5
34745 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34746 if test "${wx_cv_func_statfs+set}" = set; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 cat >conftest.
$ac_ext <<_ACEOF
34752 cat confdefs.h
>>conftest.
$ac_ext
34753 cat >>conftest.
$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34756 #if defined(__BSD__)
34757 #include <sys/param.h>
34758 #include <sys/mount.h>
34760 #include <sys/vfs.h>
34778 rm -f conftest.
$ac_objext
34779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34780 (eval $ac_compile) 2>conftest.er1
34782 grep -v '^ *+' conftest.er1
>conftest.err
34784 cat conftest.err
>&5
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); } &&
34787 { ac_try
='test -z "$ac_c_werror_flag"
34788 || test ! -s conftest.err'
34789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34790 (eval $ac_try) 2>&5
34792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34793 (exit $ac_status); }; } &&
34794 { ac_try
='test -s conftest.$ac_objext'
34795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34796 (eval $ac_try) 2>&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); }; }; then
34800 wx_cv_func_statfs
=yes
34802 echo "$as_me: failed program was:" >&5
34803 sed 's/^/| /' conftest.
$ac_ext >&5
34805 wx_cv_func_statfs
=no
34808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34811 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34812 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34814 if test "$wx_cv_func_statfs" = "yes"; then
34818 ac_cpp
='$CXXCPP $CPPFLAGS'
34819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34823 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34824 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34825 if test "${wx_cv_func_statfs_decl+set}" = set; then
34826 echo $ECHO_N "(cached) $ECHO_C" >&6
34828 cat >conftest.
$ac_ext <<_ACEOF
34831 cat confdefs.h
>>conftest.
$ac_ext
34832 cat >>conftest.
$ac_ext <<_ACEOF
34833 /* end confdefs.h. */
34835 #if defined(__BSD__)
34836 #include <sys/param.h>
34837 #include <sys/mount.h>
34839 #include <sys/vfs.h>
34853 rm -f conftest.
$ac_objext
34854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34855 (eval $ac_compile) 2>conftest.er1
34857 grep -v '^ *+' conftest.er1
>conftest.err
34859 cat conftest.err
>&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); } &&
34862 { ac_try
='test -z "$ac_cxx_werror_flag"
34863 || test ! -s conftest.err'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; } &&
34869 { ac_try
='test -s conftest.$ac_objext'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; }; then
34875 wx_cv_func_statfs_decl
=yes
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.
$ac_ext >&5
34880 wx_cv_func_statfs_decl
=no
34883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34886 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34887 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34889 ac_cpp
='$CPP $CPPFLAGS'
34890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34895 if test "$wx_cv_func_statfs_decl" = "yes"; then
34896 cat >>confdefs.h
<<\_ACEOF
34897 #define HAVE_STATFS_DECL 1
34902 wx_cv_type_statvfs_t
="struct statfs"
34903 cat >>confdefs.h
<<\_ACEOF
34904 #define HAVE_STATFS 1
34908 echo "$as_me:$LINENO: checking for statvfs" >&5
34909 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34910 if test "${wx_cv_func_statvfs+set}" = set; then
34911 echo $ECHO_N "(cached) $ECHO_C" >&6
34913 cat >conftest.
$ac_ext <<_ACEOF
34916 cat confdefs.h
>>conftest.
$ac_ext
34917 cat >>conftest.
$ac_ext <<_ACEOF
34918 /* end confdefs.h. */
34920 #include <stddef.h>
34921 #include <sys/statvfs.h>
34927 statvfs("/", NULL);
34933 rm -f conftest.
$ac_objext
34934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34935 (eval $ac_compile) 2>conftest.er1
34937 grep -v '^ *+' conftest.er1
>conftest.err
34939 cat conftest.err
>&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); } &&
34942 { ac_try
='test -z "$ac_c_werror_flag"
34943 || test ! -s conftest.err'
34944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34945 (eval $ac_try) 2>&5
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); }; } &&
34949 { ac_try
='test -s conftest.$ac_objext'
34950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34951 (eval $ac_try) 2>&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); }; }; then
34955 wx_cv_func_statvfs
=yes
34957 echo "$as_me: failed program was:" >&5
34958 sed 's/^/| /' conftest.
$ac_ext >&5
34960 wx_cv_func_statvfs
=no
34963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34966 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34967 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34969 if test "$wx_cv_func_statvfs" = "yes"; then
34973 ac_cpp
='$CXXCPP $CPPFLAGS'
34974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34979 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34980 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34981 if test "${wx_cv_type_statvfs_t+set}" = set; then
34982 echo $ECHO_N "(cached) $ECHO_C" >&6
34984 cat >conftest.
$ac_ext <<_ACEOF
34987 cat confdefs.h
>>conftest.
$ac_ext
34988 cat >>conftest.
$ac_ext <<_ACEOF
34989 /* end confdefs.h. */
34991 #include <sys/statvfs.h>
35008 rm -f conftest.
$ac_objext
35009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35010 (eval $ac_compile) 2>conftest.er1
35012 grep -v '^ *+' conftest.er1
>conftest.err
35014 cat conftest.err
>&5
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); } &&
35017 { ac_try
='test -z "$ac_cxx_werror_flag"
35018 || test ! -s conftest.err'
35019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35020 (eval $ac_try) 2>&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); }; } &&
35024 { ac_try
='test -s conftest.$ac_objext'
35025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35026 (eval $ac_try) 2>&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); }; }; then
35030 wx_cv_type_statvfs_t
=statvfs_t
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.
$ac_ext >&5
35036 cat >conftest.
$ac_ext <<_ACEOF
35039 cat confdefs.h
>>conftest.
$ac_ext
35040 cat >>conftest.
$ac_ext <<_ACEOF
35041 /* end confdefs.h. */
35043 #include <sys/statvfs.h>
35060 rm -f conftest.
$ac_objext
35061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35062 (eval $ac_compile) 2>conftest.er1
35064 grep -v '^ *+' conftest.er1
>conftest.err
35066 cat conftest.err
>&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); } &&
35069 { ac_try
='test -z "$ac_cxx_werror_flag"
35070 || test ! -s conftest.err'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; } &&
35076 { ac_try
='test -s conftest.$ac_objext'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; }; then
35082 wx_cv_type_statvfs_t
="struct statvfs"
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.
$ac_ext >&5
35087 wx_cv_type_statvfs_t
="unknown"
35090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35097 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35098 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35101 ac_cpp
='$CPP $CPPFLAGS'
35102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35107 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35108 cat >>confdefs.h
<<\_ACEOF
35109 #define HAVE_STATVFS 1
35114 wx_cv_type_statvfs_t
="unknown"
35118 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35119 cat >>confdefs.h
<<_ACEOF
35120 #define WX_STATFS_T $wx_cv_type_statvfs_t
35124 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35125 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35128 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35131 for ac_func
in fcntl flock
35133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35134 echo "$as_me:$LINENO: checking for $ac_func" >&5
35135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35136 if eval "test \"\${$as_ac_var+set}\" = set"; then
35137 echo $ECHO_N "(cached) $ECHO_C" >&6
35139 cat >conftest.
$ac_ext <<_ACEOF
35142 cat confdefs.h
>>conftest.
$ac_ext
35143 cat >>conftest.
$ac_ext <<_ACEOF
35144 /* end confdefs.h. */
35145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35147 #define $ac_func innocuous_$ac_func
35149 /* System header to define __stub macros and hopefully few prototypes,
35150 which can conflict with char $ac_func (); below.
35151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35152 <limits.h> exists even on freestanding compilers. */
35155 # include <limits.h>
35157 # include <assert.h>
35162 /* Override any gcc2 internal prototype to avoid an error. */
35167 /* We use char because int might match the return type of a gcc2
35168 builtin and then its argument prototype would still apply. */
35170 /* The GNU C library defines this for functions which it implements
35171 to always fail with ENOSYS. Some functions are actually named
35172 something starting with __ and the normal name is an alias. */
35173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35176 char (*f) () = $ac_func;
35185 return f != $ac_func;
35190 rm -f conftest.
$ac_objext conftest
$ac_exeext
35191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35192 (eval $ac_link) 2>conftest.er1
35194 grep -v '^ *+' conftest.er1
>conftest.err
35196 cat conftest.err
>&5
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); } &&
35199 { ac_try
='test -z "$ac_c_werror_flag"
35200 || test ! -s conftest.err'
35201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35202 (eval $ac_try) 2>&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); }; } &&
35206 { ac_try
='test -s conftest$ac_exeext'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; }; then
35212 eval "$as_ac_var=yes"
35214 echo "$as_me: failed program was:" >&5
35215 sed 's/^/| /' conftest.
$ac_ext >&5
35217 eval "$as_ac_var=no"
35219 rm -f conftest.err conftest.
$ac_objext \
35220 conftest
$ac_exeext conftest.
$ac_ext
35222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35224 if test `eval echo '${'$as_ac_var'}'` = yes; then
35225 cat >>confdefs.h
<<_ACEOF
35226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35233 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35234 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35235 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35236 wxUSE_SNGLINST_CHECKER
=no
35241 for ac_func
in timegm
35243 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35244 echo "$as_me:$LINENO: checking for $ac_func" >&5
35245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35246 if eval "test \"\${$as_ac_var+set}\" = set"; then
35247 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 cat >conftest.
$ac_ext <<_ACEOF
35252 cat confdefs.h
>>conftest.
$ac_ext
35253 cat >>conftest.
$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35257 #define $ac_func innocuous_$ac_func
35259 /* System header to define __stub macros and hopefully few prototypes,
35260 which can conflict with char $ac_func (); below.
35261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35262 <limits.h> exists even on freestanding compilers. */
35265 # include <limits.h>
35267 # include <assert.h>
35272 /* Override any gcc2 internal prototype to avoid an error. */
35277 /* We use char because int might match the return type of a gcc2
35278 builtin and then its argument prototype would still apply. */
35280 /* The GNU C library defines this for functions which it implements
35281 to always fail with ENOSYS. Some functions are actually named
35282 something starting with __ and the normal name is an alias. */
35283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35286 char (*f) () = $ac_func;
35295 return f != $ac_func;
35300 rm -f conftest.
$ac_objext conftest
$ac_exeext
35301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35302 (eval $ac_link) 2>conftest.er1
35304 grep -v '^ *+' conftest.er1
>conftest.err
35306 cat conftest.err
>&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); } &&
35309 { ac_try
='test -z "$ac_c_werror_flag"
35310 || test ! -s conftest.err'
35311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312 (eval $ac_try) 2>&5
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); }; } &&
35316 { ac_try
='test -s conftest$ac_exeext'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; }; then
35322 eval "$as_ac_var=yes"
35324 echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.
$ac_ext >&5
35327 eval "$as_ac_var=no"
35329 rm -f conftest.err conftest.
$ac_objext \
35330 conftest
$ac_exeext conftest.
$ac_ext
35332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35334 if test `eval echo '${'$as_ac_var'}'` = yes; then
35335 cat >>confdefs.h
<<_ACEOF
35336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35345 for ac_func
in putenv setenv
35347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35348 echo "$as_me:$LINENO: checking for $ac_func" >&5
35349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35350 if eval "test \"\${$as_ac_var+set}\" = set"; then
35351 echo $ECHO_N "(cached) $ECHO_C" >&6
35353 cat >conftest.
$ac_ext <<_ACEOF
35356 cat confdefs.h
>>conftest.
$ac_ext
35357 cat >>conftest.
$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35361 #define $ac_func innocuous_$ac_func
35363 /* System header to define __stub macros and hopefully few prototypes,
35364 which can conflict with char $ac_func (); below.
35365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35366 <limits.h> exists even on freestanding compilers. */
35369 # include <limits.h>
35371 # include <assert.h>
35376 /* Override any gcc2 internal prototype to avoid an error. */
35381 /* We use char because int might match the return type of a gcc2
35382 builtin and then its argument prototype would still apply. */
35384 /* The GNU C library defines this for functions which it implements
35385 to always fail with ENOSYS. Some functions are actually named
35386 something starting with __ and the normal name is an alias. */
35387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35390 char (*f) () = $ac_func;
35399 return f != $ac_func;
35404 rm -f conftest.
$ac_objext conftest
$ac_exeext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35406 (eval $ac_link) 2>conftest.er1
35408 grep -v '^ *+' conftest.er1
>conftest.err
35410 cat conftest.err
>&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); } &&
35413 { ac_try
='test -z "$ac_c_werror_flag"
35414 || test ! -s conftest.err'
35415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416 (eval $ac_try) 2>&5
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); }; } &&
35420 { ac_try
='test -s conftest$ac_exeext'
35421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35422 (eval $ac_try) 2>&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); }; }; then
35426 eval "$as_ac_var=yes"
35428 echo "$as_me: failed program was:" >&5
35429 sed 's/^/| /' conftest.
$ac_ext >&5
35431 eval "$as_ac_var=no"
35433 rm -f conftest.err conftest.
$ac_objext \
35434 conftest
$ac_exeext conftest.
$ac_ext
35436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35438 if test `eval echo '${'$as_ac_var'}'` = yes; then
35439 cat >>confdefs.h
<<_ACEOF
35440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35447 HAVE_SOME_SLEEP_FUNC
=0
35448 if test "$USE_BEOS" = 1; then
35449 cat >>confdefs.h
<<\_ACEOF
35450 #define HAVE_SLEEP 1
35453 HAVE_SOME_SLEEP_FUNC
=1
35456 if test "$USE_DARWIN" = 1; then
35457 cat >>confdefs.h
<<\_ACEOF
35458 #define HAVE_USLEEP 1
35461 HAVE_SOME_SLEEP_FUNC
=1
35464 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35467 for ac_func
in nanosleep
35469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35470 echo "$as_me:$LINENO: checking for $ac_func" >&5
35471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35472 if eval "test \"\${$as_ac_var+set}\" = set"; then
35473 echo $ECHO_N "(cached) $ECHO_C" >&6
35475 cat >conftest.
$ac_ext <<_ACEOF
35478 cat confdefs.h
>>conftest.
$ac_ext
35479 cat >>conftest.
$ac_ext <<_ACEOF
35480 /* end confdefs.h. */
35481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35483 #define $ac_func innocuous_$ac_func
35485 /* System header to define __stub macros and hopefully few prototypes,
35486 which can conflict with char $ac_func (); below.
35487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35488 <limits.h> exists even on freestanding compilers. */
35491 # include <limits.h>
35493 # include <assert.h>
35498 /* Override any gcc2 internal prototype to avoid an error. */
35503 /* We use char because int might match the return type of a gcc2
35504 builtin and then its argument prototype would still apply. */
35506 /* The GNU C library defines this for functions which it implements
35507 to always fail with ENOSYS. Some functions are actually named
35508 something starting with __ and the normal name is an alias. */
35509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35512 char (*f) () = $ac_func;
35521 return f != $ac_func;
35526 rm -f conftest.
$ac_objext conftest
$ac_exeext
35527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35528 (eval $ac_link) 2>conftest.er1
35530 grep -v '^ *+' conftest.er1
>conftest.err
35532 cat conftest.err
>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); } &&
35535 { ac_try
='test -z "$ac_c_werror_flag"
35536 || test ! -s conftest.err'
35537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35538 (eval $ac_try) 2>&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); }; } &&
35542 { ac_try
='test -s conftest$ac_exeext'
35543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35544 (eval $ac_try) 2>&5
35546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547 (exit $ac_status); }; }; then
35548 eval "$as_ac_var=yes"
35550 echo "$as_me: failed program was:" >&5
35551 sed 's/^/| /' conftest.
$ac_ext >&5
35553 eval "$as_ac_var=no"
35555 rm -f conftest.err conftest.
$ac_objext \
35556 conftest
$ac_exeext conftest.
$ac_ext
35558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35560 if test `eval echo '${'$as_ac_var'}'` = yes; then
35561 cat >>confdefs.h
<<_ACEOF
35562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35564 cat >>confdefs.h
<<\_ACEOF
35565 #define HAVE_NANOSLEEP 1
35570 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35571 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35572 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35573 echo $ECHO_N "(cached) $ECHO_C" >&6
35575 ac_check_lib_save_LIBS
=$LIBS
35576 LIBS
="-lposix4 $LIBS"
35577 cat >conftest.
$ac_ext <<_ACEOF
35580 cat confdefs.h
>>conftest.
$ac_ext
35581 cat >>conftest.
$ac_ext <<_ACEOF
35582 /* end confdefs.h. */
35584 /* Override any gcc2 internal prototype to avoid an error. */
35588 /* We use char because int might match the return type of a gcc2
35589 builtin and then its argument prototype would still apply. */
35599 rm -f conftest.
$ac_objext conftest
$ac_exeext
35600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35601 (eval $ac_link) 2>conftest.er1
35603 grep -v '^ *+' conftest.er1
>conftest.err
35605 cat conftest.err
>&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); } &&
35608 { ac_try
='test -z "$ac_c_werror_flag"
35609 || test ! -s conftest.err'
35610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35611 (eval $ac_try) 2>&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; } &&
35615 { ac_try
='test -s conftest$ac_exeext'
35616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35617 (eval $ac_try) 2>&5
35619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35620 (exit $ac_status); }; }; then
35621 ac_cv_lib_posix4_nanosleep
=yes
35623 echo "$as_me: failed program was:" >&5
35624 sed 's/^/| /' conftest.
$ac_ext >&5
35626 ac_cv_lib_posix4_nanosleep
=no
35628 rm -f conftest.err conftest.
$ac_objext \
35629 conftest
$ac_exeext conftest.
$ac_ext
35630 LIBS
=$ac_check_lib_save_LIBS
35632 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35633 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35634 if test $ac_cv_lib_posix4_nanosleep = yes; then
35636 cat >>confdefs.h
<<\_ACEOF
35637 #define HAVE_NANOSLEEP 1
35640 POSIX4_LINK
=" -lposix4"
35645 for ac_func
in usleep
35647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35648 echo "$as_me:$LINENO: checking for $ac_func" >&5
35649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35650 if eval "test \"\${$as_ac_var+set}\" = set"; then
35651 echo $ECHO_N "(cached) $ECHO_C" >&6
35653 cat >conftest.
$ac_ext <<_ACEOF
35656 cat confdefs.h
>>conftest.
$ac_ext
35657 cat >>conftest.
$ac_ext <<_ACEOF
35658 /* end confdefs.h. */
35659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35661 #define $ac_func innocuous_$ac_func
35663 /* System header to define __stub macros and hopefully few prototypes,
35664 which can conflict with char $ac_func (); below.
35665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35666 <limits.h> exists even on freestanding compilers. */
35669 # include <limits.h>
35671 # include <assert.h>
35676 /* Override any gcc2 internal prototype to avoid an error. */
35681 /* We use char because int might match the return type of a gcc2
35682 builtin and then its argument prototype would still apply. */
35684 /* The GNU C library defines this for functions which it implements
35685 to always fail with ENOSYS. Some functions are actually named
35686 something starting with __ and the normal name is an alias. */
35687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35690 char (*f) () = $ac_func;
35699 return f != $ac_func;
35704 rm -f conftest.
$ac_objext conftest
$ac_exeext
35705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35706 (eval $ac_link) 2>conftest.er1
35708 grep -v '^ *+' conftest.er1
>conftest.err
35710 cat conftest.err
>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); } &&
35713 { ac_try
='test -z "$ac_c_werror_flag"
35714 || test ! -s conftest.err'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; } &&
35720 { ac_try
='test -s conftest$ac_exeext'
35721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35722 (eval $ac_try) 2>&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); }; }; then
35726 eval "$as_ac_var=yes"
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.
$ac_ext >&5
35731 eval "$as_ac_var=no"
35733 rm -f conftest.err conftest.
$ac_objext \
35734 conftest
$ac_exeext conftest.
$ac_ext
35736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35738 if test `eval echo '${'$as_ac_var'}'` = yes; then
35739 cat >>confdefs.h
<<_ACEOF
35740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35742 cat >>confdefs.h
<<\_ACEOF
35743 #define HAVE_USLEEP 1
35747 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35748 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35766 for ac_func
in uname gethostname
35768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35769 echo "$as_me:$LINENO: checking for $ac_func" >&5
35770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35771 if eval "test \"\${$as_ac_var+set}\" = set"; then
35772 echo $ECHO_N "(cached) $ECHO_C" >&6
35774 cat >conftest.
$ac_ext <<_ACEOF
35777 cat confdefs.h
>>conftest.
$ac_ext
35778 cat >>conftest.
$ac_ext <<_ACEOF
35779 /* end confdefs.h. */
35780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35782 #define $ac_func innocuous_$ac_func
35784 /* System header to define __stub macros and hopefully few prototypes,
35785 which can conflict with char $ac_func (); below.
35786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35787 <limits.h> exists even on freestanding compilers. */
35790 # include <limits.h>
35792 # include <assert.h>
35797 /* Override any gcc2 internal prototype to avoid an error. */
35802 /* We use char because int might match the return type of a gcc2
35803 builtin and then its argument prototype would still apply. */
35805 /* The GNU C library defines this for functions which it implements
35806 to always fail with ENOSYS. Some functions are actually named
35807 something starting with __ and the normal name is an alias. */
35808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35811 char (*f) () = $ac_func;
35820 return f != $ac_func;
35825 rm -f conftest.
$ac_objext conftest
$ac_exeext
35826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35827 (eval $ac_link) 2>conftest.er1
35829 grep -v '^ *+' conftest.er1
>conftest.err
35831 cat conftest.err
>&5
35832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35833 (exit $ac_status); } &&
35834 { ac_try
='test -z "$ac_c_werror_flag"
35835 || test ! -s conftest.err'
35836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35837 (eval $ac_try) 2>&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); }; } &&
35841 { ac_try
='test -s conftest$ac_exeext'
35842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35843 (eval $ac_try) 2>&5
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); }; }; then
35847 eval "$as_ac_var=yes"
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.
$ac_ext >&5
35852 eval "$as_ac_var=no"
35854 rm -f conftest.err conftest.
$ac_objext \
35855 conftest
$ac_exeext conftest.
$ac_ext
35857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35859 if test `eval echo '${'$as_ac_var'}'` = yes; then
35860 cat >>confdefs.h
<<_ACEOF
35861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35871 ac_cpp
='$CXXCPP $CPPFLAGS'
35872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35878 for ac_func
in strtok_r
35880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35881 echo "$as_me:$LINENO: checking for $ac_func" >&5
35882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35883 if eval "test \"\${$as_ac_var+set}\" = set"; then
35884 echo $ECHO_N "(cached) $ECHO_C" >&6
35886 cat >conftest.
$ac_ext <<_ACEOF
35889 cat confdefs.h
>>conftest.
$ac_ext
35890 cat >>conftest.
$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35894 #define $ac_func innocuous_$ac_func
35896 /* System header to define __stub macros and hopefully few prototypes,
35897 which can conflict with char $ac_func (); below.
35898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35899 <limits.h> exists even on freestanding compilers. */
35902 # include <limits.h>
35904 # include <assert.h>
35909 /* Override any gcc2 internal prototype to avoid an error. */
35914 /* We use char because int might match the return type of a gcc2
35915 builtin and then its argument prototype would still apply. */
35917 /* The GNU C library defines this for functions which it implements
35918 to always fail with ENOSYS. Some functions are actually named
35919 something starting with __ and the normal name is an alias. */
35920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35923 char (*f) () = $ac_func;
35932 return f != $ac_func;
35937 rm -f conftest.
$ac_objext conftest
$ac_exeext
35938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35939 (eval $ac_link) 2>conftest.er1
35941 grep -v '^ *+' conftest.er1
>conftest.err
35943 cat conftest.err
>&5
35944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945 (exit $ac_status); } &&
35946 { ac_try
='test -z "$ac_cxx_werror_flag"
35947 || test ! -s conftest.err'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; } &&
35953 { ac_try
='test -s conftest$ac_exeext'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; }; then
35959 eval "$as_ac_var=yes"
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.
$ac_ext >&5
35964 eval "$as_ac_var=no"
35966 rm -f conftest.err conftest.
$ac_objext \
35967 conftest
$ac_exeext conftest.
$ac_ext
35969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35971 if test `eval echo '${'$as_ac_var'}'` = yes; then
35972 cat >>confdefs.h
<<_ACEOF
35973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35981 ac_cpp
='$CPP $CPPFLAGS'
35982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35989 for ac_func
in inet_addr
35991 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35992 echo "$as_me:$LINENO: checking for $ac_func" >&5
35993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35994 if eval "test \"\${$as_ac_var+set}\" = set"; then
35995 echo $ECHO_N "(cached) $ECHO_C" >&6
35997 cat >conftest.
$ac_ext <<_ACEOF
36000 cat confdefs.h
>>conftest.
$ac_ext
36001 cat >>conftest.
$ac_ext <<_ACEOF
36002 /* end confdefs.h. */
36003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36005 #define $ac_func innocuous_$ac_func
36007 /* System header to define __stub macros and hopefully few prototypes,
36008 which can conflict with char $ac_func (); below.
36009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36010 <limits.h> exists even on freestanding compilers. */
36013 # include <limits.h>
36015 # include <assert.h>
36020 /* Override any gcc2 internal prototype to avoid an error. */
36025 /* We use char because int might match the return type of a gcc2
36026 builtin and then its argument prototype would still apply. */
36028 /* The GNU C library defines this for functions which it implements
36029 to always fail with ENOSYS. Some functions are actually named
36030 something starting with __ and the normal name is an alias. */
36031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36034 char (*f) () = $ac_func;
36043 return f != $ac_func;
36048 rm -f conftest.
$ac_objext conftest
$ac_exeext
36049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36050 (eval $ac_link) 2>conftest.er1
36052 grep -v '^ *+' conftest.er1
>conftest.err
36054 cat conftest.err
>&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); } &&
36057 { ac_try
='test -z "$ac_c_werror_flag"
36058 || test ! -s conftest.err'
36059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36060 (eval $ac_try) 2>&5
36062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36063 (exit $ac_status); }; } &&
36064 { ac_try
='test -s conftest$ac_exeext'
36065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36066 (eval $ac_try) 2>&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); }; }; then
36070 eval "$as_ac_var=yes"
36072 echo "$as_me: failed program was:" >&5
36073 sed 's/^/| /' conftest.
$ac_ext >&5
36075 eval "$as_ac_var=no"
36077 rm -f conftest.err conftest.
$ac_objext \
36078 conftest
$ac_exeext conftest.
$ac_ext
36080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36082 if test `eval echo '${'$as_ac_var'}'` = yes; then
36083 cat >>confdefs.h
<<_ACEOF
36084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36086 cat >>confdefs.h
<<\_ACEOF
36087 #define HAVE_INET_ADDR 1
36092 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36093 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36094 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36095 echo $ECHO_N "(cached) $ECHO_C" >&6
36097 ac_check_lib_save_LIBS
=$LIBS
36099 cat >conftest.
$ac_ext <<_ACEOF
36102 cat confdefs.h
>>conftest.
$ac_ext
36103 cat >>conftest.
$ac_ext <<_ACEOF
36104 /* end confdefs.h. */
36106 /* Override any gcc2 internal prototype to avoid an error. */
36110 /* We use char because int might match the return type of a gcc2
36111 builtin and then its argument prototype would still apply. */
36121 rm -f conftest.
$ac_objext conftest
$ac_exeext
36122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36123 (eval $ac_link) 2>conftest.er1
36125 grep -v '^ *+' conftest.er1
>conftest.err
36127 cat conftest.err
>&5
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); } &&
36130 { ac_try
='test -z "$ac_c_werror_flag"
36131 || test ! -s conftest.err'
36132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36133 (eval $ac_try) 2>&5
36135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36136 (exit $ac_status); }; } &&
36137 { ac_try
='test -s conftest$ac_exeext'
36138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36139 (eval $ac_try) 2>&5
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); }; }; then
36143 ac_cv_lib_nsl_inet_addr
=yes
36145 echo "$as_me: failed program was:" >&5
36146 sed 's/^/| /' conftest.
$ac_ext >&5
36148 ac_cv_lib_nsl_inet_addr
=no
36150 rm -f conftest.err conftest.
$ac_objext \
36151 conftest
$ac_exeext conftest.
$ac_ext
36152 LIBS
=$ac_check_lib_save_LIBS
36154 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36155 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36156 if test $ac_cv_lib_nsl_inet_addr = yes; then
36160 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36161 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36162 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36163 echo $ECHO_N "(cached) $ECHO_C" >&6
36165 ac_check_lib_save_LIBS
=$LIBS
36166 LIBS
="-lresolv $LIBS"
36167 cat >conftest.
$ac_ext <<_ACEOF
36170 cat confdefs.h
>>conftest.
$ac_ext
36171 cat >>conftest.
$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36174 /* Override any gcc2 internal prototype to avoid an error. */
36178 /* We use char because int might match the return type of a gcc2
36179 builtin and then its argument prototype would still apply. */
36189 rm -f conftest.
$ac_objext conftest
$ac_exeext
36190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36191 (eval $ac_link) 2>conftest.er1
36193 grep -v '^ *+' conftest.er1
>conftest.err
36195 cat conftest.err
>&5
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); } &&
36198 { ac_try
='test -z "$ac_c_werror_flag"
36199 || test ! -s conftest.err'
36200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36201 (eval $ac_try) 2>&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); }; } &&
36205 { ac_try
='test -s conftest$ac_exeext'
36206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36207 (eval $ac_try) 2>&5
36209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210 (exit $ac_status); }; }; then
36211 ac_cv_lib_resolv_inet_addr
=yes
36213 echo "$as_me: failed program was:" >&5
36214 sed 's/^/| /' conftest.
$ac_ext >&5
36216 ac_cv_lib_resolv_inet_addr
=no
36218 rm -f conftest.err conftest.
$ac_objext \
36219 conftest
$ac_exeext conftest.
$ac_ext
36220 LIBS
=$ac_check_lib_save_LIBS
36222 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36223 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36224 if test $ac_cv_lib_resolv_inet_addr = yes; then
36228 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36229 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36230 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 ac_check_lib_save_LIBS
=$LIBS
36234 LIBS
="-lsocket $LIBS"
36235 cat >conftest.
$ac_ext <<_ACEOF
36238 cat confdefs.h
>>conftest.
$ac_ext
36239 cat >>conftest.
$ac_ext <<_ACEOF
36240 /* end confdefs.h. */
36242 /* Override any gcc2 internal prototype to avoid an error. */
36246 /* We use char because int might match the return type of a gcc2
36247 builtin and then its argument prototype would still apply. */
36257 rm -f conftest.
$ac_objext conftest
$ac_exeext
36258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36259 (eval $ac_link) 2>conftest.er1
36261 grep -v '^ *+' conftest.er1
>conftest.err
36263 cat conftest.err
>&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } &&
36266 { ac_try
='test -z "$ac_c_werror_flag"
36267 || test ! -s conftest.err'
36268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36269 (eval $ac_try) 2>&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); }; } &&
36273 { ac_try
='test -s conftest$ac_exeext'
36274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36275 (eval $ac_try) 2>&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); }; }; then
36279 ac_cv_lib_socket_inet_addr
=yes
36281 echo "$as_me: failed program was:" >&5
36282 sed 's/^/| /' conftest.
$ac_ext >&5
36284 ac_cv_lib_socket_inet_addr
=no
36286 rm -f conftest.err conftest.
$ac_objext \
36287 conftest
$ac_exeext conftest.
$ac_ext
36288 LIBS
=$ac_check_lib_save_LIBS
36290 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36291 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36292 if test $ac_cv_lib_socket_inet_addr = yes; then
36312 for ac_func
in inet_aton
36314 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36315 echo "$as_me:$LINENO: checking for $ac_func" >&5
36316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36317 if eval "test \"\${$as_ac_var+set}\" = set"; then
36318 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 cat >conftest.
$ac_ext <<_ACEOF
36323 cat confdefs.h
>>conftest.
$ac_ext
36324 cat >>conftest.
$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36328 #define $ac_func innocuous_$ac_func
36330 /* System header to define __stub macros and hopefully few prototypes,
36331 which can conflict with char $ac_func (); below.
36332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36333 <limits.h> exists even on freestanding compilers. */
36336 # include <limits.h>
36338 # include <assert.h>
36343 /* Override any gcc2 internal prototype to avoid an error. */
36348 /* We use char because int might match the return type of a gcc2
36349 builtin and then its argument prototype would still apply. */
36351 /* The GNU C library defines this for functions which it implements
36352 to always fail with ENOSYS. Some functions are actually named
36353 something starting with __ and the normal name is an alias. */
36354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36357 char (*f) () = $ac_func;
36366 return f != $ac_func;
36371 rm -f conftest.
$ac_objext conftest
$ac_exeext
36372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36373 (eval $ac_link) 2>conftest.er1
36375 grep -v '^ *+' conftest.er1
>conftest.err
36377 cat conftest.err
>&5
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); } &&
36380 { ac_try
='test -z "$ac_c_werror_flag"
36381 || test ! -s conftest.err'
36382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36383 (eval $ac_try) 2>&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); }; } &&
36387 { ac_try
='test -s conftest$ac_exeext'
36388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36389 (eval $ac_try) 2>&5
36391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36392 (exit $ac_status); }; }; then
36393 eval "$as_ac_var=yes"
36395 echo "$as_me: failed program was:" >&5
36396 sed 's/^/| /' conftest.
$ac_ext >&5
36398 eval "$as_ac_var=no"
36400 rm -f conftest.err conftest.
$ac_objext \
36401 conftest
$ac_exeext conftest.
$ac_ext
36403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36405 if test `eval echo '${'$as_ac_var'}'` = yes; then
36406 cat >>confdefs.h
<<_ACEOF
36407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36409 cat >>confdefs.h
<<\_ACEOF
36410 #define HAVE_INET_ATON 1
36415 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36416 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36417 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36418 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36419 echo $ECHO_N "(cached) $ECHO_C" >&6
36421 ac_check_lib_save_LIBS
=$LIBS
36422 LIBS
="-l$INET_LINK $LIBS"
36423 cat >conftest.
$ac_ext <<_ACEOF
36426 cat confdefs.h
>>conftest.
$ac_ext
36427 cat >>conftest.
$ac_ext <<_ACEOF
36428 /* end confdefs.h. */
36430 /* Override any gcc2 internal prototype to avoid an error. */
36434 /* We use char because int might match the return type of a gcc2
36435 builtin and then its argument prototype would still apply. */
36445 rm -f conftest.
$ac_objext conftest
$ac_exeext
36446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36447 (eval $ac_link) 2>conftest.er1
36449 grep -v '^ *+' conftest.er1
>conftest.err
36451 cat conftest.err
>&5
36452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36453 (exit $ac_status); } &&
36454 { ac_try
='test -z "$ac_c_werror_flag"
36455 || test ! -s conftest.err'
36456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36457 (eval $ac_try) 2>&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); }; } &&
36461 { ac_try
='test -s conftest$ac_exeext'
36462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36463 (eval $ac_try) 2>&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); }; }; then
36467 eval "$as_ac_Lib=yes"
36469 echo "$as_me: failed program was:" >&5
36470 sed 's/^/| /' conftest.
$ac_ext >&5
36472 eval "$as_ac_Lib=no"
36474 rm -f conftest.err conftest.
$ac_objext \
36475 conftest
$ac_exeext conftest.
$ac_ext
36476 LIBS
=$ac_check_lib_save_LIBS
36478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36479 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36480 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36481 cat >>confdefs.h
<<\_ACEOF
36482 #define HAVE_INET_ATON 1
36492 if test "x$INET_LINK" != "x"; then
36493 cat >>confdefs.h
<<\_ACEOF
36494 #define HAVE_INET_ADDR 1
36497 INET_LINK
=" -l$INET_LINK"
36505 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36506 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36507 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36508 echo $ECHO_N "(cached) $ECHO_C" >&6
36510 ac_check_lib_save_LIBS
=$LIBS
36512 cat >conftest.
$ac_ext <<_ACEOF
36515 cat confdefs.h
>>conftest.
$ac_ext
36516 cat >>conftest.
$ac_ext <<_ACEOF
36517 /* end confdefs.h. */
36519 /* Override any gcc2 internal prototype to avoid an error. */
36523 /* We use char because int might match the return type of a gcc2
36524 builtin and then its argument prototype would still apply. */
36534 rm -f conftest.
$ac_objext conftest
$ac_exeext
36535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36536 (eval $ac_link) 2>conftest.er1
36538 grep -v '^ *+' conftest.er1
>conftest.err
36540 cat conftest.err
>&5
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); } &&
36543 { ac_try
='test -z "$ac_c_werror_flag"
36544 || test ! -s conftest.err'
36545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36546 (eval $ac_try) 2>&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); }; } &&
36550 { ac_try
='test -s conftest$ac_exeext'
36551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36552 (eval $ac_try) 2>&5
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); }; }; then
36556 ac_cv_lib_esd_esd_close
=yes
36558 echo "$as_me: failed program was:" >&5
36559 sed 's/^/| /' conftest.
$ac_ext >&5
36561 ac_cv_lib_esd_esd_close
=no
36563 rm -f conftest.err conftest.
$ac_objext \
36564 conftest
$ac_exeext conftest.
$ac_ext
36565 LIBS
=$ac_check_lib_save_LIBS
36567 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36568 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36569 if test $ac_cv_lib_esd_esd_close = yes; then
36572 for ac_header
in esd.h
36574 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36576 echo "$as_me:$LINENO: checking for $ac_header" >&5
36577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36579 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36584 # Is the header compilable?
36585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36587 cat >conftest.
$ac_ext <<_ACEOF
36590 cat confdefs.h
>>conftest.
$ac_ext
36591 cat >>conftest.
$ac_ext <<_ACEOF
36592 /* end confdefs.h. */
36593 $ac_includes_default
36594 #include <$ac_header>
36596 rm -f conftest.
$ac_objext
36597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36598 (eval $ac_compile) 2>conftest.er1
36600 grep -v '^ *+' conftest.er1
>conftest.err
36602 cat conftest.err
>&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); } &&
36605 { ac_try
='test -z "$ac_c_werror_flag"
36606 || test ! -s conftest.err'
36607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36608 (eval $ac_try) 2>&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); }; } &&
36612 { ac_try
='test -s conftest.$ac_objext'
36613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36614 (eval $ac_try) 2>&5
36616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617 (exit $ac_status); }; }; then
36618 ac_header_compiler
=yes
36620 echo "$as_me: failed program was:" >&5
36621 sed 's/^/| /' conftest.
$ac_ext >&5
36623 ac_header_compiler
=no
36625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36627 echo "${ECHO_T}$ac_header_compiler" >&6
36629 # Is the header present?
36630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36632 cat >conftest.
$ac_ext <<_ACEOF
36635 cat confdefs.h
>>conftest.
$ac_ext
36636 cat >>conftest.
$ac_ext <<_ACEOF
36637 /* end confdefs.h. */
36638 #include <$ac_header>
36640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36643 grep -v '^ *+' conftest.er1
>conftest.err
36645 cat conftest.err
>&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); } >/dev
/null
; then
36648 if test -s conftest.err
; then
36649 ac_cpp_err
=$ac_c_preproc_warn_flag
36650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36657 if test -z "$ac_cpp_err"; then
36658 ac_header_preproc
=yes
36660 echo "$as_me: failed program was:" >&5
36661 sed 's/^/| /' conftest.
$ac_ext >&5
36663 ac_header_preproc
=no
36665 rm -f conftest.err conftest.
$ac_ext
36666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36667 echo "${ECHO_T}$ac_header_preproc" >&6
36669 # So? What about this header?
36670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36676 ac_header_preproc
=yes
36679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36686 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36693 ## ----------------------------------------- ##
36694 ## Report this to wx-dev@lists.wxwidgets.org ##
36695 ## ----------------------------------------- ##
36698 sed "s/^/$as_me: WARNING: /" >&2
36701 echo "$as_me:$LINENO: checking for $ac_header" >&5
36702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36704 echo $ECHO_N "(cached) $ECHO_C" >&6
36706 eval "$as_ac_Header=\$ac_header_preproc"
36708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36713 cat >>confdefs.h
<<_ACEOF
36714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36717 EXTRALIBS_ESD
="-lesd"
36728 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36729 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36730 cat >conftest.
$ac_ext <<_ACEOF
36733 cat confdefs.h
>>conftest.
$ac_ext
36734 cat >>conftest.
$ac_ext <<_ACEOF
36735 /* end confdefs.h. */
36737 #include <linux/cdrom.h>
36740 #include <sys/cdio.h>
36746 struct cdrom_tocentry entry, old_entry;
36751 rm -f conftest.
$ac_objext
36752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36753 (eval $ac_compile) 2>conftest.er1
36755 grep -v '^ *+' conftest.er1
>conftest.err
36757 cat conftest.err
>&5
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); } &&
36760 { ac_try
='test -z "$ac_c_werror_flag"
36761 || test ! -s conftest.err'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; } &&
36767 { ac_try
='test -s conftest.$ac_objext'
36768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36769 (eval $ac_try) 2>&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; }; then
36773 echo "$as_me:$LINENO: result: yes" >&5
36774 echo "${ECHO_T}yes" >&6
36775 cat >>confdefs.h
<<\_ACEOF
36776 #define HAVE_KNOWN_CDROM_INTERFACE 1
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.
$ac_ext >&5
36783 echo "$as_me:$LINENO: result: no" >&5
36784 echo "${ECHO_T}no" >&6
36786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36789 cat >confcache
<<\_ACEOF
36790 # This file is a shell script that caches the results of configure
36791 # tests run on this system so they can be shared between configure
36792 # scripts and configure runs, see configure's option --config-cache.
36793 # It is not useful on other systems. If it contains results you don't
36794 # want to keep, you may remove or edit it.
36796 # config.status only pays attention to the cache file if you give it
36797 # the --recheck option to rerun configure.
36799 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36800 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36801 # following values.
36805 # The following way of writing the cache mishandles newlines in values,
36806 # but we know of no workaround that is simple, portable, and efficient.
36807 # So, don't put newlines in cache variables' values.
36808 # Ultrix sh set writes to stderr and can't be redirected directly,
36809 # and sets the high bit in the cache file unless we assign to the vars.
36812 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36814 # `set' does not quote correctly, so add quotes (double-quote
36815 # substitution turns \\\\ into \\, and sed turns \\ into \).
36818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36821 # `set' quotes correctly as required by POSIX, so do not add quotes.
36823 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36832 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36834 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36835 if test -w $cache_file; then
36836 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36837 cat confcache
>$cache_file
36839 echo "not updating unwritable cache $cache_file"
36845 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36851 if test "$wxUSE_THREADS" = "yes" ; then
36852 if test "$USE_BEOS" = 1; then
36853 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36854 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36859 if test "$wxUSE_THREADS" = "yes" ; then
36862 THREAD_OPTS
="-pthread"
36864 *-*-solaris2* | *-*-sunos4* )
36865 if test "x$GCC" = "xyes"; then
36866 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36868 THREAD_OPTS
="-mt $THREAD_OPTS"
36872 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36874 *-*-darwin* | *-*-cygwin* )
36878 THREAD_OPTS
="pthreads"
36881 if test "x$GCC" = "xyes"; then
36882 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36890 if test "x$GCC" = "xyes"; then
36896 if test "x$GCC" != "xyes"; then
36897 THREAD_OPTS
="-Ethread"
36902 THREAD_OPTS
="$THREAD_OPTS pthread none"
36905 for flag
in $THREAD_OPTS; do
36908 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36909 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36913 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36914 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36915 THREADS_CFLAGS
="$flag"
36919 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36920 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36921 THREADS_LINK
="-l$flag"
36926 save_CFLAGS
="$CFLAGS"
36927 LIBS
="$THREADS_LINK $LIBS"
36928 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36930 cat >conftest.
$ac_ext <<_ACEOF
36933 cat confdefs.h
>>conftest.
$ac_ext
36934 cat >>conftest.
$ac_ext <<_ACEOF
36935 /* end confdefs.h. */
36936 #include <pthread.h>
36940 pthread_create(0,0,0,0);
36945 rm -f conftest.
$ac_objext conftest
$ac_exeext
36946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36947 (eval $ac_link) 2>conftest.er1
36949 grep -v '^ *+' conftest.er1
>conftest.err
36951 cat conftest.err
>&5
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); } &&
36954 { ac_try
='test -z "$ac_c_werror_flag"
36955 || test ! -s conftest.err'
36956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36957 (eval $ac_try) 2>&5
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); }; } &&
36961 { ac_try
='test -s conftest$ac_exeext'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; }; then
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.
$ac_ext >&5
36973 rm -f conftest.err conftest.
$ac_objext \
36974 conftest
$ac_exeext conftest.
$ac_ext
36977 CFLAGS
="$save_CFLAGS"
36979 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36980 echo "${ECHO_T}$THREADS_OK" >&6
36981 if test "x$THREADS_OK" = "xyes"; then
36989 if test "x$THREADS_OK" != "xyes"; then
36991 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36992 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36994 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36995 LIBS
="$THREADS_LINK $LIBS"
36997 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36998 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37002 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37003 flag
="-D_THREAD_SAFE"
37006 flag
="-D_THREAD_SAFE"
37009 flag
="-D_REENTRANT"
37010 if test "x$GCC" != "xyes"; then
37011 flag
="$flag -D_RWSTD_MULTI_THREAD"
37014 *solaris
* | alpha
*-osf*)
37015 flag
="-D_REENTRANT"
37018 echo "$as_me:$LINENO: result: ${flag}" >&5
37019 echo "${ECHO_T}${flag}" >&6
37020 if test "x$flag" != xno
; then
37021 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37024 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37028 if test "$wxUSE_THREADS" = "yes" ; then
37030 for ac_func
in thr_setconcurrency
37032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37033 echo "$as_me:$LINENO: checking for $ac_func" >&5
37034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37035 if eval "test \"\${$as_ac_var+set}\" = set"; then
37036 echo $ECHO_N "(cached) $ECHO_C" >&6
37038 cat >conftest.
$ac_ext <<_ACEOF
37041 cat confdefs.h
>>conftest.
$ac_ext
37042 cat >>conftest.
$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37046 #define $ac_func innocuous_$ac_func
37048 /* System header to define __stub macros and hopefully few prototypes,
37049 which can conflict with char $ac_func (); below.
37050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37051 <limits.h> exists even on freestanding compilers. */
37054 # include <limits.h>
37056 # include <assert.h>
37061 /* Override any gcc2 internal prototype to avoid an error. */
37066 /* We use char because int might match the return type of a gcc2
37067 builtin and then its argument prototype would still apply. */
37069 /* The GNU C library defines this for functions which it implements
37070 to always fail with ENOSYS. Some functions are actually named
37071 something starting with __ and the normal name is an alias. */
37072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37075 char (*f) () = $ac_func;
37084 return f != $ac_func;
37089 rm -f conftest.
$ac_objext conftest
$ac_exeext
37090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37091 (eval $ac_link) 2>conftest.er1
37093 grep -v '^ *+' conftest.er1
>conftest.err
37095 cat conftest.err
>&5
37096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37097 (exit $ac_status); } &&
37098 { ac_try
='test -z "$ac_c_werror_flag"
37099 || test ! -s conftest.err'
37100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101 (eval $ac_try) 2>&5
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); }; } &&
37105 { ac_try
='test -s conftest$ac_exeext'
37106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37107 (eval $ac_try) 2>&5
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); }; }; then
37111 eval "$as_ac_var=yes"
37113 echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.
$ac_ext >&5
37116 eval "$as_ac_var=no"
37118 rm -f conftest.err conftest.
$ac_objext \
37119 conftest
$ac_exeext conftest.
$ac_ext
37121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37123 if test `eval echo '${'$as_ac_var'}'` = yes; then
37124 cat >>confdefs.h
<<_ACEOF
37125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37132 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37133 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37134 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37135 echo $ECHO_N "(cached) $ECHO_C" >&6
37138 cat >conftest.
$ac_ext <<_ACEOF
37141 cat confdefs.h
>>conftest.
$ac_ext
37142 cat >>conftest.
$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37144 #include <pthread.h>
37145 void ThreadCleanupFunc(void *p);
37152 pthread_cleanup_push(ThreadCleanupFunc, p);
37153 pthread_cleanup_pop(0);
37159 rm -f conftest.
$ac_objext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37161 (eval $ac_compile) 2>conftest.er1
37163 grep -v '^ *+' conftest.er1
>conftest.err
37165 cat conftest.err
>&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try
='test -z "$ac_c_werror_flag"
37169 || test ! -s conftest.err'
37170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37171 (eval $ac_try) 2>&5
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); }; } &&
37175 { ac_try
='test -s conftest.$ac_objext'
37176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177 (eval $ac_try) 2>&5
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); }; }; then
37182 wx_cv_func_pthread_cleanup
=yes
37185 echo "$as_me: failed program was:" >&5
37186 sed 's/^/| /' conftest.
$ac_ext >&5
37189 wx_cv_func_pthread_cleanup
=no
37193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37196 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37197 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37198 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37199 cat >>confdefs.h
<<\_ACEOF
37200 #define wxHAVE_PTHREAD_CLEANUP 1
37206 for ac_header
in sched.h
37208 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37210 echo "$as_me:$LINENO: checking for $ac_header" >&5
37211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37213 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37218 # Is the header compilable?
37219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37221 cat >conftest.
$ac_ext <<_ACEOF
37224 cat confdefs.h
>>conftest.
$ac_ext
37225 cat >>conftest.
$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37227 $ac_includes_default
37228 #include <$ac_header>
37230 rm -f conftest.
$ac_objext
37231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37232 (eval $ac_compile) 2>conftest.er1
37234 grep -v '^ *+' conftest.er1
>conftest.err
37236 cat conftest.err
>&5
37237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37238 (exit $ac_status); } &&
37239 { ac_try
='test -z "$ac_c_werror_flag"
37240 || test ! -s conftest.err'
37241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37242 (eval $ac_try) 2>&5
37244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245 (exit $ac_status); }; } &&
37246 { ac_try
='test -s conftest.$ac_objext'
37247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37248 (eval $ac_try) 2>&5
37250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37251 (exit $ac_status); }; }; then
37252 ac_header_compiler
=yes
37254 echo "$as_me: failed program was:" >&5
37255 sed 's/^/| /' conftest.
$ac_ext >&5
37257 ac_header_compiler
=no
37259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37261 echo "${ECHO_T}$ac_header_compiler" >&6
37263 # Is the header present?
37264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37266 cat >conftest.
$ac_ext <<_ACEOF
37269 cat confdefs.h
>>conftest.
$ac_ext
37270 cat >>conftest.
$ac_ext <<_ACEOF
37271 /* end confdefs.h. */
37272 #include <$ac_header>
37274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37277 grep -v '^ *+' conftest.er1
>conftest.err
37279 cat conftest.err
>&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } >/dev
/null
; then
37282 if test -s conftest.err
; then
37283 ac_cpp_err
=$ac_c_preproc_warn_flag
37284 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37291 if test -z "$ac_cpp_err"; then
37292 ac_header_preproc
=yes
37294 echo "$as_me: failed program was:" >&5
37295 sed 's/^/| /' conftest.
$ac_ext >&5
37297 ac_header_preproc
=no
37299 rm -f conftest.err conftest.
$ac_ext
37300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37301 echo "${ECHO_T}$ac_header_preproc" >&6
37303 # So? What about this header?
37304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37310 ac_header_preproc
=yes
37313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37327 ## ----------------------------------------- ##
37328 ## Report this to wx-dev@lists.wxwidgets.org ##
37329 ## ----------------------------------------- ##
37332 sed "s/^/$as_me: WARNING: /" >&2
37335 echo "$as_me:$LINENO: checking for $ac_header" >&5
37336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 eval "$as_ac_Header=\$ac_header_preproc"
37342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37347 cat >>confdefs.h
<<_ACEOF
37348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37355 if test "$ac_cv_header_sched_h" = "yes"; then
37356 echo "$as_me:$LINENO: checking for sched_yield" >&5
37357 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37358 if test "${ac_cv_func_sched_yield+set}" = set; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 cat >conftest.
$ac_ext <<_ACEOF
37364 cat confdefs.h
>>conftest.
$ac_ext
37365 cat >>conftest.
$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define sched_yield innocuous_sched_yield
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char sched_yield (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37377 # include <limits.h>
37379 # include <assert.h>
37384 /* Override any gcc2 internal prototype to avoid an error. */
37389 /* We use char because int might match the return type of a gcc2
37390 builtin and then its argument prototype would still apply. */
37391 char sched_yield ();
37392 /* The GNU C library defines this for functions which it implements
37393 to always fail with ENOSYS. Some functions are actually named
37394 something starting with __ and the normal name is an alias. */
37395 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37398 char (*f) () = sched_yield;
37407 return f != sched_yield;
37412 rm -f conftest.
$ac_objext conftest
$ac_exeext
37413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37414 (eval $ac_link) 2>conftest.er1
37416 grep -v '^ *+' conftest.er1
>conftest.err
37418 cat conftest.err
>&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); } &&
37421 { ac_try
='test -z "$ac_c_werror_flag"
37422 || test ! -s conftest.err'
37423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37424 (eval $ac_try) 2>&5
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); }; } &&
37428 { ac_try
='test -s conftest$ac_exeext'
37429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37430 (eval $ac_try) 2>&5
37432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37433 (exit $ac_status); }; }; then
37434 ac_cv_func_sched_yield
=yes
37436 echo "$as_me: failed program was:" >&5
37437 sed 's/^/| /' conftest.
$ac_ext >&5
37439 ac_cv_func_sched_yield
=no
37441 rm -f conftest.err conftest.
$ac_objext \
37442 conftest
$ac_exeext conftest.
$ac_ext
37444 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37445 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37446 if test $ac_cv_func_sched_yield = yes; then
37447 cat >>confdefs.h
<<\_ACEOF
37448 #define HAVE_SCHED_YIELD 1
37453 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37454 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37455 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37456 echo $ECHO_N "(cached) $ECHO_C" >&6
37458 ac_check_lib_save_LIBS
=$LIBS
37459 LIBS
="-lposix4 $LIBS"
37460 cat >conftest.
$ac_ext <<_ACEOF
37463 cat confdefs.h
>>conftest.
$ac_ext
37464 cat >>conftest.
$ac_ext <<_ACEOF
37465 /* end confdefs.h. */
37467 /* Override any gcc2 internal prototype to avoid an error. */
37471 /* We use char because int might match the return type of a gcc2
37472 builtin and then its argument prototype would still apply. */
37473 char sched_yield ();
37482 rm -f conftest.
$ac_objext conftest
$ac_exeext
37483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37484 (eval $ac_link) 2>conftest.er1
37486 grep -v '^ *+' conftest.er1
>conftest.err
37488 cat conftest.err
>&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); } &&
37491 { ac_try
='test -z "$ac_c_werror_flag"
37492 || test ! -s conftest.err'
37493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37494 (eval $ac_try) 2>&5
37496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37497 (exit $ac_status); }; } &&
37498 { ac_try
='test -s conftest$ac_exeext'
37499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37500 (eval $ac_try) 2>&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); }; }; then
37504 ac_cv_lib_posix4_sched_yield
=yes
37506 echo "$as_me: failed program was:" >&5
37507 sed 's/^/| /' conftest.
$ac_ext >&5
37509 ac_cv_lib_posix4_sched_yield
=no
37511 rm -f conftest.err conftest.
$ac_objext \
37512 conftest
$ac_exeext conftest.
$ac_ext
37513 LIBS
=$ac_check_lib_save_LIBS
37515 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37516 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37517 if test $ac_cv_lib_posix4_sched_yield = yes; then
37518 cat >>confdefs.h
<<\_ACEOF
37519 #define HAVE_SCHED_YIELD 1
37521 POSIX4_LINK
=" -lposix4"
37523 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37524 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37535 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37536 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37537 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37538 echo $ECHO_N "(cached) $ECHO_C" >&6
37540 cat >conftest.
$ac_ext <<_ACEOF
37543 cat confdefs.h
>>conftest.
$ac_ext
37544 cat >>conftest.
$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37546 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37548 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37550 /* System header to define __stub macros and hopefully few prototypes,
37551 which can conflict with char pthread_attr_getschedpolicy (); below.
37552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37553 <limits.h> exists even on freestanding compilers. */
37556 # include <limits.h>
37558 # include <assert.h>
37561 #undef pthread_attr_getschedpolicy
37563 /* Override any gcc2 internal prototype to avoid an error. */
37568 /* We use char because int might match the return type of a gcc2
37569 builtin and then its argument prototype would still apply. */
37570 char pthread_attr_getschedpolicy ();
37571 /* The GNU C library defines this for functions which it implements
37572 to always fail with ENOSYS. Some functions are actually named
37573 something starting with __ and the normal name is an alias. */
37574 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37577 char (*f) () = pthread_attr_getschedpolicy;
37586 return f != pthread_attr_getschedpolicy;
37591 rm -f conftest.
$ac_objext conftest
$ac_exeext
37592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37593 (eval $ac_link) 2>conftest.er1
37595 grep -v '^ *+' conftest.er1
>conftest.err
37597 cat conftest.err
>&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); } &&
37600 { ac_try
='test -z "$ac_c_werror_flag"
37601 || test ! -s conftest.err'
37602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37603 (eval $ac_try) 2>&5
37605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37606 (exit $ac_status); }; } &&
37607 { ac_try
='test -s conftest$ac_exeext'
37608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37609 (eval $ac_try) 2>&5
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); }; }; then
37613 ac_cv_func_pthread_attr_getschedpolicy
=yes
37615 echo "$as_me: failed program was:" >&5
37616 sed 's/^/| /' conftest.
$ac_ext >&5
37618 ac_cv_func_pthread_attr_getschedpolicy
=no
37620 rm -f conftest.err conftest.
$ac_objext \
37621 conftest
$ac_exeext conftest.
$ac_ext
37623 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37624 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37625 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37626 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37627 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37628 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37629 echo $ECHO_N "(cached) $ECHO_C" >&6
37631 cat >conftest.
$ac_ext <<_ACEOF
37634 cat confdefs.h
>>conftest.
$ac_ext
37635 cat >>conftest.
$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37639 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37641 /* System header to define __stub macros and hopefully few prototypes,
37642 which can conflict with char pthread_attr_setschedparam (); below.
37643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37644 <limits.h> exists even on freestanding compilers. */
37647 # include <limits.h>
37649 # include <assert.h>
37652 #undef pthread_attr_setschedparam
37654 /* Override any gcc2 internal prototype to avoid an error. */
37659 /* We use char because int might match the return type of a gcc2
37660 builtin and then its argument prototype would still apply. */
37661 char pthread_attr_setschedparam ();
37662 /* The GNU C library defines this for functions which it implements
37663 to always fail with ENOSYS. Some functions are actually named
37664 something starting with __ and the normal name is an alias. */
37665 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37668 char (*f) () = pthread_attr_setschedparam;
37677 return f != pthread_attr_setschedparam;
37682 rm -f conftest.
$ac_objext conftest
$ac_exeext
37683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37684 (eval $ac_link) 2>conftest.er1
37686 grep -v '^ *+' conftest.er1
>conftest.err
37688 cat conftest.err
>&5
37689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37690 (exit $ac_status); } &&
37691 { ac_try
='test -z "$ac_c_werror_flag"
37692 || test ! -s conftest.err'
37693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37694 (eval $ac_try) 2>&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); }; } &&
37698 { ac_try
='test -s conftest$ac_exeext'
37699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700 (eval $ac_try) 2>&5
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); }; }; then
37704 ac_cv_func_pthread_attr_setschedparam
=yes
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.
$ac_ext >&5
37709 ac_cv_func_pthread_attr_setschedparam
=no
37711 rm -f conftest.err conftest.
$ac_objext \
37712 conftest
$ac_exeext conftest.
$ac_ext
37714 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37715 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37716 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37717 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37718 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37719 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 cat >conftest.
$ac_ext <<_ACEOF
37725 cat confdefs.h
>>conftest.
$ac_ext
37726 cat >>conftest.
$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37728 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37730 #define sched_get_priority_max innocuous_sched_get_priority_max
37732 /* System header to define __stub macros and hopefully few prototypes,
37733 which can conflict with char sched_get_priority_max (); below.
37734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37735 <limits.h> exists even on freestanding compilers. */
37738 # include <limits.h>
37740 # include <assert.h>
37743 #undef sched_get_priority_max
37745 /* Override any gcc2 internal prototype to avoid an error. */
37750 /* We use char because int might match the return type of a gcc2
37751 builtin and then its argument prototype would still apply. */
37752 char sched_get_priority_max ();
37753 /* The GNU C library defines this for functions which it implements
37754 to always fail with ENOSYS. Some functions are actually named
37755 something starting with __ and the normal name is an alias. */
37756 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37759 char (*f) () = sched_get_priority_max;
37768 return f != sched_get_priority_max;
37773 rm -f conftest.
$ac_objext conftest
$ac_exeext
37774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37775 (eval $ac_link) 2>conftest.er1
37777 grep -v '^ *+' conftest.er1
>conftest.err
37779 cat conftest.err
>&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } &&
37782 { ac_try
='test -z "$ac_c_werror_flag"
37783 || test ! -s conftest.err'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; } &&
37789 { ac_try
='test -s conftest$ac_exeext'
37790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37791 (eval $ac_try) 2>&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); }; }; then
37795 ac_cv_func_sched_get_priority_max
=yes
37797 echo "$as_me: failed program was:" >&5
37798 sed 's/^/| /' conftest.
$ac_ext >&5
37800 ac_cv_func_sched_get_priority_max
=no
37802 rm -f conftest.err conftest.
$ac_objext \
37803 conftest
$ac_exeext conftest.
$ac_ext
37805 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37806 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37807 if test $ac_cv_func_sched_get_priority_max = yes; then
37810 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37811 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37812 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37815 ac_check_lib_save_LIBS
=$LIBS
37816 LIBS
="-lposix4 $LIBS"
37817 cat >conftest.
$ac_ext <<_ACEOF
37820 cat confdefs.h
>>conftest.
$ac_ext
37821 cat >>conftest.
$ac_ext <<_ACEOF
37822 /* end confdefs.h. */
37824 /* Override any gcc2 internal prototype to avoid an error. */
37828 /* We use char because int might match the return type of a gcc2
37829 builtin and then its argument prototype would still apply. */
37830 char sched_get_priority_max ();
37834 sched_get_priority_max ();
37839 rm -f conftest.
$ac_objext conftest
$ac_exeext
37840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37841 (eval $ac_link) 2>conftest.er1
37843 grep -v '^ *+' conftest.er1
>conftest.err
37845 cat conftest.err
>&5
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); } &&
37848 { ac_try
='test -z "$ac_c_werror_flag"
37849 || test ! -s conftest.err'
37850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851 (eval $ac_try) 2>&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); }; } &&
37855 { ac_try
='test -s conftest$ac_exeext'
37856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857 (eval $ac_try) 2>&5
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); }; }; then
37861 ac_cv_lib_posix4_sched_get_priority_max
=yes
37863 echo "$as_me: failed program was:" >&5
37864 sed 's/^/| /' conftest.
$ac_ext >&5
37866 ac_cv_lib_posix4_sched_get_priority_max
=no
37868 rm -f conftest.err conftest.
$ac_objext \
37869 conftest
$ac_exeext conftest.
$ac_ext
37870 LIBS
=$ac_check_lib_save_LIBS
37872 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37873 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37874 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37877 POSIX4_LINK
=" -lposix4"
37891 if test "$HAVE_PRIOR_FUNCS" = 1; then
37892 cat >>confdefs.h
<<\_ACEOF
37893 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37897 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37898 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37901 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37902 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37903 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37904 echo $ECHO_N "(cached) $ECHO_C" >&6
37906 cat >conftest.
$ac_ext <<_ACEOF
37909 cat confdefs.h
>>conftest.
$ac_ext
37910 cat >>conftest.
$ac_ext <<_ACEOF
37911 /* end confdefs.h. */
37912 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37914 #define pthread_cancel innocuous_pthread_cancel
37916 /* System header to define __stub macros and hopefully few prototypes,
37917 which can conflict with char pthread_cancel (); below.
37918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37919 <limits.h> exists even on freestanding compilers. */
37922 # include <limits.h>
37924 # include <assert.h>
37927 #undef pthread_cancel
37929 /* Override any gcc2 internal prototype to avoid an error. */
37934 /* We use char because int might match the return type of a gcc2
37935 builtin and then its argument prototype would still apply. */
37936 char pthread_cancel ();
37937 /* The GNU C library defines this for functions which it implements
37938 to always fail with ENOSYS. Some functions are actually named
37939 something starting with __ and the normal name is an alias. */
37940 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37943 char (*f) () = pthread_cancel;
37952 return f != pthread_cancel;
37957 rm -f conftest.
$ac_objext conftest
$ac_exeext
37958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37959 (eval $ac_link) 2>conftest.er1
37961 grep -v '^ *+' conftest.er1
>conftest.err
37963 cat conftest.err
>&5
37964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37965 (exit $ac_status); } &&
37966 { ac_try
='test -z "$ac_c_werror_flag"
37967 || test ! -s conftest.err'
37968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37969 (eval $ac_try) 2>&5
37971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37972 (exit $ac_status); }; } &&
37973 { ac_try
='test -s conftest$ac_exeext'
37974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37975 (eval $ac_try) 2>&5
37977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37978 (exit $ac_status); }; }; then
37979 ac_cv_func_pthread_cancel
=yes
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.
$ac_ext >&5
37984 ac_cv_func_pthread_cancel
=no
37986 rm -f conftest.err conftest.
$ac_objext \
37987 conftest
$ac_exeext conftest.
$ac_ext
37989 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37990 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37991 if test $ac_cv_func_pthread_cancel = yes; then
37992 cat >>confdefs.h
<<\_ACEOF
37993 #define HAVE_PTHREAD_CANCEL 1
37997 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37998 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38002 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38003 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38004 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38005 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 cat >conftest.
$ac_ext <<_ACEOF
38010 cat confdefs.h
>>conftest.
$ac_ext
38011 cat >>conftest.
$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38013 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38015 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38017 /* System header to define __stub macros and hopefully few prototypes,
38018 which can conflict with char pthread_attr_setstacksize (); below.
38019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38020 <limits.h> exists even on freestanding compilers. */
38023 # include <limits.h>
38025 # include <assert.h>
38028 #undef pthread_attr_setstacksize
38030 /* Override any gcc2 internal prototype to avoid an error. */
38035 /* We use char because int might match the return type of a gcc2
38036 builtin and then its argument prototype would still apply. */
38037 char pthread_attr_setstacksize ();
38038 /* The GNU C library defines this for functions which it implements
38039 to always fail with ENOSYS. Some functions are actually named
38040 something starting with __ and the normal name is an alias. */
38041 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38044 char (*f) () = pthread_attr_setstacksize;
38053 return f != pthread_attr_setstacksize;
38058 rm -f conftest.
$ac_objext conftest
$ac_exeext
38059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38060 (eval $ac_link) 2>conftest.er1
38062 grep -v '^ *+' conftest.er1
>conftest.err
38064 cat conftest.err
>&5
38065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38066 (exit $ac_status); } &&
38067 { ac_try
='test -z "$ac_c_werror_flag"
38068 || test ! -s conftest.err'
38069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070 (eval $ac_try) 2>&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); }; } &&
38074 { ac_try
='test -s conftest$ac_exeext'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; }; then
38080 ac_cv_func_pthread_attr_setstacksize
=yes
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.
$ac_ext >&5
38085 ac_cv_func_pthread_attr_setstacksize
=no
38087 rm -f conftest.err conftest.
$ac_objext \
38088 conftest
$ac_exeext conftest.
$ac_ext
38090 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38091 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38092 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38093 cat >>confdefs.h
<<\_ACEOF
38094 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38101 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38102 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38103 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38107 cat >conftest.
$ac_ext <<_ACEOF
38110 cat confdefs.h
>>conftest.
$ac_ext
38111 cat >>conftest.
$ac_ext <<_ACEOF
38112 /* end confdefs.h. */
38113 #include <pthread.h>
38118 pthread_mutexattr_t attr;
38119 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38125 rm -f conftest.
$ac_objext
38126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38127 (eval $ac_compile) 2>conftest.er1
38129 grep -v '^ *+' conftest.er1
>conftest.err
38131 cat conftest.err
>&5
38132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38133 (exit $ac_status); } &&
38134 { ac_try
='test -z "$ac_c_werror_flag"
38135 || test ! -s conftest.err'
38136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38137 (eval $ac_try) 2>&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); }; } &&
38141 { ac_try
='test -s conftest.$ac_objext'
38142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38143 (eval $ac_try) 2>&5
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); }; }; then
38147 wx_cv_type_pthread_mutexattr_t
=yes
38149 echo "$as_me: failed program was:" >&5
38150 sed 's/^/| /' conftest.
$ac_ext >&5
38152 wx_cv_type_pthread_mutexattr_t
=no
38155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38158 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38159 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38161 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38162 cat >>confdefs.h
<<\_ACEOF
38163 #define HAVE_PTHREAD_MUTEXATTR_T 1
38167 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38168 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38169 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38173 cat >conftest.
$ac_ext <<_ACEOF
38176 cat confdefs.h
>>conftest.
$ac_ext
38177 cat >>conftest.
$ac_ext <<_ACEOF
38178 /* end confdefs.h. */
38179 #include <pthread.h>
38184 pthread_mutexattr_t attr;
38185 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38191 rm -f conftest.
$ac_objext
38192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38193 (eval $ac_compile) 2>conftest.er1
38195 grep -v '^ *+' conftest.er1
>conftest.err
38197 cat conftest.err
>&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); } &&
38200 { ac_try
='test -z "$ac_c_werror_flag"
38201 || test ! -s conftest.err'
38202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38203 (eval $ac_try) 2>&5
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); }; } &&
38207 { ac_try
='test -s conftest.$ac_objext'
38208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38209 (eval $ac_try) 2>&5
38211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38212 (exit $ac_status); }; }; then
38213 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38215 echo "$as_me: failed program was:" >&5
38216 sed 's/^/| /' conftest.
$ac_ext >&5
38218 wx_cv_func_pthread_mutexattr_settype_decl
=no
38221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38224 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38225 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38226 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38227 cat >>confdefs.h
<<\_ACEOF
38228 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38233 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38234 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38235 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38236 echo $ECHO_N "(cached) $ECHO_C" >&6
38239 cat >conftest.
$ac_ext <<_ACEOF
38242 cat confdefs.h
>>conftest.
$ac_ext
38243 cat >>conftest.
$ac_ext <<_ACEOF
38244 /* end confdefs.h. */
38245 #include <pthread.h>
38250 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38256 rm -f conftest.
$ac_objext
38257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38258 (eval $ac_compile) 2>conftest.er1
38260 grep -v '^ *+' conftest.er1
>conftest.err
38262 cat conftest.err
>&5
38263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38264 (exit $ac_status); } &&
38265 { ac_try
='test -z "$ac_c_werror_flag"
38266 || test ! -s conftest.err'
38267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38268 (eval $ac_try) 2>&5
38270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38271 (exit $ac_status); }; } &&
38272 { ac_try
='test -s conftest.$ac_objext'
38273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38274 (eval $ac_try) 2>&5
38276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38277 (exit $ac_status); }; }; then
38279 wx_cv_type_pthread_rec_mutex_init
=yes
38282 echo "$as_me: failed program was:" >&5
38283 sed 's/^/| /' conftest.
$ac_ext >&5
38286 wx_cv_type_pthread_rec_mutex_init
=no
38290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38293 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38294 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38295 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38296 cat >>confdefs.h
<<\_ACEOF
38297 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38301 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38302 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38308 if test "$wxUSE_THREADS" = "yes" ; then
38311 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38312 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38313 if test "${wx_cv_cflags_mthread+set}" = set; then
38314 echo $ECHO_N "(cached) $ECHO_C" >&6
38317 CFLAGS_OLD
="$CFLAGS"
38318 CFLAGS
="-mthreads $CFLAGS"
38319 cat >conftest.
$ac_ext <<_ACEOF
38322 cat confdefs.h
>>conftest.
$ac_ext
38323 cat >>conftest.
$ac_ext <<_ACEOF
38324 /* end confdefs.h. */
38334 rm -f conftest.
$ac_objext
38335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38336 (eval $ac_compile) 2>conftest.er1
38338 grep -v '^ *+' conftest.er1
>conftest.err
38340 cat conftest.err
>&5
38341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38342 (exit $ac_status); } &&
38343 { ac_try
='test -z "$ac_c_werror_flag"
38344 || test ! -s conftest.err'
38345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38346 (eval $ac_try) 2>&5
38348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38349 (exit $ac_status); }; } &&
38350 { ac_try
='test -s conftest.$ac_objext'
38351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38352 (eval $ac_try) 2>&5
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); }; }; then
38356 wx_cv_cflags_mthread
=yes
38358 echo "$as_me: failed program was:" >&5
38359 sed 's/^/| /' conftest.
$ac_ext >&5
38361 wx_cv_cflags_mthread
=no
38364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38368 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38369 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38371 if test "$wx_cv_cflags_mthread" = "yes"; then
38372 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38373 LDFLAGS
="$LDFLAGS -mthreads"
38375 CFLAGS
="$CFLAGS_OLD"
38379 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38380 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38381 LDFLAGS
="$LDFLAGS -Zmt"
38387 echo "$as_me:$LINENO: checking for localtime_r" >&5
38388 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38389 if test "${ac_cv_func_localtime_r+set}" = set; then
38390 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 cat >conftest.
$ac_ext <<_ACEOF
38395 cat confdefs.h
>>conftest.
$ac_ext
38396 cat >>conftest.
$ac_ext <<_ACEOF
38397 /* end confdefs.h. */
38398 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38400 #define localtime_r innocuous_localtime_r
38402 /* System header to define __stub macros and hopefully few prototypes,
38403 which can conflict with char localtime_r (); below.
38404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38405 <limits.h> exists even on freestanding compilers. */
38408 # include <limits.h>
38410 # include <assert.h>
38415 /* Override any gcc2 internal prototype to avoid an error. */
38420 /* We use char because int might match the return type of a gcc2
38421 builtin and then its argument prototype would still apply. */
38422 char localtime_r ();
38423 /* The GNU C library defines this for functions which it implements
38424 to always fail with ENOSYS. Some functions are actually named
38425 something starting with __ and the normal name is an alias. */
38426 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38429 char (*f) () = localtime_r;
38438 return f != localtime_r;
38443 rm -f conftest.
$ac_objext conftest
$ac_exeext
38444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38445 (eval $ac_link) 2>conftest.er1
38447 grep -v '^ *+' conftest.er1
>conftest.err
38449 cat conftest.err
>&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); } &&
38452 { ac_try
='test -z "$ac_c_werror_flag"
38453 || test ! -s conftest.err'
38454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38455 (eval $ac_try) 2>&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); }; } &&
38459 { ac_try
='test -s conftest$ac_exeext'
38460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38461 (eval $ac_try) 2>&5
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); }; }; then
38465 ac_cv_func_localtime_r
=yes
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.
$ac_ext >&5
38470 ac_cv_func_localtime_r
=no
38472 rm -f conftest.err conftest.
$ac_objext \
38473 conftest
$ac_exeext conftest.
$ac_ext
38475 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38476 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38477 if test $ac_cv_func_localtime_r = yes; then
38478 cat >>confdefs.h
<<\_ACEOF
38479 #define HAVE_LOCALTIME_R 1
38484 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38485 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38486 if test "${ac_cv_func_gmtime_r+set}" = set; then
38487 echo $ECHO_N "(cached) $ECHO_C" >&6
38489 cat >conftest.
$ac_ext <<_ACEOF
38492 cat confdefs.h
>>conftest.
$ac_ext
38493 cat >>conftest.
$ac_ext <<_ACEOF
38494 /* end confdefs.h. */
38495 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38497 #define gmtime_r innocuous_gmtime_r
38499 /* System header to define __stub macros and hopefully few prototypes,
38500 which can conflict with char gmtime_r (); below.
38501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38502 <limits.h> exists even on freestanding compilers. */
38505 # include <limits.h>
38507 # include <assert.h>
38512 /* Override any gcc2 internal prototype to avoid an error. */
38517 /* We use char because int might match the return type of a gcc2
38518 builtin and then its argument prototype would still apply. */
38520 /* The GNU C library defines this for functions which it implements
38521 to always fail with ENOSYS. Some functions are actually named
38522 something starting with __ and the normal name is an alias. */
38523 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38526 char (*f) () = gmtime_r;
38535 return f != gmtime_r;
38540 rm -f conftest.
$ac_objext conftest
$ac_exeext
38541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38542 (eval $ac_link) 2>conftest.er1
38544 grep -v '^ *+' conftest.er1
>conftest.err
38546 cat conftest.err
>&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } &&
38549 { ac_try
='test -z "$ac_c_werror_flag"
38550 || test ! -s conftest.err'
38551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38552 (eval $ac_try) 2>&5
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; } &&
38556 { ac_try
='test -s conftest$ac_exeext'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; }; then
38562 ac_cv_func_gmtime_r
=yes
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.
$ac_ext >&5
38567 ac_cv_func_gmtime_r
=no
38569 rm -f conftest.err conftest.
$ac_objext \
38570 conftest
$ac_exeext conftest.
$ac_ext
38572 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38573 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38574 if test $ac_cv_func_gmtime_r = yes; then
38575 cat >>confdefs.h
<<\_ACEOF
38576 #define HAVE_GMTIME_R 1
38581 echo "$as_me:$LINENO: checking for readdir_r" >&5
38582 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38583 if test "${ac_cv_func_readdir_r+set}" = set; then
38584 echo $ECHO_N "(cached) $ECHO_C" >&6
38586 cat >conftest.
$ac_ext <<_ACEOF
38589 cat confdefs.h
>>conftest.
$ac_ext
38590 cat >>conftest.
$ac_ext <<_ACEOF
38591 /* end confdefs.h. */
38592 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38594 #define readdir_r innocuous_readdir_r
38596 /* System header to define __stub macros and hopefully few prototypes,
38597 which can conflict with char readdir_r (); below.
38598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38599 <limits.h> exists even on freestanding compilers. */
38602 # include <limits.h>
38604 # include <assert.h>
38609 /* Override any gcc2 internal prototype to avoid an error. */
38614 /* We use char because int might match the return type of a gcc2
38615 builtin and then its argument prototype would still apply. */
38617 /* The GNU C library defines this for functions which it implements
38618 to always fail with ENOSYS. Some functions are actually named
38619 something starting with __ and the normal name is an alias. */
38620 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38623 char (*f) () = readdir_r;
38632 return f != readdir_r;
38637 rm -f conftest.
$ac_objext conftest
$ac_exeext
38638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38639 (eval $ac_link) 2>conftest.er1
38641 grep -v '^ *+' conftest.er1
>conftest.err
38643 cat conftest.err
>&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); } &&
38646 { ac_try
='test -z "$ac_c_werror_flag"
38647 || test ! -s conftest.err'
38648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38649 (eval $ac_try) 2>&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); }; } &&
38653 { ac_try
='test -s conftest$ac_exeext'
38654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38655 (eval $ac_try) 2>&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); }; }; then
38659 ac_cv_func_readdir_r
=yes
38661 echo "$as_me: failed program was:" >&5
38662 sed 's/^/| /' conftest.
$ac_ext >&5
38664 ac_cv_func_readdir_r
=no
38666 rm -f conftest.err conftest.
$ac_objext \
38667 conftest
$ac_exeext conftest.
$ac_ext
38669 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38670 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38671 if test $ac_cv_func_readdir_r = yes; then
38672 cat >>confdefs.h
<<\_ACEOF
38673 #define HAVE_READDIR_R 1
38682 ac_cpp
='$CPP $CPPFLAGS'
38683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38687 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38688 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38690 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38691 echo $ECHO_N "(cached) $ECHO_C" >&6
38695 ################################################################
38697 ac_cv_func_which_gethostbyname_r
=unknown
38700 # ONE ARGUMENT (sanity check)
38703 # This should fail, as there is no variant of gethostbyname_r() that takes
38704 # a single argument. If it actually compiles, then we can assume that
38705 # netdb.h is not declaring the function, and the compiler is thereby
38706 # assuming an implicit prototype. In which case, we're out of luck.
38708 cat >conftest.
$ac_ext <<_ACEOF
38711 cat confdefs.h
>>conftest.
$ac_ext
38712 cat >>conftest.
$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38719 char *name = "www.gnu.org";
38720 (void)gethostbyname_r(name) /* ; */
38726 rm -f conftest.
$ac_objext
38727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38728 (eval $ac_compile) 2>conftest.er1
38730 grep -v '^ *+' conftest.er1
>conftest.err
38732 cat conftest.err
>&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } &&
38735 { ac_try
='test -z "$ac_c_werror_flag"
38736 || test ! -s conftest.err'
38737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38738 (eval $ac_try) 2>&5
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); }; } &&
38742 { ac_try
='test -s conftest.$ac_objext'
38743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38744 (eval $ac_try) 2>&5
38746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38747 (exit $ac_status); }; }; then
38748 ac_cv_func_which_gethostbyname_r
=no
38750 echo "$as_me: failed program was:" >&5
38751 sed 's/^/| /' conftest.
$ac_ext >&5
38754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38761 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38763 cat >conftest.
$ac_ext <<_ACEOF
38766 cat confdefs.h
>>conftest.
$ac_ext
38767 cat >>conftest.
$ac_ext <<_ACEOF
38768 /* end confdefs.h. */
38774 char *name = "www.gnu.org";
38775 struct hostent ret, *retp;
38779 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38785 rm -f conftest.
$ac_objext
38786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38787 (eval $ac_compile) 2>conftest.er1
38789 grep -v '^ *+' conftest.er1
>conftest.err
38791 cat conftest.err
>&5
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); } &&
38794 { ac_try
='test -z "$ac_c_werror_flag"
38795 || test ! -s conftest.err'
38796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38797 (eval $ac_try) 2>&5
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); }; } &&
38801 { ac_try
='test -s conftest.$ac_objext'
38802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38803 (eval $ac_try) 2>&5
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); }; }; then
38807 ac_cv_func_which_gethostbyname_r
=six
38809 echo "$as_me: failed program was:" >&5
38810 sed 's/^/| /' conftest.
$ac_ext >&5
38813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38822 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38824 cat >conftest.
$ac_ext <<_ACEOF
38827 cat confdefs.h
>>conftest.
$ac_ext
38828 cat >>conftest.
$ac_ext <<_ACEOF
38829 /* end confdefs.h. */
38835 char *name = "www.gnu.org";
38836 struct hostent ret;
38840 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38846 rm -f conftest.
$ac_objext
38847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38848 (eval $ac_compile) 2>conftest.er1
38850 grep -v '^ *+' conftest.er1
>conftest.err
38852 cat conftest.err
>&5
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); } &&
38855 { ac_try
='test -z "$ac_c_werror_flag"
38856 || test ! -s conftest.err'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; } &&
38862 { ac_try
='test -s conftest.$ac_objext'
38863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38864 (eval $ac_try) 2>&5
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); }; }; then
38868 ac_cv_func_which_gethostbyname_r
=five
38870 echo "$as_me: failed program was:" >&5
38871 sed 's/^/| /' conftest.
$ac_ext >&5
38874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38880 # (e.g. AIX, HP-UX, Tru64)
38883 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38885 cat >conftest.
$ac_ext <<_ACEOF
38888 cat confdefs.h
>>conftest.
$ac_ext
38889 cat >>conftest.
$ac_ext <<_ACEOF
38890 /* end confdefs.h. */
38896 char *name = "www.gnu.org";
38897 struct hostent ret;
38898 struct hostent_data data;
38899 (void)gethostbyname_r(name, &ret, &data) /* ; */
38905 rm -f conftest.
$ac_objext
38906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38907 (eval $ac_compile) 2>conftest.er1
38909 grep -v '^ *+' conftest.er1
>conftest.err
38911 cat conftest.err
>&5
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); } &&
38914 { ac_try
='test -z "$ac_c_werror_flag"
38915 || test ! -s conftest.err'
38916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917 (eval $ac_try) 2>&5
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); }; } &&
38921 { ac_try
='test -s conftest.$ac_objext'
38922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38923 (eval $ac_try) 2>&5
38925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926 (exit $ac_status); }; }; then
38927 ac_cv_func_which_gethostbyname_r
=three
38929 echo "$as_me: failed program was:" >&5
38930 sed 's/^/| /' conftest.
$ac_ext >&5
38933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38937 ################################################################
38942 case "$ac_cv_func_which_gethostbyname_r" in
38944 echo "$as_me:$LINENO: result: three" >&5
38945 echo "${ECHO_T}three" >&6
38946 cat >>confdefs.h
<<\_ACEOF
38947 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
38953 echo "$as_me:$LINENO: result: five" >&5
38954 echo "${ECHO_T}five" >&6
38955 cat >>confdefs.h
<<\_ACEOF
38956 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
38962 echo "$as_me:$LINENO: result: six" >&5
38963 echo "${ECHO_T}six" >&6
38964 cat >>confdefs.h
<<\_ACEOF
38965 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
38971 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
38972 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
38976 echo "$as_me:$LINENO: result: can't tell" >&5
38977 echo "${ECHO_T}can't tell" >&6
38981 { { echo "$as_me:$LINENO: error: internal error" >&5
38982 echo "$as_me: error: internal error" >&2;}
38983 { (exit 1); exit 1; }; }
38988 ac_cpp
='$CPP $CPPFLAGS'
38989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38995 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
38996 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
38997 echo "$as_me:$LINENO: checking for gethostbyname" >&5
38998 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
38999 if test "${ac_cv_func_gethostbyname+set}" = set; then
39000 echo $ECHO_N "(cached) $ECHO_C" >&6
39002 cat >conftest.
$ac_ext <<_ACEOF
39005 cat confdefs.h
>>conftest.
$ac_ext
39006 cat >>conftest.
$ac_ext <<_ACEOF
39007 /* end confdefs.h. */
39008 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39010 #define gethostbyname innocuous_gethostbyname
39012 /* System header to define __stub macros and hopefully few prototypes,
39013 which can conflict with char gethostbyname (); below.
39014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39015 <limits.h> exists even on freestanding compilers. */
39018 # include <limits.h>
39020 # include <assert.h>
39023 #undef gethostbyname
39025 /* Override any gcc2 internal prototype to avoid an error. */
39030 /* We use char because int might match the return type of a gcc2
39031 builtin and then its argument prototype would still apply. */
39032 char gethostbyname ();
39033 /* The GNU C library defines this for functions which it implements
39034 to always fail with ENOSYS. Some functions are actually named
39035 something starting with __ and the normal name is an alias. */
39036 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39039 char (*f) () = gethostbyname;
39048 return f != gethostbyname;
39053 rm -f conftest.
$ac_objext conftest
$ac_exeext
39054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39055 (eval $ac_link) 2>conftest.er1
39057 grep -v '^ *+' conftest.er1
>conftest.err
39059 cat conftest.err
>&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); } &&
39062 { ac_try
='test -z "$ac_c_werror_flag"
39063 || test ! -s conftest.err'
39064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39065 (eval $ac_try) 2>&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); }; } &&
39069 { ac_try
='test -s conftest$ac_exeext'
39070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39071 (eval $ac_try) 2>&5
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); }; }; then
39075 ac_cv_func_gethostbyname
=yes
39077 echo "$as_me: failed program was:" >&5
39078 sed 's/^/| /' conftest.
$ac_ext >&5
39080 ac_cv_func_gethostbyname
=no
39082 rm -f conftest.err conftest.
$ac_objext \
39083 conftest
$ac_exeext conftest.
$ac_ext
39085 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39086 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39087 if test $ac_cv_func_gethostbyname = yes; then
39088 cat >>confdefs.h
<<\_ACEOF
39089 #define HAVE_GETHOSTBYNAME 1
39095 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39096 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39097 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39098 echo $ECHO_N "(cached) $ECHO_C" >&6
39100 cat >conftest.
$ac_ext <<_ACEOF
39103 cat confdefs.h
>>conftest.
$ac_ext
39104 cat >>conftest.
$ac_ext <<_ACEOF
39105 /* end confdefs.h. */
39106 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39108 #define getservbyname_r innocuous_getservbyname_r
39110 /* System header to define __stub macros and hopefully few prototypes,
39111 which can conflict with char getservbyname_r (); below.
39112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39113 <limits.h> exists even on freestanding compilers. */
39116 # include <limits.h>
39118 # include <assert.h>
39121 #undef getservbyname_r
39123 /* Override any gcc2 internal prototype to avoid an error. */
39128 /* We use char because int might match the return type of a gcc2
39129 builtin and then its argument prototype would still apply. */
39130 char getservbyname_r ();
39131 /* The GNU C library defines this for functions which it implements
39132 to always fail with ENOSYS. Some functions are actually named
39133 something starting with __ and the normal name is an alias. */
39134 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39137 char (*f) () = getservbyname_r;
39146 return f != getservbyname_r;
39151 rm -f conftest.
$ac_objext conftest
$ac_exeext
39152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39153 (eval $ac_link) 2>conftest.er1
39155 grep -v '^ *+' conftest.er1
>conftest.err
39157 cat conftest.err
>&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); } &&
39160 { ac_try
='test -z "$ac_c_werror_flag"
39161 || test ! -s conftest.err'
39162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39163 (eval $ac_try) 2>&5
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); }; } &&
39167 { ac_try
='test -s conftest$ac_exeext'
39168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39169 (eval $ac_try) 2>&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); }; }; then
39173 ac_cv_func_getservbyname_r
=yes
39175 echo "$as_me: failed program was:" >&5
39176 sed 's/^/| /' conftest.
$ac_ext >&5
39178 ac_cv_func_getservbyname_r
=no
39180 rm -f conftest.err conftest.
$ac_objext \
39181 conftest
$ac_exeext conftest.
$ac_ext
39183 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39184 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39185 if test $ac_cv_func_getservbyname_r = yes; then
39186 cat >conftest.
$ac_ext <<_ACEOF
39189 cat confdefs.h
>>conftest.
$ac_ext
39190 cat >>conftest.
$ac_ext <<_ACEOF
39191 /* end confdefs.h. */
39199 struct servent *se;
39200 struct servent_data data;
39201 (void) getservbyname_r(name, proto, se, &data);
39207 rm -f conftest.
$ac_objext
39208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39209 (eval $ac_compile) 2>conftest.er1
39211 grep -v '^ *+' conftest.er1
>conftest.err
39213 cat conftest.err
>&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); } &&
39216 { ac_try
='test -z "$ac_c_werror_flag"
39217 || test ! -s conftest.err'
39218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39219 (eval $ac_try) 2>&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); }; } &&
39223 { ac_try
='test -s conftest.$ac_objext'
39224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39225 (eval $ac_try) 2>&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); }; }; then
39229 ac_cv_func_which_getservbyname_r
=four
39231 echo "$as_me: failed program was:" >&5
39232 sed 's/^/| /' conftest.
$ac_ext >&5
39234 cat >conftest.
$ac_ext <<_ACEOF
39237 cat confdefs.h
>>conftest.
$ac_ext
39238 cat >>conftest.
$ac_ext <<_ACEOF
39239 /* end confdefs.h. */
39247 struct servent *se, *res;
39250 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39256 rm -f conftest.
$ac_objext
39257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39258 (eval $ac_compile) 2>conftest.er1
39260 grep -v '^ *+' conftest.er1
>conftest.err
39262 cat conftest.err
>&5
39263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39264 (exit $ac_status); } &&
39265 { ac_try
='test -z "$ac_c_werror_flag"
39266 || test ! -s conftest.err'
39267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39268 (eval $ac_try) 2>&5
39270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271 (exit $ac_status); }; } &&
39272 { ac_try
='test -s conftest.$ac_objext'
39273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39274 (eval $ac_try) 2>&5
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); }; }; then
39278 ac_cv_func_which_getservbyname_r
=six
39280 echo "$as_me: failed program was:" >&5
39281 sed 's/^/| /' conftest.
$ac_ext >&5
39283 cat >conftest.
$ac_ext <<_ACEOF
39286 cat confdefs.h
>>conftest.
$ac_ext
39287 cat >>conftest.
$ac_ext <<_ACEOF
39288 /* end confdefs.h. */
39296 struct servent *se;
39299 (void) getservbyname_r(name, proto, se, buffer, buflen)
39305 rm -f conftest.
$ac_objext
39306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39307 (eval $ac_compile) 2>conftest.er1
39309 grep -v '^ *+' conftest.er1
>conftest.err
39311 cat conftest.err
>&5
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); } &&
39314 { ac_try
='test -z "$ac_c_werror_flag"
39315 || test ! -s conftest.err'
39316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39317 (eval $ac_try) 2>&5
39319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39320 (exit $ac_status); }; } &&
39321 { ac_try
='test -s conftest.$ac_objext'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; }; then
39327 ac_cv_func_which_getservbyname_r
=five
39329 echo "$as_me: failed program was:" >&5
39330 sed 's/^/| /' conftest.
$ac_ext >&5
39332 ac_cv_func_which_getservbyname_r
=no
39335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39343 ac_cv_func_which_getservbyname_r
=no
39347 if test $ac_cv_func_which_getservbyname_r = six
; then
39348 cat >>confdefs.h
<<\_ACEOF
39349 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39352 elif test $ac_cv_func_which_getservbyname_r = five
; then
39353 cat >>confdefs.h
<<\_ACEOF
39354 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39357 elif test $ac_cv_func_which_getservbyname_r = four
; then
39358 cat >>confdefs.h
<<\_ACEOF
39359 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39365 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39366 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39368 for ac_func
in getservbyname
39370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39371 echo "$as_me:$LINENO: checking for $ac_func" >&5
39372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39373 if eval "test \"\${$as_ac_var+set}\" = set"; then
39374 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 cat >conftest.
$ac_ext <<_ACEOF
39379 cat confdefs.h
>>conftest.
$ac_ext
39380 cat >>conftest.
$ac_ext <<_ACEOF
39381 /* end confdefs.h. */
39382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39384 #define $ac_func innocuous_$ac_func
39386 /* System header to define __stub macros and hopefully few prototypes,
39387 which can conflict with char $ac_func (); below.
39388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39389 <limits.h> exists even on freestanding compilers. */
39392 # include <limits.h>
39394 # include <assert.h>
39399 /* Override any gcc2 internal prototype to avoid an error. */
39404 /* We use char because int might match the return type of a gcc2
39405 builtin and then its argument prototype would still apply. */
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39413 char (*f) () = $ac_func;
39422 return f != $ac_func;
39427 rm -f conftest.
$ac_objext conftest
$ac_exeext
39428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39429 (eval $ac_link) 2>conftest.er1
39431 grep -v '^ *+' conftest.er1
>conftest.err
39433 cat conftest.err
>&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } &&
39436 { ac_try
='test -z "$ac_c_werror_flag"
39437 || test ! -s conftest.err'
39438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39439 (eval $ac_try) 2>&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); }; } &&
39443 { ac_try
='test -s conftest$ac_exeext'
39444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39445 (eval $ac_try) 2>&5
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); }; }; then
39449 eval "$as_ac_var=yes"
39451 echo "$as_me: failed program was:" >&5
39452 sed 's/^/| /' conftest.
$ac_ext >&5
39454 eval "$as_ac_var=no"
39456 rm -f conftest.err conftest.
$ac_objext \
39457 conftest
$ac_exeext conftest.
$ac_ext
39459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39461 if test `eval echo '${'$as_ac_var'}'` = yes; then
39462 cat >>confdefs.h
<<_ACEOF
39463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39465 cat >>confdefs.h
<<\_ACEOF
39466 #define HAVE_GETSERVBYNAME 1
39474 if test "$wxUSE_THREADS" = "yes"; then
39475 cat >>confdefs.h
<<\_ACEOF
39476 #define wxUSE_THREADS 1
39480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39482 if test "$ac_cv_func_strtok_r" = "yes"; then
39483 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39484 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39485 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39486 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39487 echo "$as_me:$LINENO: result: yes" >&5
39488 echo "${ECHO_T}yes" >&6
39490 echo "$as_me:$LINENO: result: no" >&5
39491 echo "${ECHO_T}no" >&6
39496 if test "$WXGTK20" = 1 ; then
39497 cat >>confdefs.h
<<_ACEOF
39498 #define __WXGTK20__ $WXGTK20
39504 if test "$WXGTK12" = 1 ; then
39505 cat >>confdefs.h
<<_ACEOF
39506 #define __WXGTK12__ $WXGTK12
39511 if test "$WXGTK127" = 1 ; then
39512 cat >>confdefs.h
<<_ACEOF
39513 #define __WXGTK127__ $WXGTK127
39518 if test "$WXGPE" = 1 ; then
39519 cat >>confdefs.h
<<_ACEOF
39520 #define __WXGPE__ $WXGPE
39526 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39531 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39532 wxUSE_DEBUG_INFO
=yes
39533 if test "$GCC" = yes; then
39534 DEBUG_CFLAGS
="-ggdb"
39538 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39539 cat >>confdefs.h
<<\_ACEOF
39543 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39545 if test "$wxUSE_GTK" = 1 ; then
39546 if test "x$wxGTK_VERSION" = "x1" ; then
39547 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39552 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39553 cat >>confdefs.h
<<\_ACEOF
39554 #define wxUSE_MEMORY_TRACING 1
39557 cat >>confdefs.h
<<\_ACEOF
39558 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39561 cat >>confdefs.h
<<\_ACEOF
39562 #define wxUSE_DEBUG_NEW_ALWAYS 1
39565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39568 if test "$wxUSE_DMALLOC" = "yes" ; then
39569 DMALLOC_LIBS
="-ldmallocthcxx"
39573 if test "$wxUSE_PROFILE" = "yes" ; then
39574 PROFILE_FLAGS
=" -pg"
39577 if test "$GCC" = "yes" ; then
39578 if test "$wxUSE_NO_RTTI" = "yes" ; then
39579 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39581 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39582 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39584 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39585 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39590 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39593 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39599 if test "$wxUSE_OPTIMISE" = "no" ; then
39600 if test "$GCC" = yes ; then
39601 OPTIMISE_CFLAGS
="-O0"
39604 if test "$GCC" = yes ; then
39605 OPTIMISE_CFLAGS
="-O2"
39607 OPTIMISE_CFLAGS
="-O"
39612 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39613 cat >>confdefs.h
<<\_ACEOF
39614 #define WXWIN_COMPATIBILITY_2_4 1
39618 WXWIN_COMPATIBILITY_2_6
="yes"
39621 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39622 cat >>confdefs.h
<<\_ACEOF
39623 #define WXWIN_COMPATIBILITY_2_6 1
39629 if test "$wxUSE_GUI" = "yes"; then
39630 cat >>confdefs.h
<<\_ACEOF
39631 #define wxUSE_GUI 1
39638 if test "$wxUSE_UNIX" = "yes"; then
39639 cat >>confdefs.h
<<\_ACEOF
39640 #define wxUSE_UNIX 1
39646 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39650 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39651 if test "$USE_DARWIN" = 1; then
39653 elif test "$USE_DOS" = 1; then
39657 for ac_func
in dlopen
39659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39660 echo "$as_me:$LINENO: checking for $ac_func" >&5
39661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39662 if eval "test \"\${$as_ac_var+set}\" = set"; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 cat >conftest.
$ac_ext <<_ACEOF
39668 cat confdefs.h
>>conftest.
$ac_ext
39669 cat >>conftest.
$ac_ext <<_ACEOF
39670 /* end confdefs.h. */
39671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39673 #define $ac_func innocuous_$ac_func
39675 /* System header to define __stub macros and hopefully few prototypes,
39676 which can conflict with char $ac_func (); below.
39677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39678 <limits.h> exists even on freestanding compilers. */
39681 # include <limits.h>
39683 # include <assert.h>
39688 /* Override any gcc2 internal prototype to avoid an error. */
39693 /* We use char because int might match the return type of a gcc2
39694 builtin and then its argument prototype would still apply. */
39696 /* The GNU C library defines this for functions which it implements
39697 to always fail with ENOSYS. Some functions are actually named
39698 something starting with __ and the normal name is an alias. */
39699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39702 char (*f) () = $ac_func;
39711 return f != $ac_func;
39716 rm -f conftest.
$ac_objext conftest
$ac_exeext
39717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39718 (eval $ac_link) 2>conftest.er1
39720 grep -v '^ *+' conftest.er1
>conftest.err
39722 cat conftest.err
>&5
39723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39724 (exit $ac_status); } &&
39725 { ac_try
='test -z "$ac_c_werror_flag"
39726 || test ! -s conftest.err'
39727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39728 (eval $ac_try) 2>&5
39730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731 (exit $ac_status); }; } &&
39732 { ac_try
='test -s conftest$ac_exeext'
39733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39734 (eval $ac_try) 2>&5
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); }; }; then
39738 eval "$as_ac_var=yes"
39740 echo "$as_me: failed program was:" >&5
39741 sed 's/^/| /' conftest.
$ac_ext >&5
39743 eval "$as_ac_var=no"
39745 rm -f conftest.err conftest.
$ac_objext \
39746 conftest
$ac_exeext conftest.
$ac_ext
39748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39750 if test `eval echo '${'$as_ac_var'}'` = yes; then
39751 cat >>confdefs.h
<<_ACEOF
39752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39755 cat >>confdefs.h
<<\_ACEOF
39756 #define HAVE_DLOPEN 1
39763 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39764 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39765 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39766 echo $ECHO_N "(cached) $ECHO_C" >&6
39768 ac_check_lib_save_LIBS
=$LIBS
39770 cat >conftest.
$ac_ext <<_ACEOF
39773 cat confdefs.h
>>conftest.
$ac_ext
39774 cat >>conftest.
$ac_ext <<_ACEOF
39775 /* end confdefs.h. */
39777 /* Override any gcc2 internal prototype to avoid an error. */
39781 /* We use char because int might match the return type of a gcc2
39782 builtin and then its argument prototype would still apply. */
39792 rm -f conftest.
$ac_objext conftest
$ac_exeext
39793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39794 (eval $ac_link) 2>conftest.er1
39796 grep -v '^ *+' conftest.er1
>conftest.err
39798 cat conftest.err
>&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } &&
39801 { ac_try
='test -z "$ac_c_werror_flag"
39802 || test ! -s conftest.err'
39803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39804 (eval $ac_try) 2>&5
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); }; } &&
39808 { ac_try
='test -s conftest$ac_exeext'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; }; then
39814 ac_cv_lib_dl_dlopen
=yes
39816 echo "$as_me: failed program was:" >&5
39817 sed 's/^/| /' conftest.
$ac_ext >&5
39819 ac_cv_lib_dl_dlopen
=no
39821 rm -f conftest.err conftest.
$ac_objext \
39822 conftest
$ac_exeext conftest.
$ac_ext
39823 LIBS
=$ac_check_lib_save_LIBS
39825 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39826 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39827 if test $ac_cv_lib_dl_dlopen = yes; then
39829 cat >>confdefs.h
<<\_ACEOF
39830 #define HAVE_DLOPEN 1
39834 DL_LINK
=" -ldl$DL_LINK"
39839 for ac_func
in shl_load
39841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39842 echo "$as_me:$LINENO: checking for $ac_func" >&5
39843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39844 if eval "test \"\${$as_ac_var+set}\" = set"; then
39845 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 cat >conftest.
$ac_ext <<_ACEOF
39850 cat confdefs.h
>>conftest.
$ac_ext
39851 cat >>conftest.
$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39855 #define $ac_func innocuous_$ac_func
39857 /* System header to define __stub macros and hopefully few prototypes,
39858 which can conflict with char $ac_func (); below.
39859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39860 <limits.h> exists even on freestanding compilers. */
39863 # include <limits.h>
39865 # include <assert.h>
39870 /* Override any gcc2 internal prototype to avoid an error. */
39875 /* We use char because int might match the return type of a gcc2
39876 builtin and then its argument prototype would still apply. */
39878 /* The GNU C library defines this for functions which it implements
39879 to always fail with ENOSYS. Some functions are actually named
39880 something starting with __ and the normal name is an alias. */
39881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39884 char (*f) () = $ac_func;
39893 return f != $ac_func;
39898 rm -f conftest.
$ac_objext conftest
$ac_exeext
39899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39900 (eval $ac_link) 2>conftest.er1
39902 grep -v '^ *+' conftest.er1
>conftest.err
39904 cat conftest.err
>&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } &&
39907 { ac_try
='test -z "$ac_c_werror_flag"
39908 || test ! -s conftest.err'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; } &&
39914 { ac_try
='test -s conftest$ac_exeext'
39915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39916 (eval $ac_try) 2>&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); }; }; then
39920 eval "$as_ac_var=yes"
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.
$ac_ext >&5
39925 eval "$as_ac_var=no"
39927 rm -f conftest.err conftest.
$ac_objext \
39928 conftest
$ac_exeext conftest.
$ac_ext
39930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39932 if test `eval echo '${'$as_ac_var'}'` = yes; then
39933 cat >>confdefs.h
<<_ACEOF
39934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39937 cat >>confdefs.h
<<\_ACEOF
39938 #define HAVE_SHL_LOAD 1
39945 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
39946 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
39947 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39950 ac_check_lib_save_LIBS
=$LIBS
39951 LIBS
="-lshl_load $LIBS"
39952 cat >conftest.
$ac_ext <<_ACEOF
39955 cat confdefs.h
>>conftest.
$ac_ext
39956 cat >>conftest.
$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39959 /* Override any gcc2 internal prototype to avoid an error. */
39963 /* We use char because int might match the return type of a gcc2
39964 builtin and then its argument prototype would still apply. */
39974 rm -f conftest.
$ac_objext conftest
$ac_exeext
39975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39976 (eval $ac_link) 2>conftest.er1
39978 grep -v '^ *+' conftest.er1
>conftest.err
39980 cat conftest.err
>&5
39981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39982 (exit $ac_status); } &&
39983 { ac_try
='test -z "$ac_c_werror_flag"
39984 || test ! -s conftest.err'
39985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39986 (eval $ac_try) 2>&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); }; } &&
39990 { ac_try
='test -s conftest$ac_exeext'
39991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39992 (eval $ac_try) 2>&5
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); }; }; then
39996 ac_cv_lib_shl_load_dld
=yes
39998 echo "$as_me: failed program was:" >&5
39999 sed 's/^/| /' conftest.
$ac_ext >&5
40001 ac_cv_lib_shl_load_dld
=no
40003 rm -f conftest.err conftest.
$ac_objext \
40004 conftest
$ac_exeext conftest.
$ac_ext
40005 LIBS
=$ac_check_lib_save_LIBS
40007 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40008 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40009 if test $ac_cv_lib_shl_load_dld = yes; then
40012 DL_LINK
=" -ldld$DL_LINK"
40028 if test "$HAVE_DL_FUNCS" = 1; then
40030 for ac_func
in dlerror
40032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40033 echo "$as_me:$LINENO: checking for $ac_func" >&5
40034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40035 if eval "test \"\${$as_ac_var+set}\" = set"; then
40036 echo $ECHO_N "(cached) $ECHO_C" >&6
40038 cat >conftest.
$ac_ext <<_ACEOF
40041 cat confdefs.h
>>conftest.
$ac_ext
40042 cat >>conftest.
$ac_ext <<_ACEOF
40043 /* end confdefs.h. */
40044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40046 #define $ac_func innocuous_$ac_func
40048 /* System header to define __stub macros and hopefully few prototypes,
40049 which can conflict with char $ac_func (); below.
40050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40051 <limits.h> exists even on freestanding compilers. */
40054 # include <limits.h>
40056 # include <assert.h>
40061 /* Override any gcc2 internal prototype to avoid an error. */
40066 /* We use char because int might match the return type of a gcc2
40067 builtin and then its argument prototype would still apply. */
40069 /* The GNU C library defines this for functions which it implements
40070 to always fail with ENOSYS. Some functions are actually named
40071 something starting with __ and the normal name is an alias. */
40072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40075 char (*f) () = $ac_func;
40084 return f != $ac_func;
40089 rm -f conftest.
$ac_objext conftest
$ac_exeext
40090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40091 (eval $ac_link) 2>conftest.er1
40093 grep -v '^ *+' conftest.er1
>conftest.err
40095 cat conftest.err
>&5
40096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40097 (exit $ac_status); } &&
40098 { ac_try
='test -z "$ac_c_werror_flag"
40099 || test ! -s conftest.err'
40100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40101 (eval $ac_try) 2>&5
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); }; } &&
40105 { ac_try
='test -s conftest$ac_exeext'
40106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40107 (eval $ac_try) 2>&5
40109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40110 (exit $ac_status); }; }; then
40111 eval "$as_ac_var=yes"
40113 echo "$as_me: failed program was:" >&5
40114 sed 's/^/| /' conftest.
$ac_ext >&5
40116 eval "$as_ac_var=no"
40118 rm -f conftest.err conftest.
$ac_objext \
40119 conftest
$ac_exeext conftest.
$ac_ext
40121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40123 if test `eval echo '${'$as_ac_var'}'` = yes; then
40124 cat >>confdefs.h
<<_ACEOF
40125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40127 cat >>confdefs.h
<<\_ACEOF
40128 #define HAVE_DLERROR 1
40133 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40134 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40135 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40138 ac_check_lib_save_LIBS
=$LIBS
40140 cat >conftest.
$ac_ext <<_ACEOF
40143 cat confdefs.h
>>conftest.
$ac_ext
40144 cat >>conftest.
$ac_ext <<_ACEOF
40145 /* end confdefs.h. */
40147 /* Override any gcc2 internal prototype to avoid an error. */
40151 /* We use char because int might match the return type of a gcc2
40152 builtin and then its argument prototype would still apply. */
40162 rm -f conftest.
$ac_objext conftest
$ac_exeext
40163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40164 (eval $ac_link) 2>conftest.er1
40166 grep -v '^ *+' conftest.er1
>conftest.err
40168 cat conftest.err
>&5
40169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40170 (exit $ac_status); } &&
40171 { ac_try
='test -z "$ac_c_werror_flag"
40172 || test ! -s conftest.err'
40173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40174 (eval $ac_try) 2>&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); }; } &&
40178 { ac_try
='test -s conftest$ac_exeext'
40179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40180 (eval $ac_try) 2>&5
40182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40183 (exit $ac_status); }; }; then
40184 ac_cv_lib_dl_dlerror
=yes
40186 echo "$as_me: failed program was:" >&5
40187 sed 's/^/| /' conftest.
$ac_ext >&5
40189 ac_cv_lib_dl_dlerror
=no
40191 rm -f conftest.err conftest.
$ac_objext \
40192 conftest
$ac_exeext conftest.
$ac_ext
40193 LIBS
=$ac_check_lib_save_LIBS
40195 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40196 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40197 if test $ac_cv_lib_dl_dlerror = yes; then
40198 cat >>confdefs.h
<<\_ACEOF
40199 #define HAVE_DLERROR 1
40212 if test "$HAVE_DL_FUNCS" = 0; then
40213 if test "$HAVE_SHL_FUNCS" = 0; then
40214 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40215 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40216 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40217 wxUSE_DYNAMIC_LOADER
=no
40218 wxUSE_DYNLIB_CLASS
=no
40220 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40221 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40228 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40229 cat >>confdefs.h
<<\_ACEOF
40230 #define wxUSE_DYNAMIC_LOADER 1
40234 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40235 cat >>confdefs.h
<<\_ACEOF
40236 #define wxUSE_DYNLIB_CLASS 1
40243 if test "$wxUSE_PLUGINS" = "yes" ; then
40244 if test "$wxUSE_SHARED" = "no" ; then
40245 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40246 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40249 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40250 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40251 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40254 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40255 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40256 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40259 if test "$wxUSE_PLUGINS" = "yes" ; then
40260 cat >>confdefs.h
<<\_ACEOF
40261 #define wxUSE_PLUGINS 1
40268 if test "$wxUSE_STL" = "yes"; then
40269 cat >>confdefs.h
<<\_ACEOF
40270 #define wxUSE_STL 1
40275 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40276 cat >>confdefs.h
<<\_ACEOF
40277 #define wxUSE_APPLE_IEEE 1
40282 if test "$wxUSE_TIMER" = "yes"; then
40283 cat >>confdefs.h
<<\_ACEOF
40284 #define wxUSE_TIMER 1
40289 if test "$USE_UNIX" = "1" ; then
40290 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40291 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40292 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40293 echo $ECHO_N "(cached) $ECHO_C" >&6
40296 cat >conftest.
$ac_ext <<_ACEOF
40299 cat confdefs.h
>>conftest.
$ac_ext
40300 cat >>conftest.
$ac_ext <<_ACEOF
40301 /* end confdefs.h. */
40303 #include <sys/soundcard.h>
40309 ioctl(0, SNDCTL_DSP_SYNC, 0);
40315 rm -f conftest.
$ac_objext conftest
$ac_exeext
40316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40317 (eval $ac_link) 2>conftest.er1
40319 grep -v '^ *+' conftest.er1
>conftest.err
40321 cat conftest.err
>&5
40322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40323 (exit $ac_status); } &&
40324 { ac_try
='test -z "$ac_c_werror_flag"
40325 || test ! -s conftest.err'
40326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40327 (eval $ac_try) 2>&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); }; } &&
40331 { ac_try
='test -s conftest$ac_exeext'
40332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40333 (eval $ac_try) 2>&5
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); }; }; then
40337 ac_cv_header_sys_soundcard
=yes
40339 echo "$as_me: failed program was:" >&5
40340 sed 's/^/| /' conftest.
$ac_ext >&5
40344 LIBS
="$saveLibs -lossaudio"
40345 cat >conftest.
$ac_ext <<_ACEOF
40348 cat confdefs.h
>>conftest.
$ac_ext
40349 cat >>conftest.
$ac_ext <<_ACEOF
40350 /* end confdefs.h. */
40352 #include <sys/soundcard.h>
40358 ioctl(0, SNDCTL_DSP_SYNC, 0);
40364 rm -f conftest.
$ac_objext conftest
$ac_exeext
40365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40366 (eval $ac_link) 2>conftest.er1
40368 grep -v '^ *+' conftest.er1
>conftest.err
40370 cat conftest.err
>&5
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); } &&
40373 { ac_try
='test -z "$ac_c_werror_flag"
40374 || test ! -s conftest.err'
40375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40376 (eval $ac_try) 2>&5
40378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40379 (exit $ac_status); }; } &&
40380 { ac_try
='test -s conftest$ac_exeext'
40381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40382 (eval $ac_try) 2>&5
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); }; }; then
40386 ac_cv_header_sys_soundcard
=yes
40388 echo "$as_me: failed program was:" >&5
40389 sed 's/^/| /' conftest.
$ac_ext >&5
40393 ac_cv_header_sys_soundcard
=no
40397 rm -f conftest.err conftest.
$ac_objext \
40398 conftest
$ac_exeext conftest.
$ac_ext
40402 rm -f conftest.err conftest.
$ac_objext \
40403 conftest
$ac_exeext conftest.
$ac_ext
40406 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40407 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40409 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40410 cat >>confdefs.h
<<\_ACEOF
40411 #define HAVE_SYS_SOUNDCARD_H 1
40415 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40419 if test "$wxUSE_SOUND" = "yes"; then
40420 if test "$USE_UNIX" = "1" ; then
40421 if test "$wxUSE_LIBSDL" != "no"; then
40423 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40424 if test "${with_sdl_prefix+set}" = set; then
40425 withval
="$with_sdl_prefix"
40426 sdl_prefix
="$withval"
40431 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40432 if test "${with_sdl_exec_prefix+set}" = set; then
40433 withval
="$with_sdl_exec_prefix"
40434 sdl_exec_prefix
="$withval"
40438 # Check whether --enable-sdltest or --disable-sdltest was given.
40439 if test "${enable_sdltest+set}" = set; then
40440 enableval
="$enable_sdltest"
40446 if test x
$sdl_exec_prefix != x
; then
40447 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40448 if test x
${SDL_CONFIG+set} != xset
; then
40449 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40452 if test x
$sdl_prefix != x
; then
40453 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40454 if test x
${SDL_CONFIG+set} != xset
; then
40455 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40460 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40461 # Extract the first word of "sdl-config", so it can be a program name with args.
40462 set dummy sdl
-config; ac_word
=$2
40463 echo "$as_me:$LINENO: checking for $ac_word" >&5
40464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40465 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40466 echo $ECHO_N "(cached) $ECHO_C" >&6
40468 case $SDL_CONFIG in
40470 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40474 for as_dir
in $PATH
40477 test -z "$as_dir" && as_dir
=.
40478 for ac_exec_ext
in '' $ac_executable_extensions; do
40479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40480 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40487 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40491 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40493 if test -n "$SDL_CONFIG"; then
40494 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40495 echo "${ECHO_T}$SDL_CONFIG" >&6
40497 echo "$as_me:$LINENO: result: no" >&5
40498 echo "${ECHO_T}no" >&6
40501 min_sdl_version
=1.2.0
40502 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40503 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40505 if test "$SDL_CONFIG" = "no" ; then
40508 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40509 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40511 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40513 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40515 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40517 if test "x$enable_sdltest" = "xyes" ; then
40518 ac_save_CFLAGS
="$CFLAGS"
40519 ac_save_CXXFLAGS
="$CXXFLAGS"
40520 ac_save_LIBS
="$LIBS"
40521 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40522 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40523 LIBS
="$LIBS $SDL_LIBS"
40525 if test "$cross_compiling" = yes; then
40526 echo $ac_n "cross compiling; assumed OK... $ac_c"
40528 cat >conftest.
$ac_ext <<_ACEOF
40531 cat confdefs.h
>>conftest.
$ac_ext
40532 cat >>conftest.
$ac_ext <<_ACEOF
40533 /* end confdefs.h. */
40536 #include <stdlib.h>
40537 #include <string.h>
40541 my_strdup (char *str)
40547 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40548 strcpy (new_str, str);
40556 int main (int argc, char *argv[])
40558 int major, minor, micro;
40561 /* This hangs on some systems (?)
40562 system ("touch conf.sdltest");
40564 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40566 /* HP/UX 9 (%@#!) writes to sscanf strings */
40567 tmp_version = my_strdup("$min_sdl_version");
40568 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40569 printf("%s, bad version string\n", "$min_sdl_version");
40573 if (($sdl_major_version > major) ||
40574 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40575 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40581 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40582 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40583 printf("*** best to upgrade to the required version.\n");
40584 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40585 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40586 printf("*** config.cache before re-running configure\n");
40593 rm -f conftest
$ac_exeext
40594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40595 (eval $ac_link) 2>&5
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40600 (eval $ac_try) 2>&5
40602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40603 (exit $ac_status); }; }; then
40606 echo "$as_me: program exited with status $ac_status" >&5
40607 echo "$as_me: failed program was:" >&5
40608 sed 's/^/| /' conftest.
$ac_ext >&5
40610 ( exit $ac_status )
40613 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40615 CFLAGS
="$ac_save_CFLAGS"
40616 CXXFLAGS
="$ac_save_CXXFLAGS"
40617 LIBS
="$ac_save_LIBS"
40620 if test "x$no_sdl" = x
; then
40621 echo "$as_me:$LINENO: result: yes" >&5
40622 echo "${ECHO_T}yes" >&6
40624 EXTRALIBS_SDL
="$SDL_LIBS"
40625 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40626 cat >>confdefs.h
<<\_ACEOF
40627 #define wxUSE_LIBSDL 1
40632 echo "$as_me:$LINENO: result: no" >&5
40633 echo "${ECHO_T}no" >&6
40634 if test "$SDL_CONFIG" = "no" ; then
40635 echo "*** The sdl-config script installed by SDL could not be found"
40636 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40637 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40638 echo "*** full path to sdl-config."
40640 if test -f conf.sdltest
; then
40643 echo "*** Could not run SDL test program, checking why..."
40644 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40645 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40646 LIBS
="$LIBS $SDL_LIBS"
40647 cat >conftest.
$ac_ext <<_ACEOF
40650 cat confdefs.h
>>conftest.
$ac_ext
40651 cat >>conftest.
$ac_ext <<_ACEOF
40652 /* end confdefs.h. */
40657 int main(int argc, char *argv[])
40660 #define main K_and_R_C_main
40670 rm -f conftest.
$ac_objext conftest
$ac_exeext
40671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40672 (eval $ac_link) 2>conftest.er1
40674 grep -v '^ *+' conftest.er1
>conftest.err
40676 cat conftest.err
>&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); } &&
40679 { ac_try
='test -z "$ac_c_werror_flag"
40680 || test ! -s conftest.err'
40681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40682 (eval $ac_try) 2>&5
40684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40685 (exit $ac_status); }; } &&
40686 { ac_try
='test -s conftest$ac_exeext'
40687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40688 (eval $ac_try) 2>&5
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); }; }; then
40692 echo "*** The test program compiled, but did not run. This usually means"
40693 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40694 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40695 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40696 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40697 echo "*** is required on your system"
40699 echo "*** If you have an old version installed, it is best to remove it, although"
40700 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40702 echo "$as_me: failed program was:" >&5
40703 sed 's/^/| /' conftest.
$ac_ext >&5
40705 echo "*** The test program failed to compile or link. See the file config.log for the"
40706 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40707 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40708 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40710 rm -f conftest.err conftest.
$ac_objext \
40711 conftest
$ac_exeext conftest.
$ac_ext
40712 CFLAGS
="$ac_save_CFLAGS"
40713 CXXFLAGS
="$ac_save_CXXFLAGS"
40714 LIBS
="$ac_save_LIBS"
40725 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40731 cat >>confdefs.h
<<\_ACEOF
40732 #define wxUSE_SOUND 1
40735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40738 if test "$WXGTK20" = 1; then
40739 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40740 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40745 if test -z "$PKG_CONFIG"; then
40746 # Extract the first word of "pkg-config", so it can be a program name with args.
40747 set dummy pkg
-config; ac_word
=$2
40748 echo "$as_me:$LINENO: checking for $ac_word" >&5
40749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40750 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40751 echo $ECHO_N "(cached) $ECHO_C" >&6
40753 case $PKG_CONFIG in
40755 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40759 for as_dir
in $PATH
40762 test -z "$as_dir" && as_dir
=.
40763 for ac_exec_ext
in '' $ac_executable_extensions; do
40764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40765 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40772 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40776 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40778 if test -n "$PKG_CONFIG"; then
40779 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40780 echo "${ECHO_T}$PKG_CONFIG" >&6
40782 echo "$as_me:$LINENO: result: no" >&5
40783 echo "${ECHO_T}no" >&6
40788 if test "$PKG_CONFIG" = "no" ; then
40789 echo "*** The pkg-config script could not be found. Make sure it is"
40790 echo "*** in your path, or set the PKG_CONFIG environment variable"
40791 echo "*** to the full path to pkg-config."
40792 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40794 PKG_CONFIG_MIN_VERSION
=0.9.0
40795 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40796 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40797 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40799 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40800 echo "$as_me:$LINENO: result: yes" >&5
40801 echo "${ECHO_T}yes" >&6
40804 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40805 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40806 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40807 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40808 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40810 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40811 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40812 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40813 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40814 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40816 LIBGNOMEPRINTUI_CFLAGS
=""
40817 LIBGNOMEPRINTUI_LIBS
=""
40818 ## If we have a custom action on failure, don't print errors, but
40819 ## do set a variable so people can do so.
40820 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40827 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40828 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40832 if test $succeeded = yes; then
40834 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40835 cat >>confdefs.h
<<\_ACEOF
40836 #define wxUSE_LIBGNOMEPRINT 1
40842 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40843 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40844 wxUSE_LIBGNOMEPRINT
="no"
40853 if test "$WXGTK20" = 1; then
40854 if test "$wxUSE_LIBHILDON" = "yes" ; then
40858 if test -z "$PKG_CONFIG"; then
40859 # Extract the first word of "pkg-config", so it can be a program name with args.
40860 set dummy pkg
-config; ac_word
=$2
40861 echo "$as_me:$LINENO: checking for $ac_word" >&5
40862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40863 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40864 echo $ECHO_N "(cached) $ECHO_C" >&6
40866 case $PKG_CONFIG in
40868 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40872 for as_dir
in $PATH
40875 test -z "$as_dir" && as_dir
=.
40876 for ac_exec_ext
in '' $ac_executable_extensions; do
40877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40878 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40885 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40889 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40891 if test -n "$PKG_CONFIG"; then
40892 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40893 echo "${ECHO_T}$PKG_CONFIG" >&6
40895 echo "$as_me:$LINENO: result: no" >&5
40896 echo "${ECHO_T}no" >&6
40901 if test "$PKG_CONFIG" = "no" ; then
40902 echo "*** The pkg-config script could not be found. Make sure it is"
40903 echo "*** in your path, or set the PKG_CONFIG environment variable"
40904 echo "*** to the full path to pkg-config."
40905 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40907 PKG_CONFIG_MIN_VERSION
=0.9.0
40908 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40909 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
40910 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
40912 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
40913 echo "$as_me:$LINENO: result: yes" >&5
40914 echo "${ECHO_T}yes" >&6
40917 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
40918 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
40919 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
40920 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
40921 echo "${ECHO_T}$HILDON_CFLAGS" >&6
40923 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
40924 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
40925 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
40926 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
40927 echo "${ECHO_T}$HILDON_LIBS" >&6
40931 ## If we have a custom action on failure, don't print errors, but
40932 ## do set a variable so people can do so.
40933 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
40940 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40941 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40945 if test $succeeded = yes; then
40947 EXTRALIBS_HILDON
="$HILDON_LIBS"
40948 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
40949 cat >>confdefs.h
<<\_ACEOF
40950 #define wxUSE_LIBHILDON 1
40956 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
40957 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
40958 wxUSE_LIBHILDON
="no"
40966 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
40967 cat >>confdefs.h
<<\_ACEOF
40968 #define wxUSE_CMDLINE_PARSER 1
40973 if test "$wxUSE_STOPWATCH" = "yes"; then
40974 cat >>confdefs.h
<<\_ACEOF
40975 #define wxUSE_STOPWATCH 1
40980 if test "$wxUSE_DATETIME" = "yes"; then
40981 cat >>confdefs.h
<<\_ACEOF
40982 #define wxUSE_DATETIME 1
40987 if test "$wxUSE_FILE" = "yes"; then
40988 cat >>confdefs.h
<<\_ACEOF
40989 #define wxUSE_FILE 1
40994 if test "$wxUSE_FFILE" = "yes"; then
40995 cat >>confdefs.h
<<\_ACEOF
40996 #define wxUSE_FFILE 1
41001 if test "$wxUSE_FILESYSTEM" = "yes"; then
41002 cat >>confdefs.h
<<\_ACEOF
41003 #define wxUSE_FILESYSTEM 1
41008 if test "$wxUSE_FS_ZIP" = "yes"; then
41009 cat >>confdefs.h
<<\_ACEOF
41010 #define wxUSE_FS_ZIP 1
41015 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41016 cat >>confdefs.h
<<\_ACEOF
41017 #define wxUSE_ARCHIVE_STREAMS 1
41022 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41023 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41024 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41025 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41026 elif test "$wxUSE_ZLIB" = "no"; then
41027 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41028 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41030 cat >>confdefs.h
<<\_ACEOF
41031 #define wxUSE_ZIPSTREAM 1
41037 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41038 if test "$USE_UNIX" != 1; then
41039 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41040 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41041 wxUSE_ON_FATAL_EXCEPTION
=no
41043 cat >>confdefs.h
<<\_ACEOF
41044 #define wxUSE_ON_FATAL_EXCEPTION 1
41050 if test "$wxUSE_STACKWALKER" = "yes"; then
41051 cat >>confdefs.h
<<\_ACEOF
41052 #define wxUSE_STACKWALKER 1
41057 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41058 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41059 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41060 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41061 wxUSE_DEBUGREPORT
=no
41063 cat >>confdefs.h
<<\_ACEOF
41064 #define wxUSE_DEBUGREPORT 1
41067 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41073 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41074 cat >>confdefs.h
<<\_ACEOF
41075 #define wxUSE_SNGLINST_CHECKER 1
41080 if test "$wxUSE_BUSYINFO" = "yes"; then
41081 cat >>confdefs.h
<<\_ACEOF
41082 #define wxUSE_BUSYINFO 1
41087 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41088 cat >>confdefs.h
<<\_ACEOF
41089 #define wxUSE_STD_IOSTREAM 1
41094 if test "$wxUSE_STD_STRING" = "yes"; then
41095 cat >>confdefs.h
<<\_ACEOF
41096 #define wxUSE_STD_STRING 1
41101 if test "$wxUSE_STDPATHS" = "yes"; then
41102 cat >>confdefs.h
<<\_ACEOF
41103 #define wxUSE_STDPATHS 1
41108 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41109 cat >>confdefs.h
<<\_ACEOF
41110 #define wxUSE_TEXTBUFFER 1
41115 if test "$wxUSE_TEXTFILE" = "yes"; then
41116 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41117 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41118 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41120 cat >>confdefs.h
<<\_ACEOF
41121 #define wxUSE_TEXTFILE 1
41127 if test "$wxUSE_CONFIG" = "yes" ; then
41128 if test "$wxUSE_TEXTFILE" != "yes"; then
41129 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41130 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41132 cat >>confdefs.h
<<\_ACEOF
41133 #define wxUSE_CONFIG 1
41136 cat >>confdefs.h
<<\_ACEOF
41137 #define wxUSE_CONFIG_NATIVE 1
41140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41144 if test "$wxUSE_INTL" = "yes" ; then
41145 if test "$wxUSE_FILE" != "yes"; then
41146 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41147 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41149 cat >>confdefs.h
<<\_ACEOF
41150 #define wxUSE_INTL 1
41153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41154 GUIDIST
="$GUIDIST INTL_DIST"
41158 if test "$wxUSE_LOG" = "yes"; then
41159 cat >>confdefs.h
<<\_ACEOF
41160 #define wxUSE_LOG 1
41164 if test "$wxUSE_LOGGUI" = "yes"; then
41165 cat >>confdefs.h
<<\_ACEOF
41166 #define wxUSE_LOGGUI 1
41171 if test "$wxUSE_LOGWINDOW" = "yes"; then
41172 cat >>confdefs.h
<<\_ACEOF
41173 #define wxUSE_LOGWINDOW 1
41178 if test "$wxUSE_LOGDIALOG" = "yes"; then
41179 cat >>confdefs.h
<<\_ACEOF
41180 #define wxUSE_LOG_DIALOG 1
41185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41188 if test "$wxUSE_LONGLONG" = "yes"; then
41189 cat >>confdefs.h
<<\_ACEOF
41190 #define wxUSE_LONGLONG 1
41195 if test "$wxUSE_GEOMETRY" = "yes"; then
41196 cat >>confdefs.h
<<\_ACEOF
41197 #define wxUSE_GEOMETRY 1
41202 if test "$wxUSE_STREAMS" = "yes" ; then
41203 cat >>confdefs.h
<<\_ACEOF
41204 #define wxUSE_STREAMS 1
41210 if test "$wxUSE_DATETIME" = "yes"; then
41212 for ac_func
in strptime
41214 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41215 echo "$as_me:$LINENO: checking for $ac_func" >&5
41216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41217 if eval "test \"\${$as_ac_var+set}\" = set"; then
41218 echo $ECHO_N "(cached) $ECHO_C" >&6
41220 cat >conftest.
$ac_ext <<_ACEOF
41223 cat confdefs.h
>>conftest.
$ac_ext
41224 cat >>conftest.
$ac_ext <<_ACEOF
41225 /* end confdefs.h. */
41226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41228 #define $ac_func innocuous_$ac_func
41230 /* System header to define __stub macros and hopefully few prototypes,
41231 which can conflict with char $ac_func (); below.
41232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41233 <limits.h> exists even on freestanding compilers. */
41236 # include <limits.h>
41238 # include <assert.h>
41243 /* Override any gcc2 internal prototype to avoid an error. */
41248 /* We use char because int might match the return type of a gcc2
41249 builtin and then its argument prototype would still apply. */
41251 /* The GNU C library defines this for functions which it implements
41252 to always fail with ENOSYS. Some functions are actually named
41253 something starting with __ and the normal name is an alias. */
41254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41257 char (*f) () = $ac_func;
41266 return f != $ac_func;
41271 rm -f conftest.
$ac_objext conftest
$ac_exeext
41272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41273 (eval $ac_link) 2>conftest.er1
41275 grep -v '^ *+' conftest.er1
>conftest.err
41277 cat conftest.err
>&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } &&
41280 { ac_try
='test -z "$ac_c_werror_flag"
41281 || test ! -s conftest.err'
41282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41283 (eval $ac_try) 2>&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); }; } &&
41287 { ac_try
='test -s conftest$ac_exeext'
41288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41289 (eval $ac_try) 2>&5
41291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292 (exit $ac_status); }; }; then
41293 eval "$as_ac_var=yes"
41295 echo "$as_me: failed program was:" >&5
41296 sed 's/^/| /' conftest.
$ac_ext >&5
41298 eval "$as_ac_var=no"
41300 rm -f conftest.err conftest.
$ac_objext \
41301 conftest
$ac_exeext conftest.
$ac_ext
41303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41305 if test `eval echo '${'$as_ac_var'}'` = yes; then
41306 cat >>confdefs.h
<<_ACEOF
41307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41313 if test "$ac_cv_func_strptime" = "yes"; then
41314 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41315 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41316 if test "${wx_cv_func_strptime_decl+set}" = set; then
41317 echo $ECHO_N "(cached) $ECHO_C" >&6
41323 ac_cpp
='$CXXCPP $CPPFLAGS'
41324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41328 cat >conftest.
$ac_ext <<_ACEOF
41331 cat confdefs.h
>>conftest.
$ac_ext
41332 cat >>conftest.
$ac_ext <<_ACEOF
41333 /* end confdefs.h. */
41342 strptime("foo", "bar", &t);
41348 rm -f conftest.
$ac_objext
41349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41350 (eval $ac_compile) 2>conftest.er1
41352 grep -v '^ *+' conftest.er1
>conftest.err
41354 cat conftest.err
>&5
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); } &&
41357 { ac_try
='test -z "$ac_cxx_werror_flag"
41358 || test ! -s conftest.err'
41359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41360 (eval $ac_try) 2>&5
41362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41363 (exit $ac_status); }; } &&
41364 { ac_try
='test -s conftest.$ac_objext'
41365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41366 (eval $ac_try) 2>&5
41368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41369 (exit $ac_status); }; }; then
41370 wx_cv_func_strptime_decl
=yes
41372 echo "$as_me: failed program was:" >&5
41373 sed 's/^/| /' conftest.
$ac_ext >&5
41375 wx_cv_func_strptime_decl
=no
41378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41380 ac_cpp
='$CPP $CPPFLAGS'
41381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41388 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41389 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41391 if test "$wx_cv_func_strptime_decl" = "yes"; then
41392 cat >>confdefs.h
<<\_ACEOF
41393 #define HAVE_STRPTIME_DECL 1
41398 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41399 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41400 if test "${wx_cv_var_timezone+set}" = set; then
41401 echo $ECHO_N "(cached) $ECHO_C" >&6
41404 cat >conftest.
$ac_ext <<_ACEOF
41407 cat confdefs.h
>>conftest.
$ac_ext
41408 cat >>conftest.
$ac_ext <<_ACEOF
41409 /* end confdefs.h. */
41424 rm -f conftest.
$ac_objext
41425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41426 (eval $ac_compile) 2>conftest.er1
41428 grep -v '^ *+' conftest.er1
>conftest.err
41430 cat conftest.err
>&5
41431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41432 (exit $ac_status); } &&
41433 { ac_try
='test -z "$ac_c_werror_flag"
41434 || test ! -s conftest.err'
41435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41436 (eval $ac_try) 2>&5
41438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41439 (exit $ac_status); }; } &&
41440 { ac_try
='test -s conftest.$ac_objext'
41441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41442 (eval $ac_try) 2>&5
41444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41445 (exit $ac_status); }; }; then
41447 wx_cv_var_timezone
=timezone
41450 echo "$as_me: failed program was:" >&5
41451 sed 's/^/| /' conftest.
$ac_ext >&5
41454 cat >conftest.
$ac_ext <<_ACEOF
41457 cat confdefs.h
>>conftest.
$ac_ext
41458 cat >>conftest.
$ac_ext <<_ACEOF
41459 /* end confdefs.h. */
41474 rm -f conftest.
$ac_objext
41475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41476 (eval $ac_compile) 2>conftest.er1
41478 grep -v '^ *+' conftest.er1
>conftest.err
41480 cat conftest.err
>&5
41481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41482 (exit $ac_status); } &&
41483 { ac_try
='test -z "$ac_c_werror_flag"
41484 || test ! -s conftest.err'
41485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41486 (eval $ac_try) 2>&5
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); }; } &&
41490 { ac_try
='test -s conftest.$ac_objext'
41491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41492 (eval $ac_try) 2>&5
41494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41495 (exit $ac_status); }; }; then
41497 wx_cv_var_timezone
=_timezone
41500 echo "$as_me: failed program was:" >&5
41501 sed 's/^/| /' conftest.
$ac_ext >&5
41504 cat >conftest.
$ac_ext <<_ACEOF
41507 cat confdefs.h
>>conftest.
$ac_ext
41508 cat >>conftest.
$ac_ext <<_ACEOF
41509 /* end confdefs.h. */
41524 rm -f conftest.
$ac_objext
41525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41526 (eval $ac_compile) 2>conftest.er1
41528 grep -v '^ *+' conftest.er1
>conftest.err
41530 cat conftest.err
>&5
41531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532 (exit $ac_status); } &&
41533 { ac_try
='test -z "$ac_c_werror_flag"
41534 || test ! -s conftest.err'
41535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41536 (eval $ac_try) 2>&5
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); }; } &&
41540 { ac_try
='test -s conftest.$ac_objext'
41541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41542 (eval $ac_try) 2>&5
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); }; }; then
41547 wx_cv_var_timezone
=__timezone
41550 echo "$as_me: failed program was:" >&5
41551 sed 's/^/| /' conftest.
$ac_ext >&5
41554 if test "$USE_DOS" = 0 ; then
41555 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41556 echo "$as_me: WARNING: no timezone variable" >&2;}
41561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41573 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41574 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41576 if test "x$wx_cv_var_timezone" != x
; then
41577 cat >>confdefs.h
<<_ACEOF
41578 #define WX_TIMEZONE $wx_cv_var_timezone
41584 for ac_func
in localtime
41586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41587 echo "$as_me:$LINENO: checking for $ac_func" >&5
41588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41589 if eval "test \"\${$as_ac_var+set}\" = set"; then
41590 echo $ECHO_N "(cached) $ECHO_C" >&6
41592 cat >conftest.
$ac_ext <<_ACEOF
41595 cat confdefs.h
>>conftest.
$ac_ext
41596 cat >>conftest.
$ac_ext <<_ACEOF
41597 /* end confdefs.h. */
41598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41600 #define $ac_func innocuous_$ac_func
41602 /* System header to define __stub macros and hopefully few prototypes,
41603 which can conflict with char $ac_func (); below.
41604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41605 <limits.h> exists even on freestanding compilers. */
41608 # include <limits.h>
41610 # include <assert.h>
41615 /* Override any gcc2 internal prototype to avoid an error. */
41620 /* We use char because int might match the return type of a gcc2
41621 builtin and then its argument prototype would still apply. */
41623 /* The GNU C library defines this for functions which it implements
41624 to always fail with ENOSYS. Some functions are actually named
41625 something starting with __ and the normal name is an alias. */
41626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41629 char (*f) () = $ac_func;
41638 return f != $ac_func;
41643 rm -f conftest.
$ac_objext conftest
$ac_exeext
41644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41645 (eval $ac_link) 2>conftest.er1
41647 grep -v '^ *+' conftest.er1
>conftest.err
41649 cat conftest.err
>&5
41650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41651 (exit $ac_status); } &&
41652 { ac_try
='test -z "$ac_c_werror_flag"
41653 || test ! -s conftest.err'
41654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41655 (eval $ac_try) 2>&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); }; } &&
41659 { ac_try
='test -s conftest$ac_exeext'
41660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41661 (eval $ac_try) 2>&5
41663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41664 (exit $ac_status); }; }; then
41665 eval "$as_ac_var=yes"
41667 echo "$as_me: failed program was:" >&5
41668 sed 's/^/| /' conftest.
$ac_ext >&5
41670 eval "$as_ac_var=no"
41672 rm -f conftest.err conftest.
$ac_objext \
41673 conftest
$ac_exeext conftest.
$ac_ext
41675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41677 if test `eval echo '${'$as_ac_var'}'` = yes; then
41678 cat >>confdefs.h
<<_ACEOF
41679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41686 if test "$ac_cv_func_localtime" = "yes"; then
41687 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41688 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41689 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41690 echo $ECHO_N "(cached) $ECHO_C" >&6
41693 cat >conftest.
$ac_ext <<_ACEOF
41696 cat confdefs.h
>>conftest.
$ac_ext
41697 cat >>conftest.
$ac_ext <<_ACEOF
41698 /* end confdefs.h. */
41713 rm -f conftest.
$ac_objext
41714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41715 (eval $ac_compile) 2>conftest.er1
41717 grep -v '^ *+' conftest.er1
>conftest.err
41719 cat conftest.err
>&5
41720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41721 (exit $ac_status); } &&
41722 { ac_try
='test -z "$ac_c_werror_flag"
41723 || test ! -s conftest.err'
41724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41725 (eval $ac_try) 2>&5
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); }; } &&
41729 { ac_try
='test -s conftest.$ac_objext'
41730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41731 (eval $ac_try) 2>&5
41733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41734 (exit $ac_status); }; }; then
41736 wx_cv_struct_tm_has_gmtoff
=yes
41739 echo "$as_me: failed program was:" >&5
41740 sed 's/^/| /' conftest.
$ac_ext >&5
41742 wx_cv_struct_tm_has_gmtoff
=no
41745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41748 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41749 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41752 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41753 cat >>confdefs.h
<<\_ACEOF
41754 #define WX_GMTOFF_IN_TM 1
41761 for ac_func
in gettimeofday ftime
41763 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41764 echo "$as_me:$LINENO: checking for $ac_func" >&5
41765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41766 if eval "test \"\${$as_ac_var+set}\" = set"; then
41767 echo $ECHO_N "(cached) $ECHO_C" >&6
41769 cat >conftest.
$ac_ext <<_ACEOF
41772 cat confdefs.h
>>conftest.
$ac_ext
41773 cat >>conftest.
$ac_ext <<_ACEOF
41774 /* end confdefs.h. */
41775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41777 #define $ac_func innocuous_$ac_func
41779 /* System header to define __stub macros and hopefully few prototypes,
41780 which can conflict with char $ac_func (); below.
41781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41782 <limits.h> exists even on freestanding compilers. */
41785 # include <limits.h>
41787 # include <assert.h>
41792 /* Override any gcc2 internal prototype to avoid an error. */
41797 /* We use char because int might match the return type of a gcc2
41798 builtin and then its argument prototype would still apply. */
41800 /* The GNU C library defines this for functions which it implements
41801 to always fail with ENOSYS. Some functions are actually named
41802 something starting with __ and the normal name is an alias. */
41803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41806 char (*f) () = $ac_func;
41815 return f != $ac_func;
41820 rm -f conftest.
$ac_objext conftest
$ac_exeext
41821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41822 (eval $ac_link) 2>conftest.er1
41824 grep -v '^ *+' conftest.er1
>conftest.err
41826 cat conftest.err
>&5
41827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828 (exit $ac_status); } &&
41829 { ac_try
='test -z "$ac_c_werror_flag"
41830 || test ! -s conftest.err'
41831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41832 (eval $ac_try) 2>&5
41834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41835 (exit $ac_status); }; } &&
41836 { ac_try
='test -s conftest$ac_exeext'
41837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41838 (eval $ac_try) 2>&5
41840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841 (exit $ac_status); }; }; then
41842 eval "$as_ac_var=yes"
41844 echo "$as_me: failed program was:" >&5
41845 sed 's/^/| /' conftest.
$ac_ext >&5
41847 eval "$as_ac_var=no"
41849 rm -f conftest.err conftest.
$ac_objext \
41850 conftest
$ac_exeext conftest.
$ac_ext
41852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41854 if test `eval echo '${'$as_ac_var'}'` = yes; then
41855 cat >>confdefs.h
<<_ACEOF
41856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41863 if test "$ac_cv_func_gettimeofday" = "yes"; then
41864 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41865 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41866 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41867 echo $ECHO_N "(cached) $ECHO_C" >&6
41873 ac_cpp
='$CXXCPP $CPPFLAGS'
41874 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41875 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41876 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41879 cat >conftest.
$ac_ext <<_ACEOF
41882 cat confdefs.h
>>conftest.
$ac_ext
41883 cat >>conftest.
$ac_ext <<_ACEOF
41884 /* end confdefs.h. */
41886 #include <sys/time.h>
41887 #include <unistd.h>
41894 gettimeofday(&tv, NULL);
41900 rm -f conftest.
$ac_objext
41901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41902 (eval $ac_compile) 2>conftest.er1
41904 grep -v '^ *+' conftest.er1
>conftest.err
41906 cat conftest.err
>&5
41907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908 (exit $ac_status); } &&
41909 { ac_try
='test -z "$ac_cxx_werror_flag"
41910 || test ! -s conftest.err'
41911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41912 (eval $ac_try) 2>&5
41914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41915 (exit $ac_status); }; } &&
41916 { ac_try
='test -s conftest.$ac_objext'
41917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41918 (eval $ac_try) 2>&5
41920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); }; }; then
41922 wx_cv_func_gettimeofday_has_2_args
=yes
41924 echo "$as_me: failed program was:" >&5
41925 sed 's/^/| /' conftest.
$ac_ext >&5
41927 cat >conftest.
$ac_ext <<_ACEOF
41930 cat confdefs.h
>>conftest.
$ac_ext
41931 cat >>conftest.
$ac_ext <<_ACEOF
41932 /* end confdefs.h. */
41934 #include <sys/time.h>
41935 #include <unistd.h>
41948 rm -f conftest.
$ac_objext
41949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41950 (eval $ac_compile) 2>conftest.er1
41952 grep -v '^ *+' conftest.er1
>conftest.err
41954 cat conftest.err
>&5
41955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41956 (exit $ac_status); } &&
41957 { ac_try
='test -z "$ac_cxx_werror_flag"
41958 || test ! -s conftest.err'
41959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41960 (eval $ac_try) 2>&5
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); }; } &&
41964 { ac_try
='test -s conftest.$ac_objext'
41965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41966 (eval $ac_try) 2>&5
41968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41969 (exit $ac_status); }; }; then
41970 wx_cv_func_gettimeofday_has_2_args
=no
41972 echo "$as_me: failed program was:" >&5
41973 sed 's/^/| /' conftest.
$ac_ext >&5
41976 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
41977 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
41978 wx_cv_func_gettimeofday_has_2_args
=unknown
41982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41987 ac_cpp
='$CPP $CPPFLAGS'
41988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41994 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
41995 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
41997 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
41998 cat >>confdefs.h
<<\_ACEOF
41999 #define WX_GETTIMEOFDAY_NO_TZ 1
42005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42009 if test "$wxUSE_SOCKETS" = "yes"; then
42010 if test "$wxUSE_MGL" = "1"; then
42011 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42012 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42017 if test "$wxUSE_SOCKETS" = "yes"; then
42018 if test "$TOOLKIT" != "MSW"; then
42019 echo "$as_me:$LINENO: checking for socket" >&5
42020 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42021 if test "${ac_cv_func_socket+set}" = set; then
42022 echo $ECHO_N "(cached) $ECHO_C" >&6
42024 cat >conftest.
$ac_ext <<_ACEOF
42027 cat confdefs.h
>>conftest.
$ac_ext
42028 cat >>conftest.
$ac_ext <<_ACEOF
42029 /* end confdefs.h. */
42030 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42032 #define socket innocuous_socket
42034 /* System header to define __stub macros and hopefully few prototypes,
42035 which can conflict with char socket (); below.
42036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42037 <limits.h> exists even on freestanding compilers. */
42040 # include <limits.h>
42042 # include <assert.h>
42047 /* Override any gcc2 internal prototype to avoid an error. */
42052 /* We use char because int might match the return type of a gcc2
42053 builtin and then its argument prototype would still apply. */
42055 /* The GNU C library defines this for functions which it implements
42056 to always fail with ENOSYS. Some functions are actually named
42057 something starting with __ and the normal name is an alias. */
42058 #if defined (__stub_socket) || defined (__stub___socket)
42061 char (*f) () = socket;
42070 return f != socket;
42075 rm -f conftest.
$ac_objext conftest
$ac_exeext
42076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42077 (eval $ac_link) 2>conftest.er1
42079 grep -v '^ *+' conftest.er1
>conftest.err
42081 cat conftest.err
>&5
42082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083 (exit $ac_status); } &&
42084 { ac_try
='test -z "$ac_c_werror_flag"
42085 || test ! -s conftest.err'
42086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42087 (eval $ac_try) 2>&5
42089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42090 (exit $ac_status); }; } &&
42091 { ac_try
='test -s conftest$ac_exeext'
42092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42093 (eval $ac_try) 2>&5
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); }; }; then
42097 ac_cv_func_socket
=yes
42099 echo "$as_me: failed program was:" >&5
42100 sed 's/^/| /' conftest.
$ac_ext >&5
42102 ac_cv_func_socket
=no
42104 rm -f conftest.err conftest.
$ac_objext \
42105 conftest
$ac_exeext conftest.
$ac_ext
42107 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42108 echo "${ECHO_T}$ac_cv_func_socket" >&6
42109 if test $ac_cv_func_socket = yes; then
42113 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42114 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42115 if test "${ac_cv_lib_socket_socket+set}" = set; then
42116 echo $ECHO_N "(cached) $ECHO_C" >&6
42118 ac_check_lib_save_LIBS
=$LIBS
42119 LIBS
="-lsocket $LIBS"
42120 cat >conftest.
$ac_ext <<_ACEOF
42123 cat confdefs.h
>>conftest.
$ac_ext
42124 cat >>conftest.
$ac_ext <<_ACEOF
42125 /* end confdefs.h. */
42127 /* Override any gcc2 internal prototype to avoid an error. */
42131 /* We use char because int might match the return type of a gcc2
42132 builtin and then its argument prototype would still apply. */
42142 rm -f conftest.
$ac_objext conftest
$ac_exeext
42143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42144 (eval $ac_link) 2>conftest.er1
42146 grep -v '^ *+' conftest.er1
>conftest.err
42148 cat conftest.err
>&5
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); } &&
42151 { ac_try
='test -z "$ac_c_werror_flag"
42152 || test ! -s conftest.err'
42153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42154 (eval $ac_try) 2>&5
42156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42157 (exit $ac_status); }; } &&
42158 { ac_try
='test -s conftest$ac_exeext'
42159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42160 (eval $ac_try) 2>&5
42162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42163 (exit $ac_status); }; }; then
42164 ac_cv_lib_socket_socket
=yes
42166 echo "$as_me: failed program was:" >&5
42167 sed 's/^/| /' conftest.
$ac_ext >&5
42169 ac_cv_lib_socket_socket
=no
42171 rm -f conftest.err conftest.
$ac_objext \
42172 conftest
$ac_exeext conftest.
$ac_ext
42173 LIBS
=$ac_check_lib_save_LIBS
42175 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42176 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42177 if test $ac_cv_lib_socket_socket = yes; then
42178 if test "$INET_LINK" != " -lsocket"; then
42179 INET_LINK
="$INET_LINK -lsocket"
42183 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42184 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42197 if test "$wxUSE_SOCKETS" = "yes" ; then
42198 if test "$TOOLKIT" != "MSW"; then
42200 ac_cpp
='$CXXCPP $CPPFLAGS'
42201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42205 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42206 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42207 if test "${wx_cv_type_getsockname3+set}" = set; then
42208 echo $ECHO_N "(cached) $ECHO_C" >&6
42211 cat >conftest.
$ac_ext <<_ACEOF
42214 cat confdefs.h
>>conftest.
$ac_ext
42215 cat >>conftest.
$ac_ext <<_ACEOF
42216 /* end confdefs.h. */
42218 #include <sys/types.h>
42219 #include <sys/socket.h>
42226 getsockname(0, 0, &len);
42232 rm -f conftest.
$ac_objext
42233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42234 (eval $ac_compile) 2>conftest.er1
42236 grep -v '^ *+' conftest.er1
>conftest.err
42238 cat conftest.err
>&5
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); } &&
42241 { ac_try
='test -z "$ac_cxx_werror_flag"
42242 || test ! -s conftest.err'
42243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42244 (eval $ac_try) 2>&5
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); }; } &&
42248 { ac_try
='test -s conftest.$ac_objext'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; }; then
42254 wx_cv_type_getsockname3
=socklen_t
42256 echo "$as_me: failed program was:" >&5
42257 sed 's/^/| /' conftest.
$ac_ext >&5
42260 CXXFLAGS_OLD
="$CXXFLAGS"
42261 if test "$GCC" = yes ; then
42262 CXXFLAGS
="-Werror $CXXFLAGS"
42265 cat >conftest.
$ac_ext <<_ACEOF
42268 cat confdefs.h
>>conftest.
$ac_ext
42269 cat >>conftest.
$ac_ext <<_ACEOF
42270 /* end confdefs.h. */
42272 #include <sys/types.h>
42273 #include <sys/socket.h>
42280 getsockname(0, 0, &len);
42286 rm -f conftest.
$ac_objext
42287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42288 (eval $ac_compile) 2>conftest.er1
42290 grep -v '^ *+' conftest.er1
>conftest.err
42292 cat conftest.err
>&5
42293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42294 (exit $ac_status); } &&
42295 { ac_try
='test -z "$ac_cxx_werror_flag"
42296 || test ! -s conftest.err'
42297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42298 (eval $ac_try) 2>&5
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; } &&
42302 { ac_try
='test -s conftest.$ac_objext'
42303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42304 (eval $ac_try) 2>&5
42306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307 (exit $ac_status); }; }; then
42308 wx_cv_type_getsockname3
=size_t
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.
$ac_ext >&5
42313 cat >conftest.
$ac_ext <<_ACEOF
42316 cat confdefs.h
>>conftest.
$ac_ext
42317 cat >>conftest.
$ac_ext <<_ACEOF
42318 /* end confdefs.h. */
42320 #include <sys/types.h>
42321 #include <sys/socket.h>
42328 getsockname(0, 0, &len);
42334 rm -f conftest.
$ac_objext
42335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42336 (eval $ac_compile) 2>conftest.er1
42338 grep -v '^ *+' conftest.er1
>conftest.err
42340 cat conftest.err
>&5
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); } &&
42343 { ac_try
='test -z "$ac_cxx_werror_flag"
42344 || test ! -s conftest.err'
42345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42346 (eval $ac_try) 2>&5
42348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42349 (exit $ac_status); }; } &&
42350 { ac_try
='test -s conftest.$ac_objext'
42351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42352 (eval $ac_try) 2>&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); }; }; then
42356 wx_cv_type_getsockname3
=int
42358 echo "$as_me: failed program was:" >&5
42359 sed 's/^/| /' conftest.
$ac_ext >&5
42361 wx_cv_type_getsockname3
=unknown
42364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42369 CXXFLAGS
="$CXXFLAGS_OLD"
42373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42376 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42377 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42379 if test "$wx_cv_type_getsockname3" = "unknown"; then
42381 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42382 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42384 cat >>confdefs.h
<<_ACEOF
42385 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42389 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42390 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42391 if test "${wx_cv_type_getsockopt5+set}" = set; then
42392 echo $ECHO_N "(cached) $ECHO_C" >&6
42395 cat >conftest.
$ac_ext <<_ACEOF
42398 cat confdefs.h
>>conftest.
$ac_ext
42399 cat >>conftest.
$ac_ext <<_ACEOF
42400 /* end confdefs.h. */
42402 #include <sys/types.h>
42403 #include <sys/socket.h>
42410 getsockopt(0, 0, 0, 0, &len);
42416 rm -f conftest.
$ac_objext
42417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42418 (eval $ac_compile) 2>conftest.er1
42420 grep -v '^ *+' conftest.er1
>conftest.err
42422 cat conftest.err
>&5
42423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42424 (exit $ac_status); } &&
42425 { ac_try
='test -z "$ac_cxx_werror_flag"
42426 || test ! -s conftest.err'
42427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42428 (eval $ac_try) 2>&5
42430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42431 (exit $ac_status); }; } &&
42432 { ac_try
='test -s conftest.$ac_objext'
42433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42434 (eval $ac_try) 2>&5
42436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42437 (exit $ac_status); }; }; then
42438 wx_cv_type_getsockopt5
=socklen_t
42440 echo "$as_me: failed program was:" >&5
42441 sed 's/^/| /' conftest.
$ac_ext >&5
42444 CXXFLAGS_OLD
="$CXXFLAGS"
42445 if test "$GCC" = yes ; then
42446 CXXFLAGS
="-Werror $CXXFLAGS"
42449 cat >conftest.
$ac_ext <<_ACEOF
42452 cat confdefs.h
>>conftest.
$ac_ext
42453 cat >>conftest.
$ac_ext <<_ACEOF
42454 /* end confdefs.h. */
42456 #include <sys/types.h>
42457 #include <sys/socket.h>
42464 getsockopt(0, 0, 0, 0, &len);
42470 rm -f conftest.
$ac_objext
42471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42472 (eval $ac_compile) 2>conftest.er1
42474 grep -v '^ *+' conftest.er1
>conftest.err
42476 cat conftest.err
>&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } &&
42479 { ac_try
='test -z "$ac_cxx_werror_flag"
42480 || test ! -s conftest.err'
42481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42482 (eval $ac_try) 2>&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); }; } &&
42486 { ac_try
='test -s conftest.$ac_objext'
42487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42488 (eval $ac_try) 2>&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); }; }; then
42492 wx_cv_type_getsockopt5
=size_t
42494 echo "$as_me: failed program was:" >&5
42495 sed 's/^/| /' conftest.
$ac_ext >&5
42497 cat >conftest.
$ac_ext <<_ACEOF
42500 cat confdefs.h
>>conftest.
$ac_ext
42501 cat >>conftest.
$ac_ext <<_ACEOF
42502 /* end confdefs.h. */
42504 #include <sys/types.h>
42505 #include <sys/socket.h>
42512 getsockopt(0, 0, 0, 0, &len);
42518 rm -f conftest.
$ac_objext
42519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42520 (eval $ac_compile) 2>conftest.er1
42522 grep -v '^ *+' conftest.er1
>conftest.err
42524 cat conftest.err
>&5
42525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526 (exit $ac_status); } &&
42527 { ac_try
='test -z "$ac_cxx_werror_flag"
42528 || test ! -s conftest.err'
42529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42530 (eval $ac_try) 2>&5
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); }; } &&
42534 { ac_try
='test -s conftest.$ac_objext'
42535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42536 (eval $ac_try) 2>&5
42538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42539 (exit $ac_status); }; }; then
42540 wx_cv_type_getsockopt5
=int
42542 echo "$as_me: failed program was:" >&5
42543 sed 's/^/| /' conftest.
$ac_ext >&5
42545 wx_cv_type_getsockopt5
=unknown
42548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42553 CXXFLAGS
="$CXXFLAGS_OLD"
42557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42560 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42561 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42563 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42565 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42566 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42568 cat >>confdefs.h
<<_ACEOF
42569 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42574 ac_cpp
='$CPP $CPPFLAGS'
42575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42582 if test "$wxUSE_SOCKETS" = "yes" ; then
42583 cat >>confdefs.h
<<\_ACEOF
42584 #define wxUSE_SOCKETS 1
42587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42590 if test "$wxUSE_PROTOCOL" = "yes"; then
42591 if test "$wxUSE_SOCKETS" != "yes"; then
42592 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42593 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42598 if test "$wxUSE_PROTOCOL" = "yes"; then
42599 cat >>confdefs.h
<<\_ACEOF
42600 #define wxUSE_PROTOCOL 1
42604 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42605 cat >>confdefs.h
<<\_ACEOF
42606 #define wxUSE_PROTOCOL_HTTP 1
42610 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42611 cat >>confdefs.h
<<\_ACEOF
42612 #define wxUSE_PROTOCOL_FTP 1
42616 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42617 cat >>confdefs.h
<<\_ACEOF
42618 #define wxUSE_PROTOCOL_FILE 1
42623 if test "$wxUSE_FS_INET" = "yes"; then
42624 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42625 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42630 if test "$wxUSE_URL" = "yes"; then
42631 if test "$wxUSE_PROTOCOL" != "yes"; then
42632 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42633 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42636 if test "$wxUSE_URL" = "yes"; then
42637 cat >>confdefs.h
<<\_ACEOF
42638 #define wxUSE_URL 1
42644 if test "$wxUSE_FS_INET" = "yes"; then
42645 cat >>confdefs.h
<<\_ACEOF
42646 #define wxUSE_FS_INET 1
42652 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42655 if test "$TOOLKIT" = "MSW"; then
42658 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42659 if test "$USE_DARWIN" = 1; then
42660 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42661 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42663 ac_cpp
='$CXXCPP $CPPFLAGS'
42664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42668 cat >conftest.
$ac_ext <<_ACEOF
42671 cat confdefs.h
>>conftest.
$ac_ext
42672 cat >>conftest.
$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42674 #include <IOKit/hid/IOHIDLib.h>
42678 IOHIDQueueInterface *qi = NULL;
42679 IOHIDCallbackFunction cb = NULL;
42680 qi->setEventCallout(NULL, cb, NULL, NULL);
42685 rm -f conftest.
$ac_objext
42686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42687 (eval $ac_compile) 2>conftest.er1
42689 grep -v '^ *+' conftest.er1
>conftest.err
42691 cat conftest.err
>&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } &&
42694 { ac_try
='test -z "$ac_cxx_werror_flag"
42695 || test ! -s conftest.err'
42696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42697 (eval $ac_try) 2>&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); }; } &&
42701 { ac_try
='test -s conftest.$ac_objext'
42702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42703 (eval $ac_try) 2>&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); }; }; then
42710 echo "$as_me: failed program was:" >&5
42711 sed 's/^/| /' conftest.
$ac_ext >&5
42714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42716 ac_cpp
='$CPP $CPPFLAGS'
42717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42721 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42722 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42727 for ac_header
in linux
/joystick.h
42729 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42731 echo "$as_me:$LINENO: checking for $ac_header" >&5
42732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42734 echo $ECHO_N "(cached) $ECHO_C" >&6
42736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42739 # Is the header compilable?
42740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42742 cat >conftest.
$ac_ext <<_ACEOF
42745 cat confdefs.h
>>conftest.
$ac_ext
42746 cat >>conftest.
$ac_ext <<_ACEOF
42747 /* end confdefs.h. */
42748 $ac_includes_default
42749 #include <$ac_header>
42751 rm -f conftest.
$ac_objext
42752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42753 (eval $ac_compile) 2>conftest.er1
42755 grep -v '^ *+' conftest.er1
>conftest.err
42757 cat conftest.err
>&5
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); } &&
42760 { ac_try
='test -z "$ac_c_werror_flag"
42761 || test ! -s conftest.err'
42762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42763 (eval $ac_try) 2>&5
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); }; } &&
42767 { ac_try
='test -s conftest.$ac_objext'
42768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42769 (eval $ac_try) 2>&5
42771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42772 (exit $ac_status); }; }; then
42773 ac_header_compiler
=yes
42775 echo "$as_me: failed program was:" >&5
42776 sed 's/^/| /' conftest.
$ac_ext >&5
42778 ac_header_compiler
=no
42780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42782 echo "${ECHO_T}$ac_header_compiler" >&6
42784 # Is the header present?
42785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42787 cat >conftest.
$ac_ext <<_ACEOF
42790 cat confdefs.h
>>conftest.
$ac_ext
42791 cat >>conftest.
$ac_ext <<_ACEOF
42792 /* end confdefs.h. */
42793 #include <$ac_header>
42795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42798 grep -v '^ *+' conftest.er1
>conftest.err
42800 cat conftest.err
>&5
42801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42802 (exit $ac_status); } >/dev
/null
; then
42803 if test -s conftest.err
; then
42804 ac_cpp_err
=$ac_c_preproc_warn_flag
42805 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
42812 if test -z "$ac_cpp_err"; then
42813 ac_header_preproc
=yes
42815 echo "$as_me: failed program was:" >&5
42816 sed 's/^/| /' conftest.
$ac_ext >&5
42818 ac_header_preproc
=no
42820 rm -f conftest.err conftest.
$ac_ext
42821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42822 echo "${ECHO_T}$ac_header_preproc" >&6
42824 # So? What about this header?
42825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42831 ac_header_preproc
=yes
42834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42848 ## ----------------------------------------- ##
42849 ## Report this to wx-dev@lists.wxwidgets.org ##
42850 ## ----------------------------------------- ##
42853 sed "s/^/$as_me: WARNING: /" >&2
42856 echo "$as_me:$LINENO: checking for $ac_header" >&5
42857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42859 echo $ECHO_N "(cached) $ECHO_C" >&6
42861 eval "$as_ac_Header=\$ac_header_preproc"
42863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42868 cat >>confdefs.h
<<_ACEOF
42869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42878 if test "$wxUSE_JOYSTICK" = "yes"; then
42879 cat >>confdefs.h
<<\_ACEOF
42880 #define wxUSE_JOYSTICK 1
42883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
42885 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42886 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42892 if test "$wxUSE_FONTMAP" = "yes" ; then
42893 cat >>confdefs.h
<<\_ACEOF
42894 #define wxUSE_FONTMAP 1
42899 if test "$wxUSE_UNICODE" = "yes" ; then
42900 cat >>confdefs.h
<<\_ACEOF
42901 #define wxUSE_UNICODE 1
42905 if test "$USE_WIN32" != 1; then
42906 wxUSE_UNICODE_MSLU
=no
42909 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
42910 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
42911 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
42912 if test "${ac_cv_lib_unicows_main+set}" = set; then
42913 echo $ECHO_N "(cached) $ECHO_C" >&6
42915 ac_check_lib_save_LIBS
=$LIBS
42916 LIBS
="-lunicows $LIBS"
42917 cat >conftest.
$ac_ext <<_ACEOF
42920 cat confdefs.h
>>conftest.
$ac_ext
42921 cat >>conftest.
$ac_ext <<_ACEOF
42922 /* end confdefs.h. */
42933 rm -f conftest.
$ac_objext conftest
$ac_exeext
42934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42935 (eval $ac_link) 2>conftest.er1
42937 grep -v '^ *+' conftest.er1
>conftest.err
42939 cat conftest.err
>&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); } &&
42942 { ac_try
='test -z "$ac_c_werror_flag"
42943 || test ! -s conftest.err'
42944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42945 (eval $ac_try) 2>&5
42947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42948 (exit $ac_status); }; } &&
42949 { ac_try
='test -s conftest$ac_exeext'
42950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42951 (eval $ac_try) 2>&5
42953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42954 (exit $ac_status); }; }; then
42955 ac_cv_lib_unicows_main
=yes
42957 echo "$as_me: failed program was:" >&5
42958 sed 's/^/| /' conftest.
$ac_ext >&5
42960 ac_cv_lib_unicows_main
=no
42962 rm -f conftest.err conftest.
$ac_objext \
42963 conftest
$ac_exeext conftest.
$ac_ext
42964 LIBS
=$ac_check_lib_save_LIBS
42966 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
42967 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
42968 if test $ac_cv_lib_unicows_main = yes; then
42970 cat >>confdefs.h
<<\_ACEOF
42971 #define wxUSE_UNICODE_MSLU 1
42977 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42978 Applications will only run on Windows NT/2000/XP!" >&5
42979 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42980 Applications will only run on Windows NT/2000/XP!" >&2;}
42981 wxUSE_UNICODE_MSLU
=no
42988 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
42989 cat >>confdefs.h
<<\_ACEOF
42990 #define wxUSE_EXPERIMENTAL_PRINTF 1
42996 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
42997 cat >>confdefs.h
<<\_ACEOF
42998 #define wxUSE_POSTSCRIPT 1
43003 cat >>confdefs.h
<<\_ACEOF
43004 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43008 cat >>confdefs.h
<<\_ACEOF
43009 #define wxUSE_NORMALIZED_PS_FONTS 1
43014 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43015 cat >>confdefs.h
<<\_ACEOF
43016 #define wxUSE_CONSTRAINTS 1
43019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43022 if test "$wxUSE_MDI" = "yes"; then
43023 cat >>confdefs.h
<<\_ACEOF
43024 #define wxUSE_MDI 1
43028 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43029 cat >>confdefs.h
<<\_ACEOF
43030 #define wxUSE_MDI_ARCHITECTURE 1
43033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43037 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43038 cat >>confdefs.h
<<\_ACEOF
43039 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43043 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43048 if test "$wxUSE_HELP" = "yes"; then
43049 cat >>confdefs.h
<<\_ACEOF
43050 #define wxUSE_HELP 1
43053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43055 if test "$wxUSE_MSW" = 1; then
43056 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43057 cat >>confdefs.h
<<\_ACEOF
43058 #define wxUSE_MS_HTML_HELP 1
43064 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43065 if test "$wxUSE_HTML" = "yes"; then
43066 cat >>confdefs.h
<<\_ACEOF
43067 #define wxUSE_WXHTML_HELP 1
43071 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43072 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43073 wxUSE_WXHTML_HELP
=no
43078 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43079 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43080 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43081 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43083 cat >>confdefs.h
<<\_ACEOF
43084 #define wxUSE_PRINTING_ARCHITECTURE 1
43088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43091 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43092 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43093 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43094 { (exit 1); exit 1; }; }
43098 if test "$wxUSE_METAFILE" = "yes"; then
43099 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43100 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43101 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43107 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43108 -o "$wxUSE_CLIPBOARD" = "yes" \
43109 -o "$wxUSE_OLE" = "yes" \
43110 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43112 for ac_header
in ole2.h
43114 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43116 echo "$as_me:$LINENO: checking for $ac_header" >&5
43117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43119 echo $ECHO_N "(cached) $ECHO_C" >&6
43121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43124 # Is the header compilable?
43125 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43127 cat >conftest.
$ac_ext <<_ACEOF
43130 cat confdefs.h
>>conftest.
$ac_ext
43131 cat >>conftest.
$ac_ext <<_ACEOF
43132 /* end confdefs.h. */
43133 $ac_includes_default
43134 #include <$ac_header>
43136 rm -f conftest.
$ac_objext
43137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43138 (eval $ac_compile) 2>conftest.er1
43140 grep -v '^ *+' conftest.er1
>conftest.err
43142 cat conftest.err
>&5
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); } &&
43145 { ac_try
='test -z "$ac_c_werror_flag"
43146 || test ! -s conftest.err'
43147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43148 (eval $ac_try) 2>&5
43150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43151 (exit $ac_status); }; } &&
43152 { ac_try
='test -s conftest.$ac_objext'
43153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43154 (eval $ac_try) 2>&5
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); }; }; then
43158 ac_header_compiler
=yes
43160 echo "$as_me: failed program was:" >&5
43161 sed 's/^/| /' conftest.
$ac_ext >&5
43163 ac_header_compiler
=no
43165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43167 echo "${ECHO_T}$ac_header_compiler" >&6
43169 # Is the header present?
43170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43172 cat >conftest.
$ac_ext <<_ACEOF
43175 cat confdefs.h
>>conftest.
$ac_ext
43176 cat >>conftest.
$ac_ext <<_ACEOF
43177 /* end confdefs.h. */
43178 #include <$ac_header>
43180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43183 grep -v '^ *+' conftest.er1
>conftest.err
43185 cat conftest.err
>&5
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); } >/dev
/null
; then
43188 if test -s conftest.err
; then
43189 ac_cpp_err
=$ac_c_preproc_warn_flag
43190 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
43197 if test -z "$ac_cpp_err"; then
43198 ac_header_preproc
=yes
43200 echo "$as_me: failed program was:" >&5
43201 sed 's/^/| /' conftest.
$ac_ext >&5
43203 ac_header_preproc
=no
43205 rm -f conftest.err conftest.
$ac_ext
43206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43207 echo "${ECHO_T}$ac_header_preproc" >&6
43209 # So? What about this header?
43210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43216 ac_header_preproc
=yes
43219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43233 ## ----------------------------------------- ##
43234 ## Report this to wx-dev@lists.wxwidgets.org ##
43235 ## ----------------------------------------- ##
43238 sed "s/^/$as_me: WARNING: /" >&2
43241 echo "$as_me:$LINENO: checking for $ac_header" >&5
43242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43244 echo $ECHO_N "(cached) $ECHO_C" >&6
43246 eval "$as_ac_Header=\$ac_header_preproc"
43248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43253 cat >>confdefs.h
<<_ACEOF
43254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43262 if test "$ac_cv_header_ole2_h" = "yes" ; then
43263 if test "$GCC" = yes ; then
43267 ac_cpp
='$CXXCPP $CPPFLAGS'
43268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43273 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43274 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43275 cat >conftest.
$ac_ext <<_ACEOF
43278 cat confdefs.h
>>conftest.
$ac_ext
43279 cat >>conftest.
$ac_ext <<_ACEOF
43280 /* end confdefs.h. */
43281 #include <windows.h>
43291 rm -f conftest.
$ac_objext
43292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43293 (eval $ac_compile) 2>conftest.er1
43295 grep -v '^ *+' conftest.er1
>conftest.err
43297 cat conftest.err
>&5
43298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43299 (exit $ac_status); } &&
43300 { ac_try
='test -z "$ac_cxx_werror_flag"
43301 || test ! -s conftest.err'
43302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43303 (eval $ac_try) 2>&5
43305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43306 (exit $ac_status); }; } &&
43307 { ac_try
='test -s conftest.$ac_objext'
43308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43309 (eval $ac_try) 2>&5
43311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43312 (exit $ac_status); }; }; then
43313 echo "$as_me:$LINENO: result: no" >&5
43314 echo "${ECHO_T}no" >&6
43316 echo "$as_me: failed program was:" >&5
43317 sed 's/^/| /' conftest.
$ac_ext >&5
43319 echo "$as_me:$LINENO: result: yes" >&5
43320 echo "${ECHO_T}yes" >&6
43321 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43325 ac_cpp
='$CPP $CPPFLAGS'
43326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43330 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43331 if test "$wxUSE_OLE" = "yes" ; then
43332 cat >>confdefs.h
<<\_ACEOF
43333 #define wxUSE_OLE 1
43336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43340 if test "$wxUSE_DATAOBJ" = "yes" ; then
43341 cat >>confdefs.h
<<\_ACEOF
43342 #define wxUSE_DATAOBJ 1
43347 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43348 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43351 wxUSE_DRAG_AND_DROP
=no
43356 if test "$wxUSE_METAFILE" = "yes"; then
43357 cat >>confdefs.h
<<\_ACEOF
43358 #define wxUSE_METAFILE 1
43362 cat >>confdefs.h
<<\_ACEOF
43363 #define wxUSE_ENH_METAFILE 1
43369 if test "$wxUSE_IPC" = "yes"; then
43370 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43371 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43372 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43376 if test "$wxUSE_IPC" = "yes"; then
43377 cat >>confdefs.h
<<\_ACEOF
43378 #define wxUSE_IPC 1
43381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43385 if test "$wxUSE_DATAOBJ" = "yes"; then
43386 if test "$wxUSE_MGL" = 1; then
43387 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43388 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43391 cat >>confdefs.h
<<\_ACEOF
43392 #define wxUSE_DATAOBJ 1
43397 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43398 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43400 wxUSE_DRAG_AND_DROP
=no
43403 if test "$wxUSE_CLIPBOARD" = "yes"; then
43404 if test "$wxUSE_MGL" = 1; then
43405 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43406 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43410 if test "$wxUSE_CLIPBOARD" = "yes"; then
43411 cat >>confdefs.h
<<\_ACEOF
43412 #define wxUSE_CLIPBOARD 1
43418 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43419 if test "$wxUSE_GTK" = 1; then
43420 if test "$WXGTK12" != 1; then
43421 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43422 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43423 wxUSE_DRAG_AND_DROP
=no
43427 if test "$wxUSE_MOTIF" = 1; then
43428 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43429 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43430 wxUSE_DRAG_AND_DROP
=no
43433 if test "$wxUSE_X11" = 1; then
43434 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43435 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43436 wxUSE_DRAG_AND_DROP
=no
43439 if test "$wxUSE_MGL" = 1; then
43440 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43441 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43442 wxUSE_DRAG_AND_DROP
=no
43445 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43446 cat >>confdefs.h
<<\_ACEOF
43447 #define wxUSE_DRAG_AND_DROP 1
43454 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43458 if test "$wxUSE_SPLINES" = "yes" ; then
43459 cat >>confdefs.h
<<\_ACEOF
43460 #define wxUSE_SPLINES 1
43465 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43466 cat >>confdefs.h
<<\_ACEOF
43467 #define wxUSE_MOUSEWHEEL 1
43474 if test "$wxUSE_CONTROLS" = "yes"; then
43478 if test "$wxUSE_ACCEL" = "yes"; then
43479 cat >>confdefs.h
<<\_ACEOF
43480 #define wxUSE_ACCEL 1
43486 if test "$wxUSE_BUTTON" = "yes"; then
43487 cat >>confdefs.h
<<\_ACEOF
43488 #define wxUSE_BUTTON 1
43494 if test "$wxUSE_BMPBUTTON" = "yes"; then
43495 cat >>confdefs.h
<<\_ACEOF
43496 #define wxUSE_BMPBUTTON 1
43502 if test "$wxUSE_CALCTRL" = "yes"; then
43503 cat >>confdefs.h
<<\_ACEOF
43504 #define wxUSE_CALENDARCTRL 1
43508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43511 if test "$wxUSE_CARET" = "yes"; then
43512 cat >>confdefs.h
<<\_ACEOF
43513 #define wxUSE_CARET 1
43517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43520 if test "$wxUSE_COMBOBOX" = "yes"; then
43521 cat >>confdefs.h
<<\_ACEOF
43522 #define wxUSE_COMBOBOX 1
43528 if test "$wxUSE_CHOICE" = "yes"; then
43529 cat >>confdefs.h
<<\_ACEOF
43530 #define wxUSE_CHOICE 1
43536 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43537 cat >>confdefs.h
<<\_ACEOF
43538 #define wxUSE_CHOICEBOOK 1
43544 if test "$wxUSE_CHECKBOX" = "yes"; then
43545 cat >>confdefs.h
<<\_ACEOF
43546 #define wxUSE_CHECKBOX 1
43552 if test "$wxUSE_CHECKLST" = "yes"; then
43553 cat >>confdefs.h
<<\_ACEOF
43554 #define wxUSE_CHECKLISTBOX 1
43558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43561 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43562 cat >>confdefs.h
<<\_ACEOF
43563 #define wxUSE_DATEPICKCTRL 1
43569 if test "$wxUSE_DISPLAY" = "yes"; then
43570 cat >>confdefs.h
<<\_ACEOF
43571 #define wxUSE_DISPLAY 1
43574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43577 if test "$wxUSE_GAUGE" = "yes"; then
43578 cat >>confdefs.h
<<\_ACEOF
43579 #define wxUSE_GAUGE 1
43585 if test "$wxUSE_GRID" = "yes"; then
43586 cat >>confdefs.h
<<\_ACEOF
43587 #define wxUSE_GRID 1
43591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43594 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43595 cat >>confdefs.h
<<\_ACEOF
43596 #define wxUSE_DATAVIEWCTRL 1
43600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43603 if test "$wxUSE_IMAGLIST" = "yes"; then
43604 cat >>confdefs.h
<<\_ACEOF
43605 #define wxUSE_IMAGLIST 1
43610 if test "$wxUSE_LISTBOOK" = "yes"; then
43611 cat >>confdefs.h
<<\_ACEOF
43612 #define wxUSE_LISTBOOK 1
43618 if test "$wxUSE_LISTBOX" = "yes"; then
43619 cat >>confdefs.h
<<\_ACEOF
43620 #define wxUSE_LISTBOX 1
43624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43627 if test "$wxUSE_LISTCTRL" = "yes"; then
43628 if test "$wxUSE_IMAGLIST" = "yes"; then
43629 cat >>confdefs.h
<<\_ACEOF
43630 #define wxUSE_LISTCTRL 1
43634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43636 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43637 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43641 if test "$wxUSE_NOTEBOOK" = "yes"; then
43642 cat >>confdefs.h
<<\_ACEOF
43643 #define wxUSE_NOTEBOOK 1
43647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43651 if test "$wxUSE_RADIOBOX" = "yes"; then
43652 cat >>confdefs.h
<<\_ACEOF
43653 #define wxUSE_RADIOBOX 1
43659 if test "$wxUSE_RADIOBTN" = "yes"; then
43660 cat >>confdefs.h
<<\_ACEOF
43661 #define wxUSE_RADIOBTN 1
43667 if test "$wxUSE_SASH" = "yes"; then
43668 cat >>confdefs.h
<<\_ACEOF
43669 #define wxUSE_SASH 1
43672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43675 if test "$wxUSE_SCROLLBAR" = "yes"; then
43676 cat >>confdefs.h
<<\_ACEOF
43677 #define wxUSE_SCROLLBAR 1
43681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43684 if test "$wxUSE_SLIDER" = "yes"; then
43685 cat >>confdefs.h
<<\_ACEOF
43686 #define wxUSE_SLIDER 1
43692 if test "$wxUSE_SPINBTN" = "yes"; then
43693 cat >>confdefs.h
<<\_ACEOF
43694 #define wxUSE_SPINBTN 1
43700 if test "$wxUSE_SPINCTRL" = "yes"; then
43701 cat >>confdefs.h
<<\_ACEOF
43702 #define wxUSE_SPINCTRL 1
43708 if test "$wxUSE_SPLITTER" = "yes"; then
43709 cat >>confdefs.h
<<\_ACEOF
43710 #define wxUSE_SPLITTER 1
43713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43716 if test "$wxUSE_STATBMP" = "yes"; then
43717 cat >>confdefs.h
<<\_ACEOF
43718 #define wxUSE_STATBMP 1
43724 if test "$wxUSE_STATBOX" = "yes"; then
43725 cat >>confdefs.h
<<\_ACEOF
43726 #define wxUSE_STATBOX 1
43732 if test "$wxUSE_STATTEXT" = "yes"; then
43733 cat >>confdefs.h
<<\_ACEOF
43734 #define wxUSE_STATTEXT 1
43740 if test "$wxUSE_STATLINE" = "yes"; then
43741 cat >>confdefs.h
<<\_ACEOF
43742 #define wxUSE_STATLINE 1
43748 if test "$wxUSE_STATUSBAR" = "yes"; then
43749 cat >>confdefs.h
<<\_ACEOF
43750 #define wxUSE_NATIVE_STATUSBAR 1
43753 cat >>confdefs.h
<<\_ACEOF
43754 #define wxUSE_STATUSBAR 1
43759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43762 if test "$wxUSE_TABDIALOG" = "yes"; then
43763 cat >>confdefs.h
<<\_ACEOF
43764 #define wxUSE_TAB_DIALOG 1
43769 if test "$wxUSE_TEXTCTRL" = "yes"; then
43770 cat >>confdefs.h
<<\_ACEOF
43771 #define wxUSE_TEXTCTRL 1
43775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43778 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43779 if test "$wxUSE_COCOA" = 1 ; then
43780 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43781 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43784 if test "$wxUSE_UNIVERSAL" = "yes"; then
43785 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43786 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43790 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43791 cat >>confdefs.h
<<\_ACEOF
43792 #define wxUSE_TOGGLEBTN 1
43799 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43800 cat >>confdefs.h
<<\_ACEOF
43801 #define wxUSE_TOOLBAR_SIMPLE 1
43804 wxUSE_TOOLBAR
="yes"
43808 if test "$wxUSE_TOOLBAR" = "yes"; then
43809 cat >>confdefs.h
<<\_ACEOF
43810 #define wxUSE_TOOLBAR 1
43815 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43816 wxUSE_TOOLBAR_NATIVE
="yes"
43819 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43820 cat >>confdefs.h
<<\_ACEOF
43821 #define wxUSE_TOOLBAR_NATIVE 1
43827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
43830 if test "$wxUSE_TOOLTIPS" = "yes"; then
43831 if test "$wxUSE_MOTIF" = 1; then
43832 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43833 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43835 if test "$wxUSE_UNIVERSAL" = "yes"; then
43836 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43837 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43839 cat >>confdefs.h
<<\_ACEOF
43840 #define wxUSE_TOOLTIPS 1
43847 if test "$wxUSE_TREEBOOK" = "yes"; then
43848 cat >>confdefs.h
<<\_ACEOF
43849 #define wxUSE_TREEBOOK 1
43855 if test "$wxUSE_TREECTRL" = "yes"; then
43856 if test "$wxUSE_IMAGLIST" = "yes"; then
43857 cat >>confdefs.h
<<\_ACEOF
43858 #define wxUSE_TREECTRL 1
43862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
43864 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43865 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43869 if test "$wxUSE_POPUPWIN" = "yes"; then
43870 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43871 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43872 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43874 if test "$wxUSE_PM" = 1; then
43875 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43876 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43878 cat >>confdefs.h
<<\_ACEOF
43879 #define wxUSE_POPUPWIN 1
43882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
43889 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43890 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43891 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43892 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43894 cat >>confdefs.h
<<\_ACEOF
43895 #define wxUSE_DIALUP_MANAGER 1
43898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
43902 if test "$wxUSE_TIPWINDOW" = "yes"; then
43903 if test "$wxUSE_PM" = 1; then
43904 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
43905 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
43907 cat >>confdefs.h
<<\_ACEOF
43908 #define wxUSE_TIPWINDOW 1
43914 if test "$USES_CONTROLS" = 1; then
43915 cat >>confdefs.h
<<\_ACEOF
43916 #define wxUSE_CONTROLS 1
43922 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
43923 cat >>confdefs.h
<<\_ACEOF
43924 #define wxUSE_ACCESSIBILITY 1
43927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
43930 if test "$wxUSE_DC_CACHEING" = "yes"; then
43931 cat >>confdefs.h
<<\_ACEOF
43932 #define wxUSE_DC_CACHEING 1
43937 if test "$wxUSE_DRAGIMAGE" = "yes"; then
43938 cat >>confdefs.h
<<\_ACEOF
43939 #define wxUSE_DRAGIMAGE 1
43942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
43945 if test "$wxUSE_EXCEPTIONS" = "yes"; then
43946 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43947 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
43948 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
43950 cat >>confdefs.h
<<\_ACEOF
43951 #define wxUSE_EXCEPTIONS 1
43954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
43959 if test "$wxUSE_HTML" = "yes"; then
43960 cat >>confdefs.h
<<\_ACEOF
43961 #define wxUSE_HTML 1
43965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
43966 if test "$wxUSE_MAC" = 1; then
43967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
43970 if test "$wxUSE_WEBKIT" = "yes"; then
43971 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
43972 old_CPPFLAGS
="$CPPFLAGS"
43973 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
43974 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
43975 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
43976 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
43977 echo $ECHO_N "(cached) $ECHO_C" >&6
43979 cat >conftest.
$ac_ext <<_ACEOF
43982 cat confdefs.h
>>conftest.
$ac_ext
43983 cat >>conftest.
$ac_ext <<_ACEOF
43984 /* end confdefs.h. */
43985 #include <Carbon/Carbon.h>
43987 #include <WebKit/HIWebView.h>
43989 rm -f conftest.
$ac_objext
43990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43991 (eval $ac_compile) 2>conftest.er1
43993 grep -v '^ *+' conftest.er1
>conftest.err
43995 cat conftest.err
>&5
43996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43997 (exit $ac_status); } &&
43998 { ac_try
='test -z "$ac_c_werror_flag"
43999 || test ! -s conftest.err'
44000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44001 (eval $ac_try) 2>&5
44003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004 (exit $ac_status); }; } &&
44005 { ac_try
='test -s conftest.$ac_objext'
44006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44007 (eval $ac_try) 2>&5
44009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44010 (exit $ac_status); }; }; then
44011 ac_cv_header_WebKit_HIWebView_h
=yes
44013 echo "$as_me: failed program was:" >&5
44014 sed 's/^/| /' conftest.
$ac_ext >&5
44016 ac_cv_header_WebKit_HIWebView_h
=no
44018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44020 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44021 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44022 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44024 cat >>confdefs.h
<<\_ACEOF
44025 #define wxUSE_WEBKIT 1
44028 WEBKIT_LINK
="-framework WebKit"
44032 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44033 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44039 CPPFLAGS
="$old_CPPFLAGS"
44040 elif test "$wxUSE_COCOA" = 1; then
44041 cat >>confdefs.h
<<\_ACEOF
44042 #define wxUSE_WEBKIT 1
44051 if test "$wxUSE_XRC" = "yes"; then
44052 if test "$wxUSE_XML" != "yes"; then
44053 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44054 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44057 cat >>confdefs.h
<<\_ACEOF
44058 #define wxUSE_XRC 1
44062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44066 if test "$wxUSE_MENUS" = "yes"; then
44067 cat >>confdefs.h
<<\_ACEOF
44068 #define wxUSE_MENUS 1
44071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44074 if test "$wxUSE_METAFILE" = "yes"; then
44075 cat >>confdefs.h
<<\_ACEOF
44076 #define wxUSE_METAFILE 1
44081 if test "$wxUSE_MIMETYPE" = "yes"; then
44082 cat >>confdefs.h
<<\_ACEOF
44083 #define wxUSE_MIMETYPE 1
44088 if test "$wxUSE_MINIFRAME" = "yes"; then
44089 cat >>confdefs.h
<<\_ACEOF
44090 #define wxUSE_MINIFRAME 1
44093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44096 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44097 cat >>confdefs.h
<<\_ACEOF
44098 #define wxUSE_SYSTEM_OPTIONS 1
44101 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44102 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44108 if test "$wxUSE_VALIDATORS" = "yes"; then
44109 cat >>confdefs.h
<<\_ACEOF
44110 #define wxUSE_VALIDATORS 1
44113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44116 if test "$wxUSE_PALETTE" = "yes" ; then
44117 cat >>confdefs.h
<<\_ACEOF
44118 #define wxUSE_PALETTE 1
44123 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44124 LIBS
=" -lunicows $LIBS"
44128 if test "$wxUSE_RICHTEXT" = "yes"; then
44129 cat >>confdefs.h
<<\_ACEOF
44130 #define wxUSE_RICHTEXT 1
44134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44138 if test "$wxUSE_IMAGE" = "yes" ; then
44139 cat >>confdefs.h
<<\_ACEOF
44140 #define wxUSE_IMAGE 1
44144 if test "$wxUSE_GIF" = "yes" ; then
44145 cat >>confdefs.h
<<\_ACEOF
44146 #define wxUSE_GIF 1
44151 if test "$wxUSE_PCX" = "yes" ; then
44152 cat >>confdefs.h
<<\_ACEOF
44153 #define wxUSE_PCX 1
44158 if test "$wxUSE_IFF" = "yes" ; then
44159 cat >>confdefs.h
<<\_ACEOF
44160 #define wxUSE_IFF 1
44165 if test "$wxUSE_PNM" = "yes" ; then
44166 cat >>confdefs.h
<<\_ACEOF
44167 #define wxUSE_PNM 1
44172 if test "$wxUSE_XPM" = "yes" ; then
44173 cat >>confdefs.h
<<\_ACEOF
44174 #define wxUSE_XPM 1
44179 if test "$wxUSE_ICO_CUR" = "yes" ; then
44180 cat >>confdefs.h
<<\_ACEOF
44181 #define wxUSE_ICO_CUR 1
44188 if test "$wxUSE_CHOICEDLG" = "yes"; then
44189 cat >>confdefs.h
<<\_ACEOF
44190 #define wxUSE_CHOICEDLG 1
44195 if test "$wxUSE_COLOURDLG" = "yes"; then
44196 cat >>confdefs.h
<<\_ACEOF
44197 #define wxUSE_COLOURDLG 1
44202 if test "$wxUSE_FILEDLG" = "yes"; then
44203 cat >>confdefs.h
<<\_ACEOF
44204 #define wxUSE_FILEDLG 1
44209 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44210 cat >>confdefs.h
<<\_ACEOF
44211 #define wxUSE_FINDREPLDLG 1
44216 if test "$wxUSE_FONTDLG" = "yes"; then
44217 cat >>confdefs.h
<<\_ACEOF
44218 #define wxUSE_FONTDLG 1
44223 if test "$wxUSE_DIRDLG" = "yes"; then
44224 if test "$wxUSE_TREECTRL" != "yes"; then
44225 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44226 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44228 cat >>confdefs.h
<<\_ACEOF
44229 #define wxUSE_DIRDLG 1
44235 if test "$wxUSE_MSGDLG" = "yes"; then
44236 cat >>confdefs.h
<<\_ACEOF
44237 #define wxUSE_MSGDLG 1
44242 if test "$wxUSE_NUMBERDLG" = "yes"; then
44243 cat >>confdefs.h
<<\_ACEOF
44244 #define wxUSE_NUMBERDLG 1
44249 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44250 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44251 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44252 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44254 cat >>confdefs.h
<<\_ACEOF
44255 #define wxUSE_PROGRESSDLG 1
44261 if test "$wxUSE_SPLASH" = "yes"; then
44262 cat >>confdefs.h
<<\_ACEOF
44263 #define wxUSE_SPLASH 1
44266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44269 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44270 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44271 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44272 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44274 cat >>confdefs.h
<<\_ACEOF
44275 #define wxUSE_STARTUP_TIPS 1
44281 if test "$wxUSE_TEXTDLG" = "yes"; then
44282 cat >>confdefs.h
<<\_ACEOF
44283 #define wxUSE_TEXTDLG 1
44288 if test "$wxUSE_WIZARDDLG" = "yes"; then
44289 cat >>confdefs.h
<<\_ACEOF
44290 #define wxUSE_WIZARDDLG 1
44293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44297 if test "$wxUSE_MEDIACTRL" = "yes"; then
44298 if test "$wxUSE_GTK" = 1; then
44299 wxUSE_GSTREAMER
="yes"
44304 if test -z "$PKG_CONFIG"; then
44305 # Extract the first word of "pkg-config", so it can be a program name with args.
44306 set dummy pkg
-config; ac_word
=$2
44307 echo "$as_me:$LINENO: checking for $ac_word" >&5
44308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44309 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44310 echo $ECHO_N "(cached) $ECHO_C" >&6
44312 case $PKG_CONFIG in
44314 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44318 for as_dir
in $PATH
44321 test -z "$as_dir" && as_dir
=.
44322 for ac_exec_ext
in '' $ac_executable_extensions; do
44323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44324 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44331 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44335 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44337 if test -n "$PKG_CONFIG"; then
44338 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44339 echo "${ECHO_T}$PKG_CONFIG" >&6
44341 echo "$as_me:$LINENO: result: no" >&5
44342 echo "${ECHO_T}no" >&6
44347 if test "$PKG_CONFIG" = "no" ; then
44348 echo "*** The pkg-config script could not be found. Make sure it is"
44349 echo "*** in your path, or set the PKG_CONFIG environment variable"
44350 echo "*** to the full path to pkg-config."
44351 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44353 PKG_CONFIG_MIN_VERSION
=0.9.0
44354 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44355 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
44356 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
44358 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
44359 echo "$as_me:$LINENO: result: yes" >&5
44360 echo "${ECHO_T}yes" >&6
44363 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
44364 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
44365 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
44366 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
44367 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
44369 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
44370 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
44371 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
44372 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
44373 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
44375 GSTREAMER_CFLAGS
=""
44377 ## If we have a custom action on failure, don't print errors, but
44378 ## do set a variable so people can do so.
44379 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
44386 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44387 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44391 if test $succeeded = yes; then
44393 CPPFLAGS
="$GSTREAMER_CFLAGS $CPPFLAGS"
44394 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
44398 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
44399 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
44400 wxUSE_GSTREAMER
="no"
44408 if test "x$GST_INSPECT" == "x"; then
44409 # Extract the first word of "gst-inspect", so it can be a program name with args.
44410 set dummy gst
-inspect; ac_word
=$2
44411 echo "$as_me:$LINENO: checking for $ac_word" >&5
44412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44413 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
44414 echo $ECHO_N "(cached) $ECHO_C" >&6
44416 if test -n "$GST_INSPECT"; then
44417 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
44419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44420 for as_dir
in $PATH
44423 test -z "$as_dir" && as_dir
=.
44424 for ac_exec_ext
in '' $ac_executable_extensions; do
44425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44426 ac_cv_prog_GST_INSPECT
="gst-inspect"
44427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44435 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
44436 if test -n "$GST_INSPECT"; then
44437 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
44438 echo "${ECHO_T}$GST_INSPECT" >&6
44440 echo "$as_me:$LINENO: result: no" >&5
44441 echo "${ECHO_T}no" >&6
44446 if test "x$GST_INSPECT" != "x"; then
44447 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
44448 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
44449 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
44450 echo "$as_me:$LINENO: result: found." >&5
44451 echo "${ECHO_T}found." >&6
44454 echo "$as_me:$LINENO: result: not found." >&5
44455 echo "${ECHO_T}not found." >&6
44457 wxUSE_GSTREAMER
="no"
44458 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
44459 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
44465 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
44466 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
44467 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
44468 echo $ECHO_N "(cached) $ECHO_C" >&6
44470 cat >conftest.
$ac_ext <<_ACEOF
44473 cat confdefs.h
>>conftest.
$ac_ext
44474 cat >>conftest.
$ac_ext <<_ACEOF
44475 /* end confdefs.h. */
44476 #include <gst/gst.h>
44478 #include <gst/xoverlay/xoverlay.h>
44480 rm -f conftest.
$ac_objext
44481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44482 (eval $ac_compile) 2>conftest.er1
44484 grep -v '^ *+' conftest.er1
>conftest.err
44486 cat conftest.err
>&5
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); } &&
44489 { ac_try
='test -z "$ac_c_werror_flag"
44490 || test ! -s conftest.err'
44491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44492 (eval $ac_try) 2>&5
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); }; } &&
44496 { ac_try
='test -s conftest.$ac_objext'
44497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44498 (eval $ac_try) 2>&5
44500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501 (exit $ac_status); }; }; then
44502 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
44504 echo "$as_me: failed program was:" >&5
44505 sed 's/^/| /' conftest.
$ac_ext >&5
44507 ac_cv_header_gst_xoverlay_xoverlay_h
=no
44509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44511 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
44512 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
44513 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
44517 wxUSE_GSTREAMER
="no"
44518 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
44519 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
44525 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
44526 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
44529 for ac_dir
in $SEARCH_LIB;
44531 for ac_extension
in a so sl dylib dll.a
; do
44532 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
44533 ac_find_libraries
=$ac_dir
44540 if test "$ac_find_libraries" = "" ; then
44541 echo "$as_me:$LINENO: result: no" >&5
44542 echo "${ECHO_T}no" >&6
44543 wxUSE_GSTREAMER
="no"
44545 echo "$as_me:$LINENO: result: yes" >&5
44546 echo "${ECHO_T}yes" >&6
44549 if test "$wxUSE_GSTREAMER" = "yes"; then
44550 cat >>confdefs.h
<<\_ACEOF
44551 #define wxUSE_GSTREAMER 1
44554 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44555 echo "${ECHO_T}GStreamer detection successful" >&6
44558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44559 cat >>confdefs.h
<<\_ACEOF
44560 #define wxUSE_MEDIACTRL 1
44566 if test "$cross_compiling" = "yes"; then
44569 OSINFO
=`uname -s -r -m`
44570 OSINFO
="\"$OSINFO\""
44573 cat >>confdefs.h
<<_ACEOF
44574 #define WXWIN_OS_DESCRIPTION $OSINFO
44579 if test "x$prefix" != "xNONE"; then
44582 wxPREFIX
=$ac_default_prefix
44585 cat >>confdefs.h
<<_ACEOF
44586 #define wxINSTALL_PREFIX "$wxPREFIX"
44592 CORE_BASE_LIBS
="net base"
44593 CORE_GUI_LIBS
="adv core"
44595 if test "$wxUSE_XML" = "yes" ; then
44596 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44598 if test "$wxUSE_ODBC" != "no" ; then
44599 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44600 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44602 if test "$wxUSE_HTML" = "yes" ; then
44603 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44605 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44606 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44608 if test "$wxUSE_XRC" = "yes" ; then
44609 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44612 if test "$wxUSE_GUI" != "yes"; then
44623 if test "$wxUSE_MAC" = 1 ; then
44624 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44625 if test "$USE_DARWIN" = 1; then
44626 LDFLAGS
="$LDFLAGS -framework QuickTime"
44628 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44631 if test "$USE_DARWIN" = 1; then
44632 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44634 LDFLAGS
="$LDFLAGS -lCarbonLib"
44637 if test "$wxUSE_COCOA" = 1 ; then
44638 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44639 if test "$wxUSE_MEDIACTRL" = "yes"; then
44640 LDFLAGS
="$LDFLAGS -framework QuickTime"
44643 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44644 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44648 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44656 echo "$as_me:$LINENO: checking for $ac_func" >&5
44657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44658 if eval "test \"\${$as_ac_var+set}\" = set"; then
44659 echo $ECHO_N "(cached) $ECHO_C" >&6
44661 cat >conftest.
$ac_ext <<_ACEOF
44664 cat confdefs.h
>>conftest.
$ac_ext
44665 cat >>conftest.
$ac_ext <<_ACEOF
44666 /* end confdefs.h. */
44667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44669 #define $ac_func innocuous_$ac_func
44671 /* System header to define __stub macros and hopefully few prototypes,
44672 which can conflict with char $ac_func (); below.
44673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44674 <limits.h> exists even on freestanding compilers. */
44677 # include <limits.h>
44679 # include <assert.h>
44684 /* Override any gcc2 internal prototype to avoid an error. */
44689 /* We use char because int might match the return type of a gcc2
44690 builtin and then its argument prototype would still apply. */
44692 /* The GNU C library defines this for functions which it implements
44693 to always fail with ENOSYS. Some functions are actually named
44694 something starting with __ and the normal name is an alias. */
44695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44698 char (*f) () = $ac_func;
44707 return f != $ac_func;
44712 rm -f conftest.
$ac_objext conftest
$ac_exeext
44713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44714 (eval $ac_link) 2>conftest.er1
44716 grep -v '^ *+' conftest.er1
>conftest.err
44718 cat conftest.err
>&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } &&
44721 { ac_try
='test -z "$ac_c_werror_flag"
44722 || test ! -s conftest.err'
44723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44724 (eval $ac_try) 2>&5
44726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44727 (exit $ac_status); }; } &&
44728 { ac_try
='test -s conftest$ac_exeext'
44729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44730 (eval $ac_try) 2>&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); }; }; then
44734 eval "$as_ac_var=yes"
44736 echo "$as_me: failed program was:" >&5
44737 sed 's/^/| /' conftest.
$ac_ext >&5
44739 eval "$as_ac_var=no"
44741 rm -f conftest.err conftest.
$ac_objext \
44742 conftest
$ac_exeext conftest.
$ac_ext
44744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44746 if test `eval echo '${'$as_ac_var'}'` = yes; then
44747 cat >>confdefs.h
<<_ACEOF
44748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44755 for ac_func
in floor
44757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44758 echo "$as_me:$LINENO: checking for $ac_func" >&5
44759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44760 if eval "test \"\${$as_ac_var+set}\" = set"; then
44761 echo $ECHO_N "(cached) $ECHO_C" >&6
44763 cat >conftest.
$ac_ext <<_ACEOF
44766 cat confdefs.h
>>conftest.
$ac_ext
44767 cat >>conftest.
$ac_ext <<_ACEOF
44768 /* end confdefs.h. */
44769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44771 #define $ac_func innocuous_$ac_func
44773 /* System header to define __stub macros and hopefully few prototypes,
44774 which can conflict with char $ac_func (); below.
44775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44776 <limits.h> exists even on freestanding compilers. */
44779 # include <limits.h>
44781 # include <assert.h>
44786 /* Override any gcc2 internal prototype to avoid an error. */
44791 /* We use char because int might match the return type of a gcc2
44792 builtin and then its argument prototype would still apply. */
44794 /* The GNU C library defines this for functions which it implements
44795 to always fail with ENOSYS. Some functions are actually named
44796 something starting with __ and the normal name is an alias. */
44797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44800 char (*f) () = $ac_func;
44809 return f != $ac_func;
44814 rm -f conftest.
$ac_objext conftest
$ac_exeext
44815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44816 (eval $ac_link) 2>conftest.er1
44818 grep -v '^ *+' conftest.er1
>conftest.err
44820 cat conftest.err
>&5
44821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822 (exit $ac_status); } &&
44823 { ac_try
='test -z "$ac_c_werror_flag"
44824 || test ! -s conftest.err'
44825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44826 (eval $ac_try) 2>&5
44828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44829 (exit $ac_status); }; } &&
44830 { ac_try
='test -s conftest$ac_exeext'
44831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44832 (eval $ac_try) 2>&5
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); }; }; then
44836 eval "$as_ac_var=yes"
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.
$ac_ext >&5
44841 eval "$as_ac_var=no"
44843 rm -f conftest.err conftest.
$ac_objext \
44844 conftest
$ac_exeext conftest.
$ac_ext
44846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44848 if test `eval echo '${'$as_ac_var'}'` = yes; then
44849 cat >>confdefs.h
<<_ACEOF
44850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44856 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44857 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44858 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44859 echo "$as_me:$LINENO: result: yes" >&5
44860 echo "${ECHO_T}yes" >&6
44862 echo "$as_me:$LINENO: result: no" >&5
44863 echo "${ECHO_T}no" >&6
44865 # use different functions to avoid configure caching
44871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44872 echo "$as_me:$LINENO: checking for $ac_func" >&5
44873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44874 if eval "test \"\${$as_ac_var+set}\" = set"; then
44875 echo $ECHO_N "(cached) $ECHO_C" >&6
44877 cat >conftest.
$ac_ext <<_ACEOF
44880 cat confdefs.h
>>conftest.
$ac_ext
44881 cat >>conftest.
$ac_ext <<_ACEOF
44882 /* end confdefs.h. */
44883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44885 #define $ac_func innocuous_$ac_func
44887 /* System header to define __stub macros and hopefully few prototypes,
44888 which can conflict with char $ac_func (); below.
44889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44890 <limits.h> exists even on freestanding compilers. */
44893 # include <limits.h>
44895 # include <assert.h>
44900 /* Override any gcc2 internal prototype to avoid an error. */
44905 /* We use char because int might match the return type of a gcc2
44906 builtin and then its argument prototype would still apply. */
44908 /* The GNU C library defines this for functions which it implements
44909 to always fail with ENOSYS. Some functions are actually named
44910 something starting with __ and the normal name is an alias. */
44911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44914 char (*f) () = $ac_func;
44923 return f != $ac_func;
44928 rm -f conftest.
$ac_objext conftest
$ac_exeext
44929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44930 (eval $ac_link) 2>conftest.er1
44932 grep -v '^ *+' conftest.er1
>conftest.err
44934 cat conftest.err
>&5
44935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44936 (exit $ac_status); } &&
44937 { ac_try
='test -z "$ac_c_werror_flag"
44938 || test ! -s conftest.err'
44939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44940 (eval $ac_try) 2>&5
44942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44943 (exit $ac_status); }; } &&
44944 { ac_try
='test -s conftest$ac_exeext'
44945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44946 (eval $ac_try) 2>&5
44948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44949 (exit $ac_status); }; }; then
44950 eval "$as_ac_var=yes"
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.
$ac_ext >&5
44955 eval "$as_ac_var=no"
44957 rm -f conftest.err conftest.
$ac_objext \
44958 conftest
$ac_exeext conftest.
$ac_ext
44960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44962 if test `eval echo '${'$as_ac_var'}'` = yes; then
44963 cat >>confdefs.h
<<_ACEOF
44964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44971 for ac_func
in ceil
44973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44974 echo "$as_me:$LINENO: checking for $ac_func" >&5
44975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44976 if eval "test \"\${$as_ac_var+set}\" = set"; then
44977 echo $ECHO_N "(cached) $ECHO_C" >&6
44979 cat >conftest.
$ac_ext <<_ACEOF
44982 cat confdefs.h
>>conftest.
$ac_ext
44983 cat >>conftest.
$ac_ext <<_ACEOF
44984 /* end confdefs.h. */
44985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44987 #define $ac_func innocuous_$ac_func
44989 /* System header to define __stub macros and hopefully few prototypes,
44990 which can conflict with char $ac_func (); below.
44991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44992 <limits.h> exists even on freestanding compilers. */
44995 # include <limits.h>
44997 # include <assert.h>
45002 /* Override any gcc2 internal prototype to avoid an error. */
45007 /* We use char because int might match the return type of a gcc2
45008 builtin and then its argument prototype would still apply. */
45010 /* The GNU C library defines this for functions which it implements
45011 to always fail with ENOSYS. Some functions are actually named
45012 something starting with __ and the normal name is an alias. */
45013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45016 char (*f) () = $ac_func;
45025 return f != $ac_func;
45030 rm -f conftest.
$ac_objext conftest
$ac_exeext
45031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45032 (eval $ac_link) 2>conftest.er1
45034 grep -v '^ *+' conftest.er1
>conftest.err
45036 cat conftest.err
>&5
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); } &&
45039 { ac_try
='test -z "$ac_c_werror_flag"
45040 || test ! -s conftest.err'
45041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45042 (eval $ac_try) 2>&5
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); }; } &&
45046 { ac_try
='test -s conftest$ac_exeext'
45047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45048 (eval $ac_try) 2>&5
45050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45051 (exit $ac_status); }; }; then
45052 eval "$as_ac_var=yes"
45054 echo "$as_me: failed program was:" >&5
45055 sed 's/^/| /' conftest.
$ac_ext >&5
45057 eval "$as_ac_var=no"
45059 rm -f conftest.err conftest.
$ac_objext \
45060 conftest
$ac_exeext conftest.
$ac_ext
45062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45064 if test `eval echo '${'$as_ac_var'}'` = yes; then
45065 cat >>confdefs.h
<<_ACEOF
45066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45072 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45073 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45074 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45075 echo "$as_me:$LINENO: result: yes" >&5
45076 echo "${ECHO_T}yes" >&6
45078 echo "$as_me:$LINENO: result: no" >&5
45079 echo "${ECHO_T}no" >&6
45080 # not sure we should warn the user, crash, etc.
45084 if test "$wxUSE_GUI" = "yes"; then
45087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45088 dynamic erase event exec font image minimal mobile \
45089 mobile/wxedit mobile/styles propsize render \
45090 richedit rotate shaped vscroll widgets"
45092 if test "$wxUSE_MONOLITHIC" != "yes"; then
45093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45095 if test "$TOOLKIT" = "MSW"; then
45096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45097 if test "$wxUSE_UNIVERSAL" != "yes"; then
45098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45101 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45105 SAMPLES_SUBDIRS
="console"
45109 if test "x$INTELCC" = "xyes" ; then
45110 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45111 elif test "$GCC" = yes ; then
45112 CWARNINGS
="-Wall -Wundef"
45115 if test "x$INTELCXX" = "xyes" ; then
45116 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45117 elif test "$GXX" = yes ; then
45118 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45122 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45123 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45126 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45127 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45128 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45131 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45132 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45133 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45135 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45138 if test "x$MWCC" = "xyes"; then
45140 CC
="$CC -cwd source -I-"
45141 CXX
="$CXX -cwd source -I-"
45146 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45147 EXTRALIBS_XML
="$EXPAT_LINK"
45148 EXTRALIBS_HTML
="$MSPACK_LINK"
45149 EXTRALIBS_ODBC
="$ODBC_LINK"
45150 if test "$wxUSE_GUI" = "yes"; then
45151 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
45153 if test "$wxUSE_OPENGL" = "yes"; then
45154 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45157 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45159 WXCONFIG_LIBS
="$LIBS"
45161 if test "$wxUSE_REGEX" = "builtin" ; then
45162 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45164 if test "$wxUSE_EXPAT" = "builtin" ; then
45165 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45167 if test "$wxUSE_ODBC" = "builtin" ; then
45168 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45170 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45171 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45173 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45174 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45176 if test "$wxUSE_LIBPNG" = "builtin" ; then
45177 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45179 if test "$wxUSE_ZLIB" = "builtin" ; then
45180 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45183 for i
in $wxconfig_3rdparty ; do
45184 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45188 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45202 if test $wxUSE_MONOLITHIC = "yes" ; then
45208 if test $wxUSE_PLUGINS = "yes" ; then
45214 if test $wxUSE_ODBC != "no" ; then
45220 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45226 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45255 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45266 TOOLKIT_USER
="GTK+"
45267 if test "$WXGTK20" = 1; then
45268 TOOLKIT_USER
="$TOOLKIT_USER 2"
45273 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45277 if test "$wxUSE_WINE" = "yes"; then
45278 BAKEFILE_FORCE_PLATFORM
=win32
45284 if test "x$BAKEFILE_HOST" = "x"; then
45285 BAKEFILE_HOST
="${host}"
45288 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45290 if test -n "$ac_tool_prefix"; then
45291 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45292 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45293 echo "$as_me:$LINENO: checking for $ac_word" >&5
45294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45295 if test "${ac_cv_prog_RANLIB+set}" = set; then
45296 echo $ECHO_N "(cached) $ECHO_C" >&6
45298 if test -n "$RANLIB"; then
45299 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45302 for as_dir
in $PATH
45305 test -z "$as_dir" && as_dir
=.
45306 for ac_exec_ext
in '' $ac_executable_extensions; do
45307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45308 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45317 RANLIB
=$ac_cv_prog_RANLIB
45318 if test -n "$RANLIB"; then
45319 echo "$as_me:$LINENO: result: $RANLIB" >&5
45320 echo "${ECHO_T}$RANLIB" >&6
45322 echo "$as_me:$LINENO: result: no" >&5
45323 echo "${ECHO_T}no" >&6
45327 if test -z "$ac_cv_prog_RANLIB"; then
45328 ac_ct_RANLIB
=$RANLIB
45329 # Extract the first word of "ranlib", so it can be a program name with args.
45330 set dummy ranlib
; ac_word
=$2
45331 echo "$as_me:$LINENO: checking for $ac_word" >&5
45332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45333 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45334 echo $ECHO_N "(cached) $ECHO_C" >&6
45336 if test -n "$ac_ct_RANLIB"; then
45337 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45340 for as_dir
in $PATH
45343 test -z "$as_dir" && as_dir
=.
45344 for ac_exec_ext
in '' $ac_executable_extensions; do
45345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45346 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45353 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45356 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45357 if test -n "$ac_ct_RANLIB"; then
45358 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45359 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45361 echo "$as_me:$LINENO: result: no" >&5
45362 echo "${ECHO_T}no" >&6
45365 RANLIB
=$ac_ct_RANLIB
45367 RANLIB
="$ac_cv_prog_RANLIB"
45370 # Find a good install program. We prefer a C program (faster),
45371 # so one script is as good as another. But avoid the broken or
45372 # incompatible versions:
45373 # SysV /etc/install, /usr/sbin/install
45374 # SunOS /usr/etc/install
45375 # IRIX /sbin/install
45377 # AmigaOS /C/install, which installs bootblocks on floppy discs
45378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45381 # OS/2's system install, which has a completely different semantic
45382 # ./install, which can be erroneously created by make from ./install.sh.
45383 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45384 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45385 if test -z "$INSTALL"; then
45386 if test "${ac_cv_path_install+set}" = set; then
45387 echo $ECHO_N "(cached) $ECHO_C" >&6
45389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45390 for as_dir
in $PATH
45393 test -z "$as_dir" && as_dir
=.
45394 # Account for people who put trailing slashes in PATH elements.
45396 .
/ | .
// | /cC
/* | \
45397 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45398 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45401 # OSF1 and SCO ODT 3.0 have their own names for install.
45402 # Don't use installbsd from OSF since it installs stuff as root
45404 for ac_prog
in ginstall scoinst
install; do
45405 for ac_exec_ext
in '' $ac_executable_extensions; do
45406 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45407 if test $ac_prog = install &&
45408 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45409 # AIX install. It has an incompatible calling convention.
45411 elif test $ac_prog = install &&
45412 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45413 # program-specific install script used by HP pwplus--don't use.
45416 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45428 if test "${ac_cv_path_install+set}" = set; then
45429 INSTALL
=$ac_cv_path_install
45431 # As a last resort, use the slow shell script. We don't cache a
45432 # path for INSTALL within a source directory, because that will
45433 # break other packages using the cache if that directory is
45434 # removed, or if the path is relative.
45435 INSTALL
=$ac_install_sh
45438 echo "$as_me:$LINENO: result: $INSTALL" >&5
45439 echo "${ECHO_T}$INSTALL" >&6
45441 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45442 # It thinks the first close brace ends the variable substitution.
45443 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45445 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45447 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45449 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45450 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45452 if test "$LN_S" = "ln -s"; then
45453 echo "$as_me:$LINENO: result: yes" >&5
45454 echo "${ECHO_T}yes" >&6
45456 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45457 echo "${ECHO_T}no, using $LN_S" >&6
45461 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45462 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45463 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45464 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45465 echo $ECHO_N "(cached) $ECHO_C" >&6
45467 cat >conftest.
make <<\_ACEOF
45469 @
echo 'ac_maketemp="$(MAKE)"'
45471 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45472 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45473 if test -n "$ac_maketemp"; then
45474 eval ac_cv_prog_make_
${ac_make}_set
=yes
45476 eval ac_cv_prog_make_
${ac_make}_set
=no
45478 rm -f conftest.
make
45480 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45481 echo "$as_me:$LINENO: result: yes" >&5
45482 echo "${ECHO_T}yes" >&6
45485 echo "$as_me:$LINENO: result: no" >&5
45486 echo "${ECHO_T}no" >&6
45487 SET_MAKE
="MAKE=${MAKE-make}"
45492 if test -n "$ac_tool_prefix"; then
45493 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45494 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45495 echo "$as_me:$LINENO: checking for $ac_word" >&5
45496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45497 if test "${ac_cv_prog_AR+set}" = set; then
45498 echo $ECHO_N "(cached) $ECHO_C" >&6
45500 if test -n "$AR"; then
45501 ac_cv_prog_AR
="$AR" # Let the user override the test.
45503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45504 for as_dir
in $PATH
45507 test -z "$as_dir" && as_dir
=.
45508 for ac_exec_ext
in '' $ac_executable_extensions; do
45509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45510 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45520 if test -n "$AR"; then
45521 echo "$as_me:$LINENO: result: $AR" >&5
45522 echo "${ECHO_T}$AR" >&6
45524 echo "$as_me:$LINENO: result: no" >&5
45525 echo "${ECHO_T}no" >&6
45529 if test -z "$ac_cv_prog_AR"; then
45531 # Extract the first word of "ar", so it can be a program name with args.
45532 set dummy
ar; ac_word
=$2
45533 echo "$as_me:$LINENO: checking for $ac_word" >&5
45534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45535 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45536 echo $ECHO_N "(cached) $ECHO_C" >&6
45538 if test -n "$ac_ct_AR"; then
45539 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45542 for as_dir
in $PATH
45545 test -z "$as_dir" && as_dir
=.
45546 for ac_exec_ext
in '' $ac_executable_extensions; do
45547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45548 ac_cv_prog_ac_ct_AR
="ar"
45549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45555 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45558 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45559 if test -n "$ac_ct_AR"; then
45560 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45561 echo "${ECHO_T}$ac_ct_AR" >&6
45563 echo "$as_me:$LINENO: result: no" >&5
45564 echo "${ECHO_T}no" >&6
45569 AR
="$ac_cv_prog_AR"
45572 if test -n "$ac_tool_prefix"; then
45573 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45574 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45575 echo "$as_me:$LINENO: checking for $ac_word" >&5
45576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45577 if test "${ac_cv_prog_STRIP+set}" = set; then
45578 echo $ECHO_N "(cached) $ECHO_C" >&6
45580 if test -n "$STRIP"; then
45581 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45584 for as_dir
in $PATH
45587 test -z "$as_dir" && as_dir
=.
45588 for ac_exec_ext
in '' $ac_executable_extensions; do
45589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45590 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45599 STRIP
=$ac_cv_prog_STRIP
45600 if test -n "$STRIP"; then
45601 echo "$as_me:$LINENO: result: $STRIP" >&5
45602 echo "${ECHO_T}$STRIP" >&6
45604 echo "$as_me:$LINENO: result: no" >&5
45605 echo "${ECHO_T}no" >&6
45609 if test -z "$ac_cv_prog_STRIP"; then
45611 # Extract the first word of "strip", so it can be a program name with args.
45612 set dummy strip
; ac_word
=$2
45613 echo "$as_me:$LINENO: checking for $ac_word" >&5
45614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45615 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45616 echo $ECHO_N "(cached) $ECHO_C" >&6
45618 if test -n "$ac_ct_STRIP"; then
45619 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45622 for as_dir
in $PATH
45625 test -z "$as_dir" && as_dir
=.
45626 for ac_exec_ext
in '' $ac_executable_extensions; do
45627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45628 ac_cv_prog_ac_ct_STRIP
="strip"
45629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45635 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45638 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45639 if test -n "$ac_ct_STRIP"; then
45640 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45641 echo "${ECHO_T}$ac_ct_STRIP" >&6
45643 echo "$as_me:$LINENO: result: no" >&5
45644 echo "${ECHO_T}no" >&6
45649 STRIP
="$ac_cv_prog_STRIP"
45652 if test -n "$ac_tool_prefix"; then
45653 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45654 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45655 echo "$as_me:$LINENO: checking for $ac_word" >&5
45656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45657 if test "${ac_cv_prog_NM+set}" = set; then
45658 echo $ECHO_N "(cached) $ECHO_C" >&6
45660 if test -n "$NM"; then
45661 ac_cv_prog_NM
="$NM" # Let the user override the test.
45663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45664 for as_dir
in $PATH
45667 test -z "$as_dir" && as_dir
=.
45668 for ac_exec_ext
in '' $ac_executable_extensions; do
45669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45670 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45680 if test -n "$NM"; then
45681 echo "$as_me:$LINENO: result: $NM" >&5
45682 echo "${ECHO_T}$NM" >&6
45684 echo "$as_me:$LINENO: result: no" >&5
45685 echo "${ECHO_T}no" >&6
45689 if test -z "$ac_cv_prog_NM"; then
45691 # Extract the first word of "nm", so it can be a program name with args.
45692 set dummy nm
; ac_word
=$2
45693 echo "$as_me:$LINENO: checking for $ac_word" >&5
45694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45695 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45696 echo $ECHO_N "(cached) $ECHO_C" >&6
45698 if test -n "$ac_ct_NM"; then
45699 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45702 for as_dir
in $PATH
45705 test -z "$as_dir" && as_dir
=.
45706 for ac_exec_ext
in '' $ac_executable_extensions; do
45707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45708 ac_cv_prog_ac_ct_NM
="nm"
45709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45715 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45718 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45719 if test -n "$ac_ct_NM"; then
45720 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45721 echo "${ECHO_T}$ac_ct_NM" >&6
45723 echo "$as_me:$LINENO: result: no" >&5
45724 echo "${ECHO_T}no" >&6
45729 NM
="$ac_cv_prog_NM"
45733 case ${BAKEFILE_HOST} in
45735 INSTALL_DIR
="mkdir -p"
45737 *) INSTALL_DIR
="$INSTALL -d"
45743 case ${BAKEFILE_HOST} in
45744 *-*-cygwin* | *-*-mingw32* )
45745 LDFLAGS_GUI
="-mwindows"
45751 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45752 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45753 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45754 echo $ECHO_N "(cached) $ECHO_C" >&6
45757 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45758 egrep -s GNU
> /dev
/null
); then
45759 bakefile_cv_prog_makeisgnu
="yes"
45761 bakefile_cv_prog_makeisgnu
="no"
45765 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45766 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45768 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45785 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45786 case "${BAKEFILE_HOST}" in
45793 *-pc-os2_emx | *-pc-os2-emx )
45803 powerpc
-apple-macos* )
45812 case "$BAKEFILE_FORCE_PLATFORM" in
45833 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45834 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45835 { (exit 1); exit 1; }; }
45850 # Check whether --enable-omf or --disable-omf was given.
45851 if test "${enable_omf+set}" = set; then
45852 enableval
="$enable_omf"
45853 bk_os2_use_omf
="$enableval"
45856 case "${BAKEFILE_HOST}" in
45858 if test "x$GCC" = "xyes"; then
45859 CFLAGS
="$CFLAGS -fno-common"
45860 CXXFLAGS
="$CXXFLAGS -fno-common"
45862 if test "x$XLCC" = "xyes"; then
45863 CFLAGS
="$CFLAGS -qnocommon"
45864 CXXFLAGS
="$CXXFLAGS -qnocommon"
45868 *-pc-os2_emx | *-pc-os2-emx )
45869 if test "x$bk_os2_use_omf" = "xyes" ; then
45872 LDFLAGS
="-Zomf $LDFLAGS"
45873 CFLAGS
="-Zomf $CFLAGS"
45874 CXXFLAGS
="-Zomf $CXXFLAGS"
45882 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45888 SO_SUFFIX_MODULE
="so"
45893 DLLPREFIX_MODULE
=""
45897 case "${BAKEFILE_HOST}" in
45900 SO_SUFFIX_MODULE
="sl"
45904 SO_SUFFIX_MODULE
="a"
45908 SO_SUFFIX_MODULE
="dll"
45909 DLLIMP_SUFFIX
="dll.a"
45916 SO_SUFFIX_MODULE
="dll"
45917 DLLIMP_SUFFIX
="dll.a"
45927 *-pc-os2_emx | *-pc-os2-emx )
45929 SO_SUFFIX_MODULE
="dll"
45930 DLLIMP_SUFFIX
=$OS2_LIBEXT
45934 LIBEXT
=".$OS2_LIBEXT"
45939 SO_SUFFIX_MODULE
="bundle"
45943 if test "x$DLLIMP_SUFFIX" = "x" ; then
45944 DLLIMP_SUFFIX
="$SO_SUFFIX"
45959 if test "x$GCC" = "xyes"; then
45963 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
45964 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
45967 case "${BAKEFILE_HOST}" in
45969 if test "x$GCC" != "xyes"; then
45970 LDFLAGS
="$LDFLAGS -L/usr/lib"
45972 SHARED_LD_CC
="${CC} -b -o"
45973 SHARED_LD_CXX
="${CXX} -b -o"
45979 if test "x$GCC" != "xyes"; then
45980 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45981 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45982 if test "${bakefile_cv_prog_icc+set}" = set; then
45983 echo $ECHO_N "(cached) $ECHO_C" >&6
45986 cat >conftest.
$ac_ext <<_ACEOF
45989 cat confdefs.h
>>conftest.
$ac_ext
45990 cat >>conftest.
$ac_ext <<_ACEOF
45991 /* end confdefs.h. */
45997 #ifndef __INTEL_COMPILER
46005 rm -f conftest.
$ac_objext
46006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46007 (eval $ac_compile) 2>conftest.er1
46009 grep -v '^ *+' conftest.er1
>conftest.err
46011 cat conftest.err
>&5
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); } &&
46014 { ac_try
='test -z "$ac_c_werror_flag"
46015 || test ! -s conftest.err'
46016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46017 (eval $ac_try) 2>&5
46019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020 (exit $ac_status); }; } &&
46021 { ac_try
='test -s conftest.$ac_objext'
46022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46023 (eval $ac_try) 2>&5
46025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46026 (exit $ac_status); }; }; then
46027 bakefile_cv_prog_icc
=yes
46029 echo "$as_me: failed program was:" >&5
46030 sed 's/^/| /' conftest.
$ac_ext >&5
46032 bakefile_cv_prog_icc
=no
46035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46038 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46039 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46040 if test "$bakefile_cv_prog_icc" = "yes"; then
46047 if test "x$GCC" != xyes
; then
46048 SHARED_LD_CC
="${CC} -G -o"
46049 SHARED_LD_CXX
="${CXX} -G -o"
46057 cat <<EOF >shared-ld-sh
46059 #-----------------------------------------------------------------------------
46060 #-- Name: distrib/mac/shared-ld-sh
46061 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46062 #-- Author: Gilles Depeyrot
46063 #-- Copyright: (c) 2002 Gilles Depeyrot
46064 #-- Licence: any use permitted
46065 #-----------------------------------------------------------------------------
46070 linking_flag="-dynamiclib"
46071 ldargs="-r -keep_private_externs -nostdlib"
46073 while test ${D}# -gt 0; do
46080 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46081 # collect these options and values
46082 args="${D}{args} ${D}1 ${D}2"
46087 # collect these load args
46088 ldargs="${D}{ldargs} ${D}1"
46091 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46092 # collect these options
46093 args="${D}{args} ${D}1"
46096 -dynamiclib|-bundle)
46097 linking_flag="${D}1"
46101 echo "shared-ld: unhandled option '${D}1'"
46105 *.o | *.a | *.dylib)
46106 # collect object files
46107 objects="${D}{objects} ${D}1"
46111 echo "shared-ld: unhandled argument '${D}1'"
46122 # Link one module containing all the others
46124 if test ${D}{verbose} = 1; then
46125 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46127 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46131 # Link the shared library from the single module created, but only if the
46132 # previous command didn't fail:
46134 if test ${D}{status} = 0; then
46135 if test ${D}{verbose} = 1; then
46136 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46138 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46143 # Remove intermediate module
46145 rm -f master.${D}${D}.o
46150 chmod +x shared
-ld-sh
46152 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46153 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46156 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46157 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46158 if test "${bakefile_cv_gcc31+set}" = set; then
46159 echo $ECHO_N "(cached) $ECHO_C" >&6
46162 cat >conftest.
$ac_ext <<_ACEOF
46165 cat confdefs.h
>>conftest.
$ac_ext
46166 cat >>conftest.
$ac_ext <<_ACEOF
46167 /* end confdefs.h. */
46173 #if (__GNUC__ < 3) || \
46174 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46182 rm -f conftest.
$ac_objext
46183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46184 (eval $ac_compile) 2>conftest.er1
46186 grep -v '^ *+' conftest.er1
>conftest.err
46188 cat conftest.err
>&5
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); } &&
46191 { ac_try
='test -z "$ac_c_werror_flag"
46192 || test ! -s conftest.err'
46193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46194 (eval $ac_try) 2>&5
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); }; } &&
46198 { ac_try
='test -s conftest.$ac_objext'
46199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46200 (eval $ac_try) 2>&5
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); }; }; then
46205 bakefile_cv_gcc31
=yes
46208 echo "$as_me: failed program was:" >&5
46209 sed 's/^/| /' conftest.
$ac_ext >&5
46212 bakefile_cv_gcc31
=no
46216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46219 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46220 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46221 if test "$bakefile_cv_gcc31" = "no"; then
46222 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46223 SHARED_LD_CXX
="$SHARED_LD_CC"
46225 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46226 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46229 if test "x$GCC" == "xyes"; then
46230 PIC_FLAG
="-dynamic -fPIC"
46232 if test "x$XLCC" = "xyes"; then
46233 PIC_FLAG
="-dynamic -DPIC"
46238 if test "x$GCC" = "xyes"; then
46241 case "${BAKEFILE_HOST}" in
46243 LD_EXPFULL
="-Wl,-bexpfull"
46247 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46248 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46250 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46251 set dummy makeC
++SharedLib
; ac_word
=$2
46252 echo "$as_me:$LINENO: checking for $ac_word" >&5
46253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46254 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46257 if test -n "$AIX_CXX_LD"; then
46258 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46261 for as_dir
in $PATH
46264 test -z "$as_dir" && as_dir
=.
46265 for ac_exec_ext
in '' $ac_executable_extensions; do
46266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46267 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46274 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46277 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46278 if test -n "$AIX_CXX_LD"; then
46279 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46280 echo "${ECHO_T}$AIX_CXX_LD" >&6
46282 echo "$as_me:$LINENO: result: no" >&5
46283 echo "${ECHO_T}no" >&6
46286 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46287 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46292 SHARED_LD_CC
="${LD} -nostart -o"
46293 SHARED_LD_CXX
="${LD} -nostart -o"
46297 if test "x$GCC" != "xyes"; then
46302 *-*-cygwin* | *-*-mingw32* )
46304 SHARED_LD_CC
="\$(CC) -shared -o"
46305 SHARED_LD_CXX
="\$(CXX) -shared -o"
46309 *-pc-os2_emx | *-pc-os2-emx )
46310 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46311 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46315 cat <<EOF >dllar.sh
46318 # dllar - a tool to build both a .dll and an .a file
46319 # from a set of object (.o) files for EMX/OS2.
46321 # Written by Andrew Zabolotny, bit@freya.etu.ru
46322 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46324 # This script will accept a set of files on the command line.
46325 # All the public symbols from the .o files will be exported into
46326 # a .DEF file, then linker will be run (through gcc) against them to
46327 # build a shared library consisting of all given .o files. All libraries
46328 # (.a) will be first decompressed into component .o files then act as
46329 # described above. You can optionally give a description (-d "description")
46330 # which will be put into .DLL. To see the list of accepted options (as well
46331 # as command-line format) simply run this program without options. The .DLL
46332 # is built to be imported by name (there is no guarantee that new versions
46333 # of the library you build will have same ordinals for same symbols).
46335 # dllar is free software; you can redistribute it and/or modify
46336 # it under the terms of the GNU General Public License as published by
46337 # the Free Software Foundation; either version 2, or (at your option)
46338 # any later version.
46340 # dllar is distributed in the hope that it will be useful,
46341 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46342 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46343 # GNU General Public License for more details.
46345 # You should have received a copy of the GNU General Public License
46346 # along with dllar; see the file COPYING. If not, write to the Free
46347 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46350 # To successfuly run this program you will need:
46351 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46352 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46354 # (used to build the .dll)
46356 # (used to create .def file from .o files)
46358 # (used to create .a file from .def file)
46359 # - GNU text utilites (cat, sort, uniq)
46360 # used to process emxexp output
46361 # - GNU file utilities (mv, rm)
46363 # - lxlite (optional, see flag below)
46364 # (used for general .dll cleanup)
46371 # basnam, variant of basename, which does _not_ remove the path, _iff_
46372 # second argument (suffix to remove) is given
46376 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46379 echo ${D}1 | sed 's/'${D}2'${D}//'
46382 echo "error in basnam ${D}*"
46388 # Cleanup temporary files and output
46391 for i in ${D}inputFiles ; do
46394 rm -rf \`basnam ${D}i !\`
46401 # Kill result in case of failure as there is just to many stupid make/nmake
46402 # things out there which doesn't do this.
46403 if [ ${D}# -eq 0 ]; then
46404 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46408 # Print usage and exit script with rc=1.
46410 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46411 echo ' [-name-mangler-script script.sh]'
46412 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46413 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46414 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46415 echo ' [*.o] [*.a]'
46416 echo '*> "output_file" should have no extension.'
46417 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46418 echo ' The import library name is derived from this and is set to "name".a,'
46419 echo ' unless overridden by -import'
46420 echo '*> "importlib_name" should have no extension.'
46421 echo ' If it has the .o, or .a extension, it is automatically removed.'
46422 echo ' This name is used as the import library name and may be longer and'
46423 echo ' more descriptive than the DLL name which has to follow the old '
46424 echo ' 8.3 convention of FAT.'
46425 echo '*> "script.sh may be given to override the output_file name by a'
46426 echo ' different name. It is mainly useful if the regular make process'
46427 echo ' of some package does not take into account OS/2 restriction of'
46428 echo ' DLL name lengths. It takes the importlib name as input and is'
46429 echo ' supposed to procude a shorter name as output. The script should'
46430 echo ' expect to get importlib_name without extension and should produce'
46431 echo ' a (max.) 8 letter name without extension.'
46432 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46433 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46434 echo ' These flags will be put at the start of GCC command line.'
46435 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46436 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46437 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46438 echo ' If the last character of a symbol is "*", all symbols beginning'
46439 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46440 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46441 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46442 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46443 echo ' C runtime DLLs.'
46444 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46445 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46446 echo ' unchanged to GCC at the end of command line.'
46447 echo '*> If you create a DLL from a library and you do not specify -o,'
46448 echo ' the basename for DLL and import library will be set to library name,'
46449 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46450 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46451 echo ' library will be renamed into gcc_s.a.'
46454 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46455 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46460 # Execute a command.
46461 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46462 # @Uses Whatever CleanUp() uses.
46468 if [ ${D}rcCmd -ne 0 ]; then
46469 echo "command failed, exit code="${D}rcCmd
46484 CFLAGS="-s -Zcrtdll"
46486 EXPORT_BY_ORDINALS=0
46491 case ${D}curDirS in
46495 curDirS=${D}{curDirS}"/"
46498 # Parse commandline
46501 while [ ${D}1 ]; do
46504 EXPORT_BY_ORDINALS=1;
46514 -name-mangler-script)
46535 exclude_symbols=${D}{exclude_symbols}${D}1" "
46539 library_flags=${D}{library_flags}${D}1" "
46558 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46561 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46562 if [ ${D}omfLinking -eq 1 ]; then
46563 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46565 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46570 if [ ${D}libsToLink -ne 0 ]; then
46571 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46573 for file in ${D}1 ; do
46574 if [ -f ${D}file ]; then
46575 inputFiles="${D}{inputFiles} ${D}file"
46579 if [ ${D}found -eq 0 ]; then
46580 echo "ERROR: No file(s) found: "${D}1
46587 done # iterate cmdline words
46590 if [ -z "${D}inputFiles" ]; then
46591 echo "dllar: no input files"
46595 # Now extract all .o files from .a files
46597 for file in ${D}inputFiles ; do
46608 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46613 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46615 if [ ${D}? -ne 0 ]; then
46616 echo "Failed to create subdirectory ./${D}dirname"
46620 # Append '!' to indicate archive
46621 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46622 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46625 for subfile in ${D}dirname/*.o* ; do
46626 if [ -f ${D}subfile ]; then
46628 if [ -s ${D}subfile ]; then
46629 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46630 newInputFiles="${D}newInputFiles ${D}subfile"
46634 if [ ${D}found -eq 0 ]; then
46635 echo "WARNING: there are no files in archive \\'${D}file\\'"
46639 newInputFiles="${D}{newInputFiles} ${D}file"
46643 inputFiles="${D}newInputFiles"
46645 # Output filename(s).
46647 if [ -z ${D}outFile ]; then
46649 set outFile ${D}inputFiles; outFile=${D}2
46652 # If it is an archive, remove the '!' and the '_%' suffixes
46653 case ${D}outFile in
46655 outFile=\`basnam ${D}outFile _%!\`
46660 case ${D}outFile in
46662 outFile=\`basnam ${D}outFile .dll\`
46665 outFile=\`basnam ${D}outFile .DLL\`
46668 outFile=\`basnam ${D}outFile .o\`
46671 outFile=\`basnam ${D}outFile .obj\`
46674 outFile=\`basnam ${D}outFile .a\`
46677 outFile=\`basnam ${D}outFile .lib\`
46682 case ${D}outimpFile in
46684 outimpFile=\`basnam ${D}outimpFile .a\`
46687 outimpFile=\`basnam ${D}outimpFile .lib\`
46692 if [ -z ${D}outimpFile ]; then
46693 outimpFile=${D}outFile
46695 defFile="${D}{outFile}.def"
46696 arcFile="${D}{outimpFile}.a"
46697 arcFile2="${D}{outimpFile}.lib"
46699 #create ${D}dllFile as something matching 8.3 restrictions,
46700 if [ -z ${D}renameScript ] ; then
46701 dllFile="${D}outFile"
46703 dllFile=\`${D}renameScript ${D}outimpFile\`
46706 if [ ${D}do_backup -ne 0 ] ; then
46707 if [ -f ${D}arcFile ] ; then
46708 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46710 if [ -f ${D}arcFile2 ] ; then
46711 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46715 # Extract public symbols from all the object files.
46716 tmpdefFile=${D}{defFile}_%
46717 rm -f ${D}tmpdefFile
46718 for file in ${D}inputFiles ; do
46723 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46728 # Create the def file.
46730 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46731 dllFile="${D}{dllFile}.dll"
46732 if [ ! -z ${D}description ]; then
46733 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46735 echo "EXPORTS" >> ${D}defFile
46737 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46738 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46740 # Checks if the export is ok or not.
46741 for word in ${D}exclude_symbols; do
46742 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46743 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46747 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46748 sed "=" < ${D}tmpdefFile | \\
46752 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46754 ' > ${D}{tmpdefFile}%
46755 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46757 rm -f ${D}{tmpdefFile}%
46759 cat ${D}tmpdefFile >> ${D}defFile
46760 rm -f ${D}tmpdefFile
46762 # Do linking, create implib, and apply lxlite.
46764 for file in ${D}inputFiles ; do
46769 gccCmdl="${D}gccCmdl ${D}file"
46773 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46774 touch "${D}{outFile}.dll"
46776 doCommand "emximp -o ${D}arcFile ${D}defFile"
46777 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46779 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46782 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46784 doCommand "emxomf -s -l ${D}arcFile"
46794 powerpc
-apple-macos* | \
46795 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46804 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46805 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46806 { (exit 1); exit 1; }; }
46809 if test "x$PIC_FLAG" != "x" ; then
46810 PIC_FLAG
="$PIC_FLAG -DPIC"
46813 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46814 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46816 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46817 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46836 case "${BAKEFILE_HOST}" in
46837 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46838 SONAME_FLAG
="-Wl,-soname,"
46872 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46873 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46876 if test "x$GCC" = "xyes"; then
46878 case "${BAKEFILE_HOST}" in
46880 DEPSFLAG
="-no-cpp-precomp -MMD"
46886 echo "$as_me:$LINENO: result: gcc" >&5
46887 echo "${ECHO_T}gcc" >&6
46888 elif test "x$MWCC" = "xyes"; then
46891 echo "$as_me:$LINENO: result: mwcc" >&5
46892 echo "${ECHO_T}mwcc" >&6
46893 elif test "x$SUNCC" = "xyes"; then
46896 echo "$as_me:$LINENO: result: Sun cc" >&5
46897 echo "${ECHO_T}Sun cc" >&6
46898 elif test "x$SGICC" = "xyes"; then
46901 echo "$as_me:$LINENO: result: SGI cc" >&5
46902 echo "${ECHO_T}SGI cc" >&6
46903 elif test "x$HPCC" = "xyes"; then
46906 echo "$as_me:$LINENO: result: HP cc" >&5
46907 echo "${ECHO_T}HP cc" >&6
46908 elif test "x$COMPAQCC" = "xyes"; then
46911 echo "$as_me:$LINENO: result: Compaq cc" >&5
46912 echo "${ECHO_T}Compaq cc" >&6
46915 echo "$as_me:$LINENO: result: none" >&5
46916 echo "${ECHO_T}none" >&6
46919 if test $DEPS_TRACKING = 1 ; then
46925 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46926 # script. It is used to track C/C++ files dependencies in portable way.
46928 # Permission is given to use this file in any way.
46930 DEPSMODE=${DEPSMODE}
46932 DEPSFLAG="${DEPSFLAG}"
46934 mkdir -p ${D}DEPSDIR
46936 if test ${D}DEPSMODE = gcc ; then
46937 ${D}* ${D}{DEPSFLAG}
46939 if test ${D}{status} != 0 ; then
46942 # move created file to the location we want it in:
46943 while test ${D}# -gt 0; do
46957 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46958 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46959 if test -f ${D}depfile ; then
46960 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46963 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46964 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46965 if test ! -f ${D}depfile ; then
46966 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46967 depfile="${D}objfile.d"
46969 if test -f ${D}depfile ; then
46970 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46975 elif test ${D}DEPSMODE = mwcc ; then
46976 ${D}* || exit ${D}?
46977 # Run mwcc again with -MM and redirect into the dep file we want
46978 # NOTE: We can't use shift here because we need ${D}* to be valid
46980 for arg in ${D}* ; do
46981 if test "${D}prevarg" = "-o"; then
46994 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
46996 elif test ${D}DEPSMODE = unixcc; then
46997 ${D}* || exit ${D}?
46998 # Run compiler again with deps flag and redirect into the dep file.
46999 # It doesn't work if the '-o FILE' option is used, but without it the
47000 # dependency file will contain the wrong name for the object. So it is
47001 # removed from the command line, and the dep file is fixed with sed.
47003 while test ${D}# -gt 0; do
47010 eval arg${D}#=\\${D}1
47011 cmd="${D}cmd \\${D}arg${D}#"
47016 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47030 case ${BAKEFILE_HOST} in
47031 *-*-cygwin* | *-*-mingw32* )
47032 if test -n "$ac_tool_prefix"; then
47033 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47034 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47035 echo "$as_me:$LINENO: checking for $ac_word" >&5
47036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47037 if test "${ac_cv_prog_WINDRES+set}" = set; then
47038 echo $ECHO_N "(cached) $ECHO_C" >&6
47040 if test -n "$WINDRES"; then
47041 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47044 for as_dir
in $PATH
47047 test -z "$as_dir" && as_dir
=.
47048 for ac_exec_ext
in '' $ac_executable_extensions; do
47049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47050 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47059 WINDRES
=$ac_cv_prog_WINDRES
47060 if test -n "$WINDRES"; then
47061 echo "$as_me:$LINENO: result: $WINDRES" >&5
47062 echo "${ECHO_T}$WINDRES" >&6
47064 echo "$as_me:$LINENO: result: no" >&5
47065 echo "${ECHO_T}no" >&6
47069 if test -z "$ac_cv_prog_WINDRES"; then
47070 ac_ct_WINDRES
=$WINDRES
47071 # Extract the first word of "windres", so it can be a program name with args.
47072 set dummy windres
; ac_word
=$2
47073 echo "$as_me:$LINENO: checking for $ac_word" >&5
47074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47075 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47076 echo $ECHO_N "(cached) $ECHO_C" >&6
47078 if test -n "$ac_ct_WINDRES"; then
47079 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47082 for as_dir
in $PATH
47085 test -z "$as_dir" && as_dir
=.
47086 for ac_exec_ext
in '' $ac_executable_extensions; do
47087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47088 ac_cv_prog_ac_ct_WINDRES
="windres"
47089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47097 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47098 if test -n "$ac_ct_WINDRES"; then
47099 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47100 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47102 echo "$as_me:$LINENO: result: no" >&5
47103 echo "${ECHO_T}no" >&6
47106 WINDRES
=$ac_ct_WINDRES
47108 WINDRES
="$ac_cv_prog_WINDRES"
47113 *-*-darwin* | powerpc
-apple-macos* )
47114 # Extract the first word of "Rez", so it can be a program name with args.
47115 set dummy Rez
; ac_word
=$2
47116 echo "$as_me:$LINENO: checking for $ac_word" >&5
47117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47118 if test "${ac_cv_prog_REZ+set}" = set; then
47119 echo $ECHO_N "(cached) $ECHO_C" >&6
47121 if test -n "$REZ"; then
47122 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47125 for as_dir
in $PATH
47128 test -z "$as_dir" && as_dir
=.
47129 for ac_exec_ext
in '' $ac_executable_extensions; do
47130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47131 ac_cv_prog_REZ
="Rez"
47132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47138 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47141 REZ
=$ac_cv_prog_REZ
47142 if test -n "$REZ"; then
47143 echo "$as_me:$LINENO: result: $REZ" >&5
47144 echo "${ECHO_T}$REZ" >&6
47146 echo "$as_me:$LINENO: result: no" >&5
47147 echo "${ECHO_T}no" >&6
47150 # Extract the first word of "SetFile", so it can be a program name with args.
47151 set dummy SetFile
; ac_word
=$2
47152 echo "$as_me:$LINENO: checking for $ac_word" >&5
47153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47154 if test "${ac_cv_prog_SETFILE+set}" = set; then
47155 echo $ECHO_N "(cached) $ECHO_C" >&6
47157 if test -n "$SETFILE"; then
47158 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47161 for as_dir
in $PATH
47164 test -z "$as_dir" && as_dir
=.
47165 for ac_exec_ext
in '' $ac_executable_extensions; do
47166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47167 ac_cv_prog_SETFILE
="SetFile"
47168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47174 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47177 SETFILE
=$ac_cv_prog_SETFILE
47178 if test -n "$SETFILE"; then
47179 echo "$as_me:$LINENO: result: $SETFILE" >&5
47180 echo "${ECHO_T}$SETFILE" >&6
47182 echo "$as_me:$LINENO: result: no" >&5
47183 echo "${ECHO_T}no" >&6
47194 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
47197 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
47201 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47202 if test "${enable_precomp_headers+set}" = set; then
47203 enableval
="$enable_precomp_headers"
47204 bk_use_pch
="$enableval"
47209 case ${BAKEFILE_HOST} in
47215 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47216 if test "x$GCC" = "xyes"; then
47217 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47218 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47219 cat >conftest.
$ac_ext <<_ACEOF
47222 cat confdefs.h
>>conftest.
$ac_ext
47223 cat >>conftest.
$ac_ext <<_ACEOF
47224 /* end confdefs.h. */
47230 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47231 #error "no pch support"
47234 #error "no pch support"
47236 #if (__GNUC__ == 3) && \
47237 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47238 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
47239 #error "no pch support"
47246 rm -f conftest.
$ac_objext
47247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47248 (eval $ac_compile) 2>conftest.er1
47250 grep -v '^ *+' conftest.er1
>conftest.err
47252 cat conftest.err
>&5
47253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47254 (exit $ac_status); } &&
47255 { ac_try
='test -z "$ac_c_werror_flag"
47256 || test ! -s conftest.err'
47257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47258 (eval $ac_try) 2>&5
47260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47261 (exit $ac_status); }; } &&
47262 { ac_try
='test -s conftest.$ac_objext'
47263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47264 (eval $ac_try) 2>&5
47266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267 (exit $ac_status); }; }; then
47269 echo "$as_me:$LINENO: result: yes" >&5
47270 echo "${ECHO_T}yes" >&6
47274 echo "$as_me: failed program was:" >&5
47275 sed 's/^/| /' conftest.
$ac_ext >&5
47278 echo "$as_me:$LINENO: result: no" >&5
47279 echo "${ECHO_T}no" >&6
47282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47283 if test $GCC_PCH = 1 ; then
47286 cat <<EOF >bk-make-pch
47289 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47290 # script. It is used to generated precompiled headers.
47292 # Permission is given to use this file in any way.
47301 while test ${D}{#} -gt 0; do
47304 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47305 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47306 headerfile="${D}{incdir}/${D}{header}"
47310 compiler="${D}{compiler} ${D}{1}"
47314 if test "x${D}{headerfile}" = "x" ; then
47315 echo "error: can't find header ${D}{header} in include paths" >2
47317 if test -f ${D}{outfile} ; then
47318 rm -f ${D}{outfile}
47320 mkdir -p \`dirname ${D}{outfile}\`
47322 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47324 # can do this because gcc is >= 3.4:
47325 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47330 chmod +x bk
-make-pch
47337 COND_BUILD_DEBUG
="#"
47338 if test "x$BUILD" = "xdebug" ; then
47339 COND_BUILD_DEBUG
=""
47342 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47343 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47344 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47347 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47348 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47349 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47352 COND_BUILD_DEBUG_UNICODE_0
="#"
47353 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47354 COND_BUILD_DEBUG_UNICODE_0
=""
47357 COND_BUILD_DEBUG_UNICODE_1
="#"
47358 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47359 COND_BUILD_DEBUG_UNICODE_1
=""
47362 COND_BUILD_RELEASE
="#"
47363 if test "x$BUILD" = "xrelease" ; then
47364 COND_BUILD_RELEASE
=""
47367 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47368 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47369 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47372 COND_BUILD_RELEASE_UNICODE_0
="#"
47373 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47374 COND_BUILD_RELEASE_UNICODE_0
=""
47377 COND_BUILD_RELEASE_UNICODE_1
="#"
47378 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47379 COND_BUILD_RELEASE_UNICODE_1
=""
47382 COND_DEBUG_FLAG_1
="#"
47383 if test "x$DEBUG_FLAG" = "x1" ; then
47384 COND_DEBUG_FLAG_1
=""
47387 COND_DEBUG_INFO_0
="#"
47388 if test "x$DEBUG_INFO" = "x0" ; then
47389 COND_DEBUG_INFO_0
=""
47392 COND_DEBUG_INFO_1
="#"
47393 if test "x$DEBUG_INFO" = "x1" ; then
47394 COND_DEBUG_INFO_1
=""
47397 COND_DEPS_TRACKING_0
="#"
47398 if test "x$DEPS_TRACKING" = "x0" ; then
47399 COND_DEPS_TRACKING_0
=""
47402 COND_DEPS_TRACKING_1
="#"
47403 if test "x$DEPS_TRACKING" = "x1" ; then
47404 COND_DEPS_TRACKING_1
=""
47408 if test "x$GCC_PCH" = "x1" ; then
47412 COND_MONOLITHIC_0
="#"
47413 if test "x$MONOLITHIC" = "x0" ; then
47414 COND_MONOLITHIC_0
=""
47417 COND_MONOLITHIC_0_SHARED_0
="#"
47418 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47419 COND_MONOLITHIC_0_SHARED_0
=""
47422 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47423 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47424 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47427 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47428 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47429 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47432 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47433 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47434 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47437 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47438 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47439 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47442 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47443 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47444 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47447 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47448 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47449 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47452 COND_MONOLITHIC_0_SHARED_1
="#"
47453 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47454 COND_MONOLITHIC_0_SHARED_1
=""
47457 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47458 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47459 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47462 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47463 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47464 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47467 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47468 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47469 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47472 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47473 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47474 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47477 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47478 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47479 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47482 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47483 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47484 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47487 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47488 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47489 COND_MONOLITHIC_0_USE_ODBC_1
=""
47492 COND_MONOLITHIC_1
="#"
47493 if test "x$MONOLITHIC" = "x1" ; then
47494 COND_MONOLITHIC_1
=""
47497 COND_MONOLITHIC_1_SHARED_0
="#"
47498 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47499 COND_MONOLITHIC_1_SHARED_0
=""
47502 COND_MONOLITHIC_1_SHARED_1
="#"
47503 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47504 COND_MONOLITHIC_1_SHARED_1
=""
47507 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47508 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47509 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47512 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47513 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47514 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47517 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47518 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47519 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47522 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47523 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47524 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47527 COND_PLATFORM_MACOSX_1
="#"
47528 if test "x$PLATFORM_MACOSX" = "x1" ; then
47529 COND_PLATFORM_MACOSX_1
=""
47532 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47533 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47534 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47537 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47538 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47539 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47542 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47543 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47544 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47547 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47548 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47549 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47552 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47553 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47554 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47557 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47558 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47559 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47562 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47563 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47564 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47567 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47568 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47569 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47572 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47573 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47574 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47577 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47578 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47579 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47582 COND_PLATFORM_MACOS_1
="#"
47583 if test "x$PLATFORM_MACOS" = "x1" ; then
47584 COND_PLATFORM_MACOS_1
=""
47587 COND_PLATFORM_MAC_1
="#"
47588 if test "x$PLATFORM_MAC" = "x1" ; then
47589 COND_PLATFORM_MAC_1
=""
47592 COND_PLATFORM_MSDOS_1
="#"
47593 if test "x$PLATFORM_MSDOS" = "x1" ; then
47594 COND_PLATFORM_MSDOS_1
=""
47597 COND_PLATFORM_OS2_1
="#"
47598 if test "x$PLATFORM_OS2" = "x1" ; then
47599 COND_PLATFORM_OS2_1
=""
47602 COND_PLATFORM_UNIX_0
="#"
47603 if test "x$PLATFORM_UNIX" = "x0" ; then
47604 COND_PLATFORM_UNIX_0
=""
47607 COND_PLATFORM_UNIX_1
="#"
47608 if test "x$PLATFORM_UNIX" = "x1" ; then
47609 COND_PLATFORM_UNIX_1
=""
47612 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47613 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47614 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47617 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47618 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47619 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47622 COND_PLATFORM_WIN32_0
="#"
47623 if test "x$PLATFORM_WIN32" = "x0" ; then
47624 COND_PLATFORM_WIN32_0
=""
47627 COND_PLATFORM_WIN32_1
="#"
47628 if test "x$PLATFORM_WIN32" = "x1" ; then
47629 COND_PLATFORM_WIN32_1
=""
47633 if test "x$SHARED" = "x0" ; then
47637 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47638 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47639 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47642 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47643 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47644 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47647 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47648 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47649 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47652 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47653 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47654 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47657 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47658 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47662 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47663 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47664 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47667 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47668 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47669 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47672 COND_SHARED_0_USE_XRC_1
="#"
47673 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47674 COND_SHARED_0_USE_XRC_1
=""
47677 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47678 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47679 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47682 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47683 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47684 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47687 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47688 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47689 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47692 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47693 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47694 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47698 if test "x$SHARED" = "x1" ; then
47702 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47703 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47704 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47707 COND_SHARED_1_USE_XRC_1
="#"
47708 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47709 COND_SHARED_1_USE_XRC_1
=""
47713 if test "x$TOOLKIT" = "x" ; then
47717 COND_TOOLKIT_COCOA
="#"
47718 if test "x$TOOLKIT" = "xCOCOA" ; then
47719 COND_TOOLKIT_COCOA
=""
47722 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47723 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47724 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47727 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47728 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47729 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47732 COND_TOOLKIT_GTK
="#"
47733 if test "x$TOOLKIT" = "xGTK" ; then
47734 COND_TOOLKIT_GTK
=""
47737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47738 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47743 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47748 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47753 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
47757 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
47758 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47759 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
47762 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
47763 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47764 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
47767 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47768 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47769 COND_TOOLKIT_GTK_USE_GUI_1
=""
47772 COND_TOOLKIT_MAC
="#"
47773 if test "x$TOOLKIT" = "xMAC" ; then
47774 COND_TOOLKIT_MAC
=""
47777 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47778 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47779 COND_TOOLKIT_MAC_USE_GUI_1
=""
47782 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47783 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47784 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47787 COND_TOOLKIT_MGL
="#"
47788 if test "x$TOOLKIT" = "xMGL" ; then
47789 COND_TOOLKIT_MGL
=""
47792 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47793 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47794 COND_TOOLKIT_MGL_USE_GUI_1
=""
47797 COND_TOOLKIT_MOTIF
="#"
47798 if test "x$TOOLKIT" = "xMOTIF" ; then
47799 COND_TOOLKIT_MOTIF
=""
47802 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47803 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47804 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47807 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47808 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47809 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47812 COND_TOOLKIT_MSW
="#"
47813 if test "x$TOOLKIT" = "xMSW" ; then
47814 COND_TOOLKIT_MSW
=""
47817 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47818 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47819 COND_TOOLKIT_MSW_USE_GUI_1
=""
47822 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47823 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47824 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47827 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47828 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47829 COND_TOOLKIT_MSW_WXUNIV_0
=""
47832 COND_TOOLKIT_PM
="#"
47833 if test "x$TOOLKIT" = "xPM" ; then
47837 COND_TOOLKIT_PM_USE_GUI_1
="#"
47838 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47839 COND_TOOLKIT_PM_USE_GUI_1
=""
47842 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47843 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47844 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47847 COND_TOOLKIT_WINCE
="#"
47848 if test "x$TOOLKIT" = "xWINCE" ; then
47849 COND_TOOLKIT_WINCE
=""
47852 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47853 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47854 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47857 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47858 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47859 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47862 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47863 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47864 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47867 COND_TOOLKIT_X11
="#"
47868 if test "x$TOOLKIT" = "xX11" ; then
47869 COND_TOOLKIT_X11
=""
47872 COND_TOOLKIT_X11_USE_GUI_1
="#"
47873 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47874 COND_TOOLKIT_X11_USE_GUI_1
=""
47878 if test "x$UNICODE" = "x1" ; then
47882 COND_USE_EXCEPTIONS_0
="#"
47883 if test "x$USE_EXCEPTIONS" = "x0" ; then
47884 COND_USE_EXCEPTIONS_0
=""
47887 COND_USE_EXCEPTIONS_1
="#"
47888 if test "x$USE_EXCEPTIONS" = "x1" ; then
47889 COND_USE_EXCEPTIONS_1
=""
47893 if test "x$USE_GUI" = "x0" ; then
47898 if test "x$USE_GUI" = "x1" ; then
47902 COND_USE_GUI_1_WXUNIV_0
="#"
47903 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47904 COND_USE_GUI_1_WXUNIV_0
=""
47907 COND_USE_GUI_1_WXUNIV_1
="#"
47908 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47909 COND_USE_GUI_1_WXUNIV_1
=""
47912 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47913 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47914 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47917 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47918 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47919 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47922 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47923 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47924 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47927 COND_USE_ODBC_1
="#"
47928 if test "x$USE_ODBC" = "x1" ; then
47932 COND_USE_OPENGL_1
="#"
47933 if test "x$USE_OPENGL" = "x1" ; then
47934 COND_USE_OPENGL_1
=""
47937 COND_USE_PLUGINS_0
="#"
47938 if test "x$USE_PLUGINS" = "x0" ; then
47939 COND_USE_PLUGINS_0
=""
47942 COND_USE_RTTI_0
="#"
47943 if test "x$USE_RTTI" = "x0" ; then
47947 COND_USE_RTTI_1
="#"
47948 if test "x$USE_RTTI" = "x1" ; then
47952 COND_USE_SOSYMLINKS_1
="#"
47953 if test "x$USE_SOSYMLINKS" = "x1" ; then
47954 COND_USE_SOSYMLINKS_1
=""
47957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
47958 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47959 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
47962 COND_USE_SOVERLINUX_1
="#"
47963 if test "x$USE_SOVERLINUX" = "x1" ; then
47964 COND_USE_SOVERLINUX_1
=""
47967 COND_USE_SOVERSION_0
="#"
47968 if test "x$USE_SOVERSION" = "x0" ; then
47969 COND_USE_SOVERSION_0
=""
47972 COND_USE_SOVERSOLARIS_1
="#"
47973 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47974 COND_USE_SOVERSOLARIS_1
=""
47977 COND_USE_THREADS_0
="#"
47978 if test "x$USE_THREADS" = "x0" ; then
47979 COND_USE_THREADS_0
=""
47982 COND_USE_THREADS_1
="#"
47983 if test "x$USE_THREADS" = "x1" ; then
47984 COND_USE_THREADS_1
=""
47988 if test "x$USE_XRC" = "x1" ; then
47992 COND_WINDOWS_IMPLIB_1
="#"
47993 if test "x$WINDOWS_IMPLIB" = "x1" ; then
47994 COND_WINDOWS_IMPLIB_1
=""
47997 COND_WITH_PLUGIN_SDL_1
="#"
47998 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
47999 COND_WITH_PLUGIN_SDL_1
=""
48003 if test "x$WXUNIV" = "x0" ; then
48008 if test "x$WXUNIV" = "x1" ; then
48012 COND_WXUSE_EXPAT_BUILTIN
="#"
48013 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48014 COND_WXUSE_EXPAT_BUILTIN
=""
48017 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48018 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48019 COND_WXUSE_LIBJPEG_BUILTIN
=""
48022 COND_WXUSE_LIBPNG_BUILTIN
="#"
48023 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48024 COND_WXUSE_LIBPNG_BUILTIN
=""
48027 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48028 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48029 COND_WXUSE_LIBTIFF_BUILTIN
=""
48032 COND_WXUSE_ODBC_BUILTIN
="#"
48033 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48034 COND_WXUSE_ODBC_BUILTIN
=""
48037 COND_WXUSE_REGEX_BUILTIN
="#"
48038 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48039 COND_WXUSE_REGEX_BUILTIN
=""
48042 COND_WXUSE_ZLIB_BUILTIN
="#"
48043 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48044 COND_WXUSE_ZLIB_BUILTIN
=""
48049 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48050 { { 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
48051 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;}
48052 { (exit 1); exit 1; }; }
48055 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48056 { { 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
48057 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;}
48058 { (exit 1); exit 1; }; }
48062 if test "$wxUSE_SHARED" = "yes"; then
48064 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48065 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48068 *-pc-os2_emx | *-pc-os2-emx )
48069 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48070 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48071 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48072 cp -p ${srcdir}/src
/os
2/dllar.sh .
48077 EXE_LINKER
="$CXX -o"
48080 if test "$wxUSE_OMF" = "yes"; then
48082 *-pc-os2_emx | *-pc-os2-emx )
48083 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48084 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48085 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48090 if test $GCC_PCH = 1 ; then
48091 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48094 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48096 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48158 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48159 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48160 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48161 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48162 echo $ECHO_N "(cached) $ECHO_C" >&6
48164 cat >conftest.
make <<\_ACEOF
48166 @
echo 'ac_maketemp="$(MAKE)"'
48168 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48169 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48170 if test -n "$ac_maketemp"; then
48171 eval ac_cv_prog_make_
${ac_make}_set
=yes
48173 eval ac_cv_prog_make_
${ac_make}_set
=no
48175 rm -f conftest.
make
48177 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48178 echo "$as_me:$LINENO: result: yes" >&5
48179 echo "${ECHO_T}yes" >&6
48182 echo "$as_me:$LINENO: result: no" >&5
48183 echo "${ECHO_T}no" >&6
48184 SET_MAKE
="MAKE=${MAKE-make}"
48189 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48192 if test "$USE_WIN32" = 1; then
48193 ac_config_commands
="$ac_config_commands
48199 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48202 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48205 ac_config_files
="$ac_config_files version-script Makefile"
48208 ac_config_commands
="$ac_config_commands wx-config"
48212 if test "$wxWITH_SUBDIRS" != "no"; then
48213 if test "$wxUSE_GUI" = "yes"; then
48214 SUBDIRS
="samples demos utils contrib"
48215 else SUBDIRS
="samples utils"
48220 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48221 if test "${with_cppunit_prefix+set}" = set; then
48222 withval
="$with_cppunit_prefix"
48223 cppunit_config_prefix
="$withval"
48225 cppunit_config_prefix
=""
48228 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48229 if test "${with_cppunit_exec_prefix+set}" = set; then
48230 withval
="$with_cppunit_exec_prefix"
48231 cppunit_config_exec_prefix
="$withval"
48233 cppunit_config_exec_prefix
=""
48236 if test x
$cppunit_config_exec_prefix != x
; then
48237 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48238 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48239 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48242 if test x
$cppunit_config_prefix != x
; then
48243 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48244 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48245 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48249 # Extract the first word of "cppunit-config", so it can be a program name with args.
48250 set dummy cppunit
-config; ac_word
=$2
48251 echo "$as_me:$LINENO: checking for $ac_word" >&5
48252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48253 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48254 echo $ECHO_N "(cached) $ECHO_C" >&6
48256 case $CPPUNIT_CONFIG in
48258 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48262 for as_dir
in $PATH
48265 test -z "$as_dir" && as_dir
=.
48266 for ac_exec_ext
in '' $ac_executable_extensions; do
48267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48268 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48275 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48279 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48281 if test -n "$CPPUNIT_CONFIG"; then
48282 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48283 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48285 echo "$as_me:$LINENO: result: no" >&5
48286 echo "${ECHO_T}no" >&6
48289 cppunit_version_min
=1.8.0
48291 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48292 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48294 if test "$CPPUNIT_CONFIG" = "no" ; then
48297 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48298 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48299 cppunit_version
=`$CPPUNIT_CONFIG --version`
48301 cppunit_major_version
=`echo $cppunit_version | \
48302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48303 cppunit_minor_version
=`echo $cppunit_version | \
48304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48305 cppunit_micro_version
=`echo $cppunit_version | \
48306 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48308 cppunit_major_min
=`echo $cppunit_version_min | \
48309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48310 cppunit_minor_min
=`echo $cppunit_version_min | \
48311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48312 cppunit_micro_min
=`echo $cppunit_version_min | \
48313 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48315 cppunit_version_proper
=`expr \
48316 $cppunit_major_version \> $cppunit_major_min \| \
48317 $cppunit_major_version \= $cppunit_major_min \& \
48318 $cppunit_minor_version \> $cppunit_minor_min \| \
48319 $cppunit_major_version \= $cppunit_major_min \& \
48320 $cppunit_minor_version \= $cppunit_minor_min \& \
48321 $cppunit_micro_version \>= $cppunit_micro_min `
48323 if test "$cppunit_version_proper" = "1" ; then
48324 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48325 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48327 echo "$as_me:$LINENO: result: no" >&5
48328 echo "${ECHO_T}no" >&6
48333 if test "x$no_cppunit" = x
; then
48334 SUBDIRS
="$SUBDIRS tests"
48345 for subdir
in `echo $SUBDIRS`; do
48346 if test -d ${srcdir}/${subdir} ; then
48347 if test "$wxUSE_GUI" = "yes"; then
48348 if test ${subdir} = "samples"; then
48349 makefiles
="samples/Makefile.in $makefiles"
48350 for sample
in `echo $SAMPLES_SUBDIRS`; do
48351 if test -d $srcdir/samples
/$sample; then
48352 makefiles
="samples/$sample/Makefile.in $makefiles"
48356 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48357 eval "disabled=\$$disabled_var"
48358 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48359 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48361 else if test ${subdir} = "samples"; then
48362 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48363 elif test ${subdir} = "utils"; then
48365 for util
in HelpGen tex2rtf
; do
48366 if test -d $srcdir/utils
/$util ; then
48367 makefiles
="utils/$util/Makefile.in \
48368 utils/$util/src/Makefile.in \
48372 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48376 for mkin
in $makefiles ; do
48377 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48378 ac_config_files
="$ac_config_files $mk"
48384 cat >confcache
<<\_ACEOF
48385 # This file is a shell script that caches the results of configure
48386 # tests run on this system so they can be shared between configure
48387 # scripts and configure runs, see configure's option --config-cache.
48388 # It is not useful on other systems. If it contains results you don't
48389 # want to keep, you may remove or edit it.
48391 # config.status only pays attention to the cache file if you give it
48392 # the --recheck option to rerun configure.
48394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48396 # following values.
48400 # The following way of writing the cache mishandles newlines in values,
48401 # but we know of no workaround that is simple, portable, and efficient.
48402 # So, don't put newlines in cache variables' values.
48403 # Ultrix sh set writes to stderr and can't be redirected directly,
48404 # and sets the high bit in the cache file unless we assign to the vars.
48407 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48409 # `set' does not quote correctly, so add quotes (double-quote
48410 # substitution turns \\\\ into \\, and sed turns \\ into \).
48413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48416 # `set' quotes correctly as required by POSIX, so do not add quotes.
48418 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48425 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48427 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48429 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48430 if test -w $cache_file; then
48431 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48432 cat confcache
>$cache_file
48434 echo "not updating unwritable cache $cache_file"
48439 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48440 # Let make expand exec_prefix.
48441 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48443 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48444 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48445 # trailing colons and then remove the whole line if VPATH becomes empty
48446 # (actually we leave an empty line to preserve line numbers).
48447 if test "x$srcdir" = x.
; then
48448 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48449 s/:*\$(srcdir):*/:/;
48450 s/:*\${srcdir}:*/:/;
48452 s/^\([^=]*=[ ]*\):*/\1/;
48458 DEFS
=-DHAVE_CONFIG_H
48462 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48463 # 1. Remove the extension, and $U if already installed.
48464 ac_i
=`echo "$ac_i" |
48465 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48467 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48468 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48470 LIBOBJS
=$ac_libobjs
48472 LTLIBOBJS
=$ac_ltlibobjs
48476 : ${CONFIG_STATUS=./config.status}
48477 ac_clean_files_save
=$ac_clean_files
48478 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48479 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48480 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48481 cat >$CONFIG_STATUS <<_ACEOF
48483 # Generated by $as_me.
48484 # Run this file to recreate the current configuration.
48485 # Compiler output produced by configure, useful for debugging
48486 # configure, is in config.log if it exists.
48489 ac_cs_recheck=false
48491 SHELL=\${CONFIG_SHELL-$SHELL}
48494 cat >>$CONFIG_STATUS <<\_ACEOF
48495 ## --------------------- ##
48496 ## M4sh Initialization. ##
48497 ## --------------------- ##
48499 # Be Bourne compatible
48500 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48503 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48504 # is contrary to our usage. Disable this feature.
48505 alias -g '${1+"$@"}'='"$@"'
48506 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48509 DUALCASE
=1; export DUALCASE
# for MKS sh
48511 # Support unset when possible.
48512 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48519 # Work around bugs in pre-3.0 UWIN ksh.
48520 $as_unset ENV MAIL MAILPATH
48527 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48528 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48529 LC_TELEPHONE LC_TIME
48531 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48532 eval $as_var=C
; export $as_var
48538 # Required to use basename.
48539 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48545 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48546 as_basename
=basename
48552 # Name of the executable.
48553 as_me
=`$as_basename "$0" ||
48554 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48555 X"$0" : 'X\(//\)$' \| \
48556 X"$0" : 'X\(/\)$' \| \
48557 . : '\(.\)' 2>/dev/null ||
48559 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48560 /^X\/\(\/\/\)$/{ s//\1/; q; }
48561 /^X\/\(\/\).*/{ s//\1/; q; }
48565 # PATH needs CR, and LINENO needs CR and PATH.
48566 # Avoid depending upon Character Ranges.
48567 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48568 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48569 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48570 as_cr_digits
='0123456789'
48571 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48573 # The user is always right.
48574 if test "${PATH_SEPARATOR+set}" != set; then
48575 echo "#! /bin/sh" >conf$$.sh
48576 echo "exit 0" >>conf$$.sh
48578 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48587 as_lineno_1
=$LINENO
48588 as_lineno_2
=$LINENO
48589 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48590 test "x$as_lineno_1" != "x$as_lineno_2" &&
48591 test "x$as_lineno_3" = "x$as_lineno_2" || {
48592 # Find who we are. Look in the path if we contain no path at all
48595 *[\\/]* ) as_myself
=$0 ;;
48596 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48597 for as_dir
in $PATH
48600 test -z "$as_dir" && as_dir
=.
48601 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48606 # We did not find ourselves, most probably we were run as `sh COMMAND'
48607 # in which case we are not to be found in the path.
48608 if test "x$as_myself" = x
; then
48611 if test ! -f "$as_myself"; then
48612 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48613 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48614 { (exit 1); exit 1; }; }
48616 case $CONFIG_SHELL in
48618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48619 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48622 test -z "$as_dir" && as_dir
=.
48623 for as_base
in sh bash ksh sh5
; do
48626 if ("$as_dir/$as_base" -c '
48627 as_lineno_1=$LINENO
48628 as_lineno_2=$LINENO
48629 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48630 test "x$as_lineno_1" != "x$as_lineno_2" &&
48631 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48632 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48633 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48634 CONFIG_SHELL
=$as_dir/$as_base
48635 export CONFIG_SHELL
48636 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48644 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48645 # uniformly replaced by the line number. The first 'sed' inserts a
48646 # line-number line before each line; the second 'sed' does the real
48647 # work. The second script uses 'N' to pair each line-number line
48648 # with the numbered line, and appends trailing '-' during
48649 # substitution so that $LINENO is not a special case at line end.
48650 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48651 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48652 sed '=' <$as_myself |
48657 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48660 s,^['$as_cr_digits']*\n,,
48661 ' >$as_me.lineno
&&
48662 chmod +x
$as_me.lineno
||
48663 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48664 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48665 { (exit 1); exit 1; }; }
48667 # Don't try to exec as it changes $[0], causing all sort of problems
48668 # (the dirname of $[0] is not the place where we might find the
48669 # original and so on. Autoconf is especially sensible to this).
48671 # Exit status is that of the last command.
48676 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48677 *c
*,-n*) ECHO_N
= ECHO_C
='
48679 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48680 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48683 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48689 rm -f conf$$ conf$$.exe conf$$.
file
48691 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48692 # We could just check for DJGPP; but this test a) works b) is more generic
48693 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48694 if test -f conf$$.exe
; then
48695 # Don't use ln at all; we don't have any links
48700 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48705 rm -f conf$$ conf$$.exe conf$$.
file
48707 if mkdir -p .
2>/dev
/null
; then
48710 test -d .
/-p && rmdir .
/-p
48714 as_executable_p
="test -f"
48716 # Sed expression to map a string onto a valid CPP name.
48717 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48719 # Sed expression to map a string onto a valid variable name.
48720 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48724 # We need space, tab and new line, in precisely that order.
48734 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48735 # report actual input values of CONFIG_FILES etc. instead of their
48736 # values after options handling. Logging --version etc. is OK.
48740 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48741 ## Running $as_me. ##
48746 This file was extended by wxWidgets $as_me 2.7.0, which was
48747 generated by GNU Autoconf 2.59. Invocation command line was
48749 CONFIG_FILES = $CONFIG_FILES
48750 CONFIG_HEADERS = $CONFIG_HEADERS
48751 CONFIG_LINKS = $CONFIG_LINKS
48752 CONFIG_COMMANDS = $CONFIG_COMMANDS
48756 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48760 # Files that config.status was made for.
48761 if test -n "$ac_config_files"; then
48762 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48765 if test -n "$ac_config_headers"; then
48766 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48769 if test -n "$ac_config_links"; then
48770 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48773 if test -n "$ac_config_commands"; then
48774 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48777 cat >>$CONFIG_STATUS <<\_ACEOF
48780 \`$as_me' instantiates files from templates according to the
48781 current configuration.
48783 Usage: $0 [OPTIONS] [FILE]...
48785 -h, --help print this help, then exit
48786 -V, --version print version number, then exit
48787 -q, --quiet do not print progress messages
48788 -d, --debug don't remove temporary files
48789 --recheck update $as_me by reconfiguring in the same conditions
48790 --file=FILE[:TEMPLATE]
48791 instantiate the configuration file FILE
48792 --header=FILE[:TEMPLATE]
48793 instantiate the configuration header FILE
48795 Configuration files:
48798 Configuration headers:
48801 Configuration commands:
48804 Report bugs to <bug-autoconf@gnu.org>."
48807 cat >>$CONFIG_STATUS <<_ACEOF
48809 wxWidgets config.status 2.7.0
48810 configured by $0, generated by GNU Autoconf 2.59,
48811 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48813 Copyright (C) 2003 Free Software Foundation, Inc.
48814 This config.status script is free software; the Free Software Foundation
48815 gives unlimited permission to copy, distribute and modify it."
48820 cat >>$CONFIG_STATUS <<\_ACEOF
48821 # If no file are specified by the user, then we need to provide default
48822 # value. By we need to know if files were specified by the user.
48828 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48829 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48837 *) # This is not an option, so the user has probably given explicit
48840 ac_need_defaults
=false
;;
48844 # Handling of the options.
48846 cat >>$CONFIG_STATUS <<\_ACEOF
48847 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48849 --version | --vers* | -V )
48850 echo "$ac_cs_version"; exit 0 ;;
48852 # Conflict between --help and --header
48853 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48854 Try \`$0 --help' for more information." >&5
48855 echo "$as_me: error: ambiguous option: $1
48856 Try \`$0 --help' for more information." >&2;}
48857 { (exit 1); exit 1; }; };;
48858 --help | --hel | -h )
48859 echo "$ac_cs_usage"; exit 0 ;;
48860 --debug | --d* | -d )
48862 --file | --fil | --fi | --f )
48864 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48865 ac_need_defaults
=false
;;
48866 --header | --heade | --head | --hea )
48868 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48869 ac_need_defaults
=false
;;
48870 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48871 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48874 # This is an error.
48875 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48876 Try \`$0 --help' for more information." >&5
48877 echo "$as_me: error: unrecognized option: $1
48878 Try \`$0 --help' for more information." >&2;}
48879 { (exit 1); exit 1; }; } ;;
48881 *) ac_config_targets
="$ac_config_targets $1" ;;
48887 ac_configure_extra_args
=
48889 if $ac_cs_silent; then
48891 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48895 cat >>$CONFIG_STATUS <<_ACEOF
48896 if \$ac_cs_recheck; then
48897 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48898 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48903 cat >>$CONFIG_STATUS <<_ACEOF
48905 # INIT-COMMANDS section.
48910 infile="$srcdir/include/wx/msw/genrcdefs.h"
48911 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48914 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48915 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48916 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48924 cat >>$CONFIG_STATUS <<\_ACEOF
48925 for ac_config_target
in $ac_config_targets
48927 case "$ac_config_target" in
48928 # Handling of arguments.
48929 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48930 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48931 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48932 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48933 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48934 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48935 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48936 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48937 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48938 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48939 { (exit 1); exit 1; }; };;
48943 # If the user did not use the arguments to specify the items to instantiate,
48944 # then the envvar interface is used. Set only those that are not.
48945 # We use the long form for the default assignment because of an extremely
48946 # bizarre bug on SunOS 4.1.3.
48947 if $ac_need_defaults; then
48948 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
48949 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
48950 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
48953 # Have a temporary directory for convenience. Make it in the build tree
48954 # simply because there is no reason to put it here, and in addition,
48955 # creating and moving files from /tmp can sometimes cause problems.
48956 # Create a temporary directory, and hook for its removal unless debugging.
48959 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48960 trap '{ (exit 1); exit 1; }' 1 2 13 15
48963 # Create a (secure) tmp directory for tmp files.
48966 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48967 test -n "$tmp" && test -d "$tmp"
48970 tmp
=.
/confstat$$
-$RANDOM
48971 (umask 077 && mkdir $tmp)
48974 echo "$me: cannot create a temporary directory in ." >&2
48975 { (exit 1); exit 1; }
48980 cat >>$CONFIG_STATUS <<_ACEOF
48983 # CONFIG_FILES section.
48986 # No need to generate the scripts if there are no CONFIG_FILES.
48987 # This happens for instance when ./config.status config.h
48988 if test -n "\$CONFIG_FILES"; then
48989 # Protect against being on the right side of a sed subst in config.status.
48990 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
48991 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
48992 s,@SHELL@,$SHELL,;t t
48993 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
48994 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
48995 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
48996 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
48997 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
48998 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
48999 s,@exec_prefix@,$exec_prefix,;t t
49000 s,@prefix@,$prefix,;t t
49001 s,@program_transform_name@,$program_transform_name,;t t
49002 s,@bindir@,$bindir,;t t
49003 s,@sbindir@,$sbindir,;t t
49004 s,@libexecdir@,$libexecdir,;t t
49005 s,@datadir@,$datadir,;t t
49006 s,@sysconfdir@,$sysconfdir,;t t
49007 s,@sharedstatedir@,$sharedstatedir,;t t
49008 s,@localstatedir@,$localstatedir,;t t
49009 s,@libdir@,$libdir,;t t
49010 s,@includedir@,$includedir,;t t
49011 s,@oldincludedir@,$oldincludedir,;t t
49012 s,@infodir@,$infodir,;t t
49013 s,@mandir@,$mandir,;t t
49014 s,@build_alias@,$build_alias,;t t
49015 s,@host_alias@,$host_alias,;t t
49016 s,@target_alias@,$target_alias,;t t
49017 s,@DEFS@,$DEFS,;t t
49018 s,@ECHO_C@,$ECHO_C,;t t
49019 s,@ECHO_N@,$ECHO_N,;t t
49020 s,@ECHO_T@,$ECHO_T,;t t
49021 s,@LIBS@,$LIBS,;t t
49022 s,@build@,$build,;t t
49023 s,@build_cpu@,$build_cpu,;t t
49024 s,@build_vendor@,$build_vendor,;t t
49025 s,@build_os@,$build_os,;t t
49026 s,@host@,$host,;t t
49027 s,@host_cpu@,$host_cpu,;t t
49028 s,@host_vendor@,$host_vendor,;t t
49029 s,@host_os@,$host_os,;t t
49030 s,@target@,$target,;t t
49031 s,@target_cpu@,$target_cpu,;t t
49032 s,@target_vendor@,$target_vendor,;t t
49033 s,@target_os@,$target_os,;t t
49035 s,@CFLAGS@,$CFLAGS,;t t
49036 s,@LDFLAGS@,$LDFLAGS,;t t
49037 s,@CPPFLAGS@,$CPPFLAGS,;t t
49038 s,@ac_ct_CC@,$ac_ct_CC,;t t
49039 s,@EXEEXT@,$EXEEXT,;t t
49040 s,@OBJEXT@,$OBJEXT,;t t
49042 s,@EGREP@,$EGREP,;t t
49044 s,@CXXFLAGS@,$CXXFLAGS,;t t
49045 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49046 s,@RANLIB@,$RANLIB,;t t
49047 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49049 s,@ac_ct_AR@,$ac_ct_AR,;t t
49050 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49051 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49052 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49053 s,@STRIP@,$STRIP,;t t
49054 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49055 s,@WINDRES@,$WINDRES,;t t
49056 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49057 s,@DLLTOOL@,$DLLTOOL,;t t
49058 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49059 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49060 s,@LN_S@,$LN_S,;t t
49061 s,@LNDIR@,$LNDIR,;t t
49062 s,@CXXCPP@,$CXXCPP,;t t
49063 s,@subdirs@,$subdirs,;t t
49064 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49065 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49066 s,@GTK_LIBS@,$GTK_LIBS,;t t
49067 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49068 s,@X_CFLAGS@,$X_CFLAGS,;t t
49069 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49070 s,@X_LIBS@,$X_LIBS,;t t
49071 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49072 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49073 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49074 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49075 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49076 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49077 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49079 s,@DEREZ@,$DEREZ,;t t
49080 s,@SETFILE@,$SETFILE,;t t
49081 s,@LIBICONV@,$LIBICONV,;t t
49082 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49083 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49084 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49085 s,@SDL_LIBS@,$SDL_LIBS,;t t
49086 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49087 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49088 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49089 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49090 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
49091 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
49092 s,@GST_INSPECT@,$GST_INSPECT,;t t
49093 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49094 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49095 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49096 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49097 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49098 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49099 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49100 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49101 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49102 s,@VENDOR@,$VENDOR,;t t
49103 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49104 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49105 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49106 s,@WXUNIV@,$WXUNIV,;t t
49107 s,@MONOLITHIC@,$MONOLITHIC,;t t
49108 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49109 s,@EXTRALIBS@,$EXTRALIBS,;t t
49110 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49111 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49112 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49113 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49114 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49115 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49116 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49117 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49118 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49119 s,@UNICODE@,$UNICODE,;t t
49120 s,@BUILD@,$BUILD,;t t
49121 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49122 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49123 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49124 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49125 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49126 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49127 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49128 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49129 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49130 s,@SET_MAKE@,$SET_MAKE,;t t
49131 s,@MAKE_SET@,$MAKE_SET,;t t
49133 s,@ac_ct_NM@,$ac_ct_NM,;t t
49134 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49135 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49136 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49137 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49138 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49139 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49140 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49141 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49142 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49143 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49144 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49145 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49146 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49147 s,@LIBPREFIX@,$LIBPREFIX,;t t
49148 s,@LIBEXT@,$LIBEXT,;t t
49149 s,@DLLPREFIX@,$DLLPREFIX,;t t
49150 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49151 s,@dlldir@,$dlldir,;t t
49152 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49153 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49154 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49155 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49156 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49157 s,@PIC_FLAG@,$PIC_FLAG,;t t
49158 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49159 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49160 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49161 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49162 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49163 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49164 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49165 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49166 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49167 s,@GCC_PCH@,$GCC_PCH,;t t
49168 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49169 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49170 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49171 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49172 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49173 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49174 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49175 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49176 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49177 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49178 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49179 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49180 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49181 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49182 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49183 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49184 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49185 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49186 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
49187 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
49188 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
49189 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49190 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49191 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49192 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49193 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
49194 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
49195 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
49196 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49197 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49198 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49199 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49200 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49201 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49202 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49203 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49204 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49205 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49206 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49207 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49208 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49209 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49210 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49211 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49212 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
49213 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49214 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49215 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49216 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49217 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49218 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49219 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49220 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49221 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49222 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49223 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49224 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49225 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49226 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49227 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49228 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49229 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49230 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49231 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49232 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49233 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49234 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49235 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49236 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49237 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49238 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49239 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49240 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49241 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49242 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49243 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49244 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49245 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49246 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49247 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49248 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49249 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49250 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49251 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
49252 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49253 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49254 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49255 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49256 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49257 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49258 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49259 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49260 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49261 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49262 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49263 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49264 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49265 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49266 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49267 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49268 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49269 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49270 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49271 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49272 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49273 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49274 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49275 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49276 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49277 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49278 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49279 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49280 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49281 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49282 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49283 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49284 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49285 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49286 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49287 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49288 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49289 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49290 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49291 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49292 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49293 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49294 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49295 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49296 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49297 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49298 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49299 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49300 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49301 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49302 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49303 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49304 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49305 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49306 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49307 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49308 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49309 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49310 s,@SHARED@,$SHARED,;t t
49311 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49312 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49313 s,@USE_GUI@,$USE_GUI,;t t
49314 s,@AFMINSTALL@,$AFMINSTALL,;t t
49315 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49316 s,@TOOLKIT@,$TOOLKIT,;t t
49317 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49318 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49319 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49320 s,@cross_compiling@,$cross_compiling,;t t
49321 s,@WIDGET_SET@,$WIDGET_SET,;t t
49322 s,@WX_RELEASE@,$WX_RELEASE,;t t
49323 s,@WX_VERSION@,$WX_VERSION,;t t
49324 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49325 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49326 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49327 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49328 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49329 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49330 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49331 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49332 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49333 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49334 s,@EXE_LINKER@,$EXE_LINKER,;t t
49335 s,@GUIDIST@,$GUIDIST,;t t
49336 s,@DISTDIR@,$DISTDIR,;t t
49337 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49338 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49339 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49340 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49341 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49342 s,@RESCOMP@,$RESCOMP,;t t
49343 s,@RESFLAGS@,$RESFLAGS,;t t
49344 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49345 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49346 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49347 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49348 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49349 s,@MACSETFILE@,$MACSETFILE,;t t
49351 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49352 s,@LIBOBJS@,$LIBOBJS,;t t
49353 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49358 cat >>$CONFIG_STATUS <<\_ACEOF
49359 # Split the substitutions into bite-sized pieces for seds with
49360 # small command number limits, like on Digital OSF/1 and HP-UX.
49361 ac_max_sed_lines
=48
49362 ac_sed_frag
=1 # Number of current file.
49363 ac_beg
=1 # First line for current file.
49364 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49367 while $ac_more_lines; do
49368 if test $ac_beg -gt 1; then
49369 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49371 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49373 if test ! -s $tmp/subs.frag
; then
49374 ac_more_lines
=false
49376 # The purpose of the label and of the branching condition is to
49377 # speed up the sed processing (if there are no `@' at all, there
49378 # is no need to browse any of the substitutions).
49379 # These are the two extra sed commands mentioned above.
49381 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49382 if test -z "$ac_sed_cmds"; then
49383 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49385 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49387 ac_sed_frag
=`expr $ac_sed_frag + 1`
49389 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49392 if test -z "$ac_sed_cmds"; then
49395 fi # test -n "$CONFIG_FILES"
49398 cat >>$CONFIG_STATUS <<\_ACEOF
49399 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49400 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49402 - | *:- | *:-:* ) # input from stdin
49404 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49405 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49406 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49407 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49408 * ) ac_file_in
=$ac_file.
in ;;
49411 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49412 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49414 X"$ac_file" : 'X\(//\)[^/]' \| \
49415 X"$ac_file" : 'X\(//\)$' \| \
49416 X"$ac_file" : 'X\(/\)' \| \
49417 . : '\(.\)' 2>/dev/null ||
49419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49421 /^X\(\/\/\)$/{ s//\1/; q; }
49422 /^X\(\/\).*/{ s//\1/; q; }
49424 { if $as_mkdir_p; then
49429 while test ! -d "$as_dir"; do
49430 as_dirs
="$as_dir $as_dirs"
49431 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49433 X"$as_dir" : 'X\(//\)[^/]' \| \
49434 X"$as_dir" : 'X\(//\)$' \| \
49435 X"$as_dir" : 'X\(/\)' \| \
49436 . : '\(.\)' 2>/dev/null ||
49438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49440 /^X\(\/\/\)$/{ s//\1/; q; }
49441 /^X\(\/\).*/{ s//\1/; q; }
49444 test ! -n "$as_dirs" || mkdir $as_dirs
49445 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49446 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49447 { (exit 1); exit 1; }; }; }
49451 if test "$ac_dir" != .
; then
49452 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49453 # A "../" for each directory in $ac_dir_suffix.
49454 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49456 ac_dir_suffix
= ac_top_builddir
=
49460 .
) # No --srcdir option. We are building in place.
49462 if test -z "$ac_top_builddir"; then
49465 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49467 [\\/]* | ?
:[\\/]* ) # Absolute path.
49468 ac_srcdir
=$srcdir$ac_dir_suffix;
49469 ac_top_srcdir
=$srcdir ;;
49470 *) # Relative path.
49471 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49472 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49475 # Do not use `cd foo && pwd` to compute absolute paths, because
49476 # the directories may not exist.
49478 .
) ac_abs_builddir
="$ac_dir";;
49481 .
) ac_abs_builddir
=`pwd`;;
49482 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49483 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49486 case $ac_abs_builddir in
49487 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49489 case ${ac_top_builddir}.
in
49490 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49491 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49492 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49495 case $ac_abs_builddir in
49496 .
) ac_abs_srcdir
=$ac_srcdir;;
49499 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49500 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49501 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49504 case $ac_abs_builddir in
49505 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49507 case $ac_top_srcdir in
49508 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49509 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49510 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49516 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49517 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49520 if test x
"$ac_file" != x
-; then
49521 { echo "$as_me:$LINENO: creating $ac_file" >&5
49522 echo "$as_me: creating $ac_file" >&6;}
49525 # Let's still pretend it is `configure' which instantiates (i.e., don't
49526 # use $as_me), people would be surprised to read:
49527 # /* config.h. Generated by config.status. */
49528 if test x
"$ac_file" = x
-; then
49531 configure_input
="$ac_file. "
49533 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49534 sed 's,.*/,,'` by configure."
49536 # First look for the input files in the build tree, otherwise in the
49538 ac_file_inputs
=`IFS=:
49539 for f in $ac_file_in; do
49541 -) echo $tmp/stdin ;;
49543 # Absolute (can't be DOS-style, as IFS=:)
49544 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49545 echo "$as_me: error: cannot find input file: $f" >&2;}
49546 { (exit 1); exit 1; }; }
49549 if test -f "$f"; then
49552 elif test -f "$srcdir/$f"; then
49557 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49558 echo "$as_me: error: cannot find input file: $f" >&2;}
49559 { (exit 1); exit 1; }; }
49562 done` || { (exit 1); exit 1; }
49564 cat >>$CONFIG_STATUS <<_ACEOF
49568 cat >>$CONFIG_STATUS <<\_ACEOF
49570 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49571 s
,@configure_input@
,$configure_input,;t t
49572 s
,@srcdir@
,$ac_srcdir,;t t
49573 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49574 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49575 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49576 s
,@builddir@
,$ac_builddir,;t t
49577 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49578 s
,@top_builddir@
,$ac_top_builddir,;t t
49579 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49580 s
,@INSTALL@
,$ac_INSTALL,;t t
49581 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49583 if test x"$ac_file" != x-; then
49584 mv $tmp/out $ac_file
49590 # Run the commands associated with the file.
49592 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49593 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49597 cat >>$CONFIG_STATUS <<\_ACEOF
49600 # CONFIG_HEADER section.
49603 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49604 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49606 # ac_d sets the value in "#define NAME VALUE" lines.
49607 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49608 ac_dB
='[ ].*$,\1#\2'
49611 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49612 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49613 ac_uB
='$,\1#\2define\3'
49617 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49618 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49620 - | *:- | *:-:* ) # input from stdin
49622 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49623 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49624 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49625 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49626 * ) ac_file_in
=$ac_file.
in ;;
49629 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49630 echo "$as_me: creating $ac_file" >&6;}
49632 # First look for the input files in the build tree, otherwise in the
49634 ac_file_inputs
=`IFS=:
49635 for f in $ac_file_in; do
49637 -) echo $tmp/stdin ;;
49639 # Absolute (can't be DOS-style, as IFS=:)
49640 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49641 echo "$as_me: error: cannot find input file: $f" >&2;}
49642 { (exit 1); exit 1; }; }
49643 # Do quote $f, to prevent DOS paths from being IFS'd.
49646 if test -f "$f"; then
49649 elif test -f "$srcdir/$f"; then
49654 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49655 echo "$as_me: error: cannot find input file: $f" >&2;}
49656 { (exit 1); exit 1; }; }
49659 done` || { (exit 1); exit 1; }
49660 # Remove the trailing spaces.
49661 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49665 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49666 # `conftest.undefs', that substitutes the proper values into
49667 # config.h.in to produce config.h. The first handles `#define'
49668 # templates, and the second `#undef' templates.
49669 # And first: Protect against being on the right side of a sed subst in
49670 # config.status. Protect against being in an unquoted here document
49671 # in config.status.
49672 rm -f conftest.defines conftest.undefs
49673 # Using a here document instead of a string reduces the quoting nightmare.
49674 # Putting comments in sed scripts is not portable.
49676 # `end' is used to avoid that the second main sed command (meant for
49677 # 0-ary CPP macros) applies to n-ary macro definitions.
49678 # See the Autoconf documentation for `clear'.
49679 cat >confdef2sed.
sed <<\_ACEOF
49684 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49686 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49689 # If some macros were called several times there might be several times
49690 # the same #defines, which is useless. Nevertheless, we may not want to
49691 # sort them, since we want the *last* AC-DEFINE to be honored.
49692 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49693 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49694 rm -f confdef2sed.sed
49696 # This sed command replaces #undef with comments. This is necessary, for
49697 # example, in the case of _POSIX_SOURCE, which is predefined and required
49698 # on some systems where configure will not decide to define it.
49699 cat >>conftest.undefs <<\_ACEOF
49700 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49703 # Break up conftest.defines because some shells have a limit on the size
49704 # of here documents, and old seds have small limits too (100 cmds).
49705 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49706 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49707 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49708 echo ' :' >>$CONFIG_STATUS
49709 rm -f conftest.tail
49710 while grep . conftest.defines >/dev/null
49712 # Write a limited-size here document to $tmp/defines.sed.
49713 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49714 # Speed up: don't consider the non `#define' lines.
49715 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49716 # Work around the forget-to-reset-the-flag bug.
49717 echo 't clr' >>$CONFIG_STATUS
49718 echo ': clr' >>$CONFIG_STATUS
49719 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49721 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49723 mv $tmp/out $tmp/in
49725 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49726 rm -f conftest.defines
49727 mv conftest.
tail conftest.defines
49729 rm -f conftest.defines
49730 echo ' fi # grep' >>$CONFIG_STATUS
49731 echo >>$CONFIG_STATUS
49733 # Break up conftest.undefs because some shells have a limit on the size
49734 # of here documents, and old seds have small limits too (100 cmds).
49735 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49736 rm -f conftest.
tail
49737 while grep . conftest.undefs
>/dev
/null
49739 # Write a limited-size here document to $tmp/undefs.sed.
49740 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49741 # Speed up: don't consider the non
`#undef'
49742 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49743 # Work around the forget-to-reset-the-flag bug.
49744 echo 't clr' >>$CONFIG_STATUS
49745 echo ': clr' >>$CONFIG_STATUS
49746 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49748 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49750 mv $tmp/out $tmp/in
49752 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49753 rm -f conftest.undefs
49754 mv conftest.tail conftest.undefs
49756 rm -f conftest.undefs
49758 cat >>$CONFIG_STATUS <<\_ACEOF
49759 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49760 # use $as_me), people would be surprised to read:
49761 # /* config.h. Generated by config.status. */
49762 if test x
"$ac_file" = x
-; then
49763 echo "/* Generated by configure. */" >$tmp/config.h
49765 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49767 cat $tmp/in >>$tmp/config.h
49769 if test x
"$ac_file" != x
-; then
49770 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49771 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49772 echo "$as_me: $ac_file is unchanged" >&6;}
49774 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49775 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49776 X"$ac_file" : 'X\(//\)[^/]' \| \
49777 X"$ac_file" : 'X\(//\)$' \| \
49778 X"$ac_file" : 'X\(/\)' \| \
49779 . : '\(.\)' 2>/dev/null ||
49781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49783 /^X\(\/\/\)$/{ s//\1/; q; }
49784 /^X\(\/\).*/{ s//\1/; q; }
49786 { if $as_mkdir_p; then
49791 while test ! -d "$as_dir"; do
49792 as_dirs
="$as_dir $as_dirs"
49793 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49795 X"$as_dir" : 'X\(//\)[^/]' \| \
49796 X"$as_dir" : 'X\(//\)$' \| \
49797 X"$as_dir" : 'X\(/\)' \| \
49798 . : '\(.\)' 2>/dev/null ||
49800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49801 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49802 /^X\(\/\/\)$/{ s//\1/; q; }
49803 /^X\(\/\).*/{ s//\1/; q; }
49806 test ! -n "$as_dirs" || mkdir $as_dirs
49807 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49808 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49809 { (exit 1); exit 1; }; }; }
49812 mv $tmp/config.h
$ac_file
49816 rm -f $tmp/config.h
49820 cat >>$CONFIG_STATUS <<\_ACEOF
49823 # CONFIG_COMMANDS section.
49825 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49826 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49827 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49828 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49829 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49830 X"$ac_dest" : 'X\(//\)[^/]' \| \
49831 X"$ac_dest" : 'X\(//\)$' \| \
49832 X"$ac_dest" : 'X\(/\)' \| \
49833 . : '\(.\)' 2>/dev/null ||
49835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49837 /^X\(\/\/\)$/{ s//\1/; q; }
49838 /^X\(\/\).*/{ s//\1/; q; }
49840 { if $as_mkdir_p; then
49845 while test ! -d "$as_dir"; do
49846 as_dirs
="$as_dir $as_dirs"
49847 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49848 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49849 X"$as_dir" : 'X\(//\)[^/]' \| \
49850 X"$as_dir" : 'X\(//\)$' \| \
49851 X"$as_dir" : 'X\(/\)' \| \
49852 . : '\(.\)' 2>/dev/null ||
49854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49855 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49856 /^X\(\/\/\)$/{ s//\1/; q; }
49857 /^X\(\/\).*/{ s//\1/; q; }
49860 test ! -n "$as_dirs" || mkdir $as_dirs
49861 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49862 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49863 { (exit 1); exit 1; }; }; }
49867 if test "$ac_dir" != .
; then
49868 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49869 # A "../" for each directory in $ac_dir_suffix.
49870 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49872 ac_dir_suffix
= ac_top_builddir
=
49876 .
) # No --srcdir option. We are building in place.
49878 if test -z "$ac_top_builddir"; then
49881 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49883 [\\/]* | ?
:[\\/]* ) # Absolute path.
49884 ac_srcdir
=$srcdir$ac_dir_suffix;
49885 ac_top_srcdir
=$srcdir ;;
49886 *) # Relative path.
49887 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49888 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49891 # Do not use `cd foo && pwd` to compute absolute paths, because
49892 # the directories may not exist.
49894 .
) ac_abs_builddir
="$ac_dir";;
49897 .
) ac_abs_builddir
=`pwd`;;
49898 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49899 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49902 case $ac_abs_builddir in
49903 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49905 case ${ac_top_builddir}.
in
49906 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49907 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49908 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49911 case $ac_abs_builddir in
49912 .
) ac_abs_srcdir
=$ac_srcdir;;
49915 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49916 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49917 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49920 case $ac_abs_builddir in
49921 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49923 case $ac_top_srcdir in
49924 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49925 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49926 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49931 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49932 echo "$as_me: executing $ac_dest commands" >&6;}
49935 mkdir -p $outdir &&
49936 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49938 wx
-config ) rm -f wx
-config
49939 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
49945 cat >>$CONFIG_STATUS <<\_ACEOF
49947 { (exit 0); exit 0; }
49949 chmod +x
$CONFIG_STATUS
49950 ac_clean_files
=$ac_clean_files_save
49953 # configure is writing to config.log, and then calls config.status.
49954 # config.status does its own redirection, appending to config.log.
49955 # Unfortunately, on DOS this fails, as config.log is still kept open
49956 # by configure, so config.status won't be able to write to it; its
49957 # output is simply discarded. So we exec the FD to /dev/null,
49958 # effectively closing config.log, so it can be properly (re)opened and
49959 # appended to by config.status. When coming back to configure, we
49960 # need to make the FD available again.
49961 if test "$no_create" != yes; then
49963 ac_config_status_args
=
49964 test "$silent" = yes &&
49965 ac_config_status_args
="$ac_config_status_args --quiet"
49967 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
49969 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49970 # would make configure fail if this is the last instruction.
49971 $ac_cs_success || { (exit 1); exit 1; }
49975 # CONFIG_SUBDIRS section.
49977 if test "$no_recursion" != yes; then
49979 # Remove --cache-file and --srcdir arguments so they do not pile up.
49980 ac_sub_configure_args
=
49982 for ac_arg
in $ac_configure_args; do
49983 if test -n "$ac_prev"; then
49988 -cache-file | --cache-file | --cache-fil | --cache-fi \
49989 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
49990 ac_prev
=cache_file
;;
49991 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
49992 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
49995 --config-cache | -C)
49997 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
49999 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50005 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50009 # Always prepend --prefix to ensure using the same prefix
50010 # in subdir configurations.
50011 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50014 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50016 # Do not complain, so a configure script can configure whichever
50017 # parts of a large source tree are present.
50018 test -d $srcdir/$ac_dir || continue
50020 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50021 echo "$as_me: configuring in $ac_dir" >&6;}
50022 { if $as_mkdir_p; then
50027 while test ! -d "$as_dir"; do
50028 as_dirs
="$as_dir $as_dirs"
50029 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50031 X"$as_dir" : 'X\(//\)[^/]' \| \
50032 X"$as_dir" : 'X\(//\)$' \| \
50033 X"$as_dir" : 'X\(/\)' \| \
50034 . : '\(.\)' 2>/dev/null ||
50036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50038 /^X\(\/\/\)$/{ s//\1/; q; }
50039 /^X\(\/\).*/{ s//\1/; q; }
50042 test ! -n "$as_dirs" || mkdir $as_dirs
50043 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50044 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50045 { (exit 1); exit 1; }; }; }
50049 if test "$ac_dir" != .
; then
50050 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50051 # A "../" for each directory in $ac_dir_suffix.
50052 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50054 ac_dir_suffix
= ac_top_builddir
=
50058 .
) # No --srcdir option. We are building in place.
50060 if test -z "$ac_top_builddir"; then
50063 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50065 [\\/]* | ?
:[\\/]* ) # Absolute path.
50066 ac_srcdir
=$srcdir$ac_dir_suffix;
50067 ac_top_srcdir
=$srcdir ;;
50068 *) # Relative path.
50069 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50070 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50073 # Do not use `cd foo && pwd` to compute absolute paths, because
50074 # the directories may not exist.
50076 .
) ac_abs_builddir
="$ac_dir";;
50079 .
) ac_abs_builddir
=`pwd`;;
50080 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50081 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50084 case $ac_abs_builddir in
50085 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50087 case ${ac_top_builddir}.
in
50088 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50089 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50090 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50093 case $ac_abs_builddir in
50094 .
) ac_abs_srcdir
=$ac_srcdir;;
50097 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50098 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50099 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50102 case $ac_abs_builddir in
50103 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50105 case $ac_top_srcdir in
50106 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50107 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50108 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50115 # Check for guested configure; otherwise get Cygnus style configure.
50116 if test -f $ac_srcdir/configure.gnu
; then
50117 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50118 elif test -f $ac_srcdir/configure
; then
50119 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50120 elif test -f $ac_srcdir/configure.
in; then
50121 ac_sub_configure
=$ac_configure
50123 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50124 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50128 # The recursion is here.
50129 if test -n "$ac_sub_configure"; then
50130 # Make the cache file name correct relative to the subdirectory.
50131 case $cache_file in
50132 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50133 *) # Relative path.
50134 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50137 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50138 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50139 # The eval makes quoting arguments work.
50140 eval $ac_sub_configure $ac_sub_configure_args \
50141 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50142 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50143 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50144 { (exit 1); exit 1; }; }
50153 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50155 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50156 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50158 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50159 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50160 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50162 echo " What level of wxWidgets compatibility should be enabled?"
50163 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50164 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50166 echo " Which libraries should wxWidgets use?"
50167 echo " jpeg ${wxUSE_LIBJPEG-none}"
50168 echo " png ${wxUSE_LIBPNG-none}"
50169 echo " regex ${wxUSE_REGEX}"
50170 echo " tiff ${wxUSE_LIBTIFF-none}"
50171 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50172 echo " xpm ${wxUSE_LIBXPM-none}"
50174 echo " zlib ${wxUSE_ZLIB}"
50175 echo " odbc ${wxUSE_ODBC}"
50176 echo " expat ${wxUSE_EXPAT}"
50177 echo " libmspack ${wxUSE_LIBMSPACK}"
50178 echo " sdl ${wxUSE_LIBSDL}"
50179 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50180 echo " hildon ${wxUSE_LIBHILDON-none}"