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 CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS 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 GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS 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_GNOMEVFS 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 ICC_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_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 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_MEDIA_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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_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_MEDIA_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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_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_0 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_DFB COND_TOOLKIT_DFB_USE_GUI_1 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_PCH_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
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
853 ac_env_GST_LIBS_set
=${GST_LIBS+set}
854 ac_env_GST_LIBS_value
=$GST_LIBS
855 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value
=$GST_LIBS
859 # Report the --help message.
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
867 Usage: $0 [OPTION]... [VAR=VALUE]...
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
872 Defaults for the options are specified in brackets.
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
899 For better control, use the options below.
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
919 --x-includes=DIR X include files are
in DIR
920 --x-libraries=DIR X library files are
in DIR
923 --build=BUILD configure
for building on BUILD
[guessed
]
924 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
925 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
936 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
937 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
944 --enable-gpe use GNOME PDA Environment features
if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL
for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C
++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
961 --enable-compat24 enable wxWidgets
2.4 compatibility
962 --disable-compat26 disable wxWidgets
2.6 compatibility
963 --disable-rpath disable use of rpath
for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig
(and derived
) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP
(requires wxProtocol
968 --enable-http use wxHTTP
(requires wxProtocol
969 --enable-fileproto use wxFileProto class
(requires wxProtocol
970 --enable-sockets use socket
/network classes
971 --enable-ole use OLE classes
(Win32 only
)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication
(wxSocket etc.
)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class
for getting backtraces
977 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class
for DLL loading
983 --enable-dynamicloader use
(new
) wxDynamicLibrary class
984 --enable-exceptions build exception
-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual
file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP
/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C
++ stream classes
998 --enable-std_string use standard C
++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support
in wxProtocol
1016 --enable-protocol-ftp FTP support
in wxProtocol
1017 --enable-protocol-file FILE support
in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use
help subsystem
1021 --enable-mshtmlhelp use MS HTML Help
(win32
)
1022 --enable-html use wxHTML sub
-library
1023 --enable-htmlhelp use wxHTML
-based help
1024 --enable-xrc use XRC resources sub
-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout
-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl
(Mac
)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-graphics_ctx use graphics context
2D drawing API
1036 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1037 --enable-prologio not available
; see contrib
1038 --enable-resources not available
; see contrib
1039 --enable-clipboard use wxClipboard class
1040 --enable-dnd use Drag
'n'Drop classes
1041 --enable-metafile use win32 metafiles
1042 --enable-controls use all usual controls
1043 --enable-accel use accelerators
1044 --enable-button use wxButton class
1045 --enable-bmpbutton use wxBitmapButton class
1046 --enable-bmpcombobox use wxBitmapComboBox class
1047 --enable-calendar use wxCalendarCtrl class
1048 --enable-caret use wxCaret class
1049 --enable-checkbox use wxCheckBox class
1050 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1051 --enable-choice use wxChoice class
1052 --enable-choicebook use wxChoicebook class
1053 --enable-colourpicker use wxColourPickerCtrl class
1054 --enable-combobox use wxComboBox class
1055 --enable-comboctrl use wxComboCtrl class
1056 --enable-datepick use wxDatePickerCtrl class
1057 --enable-dirpicker use wxDirPickerCtrl class
1058 --enable-display use wxDisplay class
1059 --enable-filepicker use wxFilePickerCtrl class
1060 --enable-fontpicker use wxFontPickerCtrl class
1061 --enable-gauge use wxGauge class
1062 --enable-grid use wxGrid class
1063 --enable-dataviewctrl, use wxDataViewCtrl class
1064 --enable-hyperlink use wxHyperlinkCtrl class
1065 --enable-imaglist use wxImageList class
1066 --enable-listbook use wxListbook class
1067 --enable-listbox use wxListBox class
1068 --enable-listctrl use wxListCtrl class
1069 --enable-notebook use wxNotebook class
1070 --enable-odcombobox use wxOwnerDrawnComboBox class
1071 --enable-radiobox use wxRadioBox class
1072 --enable-radiobtn use wxRadioButton class
1073 --enable-sash use wxSashWindow class
1074 --enable-scrollbar use wxScrollBar class and scrollable windows
1075 --enable-slider use wxSlider class
1076 --enable-spinbtn use wxSpinButton class
1077 --enable-spinctrl use wxSpinCtrl class
1078 --enable-splitter use wxSplitterWindow class
1079 --enable-statbmp use wxStaticBitmap class
1080 --enable-statbox use wxStaticBox class
1081 --enable-statline use wxStaticLine class
1082 --enable-stattext use wxStaticText class
1083 --enable-statusbar use wxStatusBar class
1084 --enable-tabdialog use wxTabControl class
1085 --enable-textctrl use wxTextCtrl class
1086 --enable-togglebtn use wxToggleButton class
1087 --enable-toolbar use wxToolBar class
1088 --enable-tbarnative use native wxToolBar class
1089 --enable-treebook use wxTreebook class
1090 --enable-toolbook use wxToolbook class
1091 --enable-treectrl use wxTreeCtrl class
1092 --enable-tipwindow use wxTipWindow class
1093 --enable-popupwin use wxPopUpWindow class
1094 --enable-commondlg use all common dialogs
1095 --enable-choicedlg use wxChoiceDialog
1096 --enable-coldlg use wxColourDialog
1097 --enable-filedlg use wxFileDialog
1098 --enable-finddlg use wxFindReplaceDialog
1099 --enable-fontdlg use wxFontDialog
1100 --enable-dirdlg use wxDirDialog
1101 --enable-msgdlg use wxMessageDialog
1102 --enable-numberdlg use wxNumberEntryDialog
1103 --enable-splash use wxSplashScreen
1104 --enable-textdlg use wxTextDialog
1105 --enable-tipdlg use startup tips
1106 --enable-progressdlg use wxProgressDialog
1107 --enable-wizarddlg use wxWizard
1108 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1109 --enable-miniframe use wxMiniFrame class
1110 --enable-tooltips use wxToolTip class
1111 --enable-splines use spline drawing code
1112 --enable-mousewheel use mousewheel
1113 --enable-validators use wxValidator and derived classes
1114 --enable-busyinfo use wxBusyInfo
1115 --enable-joystick use wxJoystick
1116 --enable-metafiles use wxMetaFile
(Win32 only
)
1117 --enable-dragimage use wxDragImage
1118 --enable-accessibility enable accessibility support
1119 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1120 --enable-palette use wxPalette class
1121 --enable-image use wxImage class
1122 --enable-gif use gif images
(GIF
file format
)
1123 --enable-pcx use pcx images
(PCX
file format
)
1124 --enable-iff use iff images
(IFF
file format
)
1125 --enable-pnm use pnm images
(PNM
file format
)
1126 --enable-xpm use xpm images
(XPM
file format
)
1127 --enable-icocur use Windows ICO and CUR formats
1128 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1129 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1130 --disable-largefile omit support
for large files
1131 --disable-gtktest do not try to compile and run a
test GTK
+ program
1132 --disable-gtktest Do not try to compile and run a
test GTK program
1133 --disable-sdltest Do not try to compile and run a
test SDL program
1134 --enable-omf use OMF object format
(OS
/2)
1135 --disable-dependency-tracking
1136 don
't use dependency tracking even if the compiler
1138 --disable-precomp-headers
1139 don't use precompiled headers even
if compiler can
1142 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1143 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1144 --without-subdirs don
't generate makefiles for samples/demos/...
1145 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1146 --with-motif use Motif/Lesstif
1147 --with-mac use Mac OS X
1148 --with-cocoa use Cocoa
1149 --with-wine use Wine
1150 --with-msw use MS-Windows
1151 --with-pm use OS/2 Presentation Manager
1152 --with-mgl use SciTech MGL
1153 --with-directfb use DirectFB
1154 --with-microwin use MicroWindows
1156 --with-libpng use libpng (PNG image format)
1157 --with-libjpeg use libjpeg (JPEG file format)
1158 --with-libtiff use libtiff (TIFF file format)
1159 --with-libxpm use libxpm (XPM file format)
1160 --with-libmspack use libmspack (CHM help files loading)
1161 --with-sdl use SDL for audio on Unix
1162 --with-gnomeprint use GNOME print for printing under GNOME
1163 --with-gnomevfs use GNOME VFS for associating MIME types
1164 --with-hildon use Hildon framework for Nokia 770
1165 --with-opengl use OpenGL (or Mesa)
1166 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1167 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1168 --with-regex enable support for wxRegEx class
1169 --with-zlib use zlib for LZW compression
1170 --with-odbc use the IODBC and wxODBC classes
1171 --with-expat enable XML support using expat parser
1172 --with-flavour=NAME specify a name to identify this build
1173 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1174 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1175 --with-x use the X Window System
1176 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1177 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1178 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1179 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1180 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1182 Some influential environment variables:
1183 CC C compiler command
1184 CFLAGS C compiler flags
1185 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1186 nonstandard directory <lib dir>
1187 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1188 headers in a nonstandard directory <include dir>
1190 CXX C++ compiler command
1191 CXXFLAGS C++ compiler flags
1192 CXXCPP C++ preprocessor
1193 PKG_CONFIG path to pkg-config utility
1195 C compiler flags for DIRECTFB, overriding pkg-config
1197 linker flags for DIRECTFB, overriding pkg-config
1199 C compiler flags for PANGOX, overriding pkg-config
1200 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1202 C compiler flags for PANGOFT2, overriding pkg-config
1204 linker flags for PANGOFT2, overriding pkg-config
1206 C compiler flags for PANGOXFT, overriding pkg-config
1208 linker flags for PANGOXFT, overriding pkg-config
1209 LIBGNOMEPRINTUI_CFLAGS
1210 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1211 LIBGNOMEPRINTUI_LIBS
1212 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1214 C compiler flags for GNOMEVFS, overriding pkg-config
1216 linker flags for GNOMEVFS, overriding pkg-config
1218 C compiler flags for HILDON, overriding pkg-config
1219 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1220 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1221 GST_LIBS linker flags for GST, overriding pkg-config
1223 Use these variables to override the choices made by `configure' or to
help
1224 it to
find libraries and programs with nonstandard names
/locations.
1226 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1230 if test "$ac_init_help" = "recursive"; then
1231 # If there are subdirs, report their specific --help.
1233 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1234 test -d $ac_dir || continue
1237 if test "$ac_dir" != .
; then
1238 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1239 # A "../" for each directory in $ac_dir_suffix.
1240 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1242 ac_dir_suffix
= ac_top_builddir
=
1246 .
) # No --srcdir option. We are building in place.
1248 if test -z "$ac_top_builddir"; then
1251 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1253 [\\/]* | ?
:[\\/]* ) # Absolute path.
1254 ac_srcdir
=$srcdir$ac_dir_suffix;
1255 ac_top_srcdir
=$srcdir ;;
1257 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1258 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1261 # Do not use `cd foo && pwd` to compute absolute paths, because
1262 # the directories may not exist.
1264 .
) ac_abs_builddir
="$ac_dir";;
1267 .
) ac_abs_builddir
=`pwd`;;
1268 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1269 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1272 case $ac_abs_builddir in
1273 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1275 case ${ac_top_builddir}.
in
1276 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1277 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1278 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1281 case $ac_abs_builddir in
1282 .
) ac_abs_srcdir
=$ac_srcdir;;
1285 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1286 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1287 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1290 case $ac_abs_builddir in
1291 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1293 case $ac_top_srcdir in
1294 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1295 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1296 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1301 # Check for guested configure; otherwise get Cygnus style configure.
1302 if test -f $ac_srcdir/configure.gnu
; then
1304 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1305 elif test -f $ac_srcdir/configure
; then
1307 $SHELL $ac_srcdir/configure
--help=recursive
1308 elif test -f $ac_srcdir/configure.ac
||
1309 test -f $ac_srcdir/configure.
in; then
1311 $ac_configure --help
1313 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1319 test -n "$ac_init_help" && exit 0
1320 if $ac_init_version; then
1322 wxWidgets configure
2.7.0
1323 generated by GNU Autoconf
2.59
1325 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1326 This configure
script is free software
; the Free Software Foundation
1327 gives unlimited permission to copy
, distribute and modify it.
1333 This file contains any messages produced by compilers while
1334 running configure, to aid debugging if configure makes a mistake.
1336 It was created by wxWidgets $as_me 2.7.0, which was
1337 generated by GNU Autoconf 2.59. Invocation command line was
1348 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1349 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1350 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1351 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1352 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1354 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1355 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1357 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1358 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1359 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1360 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1361 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1362 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1363 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1371 test -z "$as_dir" && as_dir
=.
1372 echo "PATH: $as_dir"
1387 # Keep a trace of the command line.
1388 # Strip out --no-create and --no-recursion so they do not pile up.
1389 # Strip out --silent because we don't want to record it for future runs.
1390 # Also quote any args containing shell meta-characters.
1391 # Make two passes to allow for proper duplicate-argument suppression.
1396 ac_must_keep_next
=false
1402 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1404 | -silent | --silent | --silen | --sile | --sil)
1406 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1407 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1410 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1412 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1413 if test $ac_must_keep_next = true
; then
1414 ac_must_keep_next
=false
# Got value, back to normal.
1417 *=* | --config-cache | -C | -disable-* | --disable-* \
1418 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1419 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1420 | -with-* | --with-* | -without-* | --without-* | --x)
1421 case "$ac_configure_args0 " in
1422 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1425 -* ) ac_must_keep_next
=true
;;
1428 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1429 # Get rid of the leading space.
1435 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1436 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1438 # When interrupted or exit'd, cleanup temporary files, and complete
1439 # config.log. We remove comments because anyway the quotes in there
1440 # would cause problems or look ugly.
1441 # WARNING: Be sure not to use single quotes in there, as some shells,
1442 # such as our DU 5.0 friend, will then `close' the trap.
1443 trap 'exit_status=$?
1444 # Save into config.log some information that might help in debugging.
1449 ## ---------------- ##
1450 ## Cache variables. ##
1451 ## ---------------- ##
1454 # The following way of writing the cache mishandles newlines in values,
1457 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1460 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1465 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1472 ## ----------------- ##
1473 ## Output variables. ##
1474 ## ----------------- ##
1477 for ac_var in $ac_subst_vars
1479 eval ac_val=$`echo $ac_var`
1480 echo "$ac_var='"'"'$ac_val'"'"'"
1484 if test -n "$ac_subst_files"; then
1491 for ac_var in $ac_subst_files
1493 eval ac_val=$`echo $ac_var`
1494 echo "$ac_var='"'"'$ac_val'"'"'"
1499 if test -s confdefs.h; then
1506 sed "/^$/d" confdefs.h | sort
1509 test "$ac_signal" != 0 &&
1510 echo "$as_me: caught signal $ac_signal"
1511 echo "$as_me: exit $exit_status"
1513 rm -f core *.core &&
1514 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1517 for ac_signal
in 1 2 13 15; do
1518 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1522 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1523 rm -rf conftest
* confdefs.h
1524 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1527 # Predefined preprocessor variables.
1529 cat >>confdefs.h
<<_ACEOF
1530 #define PACKAGE_NAME "$PACKAGE_NAME"
1534 cat >>confdefs.h
<<_ACEOF
1535 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1539 cat >>confdefs.h
<<_ACEOF
1540 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1544 cat >>confdefs.h
<<_ACEOF
1545 #define PACKAGE_STRING "$PACKAGE_STRING"
1549 cat >>confdefs.h
<<_ACEOF
1550 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1554 # Let the site file select an alternate cache file if it wants to.
1555 # Prefer explicitly selected file to automatically selected ones.
1556 if test -z "$CONFIG_SITE"; then
1557 if test "x$prefix" != xNONE
; then
1558 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1560 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1563 for ac_site_file
in $CONFIG_SITE; do
1564 if test -r "$ac_site_file"; then
1565 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1566 echo "$as_me: loading site script $ac_site_file" >&6;}
1567 sed 's/^/| /' "$ac_site_file" >&5
1572 if test -r "$cache_file"; then
1573 # Some versions of bash will fail to source /dev/null (special
1574 # files actually), so we avoid doing that.
1575 if test -f "$cache_file"; then
1576 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1577 echo "$as_me: loading cache $cache_file" >&6;}
1579 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1580 *) . .
/$cache_file;;
1584 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1585 echo "$as_me: creating cache $cache_file" >&6;}
1589 # Check that the precious variables saved in the cache have kept the same
1591 ac_cache_corrupted
=false
1592 for ac_var
in `(set) 2>&1 |
1593 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1594 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1595 eval ac_new_set
=\
$ac_env_${ac_var}_set
1596 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1597 eval ac_new_val
="\$ac_env_${ac_var}_value"
1598 case $ac_old_set,$ac_new_set in
1600 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1601 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1602 ac_cache_corrupted
=: ;;
1604 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1605 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1606 ac_cache_corrupted
=: ;;
1609 if test "x$ac_old_val" != "x$ac_new_val"; then
1610 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1611 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1612 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1613 echo "$as_me: former value: $ac_old_val" >&2;}
1614 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1615 echo "$as_me: current value: $ac_new_val" >&2;}
1616 ac_cache_corrupted
=:
1619 # Pass precious variables to config.status.
1620 if test "$ac_new_set" = set; then
1622 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1623 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1624 *) ac_arg
=$ac_var=$ac_new_val ;;
1626 case " $ac_configure_args " in
1627 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1628 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1632 if $ac_cache_corrupted; then
1633 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1634 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1635 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1636 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1637 { (exit 1); exit 1; }; }
1641 ac_cpp
='$CPP $CPPFLAGS'
1642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1676 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1677 if test -f $ac_dir/install-sh; then
1679 ac_install_sh
="$ac_aux_dir/install-sh -c"
1681 elif test -f $ac_dir/install.sh
; then
1683 ac_install_sh
="$ac_aux_dir/install.sh -c"
1685 elif test -f $ac_dir/shtool
; then
1687 ac_install_sh
="$ac_aux_dir/shtool install -c"
1691 if test -z "$ac_aux_dir"; then
1692 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1693 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1694 { (exit 1); exit 1; }; }
1696 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1697 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1698 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1700 # Make sure we can run config.sub.
1701 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1702 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1703 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1704 { (exit 1); exit 1; }; }
1706 echo "$as_me:$LINENO: checking build system type" >&5
1707 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1708 if test "${ac_cv_build+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 ac_cv_build_alias
=$build_alias
1712 test -z "$ac_cv_build_alias" &&
1713 ac_cv_build_alias
=`$ac_config_guess`
1714 test -z "$ac_cv_build_alias" &&
1715 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1716 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1717 { (exit 1); exit 1; }; }
1718 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1719 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1720 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1721 { (exit 1); exit 1; }; }
1724 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1725 echo "${ECHO_T}$ac_cv_build" >&6
1727 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1728 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1729 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1732 echo "$as_me:$LINENO: checking host system type" >&5
1733 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1734 if test "${ac_cv_host+set}" = set; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 ac_cv_host_alias
=$host_alias
1738 test -z "$ac_cv_host_alias" &&
1739 ac_cv_host_alias
=$ac_cv_build_alias
1740 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1741 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1742 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1743 { (exit 1); exit 1; }; }
1746 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1747 echo "${ECHO_T}$ac_cv_host" >&6
1749 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1750 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1751 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1754 echo "$as_me:$LINENO: checking target system type" >&5
1755 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1756 if test "${ac_cv_target+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 ac_cv_target_alias
=$target_alias
1760 test "x$ac_cv_target_alias" = "x" &&
1761 ac_cv_target_alias
=$ac_cv_host_alias
1762 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1763 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1764 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1765 { (exit 1); exit 1; }; }
1768 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1769 echo "${ECHO_T}$ac_cv_target" >&6
1770 target
=$ac_cv_target
1771 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1772 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1773 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1776 # The aliases save the names the user supplied, while $host etc.
1777 # will get canonicalized.
1778 test -n "$target_alias" &&
1779 test "$program_prefix$program_suffix$program_transform_name" = \
1781 program_prefix
=${target_alias}-
1785 wx_major_version_number
=2
1786 wx_minor_version_number
=7
1788 wx_subrelease_number
=1
1790 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1791 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1792 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1794 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1807 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1813 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1819 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1821 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1823 DEFAULT_wxUSE_COCOA
=0
1827 DEFAULT_wxUSE_MICROWIN
=0
1828 DEFAULT_wxUSE_MOTIF
=0
1834 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1835 DEFAULT_DEFAULT_wxUSE_GTK
=0
1836 DEFAULT_DEFAULT_wxUSE_MAC
=0
1837 DEFAULT_DEFAULT_wxUSE_MGL
=0
1838 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1839 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1840 DEFAULT_DEFAULT_wxUSE_MSW
=0
1841 DEFAULT_DEFAULT_wxUSE_PM
=0
1842 DEFAULT_DEFAULT_wxUSE_X11
=0
1843 DEFAULT_DEFAULT_wxUSE_DFB
=0
1848 SAMPLES_RPATH_POSTLINK
=
1850 DEFAULT_STD_FLAG
=yes
1855 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1856 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1858 cat >>confdefs.h
<<\_ACEOF
1863 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1867 cat >>confdefs.h
<<\_ACEOF
1872 if test "x$TMP" = "xalpha"; then
1874 cat >>confdefs.h
<<\_ACEOF
1879 DEFAULT_DEFAULT_wxUSE_GTK
=1
1881 *-*-gnu* | *-*-k*bsd
*-gnu )
1884 if test "x$TMP" = "xalpha"; then
1886 cat >>confdefs.h
<<\_ACEOF
1891 DEFAULT_DEFAULT_wxUSE_GTK
=1
1893 *-*-irix5* | *-*-irix6* )
1896 cat >>confdefs.h
<<\_ACEOF
1900 cat >>confdefs.h
<<\_ACEOF
1904 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1910 cat >>confdefs.h
<<\_ACEOF
1914 cat >>confdefs.h
<<\_ACEOF
1915 #define __SOLARIS__ 1
1918 cat >>confdefs.h
<<\_ACEOF
1922 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1923 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1929 cat >>confdefs.h
<<\_ACEOF
1933 cat >>confdefs.h
<<\_ACEOF
1937 cat >>confdefs.h
<<\_ACEOF
1941 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1946 cat >>confdefs.h
<<\_ACEOF
1947 #define __FREEBSD__ 1
1950 cat >>confdefs.h
<<\_ACEOF
1954 DEFAULT_DEFAULT_wxUSE_GTK
=1
1956 *-*-openbsd*|*-*-mirbsd*)
1959 cat >>confdefs.h
<<\_ACEOF
1960 #define __OPENBSD__ 1
1963 cat >>confdefs.h
<<\_ACEOF
1967 DEFAULT_DEFAULT_wxUSE_GTK
=1
1972 cat >>confdefs.h
<<\_ACEOF
1973 #define __NETBSD__ 1
1976 cat >>confdefs.h
<<\_ACEOF
1980 DEFAULT_DEFAULT_wxUSE_GTK
=1
1981 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1983 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1988 cat >>confdefs.h
<<\_ACEOF
1992 cat >>confdefs.h
<<\_ACEOF
1996 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1997 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2002 cat >>confdefs.h
<<\_ACEOF
2006 cat >>confdefs.h
<<\_ACEOF
2010 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2015 cat >>confdefs.h
<<\_ACEOF
2019 cat >>confdefs.h
<<\_ACEOF
2023 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2030 cat >>confdefs.h
<<\_ACEOF
2034 cat >>confdefs.h
<<\_ACEOF
2038 cat >>confdefs.h
<<\_ACEOF
2042 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2049 cat >>confdefs.h
<<\_ACEOF
2050 #define __UNIXWARE__ 1
2055 *-*-cygwin* | *-*-mingw32* )
2058 DEFAULT_DEFAULT_wxUSE_MSW
=1
2065 cat >>confdefs.h
<<\_ACEOF
2070 DEFAULT_DEFAULT_wxUSE_MGL
=1
2073 *-pc-os2_emx | *-pc-os2-emx )
2074 cat >>confdefs.h
<<\_ACEOF
2079 cat >>confdefs.h
<<\_ACEOF
2084 DEFAULT_DEFAULT_wxUSE_PM
=1
2086 LDFLAGS
="$LDFLAGS -Zcrtdll"
2087 ac_executable_extensions
=".exe"
2088 export ac_executable_extensions
2092 for ac_dir
in $PATH; do
2094 if test -z "$ac_TEMP_PATH"; then
2095 ac_TEMP_PATH
="$ac_dir"
2097 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2100 export PATH
="$ac_TEMP_PATH"
2109 cat >>confdefs.h
<<\_ACEOF
2113 cat >>confdefs.h
<<\_ACEOF
2114 #define __DARWIN__ 1
2117 cat >>confdefs.h
<<\_ACEOF
2118 #define TARGET_CARBON 1
2121 DEFAULT_DEFAULT_wxUSE_MAC
=1
2124 powerpc
-apple-macos* )
2126 ac_cv_c_bigendian
=yes
2128 DEFAULT_DEFAULT_wxUSE_MAC
=1
2134 cat >>confdefs.h
<<\_ACEOF
2141 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2142 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2143 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2144 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2146 DEFAULT_DEFAULT_wxUSE_X11
=1
2147 DEFAULT_wxUSE_SHARED
=no
2153 wx_arg_cache_file
="configarg.cache"
2154 echo "loading argument cache $wx_arg_cache_file"
2155 rm -f ${wx_arg_cache_file}.tmp
2156 touch ${wx_arg_cache_file}.tmp
2157 touch ${wx_arg_cache_file}
2161 if test $DEBUG_CONFIGURE = 1; then
2162 DEFAULT_wxUSE_UNIVERSAL
=no
2163 DEFAULT_wxUSE_STL
=no
2165 DEFAULT_wxUSE_NANOX
=no
2167 DEFAULT_wxUSE_THREADS
=yes
2169 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2170 DEFAULT_wxUSE_OPTIMISE
=no
2171 DEFAULT_wxUSE_PROFILE
=no
2172 DEFAULT_wxUSE_NO_DEPS
=no
2173 DEFAULT_wxUSE_NO_RTTI
=no
2174 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2175 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2176 DEFAULT_wxUSE_RPATH
=yes
2177 DEFAULT_wxUSE_PERMISSIVE
=no
2178 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2179 DEFAULT_wxUSE_DEBUG_INFO
=yes
2180 DEFAULT_wxUSE_DEBUG_GDB
=yes
2181 DEFAULT_wxUSE_MEM_TRACING
=no
2182 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2183 DEFAULT_wxUSE_DMALLOC
=no
2184 DEFAULT_wxUSE_APPLE_IEEE
=no
2186 DEFAULT_wxUSE_EXCEPTIONS
=no
2187 DEFAULT_wxUSE_LOG
=yes
2188 DEFAULT_wxUSE_LOGWINDOW
=no
2189 DEFAULT_wxUSE_LOGGUI
=no
2190 DEFAULT_wxUSE_LOGDIALOG
=no
2192 DEFAULT_wxUSE_GUI
=yes
2193 DEFAULT_wxUSE_CONTROLS
=no
2195 DEFAULT_wxUSE_REGEX
=no
2196 DEFAULT_wxUSE_XML
=no
2197 DEFAULT_wxUSE_EXPAT
=no
2198 DEFAULT_wxUSE_ZLIB
=no
2199 DEFAULT_wxUSE_LIBPNG
=no
2200 DEFAULT_wxUSE_LIBJPEG
=no
2201 DEFAULT_wxUSE_LIBTIFF
=no
2202 DEFAULT_wxUSE_LIBXPM
=no
2203 DEFAULT_wxUSE_LIBMSPACK
=no
2204 DEFAULT_wxUSE_LIBSDL
=no
2205 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2206 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2207 DEFAULT_wxUSE_LIBHILDON
=no
2208 DEFAULT_wxUSE_ODBC
=no
2209 DEFAULT_wxUSE_OPENGL
=no
2211 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2212 DEFAULT_wxUSE_STACKWALKER
=no
2213 DEFAULT_wxUSE_DEBUGREPORT
=no
2214 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2215 DEFAULT_wxUSE_STD_IOSTREAM
=no
2216 DEFAULT_wxUSE_STD_STRING
=no
2217 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2218 DEFAULT_wxUSE_DATETIME
=no
2219 DEFAULT_wxUSE_TIMER
=no
2220 DEFAULT_wxUSE_STOPWATCH
=no
2221 DEFAULT_wxUSE_FILE
=no
2222 DEFAULT_wxUSE_FFILE
=no
2223 DEFAULT_wxUSE_STDPATHS
=no
2224 DEFAULT_wxUSE_TEXTBUFFER
=no
2225 DEFAULT_wxUSE_TEXTFILE
=no
2226 DEFAULT_wxUSE_SOUND
=no
2227 DEFAULT_wxUSE_MEDIACTRL
=no
2228 DEFAULT_wxUSE_GSTREAMER8
=no
2229 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2230 DEFAULT_wxUSE_INTL
=no
2231 DEFAULT_wxUSE_CONFIG
=no
2232 DEFAULT_wxUSE_FONTMAP
=no
2233 DEFAULT_wxUSE_STREAMS
=no
2234 DEFAULT_wxUSE_SOCKETS
=no
2235 DEFAULT_wxUSE_OLE
=no
2236 DEFAULT_wxUSE_DATAOBJ
=no
2237 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2238 DEFAULT_wxUSE_JOYSTICK
=no
2239 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2240 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2241 DEFAULT_wxUSE_LONGLONG
=no
2242 DEFAULT_wxUSE_GEOMETRY
=no
2244 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2245 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2246 DEFAULT_wxUSE_POSTSCRIPT
=no
2248 DEFAULT_wxUSE_CLIPBOARD
=no
2249 DEFAULT_wxUSE_TOOLTIPS
=no
2250 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2251 DEFAULT_wxUSE_DRAGIMAGE
=no
2252 DEFAULT_wxUSE_SPLINES
=no
2253 DEFAULT_wxUSE_MOUSEWHEEL
=no
2255 DEFAULT_wxUSE_MDI
=no
2256 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2257 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2258 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2260 DEFAULT_wxUSE_RESOURCES
=no
2261 DEFAULT_wxUSE_CONSTRAINTS
=no
2262 DEFAULT_wxUSE_IPC
=no
2263 DEFAULT_wxUSE_HELP
=no
2264 DEFAULT_wxUSE_MS_HTML_HELP
=no
2265 DEFAULT_wxUSE_WXHTML_HELP
=no
2266 DEFAULT_wxUSE_TREELAYOUT
=no
2267 DEFAULT_wxUSE_METAFILE
=no
2268 DEFAULT_wxUSE_MIMETYPE
=no
2269 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2270 DEFAULT_wxUSE_PROTOCOL
=no
2271 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2272 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2273 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2274 DEFAULT_wxUSE_URL
=no
2275 DEFAULT_wxUSE_VARIANT
=no
2277 DEFAULT_wxUSE_COMMONDLGS
=no
2278 DEFAULT_wxUSE_CHOICEDLG
=no
2279 DEFAULT_wxUSE_COLOURDLG
=no
2280 DEFAULT_wxUSE_DIRDLG
=no
2281 DEFAULT_wxUSE_FILEDLG
=no
2282 DEFAULT_wxUSE_FINDREPLDLG
=no
2283 DEFAULT_wxUSE_FONTDLG
=no
2284 DEFAULT_wxUSE_MSGDLG
=no
2285 DEFAULT_wxUSE_NUMBERDLG
=no
2286 DEFAULT_wxUSE_TEXTDLG
=no
2287 DEFAULT_wxUSE_SPLASH
=no
2288 DEFAULT_wxUSE_STARTUP_TIPS
=no
2289 DEFAULT_wxUSE_PROGRESSDLG
=no
2290 DEFAULT_wxUSE_WIZARDDLG
=no
2292 DEFAULT_wxUSE_MENUS
=no
2293 DEFAULT_wxUSE_MINIFRAME
=no
2294 DEFAULT_wxUSE_HTML
=no
2295 DEFAULT_wxUSE_RICHTEXT
=no
2296 DEFAULT_wxUSE_XRC
=no
2297 DEFAULT_wxUSE_AUI
=no
2298 DEFAULT_wxUSE_WEBKIT
=no
2299 DEFAULT_wxUSE_FILESYSTEM
=no
2300 DEFAULT_wxUSE_FS_INET
=no
2301 DEFAULT_wxUSE_FS_ZIP
=no
2302 DEFAULT_wxUSE_BUSYINFO
=no
2303 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2304 DEFAULT_wxUSE_ZIPSTREAM
=no
2305 DEFAULT_wxUSE_VALIDATORS
=no
2307 DEFAULT_wxUSE_ACCEL
=no
2308 DEFAULT_wxUSE_BUTTON
=no
2309 DEFAULT_wxUSE_BMPBUTTON
=no
2310 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2311 DEFAULT_wxUSE_CALCTRL
=no
2312 DEFAULT_wxUSE_CARET
=no
2313 DEFAULT_wxUSE_CHECKBOX
=no
2314 DEFAULT_wxUSE_CHECKLST
=no
2315 DEFAULT_wxUSE_CHOICE
=no
2316 DEFAULT_wxUSE_CHOICEBOOK
=no
2317 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2318 DEFAULT_wxUSE_COMBOBOX
=no
2319 DEFAULT_wxUSE_COMBOCTRL
=no
2320 DEFAULT_wxUSE_DATEPICKCTRL
=no
2321 DEFAULT_wxUSE_DISPLAY
=no
2322 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2323 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2324 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2325 DEFAULT_wxUSE_GAUGE
=no
2326 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2327 DEFAULT_wxUSE_GRID
=no
2328 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2329 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2330 DEFAULT_wxUSE_IMAGLIST
=no
2331 DEFAULT_wxUSE_LISTBOOK
=no
2332 DEFAULT_wxUSE_LISTBOX
=no
2333 DEFAULT_wxUSE_LISTCTRL
=no
2334 DEFAULT_wxUSE_NOTEBOOK
=no
2335 DEFAULT_wxUSE_ODCOMBOBOX
=no
2336 DEFAULT_wxUSE_RADIOBOX
=no
2337 DEFAULT_wxUSE_RADIOBTN
=no
2338 DEFAULT_wxUSE_SASH
=no
2339 DEFAULT_wxUSE_SCROLLBAR
=no
2340 DEFAULT_wxUSE_SLIDER
=no
2341 DEFAULT_wxUSE_SPINBTN
=no
2342 DEFAULT_wxUSE_SPINCTRL
=no
2343 DEFAULT_wxUSE_SPLITTER
=no
2344 DEFAULT_wxUSE_STATBMP
=no
2345 DEFAULT_wxUSE_STATBOX
=no
2346 DEFAULT_wxUSE_STATLINE
=no
2347 DEFAULT_wxUSE_STATTEXT
=no
2348 DEFAULT_wxUSE_STATUSBAR
=yes
2349 DEFAULT_wxUSE_TAB_DIALOG
=no
2350 DEFAULT_wxUSE_TEXTCTRL
=no
2351 DEFAULT_wxUSE_TOGGLEBTN
=no
2352 DEFAULT_wxUSE_TOOLBAR
=no
2353 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2354 DEFAULT_wxUSE_TREEBOOK
=no
2355 DEFAULT_wxUSE_TOOLBOOK
=no
2356 DEFAULT_wxUSE_TREECTRL
=no
2357 DEFAULT_wxUSE_POPUPWIN
=no
2358 DEFAULT_wxUSE_TIPWINDOW
=no
2360 DEFAULT_wxUSE_UNICODE
=no
2361 DEFAULT_wxUSE_UNICODE_MSLU
=no
2362 DEFAULT_wxUSE_WCSRTOMBS
=no
2364 DEFAULT_wxUSE_PALETTE
=no
2365 DEFAULT_wxUSE_IMAGE
=no
2366 DEFAULT_wxUSE_GIF
=no
2367 DEFAULT_wxUSE_PCX
=no
2368 DEFAULT_wxUSE_PNM
=no
2369 DEFAULT_wxUSE_IFF
=no
2370 DEFAULT_wxUSE_XPM
=no
2371 DEFAULT_wxUSE_ICO_CUR
=no
2372 DEFAULT_wxUSE_ACCESSIBILITY
=no
2374 DEFAULT_wxUSE_MONOLITHIC
=no
2375 DEFAULT_wxUSE_PLUGINS
=no
2376 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2378 DEFAULT_wxUSE_UNIVERSAL
=no
2379 DEFAULT_wxUSE_STL
=no
2381 DEFAULT_wxUSE_NANOX
=no
2383 DEFAULT_wxUSE_THREADS
=yes
2385 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2386 DEFAULT_wxUSE_OPTIMISE
=yes
2387 DEFAULT_wxUSE_PROFILE
=no
2388 DEFAULT_wxUSE_NO_DEPS
=no
2389 DEFAULT_wxUSE_NO_RTTI
=no
2390 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2391 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2392 DEFAULT_wxUSE_RPATH
=yes
2393 DEFAULT_wxUSE_PERMISSIVE
=no
2394 DEFAULT_wxUSE_DEBUG_FLAG
=no
2395 DEFAULT_wxUSE_DEBUG_INFO
=no
2396 DEFAULT_wxUSE_DEBUG_GDB
=no
2397 DEFAULT_wxUSE_MEM_TRACING
=no
2398 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2399 DEFAULT_wxUSE_DMALLOC
=no
2400 DEFAULT_wxUSE_APPLE_IEEE
=yes
2402 DEFAULT_wxUSE_EXCEPTIONS
=yes
2403 DEFAULT_wxUSE_LOG
=yes
2404 DEFAULT_wxUSE_LOGWINDOW
=yes
2405 DEFAULT_wxUSE_LOGGUI
=yes
2406 DEFAULT_wxUSE_LOGDIALOG
=yes
2408 DEFAULT_wxUSE_GUI
=yes
2410 DEFAULT_wxUSE_REGEX
=yes
2411 DEFAULT_wxUSE_XML
=yes
2412 DEFAULT_wxUSE_EXPAT
=yes
2413 DEFAULT_wxUSE_ZLIB
=yes
2414 DEFAULT_wxUSE_LIBPNG
=yes
2415 DEFAULT_wxUSE_LIBJPEG
=yes
2416 DEFAULT_wxUSE_LIBTIFF
=yes
2417 DEFAULT_wxUSE_LIBXPM
=yes
2418 DEFAULT_wxUSE_LIBMSPACK
=yes
2419 DEFAULT_wxUSE_LIBSDL
=no
2420 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2421 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2422 DEFAULT_wxUSE_LIBHILDON
=no
2423 DEFAULT_wxUSE_ODBC
=no
2424 DEFAULT_wxUSE_OPENGL
=no
2426 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2427 DEFAULT_wxUSE_STACKWALKER
=yes
2428 DEFAULT_wxUSE_DEBUGREPORT
=yes
2429 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2430 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2431 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2432 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2433 DEFAULT_wxUSE_DATETIME
=yes
2434 DEFAULT_wxUSE_TIMER
=yes
2435 DEFAULT_wxUSE_STOPWATCH
=yes
2436 DEFAULT_wxUSE_FILE
=yes
2437 DEFAULT_wxUSE_FFILE
=yes
2438 DEFAULT_wxUSE_STDPATHS
=yes
2439 DEFAULT_wxUSE_TEXTBUFFER
=yes
2440 DEFAULT_wxUSE_TEXTFILE
=yes
2441 DEFAULT_wxUSE_SOUND
=yes
2442 DEFAULT_wxUSE_MEDIACTRL
=no
2443 DEFAULT_wxUSE_GSTREAMER8
=no
2444 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2445 DEFAULT_wxUSE_INTL
=yes
2446 DEFAULT_wxUSE_CONFIG
=yes
2447 DEFAULT_wxUSE_FONTMAP
=yes
2448 DEFAULT_wxUSE_STREAMS
=yes
2449 DEFAULT_wxUSE_SOCKETS
=yes
2450 DEFAULT_wxUSE_OLE
=yes
2451 DEFAULT_wxUSE_DATAOBJ
=yes
2452 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2453 DEFAULT_wxUSE_JOYSTICK
=yes
2454 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2455 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2456 DEFAULT_wxUSE_LONGLONG
=yes
2457 DEFAULT_wxUSE_GEOMETRY
=yes
2459 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2460 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2461 DEFAULT_wxUSE_POSTSCRIPT
=yes
2463 DEFAULT_wxUSE_CLIPBOARD
=yes
2464 DEFAULT_wxUSE_TOOLTIPS
=yes
2465 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2466 DEFAULT_wxUSE_DRAGIMAGE
=yes
2467 DEFAULT_wxUSE_SPLINES
=yes
2468 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2470 DEFAULT_wxUSE_MDI
=yes
2471 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2472 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2473 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2475 DEFAULT_wxUSE_RESOURCES
=no
2476 DEFAULT_wxUSE_CONSTRAINTS
=yes
2477 DEFAULT_wxUSE_IPC
=yes
2478 DEFAULT_wxUSE_HELP
=yes
2479 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2480 DEFAULT_wxUSE_WXHTML_HELP
=yes
2481 DEFAULT_wxUSE_TREELAYOUT
=yes
2482 DEFAULT_wxUSE_METAFILE
=yes
2483 DEFAULT_wxUSE_MIMETYPE
=yes
2484 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2485 DEFAULT_wxUSE_PROTOCOL
=yes
2486 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2487 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2488 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2489 DEFAULT_wxUSE_URL
=yes
2490 DEFAULT_wxUSE_VARIANT
=yes
2492 DEFAULT_wxUSE_COMMONDLGS
=yes
2493 DEFAULT_wxUSE_CHOICEDLG
=yes
2494 DEFAULT_wxUSE_COLOURDLG
=yes
2495 DEFAULT_wxUSE_DIRDLG
=yes
2496 DEFAULT_wxUSE_FILEDLG
=yes
2497 DEFAULT_wxUSE_FINDREPLDLG
=yes
2498 DEFAULT_wxUSE_FONTDLG
=yes
2499 DEFAULT_wxUSE_MSGDLG
=yes
2500 DEFAULT_wxUSE_NUMBERDLG
=yes
2501 DEFAULT_wxUSE_TEXTDLG
=yes
2502 DEFAULT_wxUSE_SPLASH
=yes
2503 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2504 DEFAULT_wxUSE_PROGRESSDLG
=yes
2505 DEFAULT_wxUSE_WIZARDDLG
=yes
2507 DEFAULT_wxUSE_MENUS
=yes
2508 DEFAULT_wxUSE_MINIFRAME
=yes
2509 DEFAULT_wxUSE_HTML
=yes
2510 DEFAULT_wxUSE_RICHTEXT
=yes
2511 DEFAULT_wxUSE_XRC
=yes
2512 DEFAULT_wxUSE_AUI
=yes
2513 DEFAULT_wxUSE_WEBKIT
=yes
2514 DEFAULT_wxUSE_FILESYSTEM
=yes
2515 DEFAULT_wxUSE_FS_INET
=yes
2516 DEFAULT_wxUSE_FS_ZIP
=yes
2517 DEFAULT_wxUSE_BUSYINFO
=yes
2518 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2519 DEFAULT_wxUSE_ZIPSTREAM
=yes
2520 DEFAULT_wxUSE_VALIDATORS
=yes
2522 DEFAULT_wxUSE_ACCEL
=yes
2523 DEFAULT_wxUSE_BUTTON
=yes
2524 DEFAULT_wxUSE_BMPBUTTON
=yes
2525 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2526 DEFAULT_wxUSE_CALCTRL
=yes
2527 DEFAULT_wxUSE_CARET
=yes
2528 DEFAULT_wxUSE_CHECKBOX
=yes
2529 DEFAULT_wxUSE_CHECKLST
=yes
2530 DEFAULT_wxUSE_CHOICE
=yes
2531 DEFAULT_wxUSE_CHOICEBOOK
=yes
2532 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2533 DEFAULT_wxUSE_COMBOBOX
=yes
2534 DEFAULT_wxUSE_COMBOCTRL
=yes
2535 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2536 DEFAULT_wxUSE_DISPLAY
=yes
2537 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2538 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2539 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2540 DEFAULT_wxUSE_GAUGE
=yes
2541 DEFAULT_wxUSE_GRID
=yes
2542 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2543 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2544 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2545 DEFAULT_wxUSE_IMAGLIST
=yes
2546 DEFAULT_wxUSE_LISTBOOK
=yes
2547 DEFAULT_wxUSE_LISTBOX
=yes
2548 DEFAULT_wxUSE_LISTCTRL
=yes
2549 DEFAULT_wxUSE_NOTEBOOK
=yes
2550 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2551 DEFAULT_wxUSE_RADIOBOX
=yes
2552 DEFAULT_wxUSE_RADIOBTN
=yes
2553 DEFAULT_wxUSE_SASH
=yes
2554 DEFAULT_wxUSE_SCROLLBAR
=yes
2555 DEFAULT_wxUSE_SLIDER
=yes
2556 DEFAULT_wxUSE_SPINBTN
=yes
2557 DEFAULT_wxUSE_SPINCTRL
=yes
2558 DEFAULT_wxUSE_SPLITTER
=yes
2559 DEFAULT_wxUSE_STATBMP
=yes
2560 DEFAULT_wxUSE_STATBOX
=yes
2561 DEFAULT_wxUSE_STATLINE
=yes
2562 DEFAULT_wxUSE_STATTEXT
=yes
2563 DEFAULT_wxUSE_STATUSBAR
=yes
2564 DEFAULT_wxUSE_TAB_DIALOG
=no
2565 DEFAULT_wxUSE_TEXTCTRL
=yes
2566 DEFAULT_wxUSE_TOGGLEBTN
=yes
2567 DEFAULT_wxUSE_TOOLBAR
=yes
2568 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2569 DEFAULT_wxUSE_TREEBOOK
=yes
2570 DEFAULT_wxUSE_TOOLBOOK
=yes
2571 DEFAULT_wxUSE_TREECTRL
=yes
2572 DEFAULT_wxUSE_POPUPWIN
=yes
2573 DEFAULT_wxUSE_TIPWINDOW
=yes
2575 DEFAULT_wxUSE_UNICODE
=no
2576 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2577 DEFAULT_wxUSE_WCSRTOMBS
=no
2579 DEFAULT_wxUSE_PALETTE
=yes
2580 DEFAULT_wxUSE_IMAGE
=yes
2581 DEFAULT_wxUSE_GIF
=yes
2582 DEFAULT_wxUSE_PCX
=yes
2583 DEFAULT_wxUSE_IFF
=no
2584 DEFAULT_wxUSE_PNM
=yes
2585 DEFAULT_wxUSE_XPM
=yes
2586 DEFAULT_wxUSE_ICO_CUR
=yes
2587 DEFAULT_wxUSE_ACCESSIBILITY
=no
2589 DEFAULT_wxUSE_MONOLITHIC
=no
2590 DEFAULT_wxUSE_PLUGINS
=no
2591 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2593 DEFAULT_wxUSE_GTK2
=yes
2599 for toolkit
in `echo $ALL_TOOLKITS`; do
2600 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2601 if test "x$LINE" != "x" ; then
2602 has_toolkit_in_cache
=1
2603 eval "DEFAULT_$LINE"
2604 eval "CACHE_$toolkit=1"
2606 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2607 if test "x$LINE" != "x" ; then
2608 eval "DEFAULT_$LINE"
2616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2617 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2619 # Check whether --enable-gui or --disable-gui was given.
2620 if test "${enable_gui+set}" = set; then
2621 enableval
="$enable_gui"
2623 if test "$enableval" = yes; then
2624 ac_cv_use_gui
='wxUSE_GUI=yes'
2626 ac_cv_use_gui
='wxUSE_GUI=no'
2631 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2632 if test "x$LINE" != x
; then
2633 eval "DEFAULT_$LINE"
2638 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2642 eval "$ac_cv_use_gui"
2643 if test "$no_cache" != 1; then
2644 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2647 if test "$wxUSE_GUI" = yes; then
2648 echo "$as_me:$LINENO: result: yes" >&5
2649 echo "${ECHO_T}yes" >&6
2651 echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6
2657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2658 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2660 # Check whether --enable-monolithic or --disable-monolithic was given.
2661 if test "${enable_monolithic+set}" = set; then
2662 enableval
="$enable_monolithic"
2664 if test "$enableval" = yes; then
2665 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2667 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2672 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2673 if test "x$LINE" != x
; then
2674 eval "DEFAULT_$LINE"
2679 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2683 eval "$ac_cv_use_monolithic"
2684 if test "$no_cache" != 1; then
2685 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2688 if test "$wxUSE_MONOLITHIC" = yes; then
2689 echo "$as_me:$LINENO: result: yes" >&5
2690 echo "${ECHO_T}yes" >&6
2692 echo "$as_me:$LINENO: result: no" >&5
2693 echo "${ECHO_T}no" >&6
2698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2699 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2701 # Check whether --enable-plugins or --disable-plugins was given.
2702 if test "${enable_plugins+set}" = set; then
2703 enableval
="$enable_plugins"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2708 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2713 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2724 eval "$ac_cv_use_plugins"
2725 if test "$no_cache" != 1; then
2726 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2729 if test "$wxUSE_PLUGINS" = yes; then
2730 echo "$as_me:$LINENO: result: yes" >&5
2731 echo "${ECHO_T}yes" >&6
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2739 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2740 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2743 # Check whether --with-subdirs or --without-subdirs was given.
2744 if test "${with_subdirs+set}" = set; then
2745 withval
="$with_subdirs"
2747 if test "$withval" = yes; then
2748 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2750 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2755 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2756 if test "x$LINE" != x
; then
2757 eval "DEFAULT_$LINE"
2762 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2766 eval "$ac_cv_use_subdirs"
2767 if test "$no_cache" != 1; then
2768 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2771 if test "$wxWITH_SUBDIRS" = yes; then
2772 echo "$as_me:$LINENO: result: yes" >&5
2773 echo "${ECHO_T}yes" >&6
2775 echo "$as_me:$LINENO: result: no" >&5
2776 echo "${ECHO_T}no" >&6
2780 if test "$wxUSE_GUI" = "yes"; then
2784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2785 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2787 # Check whether --enable-universal or --disable-universal was given.
2788 if test "${enable_universal+set}" = set; then
2789 enableval
="$enable_universal"
2791 if test "$enableval" = yes; then
2792 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2794 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2799 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2800 if test "x$LINE" != x
; then
2801 eval "DEFAULT_$LINE"
2806 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2810 eval "$ac_cv_use_universal"
2811 if test "$no_cache" != 1; then
2812 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2815 if test "$wxUSE_UNIVERSAL" = yes; then
2816 echo "$as_me:$LINENO: result: yes" >&5
2817 echo "${ECHO_T}yes" >&6
2819 echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6
2824 # Check whether --with-gtk or --without-gtk was given.
2825 if test "${with_gtk+set}" = set; then
2827 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2830 # Check whether --with-motif or --without-motif was given.
2831 if test "${with_motif+set}" = set; then
2832 withval
="$with_motif"
2833 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2836 # Check whether --with-mac or --without-mac was given.
2837 if test "${with_mac+set}" = set; then
2839 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2842 # Check whether --with-cocoa or --without-cocoa was given.
2843 if test "${with_cocoa+set}" = set; then
2844 withval
="$with_cocoa"
2845 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2848 # Check whether --with-wine or --without-wine was given.
2849 if test "${with_wine+set}" = set; then
2850 withval
="$with_wine"
2851 wxUSE_WINE
="$withval" CACHE_WINE
=1
2854 # Check whether --with-msw or --without-msw was given.
2855 if test "${with_msw+set}" = set; then
2857 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2860 # Check whether --with-pm or --without-pm was given.
2861 if test "${with_pm+set}" = set; then
2863 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2866 # Check whether --with-mgl or --without-mgl was given.
2867 if test "${with_mgl+set}" = set; then
2869 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2872 # Check whether --with-directfb or --without-directfb was given.
2873 if test "${with_directfb+set}" = set; then
2874 withval
="$with_directfb"
2875 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2878 # Check whether --with-microwin or --without-microwin was given.
2879 if test "${with_microwin+set}" = set; then
2880 withval
="$with_microwin"
2881 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2884 # Check whether --with-x11 or --without-x11 was given.
2885 if test "${with_x11+set}" = set; then
2887 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2892 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2894 # Check whether --enable-nanox or --disable-nanox was given.
2895 if test "${enable_nanox+set}" = set; then
2896 enableval
="$enable_nanox"
2898 if test "$enableval" = yes; then
2899 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2901 ac_cv_use_nanox
='wxUSE_NANOX=no'
2906 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x
; then
2908 eval "DEFAULT_$LINE"
2913 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2917 eval "$ac_cv_use_nanox"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_NANOX" = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2931 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2932 if test "${enable_gtk2+set}" = set; then
2933 enableval
="$enable_gtk2"
2934 wxUSE_GTK2
="$enableval"
2938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2939 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2941 # Check whether --enable-gpe or --disable-gpe was given.
2942 if test "${enable_gpe+set}" = set; then
2943 enableval
="$enable_gpe"
2945 if test "$enableval" = yes; then
2946 ac_cv_use_gpe
='wxUSE_GPE=yes'
2948 ac_cv_use_gpe
='wxUSE_GPE=no'
2953 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2954 if test "x$LINE" != x
; then
2955 eval "DEFAULT_$LINE"
2960 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2964 eval "$ac_cv_use_gpe"
2965 if test "$no_cache" != 1; then
2966 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2969 if test "$wxUSE_GPE" = yes; then
2970 echo "$as_me:$LINENO: result: yes" >&5
2971 echo "${ECHO_T}yes" >&6
2973 echo "$as_me:$LINENO: result: no" >&5
2974 echo "${ECHO_T}no" >&6
2979 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2980 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2983 # Check whether --with-libpng or --without-libpng was given.
2984 if test "${with_libpng+set}" = set; then
2985 withval
="$with_libpng"
2987 if test "$withval" = yes; then
2988 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2989 elif test "$withval" = no
; then
2990 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2991 elif test "$withval" = sys
; then
2992 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2993 elif test "$withval" = builtin; then
2994 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2997 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
3003 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x
; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3014 eval "$ac_cv_use_libpng"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3019 if test "$wxUSE_LIBPNG" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3022 elif test "$wxUSE_LIBPNG" = no
; then
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3025 elif test "$wxUSE_LIBPNG" = sys
; then
3026 echo "$as_me:$LINENO: result: system version" >&5
3027 echo "${ECHO_T}system version" >&6
3028 elif test "$wxUSE_LIBPNG" = builtin; then
3029 echo "$as_me:$LINENO: result: builtin version" >&5
3030 echo "${ECHO_T}builtin version" >&6
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3038 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3039 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3042 # Check whether --with-libjpeg or --without-libjpeg was given.
3043 if test "${with_libjpeg+set}" = set; then
3044 withval
="$with_libjpeg"
3046 if test "$withval" = yes; then
3047 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3048 elif test "$withval" = no
; then
3049 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3050 elif test "$withval" = sys
; then
3051 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3052 elif test "$withval" = builtin; then
3053 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3055 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3056 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3057 { (exit 1); exit 1; }; }
3062 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x
; then
3064 eval "DEFAULT_$LINE"
3069 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3073 eval "$ac_cv_use_libjpeg"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3078 if test "$wxUSE_LIBJPEG" = yes; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3081 elif test "$wxUSE_LIBJPEG" = no
; then
3082 echo "$as_me:$LINENO: result: no" >&5
3083 echo "${ECHO_T}no" >&6
3084 elif test "$wxUSE_LIBJPEG" = sys
; then
3085 echo "$as_me:$LINENO: result: system version" >&5
3086 echo "${ECHO_T}system version" >&6
3087 elif test "$wxUSE_LIBJPEG" = builtin; then
3088 echo "$as_me:$LINENO: result: builtin version" >&5
3089 echo "${ECHO_T}builtin version" >&6
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3097 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3098 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3101 # Check whether --with-libtiff or --without-libtiff was given.
3102 if test "${with_libtiff+set}" = set; then
3103 withval
="$with_libtiff"
3105 if test "$withval" = yes; then
3106 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3107 elif test "$withval" = no
; then
3108 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3109 elif test "$withval" = sys
; then
3110 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3111 elif test "$withval" = builtin; then
3112 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3114 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3115 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3116 { (exit 1); exit 1; }; }
3121 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x
; then
3123 eval "DEFAULT_$LINE"
3128 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3132 eval "$ac_cv_use_libtiff"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_LIBTIFF" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3140 elif test "$wxUSE_LIBTIFF" = no
; then
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3143 elif test "$wxUSE_LIBTIFF" = sys
; then
3144 echo "$as_me:$LINENO: result: system version" >&5
3145 echo "${ECHO_T}system version" >&6
3146 elif test "$wxUSE_LIBTIFF" = builtin; then
3147 echo "$as_me:$LINENO: result: builtin version" >&5
3148 echo "${ECHO_T}builtin version" >&6
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3156 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3157 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3160 # Check whether --with-libxpm or --without-libxpm was given.
3161 if test "${with_libxpm+set}" = set; then
3162 withval
="$with_libxpm"
3164 if test "$withval" = yes; then
3165 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3166 elif test "$withval" = no
; then
3167 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3168 elif test "$withval" = sys
; then
3169 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3170 elif test "$withval" = builtin; then
3171 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3173 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3174 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3175 { (exit 1); exit 1; }; }
3180 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x
; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3191 eval "$ac_cv_use_libxpm"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_LIBXPM" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 elif test "$wxUSE_LIBXPM" = no
; then
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 elif test "$wxUSE_LIBXPM" = sys
; then
3203 echo "$as_me:$LINENO: result: system version" >&5
3204 echo "${ECHO_T}system version" >&6
3205 elif test "$wxUSE_LIBXPM" = builtin; then
3206 echo "$as_me:$LINENO: result: builtin version" >&5
3207 echo "${ECHO_T}builtin version" >&6
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3216 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3217 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3220 # Check whether --with-libmspack or --without-libmspack was given.
3221 if test "${with_libmspack+set}" = set; then
3222 withval
="$with_libmspack"
3224 if test "$withval" = yes; then
3225 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3227 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3232 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x
; then
3234 eval "DEFAULT_$LINE"
3239 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3243 eval "$ac_cv_use_libmspack"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3248 if test "$wxUSE_LIBMSPACK" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3258 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3259 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3262 # Check whether --with-sdl or --without-sdl was given.
3263 if test "${with_sdl+set}" = set; then
3266 if test "$withval" = yes; then
3267 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3269 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3274 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x
; then
3276 eval "DEFAULT_$LINE"
3281 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3285 eval "$ac_cv_use_sdl"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_LIBSDL" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3300 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3301 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3304 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3305 if test "${with_gnomeprint+set}" = set; then
3306 withval
="$with_gnomeprint"
3308 if test "$withval" = yes; then
3309 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3311 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3316 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3317 if test "x$LINE" != x
; then
3318 eval "DEFAULT_$LINE"
3323 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3327 eval "$ac_cv_use_gnomeprint"
3328 if test "$no_cache" != 1; then
3329 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3332 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3333 echo "$as_me:$LINENO: result: yes" >&5
3334 echo "${ECHO_T}yes" >&6
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3342 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3343 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3346 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3347 if test "${with_gnomevfs+set}" = set; then
3348 withval
="$with_gnomevfs"
3350 if test "$withval" = yes; then
3351 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3353 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3358 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x
; then
3360 eval "DEFAULT_$LINE"
3365 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3369 eval "$ac_cv_use_gnomevfs"
3370 if test "$no_cache" != 1; then
3371 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3374 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3375 echo "$as_me:$LINENO: result: yes" >&5
3376 echo "${ECHO_T}yes" >&6
3378 echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6
3384 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3385 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3388 # Check whether --with-hildon or --without-hildon was given.
3389 if test "${with_hildon+set}" = set; then
3390 withval
="$with_hildon"
3392 if test "$withval" = yes; then
3393 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3395 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3400 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x
; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3411 eval "$ac_cv_use_hildon"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_LIBHILDON" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3426 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3427 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3430 # Check whether --with-opengl or --without-opengl was given.
3431 if test "${with_opengl+set}" = set; then
3432 withval
="$with_opengl"
3434 if test "$withval" = yes; then
3435 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3437 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3442 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x
; then
3444 eval "DEFAULT_$LINE"
3449 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3453 eval "$ac_cv_use_opengl"
3454 if test "$no_cache" != 1; then
3455 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3458 if test "$wxUSE_OPENGL" = yes; then
3459 echo "$as_me:$LINENO: result: yes" >&5
3460 echo "${ECHO_T}yes" >&6
3462 echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6
3467 if test "$wxUSE_UNIVERSAL" = "yes"; then
3469 # Check whether --with-themes or --without-themes was given.
3470 if test "${with_themes+set}" = set; then
3471 withval
="$with_themes"
3472 wxUNIV_THEMES
="$withval"
3480 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3481 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3484 # Check whether --with-dmalloc or --without-dmalloc was given.
3485 if test "${with_dmalloc+set}" = set; then
3486 withval
="$with_dmalloc"
3488 if test "$withval" = yes; then
3489 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3491 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3496 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3497 if test "x$LINE" != x
; then
3498 eval "DEFAULT_$LINE"
3503 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3507 eval "$ac_cv_use_dmalloc"
3508 if test "$no_cache" != 1; then
3509 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3512 if test "$wxUSE_DMALLOC" = yes; then
3513 echo "$as_me:$LINENO: result: yes" >&5
3514 echo "${ECHO_T}yes" >&6
3516 echo "$as_me:$LINENO: result: no" >&5
3517 echo "${ECHO_T}no" >&6
3521 echo "$as_me:$LINENO: checking for --with-regex" >&5
3522 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3525 # Check whether --with-regex or --without-regex was given.
3526 if test "${with_regex+set}" = set; then
3527 withval
="$with_regex"
3529 if test "$withval" = yes; then
3530 ac_cv_use_regex
='wxUSE_REGEX=yes'
3531 elif test "$withval" = no
; then
3532 ac_cv_use_regex
='wxUSE_REGEX=no'
3533 elif test "$withval" = sys
; then
3534 ac_cv_use_regex
='wxUSE_REGEX=sys'
3535 elif test "$withval" = builtin; then
3536 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3538 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3539 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3540 { (exit 1); exit 1; }; }
3545 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3546 if test "x$LINE" != x
; then
3547 eval "DEFAULT_$LINE"
3552 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3556 eval "$ac_cv_use_regex"
3557 if test "$no_cache" != 1; then
3558 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3561 if test "$wxUSE_REGEX" = yes; then
3562 echo "$as_me:$LINENO: result: yes" >&5
3563 echo "${ECHO_T}yes" >&6
3564 elif test "$wxUSE_REGEX" = no
; then
3565 echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6
3567 elif test "$wxUSE_REGEX" = sys
; then
3568 echo "$as_me:$LINENO: result: system version" >&5
3569 echo "${ECHO_T}system version" >&6
3570 elif test "$wxUSE_REGEX" = builtin; then
3571 echo "$as_me:$LINENO: result: builtin version" >&5
3572 echo "${ECHO_T}builtin version" >&6
3574 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3575 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3576 { (exit 1); exit 1; }; }
3580 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3581 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3584 # Check whether --with-zlib or --without-zlib was given.
3585 if test "${with_zlib+set}" = set; then
3586 withval
="$with_zlib"
3588 if test "$withval" = yes; then
3589 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3590 elif test "$withval" = no
; then
3591 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3592 elif test "$withval" = sys
; then
3593 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3594 elif test "$withval" = builtin; then
3595 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3597 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3598 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3599 { (exit 1); exit 1; }; }
3604 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x
; then
3606 eval "DEFAULT_$LINE"
3611 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3615 eval "$ac_cv_use_zlib"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_ZLIB" = yes; then
3621 echo "$as_me:$LINENO: result: yes" >&5
3622 echo "${ECHO_T}yes" >&6
3623 elif test "$wxUSE_ZLIB" = no
; then
3624 echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6
3626 elif test "$wxUSE_ZLIB" = sys
; then
3627 echo "$as_me:$LINENO: result: system version" >&5
3628 echo "${ECHO_T}system version" >&6
3629 elif test "$wxUSE_ZLIB" = builtin; then
3630 echo "$as_me:$LINENO: result: builtin version" >&5
3631 echo "${ECHO_T}builtin version" >&6
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3639 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3640 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3643 # Check whether --with-odbc or --without-odbc was given.
3644 if test "${with_odbc+set}" = set; then
3645 withval
="$with_odbc"
3647 if test "$withval" = yes; then
3648 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3649 elif test "$withval" = no
; then
3650 ac_cv_use_odbc
='wxUSE_ODBC=no'
3651 elif test "$withval" = sys
; then
3652 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3653 elif test "$withval" = builtin; then
3654 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3663 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3664 if test "x$LINE" != x
; then
3665 eval "DEFAULT_$LINE"
3670 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3674 eval "$ac_cv_use_odbc"
3675 if test "$no_cache" != 1; then
3676 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3679 if test "$wxUSE_ODBC" = yes; then
3680 echo "$as_me:$LINENO: result: yes" >&5
3681 echo "${ECHO_T}yes" >&6
3682 elif test "$wxUSE_ODBC" = no
; then
3683 echo "$as_me:$LINENO: result: no" >&5
3684 echo "${ECHO_T}no" >&6
3685 elif test "$wxUSE_ODBC" = sys
; then
3686 echo "$as_me:$LINENO: result: system version" >&5
3687 echo "${ECHO_T}system version" >&6
3688 elif test "$wxUSE_ODBC" = builtin; then
3689 echo "$as_me:$LINENO: result: builtin version" >&5
3690 echo "${ECHO_T}builtin version" >&6
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3698 echo "$as_me:$LINENO: checking for --with-expat" >&5
3699 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3702 # Check whether --with-expat or --without-expat was given.
3703 if test "${with_expat+set}" = set; then
3704 withval
="$with_expat"
3706 if test "$withval" = yes; then
3707 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3708 elif test "$withval" = no
; then
3709 ac_cv_use_expat
='wxUSE_EXPAT=no'
3710 elif test "$withval" = sys
; then
3711 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3712 elif test "$withval" = builtin; then
3713 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3715 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3716 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3717 { (exit 1); exit 1; }; }
3722 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x
; then
3724 eval "DEFAULT_$LINE"
3729 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3733 eval "$ac_cv_use_expat"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_EXPAT" = yes; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3741 elif test "$wxUSE_EXPAT" = no
; then
3742 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6
3744 elif test "$wxUSE_EXPAT" = sys
; then
3745 echo "$as_me:$LINENO: result: system version" >&5
3746 echo "${ECHO_T}system version" >&6
3747 elif test "$wxUSE_EXPAT" = builtin; then
3748 echo "$as_me:$LINENO: result: builtin version" >&5
3749 echo "${ECHO_T}builtin version" >&6
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3761 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3763 # Check whether --enable-shared or --disable-shared was given.
3764 if test "${enable_shared+set}" = set; then
3765 enableval
="$enable_shared"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_shared
='wxUSE_SHARED=yes'
3770 ac_cv_use_shared
='wxUSE_SHARED=no'
3775 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x
; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3786 eval "$ac_cv_use_shared"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_SHARED" = yes; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3804 # Check whether --enable-optimise or --disable-optimise was given.
3805 if test "${enable_optimise+set}" = set; then
3806 enableval
="$enable_optimise"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3811 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3816 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x
; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3827 eval "$ac_cv_use_optimise"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_OPTIMISE" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3845 # Check whether --enable-debug or --disable-debug was given.
3846 if test "${enable_debug+set}" = set; then
3847 enableval
="$enable_debug"
3849 if test "$enableval" = yes; then
3850 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3852 ac_cv_use_debug
='wxUSE_DEBUG=no'
3857 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x
; then
3859 eval "DEFAULT_$LINE"
3864 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3868 eval "$ac_cv_use_debug"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_DEBUG" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3884 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3886 # Check whether --enable-stl or --disable-stl was given.
3887 if test "${enable_stl+set}" = set; then
3888 enableval
="$enable_stl"
3890 if test "$enableval" = yes; then
3891 ac_cv_use_stl
='wxUSE_STL=yes'
3893 ac_cv_use_stl
='wxUSE_STL=no'
3898 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x
; then
3900 eval "DEFAULT_$LINE"
3905 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3909 eval "$ac_cv_use_stl"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_STL" = yes; then
3915 echo "$as_me:$LINENO: result: yes" >&5
3916 echo "${ECHO_T}yes" >&6
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3922 if test "$USE_OS2" = "1"; then
3923 DEFAULT_wxUSE_OMF
=no
3926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3927 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3929 # Check whether --enable-omf or --disable-omf was given.
3930 if test "${enable_omf+set}" = set; then
3931 enableval
="$enable_omf"
3933 if test "$enableval" = yes; then
3934 ac_cv_use_omf
='wxUSE_OMF=yes'
3936 ac_cv_use_omf
='wxUSE_OMF=no'
3941 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x
; then
3943 eval "DEFAULT_$LINE"
3948 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3952 eval "$ac_cv_use_omf"
3953 if test "$no_cache" != 1; then
3954 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3957 if test "$wxUSE_OMF" = yes; then
3958 echo "$as_me:$LINENO: result: yes" >&5
3959 echo "${ECHO_T}yes" >&6
3961 echo "$as_me:$LINENO: result: no" >&5
3962 echo "${ECHO_T}no" >&6
3967 if test "$wxUSE_DEBUG" = "yes"; then
3968 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3969 DEFAULT_wxUSE_DEBUG_INFO
=yes
3971 elif test "$wxUSE_DEBUG" = "no"; then
3972 DEFAULT_wxUSE_DEBUG_FLAG
=no
3973 DEFAULT_wxUSE_DEBUG_INFO
=no
3979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3980 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3982 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3983 if test "${enable_debug_flag+set}" = set; then
3984 enableval
="$enable_debug_flag"
3986 if test "$enableval" = yes; then
3987 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3989 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3994 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x
; then
3996 eval "DEFAULT_$LINE"
4001 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4005 eval "$ac_cv_use_debug_flag"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_DEBUG_FLAG" = yes; then
4011 echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4021 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4023 # Check whether --enable-debug_info or --disable-debug_info was given.
4024 if test "${enable_debug_info+set}" = set; then
4025 enableval
="$enable_debug_info"
4027 if test "$enableval" = yes; then
4028 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4030 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4035 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x
; then
4037 eval "DEFAULT_$LINE"
4042 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4046 eval "$ac_cv_use_debug_info"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4051 if test "$wxUSE_DEBUG_INFO" = yes; then
4052 echo "$as_me:$LINENO: result: yes" >&5
4053 echo "${ECHO_T}yes" >&6
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4062 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4064 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4065 if test "${enable_debug_gdb+set}" = set; then
4066 enableval
="$enable_debug_gdb"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4071 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4076 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x
; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4087 eval "$ac_cv_use_debug_gdb"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4092 if test "$wxUSE_DEBUG_GDB" = yes; then
4093 echo "$as_me:$LINENO: result: yes" >&5
4094 echo "${ECHO_T}yes" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4103 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4105 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4106 if test "${enable_debug_cntxt+set}" = set; then
4107 enableval
="$enable_debug_cntxt"
4109 if test "$enableval" = yes; then
4110 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4112 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4117 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4118 if test "x$LINE" != x
; then
4119 eval "DEFAULT_$LINE"
4124 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4128 eval "$ac_cv_use_debug_cntxt"
4129 if test "$no_cache" != 1; then
4130 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4133 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4134 echo "$as_me:$LINENO: result: yes" >&5
4135 echo "${ECHO_T}yes" >&6
4137 echo "$as_me:$LINENO: result: no" >&5
4138 echo "${ECHO_T}no" >&6
4143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4144 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4146 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4147 if test "${enable_mem_tracing+set}" = set; then
4148 enableval
="$enable_mem_tracing"
4150 if test "$enableval" = yes; then
4151 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4153 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4158 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4159 if test "x$LINE" != x
; then
4160 eval "DEFAULT_$LINE"
4165 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4169 eval "$ac_cv_use_mem_tracing"
4170 if test "$no_cache" != 1; then
4171 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4174 if test "$wxUSE_MEM_TRACING" = yes; then
4175 echo "$as_me:$LINENO: result: yes" >&5
4176 echo "${ECHO_T}yes" >&6
4178 echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6
4184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4185 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4187 # Check whether --enable-profile or --disable-profile was given.
4188 if test "${enable_profile+set}" = set; then
4189 enableval
="$enable_profile"
4191 if test "$enableval" = yes; then
4192 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4194 ac_cv_use_profile
='wxUSE_PROFILE=no'
4199 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x
; then
4201 eval "DEFAULT_$LINE"
4206 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4210 eval "$ac_cv_use_profile"
4211 if test "$no_cache" != 1; then
4212 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4215 if test "$wxUSE_PROFILE" = yes; then
4216 echo "$as_me:$LINENO: result: yes" >&5
4217 echo "${ECHO_T}yes" >&6
4219 echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6
4225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4228 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4229 if test "${enable_no_rtti+set}" = set; then
4230 enableval
="$enable_no_rtti"
4232 if test "$enableval" = yes; then
4233 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4235 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4240 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x
; then
4242 eval "DEFAULT_$LINE"
4247 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4251 eval "$ac_cv_use_no_rtti"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_NO_RTTI" = yes; then
4257 echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4267 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4269 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4270 if test "${enable_no_exceptions+set}" = set; then
4271 enableval
="$enable_no_exceptions"
4273 if test "$enableval" = yes; then
4274 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4276 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4281 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x
; then
4283 eval "DEFAULT_$LINE"
4288 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4292 eval "$ac_cv_use_no_exceptions"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4297 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4298 echo "$as_me:$LINENO: result: yes" >&5
4299 echo "${ECHO_T}yes" >&6
4301 echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6
4307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4308 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4310 # Check whether --enable-permissive or --disable-permissive was given.
4311 if test "${enable_permissive+set}" = set; then
4312 enableval
="$enable_permissive"
4314 if test "$enableval" = yes; then
4315 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4317 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4322 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x
; then
4324 eval "DEFAULT_$LINE"
4329 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4333 eval "$ac_cv_use_permissive"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_PERMISSIVE" = yes; then
4339 echo "$as_me:$LINENO: result: yes" >&5
4340 echo "${ECHO_T}yes" >&6
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4349 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4351 # Check whether --enable-no_deps or --disable-no_deps was given.
4352 if test "${enable_no_deps+set}" = set; then
4353 enableval
="$enable_no_deps"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4358 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4363 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4374 eval "$ac_cv_use_no_deps"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4379 if test "$wxUSE_NO_DEPS" = yes; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4392 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4393 if test "${enable_universal_binary+set}" = set; then
4394 enableval
="$enable_universal_binary"
4396 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4400 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4401 if test "x$LINE" != x
; then
4402 eval "DEFAULT_$LINE"
4403 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4406 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4411 eval "$wx_cv_use_universal_binary"
4412 if test "$no_cache" != 1; then
4413 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4416 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4417 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4425 # Check whether --enable-compat24 or --disable-compat24 was given.
4426 if test "${enable_compat24+set}" = set; then
4427 enableval
="$enable_compat24"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4432 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4437 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x
; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4448 eval "$ac_cv_use_compat24"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4453 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4462 enablestring
=disable
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4466 # Check whether --enable-compat26 or --disable-compat26 was given.
4467 if test "${enable_compat26+set}" = set; then
4468 enableval
="$enable_compat26"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4473 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4478 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4489 eval "$ac_cv_use_compat26"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4494 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4506 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4508 # Check whether --enable-rpath or --disable-rpath was given.
4509 if test "${enable_rpath+set}" = set; then
4510 enableval
="$enable_rpath"
4512 if test "$enableval" = yes; then
4513 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4515 ac_cv_use_rpath
='wxUSE_RPATH=no'
4520 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4521 if test "x$LINE" != x
; then
4522 eval "DEFAULT_$LINE"
4527 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4531 eval "$ac_cv_use_rpath"
4532 if test "$no_cache" != 1; then
4533 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4536 if test "$wxUSE_RPATH" = yes; then
4537 echo "$as_me:$LINENO: result: yes" >&5
4538 echo "${ECHO_T}yes" >&6
4540 echo "$as_me:$LINENO: result: no" >&5
4541 echo "${ECHO_T}no" >&6
4549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4552 # Check whether --enable-intl or --disable-intl was given.
4553 if test "${enable_intl+set}" = set; then
4554 enableval
="$enable_intl"
4556 if test "$enableval" = yes; then
4557 ac_cv_use_intl
='wxUSE_INTL=yes'
4559 ac_cv_use_intl
='wxUSE_INTL=no'
4564 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x
; then
4566 eval "DEFAULT_$LINE"
4571 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4575 eval "$ac_cv_use_intl"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4580 if test "$wxUSE_INTL" = yes; then
4581 echo "$as_me:$LINENO: result: yes" >&5
4582 echo "${ECHO_T}yes" >&6
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6
4590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4593 # Check whether --enable-config or --disable-config was given.
4594 if test "${enable_config+set}" = set; then
4595 enableval
="$enable_config"
4597 if test "$enableval" = yes; then
4598 ac_cv_use_config
='wxUSE_CONFIG=yes'
4600 ac_cv_use_config
='wxUSE_CONFIG=no'
4605 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x
; then
4607 eval "DEFAULT_$LINE"
4612 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4616 eval "$ac_cv_use_config"
4617 if test "$no_cache" != 1; then
4618 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4621 if test "$wxUSE_CONFIG" = yes; then
4622 echo "$as_me:$LINENO: result: yes" >&5
4623 echo "${ECHO_T}yes" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4635 # Check whether --enable-protocols or --disable-protocols was given.
4636 if test "${enable_protocols+set}" = set; then
4637 enableval
="$enable_protocols"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4642 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4647 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4658 eval "$ac_cv_use_protocols"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4663 if test "$wxUSE_PROTOCOL" = yes; then
4664 echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4676 # Check whether --enable-ftp or --disable-ftp was given.
4677 if test "${enable_ftp+set}" = set; then
4678 enableval
="$enable_ftp"
4680 if test "$enableval" = yes; then
4681 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4683 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4688 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x
; then
4690 eval "DEFAULT_$LINE"
4695 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4699 eval "$ac_cv_use_ftp"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4704 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4705 echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4715 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4717 # Check whether --enable-http or --disable-http was given.
4718 if test "${enable_http+set}" = set; then
4719 enableval
="$enable_http"
4721 if test "$enableval" = yes; then
4722 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4724 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4729 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x
; then
4731 eval "DEFAULT_$LINE"
4736 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4740 eval "$ac_cv_use_http"
4741 if test "$no_cache" != 1; then
4742 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4745 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4746 echo "$as_me:$LINENO: result: yes" >&5
4747 echo "${ECHO_T}yes" >&6
4749 echo "$as_me:$LINENO: result: no" >&5
4750 echo "${ECHO_T}no" >&6
4755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4756 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4758 # Check whether --enable-fileproto or --disable-fileproto was given.
4759 if test "${enable_fileproto+set}" = set; then
4760 enableval
="$enable_fileproto"
4762 if test "$enableval" = yes; then
4763 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4765 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4770 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4781 eval "$ac_cv_use_fileproto"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4786 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4787 echo "$as_me:$LINENO: result: yes" >&5
4788 echo "${ECHO_T}yes" >&6
4790 echo "$as_me:$LINENO: result: no" >&5
4791 echo "${ECHO_T}no" >&6
4796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4799 # Check whether --enable-sockets or --disable-sockets was given.
4800 if test "${enable_sockets+set}" = set; then
4801 enableval
="$enable_sockets"
4803 if test "$enableval" = yes; then
4804 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4806 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4811 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x
; then
4813 eval "DEFAULT_$LINE"
4818 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4822 eval "$ac_cv_use_sockets"
4823 if test "$no_cache" != 1; then
4824 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4827 if test "$wxUSE_SOCKETS" = yes; then
4828 echo "$as_me:$LINENO: result: yes" >&5
4829 echo "${ECHO_T}yes" >&6
4831 echo "$as_me:$LINENO: result: no" >&5
4832 echo "${ECHO_T}no" >&6
4837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4840 # Check whether --enable-ole or --disable-ole was given.
4841 if test "${enable_ole+set}" = set; then
4842 enableval
="$enable_ole"
4844 if test "$enableval" = yes; then
4845 ac_cv_use_ole
='wxUSE_OLE=yes'
4847 ac_cv_use_ole
='wxUSE_OLE=no'
4852 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x
; then
4854 eval "DEFAULT_$LINE"
4859 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4863 eval "$ac_cv_use_ole"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4868 if test "$wxUSE_OLE" = yes; then
4869 echo "$as_me:$LINENO: result: yes" >&5
4870 echo "${ECHO_T}yes" >&6
4872 echo "$as_me:$LINENO: result: no" >&5
4873 echo "${ECHO_T}no" >&6
4878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4879 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4881 # Check whether --enable-dataobj or --disable-dataobj was given.
4882 if test "${enable_dataobj+set}" = set; then
4883 enableval
="$enable_dataobj"
4885 if test "$enableval" = yes; then
4886 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4888 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4893 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x
; then
4895 eval "DEFAULT_$LINE"
4900 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4904 eval "$ac_cv_use_dataobj"
4905 if test "$no_cache" != 1; then
4906 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4909 if test "$wxUSE_DATAOBJ" = yes; then
4910 echo "$as_me:$LINENO: result: yes" >&5
4911 echo "${ECHO_T}yes" >&6
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4923 # Check whether --enable-ipc or --disable-ipc was given.
4924 if test "${enable_ipc+set}" = set; then
4925 enableval
="$enable_ipc"
4927 if test "$enableval" = yes; then
4928 ac_cv_use_ipc
='wxUSE_IPC=yes'
4930 ac_cv_use_ipc
='wxUSE_IPC=no'
4935 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4936 if test "x$LINE" != x
; then
4937 eval "DEFAULT_$LINE"
4942 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4946 eval "$ac_cv_use_ipc"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4951 if test "$wxUSE_IPC" = yes; then
4952 echo "$as_me:$LINENO: result: yes" >&5
4953 echo "${ECHO_T}yes" >&6
4955 echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6
4962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4963 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4965 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4966 if test "${enable_apple_ieee+set}" = set; then
4967 enableval
="$enable_apple_ieee"
4969 if test "$enableval" = yes; then
4970 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4972 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4977 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4978 if test "x$LINE" != x
; then
4979 eval "DEFAULT_$LINE"
4984 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4988 eval "$ac_cv_use_apple_ieee"
4989 if test "$no_cache" != 1; then
4990 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4993 if test "$wxUSE_APPLE_IEEE" = yes; then
4994 echo "$as_me:$LINENO: result: yes" >&5
4995 echo "${ECHO_T}yes" >&6
4997 echo "$as_me:$LINENO: result: no" >&5
4998 echo "${ECHO_T}no" >&6
5003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5004 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5006 # Check whether --enable-arcstream or --disable-arcstream was given.
5007 if test "${enable_arcstream+set}" = set; then
5008 enableval
="$enable_arcstream"
5010 if test "$enableval" = yes; then
5011 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5013 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5018 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5019 if test "x$LINE" != x
; then
5020 eval "DEFAULT_$LINE"
5025 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5029 eval "$ac_cv_use_arcstream"
5030 if test "$no_cache" != 1; then
5031 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5034 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5035 echo "$as_me:$LINENO: result: yes" >&5
5036 echo "${ECHO_T}yes" >&6
5038 echo "$as_me:$LINENO: result: no" >&5
5039 echo "${ECHO_T}no" >&6
5044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5045 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5047 # Check whether --enable-backtrace or --disable-backtrace was given.
5048 if test "${enable_backtrace+set}" = set; then
5049 enableval
="$enable_backtrace"
5051 if test "$enableval" = yes; then
5052 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5054 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5059 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5060 if test "x$LINE" != x
; then
5061 eval "DEFAULT_$LINE"
5066 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5070 eval "$ac_cv_use_backtrace"
5071 if test "$no_cache" != 1; then
5072 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5075 if test "$wxUSE_STACKWALKER" = yes; then
5076 echo "$as_me:$LINENO: result: yes" >&5
5077 echo "${ECHO_T}yes" >&6
5079 echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6
5085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5086 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5088 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5089 if test "${enable_catch_segvs+set}" = set; then
5090 enableval
="$enable_catch_segvs"
5092 if test "$enableval" = yes; then
5093 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5095 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5100 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5101 if test "x$LINE" != x
; then
5102 eval "DEFAULT_$LINE"
5107 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5111 eval "$ac_cv_use_catch_segvs"
5112 if test "$no_cache" != 1; then
5113 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5116 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5117 echo "$as_me:$LINENO: result: yes" >&5
5118 echo "${ECHO_T}yes" >&6
5120 echo "$as_me:$LINENO: result: no" >&5
5121 echo "${ECHO_T}no" >&6
5126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5129 # Check whether --enable-cmdline or --disable-cmdline was given.
5130 if test "${enable_cmdline+set}" = set; then
5131 enableval
="$enable_cmdline"
5133 if test "$enableval" = yes; then
5134 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5136 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5141 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5142 if test "x$LINE" != x
; then
5143 eval "DEFAULT_$LINE"
5148 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5152 eval "$ac_cv_use_cmdline"
5153 if test "$no_cache" != 1; then
5154 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5157 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5158 echo "$as_me:$LINENO: result: yes" >&5
5159 echo "${ECHO_T}yes" >&6
5161 echo "$as_me:$LINENO: result: no" >&5
5162 echo "${ECHO_T}no" >&6
5167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5170 # Check whether --enable-datetime or --disable-datetime was given.
5171 if test "${enable_datetime+set}" = set; then
5172 enableval
="$enable_datetime"
5174 if test "$enableval" = yes; then
5175 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5177 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5182 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5183 if test "x$LINE" != x
; then
5184 eval "DEFAULT_$LINE"
5189 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5193 eval "$ac_cv_use_datetime"
5194 if test "$no_cache" != 1; then
5195 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5198 if test "$wxUSE_DATETIME" = yes; then
5199 echo "$as_me:$LINENO: result: yes" >&5
5200 echo "${ECHO_T}yes" >&6
5202 echo "$as_me:$LINENO: result: no" >&5
5203 echo "${ECHO_T}no" >&6
5208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5209 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5211 # Check whether --enable-debugreport or --disable-debugreport was given.
5212 if test "${enable_debugreport+set}" = set; then
5213 enableval
="$enable_debugreport"
5215 if test "$enableval" = yes; then
5216 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5218 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5223 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5224 if test "x$LINE" != x
; then
5225 eval "DEFAULT_$LINE"
5230 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5234 eval "$ac_cv_use_debugreport"
5235 if test "$no_cache" != 1; then
5236 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5239 if test "$wxUSE_DEBUGREPORT" = yes; then
5240 echo "$as_me:$LINENO: result: yes" >&5
5241 echo "${ECHO_T}yes" >&6
5243 echo "$as_me:$LINENO: result: no" >&5
5244 echo "${ECHO_T}no" >&6
5249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5252 # Check whether --enable-dialupman or --disable-dialupman was given.
5253 if test "${enable_dialupman+set}" = set; then
5254 enableval
="$enable_dialupman"
5256 if test "$enableval" = yes; then
5257 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5259 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5264 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x
; then
5266 eval "DEFAULT_$LINE"
5271 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5275 eval "$ac_cv_use_dialupman"
5276 if test "$no_cache" != 1; then
5277 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5280 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5281 echo "$as_me:$LINENO: result: yes" >&5
5282 echo "${ECHO_T}yes" >&6
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5293 # Check whether --enable-dynlib or --disable-dynlib was given.
5294 if test "${enable_dynlib+set}" = set; then
5295 enableval
="$enable_dynlib"
5297 if test "$enableval" = yes; then
5298 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5300 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5305 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5306 if test "x$LINE" != x
; then
5307 eval "DEFAULT_$LINE"
5312 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5316 eval "$ac_cv_use_dynlib"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5321 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5322 echo "$as_me:$LINENO: result: yes" >&5
5323 echo "${ECHO_T}yes" >&6
5325 echo "$as_me:$LINENO: result: no" >&5
5326 echo "${ECHO_T}no" >&6
5331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5332 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5334 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5335 if test "${enable_dynamicloader+set}" = set; then
5336 enableval
="$enable_dynamicloader"
5338 if test "$enableval" = yes; then
5339 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5341 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5346 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x
; then
5348 eval "DEFAULT_$LINE"
5353 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5357 eval "$ac_cv_use_dynamicloader"
5358 if test "$no_cache" != 1; then
5359 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5362 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5363 echo "$as_me:$LINENO: result: yes" >&5
5364 echo "${ECHO_T}yes" >&6
5366 echo "$as_me:$LINENO: result: no" >&5
5367 echo "${ECHO_T}no" >&6
5372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5373 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5375 # Check whether --enable-exceptions or --disable-exceptions was given.
5376 if test "${enable_exceptions+set}" = set; then
5377 enableval
="$enable_exceptions"
5379 if test "$enableval" = yes; then
5380 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5382 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5387 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5388 if test "x$LINE" != x
; then
5389 eval "DEFAULT_$LINE"
5394 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5398 eval "$ac_cv_use_exceptions"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5403 if test "$wxUSE_EXCEPTIONS" = yes; then
5404 echo "$as_me:$LINENO: result: yes" >&5
5405 echo "${ECHO_T}yes" >&6
5407 echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6
5413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5414 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5416 # Check whether --enable-ffile or --disable-ffile was given.
5417 if test "${enable_ffile+set}" = set; then
5418 enableval
="$enable_ffile"
5420 if test "$enableval" = yes; then
5421 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5423 ac_cv_use_ffile
='wxUSE_FFILE=no'
5428 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x
; then
5430 eval "DEFAULT_$LINE"
5435 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5439 eval "$ac_cv_use_ffile"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_FFILE" = yes; then
5445 echo "$as_me:$LINENO: result: yes" >&5
5446 echo "${ECHO_T}yes" >&6
5448 echo "$as_me:$LINENO: result: no" >&5
5449 echo "${ECHO_T}no" >&6
5454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5455 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5457 # Check whether --enable-file or --disable-file was given.
5458 if test "${enable_file+set}" = set; then
5459 enableval
="$enable_file"
5461 if test "$enableval" = yes; then
5462 ac_cv_use_file
='wxUSE_FILE=yes'
5464 ac_cv_use_file
='wxUSE_FILE=no'
5469 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5470 if test "x$LINE" != x
; then
5471 eval "DEFAULT_$LINE"
5476 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5480 eval "$ac_cv_use_file"
5481 if test "$no_cache" != 1; then
5482 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5485 if test "$wxUSE_FILE" = yes; then
5486 echo "$as_me:$LINENO: result: yes" >&5
5487 echo "${ECHO_T}yes" >&6
5489 echo "$as_me:$LINENO: result: no" >&5
5490 echo "${ECHO_T}no" >&6
5495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5496 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5498 # Check whether --enable-filesystem or --disable-filesystem was given.
5499 if test "${enable_filesystem+set}" = set; then
5500 enableval
="$enable_filesystem"
5502 if test "$enableval" = yes; then
5503 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5505 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5510 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5511 if test "x$LINE" != x
; then
5512 eval "DEFAULT_$LINE"
5517 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5521 eval "$ac_cv_use_filesystem"
5522 if test "$no_cache" != 1; then
5523 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5526 if test "$wxUSE_FILESYSTEM" = yes; then
5527 echo "$as_me:$LINENO: result: yes" >&5
5528 echo "${ECHO_T}yes" >&6
5530 echo "$as_me:$LINENO: result: no" >&5
5531 echo "${ECHO_T}no" >&6
5536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5537 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5539 # Check whether --enable-fontmap or --disable-fontmap was given.
5540 if test "${enable_fontmap+set}" = set; then
5541 enableval
="$enable_fontmap"
5543 if test "$enableval" = yes; then
5544 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5546 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5551 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5552 if test "x$LINE" != x
; then
5553 eval "DEFAULT_$LINE"
5558 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5562 eval "$ac_cv_use_fontmap"
5563 if test "$no_cache" != 1; then
5564 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5567 if test "$wxUSE_FONTMAP" = yes; then
5568 echo "$as_me:$LINENO: result: yes" >&5
5569 echo "${ECHO_T}yes" >&6
5571 echo "$as_me:$LINENO: result: no" >&5
5572 echo "${ECHO_T}no" >&6
5577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5578 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5580 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5581 if test "${enable_fs_inet+set}" = set; then
5582 enableval
="$enable_fs_inet"
5584 if test "$enableval" = yes; then
5585 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5587 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5592 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5593 if test "x$LINE" != x
; then
5594 eval "DEFAULT_$LINE"
5599 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5603 eval "$ac_cv_use_fs_inet"
5604 if test "$no_cache" != 1; then
5605 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5608 if test "$wxUSE_FS_INET" = yes; then
5609 echo "$as_me:$LINENO: result: yes" >&5
5610 echo "${ECHO_T}yes" >&6
5612 echo "$as_me:$LINENO: result: no" >&5
5613 echo "${ECHO_T}no" >&6
5618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5619 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5621 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5622 if test "${enable_fs_zip+set}" = set; then
5623 enableval
="$enable_fs_zip"
5625 if test "$enableval" = yes; then
5626 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5628 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5633 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5634 if test "x$LINE" != x
; then
5635 eval "DEFAULT_$LINE"
5640 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5644 eval "$ac_cv_use_fs_zip"
5645 if test "$no_cache" != 1; then
5646 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5649 if test "$wxUSE_FS_ZIP" = yes; then
5650 echo "$as_me:$LINENO: result: yes" >&5
5651 echo "${ECHO_T}yes" >&6
5653 echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6
5659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5660 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5662 # Check whether --enable-geometry or --disable-geometry was given.
5663 if test "${enable_geometry+set}" = set; then
5664 enableval
="$enable_geometry"
5666 if test "$enableval" = yes; then
5667 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5669 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5674 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5675 if test "x$LINE" != x
; then
5676 eval "DEFAULT_$LINE"
5681 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5685 eval "$ac_cv_use_geometry"
5686 if test "$no_cache" != 1; then
5687 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5690 if test "$wxUSE_GEOMETRY" = yes; then
5691 echo "$as_me:$LINENO: result: yes" >&5
5692 echo "${ECHO_T}yes" >&6
5694 echo "$as_me:$LINENO: result: no" >&5
5695 echo "${ECHO_T}no" >&6
5700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5703 # Check whether --enable-log or --disable-log was given.
5704 if test "${enable_log+set}" = set; then
5705 enableval
="$enable_log"
5707 if test "$enableval" = yes; then
5708 ac_cv_use_log
='wxUSE_LOG=yes'
5710 ac_cv_use_log
='wxUSE_LOG=no'
5715 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5716 if test "x$LINE" != x
; then
5717 eval "DEFAULT_$LINE"
5722 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5726 eval "$ac_cv_use_log"
5727 if test "$no_cache" != 1; then
5728 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5731 if test "$wxUSE_LOG" = yes; then
5732 echo "$as_me:$LINENO: result: yes" >&5
5733 echo "${ECHO_T}yes" >&6
5735 echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6
5741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5742 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5744 # Check whether --enable-longlong or --disable-longlong was given.
5745 if test "${enable_longlong+set}" = set; then
5746 enableval
="$enable_longlong"
5748 if test "$enableval" = yes; then
5749 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5751 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5756 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5757 if test "x$LINE" != x
; then
5758 eval "DEFAULT_$LINE"
5763 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5767 eval "$ac_cv_use_longlong"
5768 if test "$no_cache" != 1; then
5769 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5772 if test "$wxUSE_LONGLONG" = yes; then
5773 echo "$as_me:$LINENO: result: yes" >&5
5774 echo "${ECHO_T}yes" >&6
5776 echo "$as_me:$LINENO: result: no" >&5
5777 echo "${ECHO_T}no" >&6
5782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5783 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5785 # Check whether --enable-mimetype or --disable-mimetype was given.
5786 if test "${enable_mimetype+set}" = set; then
5787 enableval
="$enable_mimetype"
5789 if test "$enableval" = yes; then
5790 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5792 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5797 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5798 if test "x$LINE" != x
; then
5799 eval "DEFAULT_$LINE"
5804 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5808 eval "$ac_cv_use_mimetype"
5809 if test "$no_cache" != 1; then
5810 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5813 if test "$wxUSE_MIMETYPE" = yes; then
5814 echo "$as_me:$LINENO: result: yes" >&5
5815 echo "${ECHO_T}yes" >&6
5817 echo "$as_me:$LINENO: result: no" >&5
5818 echo "${ECHO_T}no" >&6
5823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5824 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5826 # Check whether --enable-mslu or --disable-mslu was given.
5827 if test "${enable_mslu+set}" = set; then
5828 enableval
="$enable_mslu"
5830 if test "$enableval" = yes; then
5831 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5833 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5838 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5839 if test "x$LINE" != x
; then
5840 eval "DEFAULT_$LINE"
5845 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5849 eval "$ac_cv_use_mslu"
5850 if test "$no_cache" != 1; then
5851 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5854 if test "$wxUSE_UNICODE_MSLU" = yes; then
5855 echo "$as_me:$LINENO: result: yes" >&5
5856 echo "${ECHO_T}yes" >&6
5858 echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6
5864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5865 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5867 # Check whether --enable-snglinst or --disable-snglinst was given.
5868 if test "${enable_snglinst+set}" = set; then
5869 enableval
="$enable_snglinst"
5871 if test "$enableval" = yes; then
5872 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5874 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5879 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5880 if test "x$LINE" != x
; then
5881 eval "DEFAULT_$LINE"
5886 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5890 eval "$ac_cv_use_snglinst"
5891 if test "$no_cache" != 1; then
5892 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5895 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5896 echo "$as_me:$LINENO: result: yes" >&5
5897 echo "${ECHO_T}yes" >&6
5899 echo "$as_me:$LINENO: result: no" >&5
5900 echo "${ECHO_T}no" >&6
5905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5906 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5908 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5909 if test "${enable_std_iostreams+set}" = set; then
5910 enableval
="$enable_std_iostreams"
5912 if test "$enableval" = yes; then
5913 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5915 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5920 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x
; then
5922 eval "DEFAULT_$LINE"
5927 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5931 eval "$ac_cv_use_std_iostreams"
5932 if test "$no_cache" != 1; then
5933 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5936 if test "$wxUSE_STD_IOSTREAM" = yes; then
5937 echo "$as_me:$LINENO: result: yes" >&5
5938 echo "${ECHO_T}yes" >&6
5940 echo "$as_me:$LINENO: result: no" >&5
5941 echo "${ECHO_T}no" >&6
5946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5949 # Check whether --enable-std_string or --disable-std_string was given.
5950 if test "${enable_std_string+set}" = set; then
5951 enableval
="$enable_std_string"
5953 if test "$enableval" = yes; then
5954 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5956 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5961 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x
; then
5963 eval "DEFAULT_$LINE"
5968 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5972 eval "$ac_cv_use_std_string"
5973 if test "$no_cache" != 1; then
5974 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5977 if test "$wxUSE_STD_STRING" = yes; then
5978 echo "$as_me:$LINENO: result: yes" >&5
5979 echo "${ECHO_T}yes" >&6
5981 echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6
5987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5990 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5991 if test "${enable_stdpaths+set}" = set; then
5992 enableval
="$enable_stdpaths"
5994 if test "$enableval" = yes; then
5995 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5997 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6002 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6003 if test "x$LINE" != x
; then
6004 eval "DEFAULT_$LINE"
6009 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6013 eval "$ac_cv_use_stdpaths"
6014 if test "$no_cache" != 1; then
6015 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6018 if test "$wxUSE_STDPATHS" = yes; then
6019 echo "$as_me:$LINENO: result: yes" >&5
6020 echo "${ECHO_T}yes" >&6
6022 echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6
6028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6031 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6032 if test "${enable_stopwatch+set}" = set; then
6033 enableval
="$enable_stopwatch"
6035 if test "$enableval" = yes; then
6036 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6038 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6043 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6044 if test "x$LINE" != x
; then
6045 eval "DEFAULT_$LINE"
6050 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6054 eval "$ac_cv_use_stopwatch"
6055 if test "$no_cache" != 1; then
6056 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6059 if test "$wxUSE_STOPWATCH" = yes; then
6060 echo "$as_me:$LINENO: result: yes" >&5
6061 echo "${ECHO_T}yes" >&6
6063 echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6
6069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6070 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6072 # Check whether --enable-streams or --disable-streams was given.
6073 if test "${enable_streams+set}" = set; then
6074 enableval
="$enable_streams"
6076 if test "$enableval" = yes; then
6077 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6079 ac_cv_use_streams
='wxUSE_STREAMS=no'
6084 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x
; then
6086 eval "DEFAULT_$LINE"
6091 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6095 eval "$ac_cv_use_streams"
6096 if test "$no_cache" != 1; then
6097 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6100 if test "$wxUSE_STREAMS" = yes; then
6101 echo "$as_me:$LINENO: result: yes" >&5
6102 echo "${ECHO_T}yes" >&6
6104 echo "$as_me:$LINENO: result: no" >&5
6105 echo "${ECHO_T}no" >&6
6110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6113 # Check whether --enable-system_options or --disable-system_options was given.
6114 if test "${enable_system_options+set}" = set; then
6115 enableval
="$enable_system_options"
6117 if test "$enableval" = yes; then
6118 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6120 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6125 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6126 if test "x$LINE" != x
; then
6127 eval "DEFAULT_$LINE"
6132 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6136 eval "$ac_cv_use_system_options"
6137 if test "$no_cache" != 1; then
6138 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6141 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6142 echo "$as_me:$LINENO: result: yes" >&5
6143 echo "${ECHO_T}yes" >&6
6145 echo "$as_me:$LINENO: result: no" >&5
6146 echo "${ECHO_T}no" >&6
6151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6152 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6154 # Check whether --enable-textbuf or --disable-textbuf was given.
6155 if test "${enable_textbuf+set}" = set; then
6156 enableval
="$enable_textbuf"
6158 if test "$enableval" = yes; then
6159 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6161 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6166 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6167 if test "x$LINE" != x
; then
6168 eval "DEFAULT_$LINE"
6173 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6177 eval "$ac_cv_use_textbuf"
6178 if test "$no_cache" != 1; then
6179 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6182 if test "$wxUSE_TEXTBUFFER" = yes; then
6183 echo "$as_me:$LINENO: result: yes" >&5
6184 echo "${ECHO_T}yes" >&6
6186 echo "$as_me:$LINENO: result: no" >&5
6187 echo "${ECHO_T}no" >&6
6192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6195 # Check whether --enable-textfile or --disable-textfile was given.
6196 if test "${enable_textfile+set}" = set; then
6197 enableval
="$enable_textfile"
6199 if test "$enableval" = yes; then
6200 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6202 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6207 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x
; then
6209 eval "DEFAULT_$LINE"
6214 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6218 eval "$ac_cv_use_textfile"
6219 if test "$no_cache" != 1; then
6220 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6223 if test "$wxUSE_TEXTFILE" = yes; then
6224 echo "$as_me:$LINENO: result: yes" >&5
6225 echo "${ECHO_T}yes" >&6
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6234 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6236 # Check whether --enable-timer or --disable-timer was given.
6237 if test "${enable_timer+set}" = set; then
6238 enableval
="$enable_timer"
6240 if test "$enableval" = yes; then
6241 ac_cv_use_timer
='wxUSE_TIMER=yes'
6243 ac_cv_use_timer
='wxUSE_TIMER=no'
6248 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x
; then
6250 eval "DEFAULT_$LINE"
6255 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6259 eval "$ac_cv_use_timer"
6260 if test "$no_cache" != 1; then
6261 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6264 if test "$wxUSE_TIMER" = yes; then
6265 echo "$as_me:$LINENO: result: yes" >&5
6266 echo "${ECHO_T}yes" >&6
6268 echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6
6274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6277 # Check whether --enable-unicode or --disable-unicode was given.
6278 if test "${enable_unicode+set}" = set; then
6279 enableval
="$enable_unicode"
6281 if test "$enableval" = yes; then
6282 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6284 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6289 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x
; then
6291 eval "DEFAULT_$LINE"
6296 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6300 eval "$ac_cv_use_unicode"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6305 if test "$wxUSE_UNICODE" = yes; then
6306 echo "$as_me:$LINENO: result: yes" >&5
6307 echo "${ECHO_T}yes" >&6
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6318 # Check whether --enable-sound or --disable-sound was given.
6319 if test "${enable_sound+set}" = set; then
6320 enableval
="$enable_sound"
6322 if test "$enableval" = yes; then
6323 ac_cv_use_sound
='wxUSE_SOUND=yes'
6325 ac_cv_use_sound
='wxUSE_SOUND=no'
6330 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x
; then
6332 eval "DEFAULT_$LINE"
6337 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6341 eval "$ac_cv_use_sound"
6342 if test "$no_cache" != 1; then
6343 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6346 if test "$wxUSE_SOUND" = yes; then
6347 echo "$as_me:$LINENO: result: yes" >&5
6348 echo "${ECHO_T}yes" >&6
6350 echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6357 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6359 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6360 if test "${enable_mediactrl+set}" = set; then
6361 enableval
="$enable_mediactrl"
6363 if test "$enableval" = yes; then
6364 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6366 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6371 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6372 if test "x$LINE" != x
; then
6373 eval "DEFAULT_$LINE"
6378 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6382 eval "$ac_cv_use_mediactrl"
6383 if test "$no_cache" != 1; then
6384 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6387 if test "$wxUSE_MEDIACTRL" = yes; then
6388 echo "$as_me:$LINENO: result: yes" >&5
6389 echo "${ECHO_T}yes" >&6
6391 echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6
6397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6398 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6400 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6401 if test "${enable_gstreamer8+set}" = set; then
6402 enableval
="$enable_gstreamer8"
6404 if test "$enableval" = yes; then
6405 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6407 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6412 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6413 if test "x$LINE" != x
; then
6414 eval "DEFAULT_$LINE"
6419 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6423 eval "$ac_cv_use_gstreamer8"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6428 if test "$wxUSE_GSTREAMER8" = yes; then
6429 echo "$as_me:$LINENO: result: yes" >&5
6430 echo "${ECHO_T}yes" >&6
6432 echo "$as_me:$LINENO: result: no" >&5
6433 echo "${ECHO_T}no" >&6
6438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6439 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6441 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6442 if test "${enable_printfposparam+set}" = set; then
6443 enableval
="$enable_printfposparam"
6445 if test "$enableval" = yes; then
6446 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6448 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6453 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x
; then
6455 eval "DEFAULT_$LINE"
6460 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6464 eval "$ac_cv_use_printfposparam"
6465 if test "$no_cache" != 1; then
6466 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6469 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6470 echo "$as_me:$LINENO: result: yes" >&5
6471 echo "${ECHO_T}yes" >&6
6473 echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6482 # Check whether --enable-zipstream or --disable-zipstream was given.
6483 if test "${enable_zipstream+set}" = set; then
6484 enableval
="$enable_zipstream"
6486 if test "$enableval" = yes; then
6487 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6489 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6494 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x
; then
6496 eval "DEFAULT_$LINE"
6501 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6505 eval "$ac_cv_use_zipstream"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6510 if test "$wxUSE_ZIPSTREAM" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512 echo "${ECHO_T}yes" >&6
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6524 # Check whether --enable-url or --disable-url was given.
6525 if test "${enable_url+set}" = set; then
6526 enableval
="$enable_url"
6528 if test "$enableval" = yes; then
6529 ac_cv_use_url
='wxUSE_URL=yes'
6531 ac_cv_use_url
='wxUSE_URL=no'
6536 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6537 if test "x$LINE" != x
; then
6538 eval "DEFAULT_$LINE"
6543 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6547 eval "$ac_cv_use_url"
6548 if test "$no_cache" != 1; then
6549 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6552 if test "$wxUSE_URL" = yes; then
6553 echo "$as_me:$LINENO: result: yes" >&5
6554 echo "${ECHO_T}yes" >&6
6556 echo "$as_me:$LINENO: result: no" >&5
6557 echo "${ECHO_T}no" >&6
6562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6565 # Check whether --enable-variant or --disable-variant was given.
6566 if test "${enable_variant+set}" = set; then
6567 enableval
="$enable_variant"
6569 if test "$enableval" = yes; then
6570 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6572 ac_cv_use_variant
='wxUSE_VARIANT=no'
6577 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6578 if test "x$LINE" != x
; then
6579 eval "DEFAULT_$LINE"
6584 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6588 eval "$ac_cv_use_variant"
6589 if test "$no_cache" != 1; then
6590 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6593 if test "$wxUSE_VARIANT" = yes; then
6594 echo "$as_me:$LINENO: result: yes" >&5
6595 echo "${ECHO_T}yes" >&6
6597 echo "$as_me:$LINENO: result: no" >&5
6598 echo "${ECHO_T}no" >&6
6603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6606 # Check whether --enable-protocol or --disable-protocol was given.
6607 if test "${enable_protocol+set}" = set; then
6608 enableval
="$enable_protocol"
6610 if test "$enableval" = yes; then
6611 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6613 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6618 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6619 if test "x$LINE" != x
; then
6620 eval "DEFAULT_$LINE"
6625 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6629 eval "$ac_cv_use_protocol"
6630 if test "$no_cache" != 1; then
6631 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6634 if test "$wxUSE_PROTOCOL" = yes; then
6635 echo "$as_me:$LINENO: result: yes" >&5
6636 echo "${ECHO_T}yes" >&6
6638 echo "$as_me:$LINENO: result: no" >&5
6639 echo "${ECHO_T}no" >&6
6644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6645 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6647 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6648 if test "${enable_protocol_http+set}" = set; then
6649 enableval
="$enable_protocol_http"
6651 if test "$enableval" = yes; then
6652 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6654 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6659 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6660 if test "x$LINE" != x
; then
6661 eval "DEFAULT_$LINE"
6666 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6670 eval "$ac_cv_use_protocol_http"
6671 if test "$no_cache" != 1; then
6672 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6675 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6676 echo "$as_me:$LINENO: result: yes" >&5
6677 echo "${ECHO_T}yes" >&6
6679 echo "$as_me:$LINENO: result: no" >&5
6680 echo "${ECHO_T}no" >&6
6685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6688 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6689 if test "${enable_protocol_ftp+set}" = set; then
6690 enableval
="$enable_protocol_ftp"
6692 if test "$enableval" = yes; then
6693 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6695 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6700 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6701 if test "x$LINE" != x
; then
6702 eval "DEFAULT_$LINE"
6707 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6711 eval "$ac_cv_use_protocol_ftp"
6712 if test "$no_cache" != 1; then
6713 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6716 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6717 echo "$as_me:$LINENO: result: yes" >&5
6718 echo "${ECHO_T}yes" >&6
6720 echo "$as_me:$LINENO: result: no" >&5
6721 echo "${ECHO_T}no" >&6
6726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6727 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6729 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6730 if test "${enable_protocol_file+set}" = set; then
6731 enableval
="$enable_protocol_file"
6733 if test "$enableval" = yes; then
6734 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6736 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6741 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6742 if test "x$LINE" != x
; then
6743 eval "DEFAULT_$LINE"
6748 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6752 eval "$ac_cv_use_protocol_file"
6753 if test "$no_cache" != 1; then
6754 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6757 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6758 echo "$as_me:$LINENO: result: yes" >&5
6759 echo "${ECHO_T}yes" >&6
6761 echo "$as_me:$LINENO: result: no" >&5
6762 echo "${ECHO_T}no" >&6
6770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6771 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6773 # Check whether --enable-threads or --disable-threads was given.
6774 if test "${enable_threads+set}" = set; then
6775 enableval
="$enable_threads"
6777 if test "$enableval" = yes; then
6778 ac_cv_use_threads
='wxUSE_THREADS=yes'
6780 ac_cv_use_threads
='wxUSE_THREADS=no'
6785 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6786 if test "x$LINE" != x
; then
6787 eval "DEFAULT_$LINE"
6792 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6796 eval "$ac_cv_use_threads"
6797 if test "$no_cache" != 1; then
6798 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6801 if test "$wxUSE_THREADS" = yes; then
6802 echo "$as_me:$LINENO: result: yes" >&5
6803 echo "${ECHO_T}yes" >&6
6805 echo "$as_me:$LINENO: result: no" >&5
6806 echo "${ECHO_T}no" >&6
6810 if test "$wxUSE_GUI" = "yes"; then
6815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6816 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6818 # Check whether --enable-docview or --disable-docview was given.
6819 if test "${enable_docview+set}" = set; then
6820 enableval
="$enable_docview"
6822 if test "$enableval" = yes; then
6823 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6825 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6830 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6831 if test "x$LINE" != x
; then
6832 eval "DEFAULT_$LINE"
6837 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6841 eval "$ac_cv_use_docview"
6842 if test "$no_cache" != 1; then
6843 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6846 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6847 echo "$as_me:$LINENO: result: yes" >&5
6848 echo "${ECHO_T}yes" >&6
6850 echo "$as_me:$LINENO: result: no" >&5
6851 echo "${ECHO_T}no" >&6
6856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6857 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6859 # Check whether --enable-help or --disable-help was given.
6860 if test "${enable_help+set}" = set; then
6861 enableval
="$enable_help"
6863 if test "$enableval" = yes; then
6864 ac_cv_use_help
='wxUSE_HELP=yes'
6866 ac_cv_use_help
='wxUSE_HELP=no'
6871 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6872 if test "x$LINE" != x
; then
6873 eval "DEFAULT_$LINE"
6878 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6882 eval "$ac_cv_use_help"
6883 if test "$no_cache" != 1; then
6884 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6887 if test "$wxUSE_HELP" = yes; then
6888 echo "$as_me:$LINENO: result: yes" >&5
6889 echo "${ECHO_T}yes" >&6
6891 echo "$as_me:$LINENO: result: no" >&5
6892 echo "${ECHO_T}no" >&6
6897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6898 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6900 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6901 if test "${enable_mshtmlhelp+set}" = set; then
6902 enableval
="$enable_mshtmlhelp"
6904 if test "$enableval" = yes; then
6905 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6907 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6912 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6913 if test "x$LINE" != x
; then
6914 eval "DEFAULT_$LINE"
6919 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6923 eval "$ac_cv_use_mshtmlhelp"
6924 if test "$no_cache" != 1; then
6925 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6928 if test "$wxUSE_MS_HTML_HELP" = yes; then
6929 echo "$as_me:$LINENO: result: yes" >&5
6930 echo "${ECHO_T}yes" >&6
6932 echo "$as_me:$LINENO: result: no" >&5
6933 echo "${ECHO_T}no" >&6
6938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6939 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6941 # Check whether --enable-html or --disable-html was given.
6942 if test "${enable_html+set}" = set; then
6943 enableval
="$enable_html"
6945 if test "$enableval" = yes; then
6946 ac_cv_use_html
='wxUSE_HTML=yes'
6948 ac_cv_use_html
='wxUSE_HTML=no'
6953 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6954 if test "x$LINE" != x
; then
6955 eval "DEFAULT_$LINE"
6960 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6964 eval "$ac_cv_use_html"
6965 if test "$no_cache" != 1; then
6966 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6969 if test "$wxUSE_HTML" = yes; then
6970 echo "$as_me:$LINENO: result: yes" >&5
6971 echo "${ECHO_T}yes" >&6
6973 echo "$as_me:$LINENO: result: no" >&5
6974 echo "${ECHO_T}no" >&6
6979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6980 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6982 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6983 if test "${enable_htmlhelp+set}" = set; then
6984 enableval
="$enable_htmlhelp"
6986 if test "$enableval" = yes; then
6987 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6989 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6994 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6995 if test "x$LINE" != x
; then
6996 eval "DEFAULT_$LINE"
7001 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7005 eval "$ac_cv_use_htmlhelp"
7006 if test "$no_cache" != 1; then
7007 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7010 if test "$wxUSE_WXHTML_HELP" = yes; then
7011 echo "$as_me:$LINENO: result: yes" >&5
7012 echo "${ECHO_T}yes" >&6
7014 echo "$as_me:$LINENO: result: no" >&5
7015 echo "${ECHO_T}no" >&6
7020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7021 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7023 # Check whether --enable-xrc or --disable-xrc was given.
7024 if test "${enable_xrc+set}" = set; then
7025 enableval
="$enable_xrc"
7027 if test "$enableval" = yes; then
7028 ac_cv_use_xrc
='wxUSE_XRC=yes'
7030 ac_cv_use_xrc
='wxUSE_XRC=no'
7035 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x
; then
7037 eval "DEFAULT_$LINE"
7042 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7046 eval "$ac_cv_use_xrc"
7047 if test "$no_cache" != 1; then
7048 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7051 if test "$wxUSE_XRC" = yes; then
7052 echo "$as_me:$LINENO: result: yes" >&5
7053 echo "${ECHO_T}yes" >&6
7055 echo "$as_me:$LINENO: result: no" >&5
7056 echo "${ECHO_T}no" >&6
7061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7064 # Check whether --enable-aui or --disable-aui was given.
7065 if test "${enable_aui+set}" = set; then
7066 enableval
="$enable_aui"
7068 if test "$enableval" = yes; then
7069 ac_cv_use_aui
='wxUSE_AUI=yes'
7071 ac_cv_use_aui
='wxUSE_AUI=no'
7076 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x
; then
7078 eval "DEFAULT_$LINE"
7083 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7087 eval "$ac_cv_use_aui"
7088 if test "$no_cache" != 1; then
7089 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7092 if test "$wxUSE_AUI" = yes; then
7093 echo "$as_me:$LINENO: result: yes" >&5
7094 echo "${ECHO_T}yes" >&6
7096 echo "$as_me:$LINENO: result: no" >&5
7097 echo "${ECHO_T}no" >&6
7102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7103 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7105 # Check whether --enable-constraints or --disable-constraints was given.
7106 if test "${enable_constraints+set}" = set; then
7107 enableval
="$enable_constraints"
7109 if test "$enableval" = yes; then
7110 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7112 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7117 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x
; then
7119 eval "DEFAULT_$LINE"
7124 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7128 eval "$ac_cv_use_constraints"
7129 if test "$no_cache" != 1; then
7130 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7133 if test "$wxUSE_CONSTRAINTS" = yes; then
7134 echo "$as_me:$LINENO: result: yes" >&5
7135 echo "${ECHO_T}yes" >&6
7137 echo "$as_me:$LINENO: result: no" >&5
7138 echo "${ECHO_T}no" >&6
7143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7146 # Check whether --enable-printarch or --disable-printarch was given.
7147 if test "${enable_printarch+set}" = set; then
7148 enableval
="$enable_printarch"
7150 if test "$enableval" = yes; then
7151 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7153 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7158 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x
; then
7160 eval "DEFAULT_$LINE"
7165 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7169 eval "$ac_cv_use_printarch"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7174 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7175 echo "$as_me:$LINENO: result: yes" >&5
7176 echo "${ECHO_T}yes" >&6
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7187 # Check whether --enable-mdi or --disable-mdi was given.
7188 if test "${enable_mdi+set}" = set; then
7189 enableval
="$enable_mdi"
7191 if test "$enableval" = yes; then
7192 ac_cv_use_mdi
='wxUSE_MDI=yes'
7194 ac_cv_use_mdi
='wxUSE_MDI=no'
7199 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x
; then
7201 eval "DEFAULT_$LINE"
7206 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7210 eval "$ac_cv_use_mdi"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7215 if test "$wxUSE_MDI" = yes; then
7216 echo "$as_me:$LINENO: result: yes" >&5
7217 echo "${ECHO_T}yes" >&6
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7228 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7229 if test "${enable_mdidoc+set}" = set; then
7230 enableval
="$enable_mdidoc"
7232 if test "$enableval" = yes; then
7233 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7235 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7240 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x
; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7251 eval "$ac_cv_use_mdidoc"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7256 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7269 # Check whether --enable-loggui or --disable-loggui was given.
7270 if test "${enable_loggui+set}" = set; then
7271 enableval
="$enable_loggui"
7273 if test "$enableval" = yes; then
7274 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7276 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7281 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x
; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7292 eval "$ac_cv_use_loggui"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7297 if test "$wxUSE_LOGGUI" = yes; then
7298 echo "$as_me:$LINENO: result: yes" >&5
7299 echo "${ECHO_T}yes" >&6
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7310 # Check whether --enable-logwin or --disable-logwin was given.
7311 if test "${enable_logwin+set}" = set; then
7312 enableval
="$enable_logwin"
7314 if test "$enableval" = yes; then
7315 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7317 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7322 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x
; then
7324 eval "DEFAULT_$LINE"
7329 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7333 eval "$ac_cv_use_logwin"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7338 if test "$wxUSE_LOGWINDOW" = yes; then
7339 echo "$as_me:$LINENO: result: yes" >&5
7340 echo "${ECHO_T}yes" >&6
7342 echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6
7348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7351 # Check whether --enable-logdialog or --disable-logdialog was given.
7352 if test "${enable_logdialog+set}" = set; then
7353 enableval
="$enable_logdialog"
7355 if test "$enableval" = yes; then
7356 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7358 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7363 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x
; then
7365 eval "DEFAULT_$LINE"
7370 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7374 eval "$ac_cv_use_logdialog"
7375 if test "$no_cache" != 1; then
7376 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7379 if test "$wxUSE_LOGDIALOG" = yes; then
7380 echo "$as_me:$LINENO: result: yes" >&5
7381 echo "${ECHO_T}yes" >&6
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7392 # Check whether --enable-webkit or --disable-webkit was given.
7393 if test "${enable_webkit+set}" = set; then
7394 enableval
="$enable_webkit"
7396 if test "$enableval" = yes; then
7397 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7399 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7404 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x
; then
7406 eval "DEFAULT_$LINE"
7411 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7415 eval "$ac_cv_use_webkit"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7420 if test "$wxUSE_WEBKIT" = yes; then
7421 echo "$as_me:$LINENO: result: yes" >&5
7422 echo "${ECHO_T}yes" >&6
7424 echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6
7430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7433 # Check whether --enable-html or --disable-html was given.
7434 if test "${enable_html+set}" = set; then
7435 enableval
="$enable_html"
7437 if test "$enableval" = yes; then
7438 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7440 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7445 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7446 if test "x$LINE" != x
; then
7447 eval "DEFAULT_$LINE"
7452 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7456 eval "$ac_cv_use_html"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7461 if test "$wxUSE_RICHTEXT" = yes; then
7462 echo "$as_me:$LINENO: result: yes" >&5
7463 echo "${ECHO_T}yes" >&6
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7474 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7475 if test "${enable_graphics_ctx+set}" = set; then
7476 enableval
="$enable_graphics_ctx"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7481 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7486 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7497 eval "$ac_cv_use_graphics_ctx"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7502 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7516 # Check whether --enable-postscript or --disable-postscript was given.
7517 if test "${enable_postscript+set}" = set; then
7518 enableval
="$enable_postscript"
7520 if test "$enableval" = yes; then
7521 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7523 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7528 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x
; then
7530 eval "DEFAULT_$LINE"
7535 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7539 eval "$ac_cv_use_postscript"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7544 if test "$wxUSE_POSTSCRIPT" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7558 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7560 # Check whether --enable-prologio or --disable-prologio was given.
7561 if test "${enable_prologio+set}" = set; then
7562 enableval
="$enable_prologio"
7564 if test "$enableval" = yes; then
7565 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7567 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7572 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7573 if test "x$LINE" != x
; then
7574 eval "DEFAULT_$LINE"
7579 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7583 eval "$ac_cv_use_prologio"
7584 if test "$no_cache" != 1; then
7585 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7588 if test "$wxUSE_PROLOGIO" = yes; then
7589 echo "$as_me:$LINENO: result: yes" >&5
7590 echo "${ECHO_T}yes" >&6
7592 echo "$as_me:$LINENO: result: no" >&5
7593 echo "${ECHO_T}no" >&6
7598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7601 # Check whether --enable-resources or --disable-resources was given.
7602 if test "${enable_resources+set}" = set; then
7603 enableval
="$enable_resources"
7605 if test "$enableval" = yes; then
7606 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7608 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7613 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7614 if test "x$LINE" != x
; then
7615 eval "DEFAULT_$LINE"
7620 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7624 eval "$ac_cv_use_resources"
7625 if test "$no_cache" != 1; then
7626 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7629 if test "$wxUSE_RESOURCES" = yes; then
7630 echo "$as_me:$LINENO: result: yes" >&5
7631 echo "${ECHO_T}yes" >&6
7633 echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6
7641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7642 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7644 # Check whether --enable-clipboard or --disable-clipboard was given.
7645 if test "${enable_clipboard+set}" = set; then
7646 enableval
="$enable_clipboard"
7648 if test "$enableval" = yes; then
7649 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7651 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7656 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x
; then
7658 eval "DEFAULT_$LINE"
7663 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7667 eval "$ac_cv_use_clipboard"
7668 if test "$no_cache" != 1; then
7669 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7672 if test "$wxUSE_CLIPBOARD" = yes; then
7673 echo "$as_me:$LINENO: result: yes" >&5
7674 echo "${ECHO_T}yes" >&6
7676 echo "$as_me:$LINENO: result: no" >&5
7677 echo "${ECHO_T}no" >&6
7682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7685 # Check whether --enable-dnd or --disable-dnd was given.
7686 if test "${enable_dnd+set}" = set; then
7687 enableval
="$enable_dnd"
7689 if test "$enableval" = yes; then
7690 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7692 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7697 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x
; then
7699 eval "DEFAULT_$LINE"
7704 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7708 eval "$ac_cv_use_dnd"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7713 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7714 echo "$as_me:$LINENO: result: yes" >&5
7715 echo "${ECHO_T}yes" >&6
7717 echo "$as_me:$LINENO: result: no" >&5
7718 echo "${ECHO_T}no" >&6
7723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7726 # Check whether --enable-metafile or --disable-metafile was given.
7727 if test "${enable_metafile+set}" = set; then
7728 enableval
="$enable_metafile"
7730 if test "$enableval" = yes; then
7731 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7733 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7738 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7739 if test "x$LINE" != x
; then
7740 eval "DEFAULT_$LINE"
7745 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7749 eval "$ac_cv_use_metafile"
7750 if test "$no_cache" != 1; then
7751 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7754 if test "$wxUSE_METAFILE" = yes; then
7755 echo "$as_me:$LINENO: result: yes" >&5
7756 echo "${ECHO_T}yes" >&6
7758 echo "$as_me:$LINENO: result: no" >&5
7759 echo "${ECHO_T}no" >&6
7767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7768 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7770 # Check whether --enable-controls or --disable-controls was given.
7771 if test "${enable_controls+set}" = set; then
7772 enableval
="$enable_controls"
7774 if test "$enableval" = yes; then
7775 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7777 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7782 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7783 if test "x$LINE" != x
; then
7784 eval "DEFAULT_$LINE"
7789 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7793 eval "$ac_cv_use_controls"
7794 if test "$no_cache" != 1; then
7795 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7798 if test "$wxUSE_CONTROLS" = yes; then
7799 echo "$as_me:$LINENO: result: yes" >&5
7800 echo "${ECHO_T}yes" >&6
7802 echo "$as_me:$LINENO: result: no" >&5
7803 echo "${ECHO_T}no" >&6
7807 if test "$wxUSE_CONTROLS" = "yes"; then
7808 DEFAULT_wxUSE_ACCEL
=yes
7809 DEFAULT_wxUSE_BMPBUTTON
=yes
7810 DEFAULT_wxUSE_BUTTON
=yes
7811 DEFAULT_wxUSE_CALCTRL
=yes
7812 DEFAULT_wxUSE_CARET
=yes
7813 DEFAULT_wxUSE_COMBOBOX
=yes
7814 DEFAULT_wxUSE_CHECKBOX
=yes
7815 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7816 DEFAULT_wxUSE_CHOICE
=yes
7817 DEFAULT_wxUSE_CHOICEBOOK
=yes
7818 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7819 DEFAULT_wxUSE_COMBOBOX
=yes
7820 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7821 DEFAULT_wxUSE_DISPLAY
=yes
7822 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7823 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7824 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7825 DEFAULT_wxUSE_GAUGE
=yes
7826 DEFAULT_wxUSE_GRID
=yes
7827 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7828 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7829 DEFAULT_wxUSE_IMAGLIST
=yes
7830 DEFAULT_wxUSE_LISTBOOK
=yes
7831 DEFAULT_wxUSE_LISTBOX
=yes
7832 DEFAULT_wxUSE_LISTCTRL
=yes
7833 DEFAULT_wxUSE_NOTEBOOK
=yes
7834 DEFAULT_wxUSE_RADIOBOX
=yes
7835 DEFAULT_wxUSE_RADIOBTN
=yes
7836 DEFAULT_wxUSE_SASH
=yes
7837 DEFAULT_wxUSE_SCROLLBAR
=yes
7838 DEFAULT_wxUSE_SLIDER
=yes
7839 DEFAULT_wxUSE_SPINBTN
=yes
7840 DEFAULT_wxUSE_SPINCTRL
=yes
7841 DEFAULT_wxUSE_SPLITTER
=yes
7842 DEFAULT_wxUSE_STATBMP
=yes
7843 DEFAULT_wxUSE_STATBOX
=yes
7844 DEFAULT_wxUSE_STATLINE
=yes
7845 DEFAULT_wxUSE_STATUSBAR
=yes
7846 DEFAULT_wxUSE_TAB_DIALOG
=yes
7847 DEFAULT_wxUSE_TOGGLEBTN
=yes
7848 DEFAULT_wxUSE_TOOLBAR
=yes
7849 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7850 DEFAULT_wxUSE_TOOLTIPS
=yes
7851 DEFAULT_wxUSE_TREEBOOK
=yes
7852 DEFAULT_wxUSE_TOOLBOOK
=yes
7853 DEFAULT_wxUSE_TREECTRL
=yes
7854 DEFAULT_wxUSE_POPUPWIN
=yes
7855 DEFAULT_wxUSE_TIPWINDOW
=yes
7856 elif test "$wxUSE_CONTROLS" = "no"; then
7857 DEFAULT_wxUSE_ACCEL
=no
7858 DEFAULT_wxUSE_BMPBUTTON
=no
7859 DEFAULT_wxUSE_BUTTON
=no
7860 DEFAULT_wxUSE_CALCTRL
=no
7861 DEFAULT_wxUSE_CARET
=no
7862 DEFAULT_wxUSE_COMBOBOX
=no
7863 DEFAULT_wxUSE_CHECKBOX
=no
7864 DEFAULT_wxUSE_CHECKLISTBOX
=no
7865 DEFAULT_wxUSE_CHOICE
=no
7866 DEFAULT_wxUSE_CHOICEBOOK
=no
7867 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7868 DEFAULT_wxUSE_COMBOBOX
=no
7869 DEFAULT_wxUSE_DATEPICKCTRL
=no
7870 DEFAULT_wxUSE_DISPLAY
=no
7871 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7872 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7873 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7874 DEFAULT_wxUSE_GAUGE
=no
7875 DEFAULT_wxUSE_GRID
=no
7876 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7877 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7878 DEFAULT_wxUSE_IMAGLIST
=no
7879 DEFAULT_wxUSE_LISTBOOK
=no
7880 DEFAULT_wxUSE_LISTBOX
=no
7881 DEFAULT_wxUSE_LISTCTRL
=no
7882 DEFAULT_wxUSE_NOTEBOOK
=no
7883 DEFAULT_wxUSE_RADIOBOX
=no
7884 DEFAULT_wxUSE_RADIOBTN
=no
7885 DEFAULT_wxUSE_SASH
=no
7886 DEFAULT_wxUSE_SCROLLBAR
=no
7887 DEFAULT_wxUSE_SLIDER
=no
7888 DEFAULT_wxUSE_SPINBTN
=no
7889 DEFAULT_wxUSE_SPINCTRL
=no
7890 DEFAULT_wxUSE_SPLITTER
=no
7891 DEFAULT_wxUSE_STATBMP
=no
7892 DEFAULT_wxUSE_STATBOX
=no
7893 DEFAULT_wxUSE_STATLINE
=no
7894 DEFAULT_wxUSE_STATUSBAR
=no
7895 DEFAULT_wxUSE_TAB_DIALOG
=no
7896 DEFAULT_wxUSE_TOGGLEBTN
=no
7897 DEFAULT_wxUSE_TOOLBAR
=no
7898 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7899 DEFAULT_wxUSE_TOOLTIPS
=no
7900 DEFAULT_wxUSE_TREEBOOK
=no
7901 DEFAULT_wxUSE_TOOLBOOK
=no
7902 DEFAULT_wxUSE_TREECTRL
=no
7903 DEFAULT_wxUSE_POPUPWIN
=no
7904 DEFAULT_wxUSE_TIPWINDOW
=no
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7912 # Check whether --enable-accel or --disable-accel was given.
7913 if test "${enable_accel+set}" = set; then
7914 enableval
="$enable_accel"
7916 if test "$enableval" = yes; then
7917 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7919 ac_cv_use_accel
='wxUSE_ACCEL=no'
7924 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x
; then
7926 eval "DEFAULT_$LINE"
7931 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7935 eval "$ac_cv_use_accel"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7940 if test "$wxUSE_ACCEL" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942 echo "${ECHO_T}yes" >&6
7944 echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7953 # Check whether --enable-button or --disable-button was given.
7954 if test "${enable_button+set}" = set; then
7955 enableval
="$enable_button"
7957 if test "$enableval" = yes; then
7958 ac_cv_use_button
='wxUSE_BUTTON=yes'
7960 ac_cv_use_button
='wxUSE_BUTTON=no'
7965 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x
; then
7967 eval "DEFAULT_$LINE"
7972 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7976 eval "$ac_cv_use_button"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7981 if test "$wxUSE_BUTTON" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983 echo "${ECHO_T}yes" >&6
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7994 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7995 if test "${enable_bmpbutton+set}" = set; then
7996 enableval
="$enable_bmpbutton"
7998 if test "$enableval" = yes; then
7999 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8001 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8006 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x
; then
8008 eval "DEFAULT_$LINE"
8013 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8017 eval "$ac_cv_use_bmpbutton"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8022 if test "$wxUSE_BMPBUTTON" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8035 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8036 if test "${enable_bmpcombobox+set}" = set; then
8037 enableval
="$enable_bmpcombobox"
8039 if test "$enableval" = yes; then
8040 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8042 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8047 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x
; then
8049 eval "DEFAULT_$LINE"
8054 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8058 eval "$ac_cv_use_bmpcombobox"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8063 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065 echo "${ECHO_T}yes" >&6
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8076 # Check whether --enable-calendar or --disable-calendar was given.
8077 if test "${enable_calendar+set}" = set; then
8078 enableval
="$enable_calendar"
8080 if test "$enableval" = yes; then
8081 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8083 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8088 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x
; then
8090 eval "DEFAULT_$LINE"
8095 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8099 eval "$ac_cv_use_calendar"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8104 if test "$wxUSE_CALCTRL" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106 echo "${ECHO_T}yes" >&6
8108 echo "$as_me:$LINENO: result: no" >&5
8109 echo "${ECHO_T}no" >&6
8114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8115 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8117 # Check whether --enable-caret or --disable-caret was given.
8118 if test "${enable_caret+set}" = set; then
8119 enableval
="$enable_caret"
8121 if test "$enableval" = yes; then
8122 ac_cv_use_caret
='wxUSE_CARET=yes'
8124 ac_cv_use_caret
='wxUSE_CARET=no'
8129 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8130 if test "x$LINE" != x
; then
8131 eval "DEFAULT_$LINE"
8136 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8140 eval "$ac_cv_use_caret"
8141 if test "$no_cache" != 1; then
8142 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8145 if test "$wxUSE_CARET" = yes; then
8146 echo "$as_me:$LINENO: result: yes" >&5
8147 echo "${ECHO_T}yes" >&6
8149 echo "$as_me:$LINENO: result: no" >&5
8150 echo "${ECHO_T}no" >&6
8155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8156 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8158 # Check whether --enable-checkbox or --disable-checkbox was given.
8159 if test "${enable_checkbox+set}" = set; then
8160 enableval
="$enable_checkbox"
8162 if test "$enableval" = yes; then
8163 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8165 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8170 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8171 if test "x$LINE" != x
; then
8172 eval "DEFAULT_$LINE"
8177 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8181 eval "$ac_cv_use_checkbox"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8186 if test "$wxUSE_CHECKBOX" = yes; then
8187 echo "$as_me:$LINENO: result: yes" >&5
8188 echo "${ECHO_T}yes" >&6
8190 echo "$as_me:$LINENO: result: no" >&5
8191 echo "${ECHO_T}no" >&6
8196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8199 # Check whether --enable-checklst or --disable-checklst was given.
8200 if test "${enable_checklst+set}" = set; then
8201 enableval
="$enable_checklst"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8206 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8211 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x
; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8222 eval "$ac_cv_use_checklst"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8227 if test "$wxUSE_CHECKLST" = yes; then
8228 echo "$as_me:$LINENO: result: yes" >&5
8229 echo "${ECHO_T}yes" >&6
8231 echo "$as_me:$LINENO: result: no" >&5
8232 echo "${ECHO_T}no" >&6
8237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8240 # Check whether --enable-choice or --disable-choice was given.
8241 if test "${enable_choice+set}" = set; then
8242 enableval
="$enable_choice"
8244 if test "$enableval" = yes; then
8245 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8247 ac_cv_use_choice
='wxUSE_CHOICE=no'
8252 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x
; then
8254 eval "DEFAULT_$LINE"
8259 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8263 eval "$ac_cv_use_choice"
8264 if test "$no_cache" != 1; then
8265 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8268 if test "$wxUSE_CHOICE" = yes; then
8269 echo "$as_me:$LINENO: result: yes" >&5
8270 echo "${ECHO_T}yes" >&6
8272 echo "$as_me:$LINENO: result: no" >&5
8273 echo "${ECHO_T}no" >&6
8278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8279 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8281 # Check whether --enable-choicebook or --disable-choicebook was given.
8282 if test "${enable_choicebook+set}" = set; then
8283 enableval
="$enable_choicebook"
8285 if test "$enableval" = yes; then
8286 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8288 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8293 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8294 if test "x$LINE" != x
; then
8295 eval "DEFAULT_$LINE"
8300 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8304 eval "$ac_cv_use_choicebook"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8309 if test "$wxUSE_CHOICEBOOK" = yes; then
8310 echo "$as_me:$LINENO: result: yes" >&5
8311 echo "${ECHO_T}yes" >&6
8313 echo "$as_me:$LINENO: result: no" >&5
8314 echo "${ECHO_T}no" >&6
8319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8322 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8323 if test "${enable_colourpicker+set}" = set; then
8324 enableval
="$enable_colourpicker"
8326 if test "$enableval" = yes; then
8327 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8329 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8334 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8335 if test "x$LINE" != x
; then
8336 eval "DEFAULT_$LINE"
8341 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8345 eval "$ac_cv_use_colourpicker"
8346 if test "$no_cache" != 1; then
8347 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8350 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8351 echo "$as_me:$LINENO: result: yes" >&5
8352 echo "${ECHO_T}yes" >&6
8354 echo "$as_me:$LINENO: result: no" >&5
8355 echo "${ECHO_T}no" >&6
8360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8363 # Check whether --enable-combobox or --disable-combobox was given.
8364 if test "${enable_combobox+set}" = set; then
8365 enableval
="$enable_combobox"
8367 if test "$enableval" = yes; then
8368 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8370 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8375 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8376 if test "x$LINE" != x
; then
8377 eval "DEFAULT_$LINE"
8382 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8386 eval "$ac_cv_use_combobox"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8391 if test "$wxUSE_COMBOBOX" = yes; then
8392 echo "$as_me:$LINENO: result: yes" >&5
8393 echo "${ECHO_T}yes" >&6
8395 echo "$as_me:$LINENO: result: no" >&5
8396 echo "${ECHO_T}no" >&6
8401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8404 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8405 if test "${enable_comboctrl+set}" = set; then
8406 enableval
="$enable_comboctrl"
8408 if test "$enableval" = yes; then
8409 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8411 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8416 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8417 if test "x$LINE" != x
; then
8418 eval "DEFAULT_$LINE"
8423 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8427 eval "$ac_cv_use_comboctrl"
8428 if test "$no_cache" != 1; then
8429 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8432 if test "$wxUSE_COMBOCTRL" = yes; then
8433 echo "$as_me:$LINENO: result: yes" >&5
8434 echo "${ECHO_T}yes" >&6
8436 echo "$as_me:$LINENO: result: no" >&5
8437 echo "${ECHO_T}no" >&6
8442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8445 # Check whether --enable-datepick or --disable-datepick was given.
8446 if test "${enable_datepick+set}" = set; then
8447 enableval
="$enable_datepick"
8449 if test "$enableval" = yes; then
8450 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8452 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8457 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8458 if test "x$LINE" != x
; then
8459 eval "DEFAULT_$LINE"
8464 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8468 eval "$ac_cv_use_datepick"
8469 if test "$no_cache" != 1; then
8470 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8473 if test "$wxUSE_DATEPICKCTRL" = yes; then
8474 echo "$as_me:$LINENO: result: yes" >&5
8475 echo "${ECHO_T}yes" >&6
8477 echo "$as_me:$LINENO: result: no" >&5
8478 echo "${ECHO_T}no" >&6
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8486 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8487 if test "${enable_dirpicker+set}" = set; then
8488 enableval
="$enable_dirpicker"
8490 if test "$enableval" = yes; then
8491 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8493 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8498 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x
; then
8500 eval "DEFAULT_$LINE"
8505 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8509 eval "$ac_cv_use_dirpicker"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8514 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516 echo "${ECHO_T}yes" >&6
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8525 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8527 # Check whether --enable-display or --disable-display was given.
8528 if test "${enable_display+set}" = set; then
8529 enableval
="$enable_display"
8531 if test "$enableval" = yes; then
8532 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8534 ac_cv_use_display
='wxUSE_DISPLAY=no'
8539 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8540 if test "x$LINE" != x
; then
8541 eval "DEFAULT_$LINE"
8546 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8550 eval "$ac_cv_use_display"
8551 if test "$no_cache" != 1; then
8552 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8555 if test "$wxUSE_DISPLAY" = yes; then
8556 echo "$as_me:$LINENO: result: yes" >&5
8557 echo "${ECHO_T}yes" >&6
8559 echo "$as_me:$LINENO: result: no" >&5
8560 echo "${ECHO_T}no" >&6
8565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8566 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8568 # Check whether --enable-filepicker or --disable-filepicker was given.
8569 if test "${enable_filepicker+set}" = set; then
8570 enableval
="$enable_filepicker"
8572 if test "$enableval" = yes; then
8573 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8575 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8580 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8581 if test "x$LINE" != x
; then
8582 eval "DEFAULT_$LINE"
8587 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8591 eval "$ac_cv_use_filepicker"
8592 if test "$no_cache" != 1; then
8593 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8596 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8597 echo "$as_me:$LINENO: result: yes" >&5
8598 echo "${ECHO_T}yes" >&6
8600 echo "$as_me:$LINENO: result: no" >&5
8601 echo "${ECHO_T}no" >&6
8606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8609 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8610 if test "${enable_fontpicker+set}" = set; then
8611 enableval
="$enable_fontpicker"
8613 if test "$enableval" = yes; then
8614 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8616 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8621 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8622 if test "x$LINE" != x
; then
8623 eval "DEFAULT_$LINE"
8628 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8632 eval "$ac_cv_use_fontpicker"
8633 if test "$no_cache" != 1; then
8634 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8637 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8638 echo "$as_me:$LINENO: result: yes" >&5
8639 echo "${ECHO_T}yes" >&6
8641 echo "$as_me:$LINENO: result: no" >&5
8642 echo "${ECHO_T}no" >&6
8647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8648 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8650 # Check whether --enable-gauge or --disable-gauge was given.
8651 if test "${enable_gauge+set}" = set; then
8652 enableval
="$enable_gauge"
8654 if test "$enableval" = yes; then
8655 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8657 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8662 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x
; then
8664 eval "DEFAULT_$LINE"
8669 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8673 eval "$ac_cv_use_gauge"
8674 if test "$no_cache" != 1; then
8675 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8678 if test "$wxUSE_GAUGE" = yes; then
8679 echo "$as_me:$LINENO: result: yes" >&5
8680 echo "${ECHO_T}yes" >&6
8682 echo "$as_me:$LINENO: result: no" >&5
8683 echo "${ECHO_T}no" >&6
8688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8689 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8691 # Check whether --enable-grid or --disable-grid was given.
8692 if test "${enable_grid+set}" = set; then
8693 enableval
="$enable_grid"
8695 if test "$enableval" = yes; then
8696 ac_cv_use_grid
='wxUSE_GRID=yes'
8698 ac_cv_use_grid
='wxUSE_GRID=no'
8703 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x
; then
8705 eval "DEFAULT_$LINE"
8710 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8714 eval "$ac_cv_use_grid"
8715 if test "$no_cache" != 1; then
8716 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8719 if test "$wxUSE_GRID" = yes; then
8720 echo "$as_me:$LINENO: result: yes" >&5
8721 echo "${ECHO_T}yes" >&6
8723 echo "$as_me:$LINENO: result: no" >&5
8724 echo "${ECHO_T}no" >&6
8729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8730 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8732 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8733 if test "${enable_dataviewctrl+set}" = set; then
8734 enableval
="$enable_dataviewctrl"
8736 if test "$enableval" = yes; then
8737 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8739 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8744 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x
; then
8746 eval "DEFAULT_$LINE"
8751 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8755 eval "$ac_cv_use_dataviewctrl"
8756 if test "$no_cache" != 1; then
8757 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8760 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8761 echo "$as_me:$LINENO: result: yes" >&5
8762 echo "${ECHO_T}yes" >&6
8764 echo "$as_me:$LINENO: result: no" >&5
8765 echo "${ECHO_T}no" >&6
8770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8773 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8774 if test "${enable_hyperlink+set}" = set; then
8775 enableval
="$enable_hyperlink"
8777 if test "$enableval" = yes; then
8778 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8780 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8785 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8786 if test "x$LINE" != x
; then
8787 eval "DEFAULT_$LINE"
8792 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8796 eval "$ac_cv_use_hyperlink"
8797 if test "$no_cache" != 1; then
8798 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8801 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8802 echo "$as_me:$LINENO: result: yes" >&5
8803 echo "${ECHO_T}yes" >&6
8805 echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6
8811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8814 # Check whether --enable-imaglist or --disable-imaglist was given.
8815 if test "${enable_imaglist+set}" = set; then
8816 enableval
="$enable_imaglist"
8818 if test "$enableval" = yes; then
8819 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8821 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8826 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8827 if test "x$LINE" != x
; then
8828 eval "DEFAULT_$LINE"
8833 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8837 eval "$ac_cv_use_imaglist"
8838 if test "$no_cache" != 1; then
8839 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8842 if test "$wxUSE_IMAGLIST" = yes; then
8843 echo "$as_me:$LINENO: result: yes" >&5
8844 echo "${ECHO_T}yes" >&6
8846 echo "$as_me:$LINENO: result: no" >&5
8847 echo "${ECHO_T}no" >&6
8852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8855 # Check whether --enable-listbook or --disable-listbook was given.
8856 if test "${enable_listbook+set}" = set; then
8857 enableval
="$enable_listbook"
8859 if test "$enableval" = yes; then
8860 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8862 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8867 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8868 if test "x$LINE" != x
; then
8869 eval "DEFAULT_$LINE"
8874 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8878 eval "$ac_cv_use_listbook"
8879 if test "$no_cache" != 1; then
8880 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8883 if test "$wxUSE_LISTBOOK" = yes; then
8884 echo "$as_me:$LINENO: result: yes" >&5
8885 echo "${ECHO_T}yes" >&6
8887 echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8896 # Check whether --enable-listbox or --disable-listbox was given.
8897 if test "${enable_listbox+set}" = set; then
8898 enableval
="$enable_listbox"
8900 if test "$enableval" = yes; then
8901 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8903 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8908 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x
; then
8910 eval "DEFAULT_$LINE"
8915 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8919 eval "$ac_cv_use_listbox"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8924 if test "$wxUSE_LISTBOX" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6
8928 echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8937 # Check whether --enable-listctrl or --disable-listctrl was given.
8938 if test "${enable_listctrl+set}" = set; then
8939 enableval
="$enable_listctrl"
8941 if test "$enableval" = yes; then
8942 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8944 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8949 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x
; then
8951 eval "DEFAULT_$LINE"
8956 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8960 eval "$ac_cv_use_listctrl"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8965 if test "$wxUSE_LISTCTRL" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8978 # Check whether --enable-notebook or --disable-notebook was given.
8979 if test "${enable_notebook+set}" = set; then
8980 enableval
="$enable_notebook"
8982 if test "$enableval" = yes; then
8983 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8985 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8990 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x
; then
8992 eval "DEFAULT_$LINE"
8997 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9001 eval "$ac_cv_use_notebook"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9006 if test "$wxUSE_NOTEBOOK" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6
9010 echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9019 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9020 if test "${enable_odcombobox+set}" = set; then
9021 enableval
="$enable_odcombobox"
9023 if test "$enableval" = yes; then
9024 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9026 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9031 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x
; then
9033 eval "DEFAULT_$LINE"
9038 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9042 eval "$ac_cv_use_odcombobox"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9047 if test "$wxUSE_ODCOMBOBOX" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6
9051 echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9060 # Check whether --enable-radiobox or --disable-radiobox was given.
9061 if test "${enable_radiobox+set}" = set; then
9062 enableval
="$enable_radiobox"
9064 if test "$enableval" = yes; then
9065 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9067 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9072 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x
; then
9074 eval "DEFAULT_$LINE"
9079 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9083 eval "$ac_cv_use_radiobox"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9088 if test "$wxUSE_RADIOBOX" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6
9092 echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9101 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9102 if test "${enable_radiobtn+set}" = set; then
9103 enableval
="$enable_radiobtn"
9105 if test "$enableval" = yes; then
9106 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9108 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9113 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x
; then
9115 eval "DEFAULT_$LINE"
9120 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9124 eval "$ac_cv_use_radiobtn"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9129 if test "$wxUSE_RADIOBTN" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6
9133 echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9142 # Check whether --enable-sash or --disable-sash was given.
9143 if test "${enable_sash+set}" = set; then
9144 enableval
="$enable_sash"
9146 if test "$enableval" = yes; then
9147 ac_cv_use_sash
='wxUSE_SASH=yes'
9149 ac_cv_use_sash
='wxUSE_SASH=no'
9154 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x
; then
9156 eval "DEFAULT_$LINE"
9161 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9165 eval "$ac_cv_use_sash"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9170 if test "$wxUSE_SASH" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6
9174 echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9183 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9184 if test "${enable_scrollbar+set}" = set; then
9185 enableval
="$enable_scrollbar"
9187 if test "$enableval" = yes; then
9188 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9190 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9195 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x
; then
9197 eval "DEFAULT_$LINE"
9202 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9206 eval "$ac_cv_use_scrollbar"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9211 if test "$wxUSE_SCROLLBAR" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6
9215 echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9224 # Check whether --enable-slider or --disable-slider was given.
9225 if test "${enable_slider+set}" = set; then
9226 enableval
="$enable_slider"
9228 if test "$enableval" = yes; then
9229 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9231 ac_cv_use_slider
='wxUSE_SLIDER=no'
9236 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x
; then
9238 eval "DEFAULT_$LINE"
9243 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9247 eval "$ac_cv_use_slider"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9252 if test "$wxUSE_SLIDER" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6
9256 echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9265 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9266 if test "${enable_spinbtn+set}" = set; then
9267 enableval
="$enable_spinbtn"
9269 if test "$enableval" = yes; then
9270 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9272 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9277 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x
; then
9279 eval "DEFAULT_$LINE"
9284 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9288 eval "$ac_cv_use_spinbtn"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9293 if test "$wxUSE_SPINBTN" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9297 echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6
9303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9306 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9307 if test "${enable_spinctrl+set}" = set; then
9308 enableval
="$enable_spinctrl"
9310 if test "$enableval" = yes; then
9311 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9313 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9318 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9319 if test "x$LINE" != x
; then
9320 eval "DEFAULT_$LINE"
9325 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9329 eval "$ac_cv_use_spinctrl"
9330 if test "$no_cache" != 1; then
9331 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9334 if test "$wxUSE_SPINCTRL" = yes; then
9335 echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6
9338 echo "$as_me:$LINENO: result: no" >&5
9339 echo "${ECHO_T}no" >&6
9344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9347 # Check whether --enable-splitter or --disable-splitter was given.
9348 if test "${enable_splitter+set}" = set; then
9349 enableval
="$enable_splitter"
9351 if test "$enableval" = yes; then
9352 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9354 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9359 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9360 if test "x$LINE" != x
; then
9361 eval "DEFAULT_$LINE"
9366 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9370 eval "$ac_cv_use_splitter"
9371 if test "$no_cache" != 1; then
9372 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9375 if test "$wxUSE_SPLITTER" = yes; then
9376 echo "$as_me:$LINENO: result: yes" >&5
9377 echo "${ECHO_T}yes" >&6
9379 echo "$as_me:$LINENO: result: no" >&5
9380 echo "${ECHO_T}no" >&6
9385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9388 # Check whether --enable-statbmp or --disable-statbmp was given.
9389 if test "${enable_statbmp+set}" = set; then
9390 enableval
="$enable_statbmp"
9392 if test "$enableval" = yes; then
9393 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9395 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9400 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9401 if test "x$LINE" != x
; then
9402 eval "DEFAULT_$LINE"
9407 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9411 eval "$ac_cv_use_statbmp"
9412 if test "$no_cache" != 1; then
9413 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9416 if test "$wxUSE_STATBMP" = yes; then
9417 echo "$as_me:$LINENO: result: yes" >&5
9418 echo "${ECHO_T}yes" >&6
9420 echo "$as_me:$LINENO: result: no" >&5
9421 echo "${ECHO_T}no" >&6
9426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9429 # Check whether --enable-statbox or --disable-statbox was given.
9430 if test "${enable_statbox+set}" = set; then
9431 enableval
="$enable_statbox"
9433 if test "$enableval" = yes; then
9434 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9436 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9441 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9442 if test "x$LINE" != x
; then
9443 eval "DEFAULT_$LINE"
9448 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9452 eval "$ac_cv_use_statbox"
9453 if test "$no_cache" != 1; then
9454 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9457 if test "$wxUSE_STATBOX" = yes; then
9458 echo "$as_me:$LINENO: result: yes" >&5
9459 echo "${ECHO_T}yes" >&6
9461 echo "$as_me:$LINENO: result: no" >&5
9462 echo "${ECHO_T}no" >&6
9467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9470 # Check whether --enable-statline or --disable-statline was given.
9471 if test "${enable_statline+set}" = set; then
9472 enableval
="$enable_statline"
9474 if test "$enableval" = yes; then
9475 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9477 ac_cv_use_statline
='wxUSE_STATLINE=no'
9482 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9483 if test "x$LINE" != x
; then
9484 eval "DEFAULT_$LINE"
9489 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9493 eval "$ac_cv_use_statline"
9494 if test "$no_cache" != 1; then
9495 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9498 if test "$wxUSE_STATLINE" = yes; then
9499 echo "$as_me:$LINENO: result: yes" >&5
9500 echo "${ECHO_T}yes" >&6
9502 echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6
9508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9509 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9511 # Check whether --enable-stattext or --disable-stattext was given.
9512 if test "${enable_stattext+set}" = set; then
9513 enableval
="$enable_stattext"
9515 if test "$enableval" = yes; then
9516 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9518 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9523 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9524 if test "x$LINE" != x
; then
9525 eval "DEFAULT_$LINE"
9530 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9534 eval "$ac_cv_use_stattext"
9535 if test "$no_cache" != 1; then
9536 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9539 if test "$wxUSE_STATTEXT" = yes; then
9540 echo "$as_me:$LINENO: result: yes" >&5
9541 echo "${ECHO_T}yes" >&6
9543 echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6
9549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9552 # Check whether --enable-statusbar or --disable-statusbar was given.
9553 if test "${enable_statusbar+set}" = set; then
9554 enableval
="$enable_statusbar"
9556 if test "$enableval" = yes; then
9557 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9559 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9564 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9565 if test "x$LINE" != x
; then
9566 eval "DEFAULT_$LINE"
9571 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9575 eval "$ac_cv_use_statusbar"
9576 if test "$no_cache" != 1; then
9577 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9580 if test "$wxUSE_STATUSBAR" = yes; then
9581 echo "$as_me:$LINENO: result: yes" >&5
9582 echo "${ECHO_T}yes" >&6
9584 echo "$as_me:$LINENO: result: no" >&5
9585 echo "${ECHO_T}no" >&6
9590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9591 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9593 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9594 if test "${enable_tabdialog+set}" = set; then
9595 enableval
="$enable_tabdialog"
9597 if test "$enableval" = yes; then
9598 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9600 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9605 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9606 if test "x$LINE" != x
; then
9607 eval "DEFAULT_$LINE"
9612 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9616 eval "$ac_cv_use_tabdialog"
9617 if test "$no_cache" != 1; then
9618 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9621 if test "$wxUSE_TAB_DIALOG" = yes; then
9622 echo "$as_me:$LINENO: result: yes" >&5
9623 echo "${ECHO_T}yes" >&6
9625 echo "$as_me:$LINENO: result: no" >&5
9626 echo "${ECHO_T}no" >&6
9631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9634 # Check whether --enable-textctrl or --disable-textctrl was given.
9635 if test "${enable_textctrl+set}" = set; then
9636 enableval
="$enable_textctrl"
9638 if test "$enableval" = yes; then
9639 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9641 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9646 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9647 if test "x$LINE" != x
; then
9648 eval "DEFAULT_$LINE"
9653 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9657 eval "$ac_cv_use_textctrl"
9658 if test "$no_cache" != 1; then
9659 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9662 if test "$wxUSE_TEXTCTRL" = yes; then
9663 echo "$as_me:$LINENO: result: yes" >&5
9664 echo "${ECHO_T}yes" >&6
9666 echo "$as_me:$LINENO: result: no" >&5
9667 echo "${ECHO_T}no" >&6
9672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9675 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9676 if test "${enable_togglebtn+set}" = set; then
9677 enableval
="$enable_togglebtn"
9679 if test "$enableval" = yes; then
9680 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9682 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9687 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9688 if test "x$LINE" != x
; then
9689 eval "DEFAULT_$LINE"
9694 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9698 eval "$ac_cv_use_togglebtn"
9699 if test "$no_cache" != 1; then
9700 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9703 if test "$wxUSE_TOGGLEBTN" = yes; then
9704 echo "$as_me:$LINENO: result: yes" >&5
9705 echo "${ECHO_T}yes" >&6
9707 echo "$as_me:$LINENO: result: no" >&5
9708 echo "${ECHO_T}no" >&6
9713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9716 # Check whether --enable-toolbar or --disable-toolbar was given.
9717 if test "${enable_toolbar+set}" = set; then
9718 enableval
="$enable_toolbar"
9720 if test "$enableval" = yes; then
9721 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9723 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9728 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9729 if test "x$LINE" != x
; then
9730 eval "DEFAULT_$LINE"
9735 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9739 eval "$ac_cv_use_toolbar"
9740 if test "$no_cache" != 1; then
9741 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9744 if test "$wxUSE_TOOLBAR" = yes; then
9745 echo "$as_me:$LINENO: result: yes" >&5
9746 echo "${ECHO_T}yes" >&6
9748 echo "$as_me:$LINENO: result: no" >&5
9749 echo "${ECHO_T}no" >&6
9754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9757 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9758 if test "${enable_tbarnative+set}" = set; then
9759 enableval
="$enable_tbarnative"
9761 if test "$enableval" = yes; then
9762 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9764 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9769 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9770 if test "x$LINE" != x
; then
9771 eval "DEFAULT_$LINE"
9776 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9780 eval "$ac_cv_use_tbarnative"
9781 if test "$no_cache" != 1; then
9782 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9785 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9786 echo "$as_me:$LINENO: result: yes" >&5
9787 echo "${ECHO_T}yes" >&6
9789 echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6
9795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9798 # Check whether --enable-treebook or --disable-treebook was given.
9799 if test "${enable_treebook+set}" = set; then
9800 enableval
="$enable_treebook"
9802 if test "$enableval" = yes; then
9803 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9805 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9810 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9811 if test "x$LINE" != x
; then
9812 eval "DEFAULT_$LINE"
9817 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9821 eval "$ac_cv_use_treebook"
9822 if test "$no_cache" != 1; then
9823 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9826 if test "$wxUSE_TREEBOOK" = yes; then
9827 echo "$as_me:$LINENO: result: yes" >&5
9828 echo "${ECHO_T}yes" >&6
9830 echo "$as_me:$LINENO: result: no" >&5
9831 echo "${ECHO_T}no" >&6
9836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9837 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9839 # Check whether --enable-toolbook or --disable-toolbook was given.
9840 if test "${enable_toolbook+set}" = set; then
9841 enableval
="$enable_toolbook"
9843 if test "$enableval" = yes; then
9844 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9846 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9851 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9852 if test "x$LINE" != x
; then
9853 eval "DEFAULT_$LINE"
9858 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9862 eval "$ac_cv_use_toolbook"
9863 if test "$no_cache" != 1; then
9864 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9867 if test "$wxUSE_TOOLBOOK" = yes; then
9868 echo "$as_me:$LINENO: result: yes" >&5
9869 echo "${ECHO_T}yes" >&6
9871 echo "$as_me:$LINENO: result: no" >&5
9872 echo "${ECHO_T}no" >&6
9877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9878 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9880 # Check whether --enable-treectrl or --disable-treectrl was given.
9881 if test "${enable_treectrl+set}" = set; then
9882 enableval
="$enable_treectrl"
9884 if test "$enableval" = yes; then
9885 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9887 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9892 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9893 if test "x$LINE" != x
; then
9894 eval "DEFAULT_$LINE"
9899 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9903 eval "$ac_cv_use_treectrl"
9904 if test "$no_cache" != 1; then
9905 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9908 if test "$wxUSE_TREECTRL" = yes; then
9909 echo "$as_me:$LINENO: result: yes" >&5
9910 echo "${ECHO_T}yes" >&6
9912 echo "$as_me:$LINENO: result: no" >&5
9913 echo "${ECHO_T}no" >&6
9918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9921 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9922 if test "${enable_tipwindow+set}" = set; then
9923 enableval
="$enable_tipwindow"
9925 if test "$enableval" = yes; then
9926 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9928 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9933 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9934 if test "x$LINE" != x
; then
9935 eval "DEFAULT_$LINE"
9940 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9944 eval "$ac_cv_use_tipwindow"
9945 if test "$no_cache" != 1; then
9946 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9949 if test "$wxUSE_TIPWINDOW" = yes; then
9950 echo "$as_me:$LINENO: result: yes" >&5
9951 echo "${ECHO_T}yes" >&6
9953 echo "$as_me:$LINENO: result: no" >&5
9954 echo "${ECHO_T}no" >&6
9959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9960 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9962 # Check whether --enable-popupwin or --disable-popupwin was given.
9963 if test "${enable_popupwin+set}" = set; then
9964 enableval
="$enable_popupwin"
9966 if test "$enableval" = yes; then
9967 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9969 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9974 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9975 if test "x$LINE" != x
; then
9976 eval "DEFAULT_$LINE"
9981 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9985 eval "$ac_cv_use_popupwin"
9986 if test "$no_cache" != 1; then
9987 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9990 if test "$wxUSE_POPUPWIN" = yes; then
9991 echo "$as_me:$LINENO: result: yes" >&5
9992 echo "${ECHO_T}yes" >&6
9994 echo "$as_me:$LINENO: result: no" >&5
9995 echo "${ECHO_T}no" >&6
10002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10003 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10005 # Check whether --enable-commondlg or --disable-commondlg was given.
10006 if test "${enable_commondlg+set}" = set; then
10007 enableval
="$enable_commondlg"
10009 if test "$enableval" = yes; then
10010 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10012 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10017 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10018 if test "x$LINE" != x
; then
10019 eval "DEFAULT_$LINE"
10024 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10028 eval "$ac_cv_use_commondlg"
10029 if test "$no_cache" != 1; then
10030 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10033 if test "$wxUSE_COMMONDLGS" = yes; then
10034 echo "$as_me:$LINENO: result: yes" >&5
10035 echo "${ECHO_T}yes" >&6
10037 echo "$as_me:$LINENO: result: no" >&5
10038 echo "${ECHO_T}no" >&6
10043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10044 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10046 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10047 if test "${enable_choicedlg+set}" = set; then
10048 enableval
="$enable_choicedlg"
10050 if test "$enableval" = yes; then
10051 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10053 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10058 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10059 if test "x$LINE" != x
; then
10060 eval "DEFAULT_$LINE"
10065 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10069 eval "$ac_cv_use_choicedlg"
10070 if test "$no_cache" != 1; then
10071 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10074 if test "$wxUSE_CHOICEDLG" = yes; then
10075 echo "$as_me:$LINENO: result: yes" >&5
10076 echo "${ECHO_T}yes" >&6
10078 echo "$as_me:$LINENO: result: no" >&5
10079 echo "${ECHO_T}no" >&6
10084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10085 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10087 # Check whether --enable-coldlg or --disable-coldlg was given.
10088 if test "${enable_coldlg+set}" = set; then
10089 enableval
="$enable_coldlg"
10091 if test "$enableval" = yes; then
10092 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10094 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10099 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10100 if test "x$LINE" != x
; then
10101 eval "DEFAULT_$LINE"
10106 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10110 eval "$ac_cv_use_coldlg"
10111 if test "$no_cache" != 1; then
10112 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10115 if test "$wxUSE_COLOURDLG" = yes; then
10116 echo "$as_me:$LINENO: result: yes" >&5
10117 echo "${ECHO_T}yes" >&6
10119 echo "$as_me:$LINENO: result: no" >&5
10120 echo "${ECHO_T}no" >&6
10125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10126 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10128 # Check whether --enable-filedlg or --disable-filedlg was given.
10129 if test "${enable_filedlg+set}" = set; then
10130 enableval
="$enable_filedlg"
10132 if test "$enableval" = yes; then
10133 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10135 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10140 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10141 if test "x$LINE" != x
; then
10142 eval "DEFAULT_$LINE"
10147 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10151 eval "$ac_cv_use_filedlg"
10152 if test "$no_cache" != 1; then
10153 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10156 if test "$wxUSE_FILEDLG" = yes; then
10157 echo "$as_me:$LINENO: result: yes" >&5
10158 echo "${ECHO_T}yes" >&6
10160 echo "$as_me:$LINENO: result: no" >&5
10161 echo "${ECHO_T}no" >&6
10166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10167 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10169 # Check whether --enable-finddlg or --disable-finddlg was given.
10170 if test "${enable_finddlg+set}" = set; then
10171 enableval
="$enable_finddlg"
10173 if test "$enableval" = yes; then
10174 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10176 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10181 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10182 if test "x$LINE" != x
; then
10183 eval "DEFAULT_$LINE"
10188 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10192 eval "$ac_cv_use_finddlg"
10193 if test "$no_cache" != 1; then
10194 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10197 if test "$wxUSE_FINDREPLDLG" = yes; then
10198 echo "$as_me:$LINENO: result: yes" >&5
10199 echo "${ECHO_T}yes" >&6
10201 echo "$as_me:$LINENO: result: no" >&5
10202 echo "${ECHO_T}no" >&6
10207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10208 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10210 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10211 if test "${enable_fontdlg+set}" = set; then
10212 enableval
="$enable_fontdlg"
10214 if test "$enableval" = yes; then
10215 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10217 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10222 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10223 if test "x$LINE" != x
; then
10224 eval "DEFAULT_$LINE"
10229 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10233 eval "$ac_cv_use_fontdlg"
10234 if test "$no_cache" != 1; then
10235 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10238 if test "$wxUSE_FONTDLG" = yes; then
10239 echo "$as_me:$LINENO: result: yes" >&5
10240 echo "${ECHO_T}yes" >&6
10242 echo "$as_me:$LINENO: result: no" >&5
10243 echo "${ECHO_T}no" >&6
10248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10249 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10251 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10252 if test "${enable_dirdlg+set}" = set; then
10253 enableval
="$enable_dirdlg"
10255 if test "$enableval" = yes; then
10256 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10258 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10263 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10264 if test "x$LINE" != x
; then
10265 eval "DEFAULT_$LINE"
10270 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10274 eval "$ac_cv_use_dirdlg"
10275 if test "$no_cache" != 1; then
10276 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10279 if test "$wxUSE_DIRDLG" = yes; then
10280 echo "$as_me:$LINENO: result: yes" >&5
10281 echo "${ECHO_T}yes" >&6
10283 echo "$as_me:$LINENO: result: no" >&5
10284 echo "${ECHO_T}no" >&6
10289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10292 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10293 if test "${enable_msgdlg+set}" = set; then
10294 enableval
="$enable_msgdlg"
10296 if test "$enableval" = yes; then
10297 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10299 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10304 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10305 if test "x$LINE" != x
; then
10306 eval "DEFAULT_$LINE"
10311 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10315 eval "$ac_cv_use_msgdlg"
10316 if test "$no_cache" != 1; then
10317 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10320 if test "$wxUSE_MSGDLG" = yes; then
10321 echo "$as_me:$LINENO: result: yes" >&5
10322 echo "${ECHO_T}yes" >&6
10324 echo "$as_me:$LINENO: result: no" >&5
10325 echo "${ECHO_T}no" >&6
10330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10331 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10333 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10334 if test "${enable_numberdlg+set}" = set; then
10335 enableval
="$enable_numberdlg"
10337 if test "$enableval" = yes; then
10338 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10340 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10345 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10346 if test "x$LINE" != x
; then
10347 eval "DEFAULT_$LINE"
10352 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10356 eval "$ac_cv_use_numberdlg"
10357 if test "$no_cache" != 1; then
10358 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10361 if test "$wxUSE_NUMBERDLG" = yes; then
10362 echo "$as_me:$LINENO: result: yes" >&5
10363 echo "${ECHO_T}yes" >&6
10365 echo "$as_me:$LINENO: result: no" >&5
10366 echo "${ECHO_T}no" >&6
10371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10374 # Check whether --enable-splash or --disable-splash was given.
10375 if test "${enable_splash+set}" = set; then
10376 enableval
="$enable_splash"
10378 if test "$enableval" = yes; then
10379 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10381 ac_cv_use_splash
='wxUSE_SPLASH=no'
10386 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10387 if test "x$LINE" != x
; then
10388 eval "DEFAULT_$LINE"
10393 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10397 eval "$ac_cv_use_splash"
10398 if test "$no_cache" != 1; then
10399 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10402 if test "$wxUSE_SPLASH" = yes; then
10403 echo "$as_me:$LINENO: result: yes" >&5
10404 echo "${ECHO_T}yes" >&6
10406 echo "$as_me:$LINENO: result: no" >&5
10407 echo "${ECHO_T}no" >&6
10412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10413 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10415 # Check whether --enable-textdlg or --disable-textdlg was given.
10416 if test "${enable_textdlg+set}" = set; then
10417 enableval
="$enable_textdlg"
10419 if test "$enableval" = yes; then
10420 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10422 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10427 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10428 if test "x$LINE" != x
; then
10429 eval "DEFAULT_$LINE"
10434 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10438 eval "$ac_cv_use_textdlg"
10439 if test "$no_cache" != 1; then
10440 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10443 if test "$wxUSE_TEXTDLG" = yes; then
10444 echo "$as_me:$LINENO: result: yes" >&5
10445 echo "${ECHO_T}yes" >&6
10447 echo "$as_me:$LINENO: result: no" >&5
10448 echo "${ECHO_T}no" >&6
10453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10454 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10456 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10457 if test "${enable_tipdlg+set}" = set; then
10458 enableval
="$enable_tipdlg"
10460 if test "$enableval" = yes; then
10461 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10463 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10468 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10469 if test "x$LINE" != x
; then
10470 eval "DEFAULT_$LINE"
10475 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10479 eval "$ac_cv_use_tipdlg"
10480 if test "$no_cache" != 1; then
10481 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10484 if test "$wxUSE_STARTUP_TIPS" = yes; then
10485 echo "$as_me:$LINENO: result: yes" >&5
10486 echo "${ECHO_T}yes" >&6
10488 echo "$as_me:$LINENO: result: no" >&5
10489 echo "${ECHO_T}no" >&6
10494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10495 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10497 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10498 if test "${enable_progressdlg+set}" = set; then
10499 enableval
="$enable_progressdlg"
10501 if test "$enableval" = yes; then
10502 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10504 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10509 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10510 if test "x$LINE" != x
; then
10511 eval "DEFAULT_$LINE"
10516 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10520 eval "$ac_cv_use_progressdlg"
10521 if test "$no_cache" != 1; then
10522 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10525 if test "$wxUSE_PROGRESSDLG" = yes; then
10526 echo "$as_me:$LINENO: result: yes" >&5
10527 echo "${ECHO_T}yes" >&6
10529 echo "$as_me:$LINENO: result: no" >&5
10530 echo "${ECHO_T}no" >&6
10535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10536 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10538 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10539 if test "${enable_wizarddlg+set}" = set; then
10540 enableval
="$enable_wizarddlg"
10542 if test "$enableval" = yes; then
10543 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10545 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10550 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10551 if test "x$LINE" != x
; then
10552 eval "DEFAULT_$LINE"
10557 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10561 eval "$ac_cv_use_wizarddlg"
10562 if test "$no_cache" != 1; then
10563 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10566 if test "$wxUSE_WIZARDDLG" = yes; then
10567 echo "$as_me:$LINENO: result: yes" >&5
10568 echo "${ECHO_T}yes" >&6
10570 echo "$as_me:$LINENO: result: no" >&5
10571 echo "${ECHO_T}no" >&6
10578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10579 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10581 # Check whether --enable-menus or --disable-menus was given.
10582 if test "${enable_menus+set}" = set; then
10583 enableval
="$enable_menus"
10585 if test "$enableval" = yes; then
10586 ac_cv_use_menus
='wxUSE_MENUS=yes'
10588 ac_cv_use_menus
='wxUSE_MENUS=no'
10593 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10594 if test "x$LINE" != x
; then
10595 eval "DEFAULT_$LINE"
10600 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10604 eval "$ac_cv_use_menus"
10605 if test "$no_cache" != 1; then
10606 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10609 if test "$wxUSE_MENUS" = yes; then
10610 echo "$as_me:$LINENO: result: yes" >&5
10611 echo "${ECHO_T}yes" >&6
10613 echo "$as_me:$LINENO: result: no" >&5
10614 echo "${ECHO_T}no" >&6
10619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10620 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10622 # Check whether --enable-miniframe or --disable-miniframe was given.
10623 if test "${enable_miniframe+set}" = set; then
10624 enableval
="$enable_miniframe"
10626 if test "$enableval" = yes; then
10627 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10629 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10634 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10635 if test "x$LINE" != x
; then
10636 eval "DEFAULT_$LINE"
10641 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10645 eval "$ac_cv_use_miniframe"
10646 if test "$no_cache" != 1; then
10647 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10650 if test "$wxUSE_MINIFRAME" = yes; then
10651 echo "$as_me:$LINENO: result: yes" >&5
10652 echo "${ECHO_T}yes" >&6
10654 echo "$as_me:$LINENO: result: no" >&5
10655 echo "${ECHO_T}no" >&6
10660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10663 # Check whether --enable-tooltips or --disable-tooltips was given.
10664 if test "${enable_tooltips+set}" = set; then
10665 enableval
="$enable_tooltips"
10667 if test "$enableval" = yes; then
10668 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10670 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10675 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10676 if test "x$LINE" != x
; then
10677 eval "DEFAULT_$LINE"
10682 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10686 eval "$ac_cv_use_tooltips"
10687 if test "$no_cache" != 1; then
10688 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10691 if test "$wxUSE_TOOLTIPS" = yes; then
10692 echo "$as_me:$LINENO: result: yes" >&5
10693 echo "${ECHO_T}yes" >&6
10695 echo "$as_me:$LINENO: result: no" >&5
10696 echo "${ECHO_T}no" >&6
10701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10702 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10704 # Check whether --enable-splines or --disable-splines was given.
10705 if test "${enable_splines+set}" = set; then
10706 enableval
="$enable_splines"
10708 if test "$enableval" = yes; then
10709 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10711 ac_cv_use_splines
='wxUSE_SPLINES=no'
10716 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10717 if test "x$LINE" != x
; then
10718 eval "DEFAULT_$LINE"
10723 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10727 eval "$ac_cv_use_splines"
10728 if test "$no_cache" != 1; then
10729 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10732 if test "$wxUSE_SPLINES" = yes; then
10733 echo "$as_me:$LINENO: result: yes" >&5
10734 echo "${ECHO_T}yes" >&6
10736 echo "$as_me:$LINENO: result: no" >&5
10737 echo "${ECHO_T}no" >&6
10742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10745 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10746 if test "${enable_mousewheel+set}" = set; then
10747 enableval
="$enable_mousewheel"
10749 if test "$enableval" = yes; then
10750 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10752 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10757 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10758 if test "x$LINE" != x
; then
10759 eval "DEFAULT_$LINE"
10764 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10768 eval "$ac_cv_use_mousewheel"
10769 if test "$no_cache" != 1; then
10770 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10773 if test "$wxUSE_MOUSEWHEEL" = yes; then
10774 echo "$as_me:$LINENO: result: yes" >&5
10775 echo "${ECHO_T}yes" >&6
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10784 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10786 # Check whether --enable-validators or --disable-validators was given.
10787 if test "${enable_validators+set}" = set; then
10788 enableval
="$enable_validators"
10790 if test "$enableval" = yes; then
10791 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10793 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10798 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10799 if test "x$LINE" != x
; then
10800 eval "DEFAULT_$LINE"
10805 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10809 eval "$ac_cv_use_validators"
10810 if test "$no_cache" != 1; then
10811 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10814 if test "$wxUSE_VALIDATORS" = yes; then
10815 echo "$as_me:$LINENO: result: yes" >&5
10816 echo "${ECHO_T}yes" >&6
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10825 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10827 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10828 if test "${enable_busyinfo+set}" = set; then
10829 enableval
="$enable_busyinfo"
10831 if test "$enableval" = yes; then
10832 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10834 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10839 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10840 if test "x$LINE" != x
; then
10841 eval "DEFAULT_$LINE"
10846 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10850 eval "$ac_cv_use_busyinfo"
10851 if test "$no_cache" != 1; then
10852 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10855 if test "$wxUSE_BUSYINFO" = yes; then
10856 echo "$as_me:$LINENO: result: yes" >&5
10857 echo "${ECHO_T}yes" >&6
10859 echo "$as_me:$LINENO: result: no" >&5
10860 echo "${ECHO_T}no" >&6
10865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10866 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10868 # Check whether --enable-joystick or --disable-joystick was given.
10869 if test "${enable_joystick+set}" = set; then
10870 enableval
="$enable_joystick"
10872 if test "$enableval" = yes; then
10873 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10875 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10880 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10881 if test "x$LINE" != x
; then
10882 eval "DEFAULT_$LINE"
10887 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10891 eval "$ac_cv_use_joystick"
10892 if test "$no_cache" != 1; then
10893 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10896 if test "$wxUSE_JOYSTICK" = yes; then
10897 echo "$as_me:$LINENO: result: yes" >&5
10898 echo "${ECHO_T}yes" >&6
10900 echo "$as_me:$LINENO: result: no" >&5
10901 echo "${ECHO_T}no" >&6
10906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10909 # Check whether --enable-metafile or --disable-metafile was given.
10910 if test "${enable_metafile+set}" = set; then
10911 enableval
="$enable_metafile"
10913 if test "$enableval" = yes; then
10914 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10916 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10921 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10922 if test "x$LINE" != x
; then
10923 eval "DEFAULT_$LINE"
10928 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10932 eval "$ac_cv_use_metafile"
10933 if test "$no_cache" != 1; then
10934 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10937 if test "$wxUSE_METAFILE" = yes; then
10938 echo "$as_me:$LINENO: result: yes" >&5
10939 echo "${ECHO_T}yes" >&6
10941 echo "$as_me:$LINENO: result: no" >&5
10942 echo "${ECHO_T}no" >&6
10947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10950 # Check whether --enable-dragimage or --disable-dragimage was given.
10951 if test "${enable_dragimage+set}" = set; then
10952 enableval
="$enable_dragimage"
10954 if test "$enableval" = yes; then
10955 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10957 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10962 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10963 if test "x$LINE" != x
; then
10964 eval "DEFAULT_$LINE"
10969 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10973 eval "$ac_cv_use_dragimage"
10974 if test "$no_cache" != 1; then
10975 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10978 if test "$wxUSE_DRAGIMAGE" = yes; then
10979 echo "$as_me:$LINENO: result: yes" >&5
10980 echo "${ECHO_T}yes" >&6
10982 echo "$as_me:$LINENO: result: no" >&5
10983 echo "${ECHO_T}no" >&6
10988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10989 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10991 # Check whether --enable-accessibility or --disable-accessibility was given.
10992 if test "${enable_accessibility+set}" = set; then
10993 enableval
="$enable_accessibility"
10995 if test "$enableval" = yes; then
10996 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10998 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11003 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11004 if test "x$LINE" != x
; then
11005 eval "DEFAULT_$LINE"
11010 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11014 eval "$ac_cv_use_accessibility"
11015 if test "$no_cache" != 1; then
11016 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11019 if test "$wxUSE_ACCESSIBILITY" = yes; then
11020 echo "$as_me:$LINENO: result: yes" >&5
11021 echo "${ECHO_T}yes" >&6
11023 echo "$as_me:$LINENO: result: no" >&5
11024 echo "${ECHO_T}no" >&6
11028 if test "$wxUSE_MSW" = "1"; then
11031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11034 # Check whether --enable-dccache or --disable-dccache was given.
11035 if test "${enable_dccache+set}" = set; then
11036 enableval
="$enable_dccache"
11038 if test "$enableval" = yes; then
11039 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11041 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11046 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11047 if test "x$LINE" != x
; then
11048 eval "DEFAULT_$LINE"
11053 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11057 eval "$ac_cv_use_dccache"
11058 if test "$no_cache" != 1; then
11059 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11062 if test "$wxUSE_DC_CACHEING" = yes; then
11063 echo "$as_me:$LINENO: result: yes" >&5
11064 echo "${ECHO_T}yes" >&6
11066 echo "$as_me:$LINENO: result: no" >&5
11067 echo "${ECHO_T}no" >&6
11075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11078 # Check whether --enable-palette or --disable-palette was given.
11079 if test "${enable_palette+set}" = set; then
11080 enableval
="$enable_palette"
11082 if test "$enableval" = yes; then
11083 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11085 ac_cv_use_palette
='wxUSE_PALETTE=no'
11090 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x
; then
11092 eval "DEFAULT_$LINE"
11097 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11101 eval "$ac_cv_use_palette"
11102 if test "$no_cache" != 1; then
11103 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11106 if test "$wxUSE_PALETTE" = yes; then
11107 echo "$as_me:$LINENO: result: yes" >&5
11108 echo "${ECHO_T}yes" >&6
11110 echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6
11116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11119 # Check whether --enable-image or --disable-image was given.
11120 if test "${enable_image+set}" = set; then
11121 enableval
="$enable_image"
11123 if test "$enableval" = yes; then
11124 ac_cv_use_image
='wxUSE_IMAGE=yes'
11126 ac_cv_use_image
='wxUSE_IMAGE=no'
11131 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11132 if test "x$LINE" != x
; then
11133 eval "DEFAULT_$LINE"
11138 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11142 eval "$ac_cv_use_image"
11143 if test "$no_cache" != 1; then
11144 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11147 if test "$wxUSE_IMAGE" = yes; then
11148 echo "$as_me:$LINENO: result: yes" >&5
11149 echo "${ECHO_T}yes" >&6
11151 echo "$as_me:$LINENO: result: no" >&5
11152 echo "${ECHO_T}no" >&6
11157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11158 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11160 # Check whether --enable-gif or --disable-gif was given.
11161 if test "${enable_gif+set}" = set; then
11162 enableval
="$enable_gif"
11164 if test "$enableval" = yes; then
11165 ac_cv_use_gif
='wxUSE_GIF=yes'
11167 ac_cv_use_gif
='wxUSE_GIF=no'
11172 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11173 if test "x$LINE" != x
; then
11174 eval "DEFAULT_$LINE"
11179 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11183 eval "$ac_cv_use_gif"
11184 if test "$no_cache" != 1; then
11185 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11188 if test "$wxUSE_GIF" = yes; then
11189 echo "$as_me:$LINENO: result: yes" >&5
11190 echo "${ECHO_T}yes" >&6
11192 echo "$as_me:$LINENO: result: no" >&5
11193 echo "${ECHO_T}no" >&6
11198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11199 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11201 # Check whether --enable-pcx or --disable-pcx was given.
11202 if test "${enable_pcx+set}" = set; then
11203 enableval
="$enable_pcx"
11205 if test "$enableval" = yes; then
11206 ac_cv_use_pcx
='wxUSE_PCX=yes'
11208 ac_cv_use_pcx
='wxUSE_PCX=no'
11213 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11214 if test "x$LINE" != x
; then
11215 eval "DEFAULT_$LINE"
11220 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11224 eval "$ac_cv_use_pcx"
11225 if test "$no_cache" != 1; then
11226 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11229 if test "$wxUSE_PCX" = yes; then
11230 echo "$as_me:$LINENO: result: yes" >&5
11231 echo "${ECHO_T}yes" >&6
11233 echo "$as_me:$LINENO: result: no" >&5
11234 echo "${ECHO_T}no" >&6
11239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11240 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11242 # Check whether --enable-iff or --disable-iff was given.
11243 if test "${enable_iff+set}" = set; then
11244 enableval
="$enable_iff"
11246 if test "$enableval" = yes; then
11247 ac_cv_use_iff
='wxUSE_IFF=yes'
11249 ac_cv_use_iff
='wxUSE_IFF=no'
11254 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11255 if test "x$LINE" != x
; then
11256 eval "DEFAULT_$LINE"
11261 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11265 eval "$ac_cv_use_iff"
11266 if test "$no_cache" != 1; then
11267 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11270 if test "$wxUSE_IFF" = yes; then
11271 echo "$as_me:$LINENO: result: yes" >&5
11272 echo "${ECHO_T}yes" >&6
11274 echo "$as_me:$LINENO: result: no" >&5
11275 echo "${ECHO_T}no" >&6
11280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11281 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11283 # Check whether --enable-pnm or --disable-pnm was given.
11284 if test "${enable_pnm+set}" = set; then
11285 enableval
="$enable_pnm"
11287 if test "$enableval" = yes; then
11288 ac_cv_use_pnm
='wxUSE_PNM=yes'
11290 ac_cv_use_pnm
='wxUSE_PNM=no'
11295 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11296 if test "x$LINE" != x
; then
11297 eval "DEFAULT_$LINE"
11302 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11306 eval "$ac_cv_use_pnm"
11307 if test "$no_cache" != 1; then
11308 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11311 if test "$wxUSE_PNM" = yes; then
11312 echo "$as_me:$LINENO: result: yes" >&5
11313 echo "${ECHO_T}yes" >&6
11315 echo "$as_me:$LINENO: result: no" >&5
11316 echo "${ECHO_T}no" >&6
11321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11322 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11324 # Check whether --enable-xpm or --disable-xpm was given.
11325 if test "${enable_xpm+set}" = set; then
11326 enableval
="$enable_xpm"
11328 if test "$enableval" = yes; then
11329 ac_cv_use_xpm
='wxUSE_XPM=yes'
11331 ac_cv_use_xpm
='wxUSE_XPM=no'
11336 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11337 if test "x$LINE" != x
; then
11338 eval "DEFAULT_$LINE"
11343 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11347 eval "$ac_cv_use_xpm"
11348 if test "$no_cache" != 1; then
11349 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11352 if test "$wxUSE_XPM" = yes; then
11353 echo "$as_me:$LINENO: result: yes" >&5
11354 echo "${ECHO_T}yes" >&6
11356 echo "$as_me:$LINENO: result: no" >&5
11357 echo "${ECHO_T}no" >&6
11362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11363 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11365 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11366 if test "${enable_ico_cur+set}" = set; then
11367 enableval
="$enable_ico_cur"
11369 if test "$enableval" = yes; then
11370 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11372 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11377 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11378 if test "x$LINE" != x
; then
11379 eval "DEFAULT_$LINE"
11384 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11388 eval "$ac_cv_use_ico_cur"
11389 if test "$no_cache" != 1; then
11390 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11393 if test "$wxUSE_ICO_CUR" = yes; then
11394 echo "$as_me:$LINENO: result: yes" >&5
11395 echo "${ECHO_T}yes" >&6
11397 echo "$as_me:$LINENO: result: no" >&5
11398 echo "${ECHO_T}no" >&6
11406 # Check whether --with-flavour or --without-flavour was given.
11407 if test "${with_flavour+set}" = set; then
11408 withval
="$with_flavour"
11409 WX_FLAVOUR
="$withval"
11415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11416 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11418 # Check whether --enable-official_build or --disable-official_build was given.
11419 if test "${enable_official_build+set}" = set; then
11420 enableval
="$enable_official_build"
11422 if test "$enableval" = yes; then
11423 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11425 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11430 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11431 if test "x$LINE" != x
; then
11432 eval "DEFAULT_$LINE"
11437 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11441 eval "$ac_cv_use_official_build"
11442 if test "$no_cache" != 1; then
11443 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11446 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11447 echo "$as_me:$LINENO: result: yes" >&5
11448 echo "${ECHO_T}yes" >&6
11450 echo "$as_me:$LINENO: result: no" >&5
11451 echo "${ECHO_T}no" >&6
11454 # Check whether --enable-vendor or --disable-vendor was given.
11455 if test "${enable_vendor+set}" = set; then
11456 enableval
="$enable_vendor"
11457 VENDOR
="$enableval"
11459 if test "x$VENDOR" = "x"; then
11466 echo "saving argument cache $wx_arg_cache_file"
11467 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11471 echo "$as_me:$LINENO: checking for toolkit" >&5
11472 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11474 # In Wine, we need to default to MSW, not GTK or MOTIF
11475 if test "$wxUSE_WINE" = "yes"; then
11476 DEFAULT_DEFAULT_wxUSE_GTK
=0
11477 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11478 DEFAULT_DEFAULT_wxUSE_MSW
=1
11483 if test "$wxUSE_GUI" = "yes"; then
11485 if test "$USE_BEOS" = 1; then
11486 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11487 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11488 { (exit 1); exit 1; }; }
11491 if test "$TOOLKIT_GIVEN" = 1; then
11492 for toolkit
in `echo $ALL_TOOLKITS`; do
11494 eval "value=\$${var}"
11495 if test "x$value" = "xno"; then
11497 elif test "x$value" != "x"; then
11501 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11502 eval "wx${toolkit}_VERSION=$value"
11506 for toolkit
in `echo $ALL_TOOLKITS`; do
11507 if test "$has_toolkit_in_cache" != 1; then
11508 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11510 var
=DEFAULT_wxUSE_
$toolkit
11512 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11513 if test "x$version" != "x"; then
11514 eval "wx${toolkit}_VERSION=$version"
11517 eval "wxUSE_$toolkit=\$${var}"
11521 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11522 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11523 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11526 *-pc-os2_emx | *-pc-os2-emx )
11527 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11530 case "$NUM_TOOLKITS" in
11534 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11535 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11536 { (exit 1); exit 1; }; }
11539 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11540 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11541 { (exit 1); exit 1; }; }
11544 # to be removed when --disable-gtk2 isn't needed
11545 if test "x$wxUSE_GTK2" = "xyes"; then
11547 elif test "x$wxUSE_GTK2" = "xno"; then
11551 for toolkit
in `echo $ALL_TOOLKITS`; do
11553 eval "value=\$${var}"
11554 if test "x$value" != x
; then
11555 cache_var
=CACHE_
$toolkit
11556 eval "cache=\$${cache_var}"
11557 if test "$cache" = 1; then
11558 echo "$var=$value" >> ${wx_arg_cache_file}
11559 eval "version=\$wx${toolkit}_VERSION"
11560 if test "x$version" != "x"; then
11561 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11564 if test "$value" = 1; then
11565 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11566 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11567 echo "${ECHO_T}$toolkit_echo" >&6
11572 if test "x$host_alias" != "x"; then
11573 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11574 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11576 echo "$as_me:$LINENO: result: base only" >&5
11577 echo "${ECHO_T}base only" >&6
11582 doesnt_want_win32
=0
11585 if test "$wxUSE_MSW" = 1 ; then
11587 BAKEFILE_FORCE_PLATFORM
=win32
11589 doesnt_want_win32
=1
11597 if test "$wxUSE_WINE" = "yes"; then
11601 LDFLAGS_GUI
="-mwindows"
11604 if test "$wants_win32" = 1 ; then
11607 cat >>confdefs.h
<<\_ACEOF
11608 #define __WIN32__ 1
11611 cat >>confdefs.h
<<\_ACEOF
11612 #define __WIN95__ 1
11615 cat >>confdefs.h
<<\_ACEOF
11616 #define __WINDOWS__ 1
11619 cat >>confdefs.h
<<\_ACEOF
11620 #define __GNUWIN32__ 1
11623 cat >>confdefs.h
<<\_ACEOF
11627 cat >>confdefs.h
<<\_ACEOF
11628 #define WINVER 0x0400
11632 if test "$doesnt_want_win32" = 1 ; then
11637 if test "$USE_UNIX" = 1 ; then
11639 cat >>confdefs.h
<<\_ACEOF
11646 cat >confcache
<<\_ACEOF
11647 # This file is a shell script that caches the results of configure
11648 # tests run on this system so they can be shared between configure
11649 # scripts and configure runs, see configure's option --config-cache.
11650 # It is not useful on other systems. If it contains results you don't
11651 # want to keep, you may remove or edit it.
11653 # config.status only pays attention to the cache file if you give it
11654 # the --recheck option to rerun configure.
11656 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11657 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11658 # following values.
11662 # The following way of writing the cache mishandles newlines in values,
11663 # but we know of no workaround that is simple, portable, and efficient.
11664 # So, don't put newlines in cache variables' values.
11665 # Ultrix sh set writes to stderr and can't be redirected directly,
11666 # and sets the high bit in the cache file unless we assign to the vars.
11669 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11671 # `set' does not quote correctly, so add quotes (double-quote
11672 # substitution turns \\\\ into \\, and sed turns \\ into \).
11675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11678 # `set' quotes correctly as required by POSIX, so do not add quotes.
11680 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11687 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11689 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11691 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11692 if test -w $cache_file; then
11693 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11694 cat confcache
>$cache_file
11696 echo "not updating unwritable cache $cache_file"
11706 ac_cpp
='$CPP $CPPFLAGS'
11707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11710 if test -n "$ac_tool_prefix"; then
11711 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11712 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11713 echo "$as_me:$LINENO: checking for $ac_word" >&5
11714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11715 if test "${ac_cv_prog_CC+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 if test -n "$CC"; then
11719 ac_cv_prog_CC
="$CC" # Let the user override the test.
11721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11722 for as_dir
in $PATH
11725 test -z "$as_dir" && as_dir
=.
11726 for ac_exec_ext
in '' $ac_executable_extensions; do
11727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11728 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11738 if test -n "$CC"; then
11739 echo "$as_me:$LINENO: result: $CC" >&5
11740 echo "${ECHO_T}$CC" >&6
11742 echo "$as_me:$LINENO: result: no" >&5
11743 echo "${ECHO_T}no" >&6
11747 if test -z "$ac_cv_prog_CC"; then
11749 # Extract the first word of "gcc", so it can be a program name with args.
11750 set dummy gcc
; ac_word
=$2
11751 echo "$as_me:$LINENO: checking for $ac_word" >&5
11752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 if test -n "$ac_ct_CC"; then
11757 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11760 for as_dir
in $PATH
11763 test -z "$as_dir" && as_dir
=.
11764 for ac_exec_ext
in '' $ac_executable_extensions; do
11765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11766 ac_cv_prog_ac_ct_CC
="gcc"
11767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11775 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11776 if test -n "$ac_ct_CC"; then
11777 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11778 echo "${ECHO_T}$ac_ct_CC" >&6
11780 echo "$as_me:$LINENO: result: no" >&5
11781 echo "${ECHO_T}no" >&6
11786 CC
="$ac_cv_prog_CC"
11789 if test -z "$CC"; then
11790 if test -n "$ac_tool_prefix"; then
11791 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11792 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11793 echo "$as_me:$LINENO: checking for $ac_word" >&5
11794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11795 if test "${ac_cv_prog_CC+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 if test -n "$CC"; then
11799 ac_cv_prog_CC
="$CC" # Let the user override the test.
11801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11802 for as_dir
in $PATH
11805 test -z "$as_dir" && as_dir
=.
11806 for ac_exec_ext
in '' $ac_executable_extensions; do
11807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11808 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11818 if test -n "$CC"; then
11819 echo "$as_me:$LINENO: result: $CC" >&5
11820 echo "${ECHO_T}$CC" >&6
11822 echo "$as_me:$LINENO: result: no" >&5
11823 echo "${ECHO_T}no" >&6
11827 if test -z "$ac_cv_prog_CC"; then
11829 # Extract the first word of "cc", so it can be a program name with args.
11830 set dummy cc
; ac_word
=$2
11831 echo "$as_me:$LINENO: checking for $ac_word" >&5
11832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 if test -n "$ac_ct_CC"; then
11837 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11840 for as_dir
in $PATH
11843 test -z "$as_dir" && as_dir
=.
11844 for ac_exec_ext
in '' $ac_executable_extensions; do
11845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11846 ac_cv_prog_ac_ct_CC
="cc"
11847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11855 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11856 if test -n "$ac_ct_CC"; then
11857 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11858 echo "${ECHO_T}$ac_ct_CC" >&6
11860 echo "$as_me:$LINENO: result: no" >&5
11861 echo "${ECHO_T}no" >&6
11866 CC
="$ac_cv_prog_CC"
11870 if test -z "$CC"; then
11871 # Extract the first word of "cc", so it can be a program name with args.
11872 set dummy cc
; ac_word
=$2
11873 echo "$as_me:$LINENO: checking for $ac_word" >&5
11874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11875 if test "${ac_cv_prog_CC+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 if test -n "$CC"; then
11879 ac_cv_prog_CC
="$CC" # Let the user override the test.
11881 ac_prog_rejected
=no
11882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11883 for as_dir
in $PATH
11886 test -z "$as_dir" && as_dir
=.
11887 for ac_exec_ext
in '' $ac_executable_extensions; do
11888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11889 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11890 ac_prog_rejected
=yes
11894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11900 if test $ac_prog_rejected = yes; then
11901 # We found a bogon in the path, so make sure we never use it.
11902 set dummy
$ac_cv_prog_CC
11904 if test $# != 0; then
11905 # We chose a different compiler from the bogus one.
11906 # However, it has the same basename, so the bogon will be chosen
11907 # first if we set CC to just the basename; use the full file name.
11909 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11915 if test -n "$CC"; then
11916 echo "$as_me:$LINENO: result: $CC" >&5
11917 echo "${ECHO_T}$CC" >&6
11919 echo "$as_me:$LINENO: result: no" >&5
11920 echo "${ECHO_T}no" >&6
11924 if test -z "$CC"; then
11925 if test -n "$ac_tool_prefix"; then
11928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11929 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11930 echo "$as_me:$LINENO: checking for $ac_word" >&5
11931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11932 if test "${ac_cv_prog_CC+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 if test -n "$CC"; then
11936 ac_cv_prog_CC
="$CC" # Let the user override the test.
11938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11939 for as_dir
in $PATH
11942 test -z "$as_dir" && as_dir
=.
11943 for ac_exec_ext
in '' $ac_executable_extensions; do
11944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11945 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11955 if test -n "$CC"; then
11956 echo "$as_me:$LINENO: result: $CC" >&5
11957 echo "${ECHO_T}$CC" >&6
11959 echo "$as_me:$LINENO: result: no" >&5
11960 echo "${ECHO_T}no" >&6
11963 test -n "$CC" && break
11966 if test -z "$CC"; then
11970 # Extract the first word of "$ac_prog", so it can be a program name with args.
11971 set dummy
$ac_prog; ac_word
=$2
11972 echo "$as_me:$LINENO: checking for $ac_word" >&5
11973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11974 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11975 echo $ECHO_N "(cached) $ECHO_C" >&6
11977 if test -n "$ac_ct_CC"; then
11978 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11981 for as_dir
in $PATH
11984 test -z "$as_dir" && as_dir
=.
11985 for ac_exec_ext
in '' $ac_executable_extensions; do
11986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11987 ac_cv_prog_ac_ct_CC
="$ac_prog"
11988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11996 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11997 if test -n "$ac_ct_CC"; then
11998 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11999 echo "${ECHO_T}$ac_ct_CC" >&6
12001 echo "$as_me:$LINENO: result: no" >&5
12002 echo "${ECHO_T}no" >&6
12005 test -n "$ac_ct_CC" && break
12014 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12015 See \`config.log' for more details." >&5
12016 echo "$as_me: error: no acceptable C compiler found in \$PATH
12017 See \`config.log' for more details." >&2;}
12018 { (exit 1); exit 1; }; }
12020 # Provide some information about the compiler.
12021 echo "$as_me:$LINENO:" \
12022 "checking for C compiler version" >&5
12023 ac_compiler
=`set X $ac_compile; echo $2`
12024 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12025 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }
12029 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12030 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }
12034 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12035 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); }
12040 cat >conftest.
$ac_ext <<_ACEOF
12043 cat confdefs.h
>>conftest.
$ac_ext
12044 cat >>conftest.
$ac_ext <<_ACEOF
12045 /* end confdefs.h. */
12055 ac_clean_files_save
=$ac_clean_files
12056 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12057 # Try to create an executable without -o first, disregard a.out.
12058 # It will help us diagnose broken compilers, and finding out an intuition
12060 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12061 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12062 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12063 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12064 (eval $ac_link_default) 2>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; then
12068 # Find the output, starting from the most likely. This scheme is
12069 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12072 # Be careful to initialize this variable, since it used to be cached.
12073 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12075 # b.out is created by i960 compilers.
12076 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12078 test -f "$ac_file" || continue
12080 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12083 # This is the source file.
12086 # We found the default executable, but exeext='' is most
12090 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12091 # FIXME: I believe we export ac_cv_exeext for Libtool,
12092 # but it would be cool to find out if it's true. Does anybody
12093 # maintain Libtool? --akim.
12094 export ac_cv_exeext
12101 echo "$as_me: failed program was:" >&5
12102 sed 's/^/| /' conftest.
$ac_ext >&5
12104 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12105 See \`config.log' for more details." >&5
12106 echo "$as_me: error: C compiler cannot create executables
12107 See \`config.log' for more details." >&2;}
12108 { (exit 77); exit 77; }; }
12111 ac_exeext
=$ac_cv_exeext
12112 echo "$as_me:$LINENO: result: $ac_file" >&5
12113 echo "${ECHO_T}$ac_file" >&6
12115 # Check the compiler produces executables we can run. If not, either
12116 # the compiler is broken, or we cross compile.
12117 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12118 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12119 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12120 # If not cross compiling, check that we can run a simple program.
12121 if test "$cross_compiling" != yes; then
12122 if { ac_try
='./$ac_file'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12130 if test "$cross_compiling" = maybe
; then
12131 cross_compiling
=yes
12133 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12134 If you meant to cross compile, use \`--host'.
12135 See \`config.log' for more details." >&5
12136 echo "$as_me: error: cannot run C compiled programs.
12137 If you meant to cross compile, use \`--host'.
12138 See \`config.log' for more details." >&2;}
12139 { (exit 1); exit 1; }; }
12143 echo "$as_me:$LINENO: result: yes" >&5
12144 echo "${ECHO_T}yes" >&6
12146 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12147 ac_clean_files
=$ac_clean_files_save
12148 # Check the compiler produces executables we can run. If not, either
12149 # the compiler is broken, or we cross compile.
12150 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12151 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12152 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12153 echo "${ECHO_T}$cross_compiling" >&6
12155 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12156 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12158 (eval $ac_link) 2>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); }; then
12162 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12163 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12164 # work properly (i.e., refer to `conftest.exe'), while it won't with
12166 for ac_file
in conftest.exe conftest conftest.
*; do
12167 test -f "$ac_file" || continue
12169 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12170 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12171 export ac_cv_exeext
12177 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12178 See \`config.log' for more details." >&5
12179 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12180 See \`config.log' for more details." >&2;}
12181 { (exit 1); exit 1; }; }
12184 rm -f conftest
$ac_cv_exeext
12185 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12186 echo "${ECHO_T}$ac_cv_exeext" >&6
12188 rm -f conftest.
$ac_ext
12189 EXEEXT
=$ac_cv_exeext
12191 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12192 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12193 if test "${ac_cv_objext+set}" = set; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 cat >conftest.
$ac_ext <<_ACEOF
12199 cat confdefs.h
>>conftest.
$ac_ext
12200 cat >>conftest.
$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12211 rm -f conftest.o conftest.obj
12212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12213 (eval $ac_compile) 2>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); }; then
12217 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12219 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12220 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.
$ac_ext >&5
12228 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12229 See \`config.log' for more details." >&5
12230 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12231 See \`config.log' for more details." >&2;}
12232 { (exit 1); exit 1; }; }
12235 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12237 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12238 echo "${ECHO_T}$ac_cv_objext" >&6
12239 OBJEXT
=$ac_cv_objext
12241 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12242 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12243 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12244 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 cat >conftest.
$ac_ext <<_ACEOF
12249 cat confdefs.h
>>conftest.
$ac_ext
12250 cat >>conftest.
$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12264 rm -f conftest.
$ac_objext
12265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12266 (eval $ac_compile) 2>conftest.er1
12268 grep -v '^ *+' conftest.er1
>conftest.err
12270 cat conftest.err
>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } &&
12273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; } &&
12279 { ac_try
='test -s conftest.$ac_objext'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; }; then
12285 ac_compiler_gnu
=yes
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.
$ac_ext >&5
12292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12293 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12296 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12297 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12298 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12299 ac_test_CFLAGS
=${CFLAGS+set}
12300 ac_save_CFLAGS
=$CFLAGS
12302 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12303 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12304 if test "${ac_cv_prog_cc_g+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 cat >conftest.
$ac_ext <<_ACEOF
12310 cat confdefs.h
>>conftest.
$ac_ext
12311 cat >>conftest.
$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12322 rm -f conftest.
$ac_objext
12323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12324 (eval $ac_compile) 2>conftest.er1
12326 grep -v '^ *+' conftest.er1
>conftest.err
12328 cat conftest.err
>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); } &&
12331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12333 (eval $ac_try) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; } &&
12337 { ac_try
='test -s conftest.$ac_objext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_cv_prog_cc_g
=yes
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.
$ac_ext >&5
12350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12352 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12353 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12354 if test "$ac_test_CFLAGS" = set; then
12355 CFLAGS
=$ac_save_CFLAGS
12356 elif test $ac_cv_prog_cc_g = yes; then
12357 if test "$GCC" = yes; then
12363 if test "$GCC" = yes; then
12369 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12370 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12371 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12372 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 ac_cv_prog_cc_stdc
=no
12376 cat >conftest.
$ac_ext <<_ACEOF
12379 cat confdefs.h
>>conftest.
$ac_ext
12380 cat >>conftest.
$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382 #include <stdarg.h>
12384 #include <sys/types.h>
12385 #include <sys/stat.h>
12386 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12387 struct buf { int x; };
12388 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12389 static char *e (p, i)
12395 static char *f (char * (*g) (char **, int), char **p, ...)
12400 s = g (p, va_arg (v,int));
12405 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12406 function prototypes and stuff, but not '\xHH' hex character constants.
12407 These don't provoke an error unfortunately, instead are silently treated
12408 as 'x'. The following induces an error, until -std1 is added to get
12409 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12410 array size at least. It's necessary to write '\x00'==0 to get something
12411 that's true only with -std1. */
12412 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12414 int test (int i, double x);
12415 struct s1 {int (*f) (int a);};
12416 struct s2 {int (*f) (double a);};
12417 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12423 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12428 # Don't try gcc -ansi; that turns off useful extensions and
12429 # breaks some systems' header files.
12430 # AIX -qlanglvl=ansi
12431 # Ultrix and OSF/1 -std1
12432 # HP-UX 10.20 and later -Ae
12433 # HP-UX older versions -Aa -D_HPUX_SOURCE
12434 # SVR4 -Xc -D__EXTENSIONS__
12435 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12437 CC
="$ac_save_CC $ac_arg"
12438 rm -f conftest.
$ac_objext
12439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>conftest.er1
12442 grep -v '^ *+' conftest.er1
>conftest.err
12444 cat conftest.err
>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } &&
12447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; } &&
12453 { ac_try
='test -s conftest.$ac_objext'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; }; then
12459 ac_cv_prog_cc_stdc
=$ac_arg
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.
$ac_ext >&5
12466 rm -f conftest.err conftest.
$ac_objext
12468 rm -f conftest.
$ac_ext conftest.
$ac_objext
12473 case "x$ac_cv_prog_cc_stdc" in
12475 echo "$as_me:$LINENO: result: none needed" >&5
12476 echo "${ECHO_T}none needed" >&6 ;;
12478 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12479 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12480 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12483 # Some people use a C++ compiler to compile C. Since we use `exit',
12484 # in C++ we need to declare it. In case someone uses the same compiler
12485 # for both compiling C and C++ we need to have the C++ compiler decide
12486 # the declaration of exit, since it's the most demanding environment.
12487 cat >conftest.
$ac_ext <<_ACEOF
12488 #ifndef __cplusplus
12492 rm -f conftest.
$ac_objext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12494 (eval $ac_compile) 2>conftest.er1
12496 grep -v '^ *+' conftest.er1
>conftest.err
12498 cat conftest.err
>&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } &&
12501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12503 (eval $ac_try) 2>&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); }; } &&
12507 { ac_try
='test -s conftest.$ac_objext'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; }; then
12513 for ac_declaration
in \
12515 'extern "C" void std::exit (int) throw (); using std::exit;' \
12516 'extern "C" void std::exit (int); using std::exit;' \
12517 'extern "C" void exit (int) throw ();' \
12518 'extern "C" void exit (int);' \
12521 cat >conftest.
$ac_ext <<_ACEOF
12524 cat confdefs.h
>>conftest.
$ac_ext
12525 cat >>conftest.
$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12528 #include <stdlib.h>
12537 rm -f conftest.
$ac_objext
12538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12539 (eval $ac_compile) 2>conftest.er1
12541 grep -v '^ *+' conftest.er1
>conftest.err
12543 cat conftest.err
>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try
='test -s conftest.$ac_objext'
12553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12560 echo "$as_me: failed program was:" >&5
12561 sed 's/^/| /' conftest.
$ac_ext >&5
12565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12566 cat >conftest.
$ac_ext <<_ACEOF
12569 cat confdefs.h
>>conftest.
$ac_ext
12570 cat >>conftest.
$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12581 rm -f conftest.
$ac_objext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12583 (eval $ac_compile) 2>conftest.er1
12585 grep -v '^ *+' conftest.er1
>conftest.err
12587 cat conftest.err
>&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try
='test -s conftest.$ac_objext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.
$ac_ext >&5
12608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12611 if test -n "$ac_declaration"; then
12612 echo '#ifdef __cplusplus' >>confdefs.h
12613 echo $ac_declaration >>confdefs.h
12614 echo '#endif' >>confdefs.h
12618 echo "$as_me: failed program was:" >&5
12619 sed 's/^/| /' conftest.
$ac_ext >&5
12622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12624 ac_cpp
='$CPP $CPPFLAGS'
12625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12632 ac_cpp
='$CPP $CPPFLAGS'
12633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12637 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12638 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12639 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12640 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 cat >conftest.
$ac_ext <<_ACEOF
12645 cat confdefs.h
>>conftest.
$ac_ext
12646 cat >>conftest.
$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12653 #ifndef __INTEL_COMPILER
12661 rm -f conftest.
$ac_objext
12662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12663 (eval $ac_compile) 2>conftest.er1
12665 grep -v '^ *+' conftest.er1
>conftest.err
12667 cat conftest.err
>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; } &&
12676 { ac_try
='test -s conftest.$ac_objext'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.
$ac_ext >&5
12687 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12694 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12695 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12697 ac_cpp
='$CPP $CPPFLAGS'
12698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12702 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12709 if test "x$GCC" != "xyes"; then
12710 if test "xCC" = "xC"; then
12711 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12712 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12713 if test "${bakefile_cv_c_exto+set}" = set; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12716 cat >conftest.
$ac_ext <<_ACEOF
12719 cat confdefs.h
>>conftest.
$ac_ext
12720 cat >>conftest.
$ac_ext <<_ACEOF
12721 /* end confdefs.h. */
12731 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12733 (eval $ac_compile) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; then
12737 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12739 conftest.
$ac_ext.o
)
12740 bakefile_cv_c_exto
="-ext o"
12747 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12748 See \`config.log' for more details." >&5
12749 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12750 See \`config.log' for more details." >&2;}
12751 { (exit 1); exit 1; }; }
12755 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12758 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12759 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12760 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12761 if test "c" = "c"; then
12762 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12764 if test "c" = "cxx"; then
12765 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12769 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12770 unset ac_cv_prog_cc_g
12771 ac_test_CFLAGS
=${CFLAGS+set}
12772 ac_save_CFLAGS
=$CFLAGS
12774 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12775 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12776 if test "${ac_cv_prog_cc_g+set}" = set; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 cat >conftest.
$ac_ext <<_ACEOF
12782 cat confdefs.h
>>conftest.
$ac_ext
12783 cat >>conftest.
$ac_ext <<_ACEOF
12784 /* end confdefs.h. */
12794 rm -f conftest.
$ac_objext
12795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12796 (eval $ac_compile) 2>conftest.er1
12798 grep -v '^ *+' conftest.er1
>conftest.err
12800 cat conftest.err
>&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); } &&
12803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; } &&
12809 { ac_try
='test -s conftest.$ac_objext'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; }; then
12815 ac_cv_prog_cc_g
=yes
12817 echo "$as_me: failed program was:" >&5
12818 sed 's/^/| /' conftest.
$ac_ext >&5
12822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12824 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12825 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12826 if test "$ac_test_CFLAGS" = set; then
12827 CFLAGS
=$ac_save_CFLAGS
12828 elif test $ac_cv_prog_cc_g = yes; then
12829 if test "$GCC" = yes; then
12835 if test "$GCC" = yes; then
12847 ac_cpp
='$CPP $CPPFLAGS'
12848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12852 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12853 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12854 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12857 cat >conftest.
$ac_ext <<_ACEOF
12860 cat confdefs.h
>>conftest.
$ac_ext
12861 cat >>conftest.
$ac_ext <<_ACEOF
12862 /* end confdefs.h. */
12875 rm -f conftest.
$ac_objext
12876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12877 (eval $ac_compile) 2>conftest.er1
12879 grep -v '^ *+' conftest.er1
>conftest.err
12881 cat conftest.err
>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } &&
12884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; } &&
12890 { ac_try
='test -s conftest.$ac_objext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 bakefile_compiler_xlc
=yes
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.
$ac_ext >&5
12901 bakefile_compiler_xlc
=no
12903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12904 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12907 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12908 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12910 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12912 ac_cpp
='$CPP $CPPFLAGS'
12913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12922 ac_cpp
='$CPP $CPPFLAGS'
12923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12927 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12928 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12929 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12930 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 cat >conftest.
$ac_ext <<_ACEOF
12935 cat confdefs.h
>>conftest.
$ac_ext
12936 cat >>conftest.
$ac_ext <<_ACEOF
12937 /* end confdefs.h. */
12950 rm -f conftest.
$ac_objext
12951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12952 (eval $ac_compile) 2>conftest.er1
12954 grep -v '^ *+' conftest.er1
>conftest.err
12956 cat conftest.err
>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } &&
12959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961 (eval $ac_try) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }; } &&
12965 { ac_try
='test -s conftest.$ac_objext'
12966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12967 (eval $ac_try) 2>&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); }; }; then
12971 bakefile_compiler_mwerks
=yes
12973 echo "$as_me: failed program was:" >&5
12974 sed 's/^/| /' conftest.
$ac_ext >&5
12976 bakefile_compiler_mwerks
=no
12978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12979 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12982 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12983 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12985 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12987 ac_cpp
='$CPP $CPPFLAGS'
12988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12994 ac_cpp
='$CPP $CPPFLAGS'
12995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12999 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13000 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13001 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 cat >conftest.
$ac_ext <<_ACEOF
13007 cat confdefs.h
>>conftest.
$ac_ext
13008 cat >>conftest.
$ac_ext <<_ACEOF
13009 /* end confdefs.h. */
13022 rm -f conftest.
$ac_objext
13023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13024 (eval $ac_compile) 2>conftest.er1
13026 grep -v '^ *+' conftest.er1
>conftest.err
13028 cat conftest.err
>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } &&
13031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; } &&
13037 { ac_try
='test -s conftest.$ac_objext'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; }; then
13043 bakefile_compiler_xlc
=yes
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.
$ac_ext >&5
13048 bakefile_compiler_xlc
=no
13050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13051 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13054 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13055 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13057 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13059 ac_cpp
='$CPP $CPPFLAGS'
13060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13071 ac_cpp
='$CPP $CPPFLAGS'
13072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13076 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13077 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13078 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13079 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 cat >conftest.
$ac_ext <<_ACEOF
13084 cat confdefs.h
>>conftest.
$ac_ext
13085 cat >>conftest.
$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13092 #ifndef _SGI_COMPILER_VERSION
13100 rm -f conftest.
$ac_objext
13101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13102 (eval $ac_compile) 2>conftest.er1
13104 grep -v '^ *+' conftest.er1
>conftest.err
13106 cat conftest.err
>&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); } &&
13109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; } &&
13115 { ac_try
='test -s conftest.$ac_objext'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; }; then
13121 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.
$ac_ext >&5
13126 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13133 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13134 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13136 ac_cpp
='$CPP $CPPFLAGS'
13137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13141 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13154 ac_cpp
='$CPP $CPPFLAGS'
13155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13159 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13160 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13161 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 cat >conftest.
$ac_ext <<_ACEOF
13167 cat confdefs.h
>>conftest.
$ac_ext
13168 cat >>conftest.
$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13183 rm -f conftest.
$ac_objext
13184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13185 (eval $ac_compile) 2>conftest.er1
13187 grep -v '^ *+' conftest.er1
>conftest.err
13189 cat conftest.err
>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try
='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 bakefile_cv_c_compiler___HP_cc
=yes
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.
$ac_ext >&5
13209 bakefile_cv_c_compiler___HP_cc
=no
13212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13216 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13217 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13219 ac_cpp
='$CPP $CPPFLAGS'
13220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13224 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13237 ac_cpp
='$CPP $CPPFLAGS'
13238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13242 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13243 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13244 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13247 cat >conftest.
$ac_ext <<_ACEOF
13250 cat confdefs.h
>>conftest.
$ac_ext
13251 cat >>conftest.
$ac_ext <<_ACEOF
13252 /* end confdefs.h. */
13266 rm -f conftest.
$ac_objext
13267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13268 (eval $ac_compile) 2>conftest.er1
13270 grep -v '^ *+' conftest.er1
>conftest.err
13272 cat conftest.err
>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } &&
13275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try
='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 bakefile_cv_c_compiler___DECC
=yes
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.
$ac_ext >&5
13292 bakefile_cv_c_compiler___DECC
=no
13295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13299 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13300 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13302 ac_cpp
='$CPP $CPPFLAGS'
13303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13307 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13320 ac_cpp
='$CPP $CPPFLAGS'
13321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13325 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13326 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13327 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13328 echo $ECHO_N "(cached) $ECHO_C" >&6
13330 cat >conftest.
$ac_ext <<_ACEOF
13333 cat confdefs.h
>>conftest.
$ac_ext
13334 cat >>conftest.
$ac_ext <<_ACEOF
13335 /* end confdefs.h. */
13349 rm -f conftest.
$ac_objext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>conftest.er1
13353 grep -v '^ *+' conftest.er1
>conftest.err
13355 cat conftest.err
>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } &&
13358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13360 (eval $ac_try) 2>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; } &&
13364 { ac_try
='test -s conftest.$ac_objext'
13365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13366 (eval $ac_try) 2>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); }; }; then
13370 bakefile_cv_c_compiler___SUNPRO_C
=yes
13372 echo "$as_me: failed program was:" >&5
13373 sed 's/^/| /' conftest.
$ac_ext >&5
13375 bakefile_cv_c_compiler___SUNPRO_C
=no
13378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13382 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13383 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13385 ac_cpp
='$CPP $CPPFLAGS'
13386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13390 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13404 ac_cpp
='$CPP $CPPFLAGS'
13405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13408 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13409 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13410 # On Suns, sometimes $CPP names a directory.
13411 if test -n "$CPP" && test -d "$CPP"; then
13414 if test -z "$CPP"; then
13415 if test "${ac_cv_prog_CPP+set}" = set; then
13416 echo $ECHO_N "(cached) $ECHO_C" >&6
13418 # Double quotes because CPP needs to be expanded
13419 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13421 ac_preproc_ok
=false
13422 for ac_c_preproc_warn_flag
in '' yes
13424 # Use a header file that comes with gcc, so configuring glibc
13425 # with a fresh cross-compiler works.
13426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13427 # <limits.h> exists even on freestanding compilers.
13428 # On the NeXT, cc -E runs the code through the compiler's parser,
13429 # not just through cpp. "Syntax error" is here to catch this case.
13430 cat >conftest.
$ac_ext <<_ACEOF
13433 cat confdefs.h
>>conftest.
$ac_ext
13434 cat >>conftest.
$ac_ext <<_ACEOF
13435 /* end confdefs.h. */
13437 # include <limits.h>
13439 # include <assert.h>
13443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13446 grep -v '^ *+' conftest.er1
>conftest.err
13448 cat conftest.err
>&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } >/dev
/null
; then
13451 if test -s conftest.err
; then
13452 ac_cpp_err
=$ac_c_preproc_warn_flag
13453 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13460 if test -z "$ac_cpp_err"; then
13463 echo "$as_me: failed program was:" >&5
13464 sed 's/^/| /' conftest.
$ac_ext >&5
13466 # Broken: fails on valid input.
13469 rm -f conftest.err conftest.
$ac_ext
13471 # OK, works on sane cases. Now check whether non-existent headers
13472 # can be detected and how.
13473 cat >conftest.
$ac_ext <<_ACEOF
13476 cat confdefs.h
>>conftest.
$ac_ext
13477 cat >>conftest.
$ac_ext <<_ACEOF
13478 /* end confdefs.h. */
13479 #include <ac_nonexistent.h>
13481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13484 grep -v '^ *+' conftest.er1
>conftest.err
13486 cat conftest.err
>&5
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); } >/dev
/null
; then
13489 if test -s conftest.err
; then
13490 ac_cpp_err
=$ac_c_preproc_warn_flag
13491 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13498 if test -z "$ac_cpp_err"; then
13499 # Broken: success on invalid input.
13502 echo "$as_me: failed program was:" >&5
13503 sed 's/^/| /' conftest.
$ac_ext >&5
13505 # Passes both tests.
13509 rm -f conftest.err conftest.
$ac_ext
13512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13513 rm -f conftest.err conftest.
$ac_ext
13514 if $ac_preproc_ok; then
13519 ac_cv_prog_CPP
=$CPP
13522 CPP
=$ac_cv_prog_CPP
13524 ac_cv_prog_CPP
=$CPP
13526 echo "$as_me:$LINENO: result: $CPP" >&5
13527 echo "${ECHO_T}$CPP" >&6
13528 ac_preproc_ok
=false
13529 for ac_c_preproc_warn_flag
in '' yes
13531 # Use a header file that comes with gcc, so configuring glibc
13532 # with a fresh cross-compiler works.
13533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13534 # <limits.h> exists even on freestanding compilers.
13535 # On the NeXT, cc -E runs the code through the compiler's parser,
13536 # not just through cpp. "Syntax error" is here to catch this case.
13537 cat >conftest.
$ac_ext <<_ACEOF
13540 cat confdefs.h
>>conftest.
$ac_ext
13541 cat >>conftest.
$ac_ext <<_ACEOF
13542 /* end confdefs.h. */
13544 # include <limits.h>
13546 # include <assert.h>
13550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13553 grep -v '^ *+' conftest.er1
>conftest.err
13555 cat conftest.err
>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); } >/dev
/null
; then
13558 if test -s conftest.err
; then
13559 ac_cpp_err
=$ac_c_preproc_warn_flag
13560 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13567 if test -z "$ac_cpp_err"; then
13570 echo "$as_me: failed program was:" >&5
13571 sed 's/^/| /' conftest.
$ac_ext >&5
13573 # Broken: fails on valid input.
13576 rm -f conftest.err conftest.
$ac_ext
13578 # OK, works on sane cases. Now check whether non-existent headers
13579 # can be detected and how.
13580 cat >conftest.
$ac_ext <<_ACEOF
13583 cat confdefs.h
>>conftest.
$ac_ext
13584 cat >>conftest.
$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13586 #include <ac_nonexistent.h>
13588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13591 grep -v '^ *+' conftest.er1
>conftest.err
13593 cat conftest.err
>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } >/dev
/null
; then
13596 if test -s conftest.err
; then
13597 ac_cpp_err
=$ac_c_preproc_warn_flag
13598 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13605 if test -z "$ac_cpp_err"; then
13606 # Broken: success on invalid input.
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.
$ac_ext >&5
13612 # Passes both tests.
13616 rm -f conftest.err conftest.
$ac_ext
13619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13620 rm -f conftest.err conftest.
$ac_ext
13621 if $ac_preproc_ok; then
13624 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13625 See \`config.log' for more details." >&5
13626 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13627 See \`config.log' for more details." >&2;}
13628 { (exit 1); exit 1; }; }
13632 ac_cpp
='$CPP $CPPFLAGS'
13633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13638 echo "$as_me:$LINENO: checking for egrep" >&5
13639 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13640 if test "${ac_cv_prog_egrep+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13644 then ac_cv_prog_egrep
='grep -E'
13645 else ac_cv_prog_egrep
='egrep'
13648 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13649 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13650 EGREP
=$ac_cv_prog_egrep
13653 if test $ac_cv_c_compiler_gnu = yes; then
13654 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13655 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13656 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 ac_pattern
="Autoconf.*'x'"
13660 cat >conftest.
$ac_ext <<_ACEOF
13663 cat confdefs.h
>>conftest.
$ac_ext
13664 cat >>conftest.
$ac_ext <<_ACEOF
13665 /* end confdefs.h. */
13669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13670 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13671 ac_cv_prog_gcc_traditional
=yes
13673 ac_cv_prog_gcc_traditional
=no
13678 if test $ac_cv_prog_gcc_traditional = no
; then
13679 cat >conftest.
$ac_ext <<_ACEOF
13682 cat confdefs.h
>>conftest.
$ac_ext
13683 cat >>conftest.
$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 #include <termio.h>
13688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13689 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13690 ac_cv_prog_gcc_traditional
=yes
13696 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13697 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13698 if test $ac_cv_prog_gcc_traditional = yes; then
13699 CC
="$CC -traditional"
13705 ac_cpp
='$CXXCPP $CPPFLAGS'
13706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13711 CXXFLAGS
=${CXXFLAGS:=}
13716 ac_cpp
='$CXXCPP $CPPFLAGS'
13717 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13718 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13719 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13720 if test -n "$ac_tool_prefix"; then
13721 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13724 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13725 echo "$as_me:$LINENO: checking for $ac_word" >&5
13726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13727 if test "${ac_cv_prog_CXX+set}" = set; then
13728 echo $ECHO_N "(cached) $ECHO_C" >&6
13730 if test -n "$CXX"; then
13731 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13734 for as_dir
in $PATH
13737 test -z "$as_dir" && as_dir
=.
13738 for ac_exec_ext
in '' $ac_executable_extensions; do
13739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13740 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13749 CXX
=$ac_cv_prog_CXX
13750 if test -n "$CXX"; then
13751 echo "$as_me:$LINENO: result: $CXX" >&5
13752 echo "${ECHO_T}$CXX" >&6
13754 echo "$as_me:$LINENO: result: no" >&5
13755 echo "${ECHO_T}no" >&6
13758 test -n "$CXX" && break
13761 if test -z "$CXX"; then
13763 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13765 # Extract the first word of "$ac_prog", so it can be a program name with args.
13766 set dummy
$ac_prog; ac_word
=$2
13767 echo "$as_me:$LINENO: checking for $ac_word" >&5
13768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13769 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 if test -n "$ac_ct_CXX"; then
13773 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13776 for as_dir
in $PATH
13779 test -z "$as_dir" && as_dir
=.
13780 for ac_exec_ext
in '' $ac_executable_extensions; do
13781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13782 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13791 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13792 if test -n "$ac_ct_CXX"; then
13793 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13794 echo "${ECHO_T}$ac_ct_CXX" >&6
13796 echo "$as_me:$LINENO: result: no" >&5
13797 echo "${ECHO_T}no" >&6
13800 test -n "$ac_ct_CXX" && break
13802 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13808 # Provide some information about the compiler.
13809 echo "$as_me:$LINENO:" \
13810 "checking for C++ compiler version" >&5
13811 ac_compiler
=`set X $ac_compile; echo $2`
13812 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13813 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }
13817 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13818 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }
13822 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13823 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }
13828 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13829 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13830 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 cat >conftest.
$ac_ext <<_ACEOF
13836 cat confdefs.h
>>conftest.
$ac_ext
13837 cat >>conftest.
$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13851 rm -f conftest.
$ac_objext
13852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13853 (eval $ac_compile) 2>conftest.er1
13855 grep -v '^ *+' conftest.er1
>conftest.err
13857 cat conftest.err
>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); } &&
13860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; } &&
13866 { ac_try
='test -s conftest.$ac_objext'
13867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13868 (eval $ac_try) 2>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); }; }; then
13872 ac_compiler_gnu
=yes
13874 echo "$as_me: failed program was:" >&5
13875 sed 's/^/| /' conftest.
$ac_ext >&5
13879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13880 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13883 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13884 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13885 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13886 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13887 ac_save_CXXFLAGS
=$CXXFLAGS
13889 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13890 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13891 if test "${ac_cv_prog_cxx_g+set}" = set; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 cat >conftest.
$ac_ext <<_ACEOF
13897 cat confdefs.h
>>conftest.
$ac_ext
13898 cat >>conftest.
$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13909 rm -f conftest.
$ac_objext
13910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13911 (eval $ac_compile) 2>conftest.er1
13913 grep -v '^ *+' conftest.er1
>conftest.err
13915 cat conftest.err
>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; } &&
13924 { ac_try
='test -s conftest.$ac_objext'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; }; then
13930 ac_cv_prog_cxx_g
=yes
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.
$ac_ext >&5
13935 ac_cv_prog_cxx_g
=no
13937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13939 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13940 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13941 if test "$ac_test_CXXFLAGS" = set; then
13942 CXXFLAGS
=$ac_save_CXXFLAGS
13943 elif test $ac_cv_prog_cxx_g = yes; then
13944 if test "$GXX" = yes; then
13950 if test "$GXX" = yes; then
13956 for ac_declaration
in \
13958 'extern "C" void std::exit (int) throw (); using std::exit;' \
13959 'extern "C" void std::exit (int); using std::exit;' \
13960 'extern "C" void exit (int) throw ();' \
13961 'extern "C" void exit (int);' \
13964 cat >conftest.
$ac_ext <<_ACEOF
13967 cat confdefs.h
>>conftest.
$ac_ext
13968 cat >>conftest.
$ac_ext <<_ACEOF
13969 /* end confdefs.h. */
13971 #include <stdlib.h>
13980 rm -f conftest.
$ac_objext
13981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13982 (eval $ac_compile) 2>conftest.er1
13984 grep -v '^ *+' conftest.er1
>conftest.err
13986 cat conftest.err
>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } &&
13989 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; } &&
13995 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14003 echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.
$ac_ext >&5
14008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14009 cat >conftest.
$ac_ext <<_ACEOF
14012 cat confdefs.h
>>conftest.
$ac_ext
14013 cat >>conftest.
$ac_ext <<_ACEOF
14014 /* end confdefs.h. */
14024 rm -f conftest.
$ac_objext
14025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14026 (eval $ac_compile) 2>conftest.er1
14028 grep -v '^ *+' conftest.er1
>conftest.err
14030 cat conftest.err
>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } &&
14033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14035 (eval $ac_try) 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); }; } &&
14039 { ac_try
='test -s conftest.$ac_objext'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; }; then
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.
$ac_ext >&5
14051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14054 if test -n "$ac_declaration"; then
14055 echo '#ifdef __cplusplus' >>confdefs.h
14056 echo $ac_declaration >>confdefs.h
14057 echo '#endif' >>confdefs.h
14061 ac_cpp
='$CXXCPP $CPPFLAGS'
14062 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14063 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14064 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14069 ac_cpp
='$CXXCPP $CPPFLAGS'
14070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14074 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14075 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14076 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 cat >conftest.
$ac_ext <<_ACEOF
14082 cat confdefs.h
>>conftest.
$ac_ext
14083 cat >>conftest.
$ac_ext <<_ACEOF
14084 /* end confdefs.h. */
14090 #ifndef __INTEL_COMPILER
14098 rm -f conftest.
$ac_objext
14099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14100 (eval $ac_compile) 2>conftest.er1
14102 grep -v '^ *+' conftest.er1
>conftest.err
14104 cat conftest.err
>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); } &&
14107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; } &&
14113 { ac_try
='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.
$ac_ext >&5
14124 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14131 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14132 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14134 ac_cpp
='$CXXCPP $CPPFLAGS'
14135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14139 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14146 if test "x$GCXX" != "xyes"; then
14147 if test "xCXX" = "xC"; then
14148 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14149 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14150 if test "${bakefile_cv_cxx_exto+set}" = set; then
14151 echo $ECHO_N "(cached) $ECHO_C" >&6
14153 cat >conftest.
$ac_ext <<_ACEOF
14156 cat confdefs.h
>>conftest.
$ac_ext
14157 cat >>conftest.
$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14168 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; then
14174 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14176 conftest.
$ac_ext.o
)
14177 bakefile_cv_cxx_exto
="-ext o"
14184 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14185 See \`config.log' for more details." >&5
14186 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14187 See \`config.log' for more details." >&2;}
14188 { (exit 1); exit 1; }; }
14192 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14195 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14196 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14197 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14198 if test "cxx" = "c"; then
14199 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14201 if test "cxx" = "cxx"; then
14202 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14206 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14207 unset ac_cv_prog_cc_g
14208 ac_test_CFLAGS
=${CFLAGS+set}
14209 ac_save_CFLAGS
=$CFLAGS
14211 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14212 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14213 if test "${ac_cv_prog_cc_g+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 cat >conftest.
$ac_ext <<_ACEOF
14219 cat confdefs.h
>>conftest.
$ac_ext
14220 cat >>conftest.
$ac_ext <<_ACEOF
14221 /* end confdefs.h. */
14231 rm -f conftest.
$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>conftest.er1
14235 grep -v '^ *+' conftest.er1
>conftest.err
14237 cat conftest.err
>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } &&
14240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14242 (eval $ac_try) 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; } &&
14246 { ac_try
='test -s conftest.$ac_objext'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; }; then
14252 ac_cv_prog_cc_g
=yes
14254 echo "$as_me: failed program was:" >&5
14255 sed 's/^/| /' conftest.
$ac_ext >&5
14259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14261 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14262 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14263 if test "$ac_test_CFLAGS" = set; then
14264 CFLAGS
=$ac_save_CFLAGS
14265 elif test $ac_cv_prog_cc_g = yes; then
14266 if test "$GCC" = yes; then
14272 if test "$GCC" = yes; then
14284 ac_cpp
='$CXXCPP $CPPFLAGS'
14285 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14286 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14287 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14289 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14290 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14291 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14292 echo $ECHO_N "(cached) $ECHO_C" >&6
14294 cat >conftest.
$ac_ext <<_ACEOF
14297 cat confdefs.h
>>conftest.
$ac_ext
14298 cat >>conftest.
$ac_ext <<_ACEOF
14299 /* end confdefs.h. */
14312 rm -f conftest.
$ac_objext
14313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14314 (eval $ac_compile) 2>conftest.er1
14316 grep -v '^ *+' conftest.er1
>conftest.err
14318 cat conftest.err
>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } &&
14321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; } &&
14327 { ac_try
='test -s conftest.$ac_objext'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; }; then
14333 bakefile_compiler_xlc
=yes
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.
$ac_ext >&5
14338 bakefile_compiler_xlc
=no
14340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14341 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14344 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14345 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14347 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14349 ac_cpp
='$CXXCPP $CPPFLAGS'
14350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14359 ac_cpp
='$CXXCPP $CPPFLAGS'
14360 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14361 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14362 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14364 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14365 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14366 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14369 cat >conftest.
$ac_ext <<_ACEOF
14372 cat confdefs.h
>>conftest.
$ac_ext
14373 cat >>conftest.
$ac_ext <<_ACEOF
14374 /* end confdefs.h. */
14387 rm -f conftest.
$ac_objext
14388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14389 (eval $ac_compile) 2>conftest.er1
14391 grep -v '^ *+' conftest.er1
>conftest.err
14393 cat conftest.err
>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } &&
14396 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; } &&
14402 { ac_try
='test -s conftest.$ac_objext'
14403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404 (eval $ac_try) 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; }; then
14408 bakefile_compiler_mwerks
=yes
14410 echo "$as_me: failed program was:" >&5
14411 sed 's/^/| /' conftest.
$ac_ext >&5
14413 bakefile_compiler_mwerks
=no
14415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14416 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14419 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14420 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14422 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14424 ac_cpp
='$CXXCPP $CPPFLAGS'
14425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14431 ac_cpp
='$CXXCPP $CPPFLAGS'
14432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14436 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14437 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14438 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 cat >conftest.
$ac_ext <<_ACEOF
14444 cat confdefs.h
>>conftest.
$ac_ext
14445 cat >>conftest.
$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14459 rm -f conftest.
$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>conftest.er1
14463 grep -v '^ *+' conftest.er1
>conftest.err
14465 cat conftest.err
>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } &&
14468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } &&
14474 { ac_try
='test -s conftest.$ac_objext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 bakefile_compiler_xlc
=yes
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.
$ac_ext >&5
14485 bakefile_compiler_xlc
=no
14487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14488 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14491 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14492 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14494 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14496 ac_cpp
='$CXXCPP $CPPFLAGS'
14497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14508 ac_cpp
='$CXXCPP $CPPFLAGS'
14509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14513 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14514 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14515 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 cat >conftest.
$ac_ext <<_ACEOF
14521 cat confdefs.h
>>conftest.
$ac_ext
14522 cat >>conftest.
$ac_ext <<_ACEOF
14523 /* end confdefs.h. */
14529 #ifndef _SGI_COMPILER_VERSION
14537 rm -f conftest.
$ac_objext
14538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14539 (eval $ac_compile) 2>conftest.er1
14541 grep -v '^ *+' conftest.er1
>conftest.err
14543 cat conftest.err
>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); } &&
14546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548 (eval $ac_try) 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; } &&
14552 { ac_try
='test -s conftest.$ac_objext'
14553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14554 (eval $ac_try) 2>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); }; }; then
14558 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14560 echo "$as_me: failed program was:" >&5
14561 sed 's/^/| /' conftest.
$ac_ext >&5
14563 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14570 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14571 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14573 ac_cpp
='$CXXCPP $CPPFLAGS'
14574 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14575 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14576 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14578 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14591 ac_cpp
='$CXXCPP $CPPFLAGS'
14592 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14593 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14594 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14596 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14597 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14598 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14601 cat >conftest.
$ac_ext <<_ACEOF
14604 cat confdefs.h
>>conftest.
$ac_ext
14605 cat >>conftest.
$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14620 rm -f conftest.
$ac_objext
14621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14622 (eval $ac_compile) 2>conftest.er1
14624 grep -v '^ *+' conftest.er1
>conftest.err
14626 cat conftest.err
>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); } &&
14629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14631 (eval $ac_try) 2>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; } &&
14635 { ac_try
='test -s conftest.$ac_objext'
14636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637 (eval $ac_try) 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; }; then
14641 bakefile_cv_cxx_compiler___HP_aCC
=yes
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.
$ac_ext >&5
14646 bakefile_cv_cxx_compiler___HP_aCC
=no
14649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14653 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14656 ac_cpp
='$CXXCPP $CPPFLAGS'
14657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14661 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14674 ac_cpp
='$CXXCPP $CPPFLAGS'
14675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14679 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14680 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14681 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14682 echo $ECHO_N "(cached) $ECHO_C" >&6
14684 cat >conftest.
$ac_ext <<_ACEOF
14687 cat confdefs.h
>>conftest.
$ac_ext
14688 cat >>conftest.
$ac_ext <<_ACEOF
14689 /* end confdefs.h. */
14703 rm -f conftest.
$ac_objext
14704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14705 (eval $ac_compile) 2>conftest.er1
14707 grep -v '^ *+' conftest.er1
>conftest.err
14709 cat conftest.err
>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } &&
14712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; } &&
14718 { ac_try
='test -s conftest.$ac_objext'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; }; then
14724 bakefile_cv_cxx_compiler___DECCXX
=yes
14726 echo "$as_me: failed program was:" >&5
14727 sed 's/^/| /' conftest.
$ac_ext >&5
14729 bakefile_cv_cxx_compiler___DECCXX
=no
14732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14736 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14737 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14739 ac_cpp
='$CXXCPP $CPPFLAGS'
14740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14744 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14757 ac_cpp
='$CXXCPP $CPPFLAGS'
14758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14762 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14763 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14764 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 cat >conftest.
$ac_ext <<_ACEOF
14770 cat confdefs.h
>>conftest.
$ac_ext
14771 cat >>conftest.
$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14778 #ifndef __SUNPRO_CC
14786 rm -f conftest.
$ac_objext
14787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14788 (eval $ac_compile) 2>conftest.er1
14790 grep -v '^ *+' conftest.er1
>conftest.err
14792 cat conftest.err
>&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } &&
14795 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14797 (eval $ac_try) 2>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); }; } &&
14801 { ac_try
='test -s conftest.$ac_objext'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; }; then
14807 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14809 echo "$as_me: failed program was:" >&5
14810 sed 's/^/| /' conftest.
$ac_ext >&5
14812 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14819 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14822 ac_cpp
='$CXXCPP $CPPFLAGS'
14823 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14824 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14825 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14827 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14840 if test -n "$ac_tool_prefix"; then
14841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14842 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14843 echo "$as_me:$LINENO: checking for $ac_word" >&5
14844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14845 if test "${ac_cv_prog_RANLIB+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 if test -n "$RANLIB"; then
14849 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14852 for as_dir
in $PATH
14855 test -z "$as_dir" && as_dir
=.
14856 for ac_exec_ext
in '' $ac_executable_extensions; do
14857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14858 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14867 RANLIB
=$ac_cv_prog_RANLIB
14868 if test -n "$RANLIB"; then
14869 echo "$as_me:$LINENO: result: $RANLIB" >&5
14870 echo "${ECHO_T}$RANLIB" >&6
14872 echo "$as_me:$LINENO: result: no" >&5
14873 echo "${ECHO_T}no" >&6
14877 if test -z "$ac_cv_prog_RANLIB"; then
14878 ac_ct_RANLIB
=$RANLIB
14879 # Extract the first word of "ranlib", so it can be a program name with args.
14880 set dummy ranlib
; ac_word
=$2
14881 echo "$as_me:$LINENO: checking for $ac_word" >&5
14882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14883 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14886 if test -n "$ac_ct_RANLIB"; then
14887 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14890 for as_dir
in $PATH
14893 test -z "$as_dir" && as_dir
=.
14894 for ac_exec_ext
in '' $ac_executable_extensions; do
14895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14896 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14903 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14906 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14907 if test -n "$ac_ct_RANLIB"; then
14908 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14909 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14911 echo "$as_me:$LINENO: result: no" >&5
14912 echo "${ECHO_T}no" >&6
14915 RANLIB
=$ac_ct_RANLIB
14917 RANLIB
="$ac_cv_prog_RANLIB"
14921 if test -n "$ac_tool_prefix"; then
14922 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14923 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14924 echo "$as_me:$LINENO: checking for $ac_word" >&5
14925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14926 if test "${ac_cv_prog_AR+set}" = set; then
14927 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 if test -n "$AR"; then
14930 ac_cv_prog_AR
="$AR" # Let the user override the test.
14932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14933 for as_dir
in $PATH
14936 test -z "$as_dir" && as_dir
=.
14937 for ac_exec_ext
in '' $ac_executable_extensions; do
14938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14939 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14949 if test -n "$AR"; then
14950 echo "$as_me:$LINENO: result: $AR" >&5
14951 echo "${ECHO_T}$AR" >&6
14953 echo "$as_me:$LINENO: result: no" >&5
14954 echo "${ECHO_T}no" >&6
14958 if test -z "$ac_cv_prog_AR"; then
14960 # Extract the first word of "ar", so it can be a program name with args.
14961 set dummy
ar; ac_word
=$2
14962 echo "$as_me:$LINENO: checking for $ac_word" >&5
14963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14964 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14965 echo $ECHO_N "(cached) $ECHO_C" >&6
14967 if test -n "$ac_ct_AR"; then
14968 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14971 for as_dir
in $PATH
14974 test -z "$as_dir" && as_dir
=.
14975 for ac_exec_ext
in '' $ac_executable_extensions; do
14976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14977 ac_cv_prog_ac_ct_AR
="ar"
14978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14986 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14987 if test -n "$ac_ct_AR"; then
14988 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14989 echo "${ECHO_T}$ac_ct_AR" >&6
14991 echo "$as_me:$LINENO: result: no" >&5
14992 echo "${ECHO_T}no" >&6
14997 AR
="$ac_cv_prog_AR"
15000 if test "x$AR" = "x" ; then
15001 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15002 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15003 { (exit 1); exit 1; }; }
15006 # Find a good install program. We prefer a C program (faster),
15007 # so one script is as good as another. But avoid the broken or
15008 # incompatible versions:
15009 # SysV /etc/install, /usr/sbin/install
15010 # SunOS /usr/etc/install
15011 # IRIX /sbin/install
15013 # AmigaOS /C/install, which installs bootblocks on floppy discs
15014 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15015 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15016 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15017 # OS/2's system install, which has a completely different semantic
15018 # ./install, which can be erroneously created by make from ./install.sh.
15019 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15020 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15021 if test -z "$INSTALL"; then
15022 if test "${ac_cv_path_install+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15026 for as_dir
in $PATH
15029 test -z "$as_dir" && as_dir
=.
15030 # Account for people who put trailing slashes in PATH elements.
15032 .
/ | .
// | /cC
/* | \
15033 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15034 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15037 # OSF1 and SCO ODT 3.0 have their own names for install.
15038 # Don't use installbsd from OSF since it installs stuff as root
15040 for ac_prog
in ginstall scoinst
install; do
15041 for ac_exec_ext
in '' $ac_executable_extensions; do
15042 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15043 if test $ac_prog = install &&
15044 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15045 # AIX install. It has an incompatible calling convention.
15047 elif test $ac_prog = install &&
15048 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15049 # program-specific install script used by HP pwplus--don't use.
15052 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15064 if test "${ac_cv_path_install+set}" = set; then
15065 INSTALL
=$ac_cv_path_install
15067 # As a last resort, use the slow shell script. We don't cache a
15068 # path for INSTALL within a source directory, because that will
15069 # break other packages using the cache if that directory is
15070 # removed, or if the path is relative.
15071 INSTALL
=$ac_install_sh
15074 echo "$as_me:$LINENO: result: $INSTALL" >&5
15075 echo "${ECHO_T}$INSTALL" >&6
15077 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15078 # It thinks the first close brace ends the variable substitution.
15079 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15081 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15083 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15089 ?
:* ) # Drive letter, considered as absolute.
15092 INSTALL
=`pwd`/${INSTALL} ;;
15099 INSTALL_PROGRAM
="cp -fp"
15100 INSTALL_DATA
="cp -fp"
15106 if test -n "$ac_tool_prefix"; then
15107 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15108 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15109 echo "$as_me:$LINENO: checking for $ac_word" >&5
15110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15111 if test "${ac_cv_prog_STRIP+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 if test -n "$STRIP"; then
15115 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15118 for as_dir
in $PATH
15121 test -z "$as_dir" && as_dir
=.
15122 for ac_exec_ext
in '' $ac_executable_extensions; do
15123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15124 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15133 STRIP
=$ac_cv_prog_STRIP
15134 if test -n "$STRIP"; then
15135 echo "$as_me:$LINENO: result: $STRIP" >&5
15136 echo "${ECHO_T}$STRIP" >&6
15138 echo "$as_me:$LINENO: result: no" >&5
15139 echo "${ECHO_T}no" >&6
15143 if test -z "$ac_cv_prog_STRIP"; then
15145 # Extract the first word of "strip", so it can be a program name with args.
15146 set dummy strip
; ac_word
=$2
15147 echo "$as_me:$LINENO: checking for $ac_word" >&5
15148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15149 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15150 echo $ECHO_N "(cached) $ECHO_C" >&6
15152 if test -n "$ac_ct_STRIP"; then
15153 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15156 for as_dir
in $PATH
15159 test -z "$as_dir" && as_dir
=.
15160 for ac_exec_ext
in '' $ac_executable_extensions; do
15161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15162 ac_cv_prog_ac_ct_STRIP
="strip"
15163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15169 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15172 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15173 if test -n "$ac_ct_STRIP"; then
15174 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15175 echo "${ECHO_T}$ac_ct_STRIP" >&6
15177 echo "$as_me:$LINENO: result: no" >&5
15178 echo "${ECHO_T}no" >&6
15183 STRIP
="$ac_cv_prog_STRIP"
15187 if test "$wxUSE_WINE" = "yes"; then
15188 if test -n "$ac_tool_prefix"; then
15189 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15190 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15191 echo "$as_me:$LINENO: checking for $ac_word" >&5
15192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15193 if test "${ac_cv_prog_WINDRES+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 if test -n "$WINDRES"; then
15197 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15200 for as_dir
in $PATH
15203 test -z "$as_dir" && as_dir
=.
15204 for ac_exec_ext
in '' $ac_executable_extensions; do
15205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15206 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15215 WINDRES
=$ac_cv_prog_WINDRES
15216 if test -n "$WINDRES"; then
15217 echo "$as_me:$LINENO: result: $WINDRES" >&5
15218 echo "${ECHO_T}$WINDRES" >&6
15220 echo "$as_me:$LINENO: result: no" >&5
15221 echo "${ECHO_T}no" >&6
15225 if test -z "$ac_cv_prog_WINDRES"; then
15226 ac_ct_WINDRES
=$WINDRES
15227 # Extract the first word of "wrc", so it can be a program name with args.
15228 set dummy wrc
; ac_word
=$2
15229 echo "$as_me:$LINENO: checking for $ac_word" >&5
15230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15231 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15232 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 if test -n "$ac_ct_WINDRES"; then
15235 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15238 for as_dir
in $PATH
15241 test -z "$as_dir" && as_dir
=.
15242 for ac_exec_ext
in '' $ac_executable_extensions; do
15243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15244 ac_cv_prog_ac_ct_WINDRES
="wrc"
15245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15253 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15254 if test -n "$ac_ct_WINDRES"; then
15255 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15256 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15258 echo "$as_me:$LINENO: result: no" >&5
15259 echo "${ECHO_T}no" >&6
15262 WINDRES
=$ac_ct_WINDRES
15264 WINDRES
="$ac_cv_prog_WINDRES"
15270 *-*-cygwin* | *-*-mingw32* )
15271 if test -n "$ac_tool_prefix"; then
15272 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15273 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15274 echo "$as_me:$LINENO: checking for $ac_word" >&5
15275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15276 if test "${ac_cv_prog_WINDRES+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 if test -n "$WINDRES"; then
15280 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15283 for as_dir
in $PATH
15286 test -z "$as_dir" && as_dir
=.
15287 for ac_exec_ext
in '' $ac_executable_extensions; do
15288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15289 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15298 WINDRES
=$ac_cv_prog_WINDRES
15299 if test -n "$WINDRES"; then
15300 echo "$as_me:$LINENO: result: $WINDRES" >&5
15301 echo "${ECHO_T}$WINDRES" >&6
15303 echo "$as_me:$LINENO: result: no" >&5
15304 echo "${ECHO_T}no" >&6
15308 if test -z "$ac_cv_prog_WINDRES"; then
15309 ac_ct_WINDRES
=$WINDRES
15310 # Extract the first word of "windres", so it can be a program name with args.
15311 set dummy windres
; ac_word
=$2
15312 echo "$as_me:$LINENO: checking for $ac_word" >&5
15313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15314 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 if test -n "$ac_ct_WINDRES"; then
15318 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15321 for as_dir
in $PATH
15324 test -z "$as_dir" && as_dir
=.
15325 for ac_exec_ext
in '' $ac_executable_extensions; do
15326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15327 ac_cv_prog_ac_ct_WINDRES
="windres"
15328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15336 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15337 if test -n "$ac_ct_WINDRES"; then
15338 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15339 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15341 echo "$as_me:$LINENO: result: no" >&5
15342 echo "${ECHO_T}no" >&6
15345 WINDRES
=$ac_ct_WINDRES
15347 WINDRES
="$ac_cv_prog_WINDRES"
15351 if test -n "$ac_tool_prefix"; then
15352 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15353 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15354 echo "$as_me:$LINENO: checking for $ac_word" >&5
15355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15356 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15357 echo $ECHO_N "(cached) $ECHO_C" >&6
15359 if test -n "$DLLTOOL"; then
15360 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15363 for as_dir
in $PATH
15366 test -z "$as_dir" && as_dir
=.
15367 for ac_exec_ext
in '' $ac_executable_extensions; do
15368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15369 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15378 DLLTOOL
=$ac_cv_prog_DLLTOOL
15379 if test -n "$DLLTOOL"; then
15380 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15381 echo "${ECHO_T}$DLLTOOL" >&6
15383 echo "$as_me:$LINENO: result: no" >&5
15384 echo "${ECHO_T}no" >&6
15388 if test -z "$ac_cv_prog_DLLTOOL"; then
15389 ac_ct_DLLTOOL
=$DLLTOOL
15390 # Extract the first word of "dlltool", so it can be a program name with args.
15391 set dummy dlltool
; ac_word
=$2
15392 echo "$as_me:$LINENO: checking for $ac_word" >&5
15393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15394 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 if test -n "$ac_ct_DLLTOOL"; then
15398 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15401 for as_dir
in $PATH
15404 test -z "$as_dir" && as_dir
=.
15405 for ac_exec_ext
in '' $ac_executable_extensions; do
15406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15407 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15416 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15417 if test -n "$ac_ct_DLLTOOL"; then
15418 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15419 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15421 echo "$as_me:$LINENO: result: no" >&5
15422 echo "${ECHO_T}no" >&6
15425 DLLTOOL
=$ac_ct_DLLTOOL
15427 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15434 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15435 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15436 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15440 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15441 egrep -s GNU
> /dev
/null
); then
15442 wx_cv_prog_makeisgnu
="yes"
15444 wx_cv_prog_makeisgnu
="no"
15448 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15449 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15451 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15459 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15460 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15461 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15462 if test "${wx_cv_prog_makevpath+set}" = set; then
15463 echo $ECHO_N "(cached) $ECHO_C" >&6
15466 cat - << EOF > confMake
15472 if test ! -d sub
; then
15475 echo dummy
> sub
/file
15476 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15478 rm -f sub
/file check final_file confMake
15480 if test "$RESULT" = 0; then
15481 wx_cv_prog_makevpath
="yes"
15483 wx_cv_prog_makevpath
="no"
15487 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15488 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15490 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15491 { { echo "$as_me:$LINENO: error:
15492 You need a make-utility that is able to use the variable
15494 If your version of make does not support VPATH correctly,
15495 please install GNU-make (possibly as gmake), and start
15496 configure with the following command:
15497 export MAKE=gmake; ./configure for sh-type shells
15498 setenv MAKE gmake; ./configure for csh-type shells
15499 Also please do remember to use gmake in this case every time
15500 you are trying to compile.
15502 echo "$as_me: error:
15503 You need a make-utility that is able to use the variable
15505 If your version of make does not support VPATH correctly,
15506 please install GNU-make (possibly as gmake), and start
15507 configure with the following command:
15508 export MAKE=gmake; ./configure for sh-type shells
15509 setenv MAKE gmake; ./configure for csh-type shells
15510 Also please do remember to use gmake in this case every time
15511 you are trying to compile.
15513 { (exit 1); exit 1; }; }
15515 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15516 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15518 if test "$LN_S" = "ln -s"; then
15519 echo "$as_me:$LINENO: result: yes" >&5
15520 echo "${ECHO_T}yes" >&6
15522 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15523 echo "${ECHO_T}no, using $LN_S" >&6
15529 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15530 CXXFLAGS
="-qunique $CXXFLAGS"
15534 powerpc
-*-darwin* )
15535 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15536 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15537 cat >conftest.
$ac_ext <<_ACEOF
15540 cat confdefs.h
>>conftest.
$ac_ext
15541 cat >>conftest.
$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15547 #ifndef __POWERPC__
15548 choke me for lack of PowerPC
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_cxx_werror_flag" || test ! -s conftest.err'
15565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15566 (eval $ac_try) 2>&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); }; } &&
15570 { ac_try
='test -s conftest.$ac_objext'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; }; then
15576 echo "$as_me:$LINENO: result: yes" >&5
15577 echo "${ECHO_T}yes" >&6
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.
$ac_ext >&5
15582 echo "$as_me:$LINENO: result: no" >&5
15583 echo "${ECHO_T}no" >&6
15584 cat >>confdefs.h
<<\_ACEOF
15585 #define __POWERPC__ 1
15590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15596 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15597 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15598 cat >conftest.
$ac_ext <<_ACEOF
15601 cat confdefs.h
>>conftest.
$ac_ext
15602 cat >>conftest.
$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15604 #include <CoreFoundation/CFBase.h>
15614 rm -f conftest.
$ac_objext
15615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15616 (eval $ac_compile) 2>conftest.er1
15618 grep -v '^ *+' conftest.er1
>conftest.err
15620 cat conftest.err
>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; } &&
15629 { ac_try
='test -s conftest.$ac_objext'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; }; then
15635 echo "$as_me:$LINENO: result: yes" >&5
15636 echo "${ECHO_T}yes" >&6
15638 echo "$as_me: failed program was:" >&5
15639 sed 's/^/| /' conftest.
$ac_ext >&5
15641 echo "$as_me:$LINENO: result: no" >&5
15642 echo "${ECHO_T}no" >&6
15643 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15644 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15645 cat >conftest.
$ac_ext <<_ACEOF
15648 cat confdefs.h
>>conftest.
$ac_ext
15649 cat >>conftest.
$ac_ext <<_ACEOF
15650 /* end confdefs.h. */
15651 #define __CF_USE_FRAMEWORK_INCLUDES__
15652 #include <CoreFoundation/CFBase.h>
15662 rm -f conftest.
$ac_objext
15663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15664 (eval $ac_compile) 2>conftest.er1
15666 grep -v '^ *+' conftest.er1
>conftest.err
15668 cat conftest.err
>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } &&
15671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; } &&
15677 { ac_try
='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15683 echo "$as_me:$LINENO: result: yes" >&5
15684 echo "${ECHO_T}yes" >&6
15685 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.
$ac_ext >&5
15690 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15691 See \`config.log' for more details." >&5
15692 echo "$as_me: error: no. CoreFoundation not available.
15693 See \`config.log' for more details." >&2;}
15694 { (exit 1); exit 1; }; }
15697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15706 *-pc-os2_emx | *-pc-os2-emx )
15708 ac_cpp
='$CPP $CPPFLAGS'
15709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15713 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15714 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15715 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15716 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15717 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 ac_check_lib_save_LIBS
=$LIBS
15720 LIBS
="-lcExt $LIBS"
15721 cat >conftest.
$ac_ext <<_ACEOF
15724 cat confdefs.h
>>conftest.
$ac_ext
15725 cat >>conftest.
$ac_ext <<_ACEOF
15726 /* end confdefs.h. */
15728 /* Override any gcc2 internal prototype to avoid an error. */
15732 /* We use char because int might match the return type of a gcc2
15733 builtin and then its argument prototype would still apply. */
15743 rm -f conftest.
$ac_objext conftest
$ac_exeext
15744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15745 (eval $ac_link) 2>conftest.er1
15747 grep -v '^ *+' conftest.er1
>conftest.err
15749 cat conftest.err
>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } &&
15752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; } &&
15758 { ac_try
='test -s conftest$ac_exeext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 ac_cv_lib_cExt_drand48
=yes
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.
$ac_ext >&5
15769 ac_cv_lib_cExt_drand48
=no
15771 rm -f conftest.err conftest.
$ac_objext \
15772 conftest
$ac_exeext conftest.
$ac_ext
15773 LIBS
=$ac_check_lib_save_LIBS
15775 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15776 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15777 if test $ac_cv_lib_cExt_drand48 = yes; then
15778 LIBS
="$LIBS -lcExt"
15782 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15784 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15785 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15786 if test "${wx_cv_gccversion+set}" = set; then
15787 echo $ECHO_N "(cached) $ECHO_C" >&6
15790 if test "$cross_compiling" = yes; then
15791 wx_cv_gccversion
="EMX2"
15794 cat >conftest.
$ac_ext <<_ACEOF
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15805 FILE *f=fopen("conftestval", "w");
15810 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15812 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15822 rm -f conftest
$ac_exeext
15823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15824 (eval $ac_link) 2>&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 wx_cv_gccversion
=`cat conftestval`
15835 echo "$as_me: program exited with status $ac_status" >&5
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.
$ac_ext >&5
15839 ( exit $ac_status )
15840 wx_cv_gccversion
="EMX2"
15842 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15846 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15847 echo "${ECHO_T}$wx_cv_gccversion" >&6
15849 ac_cpp
='$CXXCPP $CPPFLAGS'
15850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15854 if test "$wx_cv_gccversion" = "EMX2"; then
15855 LIBS
="$LIBS -lstdcpp"
15856 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15858 if test "$wx_cv_gccversion" = "EMX3"; then
15859 LIBS
="$LIBS -lstdcxx -lgcc"
15860 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15862 LIBS
="$LIBS -lstdc++"
15865 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15866 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15867 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15874 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15875 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15876 if test "${ac_cv_string_strcasecmp+set}" = set; then
15877 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 cat >conftest.
$ac_ext <<_ACEOF
15883 cat confdefs.h
>>conftest.
$ac_ext
15884 cat >>conftest.
$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15887 #include <string.h>
15893 strcasecmp("foo", "bar");
15899 rm -f conftest.
$ac_objext conftest
$ac_exeext
15900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15901 (eval $ac_link) 2>conftest.er1
15903 grep -v '^ *+' conftest.er1
>conftest.err
15905 cat conftest.err
>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } &&
15908 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; } &&
15914 { ac_try
='test -s conftest$ac_exeext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 ac_cv_string_strcasecmp
=yes
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.
$ac_ext >&5
15925 ac_cv_string_strcasecmp
=no
15928 rm -f conftest.err conftest.
$ac_objext \
15929 conftest
$ac_exeext conftest.
$ac_ext
15932 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15933 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15935 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15936 cat >>confdefs.h
<<\_ACEOF
15937 #define HAVE_STRCASECMP_IN_STRING_H 1
15941 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15942 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15943 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15944 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 cat >conftest.
$ac_ext <<_ACEOF
15950 cat confdefs.h
>>conftest.
$ac_ext
15951 cat >>conftest.
$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15954 #include <strings.h>
15960 strcasecmp("foo", "bar");
15966 rm -f conftest.
$ac_objext conftest
$ac_exeext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15968 (eval $ac_link) 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); } &&
15975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; } &&
15981 { ac_try
='test -s conftest$ac_exeext'
15982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15983 (eval $ac_try) 2>&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); }; }; then
15987 ac_cv_strings_strcasecmp
=yes
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.
$ac_ext >&5
15992 ac_cv_strings_strcasecmp
=no
15995 rm -f conftest.err conftest.
$ac_objext \
15996 conftest
$ac_exeext conftest.
$ac_ext
15999 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16000 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16002 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16003 cat >>confdefs.h
<<\_ACEOF
16004 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16008 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16009 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16010 { (exit 1); exit 1; }; }
16019 ac_cpp
='$CXXCPP $CPPFLAGS'
16020 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16021 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16022 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16023 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16024 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16025 if test -z "$CXXCPP"; then
16026 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16027 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 # Double quotes because CXXCPP needs to be expanded
16030 for CXXCPP
in "$CXX -E" "/lib/cpp"
16032 ac_preproc_ok
=false
16033 for ac_cxx_preproc_warn_flag
in '' yes
16035 # Use a header file that comes with gcc, so configuring glibc
16036 # with a fresh cross-compiler works.
16037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16038 # <limits.h> exists even on freestanding compilers.
16039 # On the NeXT, cc -E runs the code through the compiler's parser,
16040 # not just through cpp. "Syntax error" is here to catch this case.
16041 cat >conftest.
$ac_ext <<_ACEOF
16044 cat confdefs.h
>>conftest.
$ac_ext
16045 cat >>conftest.
$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16048 # include <limits.h>
16050 # include <assert.h>
16054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16055 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16057 grep -v '^ *+' conftest.er1
>conftest.err
16059 cat conftest.err
>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } >/dev
/null
; then
16062 if test -s conftest.err
; then
16063 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16064 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16071 if test -z "$ac_cpp_err"; then
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.
$ac_ext >&5
16077 # Broken: fails on valid input.
16080 rm -f conftest.err conftest.
$ac_ext
16082 # OK, works on sane cases. Now check whether non-existent headers
16083 # can be detected and how.
16084 cat >conftest.
$ac_ext <<_ACEOF
16087 cat confdefs.h
>>conftest.
$ac_ext
16088 cat >>conftest.
$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16090 #include <ac_nonexistent.h>
16092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16093 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16095 grep -v '^ *+' conftest.er1
>conftest.err
16097 cat conftest.err
>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); } >/dev
/null
; then
16100 if test -s conftest.err
; then
16101 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16102 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16109 if test -z "$ac_cpp_err"; then
16110 # Broken: success on invalid input.
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.
$ac_ext >&5
16116 # Passes both tests.
16120 rm -f conftest.err conftest.
$ac_ext
16123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16124 rm -f conftest.err conftest.
$ac_ext
16125 if $ac_preproc_ok; then
16130 ac_cv_prog_CXXCPP
=$CXXCPP
16133 CXXCPP
=$ac_cv_prog_CXXCPP
16135 ac_cv_prog_CXXCPP
=$CXXCPP
16137 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16138 echo "${ECHO_T}$CXXCPP" >&6
16139 ac_preproc_ok
=false
16140 for ac_cxx_preproc_warn_flag
in '' yes
16142 # Use a header file that comes with gcc, so configuring glibc
16143 # with a fresh cross-compiler works.
16144 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16145 # <limits.h> exists even on freestanding compilers.
16146 # On the NeXT, cc -E runs the code through the compiler's parser,
16147 # not just through cpp. "Syntax error" is here to catch this case.
16148 cat >conftest.
$ac_ext <<_ACEOF
16151 cat confdefs.h
>>conftest.
$ac_ext
16152 cat >>conftest.
$ac_ext <<_ACEOF
16153 /* end confdefs.h. */
16155 # include <limits.h>
16157 # include <assert.h>
16161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16164 grep -v '^ *+' conftest.er1
>conftest.err
16166 cat conftest.err
>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); } >/dev
/null
; then
16169 if test -s conftest.err
; then
16170 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16171 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16178 if test -z "$ac_cpp_err"; then
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.
$ac_ext >&5
16184 # Broken: fails on valid input.
16187 rm -f conftest.err conftest.
$ac_ext
16189 # OK, works on sane cases. Now check whether non-existent headers
16190 # can be detected and how.
16191 cat >conftest.
$ac_ext <<_ACEOF
16194 cat confdefs.h
>>conftest.
$ac_ext
16195 cat >>conftest.
$ac_ext <<_ACEOF
16196 /* end confdefs.h. */
16197 #include <ac_nonexistent.h>
16199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16200 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16202 grep -v '^ *+' conftest.er1
>conftest.err
16204 cat conftest.err
>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); } >/dev
/null
; then
16207 if test -s conftest.err
; then
16208 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16209 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16216 if test -z "$ac_cpp_err"; then
16217 # Broken: success on invalid input.
16220 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.
$ac_ext >&5
16223 # Passes both tests.
16227 rm -f conftest.err conftest.
$ac_ext
16230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16231 rm -f conftest.err conftest.
$ac_ext
16232 if $ac_preproc_ok; then
16235 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16236 See \`config.log' for more details." >&5
16237 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16238 See \`config.log' for more details." >&2;}
16239 { (exit 1); exit 1; }; }
16243 ac_cpp
='$CXXCPP $CPPFLAGS'
16244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16249 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16250 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16251 if test "${ac_cv_header_stdc+set}" = set; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 cat >conftest.
$ac_ext <<_ACEOF
16257 cat confdefs.h
>>conftest.
$ac_ext
16258 cat >>conftest.
$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 #include <stdlib.h>
16261 #include <stdarg.h>
16262 #include <string.h>
16273 rm -f conftest.
$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; } &&
16288 { ac_try
='test -s conftest.$ac_objext'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; }; then
16294 ac_cv_header_stdc
=yes
16296 echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.
$ac_ext >&5
16299 ac_cv_header_stdc
=no
16301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16303 if test $ac_cv_header_stdc = yes; then
16304 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16305 cat >conftest.
$ac_ext <<_ACEOF
16308 cat confdefs.h
>>conftest.
$ac_ext
16309 cat >>conftest.
$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 #include <string.h>
16314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16315 $EGREP "memchr" >/dev
/null
2>&1; then
16318 ac_cv_header_stdc
=no
16324 if test $ac_cv_header_stdc = yes; then
16325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16326 cat >conftest.
$ac_ext <<_ACEOF
16329 cat confdefs.h
>>conftest.
$ac_ext
16330 cat >>conftest.
$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 #include <stdlib.h>
16335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16336 $EGREP "free" >/dev
/null
2>&1; then
16339 ac_cv_header_stdc
=no
16345 if test $ac_cv_header_stdc = yes; then
16346 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16347 if test "$cross_compiling" = yes; then
16350 cat >conftest.
$ac_ext <<_ACEOF
16353 cat confdefs.h
>>conftest.
$ac_ext
16354 cat >>conftest.
$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16357 #if ((' ' & 0x0FF) == 0x020)
16358 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16359 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16361 # define ISLOWER(c) \
16362 (('a' <= (c) && (c) <= 'i') \
16363 || ('j' <= (c) && (c) <= 'r') \
16364 || ('s' <= (c) && (c) <= 'z'))
16365 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16368 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16373 for (i = 0; i < 256; i++)
16374 if (XOR (islower (i), ISLOWER (i))
16375 || toupper (i) != TOUPPER (i))
16380 rm -f conftest
$ac_exeext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16382 (eval $ac_link) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16393 echo "$as_me: program exited with status $ac_status" >&5
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.
$ac_ext >&5
16397 ( exit $ac_status )
16398 ac_cv_header_stdc
=no
16400 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16404 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16405 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16406 if test $ac_cv_header_stdc = yes; then
16408 cat >>confdefs.h
<<\_ACEOF
16409 #define STDC_HEADERS 1
16414 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16424 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16425 inttypes.h stdint.h unistd.h
16427 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16428 echo "$as_me:$LINENO: checking for $ac_header" >&5
16429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16431 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 cat >conftest.
$ac_ext <<_ACEOF
16436 cat confdefs.h
>>conftest.
$ac_ext
16437 cat >>conftest.
$ac_ext <<_ACEOF
16438 /* end confdefs.h. */
16439 $ac_includes_default
16441 #include <$ac_header>
16443 rm -f conftest.
$ac_objext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16445 (eval $ac_compile) 2>conftest.er1
16447 grep -v '^ *+' conftest.er1
>conftest.err
16449 cat conftest.err
>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } &&
16452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; } &&
16458 { ac_try
='test -s conftest.$ac_objext'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; }; then
16464 eval "$as_ac_Header=yes"
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.
$ac_ext >&5
16469 eval "$as_ac_Header=no"
16471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16476 cat >>confdefs.h
<<_ACEOF
16477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16486 for ac_header
in stdlib.h
16488 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16490 echo "$as_me:$LINENO: checking for $ac_header" >&5
16491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16498 # Is the header compilable?
16499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16501 cat >conftest.
$ac_ext <<_ACEOF
16504 cat confdefs.h
>>conftest.
$ac_ext
16505 cat >>conftest.
$ac_ext <<_ACEOF
16506 /* end confdefs.h. */
16507 $ac_includes_default
16508 #include <$ac_header>
16510 rm -f conftest.
$ac_objext
16511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16512 (eval $ac_compile) 2>conftest.er1
16514 grep -v '^ *+' conftest.er1
>conftest.err
16516 cat conftest.err
>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } &&
16519 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; } &&
16525 { ac_try
='test -s conftest.$ac_objext'
16526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16527 (eval $ac_try) 2>&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); }; }; then
16531 ac_header_compiler
=yes
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.
$ac_ext >&5
16536 ac_header_compiler
=no
16538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16540 echo "${ECHO_T}$ac_header_compiler" >&6
16542 # Is the header present?
16543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16545 cat >conftest.
$ac_ext <<_ACEOF
16548 cat confdefs.h
>>conftest.
$ac_ext
16549 cat >>conftest.
$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 #include <$ac_header>
16553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16556 grep -v '^ *+' conftest.er1
>conftest.err
16558 cat conftest.err
>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } >/dev
/null
; then
16561 if test -s conftest.err
; then
16562 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16563 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16570 if test -z "$ac_cpp_err"; then
16571 ac_header_preproc
=yes
16573 echo "$as_me: failed program was:" >&5
16574 sed 's/^/| /' conftest.
$ac_ext >&5
16576 ac_header_preproc
=no
16578 rm -f conftest.err conftest.
$ac_ext
16579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16580 echo "${ECHO_T}$ac_header_preproc" >&6
16582 # So? What about this header?
16583 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16589 ac_header_preproc
=yes
16592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16606 ## ----------------------------------------- ##
16607 ## Report this to wx-dev@lists.wxwidgets.org ##
16608 ## ----------------------------------------- ##
16611 sed "s/^/$as_me: WARNING: /" >&2
16614 echo "$as_me:$LINENO: checking for $ac_header" >&5
16615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16619 eval "$as_ac_Header=\$ac_header_preproc"
16621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16626 cat >>confdefs.h
<<_ACEOF
16627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16635 for ac_header
in malloc.h
16637 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16639 echo "$as_me:$LINENO: checking for $ac_header" >&5
16640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16642 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16647 # Is the header compilable?
16648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16650 cat >conftest.
$ac_ext <<_ACEOF
16653 cat confdefs.h
>>conftest.
$ac_ext
16654 cat >>conftest.
$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16656 $ac_includes_default
16657 #include <$ac_header>
16659 rm -f conftest.
$ac_objext
16660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16661 (eval $ac_compile) 2>conftest.er1
16663 grep -v '^ *+' conftest.er1
>conftest.err
16665 cat conftest.err
>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try
='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 ac_header_compiler
=yes
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.
$ac_ext >&5
16685 ac_header_compiler
=no
16687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16689 echo "${ECHO_T}$ac_header_compiler" >&6
16691 # Is the header present?
16692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16694 cat >conftest.
$ac_ext <<_ACEOF
16697 cat confdefs.h
>>conftest.
$ac_ext
16698 cat >>conftest.
$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 #include <$ac_header>
16702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1
>conftest.err
16707 cat conftest.err
>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } >/dev
/null
; then
16710 if test -s conftest.err
; then
16711 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16712 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16719 if test -z "$ac_cpp_err"; then
16720 ac_header_preproc
=yes
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 ac_header_preproc
=no
16727 rm -f conftest.err conftest.
$ac_ext
16728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16729 echo "${ECHO_T}$ac_header_preproc" >&6
16731 # So? What about this header?
16732 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16734 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16738 ac_header_preproc
=yes
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16745 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16747 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16748 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16751 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16755 ## ----------------------------------------- ##
16756 ## Report this to wx-dev@lists.wxwidgets.org ##
16757 ## ----------------------------------------- ##
16760 sed "s/^/$as_me: WARNING: /" >&2
16763 echo "$as_me:$LINENO: checking for $ac_header" >&5
16764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16768 eval "$as_ac_Header=\$ac_header_preproc"
16770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16775 cat >>confdefs.h
<<_ACEOF
16776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16784 for ac_header
in unistd.h
16786 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo "$as_me:$LINENO: checking for $ac_header" >&5
16789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16796 # Is the header compilable?
16797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16799 cat >conftest.
$ac_ext <<_ACEOF
16802 cat confdefs.h
>>conftest.
$ac_ext
16803 cat >>conftest.
$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 $ac_includes_default
16806 #include <$ac_header>
16808 rm -f conftest.
$ac_objext
16809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16810 (eval $ac_compile) 2>conftest.er1
16812 grep -v '^ *+' conftest.er1
>conftest.err
16814 cat conftest.err
>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } &&
16817 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; } &&
16823 { ac_try
='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 ac_header_compiler
=yes
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.
$ac_ext >&5
16834 ac_header_compiler
=no
16836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16838 echo "${ECHO_T}$ac_header_compiler" >&6
16840 # Is the header present?
16841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16843 cat >conftest.
$ac_ext <<_ACEOF
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 #include <$ac_header>
16851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16852 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16854 grep -v '^ *+' conftest.er1
>conftest.err
16856 cat conftest.err
>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } >/dev
/null
; then
16859 if test -s conftest.err
; then
16860 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16861 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16868 if test -z "$ac_cpp_err"; then
16869 ac_header_preproc
=yes
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.
$ac_ext >&5
16874 ac_header_preproc
=no
16876 rm -f conftest.err conftest.
$ac_ext
16877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16878 echo "${ECHO_T}$ac_header_preproc" >&6
16880 # So? What about this header?
16881 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16887 ac_header_preproc
=yes
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16904 ## ----------------------------------------- ##
16905 ## Report this to wx-dev@lists.wxwidgets.org ##
16906 ## ----------------------------------------- ##
16909 sed "s/^/$as_me: WARNING: /" >&2
16912 echo "$as_me:$LINENO: checking for $ac_header" >&5
16913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 eval "$as_ac_Header=\$ac_header_preproc"
16919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16924 cat >>confdefs.h
<<_ACEOF
16925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16933 for ac_header
in wchar.h
16935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16937 echo "$as_me:$LINENO: checking for $ac_header" >&5
16938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16945 # Is the header compilable?
16946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16948 cat >conftest.
$ac_ext <<_ACEOF
16951 cat confdefs.h
>>conftest.
$ac_ext
16952 cat >>conftest.
$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 $ac_includes_default
16955 #include <$ac_header>
16957 rm -f conftest.
$ac_objext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>conftest.er1
16961 grep -v '^ *+' conftest.er1
>conftest.err
16963 cat conftest.err
>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } &&
16966 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; } &&
16972 { ac_try
='test -s conftest.$ac_objext'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; }; then
16978 ac_header_compiler
=yes
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.
$ac_ext >&5
16983 ac_header_compiler
=no
16985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16987 echo "${ECHO_T}$ac_header_compiler" >&6
16989 # Is the header present?
16990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16992 cat >conftest.
$ac_ext <<_ACEOF
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998 #include <$ac_header>
17000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17003 grep -v '^ *+' conftest.er1
>conftest.err
17005 cat conftest.err
>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); } >/dev
/null
; then
17008 if test -s conftest.err
; then
17009 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17010 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17017 if test -z "$ac_cpp_err"; then
17018 ac_header_preproc
=yes
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.
$ac_ext >&5
17023 ac_header_preproc
=no
17025 rm -f conftest.err conftest.
$ac_ext
17026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17027 echo "${ECHO_T}$ac_header_preproc" >&6
17029 # So? What about this header?
17030 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17036 ac_header_preproc
=yes
17039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17053 ## ----------------------------------------- ##
17054 ## Report this to wx-dev@lists.wxwidgets.org ##
17055 ## ----------------------------------------- ##
17058 sed "s/^/$as_me: WARNING: /" >&2
17061 echo "$as_me:$LINENO: checking for $ac_header" >&5
17062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 eval "$as_ac_Header=\$ac_header_preproc"
17068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17073 cat >>confdefs.h
<<_ACEOF
17074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17082 if test "$ac_cv_header_wchar_h" != "yes"; then
17084 for ac_header
in wcstr.h
17086 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17088 echo "$as_me:$LINENO: checking for $ac_header" >&5
17089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17091 echo $ECHO_N "(cached) $ECHO_C" >&6
17093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17096 # Is the header compilable?
17097 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17099 cat >conftest.
$ac_ext <<_ACEOF
17102 cat confdefs.h
>>conftest.
$ac_ext
17103 cat >>conftest.
$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105 $ac_includes_default
17106 #include <$ac_header>
17108 rm -f conftest.
$ac_objext
17109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17110 (eval $ac_compile) 2>conftest.er1
17112 grep -v '^ *+' conftest.er1
>conftest.err
17114 cat conftest.err
>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } &&
17117 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; } &&
17123 { ac_try
='test -s conftest.$ac_objext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 ac_header_compiler
=yes
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.
$ac_ext >&5
17134 ac_header_compiler
=no
17136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17138 echo "${ECHO_T}$ac_header_compiler" >&6
17140 # Is the header present?
17141 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17143 cat >conftest.
$ac_ext <<_ACEOF
17146 cat confdefs.h
>>conftest.
$ac_ext
17147 cat >>conftest.
$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 #include <$ac_header>
17151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17154 grep -v '^ *+' conftest.er1
>conftest.err
17156 cat conftest.err
>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } >/dev
/null
; then
17159 if test -s conftest.err
; then
17160 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17161 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17168 if test -z "$ac_cpp_err"; then
17169 ac_header_preproc
=yes
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.
$ac_ext >&5
17174 ac_header_preproc
=no
17176 rm -f conftest.err conftest.
$ac_ext
17177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17178 echo "${ECHO_T}$ac_header_preproc" >&6
17180 # So? What about this header?
17181 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17187 ac_header_preproc
=yes
17190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17204 ## ----------------------------------------- ##
17205 ## Report this to wx-dev@lists.wxwidgets.org ##
17206 ## ----------------------------------------- ##
17209 sed "s/^/$as_me: WARNING: /" >&2
17212 echo "$as_me:$LINENO: checking for $ac_header" >&5
17213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17215 echo $ECHO_N "(cached) $ECHO_C" >&6
17217 eval "$as_ac_Header=\$ac_header_preproc"
17219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17224 cat >>confdefs.h
<<_ACEOF
17225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17235 for ac_header
in fnmatch.h
17237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17239 echo "$as_me:$LINENO: checking for $ac_header" >&5
17240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17242 echo $ECHO_N "(cached) $ECHO_C" >&6
17244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17247 # Is the header compilable?
17248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17250 cat >conftest.
$ac_ext <<_ACEOF
17253 cat confdefs.h
>>conftest.
$ac_ext
17254 cat >>conftest.
$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17256 $ac_includes_default
17257 #include <$ac_header>
17259 rm -f conftest.
$ac_objext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17261 (eval $ac_compile) 2>conftest.er1
17263 grep -v '^ *+' conftest.er1
>conftest.err
17265 cat conftest.err
>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; } &&
17274 { ac_try
='test -s conftest.$ac_objext'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; }; then
17280 ac_header_compiler
=yes
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.
$ac_ext >&5
17285 ac_header_compiler
=no
17287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17289 echo "${ECHO_T}$ac_header_compiler" >&6
17291 # Is the header present?
17292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 #include <$ac_header>
17302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17305 grep -v '^ *+' conftest.er1
>conftest.err
17307 cat conftest.err
>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); } >/dev
/null
; then
17310 if test -s conftest.err
; then
17311 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17312 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17319 if test -z "$ac_cpp_err"; then
17320 ac_header_preproc
=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17325 ac_header_preproc
=no
17327 rm -f conftest.err conftest.
$ac_ext
17328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17329 echo "${ECHO_T}$ac_header_preproc" >&6
17331 # So? What about this header?
17332 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17338 ac_header_preproc
=yes
17341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17355 ## ----------------------------------------- ##
17356 ## Report this to wx-dev@lists.wxwidgets.org ##
17357 ## ----------------------------------------- ##
17360 sed "s/^/$as_me: WARNING: /" >&2
17363 echo "$as_me:$LINENO: checking for $ac_header" >&5
17364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 eval "$as_ac_Header=\$ac_header_preproc"
17370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17375 cat >>confdefs.h
<<_ACEOF
17376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17385 for ac_header
in langinfo.h
17387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17389 echo "$as_me:$LINENO: checking for $ac_header" >&5
17390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17397 # Is the header compilable?
17398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17400 cat >conftest.
$ac_ext <<_ACEOF
17403 cat confdefs.h
>>conftest.
$ac_ext
17404 cat >>conftest.
$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17406 $ac_includes_default
17407 #include <$ac_header>
17409 rm -f conftest.
$ac_objext
17410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17411 (eval $ac_compile) 2>conftest.er1
17413 grep -v '^ *+' conftest.er1
>conftest.err
17415 cat conftest.err
>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } &&
17418 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; } &&
17424 { ac_try
='test -s conftest.$ac_objext'
17425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17426 (eval $ac_try) 2>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); }; }; then
17430 ac_header_compiler
=yes
17432 echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.
$ac_ext >&5
17435 ac_header_compiler
=no
17437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17439 echo "${ECHO_T}$ac_header_compiler" >&6
17441 # Is the header present?
17442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17444 cat >conftest.
$ac_ext <<_ACEOF
17447 cat confdefs.h
>>conftest.
$ac_ext
17448 cat >>conftest.
$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 #include <$ac_header>
17452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17455 grep -v '^ *+' conftest.er1
>conftest.err
17457 cat conftest.err
>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } >/dev
/null
; then
17460 if test -s conftest.err
; then
17461 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17462 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17469 if test -z "$ac_cpp_err"; then
17470 ac_header_preproc
=yes
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.
$ac_ext >&5
17475 ac_header_preproc
=no
17477 rm -f conftest.err conftest.
$ac_ext
17478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17479 echo "${ECHO_T}$ac_header_preproc" >&6
17481 # So? What about this header?
17482 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17488 ac_header_preproc
=yes
17491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17495 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17496 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17497 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17498 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17502 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17505 ## ----------------------------------------- ##
17506 ## Report this to wx-dev@lists.wxwidgets.org ##
17507 ## ----------------------------------------- ##
17510 sed "s/^/$as_me: WARNING: /" >&2
17513 echo "$as_me:$LINENO: checking for $ac_header" >&5
17514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17516 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 eval "$as_ac_Header=\$ac_header_preproc"
17520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17525 cat >>confdefs.h
<<_ACEOF
17526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17535 *-pc-os2_emx | *-pc-os2-emx )
17536 if test $ac_cv_header_langinfo_h = "yes" \
17537 -a \
( "$wx_cv_gccversion" = "EMX2" \
17538 -o "$wx_cv_gccversion" = "EMX3" \
17539 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17540 LIBS
="$LIBS -lintl"
17545 if test "$USE_UNIX" = 1 ; then
17547 for ac_header
in sys
/select.h
17549 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17551 echo "$as_me:$LINENO: checking for $ac_header" >&5
17552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17559 # Is the header compilable?
17560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17562 cat >conftest.
$ac_ext <<_ACEOF
17565 cat confdefs.h
>>conftest.
$ac_ext
17566 cat >>conftest.
$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17568 $ac_includes_default
17569 #include <$ac_header>
17571 rm -f conftest.
$ac_objext
17572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17573 (eval $ac_compile) 2>conftest.er1
17575 grep -v '^ *+' conftest.er1
>conftest.err
17577 cat conftest.err
>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } &&
17580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; } &&
17586 { ac_try
='test -s conftest.$ac_objext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 ac_header_compiler
=yes
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.
$ac_ext >&5
17597 ac_header_compiler
=no
17599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17601 echo "${ECHO_T}$ac_header_compiler" >&6
17603 # Is the header present?
17604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17606 cat >conftest.
$ac_ext <<_ACEOF
17609 cat confdefs.h
>>conftest.
$ac_ext
17610 cat >>conftest.
$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 #include <$ac_header>
17614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17615 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17617 grep -v '^ *+' conftest.er1
>conftest.err
17619 cat conftest.err
>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } >/dev
/null
; then
17622 if test -s conftest.err
; then
17623 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17624 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17631 if test -z "$ac_cpp_err"; then
17632 ac_header_preproc
=yes
17634 echo "$as_me: failed program was:" >&5
17635 sed 's/^/| /' conftest.
$ac_ext >&5
17637 ac_header_preproc
=no
17639 rm -f conftest.err conftest.
$ac_ext
17640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17641 echo "${ECHO_T}$ac_header_preproc" >&6
17643 # So? What about this header?
17644 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17646 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17650 ac_header_preproc
=yes
17653 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17655 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17656 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17657 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17659 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17660 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17667 ## ----------------------------------------- ##
17668 ## Report this to wx-dev@lists.wxwidgets.org ##
17669 ## ----------------------------------------- ##
17672 sed "s/^/$as_me: WARNING: /" >&2
17675 echo "$as_me:$LINENO: checking for $ac_header" >&5
17676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17678 echo $ECHO_N "(cached) $ECHO_C" >&6
17680 eval "$as_ac_Header=\$ac_header_preproc"
17682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17687 cat >>confdefs.h
<<_ACEOF
17688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17698 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17699 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17700 if test "${ac_cv_c_const+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 cat >conftest.
$ac_ext <<_ACEOF
17706 cat confdefs.h
>>conftest.
$ac_ext
17707 cat >>conftest.
$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17713 /* FIXME: Include the comments suggested by Paul. */
17714 #ifndef __cplusplus
17715 /* Ultrix mips cc rejects this. */
17716 typedef int charset[2];
17718 /* SunOS 4.1.1 cc rejects this. */
17719 char const *const *ccp;
17721 /* NEC SVR4.0.2 mips cc rejects this. */
17722 struct point {int x, y;};
17723 static struct point const zero = {0,0};
17724 /* AIX XL C 1.02.0.0 rejects this.
17725 It does not let you subtract one const X* pointer from another in
17726 an arm of an if-expression whose if-part is not a constant
17728 const char *g = "string";
17729 ccp = &g + (g ? g-g : 0);
17730 /* HPUX 7.0 cc rejects these. */
17733 ccp = (char const *const *) p;
17734 { /* SCO 3.2v4 cc rejects this. */
17736 char const *s = 0 ? (char *) 0 : (char const *) 0;
17740 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17741 int x[] = {25, 17};
17742 const int *foo = &x[0];
17745 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17746 typedef const int *iptr;
17750 { /* AIX XL C 1.02.0.0 rejects this saying
17751 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17752 struct s { int j; const int *ap[3]; };
17753 struct s *b; b->j = 5;
17755 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17756 const int foo = 10;
17764 rm -f conftest.
$ac_objext
17765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17766 (eval $ac_compile) 2>conftest.er1
17768 grep -v '^ *+' conftest.er1
>conftest.err
17770 cat conftest.err
>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } &&
17773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try
='test -s conftest.$ac_objext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.
$ac_ext >&5
17792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17794 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17795 echo "${ECHO_T}$ac_cv_c_const" >&6
17796 if test $ac_cv_c_const = no
; then
17798 cat >>confdefs.h
<<\_ACEOF
17804 echo "$as_me:$LINENO: checking for inline" >&5
17805 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17806 if test "${ac_cv_c_inline+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17810 for ac_kw
in inline __inline__ __inline
; do
17811 cat >conftest.
$ac_ext <<_ACEOF
17814 cat confdefs.h
>>conftest.
$ac_ext
17815 cat >>conftest.
$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 #ifndef __cplusplus
17819 static $ac_kw foo_t static_foo () {return 0; }
17820 $ac_kw foo_t foo () {return 0; }
17824 rm -f conftest.
$ac_objext
17825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17826 (eval $ac_compile) 2>conftest.er1
17828 grep -v '^ *+' conftest.er1
>conftest.err
17830 cat conftest.err
>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } &&
17833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; } &&
17839 { ac_try
='test -s conftest.$ac_objext'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; }; then
17845 ac_cv_c_inline
=$ac_kw; break
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.
$ac_ext >&5
17851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17855 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17856 echo "${ECHO_T}$ac_cv_c_inline" >&6
17859 case $ac_cv_c_inline in
17862 case $ac_cv_c_inline in
17864 *) ac_val
=$ac_cv_c_inline;;
17866 cat >>confdefs.h
<<_ACEOF
17867 #ifndef __cplusplus
17868 #define inline $ac_val
17875 echo "$as_me:$LINENO: checking for char" >&5
17876 echo $ECHO_N "checking for char... $ECHO_C" >&6
17877 if test "${ac_cv_type_char+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17880 cat >conftest.
$ac_ext <<_ACEOF
17883 cat confdefs.h
>>conftest.
$ac_ext
17884 cat >>conftest.
$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886 $ac_includes_default
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_cxx_werror_flag" || test ! -s conftest.err'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; } &&
17913 { ac_try
='test -s conftest.$ac_objext'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 ac_cv_type_char
=yes
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.
$ac_ext >&5
17926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17928 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17929 echo "${ECHO_T}$ac_cv_type_char" >&6
17931 echo "$as_me:$LINENO: checking size of char" >&5
17932 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17933 if test "${ac_cv_sizeof_char+set}" = set; then
17934 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 if test "$ac_cv_type_char" = yes; then
17937 # The cast to unsigned long works around a bug in the HP C Compiler
17938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17940 # This bug is HP SR number 8606223364.
17941 if test "$cross_compiling" = yes; then
17942 # Depending upon the size, compute the lo and hi bounds.
17943 cat >conftest.
$ac_ext <<_ACEOF
17946 cat confdefs.h
>>conftest.
$ac_ext
17947 cat >>conftest.
$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17953 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17960 rm -f conftest.
$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1
>conftest.err
17966 cat conftest.err
>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try
='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17983 cat >conftest.
$ac_ext <<_ACEOF
17986 cat confdefs.h
>>conftest.
$ac_ext
17987 cat >>conftest.
$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17993 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18000 rm -f conftest.
$ac_objext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18002 (eval $ac_compile) 2>conftest.er1
18004 grep -v '^ *+' conftest.er1
>conftest.err
18006 cat conftest.err
>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } &&
18009 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; } &&
18015 { ac_try
='test -s conftest.$ac_objext'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; }; then
18021 ac_hi
=$ac_mid; break
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.
$ac_ext >&5
18026 ac_lo
=`expr $ac_mid + 1`
18027 if test $ac_lo -le $ac_mid; then
18031 ac_mid
=`expr 2 '*' $ac_mid + 1`
18033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18036 echo "$as_me: failed program was:" >&5
18037 sed 's/^/| /' conftest.
$ac_ext >&5
18039 cat >conftest.
$ac_ext <<_ACEOF
18042 cat confdefs.h
>>conftest.
$ac_ext
18043 cat >>conftest.
$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18045 $ac_includes_default
18049 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18056 rm -f conftest.
$ac_objext
18057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18058 (eval $ac_compile) 2>conftest.er1
18060 grep -v '^ *+' conftest.er1
>conftest.err
18062 cat conftest.err
>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } &&
18065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; } &&
18071 { ac_try
='test -s conftest.$ac_objext'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; }; then
18079 cat >conftest.
$ac_ext <<_ACEOF
18082 cat confdefs.h
>>conftest.
$ac_ext
18083 cat >>conftest.
$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18089 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18096 rm -f conftest.
$ac_objext
18097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18098 (eval $ac_compile) 2>conftest.er1
18100 grep -v '^ *+' conftest.er1
>conftest.err
18102 cat conftest.err
>&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); } &&
18105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try
='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18117 ac_lo
=$ac_mid; break
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.
$ac_ext >&5
18122 ac_hi
=`expr '(' $ac_mid ')' - 1`
18123 if test $ac_mid -le $ac_hi; then
18127 ac_mid
=`expr 2 '*' $ac_mid`
18129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.
$ac_ext >&5
18137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18140 # Binary search between lo and hi bounds.
18141 while test "x$ac_lo" != "x$ac_hi"; do
18142 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18143 cat >conftest.
$ac_ext <<_ACEOF
18146 cat confdefs.h
>>conftest.
$ac_ext
18147 cat >>conftest.
$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 $ac_includes_default
18153 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18160 rm -f conftest.
$ac_objext
18161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18162 (eval $ac_compile) 2>conftest.er1
18164 grep -v '^ *+' conftest.er1
>conftest.err
18166 cat conftest.err
>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } &&
18169 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; } &&
18175 { ac_try
='test -s conftest.$ac_objext'
18176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18177 (eval $ac_try) 2>&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); }; }; then
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.
$ac_ext >&5
18186 ac_lo
=`expr '(' $ac_mid ')' + 1`
18188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18191 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18192 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18193 See \`config.log' for more details." >&5
18194 echo "$as_me: error: cannot compute sizeof (char), 77
18195 See \`config.log' for more details." >&2;}
18196 { (exit 1); exit 1; }; } ;;
18199 if test "$cross_compiling" = yes; then
18200 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18201 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18202 { (exit 1); exit 1; }; }
18204 cat >conftest.
$ac_ext <<_ACEOF
18207 cat confdefs.h
>>conftest.
$ac_ext
18208 cat >>conftest.
$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18210 $ac_includes_default
18211 long longval () { return (long) (sizeof (char)); }
18212 unsigned long ulongval () { return (long) (sizeof (char)); }
18214 #include <stdlib.h>
18219 FILE *f = fopen ("conftest.val", "w");
18222 if (((long) (sizeof (char))) < 0)
18224 long i = longval ();
18225 if (i != ((long) (sizeof (char))))
18227 fprintf (f, "%ld\n", i);
18231 unsigned long i = ulongval ();
18232 if (i != ((long) (sizeof (char))))
18234 fprintf (f, "%lu\n", i);
18236 exit (ferror (f) || fclose (f) != 0);
18242 rm -f conftest
$ac_exeext
18243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18244 (eval $ac_link) 2>&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; }; then
18253 ac_cv_sizeof_char
=`cat conftest.val`
18255 echo "$as_me: program exited with status $ac_status" >&5
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.
$ac_ext >&5
18259 ( exit $ac_status )
18260 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18261 See \`config.log' for more details." >&5
18262 echo "$as_me: error: cannot compute sizeof (char), 77
18263 See \`config.log' for more details." >&2;}
18264 { (exit 1); exit 1; }; }
18266 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18271 ac_cv_sizeof_char
=0
18274 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18275 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18276 cat >>confdefs.h
<<_ACEOF
18277 #define SIZEOF_CHAR $ac_cv_sizeof_char
18281 echo "$as_me:$LINENO: checking for short" >&5
18282 echo $ECHO_N "checking for short... $ECHO_C" >&6
18283 if test "${ac_cv_type_short+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 cat >conftest.
$ac_ext <<_ACEOF
18289 cat confdefs.h
>>conftest.
$ac_ext
18290 cat >>conftest.
$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 $ac_includes_default
18298 if (sizeof (short))
18304 rm -f conftest.
$ac_objext
18305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18306 (eval $ac_compile) 2>conftest.er1
18308 grep -v '^ *+' conftest.er1
>conftest.err
18310 cat conftest.err
>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); } &&
18313 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; } &&
18319 { ac_try
='test -s conftest.$ac_objext'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18325 ac_cv_type_short
=yes
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.
$ac_ext >&5
18330 ac_cv_type_short
=no
18332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18334 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18335 echo "${ECHO_T}$ac_cv_type_short" >&6
18337 echo "$as_me:$LINENO: checking size of short" >&5
18338 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18339 if test "${ac_cv_sizeof_short+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18342 if test "$ac_cv_type_short" = yes; then
18343 # The cast to unsigned long works around a bug in the HP C Compiler
18344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18346 # This bug is HP SR number 8606223364.
18347 if test "$cross_compiling" = yes; then
18348 # Depending upon the size, compute the lo and hi bounds.
18349 cat >conftest.
$ac_ext <<_ACEOF
18352 cat confdefs.h
>>conftest.
$ac_ext
18353 cat >>conftest.
$ac_ext <<_ACEOF
18354 /* end confdefs.h. */
18355 $ac_includes_default
18359 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18366 rm -f conftest.
$ac_objext
18367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18368 (eval $ac_compile) 2>conftest.er1
18370 grep -v '^ *+' conftest.er1
>conftest.err
18372 cat conftest.err
>&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); } &&
18375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; } &&
18381 { ac_try
='test -s conftest.$ac_objext'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; }; then
18389 cat >conftest.
$ac_ext <<_ACEOF
18392 cat confdefs.h
>>conftest.
$ac_ext
18393 cat >>conftest.
$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 $ac_includes_default
18399 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18406 rm -f conftest.
$ac_objext
18407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18408 (eval $ac_compile) 2>conftest.er1
18410 grep -v '^ *+' conftest.er1
>conftest.err
18412 cat conftest.err
>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } &&
18415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417 (eval $ac_try) 2>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; } &&
18421 { ac_try
='test -s conftest.$ac_objext'
18422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18423 (eval $ac_try) 2>&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); }; }; then
18427 ac_hi
=$ac_mid; break
18429 echo "$as_me: failed program was:" >&5
18430 sed 's/^/| /' conftest.
$ac_ext >&5
18432 ac_lo
=`expr $ac_mid + 1`
18433 if test $ac_lo -le $ac_mid; then
18437 ac_mid
=`expr 2 '*' $ac_mid + 1`
18439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.
$ac_ext >&5
18445 cat >conftest.
$ac_ext <<_ACEOF
18448 cat confdefs.h
>>conftest.
$ac_ext
18449 cat >>conftest.
$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 $ac_includes_default
18455 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18462 rm -f conftest.
$ac_objext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18464 (eval $ac_compile) 2>conftest.er1
18466 grep -v '^ *+' conftest.er1
>conftest.err
18468 cat conftest.err
>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; } &&
18477 { ac_try
='test -s conftest.$ac_objext'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; }; then
18485 cat >conftest.
$ac_ext <<_ACEOF
18488 cat confdefs.h
>>conftest.
$ac_ext
18489 cat >>conftest.
$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 $ac_includes_default
18495 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18502 rm -f conftest.
$ac_objext
18503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18504 (eval $ac_compile) 2>conftest.er1
18506 grep -v '^ *+' conftest.er1
>conftest.err
18508 cat conftest.err
>&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } &&
18511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18513 (eval $ac_try) 2>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; } &&
18517 { ac_try
='test -s conftest.$ac_objext'
18518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18519 (eval $ac_try) 2>&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); }; }; then
18523 ac_lo
=$ac_mid; break
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.
$ac_ext >&5
18528 ac_hi
=`expr '(' $ac_mid ')' - 1`
18529 if test $ac_mid -le $ac_hi; then
18533 ac_mid
=`expr 2 '*' $ac_mid`
18535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.
$ac_ext >&5
18543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18546 # Binary search between lo and hi bounds.
18547 while test "x$ac_lo" != "x$ac_hi"; do
18548 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18549 cat >conftest.
$ac_ext <<_ACEOF
18552 cat confdefs.h
>>conftest.
$ac_ext
18553 cat >>conftest.
$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555 $ac_includes_default
18559 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18566 rm -f conftest.
$ac_objext
18567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18568 (eval $ac_compile) 2>conftest.er1
18570 grep -v '^ *+' conftest.er1
>conftest.err
18572 cat conftest.err
>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); } &&
18575 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577 (eval $ac_try) 2>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try
='test -s conftest.$ac_objext'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; }; then
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.
$ac_ext >&5
18592 ac_lo
=`expr '(' $ac_mid ')' + 1`
18594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18597 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18598 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18599 See \`config.log' for more details." >&5
18600 echo "$as_me: error: cannot compute sizeof (short), 77
18601 See \`config.log' for more details." >&2;}
18602 { (exit 1); exit 1; }; } ;;
18605 if test "$cross_compiling" = yes; then
18606 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18607 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18608 { (exit 1); exit 1; }; }
18610 cat >conftest.
$ac_ext <<_ACEOF
18613 cat confdefs.h
>>conftest.
$ac_ext
18614 cat >>conftest.
$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 $ac_includes_default
18617 long longval () { return (long) (sizeof (short)); }
18618 unsigned long ulongval () { return (long) (sizeof (short)); }
18620 #include <stdlib.h>
18625 FILE *f = fopen ("conftest.val", "w");
18628 if (((long) (sizeof (short))) < 0)
18630 long i = longval ();
18631 if (i != ((long) (sizeof (short))))
18633 fprintf (f, "%ld\n", i);
18637 unsigned long i = ulongval ();
18638 if (i != ((long) (sizeof (short))))
18640 fprintf (f, "%lu\n", i);
18642 exit (ferror (f) || fclose (f) != 0);
18648 rm -f conftest
$ac_exeext
18649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18650 (eval $ac_link) 2>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; }; then
18659 ac_cv_sizeof_short
=`cat conftest.val`
18661 echo "$as_me: program exited with status $ac_status" >&5
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.
$ac_ext >&5
18665 ( exit $ac_status )
18666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18667 See \`config.log' for more details." >&5
18668 echo "$as_me: error: cannot compute sizeof (short), 77
18669 See \`config.log' for more details." >&2;}
18670 { (exit 1); exit 1; }; }
18672 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18677 ac_cv_sizeof_short
=0
18680 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18681 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18682 cat >>confdefs.h
<<_ACEOF
18683 #define SIZEOF_SHORT $ac_cv_sizeof_short
18687 echo "$as_me:$LINENO: checking for void *" >&5
18688 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18689 if test "${ac_cv_type_void_p+set}" = set; then
18690 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 cat >conftest.
$ac_ext <<_ACEOF
18695 cat confdefs.h
>>conftest.
$ac_ext
18696 cat >>conftest.
$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18704 if (sizeof (void *))
18710 rm -f conftest.
$ac_objext
18711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18712 (eval $ac_compile) 2>conftest.er1
18714 grep -v '^ *+' conftest.er1
>conftest.err
18716 cat conftest.err
>&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } &&
18719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; } &&
18725 { ac_try
='test -s conftest.$ac_objext'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 ac_cv_type_void_p
=yes
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.
$ac_ext >&5
18736 ac_cv_type_void_p
=no
18738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18740 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18741 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18743 echo "$as_me:$LINENO: checking size of void *" >&5
18744 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18745 if test "${ac_cv_sizeof_void_p+set}" = set; then
18746 echo $ECHO_N "(cached) $ECHO_C" >&6
18748 if test "$ac_cv_type_void_p" = yes; then
18749 # The cast to unsigned long works around a bug in the HP C Compiler
18750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18751 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18752 # This bug is HP SR number 8606223364.
18753 if test "$cross_compiling" = yes; then
18754 # Depending upon the size, compute the lo and hi bounds.
18755 cat >conftest.
$ac_ext <<_ACEOF
18758 cat confdefs.h
>>conftest.
$ac_ext
18759 cat >>conftest.
$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 $ac_includes_default
18765 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18772 rm -f conftest.
$ac_objext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18774 (eval $ac_compile) 2>conftest.er1
18776 grep -v '^ *+' conftest.er1
>conftest.err
18778 cat conftest.err
>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } &&
18781 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; } &&
18787 { ac_try
='test -s conftest.$ac_objext'
18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789 (eval $ac_try) 2>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; }; then
18795 cat >conftest.
$ac_ext <<_ACEOF
18798 cat confdefs.h
>>conftest.
$ac_ext
18799 cat >>conftest.
$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 $ac_includes_default
18805 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18812 rm -f conftest.
$ac_objext
18813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18814 (eval $ac_compile) 2>conftest.er1
18816 grep -v '^ *+' conftest.er1
>conftest.err
18818 cat conftest.err
>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } &&
18821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18823 (eval $ac_try) 2>&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); }; } &&
18827 { ac_try
='test -s conftest.$ac_objext'
18828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18829 (eval $ac_try) 2>&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); }; }; then
18833 ac_hi
=$ac_mid; break
18835 echo "$as_me: failed program was:" >&5
18836 sed 's/^/| /' conftest.
$ac_ext >&5
18838 ac_lo
=`expr $ac_mid + 1`
18839 if test $ac_lo -le $ac_mid; then
18843 ac_mid
=`expr 2 '*' $ac_mid + 1`
18845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.
$ac_ext >&5
18851 cat >conftest.
$ac_ext <<_ACEOF
18854 cat confdefs.h
>>conftest.
$ac_ext
18855 cat >>conftest.
$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 $ac_includes_default
18861 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18868 rm -f conftest.
$ac_objext
18869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18870 (eval $ac_compile) 2>conftest.er1
18872 grep -v '^ *+' conftest.er1
>conftest.err
18874 cat conftest.err
>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); } &&
18877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; } &&
18883 { ac_try
='test -s conftest.$ac_objext'
18884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18885 (eval $ac_try) 2>&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); }; }; then
18891 cat >conftest.
$ac_ext <<_ACEOF
18894 cat confdefs.h
>>conftest.
$ac_ext
18895 cat >>conftest.
$ac_ext <<_ACEOF
18896 /* end confdefs.h. */
18897 $ac_includes_default
18901 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18908 rm -f conftest.
$ac_objext
18909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18910 (eval $ac_compile) 2>conftest.er1
18912 grep -v '^ *+' conftest.er1
>conftest.err
18914 cat conftest.err
>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
18917 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; } &&
18923 { ac_try
='test -s conftest.$ac_objext'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; }; then
18929 ac_lo
=$ac_mid; break
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.
$ac_ext >&5
18934 ac_hi
=`expr '(' $ac_mid ')' - 1`
18935 if test $ac_mid -le $ac_hi; then
18939 ac_mid
=`expr 2 '*' $ac_mid`
18941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.
$ac_ext >&5
18949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18952 # Binary search between lo and hi bounds.
18953 while test "x$ac_lo" != "x$ac_hi"; do
18954 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18955 cat >conftest.
$ac_ext <<_ACEOF
18958 cat confdefs.h
>>conftest.
$ac_ext
18959 cat >>conftest.
$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18961 $ac_includes_default
18965 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18972 rm -f conftest.
$ac_objext
18973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18974 (eval $ac_compile) 2>conftest.er1
18976 grep -v '^ *+' conftest.er1
>conftest.err
18978 cat conftest.err
>&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); } &&
18981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983 (eval $ac_try) 2>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); }; } &&
18987 { ac_try
='test -s conftest.$ac_objext'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; }; then
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 ac_lo
=`expr '(' $ac_mid ')' + 1`
19000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19003 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19004 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19005 See \`config.log' for more details." >&5
19006 echo "$as_me: error: cannot compute sizeof (void *), 77
19007 See \`config.log' for more details." >&2;}
19008 { (exit 1); exit 1; }; } ;;
19011 if test "$cross_compiling" = yes; then
19012 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19013 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19014 { (exit 1); exit 1; }; }
19016 cat >conftest.
$ac_ext <<_ACEOF
19019 cat confdefs.h
>>conftest.
$ac_ext
19020 cat >>conftest.
$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19022 $ac_includes_default
19023 long longval () { return (long) (sizeof (void *)); }
19024 unsigned long ulongval () { return (long) (sizeof (void *)); }
19026 #include <stdlib.h>
19031 FILE *f = fopen ("conftest.val", "w");
19034 if (((long) (sizeof (void *))) < 0)
19036 long i = longval ();
19037 if (i != ((long) (sizeof (void *))))
19039 fprintf (f, "%ld\n", i);
19043 unsigned long i = ulongval ();
19044 if (i != ((long) (sizeof (void *))))
19046 fprintf (f, "%lu\n", i);
19048 exit (ferror (f) || fclose (f) != 0);
19054 rm -f conftest
$ac_exeext
19055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19056 (eval $ac_link) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; }; then
19065 ac_cv_sizeof_void_p
=`cat conftest.val`
19067 echo "$as_me: program exited with status $ac_status" >&5
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.
$ac_ext >&5
19071 ( exit $ac_status )
19072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19073 See \`config.log' for more details." >&5
19074 echo "$as_me: error: cannot compute sizeof (void *), 77
19075 See \`config.log' for more details." >&2;}
19076 { (exit 1); exit 1; }; }
19078 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19083 ac_cv_sizeof_void_p
=0
19086 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19087 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19088 cat >>confdefs.h
<<_ACEOF
19089 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19093 echo "$as_me:$LINENO: checking for int" >&5
19094 echo $ECHO_N "checking for int... $ECHO_C" >&6
19095 if test "${ac_cv_type_int+set}" = set; then
19096 echo $ECHO_N "(cached) $ECHO_C" >&6
19098 cat >conftest.
$ac_ext <<_ACEOF
19101 cat confdefs.h
>>conftest.
$ac_ext
19102 cat >>conftest.
$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 $ac_includes_default
19116 rm -f conftest.
$ac_objext
19117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19118 (eval $ac_compile) 2>conftest.er1
19120 grep -v '^ *+' conftest.er1
>conftest.err
19122 cat conftest.err
>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } &&
19125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19127 (eval $ac_try) 2>&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); }; } &&
19131 { ac_try
='test -s conftest.$ac_objext'
19132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19133 (eval $ac_try) 2>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }; }; then
19139 echo "$as_me: failed program was:" >&5
19140 sed 's/^/| /' conftest.
$ac_ext >&5
19144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19146 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19147 echo "${ECHO_T}$ac_cv_type_int" >&6
19149 echo "$as_me:$LINENO: checking size of int" >&5
19150 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19151 if test "${ac_cv_sizeof_int+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 if test "$ac_cv_type_int" = yes; then
19155 # The cast to unsigned long works around a bug in the HP C Compiler
19156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19158 # This bug is HP SR number 8606223364.
19159 if test "$cross_compiling" = yes; then
19160 # Depending upon the size, compute the lo and hi bounds.
19161 cat >conftest.
$ac_ext <<_ACEOF
19164 cat confdefs.h
>>conftest.
$ac_ext
19165 cat >>conftest.
$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167 $ac_includes_default
19171 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19178 rm -f conftest.
$ac_objext
19179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19180 (eval $ac_compile) 2>conftest.er1
19182 grep -v '^ *+' conftest.er1
>conftest.err
19184 cat conftest.err
>&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; } &&
19193 { ac_try
='test -s conftest.$ac_objext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19201 cat >conftest.
$ac_ext <<_ACEOF
19204 cat confdefs.h
>>conftest.
$ac_ext
19205 cat >>conftest.
$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 $ac_includes_default
19211 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19218 rm -f conftest.
$ac_objext
19219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19220 (eval $ac_compile) 2>conftest.er1
19222 grep -v '^ *+' conftest.er1
>conftest.err
19224 cat conftest.err
>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } &&
19227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; } &&
19233 { ac_try
='test -s conftest.$ac_objext'
19234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235 (eval $ac_try) 2>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); }; }; then
19239 ac_hi
=$ac_mid; break
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.
$ac_ext >&5
19244 ac_lo
=`expr $ac_mid + 1`
19245 if test $ac_lo -le $ac_mid; then
19249 ac_mid
=`expr 2 '*' $ac_mid + 1`
19251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.
$ac_ext >&5
19257 cat >conftest.
$ac_ext <<_ACEOF
19260 cat confdefs.h
>>conftest.
$ac_ext
19261 cat >>conftest.
$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 $ac_includes_default
19267 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19274 rm -f conftest.
$ac_objext
19275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19276 (eval $ac_compile) 2>conftest.er1
19278 grep -v '^ *+' conftest.er1
>conftest.err
19280 cat conftest.err
>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } &&
19283 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; } &&
19289 { ac_try
='test -s conftest.$ac_objext'
19290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19291 (eval $ac_try) 2>&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); }; }; then
19297 cat >conftest.
$ac_ext <<_ACEOF
19300 cat confdefs.h
>>conftest.
$ac_ext
19301 cat >>conftest.
$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 $ac_includes_default
19307 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19314 rm -f conftest.
$ac_objext
19315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19316 (eval $ac_compile) 2>conftest.er1
19318 grep -v '^ *+' conftest.er1
>conftest.err
19320 cat conftest.err
>&5
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); } &&
19323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; } &&
19329 { ac_try
='test -s conftest.$ac_objext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 ac_lo
=$ac_mid; break
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.
$ac_ext >&5
19340 ac_hi
=`expr '(' $ac_mid ')' - 1`
19341 if test $ac_mid -le $ac_hi; then
19345 ac_mid
=`expr 2 '*' $ac_mid`
19347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.
$ac_ext >&5
19355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19358 # Binary search between lo and hi bounds.
19359 while test "x$ac_lo" != "x$ac_hi"; do
19360 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19361 cat >conftest.
$ac_ext <<_ACEOF
19364 cat confdefs.h
>>conftest.
$ac_ext
19365 cat >>conftest.
$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367 $ac_includes_default
19371 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19378 rm -f conftest.
$ac_objext
19379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19380 (eval $ac_compile) 2>conftest.er1
19382 grep -v '^ *+' conftest.er1
>conftest.err
19384 cat conftest.err
>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } &&
19387 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; } &&
19393 { ac_try
='test -s conftest.$ac_objext'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; }; then
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.
$ac_ext >&5
19404 ac_lo
=`expr '(' $ac_mid ')' + 1`
19406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19409 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19410 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19411 See \`config.log' for more details." >&5
19412 echo "$as_me: error: cannot compute sizeof (int), 77
19413 See \`config.log' for more details." >&2;}
19414 { (exit 1); exit 1; }; } ;;
19417 if test "$cross_compiling" = yes; then
19418 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19419 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19420 { (exit 1); exit 1; }; }
19422 cat >conftest.
$ac_ext <<_ACEOF
19425 cat confdefs.h
>>conftest.
$ac_ext
19426 cat >>conftest.
$ac_ext <<_ACEOF
19427 /* end confdefs.h. */
19428 $ac_includes_default
19429 long longval () { return (long) (sizeof (int)); }
19430 unsigned long ulongval () { return (long) (sizeof (int)); }
19432 #include <stdlib.h>
19437 FILE *f = fopen ("conftest.val", "w");
19440 if (((long) (sizeof (int))) < 0)
19442 long i = longval ();
19443 if (i != ((long) (sizeof (int))))
19445 fprintf (f, "%ld\n", i);
19449 unsigned long i = ulongval ();
19450 if (i != ((long) (sizeof (int))))
19452 fprintf (f, "%lu\n", i);
19454 exit (ferror (f) || fclose (f) != 0);
19460 rm -f conftest
$ac_exeext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19462 (eval $ac_link) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 ac_cv_sizeof_int
=`cat conftest.val`
19473 echo "$as_me: program exited with status $ac_status" >&5
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.
$ac_ext >&5
19477 ( exit $ac_status )
19478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19479 See \`config.log' for more details." >&5
19480 echo "$as_me: error: cannot compute sizeof (int), 77
19481 See \`config.log' for more details." >&2;}
19482 { (exit 1); exit 1; }; }
19484 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19492 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19493 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19494 cat >>confdefs.h
<<_ACEOF
19495 #define SIZEOF_INT $ac_cv_sizeof_int
19499 echo "$as_me:$LINENO: checking for long" >&5
19500 echo $ECHO_N "checking for long... $ECHO_C" >&6
19501 if test "${ac_cv_type_long+set}" = set; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19504 cat >conftest.
$ac_ext <<_ACEOF
19507 cat confdefs.h
>>conftest.
$ac_ext
19508 cat >>conftest.
$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510 $ac_includes_default
19522 rm -f conftest.
$ac_objext
19523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19524 (eval $ac_compile) 2>conftest.er1
19526 grep -v '^ *+' conftest.er1
>conftest.err
19528 cat conftest.err
>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } &&
19531 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; } &&
19537 { ac_try
='test -s conftest.$ac_objext'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; }; then
19543 ac_cv_type_long
=yes
19545 echo "$as_me: failed program was:" >&5
19546 sed 's/^/| /' conftest.
$ac_ext >&5
19550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19552 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19553 echo "${ECHO_T}$ac_cv_type_long" >&6
19555 echo "$as_me:$LINENO: checking size of long" >&5
19556 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19557 if test "${ac_cv_sizeof_long+set}" = set; then
19558 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 if test "$ac_cv_type_long" = yes; then
19561 # The cast to unsigned long works around a bug in the HP C Compiler
19562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19564 # This bug is HP SR number 8606223364.
19565 if test "$cross_compiling" = yes; then
19566 # Depending upon the size, compute the lo and hi bounds.
19567 cat >conftest.
$ac_ext <<_ACEOF
19570 cat confdefs.h
>>conftest.
$ac_ext
19571 cat >>conftest.
$ac_ext <<_ACEOF
19572 /* end confdefs.h. */
19573 $ac_includes_default
19577 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19584 rm -f conftest.
$ac_objext
19585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19586 (eval $ac_compile) 2>conftest.er1
19588 grep -v '^ *+' conftest.er1
>conftest.err
19590 cat conftest.err
>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595 (eval $ac_try) 2>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; } &&
19599 { ac_try
='test -s conftest.$ac_objext'
19600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19601 (eval $ac_try) 2>&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); }; }; then
19607 cat >conftest.
$ac_ext <<_ACEOF
19610 cat confdefs.h
>>conftest.
$ac_ext
19611 cat >>conftest.
$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 $ac_includes_default
19617 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19624 rm -f conftest.
$ac_objext
19625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19626 (eval $ac_compile) 2>conftest.er1
19628 grep -v '^ *+' conftest.er1
>conftest.err
19630 cat conftest.err
>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); } &&
19633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; } &&
19639 { ac_try
='test -s conftest.$ac_objext'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19645 ac_hi
=$ac_mid; break
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.
$ac_ext >&5
19650 ac_lo
=`expr $ac_mid + 1`
19651 if test $ac_lo -le $ac_mid; then
19655 ac_mid
=`expr 2 '*' $ac_mid + 1`
19657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.
$ac_ext >&5
19663 cat >conftest.
$ac_ext <<_ACEOF
19666 cat confdefs.h
>>conftest.
$ac_ext
19667 cat >>conftest.
$ac_ext <<_ACEOF
19668 /* end confdefs.h. */
19669 $ac_includes_default
19673 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19680 rm -f conftest.
$ac_objext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19682 (eval $ac_compile) 2>conftest.er1
19684 grep -v '^ *+' conftest.er1
>conftest.err
19686 cat conftest.err
>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } &&
19689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; } &&
19695 { ac_try
='test -s conftest.$ac_objext'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; }; then
19703 cat >conftest.
$ac_ext <<_ACEOF
19706 cat confdefs.h
>>conftest.
$ac_ext
19707 cat >>conftest.
$ac_ext <<_ACEOF
19708 /* end confdefs.h. */
19709 $ac_includes_default
19713 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19720 rm -f conftest.
$ac_objext
19721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19722 (eval $ac_compile) 2>conftest.er1
19724 grep -v '^ *+' conftest.er1
>conftest.err
19726 cat conftest.err
>&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); } &&
19729 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; } &&
19735 { ac_try
='test -s conftest.$ac_objext'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; }; then
19741 ac_lo
=$ac_mid; break
19743 echo "$as_me: failed program was:" >&5
19744 sed 's/^/| /' conftest.
$ac_ext >&5
19746 ac_hi
=`expr '(' $ac_mid ')' - 1`
19747 if test $ac_mid -le $ac_hi; then
19751 ac_mid
=`expr 2 '*' $ac_mid`
19753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.
$ac_ext >&5
19761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19764 # Binary search between lo and hi bounds.
19765 while test "x$ac_lo" != "x$ac_hi"; do
19766 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19767 cat >conftest.
$ac_ext <<_ACEOF
19770 cat confdefs.h
>>conftest.
$ac_ext
19771 cat >>conftest.
$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 $ac_includes_default
19777 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19784 rm -f conftest.
$ac_objext
19785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19786 (eval $ac_compile) 2>conftest.er1
19788 grep -v '^ *+' conftest.er1
>conftest.err
19790 cat conftest.err
>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); } &&
19793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; } &&
19799 { ac_try
='test -s conftest.$ac_objext'
19800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801 (eval $ac_try) 2>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); }; }; then
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.
$ac_ext >&5
19810 ac_lo
=`expr '(' $ac_mid ')' + 1`
19812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19815 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19816 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19817 See \`config.log' for more details." >&5
19818 echo "$as_me: error: cannot compute sizeof (long), 77
19819 See \`config.log' for more details." >&2;}
19820 { (exit 1); exit 1; }; } ;;
19823 if test "$cross_compiling" = yes; then
19824 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19825 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19826 { (exit 1); exit 1; }; }
19828 cat >conftest.
$ac_ext <<_ACEOF
19831 cat confdefs.h
>>conftest.
$ac_ext
19832 cat >>conftest.
$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 $ac_includes_default
19835 long longval () { return (long) (sizeof (long)); }
19836 unsigned long ulongval () { return (long) (sizeof (long)); }
19838 #include <stdlib.h>
19843 FILE *f = fopen ("conftest.val", "w");
19846 if (((long) (sizeof (long))) < 0)
19848 long i = longval ();
19849 if (i != ((long) (sizeof (long))))
19851 fprintf (f, "%ld\n", i);
19855 unsigned long i = ulongval ();
19856 if (i != ((long) (sizeof (long))))
19858 fprintf (f, "%lu\n", i);
19860 exit (ferror (f) || fclose (f) != 0);
19866 rm -f conftest
$ac_exeext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19868 (eval $ac_link) 2>&5
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; }; then
19877 ac_cv_sizeof_long
=`cat conftest.val`
19879 echo "$as_me: program exited with status $ac_status" >&5
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.
$ac_ext >&5
19883 ( exit $ac_status )
19884 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19885 See \`config.log' for more details." >&5
19886 echo "$as_me: error: cannot compute sizeof (long), 77
19887 See \`config.log' for more details." >&2;}
19888 { (exit 1); exit 1; }; }
19890 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19895 ac_cv_sizeof_long
=0
19898 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19899 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19900 cat >>confdefs.h
<<_ACEOF
19901 #define SIZEOF_LONG $ac_cv_sizeof_long
19905 echo "$as_me:$LINENO: checking for size_t" >&5
19906 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19907 if test "${ac_cv_type_size_t+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19910 cat >conftest.
$ac_ext <<_ACEOF
19913 cat confdefs.h
>>conftest.
$ac_ext
19914 cat >>conftest.
$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19916 $ac_includes_default
19922 if (sizeof (size_t))
19928 rm -f conftest.
$ac_objext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19930 (eval $ac_compile) 2>conftest.er1
19932 grep -v '^ *+' conftest.er1
>conftest.err
19934 cat conftest.err
>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; } &&
19943 { ac_try
='test -s conftest.$ac_objext'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; }; then
19949 ac_cv_type_size_t
=yes
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.
$ac_ext >&5
19954 ac_cv_type_size_t
=no
19956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19958 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19959 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19961 echo "$as_me:$LINENO: checking size of size_t" >&5
19962 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19963 if test "${ac_cv_sizeof_size_t+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 if test "$ac_cv_type_size_t" = yes; then
19967 # The cast to unsigned long works around a bug in the HP C Compiler
19968 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19969 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19970 # This bug is HP SR number 8606223364.
19971 if test "$cross_compiling" = yes; then
19972 # Depending upon the size, compute the lo and hi bounds.
19973 cat >conftest.
$ac_ext <<_ACEOF
19976 cat confdefs.h
>>conftest.
$ac_ext
19977 cat >>conftest.
$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979 $ac_includes_default
19983 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19990 rm -f conftest.
$ac_objext
19991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19992 (eval $ac_compile) 2>conftest.er1
19994 grep -v '^ *+' conftest.er1
>conftest.err
19996 cat conftest.err
>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } &&
19999 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; } &&
20005 { ac_try
='test -s conftest.$ac_objext'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20013 cat >conftest.
$ac_ext <<_ACEOF
20016 cat confdefs.h
>>conftest.
$ac_ext
20017 cat >>conftest.
$ac_ext <<_ACEOF
20018 /* end confdefs.h. */
20019 $ac_includes_default
20023 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20030 rm -f conftest.
$ac_objext
20031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20032 (eval $ac_compile) 2>conftest.er1
20034 grep -v '^ *+' conftest.er1
>conftest.err
20036 cat conftest.err
>&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } &&
20039 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; } &&
20045 { ac_try
='test -s conftest.$ac_objext'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; }; then
20051 ac_hi
=$ac_mid; break
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.
$ac_ext >&5
20056 ac_lo
=`expr $ac_mid + 1`
20057 if test $ac_lo -le $ac_mid; then
20061 ac_mid
=`expr 2 '*' $ac_mid + 1`
20063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.
$ac_ext >&5
20069 cat >conftest.
$ac_ext <<_ACEOF
20072 cat confdefs.h
>>conftest.
$ac_ext
20073 cat >>conftest.
$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20079 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20086 rm -f conftest.
$ac_objext
20087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20088 (eval $ac_compile) 2>conftest.er1
20090 grep -v '^ *+' conftest.er1
>conftest.err
20092 cat conftest.err
>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); } &&
20095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try
='test -s conftest.$ac_objext'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; }; then
20109 cat >conftest.
$ac_ext <<_ACEOF
20112 cat confdefs.h
>>conftest.
$ac_ext
20113 cat >>conftest.
$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20115 $ac_includes_default
20119 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20126 rm -f conftest.
$ac_objext
20127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20128 (eval $ac_compile) 2>conftest.er1
20130 grep -v '^ *+' conftest.er1
>conftest.err
20132 cat conftest.err
>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); } &&
20135 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; } &&
20141 { ac_try
='test -s conftest.$ac_objext'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; }; then
20147 ac_lo
=$ac_mid; break
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.
$ac_ext >&5
20152 ac_hi
=`expr '(' $ac_mid ')' - 1`
20153 if test $ac_mid -le $ac_hi; then
20157 ac_mid
=`expr 2 '*' $ac_mid`
20159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.
$ac_ext >&5
20167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20170 # Binary search between lo and hi bounds.
20171 while test "x$ac_lo" != "x$ac_hi"; do
20172 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20173 cat >conftest.
$ac_ext <<_ACEOF
20176 cat confdefs.h
>>conftest.
$ac_ext
20177 cat >>conftest.
$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20183 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
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_cxx_werror_flag" || test ! -s conftest.err'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; } &&
20205 { ac_try
='test -s conftest.$ac_objext'
20206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20207 (eval $ac_try) 2>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; }; then
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.
$ac_ext >&5
20216 ac_lo
=`expr '(' $ac_mid ')' + 1`
20218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20221 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20222 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20223 See \`config.log' for more details." >&5
20224 echo "$as_me: error: cannot compute sizeof (size_t), 77
20225 See \`config.log' for more details." >&2;}
20226 { (exit 1); exit 1; }; } ;;
20229 if test "$cross_compiling" = yes; then
20230 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20231 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20232 { (exit 1); exit 1; }; }
20234 cat >conftest.
$ac_ext <<_ACEOF
20237 cat confdefs.h
>>conftest.
$ac_ext
20238 cat >>conftest.
$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 $ac_includes_default
20241 long longval () { return (long) (sizeof (size_t)); }
20242 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20244 #include <stdlib.h>
20249 FILE *f = fopen ("conftest.val", "w");
20252 if (((long) (sizeof (size_t))) < 0)
20254 long i = longval ();
20255 if (i != ((long) (sizeof (size_t))))
20257 fprintf (f, "%ld\n", i);
20261 unsigned long i = ulongval ();
20262 if (i != ((long) (sizeof (size_t))))
20264 fprintf (f, "%lu\n", i);
20266 exit (ferror (f) || fclose (f) != 0);
20272 rm -f conftest
$ac_exeext
20273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20274 (eval $ac_link) 2>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 ac_cv_sizeof_size_t
=`cat conftest.val`
20285 echo "$as_me: program exited with status $ac_status" >&5
20286 echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.
$ac_ext >&5
20289 ( exit $ac_status )
20290 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20291 See \`config.log' for more details." >&5
20292 echo "$as_me: error: cannot compute sizeof (size_t), 77
20293 See \`config.log' for more details." >&2;}
20294 { (exit 1); exit 1; }; }
20296 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20301 ac_cv_sizeof_size_t
=0
20304 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20305 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20306 cat >>confdefs.h
<<_ACEOF
20307 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20314 echo "$as_me:$LINENO: checking for long long" >&5
20315 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20316 if test "${ac_cv_type_long_long+set}" = set; then
20317 echo $ECHO_N "(cached) $ECHO_C" >&6
20319 cat >conftest.
$ac_ext <<_ACEOF
20322 cat confdefs.h
>>conftest.
$ac_ext
20323 cat >>conftest.
$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20329 if ((long long *) 0)
20331 if (sizeof (long long))
20337 rm -f conftest.
$ac_objext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20339 (eval $ac_compile) 2>conftest.er1
20341 grep -v '^ *+' conftest.er1
>conftest.err
20343 cat conftest.err
>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } &&
20346 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20348 (eval $ac_try) 2>&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); }; } &&
20352 { ac_try
='test -s conftest.$ac_objext'
20353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354 (eval $ac_try) 2>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; }; then
20358 ac_cv_type_long_long
=yes
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.
$ac_ext >&5
20363 ac_cv_type_long_long
=no
20365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20367 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20368 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20370 echo "$as_me:$LINENO: checking size of long long" >&5
20371 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20372 if test "${ac_cv_sizeof_long_long+set}" = set; then
20373 echo $ECHO_N "(cached) $ECHO_C" >&6
20375 if test "$ac_cv_type_long_long" = yes; then
20376 # The cast to unsigned long works around a bug in the HP C Compiler
20377 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20378 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20379 # This bug is HP SR number 8606223364.
20380 if test "$cross_compiling" = yes; then
20381 # Depending upon the size, compute the lo and hi bounds.
20382 cat >conftest.
$ac_ext <<_ACEOF
20385 cat confdefs.h
>>conftest.
$ac_ext
20386 cat >>conftest.
$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20388 $ac_includes_default
20392 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20399 rm -f conftest.
$ac_objext
20400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20401 (eval $ac_compile) 2>conftest.er1
20403 grep -v '^ *+' conftest.er1
>conftest.err
20405 cat conftest.err
>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); } &&
20408 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20414 { ac_try
='test -s conftest.$ac_objext'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; }; then
20422 cat >conftest.
$ac_ext <<_ACEOF
20425 cat confdefs.h
>>conftest.
$ac_ext
20426 cat >>conftest.
$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20428 $ac_includes_default
20432 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20439 rm -f conftest.
$ac_objext
20440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20441 (eval $ac_compile) 2>conftest.er1
20443 grep -v '^ *+' conftest.er1
>conftest.err
20445 cat conftest.err
>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } &&
20448 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; } &&
20454 { ac_try
='test -s conftest.$ac_objext'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; }; then
20460 ac_hi
=$ac_mid; break
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.
$ac_ext >&5
20465 ac_lo
=`expr $ac_mid + 1`
20466 if test $ac_lo -le $ac_mid; then
20470 ac_mid
=`expr 2 '*' $ac_mid + 1`
20472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.
$ac_ext >&5
20478 cat >conftest.
$ac_ext <<_ACEOF
20481 cat confdefs.h
>>conftest.
$ac_ext
20482 cat >>conftest.
$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 $ac_includes_default
20488 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20495 rm -f conftest.
$ac_objext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497 (eval $ac_compile) 2>conftest.er1
20499 grep -v '^ *+' conftest.er1
>conftest.err
20501 cat conftest.err
>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; } &&
20510 { ac_try
='test -s conftest.$ac_objext'
20511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512 (eval $ac_try) 2>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; }; then
20518 cat >conftest.
$ac_ext <<_ACEOF
20521 cat confdefs.h
>>conftest.
$ac_ext
20522 cat >>conftest.
$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 $ac_includes_default
20528 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20535 rm -f conftest.
$ac_objext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20537 (eval $ac_compile) 2>conftest.er1
20539 grep -v '^ *+' conftest.er1
>conftest.err
20541 cat conftest.err
>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; } &&
20550 { ac_try
='test -s conftest.$ac_objext'
20551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552 (eval $ac_try) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; }; then
20556 ac_lo
=$ac_mid; break
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.
$ac_ext >&5
20561 ac_hi
=`expr '(' $ac_mid ')' - 1`
20562 if test $ac_mid -le $ac_hi; then
20566 ac_mid
=`expr 2 '*' $ac_mid`
20568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.
$ac_ext >&5
20576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20579 # Binary search between lo and hi bounds.
20580 while test "x$ac_lo" != "x$ac_hi"; do
20581 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20582 cat >conftest.
$ac_ext <<_ACEOF
20585 cat confdefs.h
>>conftest.
$ac_ext
20586 cat >>conftest.
$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20588 $ac_includes_default
20592 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20599 rm -f conftest.
$ac_objext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20601 (eval $ac_compile) 2>conftest.er1
20603 grep -v '^ *+' conftest.er1
>conftest.err
20605 cat conftest.err
>&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20610 (eval $ac_try) 2>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); }; } &&
20614 { ac_try
='test -s conftest.$ac_objext'
20615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616 (eval $ac_try) 2>&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; }; then
20622 echo "$as_me: failed program was:" >&5
20623 sed 's/^/| /' conftest.
$ac_ext >&5
20625 ac_lo
=`expr '(' $ac_mid ')' + 1`
20627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20630 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20631 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20632 See \`config.log' for more details." >&5
20633 echo "$as_me: error: cannot compute sizeof (long long), 77
20634 See \`config.log' for more details." >&2;}
20635 { (exit 1); exit 1; }; } ;;
20638 if test "$cross_compiling" = yes; then
20639 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20640 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20641 { (exit 1); exit 1; }; }
20643 cat >conftest.
$ac_ext <<_ACEOF
20646 cat confdefs.h
>>conftest.
$ac_ext
20647 cat >>conftest.
$ac_ext <<_ACEOF
20648 /* end confdefs.h. */
20649 $ac_includes_default
20650 long longval () { return (long) (sizeof (long long)); }
20651 unsigned long ulongval () { return (long) (sizeof (long long)); }
20653 #include <stdlib.h>
20658 FILE *f = fopen ("conftest.val", "w");
20661 if (((long) (sizeof (long long))) < 0)
20663 long i = longval ();
20664 if (i != ((long) (sizeof (long long))))
20666 fprintf (f, "%ld\n", i);
20670 unsigned long i = ulongval ();
20671 if (i != ((long) (sizeof (long long))))
20673 fprintf (f, "%lu\n", i);
20675 exit (ferror (f) || fclose (f) != 0);
20681 rm -f conftest
$ac_exeext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20683 (eval $ac_link) 2>&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20692 ac_cv_sizeof_long_long
=`cat conftest.val`
20694 echo "$as_me: program exited with status $ac_status" >&5
20695 echo "$as_me: failed program was:" >&5
20696 sed 's/^/| /' conftest.
$ac_ext >&5
20698 ( exit $ac_status )
20699 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20700 See \`config.log' for more details." >&5
20701 echo "$as_me: error: cannot compute sizeof (long long), 77
20702 See \`config.log' for more details." >&2;}
20703 { (exit 1); exit 1; }; }
20705 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20710 ac_cv_sizeof_long_long
=0
20713 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20714 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20715 cat >>confdefs.h
<<_ACEOF
20716 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20722 echo "$as_me:$LINENO: checking for long long" >&5
20723 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20724 if test "${ac_cv_type_long_long+set}" = set; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20727 cat >conftest.
$ac_ext <<_ACEOF
20730 cat confdefs.h
>>conftest.
$ac_ext
20731 cat >>conftest.
$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20733 $ac_includes_default
20737 if ((long long *) 0)
20739 if (sizeof (long long))
20745 rm -f conftest.
$ac_objext
20746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20747 (eval $ac_compile) 2>conftest.er1
20749 grep -v '^ *+' conftest.er1
>conftest.err
20751 cat conftest.err
>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } &&
20754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20756 (eval $ac_try) 2>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); }; } &&
20760 { ac_try
='test -s conftest.$ac_objext'
20761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762 (eval $ac_try) 2>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; }; then
20766 ac_cv_type_long_long
=yes
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.
$ac_ext >&5
20771 ac_cv_type_long_long
=no
20773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20775 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20776 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20778 echo "$as_me:$LINENO: checking size of long long" >&5
20779 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20780 if test "${ac_cv_sizeof_long_long+set}" = set; then
20781 echo $ECHO_N "(cached) $ECHO_C" >&6
20783 if test "$ac_cv_type_long_long" = yes; then
20784 # The cast to unsigned long works around a bug in the HP C Compiler
20785 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20786 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20787 # This bug is HP SR number 8606223364.
20788 if test "$cross_compiling" = yes; then
20789 # Depending upon the size, compute the lo and hi bounds.
20790 cat >conftest.
$ac_ext <<_ACEOF
20793 cat confdefs.h
>>conftest.
$ac_ext
20794 cat >>conftest.
$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20800 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20807 rm -f conftest.
$ac_objext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20809 (eval $ac_compile) 2>conftest.er1
20811 grep -v '^ *+' conftest.er1
>conftest.err
20813 cat conftest.err
>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; } &&
20822 { ac_try
='test -s conftest.$ac_objext'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; }; then
20830 cat >conftest.
$ac_ext <<_ACEOF
20833 cat confdefs.h
>>conftest.
$ac_ext
20834 cat >>conftest.
$ac_ext <<_ACEOF
20835 /* end confdefs.h. */
20836 $ac_includes_default
20840 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20847 rm -f conftest.
$ac_objext
20848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20849 (eval $ac_compile) 2>conftest.er1
20851 grep -v '^ *+' conftest.er1
>conftest.err
20853 cat conftest.err
>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } &&
20856 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20858 (eval $ac_try) 2>&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; } &&
20862 { ac_try
='test -s conftest.$ac_objext'
20863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20864 (eval $ac_try) 2>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); }; }; then
20868 ac_hi
=$ac_mid; break
20870 echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.
$ac_ext >&5
20873 ac_lo
=`expr $ac_mid + 1`
20874 if test $ac_lo -le $ac_mid; then
20878 ac_mid
=`expr 2 '*' $ac_mid + 1`
20880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20883 echo "$as_me: failed program was:" >&5
20884 sed 's/^/| /' conftest.
$ac_ext >&5
20886 cat >conftest.
$ac_ext <<_ACEOF
20889 cat confdefs.h
>>conftest.
$ac_ext
20890 cat >>conftest.
$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20892 $ac_includes_default
20896 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20903 rm -f conftest.
$ac_objext
20904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20905 (eval $ac_compile) 2>conftest.er1
20907 grep -v '^ *+' conftest.er1
>conftest.err
20909 cat conftest.err
>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); } &&
20912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20914 (eval $ac_try) 2>&5
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); }; } &&
20918 { ac_try
='test -s conftest.$ac_objext'
20919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20920 (eval $ac_try) 2>&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); }; }; then
20926 cat >conftest.
$ac_ext <<_ACEOF
20929 cat confdefs.h
>>conftest.
$ac_ext
20930 cat >>conftest.
$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20932 $ac_includes_default
20936 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20943 rm -f conftest.
$ac_objext
20944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20945 (eval $ac_compile) 2>conftest.er1
20947 grep -v '^ *+' conftest.er1
>conftest.err
20949 cat conftest.err
>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); } &&
20952 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; } &&
20958 { ac_try
='test -s conftest.$ac_objext'
20959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20960 (eval $ac_try) 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); }; }; then
20964 ac_lo
=$ac_mid; break
20966 echo "$as_me: failed program was:" >&5
20967 sed 's/^/| /' conftest.
$ac_ext >&5
20969 ac_hi
=`expr '(' $ac_mid ')' - 1`
20970 if test $ac_mid -le $ac_hi; then
20974 ac_mid
=`expr 2 '*' $ac_mid`
20976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.
$ac_ext >&5
20984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20987 # Binary search between lo and hi bounds.
20988 while test "x$ac_lo" != "x$ac_hi"; do
20989 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20990 cat >conftest.
$ac_ext <<_ACEOF
20993 cat confdefs.h
>>conftest.
$ac_ext
20994 cat >>conftest.
$ac_ext <<_ACEOF
20995 /* end confdefs.h. */
20996 $ac_includes_default
21000 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21007 rm -f conftest.
$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 (eval $ac_compile) 2>conftest.er1
21011 grep -v '^ *+' conftest.er1
>conftest.err
21013 cat conftest.err
>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; } &&
21022 { ac_try
='test -s conftest.$ac_objext'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; }; then
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.
$ac_ext >&5
21033 ac_lo
=`expr '(' $ac_mid ')' + 1`
21035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21038 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21039 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21040 See \`config.log' for more details." >&5
21041 echo "$as_me: error: cannot compute sizeof (long long), 77
21042 See \`config.log' for more details." >&2;}
21043 { (exit 1); exit 1; }; } ;;
21046 if test "$cross_compiling" = yes; then
21047 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21048 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21049 { (exit 1); exit 1; }; }
21051 cat >conftest.
$ac_ext <<_ACEOF
21054 cat confdefs.h
>>conftest.
$ac_ext
21055 cat >>conftest.
$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21057 $ac_includes_default
21058 long longval () { return (long) (sizeof (long long)); }
21059 unsigned long ulongval () { return (long) (sizeof (long long)); }
21061 #include <stdlib.h>
21066 FILE *f = fopen ("conftest.val", "w");
21069 if (((long) (sizeof (long long))) < 0)
21071 long i = longval ();
21072 if (i != ((long) (sizeof (long long))))
21074 fprintf (f, "%ld\n", i);
21078 unsigned long i = ulongval ();
21079 if (i != ((long) (sizeof (long long))))
21081 fprintf (f, "%lu\n", i);
21083 exit (ferror (f) || fclose (f) != 0);
21089 rm -f conftest
$ac_exeext
21090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21091 (eval $ac_link) 2>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; }; then
21100 ac_cv_sizeof_long_long
=`cat conftest.val`
21102 echo "$as_me: program exited with status $ac_status" >&5
21103 echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.
$ac_ext >&5
21106 ( exit $ac_status )
21107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21108 See \`config.log' for more details." >&5
21109 echo "$as_me: error: cannot compute sizeof (long long), 77
21110 See \`config.log' for more details." >&2;}
21111 { (exit 1); exit 1; }; }
21113 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21118 ac_cv_sizeof_long_long
=0
21121 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21122 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21123 cat >>confdefs.h
<<_ACEOF
21124 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21128 if test "$ac_cv_sizeof_long_long" != "0"; then
21129 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21133 echo "$as_me:$LINENO: checking for long long" >&5
21134 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21135 if test "${ac_cv_type_long_long+set}" = set; then
21136 echo $ECHO_N "(cached) $ECHO_C" >&6
21138 cat >conftest.
$ac_ext <<_ACEOF
21141 cat confdefs.h
>>conftest.
$ac_ext
21142 cat >>conftest.
$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 $ac_includes_default
21148 if ((long long *) 0)
21150 if (sizeof (long long))
21156 rm -f conftest.
$ac_objext
21157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21158 (eval $ac_compile) 2>conftest.er1
21160 grep -v '^ *+' conftest.er1
>conftest.err
21162 cat conftest.err
>&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); } &&
21165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21167 (eval $ac_try) 2>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; } &&
21171 { ac_try
='test -s conftest.$ac_objext'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; }; then
21177 ac_cv_type_long_long
=yes
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.
$ac_ext >&5
21182 ac_cv_type_long_long
=no
21184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21186 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21187 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21189 echo "$as_me:$LINENO: checking size of long long" >&5
21190 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21191 if test "${ac_cv_sizeof_long_long+set}" = set; then
21192 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 if test "$ac_cv_type_long_long" = yes; then
21195 # The cast to unsigned long works around a bug in the HP C Compiler
21196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21198 # This bug is HP SR number 8606223364.
21199 if test "$cross_compiling" = yes; then
21200 # Depending upon the size, compute the lo and hi bounds.
21201 cat >conftest.
$ac_ext <<_ACEOF
21204 cat confdefs.h
>>conftest.
$ac_ext
21205 cat >>conftest.
$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207 $ac_includes_default
21211 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21218 rm -f conftest.
$ac_objext
21219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21220 (eval $ac_compile) 2>conftest.er1
21222 grep -v '^ *+' conftest.er1
>conftest.err
21224 cat conftest.err
>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } &&
21227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21229 (eval $ac_try) 2>&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); }; } &&
21233 { ac_try
='test -s conftest.$ac_objext'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; }; then
21241 cat >conftest.
$ac_ext <<_ACEOF
21244 cat confdefs.h
>>conftest.
$ac_ext
21245 cat >>conftest.
$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 $ac_includes_default
21251 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21258 rm -f conftest.
$ac_objext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21260 (eval $ac_compile) 2>conftest.er1
21262 grep -v '^ *+' conftest.er1
>conftest.err
21264 cat conftest.err
>&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } &&
21267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 (eval $ac_try) 2>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); }; } &&
21273 { ac_try
='test -s conftest.$ac_objext'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; }; then
21279 ac_hi
=$ac_mid; break
21281 echo "$as_me: failed program was:" >&5
21282 sed 's/^/| /' conftest.
$ac_ext >&5
21284 ac_lo
=`expr $ac_mid + 1`
21285 if test $ac_lo -le $ac_mid; then
21289 ac_mid
=`expr 2 '*' $ac_mid + 1`
21291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21294 echo "$as_me: failed program was:" >&5
21295 sed 's/^/| /' conftest.
$ac_ext >&5
21297 cat >conftest.
$ac_ext <<_ACEOF
21300 cat confdefs.h
>>conftest.
$ac_ext
21301 cat >>conftest.
$ac_ext <<_ACEOF
21302 /* end confdefs.h. */
21303 $ac_includes_default
21307 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21314 rm -f conftest.
$ac_objext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21316 (eval $ac_compile) 2>conftest.er1
21318 grep -v '^ *+' conftest.er1
>conftest.err
21320 cat conftest.err
>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21325 (eval $ac_try) 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; } &&
21329 { ac_try
='test -s conftest.$ac_objext'
21330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331 (eval $ac_try) 2>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); }; }; then
21337 cat >conftest.
$ac_ext <<_ACEOF
21340 cat confdefs.h
>>conftest.
$ac_ext
21341 cat >>conftest.
$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 $ac_includes_default
21347 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21354 rm -f conftest.
$ac_objext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21356 (eval $ac_compile) 2>conftest.er1
21358 grep -v '^ *+' conftest.er1
>conftest.err
21360 cat conftest.err
>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21365 (eval $ac_try) 2>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); }; } &&
21369 { ac_try
='test -s conftest.$ac_objext'
21370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21371 (eval $ac_try) 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; }; then
21375 ac_lo
=$ac_mid; break
21377 echo "$as_me: failed program was:" >&5
21378 sed 's/^/| /' conftest.
$ac_ext >&5
21380 ac_hi
=`expr '(' $ac_mid ')' - 1`
21381 if test $ac_mid -le $ac_hi; then
21385 ac_mid
=`expr 2 '*' $ac_mid`
21387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21390 echo "$as_me: failed program was:" >&5
21391 sed 's/^/| /' conftest.
$ac_ext >&5
21395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21398 # Binary search between lo and hi bounds.
21399 while test "x$ac_lo" != "x$ac_hi"; do
21400 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21401 cat >conftest.
$ac_ext <<_ACEOF
21404 cat confdefs.h
>>conftest.
$ac_ext
21405 cat >>conftest.
$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21411 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21418 rm -f conftest.
$ac_objext
21419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21420 (eval $ac_compile) 2>conftest.er1
21422 grep -v '^ *+' conftest.er1
>conftest.err
21424 cat conftest.err
>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } &&
21427 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; } &&
21433 { ac_try
='test -s conftest.$ac_objext'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.
$ac_ext >&5
21444 ac_lo
=`expr '(' $ac_mid ')' + 1`
21446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21449 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21450 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21451 See \`config.log' for more details." >&5
21452 echo "$as_me: error: cannot compute sizeof (long long), 77
21453 See \`config.log' for more details." >&2;}
21454 { (exit 1); exit 1; }; } ;;
21457 if test "$cross_compiling" = yes; then
21458 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21459 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21460 { (exit 1); exit 1; }; }
21462 cat >conftest.
$ac_ext <<_ACEOF
21465 cat confdefs.h
>>conftest.
$ac_ext
21466 cat >>conftest.
$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 $ac_includes_default
21469 long longval () { return (long) (sizeof (long long)); }
21470 unsigned long ulongval () { return (long) (sizeof (long long)); }
21472 #include <stdlib.h>
21477 FILE *f = fopen ("conftest.val", "w");
21480 if (((long) (sizeof (long long))) < 0)
21482 long i = longval ();
21483 if (i != ((long) (sizeof (long long))))
21485 fprintf (f, "%ld\n", i);
21489 unsigned long i = ulongval ();
21490 if (i != ((long) (sizeof (long long))))
21492 fprintf (f, "%lu\n", i);
21494 exit (ferror (f) || fclose (f) != 0);
21500 rm -f conftest
$ac_exeext
21501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21502 (eval $ac_link) 2>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; }; then
21511 ac_cv_sizeof_long_long
=`cat conftest.val`
21513 echo "$as_me: program exited with status $ac_status" >&5
21514 echo "$as_me: failed program was:" >&5
21515 sed 's/^/| /' conftest.
$ac_ext >&5
21517 ( exit $ac_status )
21518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21519 See \`config.log' for more details." >&5
21520 echo "$as_me: error: cannot compute sizeof (long long), 77
21521 See \`config.log' for more details." >&2;}
21522 { (exit 1); exit 1; }; }
21524 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21529 ac_cv_sizeof_long_long
=0
21532 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21533 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21534 cat >>confdefs.h
<<_ACEOF
21535 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21541 echo "$as_me:$LINENO: checking for wchar_t" >&5
21542 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21543 if test "${ac_cv_type_wchar_t+set}" = set; then
21544 echo $ECHO_N "(cached) $ECHO_C" >&6
21546 cat >conftest.
$ac_ext <<_ACEOF
21549 cat confdefs.h
>>conftest.
$ac_ext
21550 cat >>conftest.
$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21553 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21554 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21555 # error "fake wchar_t"
21557 #ifdef HAVE_WCHAR_H
21559 # include <stddef.h>
21561 # include <wchar.h>
21563 #ifdef HAVE_STDLIB_H
21564 # include <stdlib.h>
21575 if (sizeof (wchar_t))
21581 rm -f conftest.
$ac_objext
21582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21583 (eval $ac_compile) 2>conftest.er1
21585 grep -v '^ *+' conftest.er1
>conftest.err
21587 cat conftest.err
>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } &&
21590 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try
='test -s conftest.$ac_objext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 ac_cv_type_wchar_t
=yes
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.
$ac_ext >&5
21607 ac_cv_type_wchar_t
=no
21609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21611 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21612 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21614 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21615 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21616 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21617 echo $ECHO_N "(cached) $ECHO_C" >&6
21619 if test "$ac_cv_type_wchar_t" = yes; then
21620 # The cast to unsigned long works around a bug in the HP C Compiler
21621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21623 # This bug is HP SR number 8606223364.
21624 if test "$cross_compiling" = yes; then
21625 # Depending upon the size, compute the lo and hi bounds.
21626 cat >conftest.
$ac_ext <<_ACEOF
21629 cat confdefs.h
>>conftest.
$ac_ext
21630 cat >>conftest.
$ac_ext <<_ACEOF
21631 /* end confdefs.h. */
21633 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21634 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21635 # error "fake wchar_t"
21637 #ifdef HAVE_WCHAR_H
21639 # include <stddef.h>
21641 # include <wchar.h>
21643 #ifdef HAVE_STDLIB_H
21644 # include <stdlib.h>
21653 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21660 rm -f conftest.
$ac_objext
21661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21662 (eval $ac_compile) 2>conftest.er1
21664 grep -v '^ *+' conftest.er1
>conftest.err
21666 cat conftest.err
>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } &&
21669 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; } &&
21675 { ac_try
='test -s conftest.$ac_objext'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; }; then
21683 cat >conftest.
$ac_ext <<_ACEOF
21686 cat confdefs.h
>>conftest.
$ac_ext
21687 cat >>conftest.
$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21690 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21691 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21692 # error "fake wchar_t"
21694 #ifdef HAVE_WCHAR_H
21696 # include <stddef.h>
21698 # include <wchar.h>
21700 #ifdef HAVE_STDLIB_H
21701 # include <stdlib.h>
21710 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21717 rm -f conftest.
$ac_objext
21718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21719 (eval $ac_compile) 2>conftest.er1
21721 grep -v '^ *+' conftest.er1
>conftest.err
21723 cat conftest.err
>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } &&
21726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21732 { ac_try
='test -s conftest.$ac_objext'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; }; then
21738 ac_hi
=$ac_mid; break
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.
$ac_ext >&5
21743 ac_lo
=`expr $ac_mid + 1`
21744 if test $ac_lo -le $ac_mid; then
21748 ac_mid
=`expr 2 '*' $ac_mid + 1`
21750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21753 echo "$as_me: failed program was:" >&5
21754 sed 's/^/| /' conftest.
$ac_ext >&5
21756 cat >conftest.
$ac_ext <<_ACEOF
21759 cat confdefs.h
>>conftest.
$ac_ext
21760 cat >>conftest.
$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21763 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21764 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21765 # error "fake wchar_t"
21767 #ifdef HAVE_WCHAR_H
21769 # include <stddef.h>
21771 # include <wchar.h>
21773 #ifdef HAVE_STDLIB_H
21774 # include <stdlib.h>
21783 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21790 rm -f conftest.
$ac_objext
21791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21792 (eval $ac_compile) 2>conftest.er1
21794 grep -v '^ *+' conftest.er1
>conftest.err
21796 cat conftest.err
>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } &&
21799 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; } &&
21805 { ac_try
='test -s conftest.$ac_objext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21813 cat >conftest.
$ac_ext <<_ACEOF
21816 cat confdefs.h
>>conftest.
$ac_ext
21817 cat >>conftest.
$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21820 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21821 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21822 # error "fake wchar_t"
21824 #ifdef HAVE_WCHAR_H
21826 # include <stddef.h>
21828 # include <wchar.h>
21830 #ifdef HAVE_STDLIB_H
21831 # include <stdlib.h>
21840 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21847 rm -f conftest.
$ac_objext
21848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21849 (eval $ac_compile) 2>conftest.er1
21851 grep -v '^ *+' conftest.er1
>conftest.err
21853 cat conftest.err
>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } &&
21856 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 (eval $ac_try) 2>&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; } &&
21862 { ac_try
='test -s conftest.$ac_objext'
21863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21864 (eval $ac_try) 2>&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); }; }; then
21868 ac_lo
=$ac_mid; break
21870 echo "$as_me: failed program was:" >&5
21871 sed 's/^/| /' conftest.
$ac_ext >&5
21873 ac_hi
=`expr '(' $ac_mid ')' - 1`
21874 if test $ac_mid -le $ac_hi; then
21878 ac_mid
=`expr 2 '*' $ac_mid`
21880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.
$ac_ext >&5
21888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21891 # Binary search between lo and hi bounds.
21892 while test "x$ac_lo" != "x$ac_hi"; do
21893 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21894 cat >conftest.
$ac_ext <<_ACEOF
21897 cat confdefs.h
>>conftest.
$ac_ext
21898 cat >>conftest.
$ac_ext <<_ACEOF
21899 /* end confdefs.h. */
21901 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21902 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21903 # error "fake wchar_t"
21905 #ifdef HAVE_WCHAR_H
21907 # include <stddef.h>
21909 # include <wchar.h>
21911 #ifdef HAVE_STDLIB_H
21912 # include <stdlib.h>
21921 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21928 rm -f conftest.
$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21932 grep -v '^ *+' conftest.er1
>conftest.err
21934 cat conftest.err
>&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try
='test -s conftest.$ac_objext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.
$ac_ext >&5
21954 ac_lo
=`expr '(' $ac_mid ')' + 1`
21956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21959 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21960 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21961 See \`config.log' for more details." >&5
21962 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21963 See \`config.log' for more details." >&2;}
21964 { (exit 1); exit 1; }; } ;;
21967 if test "$cross_compiling" = yes; then
21968 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21969 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21970 { (exit 1); exit 1; }; }
21972 cat >conftest.
$ac_ext <<_ACEOF
21975 cat confdefs.h
>>conftest.
$ac_ext
21976 cat >>conftest.
$ac_ext <<_ACEOF
21977 /* end confdefs.h. */
21979 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21980 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21981 # error "fake wchar_t"
21983 #ifdef HAVE_WCHAR_H
21985 # include <stddef.h>
21987 # include <wchar.h>
21989 #ifdef HAVE_STDLIB_H
21990 # include <stdlib.h>
21996 long longval () { return (long) (sizeof (wchar_t)); }
21997 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21999 #include <stdlib.h>
22004 FILE *f = fopen ("conftest.val", "w");
22007 if (((long) (sizeof (wchar_t))) < 0)
22009 long i = longval ();
22010 if (i != ((long) (sizeof (wchar_t))))
22012 fprintf (f, "%ld\n", i);
22016 unsigned long i = ulongval ();
22017 if (i != ((long) (sizeof (wchar_t))))
22019 fprintf (f, "%lu\n", i);
22021 exit (ferror (f) || fclose (f) != 0);
22027 rm -f conftest
$ac_exeext
22028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22029 (eval $ac_link) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22034 (eval $ac_try) 2>&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); }; }; then
22038 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22040 echo "$as_me: program exited with status $ac_status" >&5
22041 echo "$as_me: failed program was:" >&5
22042 sed 's/^/| /' conftest.
$ac_ext >&5
22044 ( exit $ac_status )
22045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22046 See \`config.log' for more details." >&5
22047 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22048 See \`config.log' for more details." >&2;}
22049 { (exit 1); exit 1; }; }
22051 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22056 ac_cv_sizeof_wchar_t
=0
22059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22060 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22061 cat >>confdefs.h
<<_ACEOF
22062 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22066 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22072 echo "$as_me:$LINENO: checking for va_copy" >&5
22073 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22074 if test "${wx_cv_func_va_copy+set}" = set; then
22075 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 cat >conftest.
$ac_ext <<_ACEOF
22080 #include <stdarg.h>
22081 void foo(char *f, ...)
22095 rm -f conftest.
$ac_objext conftest
$ac_exeext
22096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22097 (eval $ac_link) 2>conftest.er1
22099 grep -v '^ *+' conftest.er1
>conftest.err
22101 cat conftest.err
>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } &&
22104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22106 (eval $ac_try) 2>&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); }; } &&
22110 { ac_try
='test -s conftest$ac_exeext'
22111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112 (eval $ac_try) 2>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; }; then
22116 wx_cv_func_va_copy
=yes
22118 echo "$as_me: failed program was:" >&5
22119 sed 's/^/| /' conftest.
$ac_ext >&5
22121 wx_cv_func_va_copy
=no
22124 rm -f conftest.err conftest.
$ac_objext \
22125 conftest
$ac_exeext conftest.
$ac_ext
22129 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22130 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22132 if test $wx_cv_func_va_copy = "yes"; then
22133 cat >>confdefs.h
<<\_ACEOF
22134 #define HAVE_VA_COPY 1
22138 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22139 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22140 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22141 echo $ECHO_N "(cached) $ECHO_C" >&6
22144 if test "$cross_compiling" = yes; then
22145 wx_cv_type_va_list_lvalue
=yes
22148 cat >conftest.
$ac_ext <<_ACEOF
22150 #include <stdarg.h>
22151 int foo(char *f, ...)
22156 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22164 return foo("hi", 17);
22167 rm -f conftest
$ac_exeext
22168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22169 (eval $ac_link) 2>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 wx_cv_type_va_list_lvalue
=yes
22180 echo "$as_me: program exited with status $ac_status" >&5
22181 echo "$as_me: failed program was:" >&5
22182 sed 's/^/| /' conftest.
$ac_ext >&5
22184 ( exit $ac_status )
22185 wx_cv_type_va_list_lvalue
=no
22187 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22192 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22193 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22195 if test $wx_cv_type_va_list_lvalue != "yes"; then
22196 cat >>confdefs.h
<<\_ACEOF
22197 #define VA_LIST_IS_ARRAY 1
22203 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22204 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22205 if test "${wx_cv_have_variadic_macros+set}" = set; then
22206 echo $ECHO_N "(cached) $ECHO_C" >&6
22209 cat >conftest.
$ac_ext <<_ACEOF
22212 cat confdefs.h
>>conftest.
$ac_ext
22213 cat >>conftest.
$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22217 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22223 test("%s %d %p", "test", 1, 0);
22230 rm -f conftest.
$ac_objext
22231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22232 (eval $ac_compile) 2>conftest.er1
22234 grep -v '^ *+' conftest.er1
>conftest.err
22236 cat conftest.err
>&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); } &&
22239 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22241 (eval $ac_try) 2>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); }; } &&
22245 { ac_try
='test -s conftest.$ac_objext'
22246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247 (eval $ac_try) 2>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; }; then
22251 wx_cv_have_variadic_macros
=yes
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.
$ac_ext >&5
22256 wx_cv_have_variadic_macros
=no
22259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22263 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22264 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22266 if test $wx_cv_have_variadic_macros = "yes"; then
22267 cat >>confdefs.h
<<\_ACEOF
22268 #define HAVE_VARIADIC_MACROS 1
22273 # Check whether --enable-largefile or --disable-largefile was given.
22274 if test "${enable_largefile+set}" = set; then
22275 enableval
="$enable_largefile"
22278 if test "$enable_largefile" != no
; then
22281 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22282 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22283 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22284 echo $ECHO_N "(cached) $ECHO_C" >&6
22287 cat >conftest.
$ac_ext <<_ACEOF
22290 cat confdefs.h
>>conftest.
$ac_ext
22291 cat >>conftest.
$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 #define _FILE_OFFSET_BITS 64
22294 #include <sys/types.h>
22299 unsigned int field: sizeof(off_t) == 8;
22306 rm -f conftest.
$ac_objext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308 (eval $ac_compile) 2>conftest.er1
22310 grep -v '^ *+' conftest.er1
>conftest.err
22312 cat conftest.err
>&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } &&
22315 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try
='test -s conftest.$ac_objext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22327 ac_cv_sys_file_offset_bits
=64
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.
$ac_ext >&5
22332 ac_cv_sys_file_offset_bits
=no
22334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22338 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22339 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22341 if test "$ac_cv_sys_file_offset_bits" != no
; then
22343 cat >>confdefs.h
<<_ACEOF
22344 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22349 if test "x$wx_largefile" != "xyes"; then
22351 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22352 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22353 if test "${ac_cv_sys_large_files+set}" = set; then
22354 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 cat >conftest.
$ac_ext <<_ACEOF
22360 cat confdefs.h
>>conftest.
$ac_ext
22361 cat >>conftest.
$ac_ext <<_ACEOF
22362 /* end confdefs.h. */
22363 #define _LARGE_FILES 1
22364 #include <sys/types.h>
22369 unsigned int field: sizeof(off_t) == 8;
22376 rm -f conftest.
$ac_objext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22378 (eval $ac_compile) 2>conftest.er1
22380 grep -v '^ *+' conftest.er1
>conftest.err
22382 cat conftest.err
>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } &&
22385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 (eval $ac_try) 2>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; } &&
22391 { ac_try
='test -s conftest.$ac_objext'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; }; then
22397 ac_cv_sys_large_files
=1
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.
$ac_ext >&5
22402 ac_cv_sys_large_files
=no
22404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22408 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22409 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22411 if test "$ac_cv_sys_large_files" != no
; then
22413 cat >>confdefs.h
<<_ACEOF
22414 #define _LARGE_FILES $ac_cv_sys_large_files
22421 echo "$as_me:$LINENO: checking if large file support is available" >&5
22422 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22423 if test "x$wx_largefile" = "xyes"; then
22424 cat >>confdefs.h
<<\_ACEOF
22425 #define HAVE_LARGEFILE_SUPPORT 1
22429 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22430 echo "${ECHO_T}$wx_largefile" >&6
22434 if test "x$wx_largefile" = "xyes"; then
22435 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22436 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22438 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22439 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22440 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22441 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22445 cat >conftest.
$ac_ext <<_ACEOF
22448 cat confdefs.h
>>conftest.
$ac_ext
22449 cat >>conftest.
$ac_ext <<_ACEOF
22450 /* end confdefs.h. */
22456 #ifndef __STDC_EXT__
22464 rm -f conftest.
$ac_objext
22465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22466 (eval $ac_compile) 2>conftest.er1
22468 grep -v '^ *+' conftest.er1
>conftest.err
22470 cat conftest.err
>&5
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); } &&
22473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22475 (eval $ac_try) 2>&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; } &&
22479 { ac_try
='test -s conftest.$ac_objext'
22480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22481 (eval $ac_try) 2>&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; }; then
22485 wx_cv_STDC_EXT_required
=no
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22490 wx_cv_STDC_EXT_required
=yes
22493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22497 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22498 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22499 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22500 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22504 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22506 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22507 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22508 if test "${ac_cv_sys_largefile_source+set}" = set; then
22509 echo $ECHO_N "(cached) $ECHO_C" >&6
22512 ac_cv_sys_largefile_source
=no
22513 cat >conftest.
$ac_ext <<_ACEOF
22516 cat confdefs.h
>>conftest.
$ac_ext
22517 cat >>conftest.
$ac_ext <<_ACEOF
22518 /* end confdefs.h. */
22528 rm -f conftest.
$ac_objext
22529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22530 (eval $ac_compile) 2>conftest.er1
22532 grep -v '^ *+' conftest.er1
>conftest.err
22534 cat conftest.err
>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; } &&
22543 { ac_try
='test -s conftest.$ac_objext'
22544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22545 (eval $ac_try) 2>&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); }; }; then
22551 echo "$as_me: failed program was:" >&5
22552 sed 's/^/| /' conftest.
$ac_ext >&5
22555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22556 cat >conftest.
$ac_ext <<_ACEOF
22559 cat confdefs.h
>>conftest.
$ac_ext
22560 cat >>conftest.
$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562 #define _LARGEFILE_SOURCE 1
22572 rm -f conftest.
$ac_objext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22574 (eval $ac_compile) 2>conftest.er1
22576 grep -v '^ *+' conftest.er1
>conftest.err
22578 cat conftest.err
>&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } &&
22581 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; } &&
22587 { ac_try
='test -s conftest.$ac_objext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22593 ac_cv_sys_largefile_source
=1; break
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.
$ac_ext >&5
22599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22603 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22604 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22605 if test "$ac_cv_sys_largefile_source" != no
; then
22607 cat >>confdefs.h
<<_ACEOF
22608 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22614 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22615 # in glibc 2.1.3, but that breaks too many other things.
22616 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22617 echo "$as_me:$LINENO: checking for fseeko" >&5
22618 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22619 if test "${ac_cv_func_fseeko+set}" = set; then
22620 echo $ECHO_N "(cached) $ECHO_C" >&6
22622 cat >conftest.
$ac_ext <<_ACEOF
22625 cat confdefs.h
>>conftest.
$ac_ext
22626 cat >>conftest.
$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22632 return fseeko && fseeko (stdin, 0, 0);
22637 rm -f conftest.
$ac_objext conftest
$ac_exeext
22638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22639 (eval $ac_link) 2>conftest.er1
22641 grep -v '^ *+' conftest.er1
>conftest.err
22643 cat conftest.err
>&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } &&
22646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22648 (eval $ac_try) 2>&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); }; } &&
22652 { ac_try
='test -s conftest$ac_exeext'
22653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22654 (eval $ac_try) 2>&5
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); }; }; then
22658 ac_cv_func_fseeko
=yes
22660 echo "$as_me: failed program was:" >&5
22661 sed 's/^/| /' conftest.
$ac_ext >&5
22663 ac_cv_func_fseeko
=no
22665 rm -f conftest.err conftest.
$ac_objext \
22666 conftest
$ac_exeext conftest.
$ac_ext
22668 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22669 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22670 if test $ac_cv_func_fseeko = yes; then
22672 cat >>confdefs.h
<<\_ACEOF
22673 #define HAVE_FSEEKO 1
22678 if test "$ac_cv_sys_largefile_source" != no
; then
22679 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22683 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22684 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22685 if test "${ac_cv_c_bigendian+set}" = set; then
22686 echo $ECHO_N "(cached) $ECHO_C" >&6
22688 ac_cv_c_bigendian
=unknown
22689 # See if sys/param.h defines the BYTE_ORDER macro.
22690 cat >conftest.
$ac_ext <<_ACEOF
22693 cat confdefs.h
>>conftest.
$ac_ext
22694 cat >>conftest.
$ac_ext <<_ACEOF
22695 /* end confdefs.h. */
22696 #include <sys/types.h>
22697 #include <sys/param.h>
22702 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22703 bogus endian macros
22709 rm -f conftest.
$ac_objext
22710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22711 (eval $ac_compile) 2>conftest.er1
22713 grep -v '^ *+' conftest.er1
>conftest.err
22715 cat conftest.err
>&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } &&
22718 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720 (eval $ac_try) 2>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); }; } &&
22724 { ac_try
='test -s conftest.$ac_objext'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; }; then
22730 # It does; now see whether it defined to BIG_ENDIAN or not.
22731 cat >conftest.
$ac_ext <<_ACEOF
22734 cat confdefs.h
>>conftest.
$ac_ext
22735 cat >>conftest.
$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22737 #include <sys/types.h>
22738 #include <sys/param.h>
22743 #if BYTE_ORDER != BIG_ENDIAN
22750 rm -f conftest.
$ac_objext
22751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22752 (eval $ac_compile) 2>conftest.er1
22754 grep -v '^ *+' conftest.er1
>conftest.err
22756 cat conftest.err
>&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); } &&
22759 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; } &&
22765 { ac_try
='test -s conftest.$ac_objext'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; }; then
22771 ac_cv_c_bigendian
=yes
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.
$ac_ext >&5
22776 ac_cv_c_bigendian
=no
22778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22780 echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.
$ac_ext >&5
22784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22785 if test $ac_cv_c_bigendian = unknown
; then
22786 if test "$cross_compiling" = yes; then
22787 ac_cv_c_bigendian
=unknown
22789 cat >conftest.
$ac_ext <<_ACEOF
22792 cat confdefs.h
>>conftest.
$ac_ext
22793 cat >>conftest.
$ac_ext <<_ACEOF
22794 /* end confdefs.h. */
22796 /* Are we little or big endian? From Harbison&Steele. */
22800 char c[sizeof (long)];
22803 exit (u.c[sizeof (long) - 1] == 1);
22806 rm -f conftest
$ac_exeext
22807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22808 (eval $ac_link) 2>&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22813 (eval $ac_try) 2>&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); }; }; then
22817 ac_cv_c_bigendian
=no
22819 echo "$as_me: program exited with status $ac_status" >&5
22820 echo "$as_me: failed program was:" >&5
22821 sed 's/^/| /' conftest.
$ac_ext >&5
22823 ( exit $ac_status )
22824 ac_cv_c_bigendian
=yes
22826 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22830 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22831 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22832 if test $ac_cv_c_bigendian = unknown
; then
22833 { 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
22834 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;}
22836 if test $ac_cv_c_bigendian = yes; then
22837 cat >>confdefs.h
<<\_ACEOF
22838 #define WORDS_BIGENDIAN 1
22848 ac_cpp
='$CXXCPP $CPPFLAGS'
22849 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22855 for ac_header
in iostream
22857 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22859 echo "$as_me:$LINENO: checking for $ac_header" >&5
22860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22867 # Is the header compilable?
22868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22870 cat >conftest.
$ac_ext <<_ACEOF
22873 cat confdefs.h
>>conftest.
$ac_ext
22874 cat >>conftest.
$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 $ac_includes_default
22877 #include <$ac_header>
22879 rm -f conftest.
$ac_objext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22881 (eval $ac_compile) 2>conftest.er1
22883 grep -v '^ *+' conftest.er1
>conftest.err
22885 cat conftest.err
>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } &&
22888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; } &&
22894 { ac_try
='test -s conftest.$ac_objext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 ac_header_compiler
=yes
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.
$ac_ext >&5
22905 ac_header_compiler
=no
22907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22909 echo "${ECHO_T}$ac_header_compiler" >&6
22911 # Is the header present?
22912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22914 cat >conftest.
$ac_ext <<_ACEOF
22917 cat confdefs.h
>>conftest.
$ac_ext
22918 cat >>conftest.
$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 #include <$ac_header>
22922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22923 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22925 grep -v '^ *+' conftest.er1
>conftest.err
22927 cat conftest.err
>&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } >/dev
/null
; then
22930 if test -s conftest.err
; then
22931 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22932 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22939 if test -z "$ac_cpp_err"; then
22940 ac_header_preproc
=yes
22942 echo "$as_me: failed program was:" >&5
22943 sed 's/^/| /' conftest.
$ac_ext >&5
22945 ac_header_preproc
=no
22947 rm -f conftest.err conftest.
$ac_ext
22948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22949 echo "${ECHO_T}$ac_header_preproc" >&6
22951 # So? What about this header?
22952 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22957 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22958 ac_header_preproc
=yes
22961 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22962 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22963 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22964 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22965 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22966 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22967 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22968 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22971 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22972 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22975 ## ----------------------------------------- ##
22976 ## Report this to wx-dev@lists.wxwidgets.org ##
22977 ## ----------------------------------------- ##
22980 sed "s/^/$as_me: WARNING: /" >&2
22983 echo "$as_me:$LINENO: checking for $ac_header" >&5
22984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22986 echo $ECHO_N "(cached) $ECHO_C" >&6
22988 eval "$as_ac_Header=\$ac_header_preproc"
22990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22995 cat >>confdefs.h
<<_ACEOF
22996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23004 if test "$ac_cv_header_iostream" = "yes" ; then
23007 cat >>confdefs.h
<<\_ACEOF
23008 #define wxUSE_IOSTREAMH 1
23014 ac_cpp
='$CXXCPP $CPPFLAGS'
23015 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23016 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23017 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23022 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23023 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23024 if test "${wx_cv_cpp_bool+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 ac_cpp
='$CXXCPP $CPPFLAGS'
23032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23037 cat >conftest.
$ac_ext <<_ACEOF
23040 cat confdefs.h
>>conftest.
$ac_ext
23041 cat >>conftest.
$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23057 rm -f conftest.
$ac_objext
23058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23059 (eval $ac_compile) 2>conftest.er1
23061 grep -v '^ *+' conftest.er1
>conftest.err
23063 cat conftest.err
>&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
23066 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; } &&
23072 { ac_try
='test -s conftest.$ac_objext'
23073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23074 (eval $ac_try) 2>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; }; then
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.
$ac_ext >&5
23090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23093 ac_cpp
='$CXXCPP $CPPFLAGS'
23094 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23100 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23101 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23103 if test "$wx_cv_cpp_bool" = "yes"; then
23104 cat >>confdefs.h
<<\_ACEOF
23105 #define HAVE_BOOL 1
23112 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23113 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23114 if test "${wx_cv_explicit+set}" = set; then
23115 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 ac_cpp
='$CXXCPP $CPPFLAGS'
23122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23127 cat >conftest.
$ac_ext <<_ACEOF
23130 cat confdefs.h
>>conftest.
$ac_ext
23131 cat >>conftest.
$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23134 class Foo { public: explicit Foo(int) {} };
23146 rm -f conftest.
$ac_objext
23147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23148 (eval $ac_compile) 2>conftest.er1
23150 grep -v '^ *+' conftest.er1
>conftest.err
23152 cat conftest.err
>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } &&
23155 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23157 (eval $ac_try) 2>&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); }; } &&
23161 { ac_try
='test -s conftest.$ac_objext'
23162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23163 (eval $ac_try) 2>&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); }; }; then
23168 cat >conftest.
$ac_ext <<_ACEOF
23171 cat confdefs.h
>>conftest.
$ac_ext
23172 cat >>conftest.
$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23175 class Foo { public: explicit Foo(int) {} };
23176 static void TakeFoo(const Foo& foo) { }
23189 rm -f conftest.
$ac_objext
23190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23191 (eval $ac_compile) 2>conftest.er1
23193 grep -v '^ *+' conftest.er1
>conftest.err
23195 cat conftest.err
>&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } &&
23198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23200 (eval $ac_try) 2>&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); }; } &&
23204 { ac_try
='test -s conftest.$ac_objext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23212 echo "$as_me: failed program was:" >&5
23213 sed 's/^/| /' conftest.
$ac_ext >&5
23218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.
$ac_ext >&5
23227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23230 ac_cpp
='$CXXCPP $CPPFLAGS'
23231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23237 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23238 echo "${ECHO_T}$wx_cv_explicit" >&6
23240 if test "$wx_cv_explicit" = "yes"; then
23241 cat >>confdefs.h
<<\_ACEOF
23242 #define HAVE_EXPLICIT 1
23248 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23249 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23250 if test "${ac_cv_cxx_const_cast+set}" = set; then
23251 echo $ECHO_N "(cached) $ECHO_C" >&6
23256 ac_cpp
='$CXXCPP $CPPFLAGS'
23257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23261 cat >conftest.
$ac_ext <<_ACEOF
23264 cat confdefs.h
>>conftest.
$ac_ext
23265 cat >>conftest.
$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23271 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23276 rm -f conftest.
$ac_objext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23278 (eval $ac_compile) 2>conftest.er1
23280 grep -v '^ *+' conftest.er1
>conftest.err
23282 cat conftest.err
>&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23287 (eval $ac_try) 2>&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); }; } &&
23291 { ac_try
='test -s conftest.$ac_objext'
23292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293 (eval $ac_try) 2>&5
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; }; then
23297 ac_cv_cxx_const_cast
=yes
23299 echo "$as_me: failed program was:" >&5
23300 sed 's/^/| /' conftest.
$ac_ext >&5
23302 ac_cv_cxx_const_cast
=no
23304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23306 ac_cpp
='$CXXCPP $CPPFLAGS'
23307 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23313 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23314 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23315 if test "$ac_cv_cxx_const_cast" = yes; then
23317 cat >>confdefs.h
<<\_ACEOF
23318 #define HAVE_CONST_CAST
23323 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23324 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23325 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23326 echo $ECHO_N "(cached) $ECHO_C" >&6
23331 ac_cpp
='$CXXCPP $CPPFLAGS'
23332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23336 cat >conftest.
$ac_ext <<_ACEOF
23339 cat confdefs.h
>>conftest.
$ac_ext
23340 cat >>conftest.
$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23342 #include <typeinfo>
23343 class Base { public : Base () {} virtual void f () = 0;};
23344 class Derived : public Base { public : Derived () {} virtual void f () {} };
23345 class Unrelated { public : Unrelated () {} };
23346 int g (Unrelated&) { return 0; }
23351 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23356 rm -f conftest.
$ac_objext
23357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23358 (eval $ac_compile) 2>conftest.er1
23360 grep -v '^ *+' conftest.er1
>conftest.err
23362 cat conftest.err
>&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } &&
23365 { ac_try
='test -z "$ac_cxx_werror_flag" || 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 ac_cv_cxx_reinterpret_cast
=yes
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.
$ac_ext >&5
23382 ac_cv_cxx_reinterpret_cast
=no
23384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23386 ac_cpp
='$CXXCPP $CPPFLAGS'
23387 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23388 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23389 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23393 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23394 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23395 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23397 cat >>confdefs.h
<<\_ACEOF
23398 #define HAVE_REINTERPRET_CAST
23403 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23404 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23405 if test "${ac_cv_cxx_static_cast+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23411 ac_cpp
='$CXXCPP $CPPFLAGS'
23412 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23416 cat >conftest.
$ac_ext <<_ACEOF
23419 cat confdefs.h
>>conftest.
$ac_ext
23420 cat >>conftest.
$ac_ext <<_ACEOF
23421 /* end confdefs.h. */
23422 #include <typeinfo>
23423 class Base { public : Base () {} virtual void f () = 0; };
23424 class Derived : public Base { public : Derived () {} virtual void f () {} };
23425 int g (Derived&) { return 0; }
23430 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23435 rm -f conftest.
$ac_objext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23437 (eval $ac_compile) 2>conftest.er1
23439 grep -v '^ *+' conftest.er1
>conftest.err
23441 cat conftest.err
>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try
='test -s conftest.$ac_objext'
23451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23452 (eval $ac_try) 2>&5
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; }; then
23456 ac_cv_cxx_static_cast
=yes
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.
$ac_ext >&5
23461 ac_cv_cxx_static_cast
=no
23463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23465 ac_cpp
='$CXXCPP $CPPFLAGS'
23466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23472 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23473 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23474 if test "$ac_cv_cxx_static_cast" = yes; then
23476 cat >>confdefs.h
<<\_ACEOF
23477 #define HAVE_STATIC_CAST
23483 if test "x$SUNCXX" = xyes
; then
23484 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23487 if test "x$SUNCC" = xyes
; then
23488 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23491 if test "x$SGICC" = "xyes"; then
23492 CFLAGS
="-woff 3970 $CFLAGS"
23494 if test "x$SGICXX" = "xyes"; then
23495 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23498 if test "x$HPCC" = "xyes"; then
23499 CFLAGS
="+W 2011,2450 $CFLAGS"
23501 if test "x$HPCXX" = "xyes"; then
23502 CXXFLAGS
="+W 2340 $CXXFLAGS"
23505 if test "x$COMPAQCXX" = "xyes"; then
23506 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23509 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23510 if test "$wxUSE_UNICODE" = "yes"; then
23511 std_string
="std::wstring"
23512 char_type
="wchar_t"
23514 std_string
="std::string"
23518 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23519 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23520 cat >conftest.
$ac_ext <<_ACEOF
23523 cat confdefs.h
>>conftest.
$ac_ext
23524 cat >>conftest.
$ac_ext <<_ACEOF
23525 /* end confdefs.h. */
23535 rm -f conftest.
$ac_objext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23537 (eval $ac_compile) 2>conftest.er1
23539 grep -v '^ *+' conftest.er1
>conftest.err
23541 cat conftest.err
>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; } &&
23550 { ac_try
='test -s conftest.$ac_objext'
23551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23552 (eval $ac_try) 2>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); }; }; then
23556 echo "$as_me:$LINENO: result: yes" >&5
23557 echo "${ECHO_T}yes" >&6
23558 cat >>confdefs.h
<<\_ACEOF
23559 #define HAVE_STD_WSTRING 1
23563 echo "$as_me: failed program was:" >&5
23564 sed 's/^/| /' conftest.
$ac_ext >&5
23566 echo "$as_me:$LINENO: result: no" >&5
23567 echo "${ECHO_T}no" >&6
23568 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23569 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23570 cat >conftest.
$ac_ext <<_ACEOF
23573 cat confdefs.h
>>conftest.
$ac_ext
23574 cat >>conftest.
$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23577 #ifdef HAVE_WCHAR_H
23579 # include <stddef.h>
23581 # include <wchar.h>
23583 #ifdef HAVE_STDLIB_H
23584 # include <stdlib.h>
23592 std::basic_string<$char_type> foo;
23593 const $char_type* dummy = foo.c_str();
23598 rm -f conftest.
$ac_objext
23599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23600 (eval $ac_compile) 2>conftest.er1
23602 grep -v '^ *+' conftest.er1
>conftest.err
23604 cat conftest.err
>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } &&
23607 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609 (eval $ac_try) 2>&5
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; } &&
23613 { ac_try
='test -s conftest.$ac_objext'
23614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615 (eval $ac_try) 2>&5
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; }; then
23619 echo "$as_me:$LINENO: result: yes" >&5
23620 echo "${ECHO_T}yes" >&6
23622 echo "$as_me: failed program was:" >&5
23623 sed 's/^/| /' conftest.
$ac_ext >&5
23625 echo "$as_me:$LINENO: result: no" >&5
23626 echo "${ECHO_T}no" >&6
23627 if test "$wxUSE_STL" = "yes"; then
23628 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23629 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23630 { (exit 1); exit 1; }; }
23631 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23632 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23633 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23634 { (exit 1); exit 1; }; }
23636 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23637 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23638 wxUSE_STD_STRING
=no
23643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23649 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23650 echo "$as_me:$LINENO: checking for std::istream" >&5
23651 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23652 if test "${ac_cv_type_std__istream+set}" = set; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23655 cat >conftest.
$ac_ext <<_ACEOF
23658 cat confdefs.h
>>conftest.
$ac_ext
23659 cat >>conftest.
$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661 #include <iostream>
23666 if ((std::istream *) 0)
23668 if (sizeof (std::istream))
23674 rm -f conftest.
$ac_objext
23675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23676 (eval $ac_compile) 2>conftest.er1
23678 grep -v '^ *+' conftest.er1
>conftest.err
23680 cat conftest.err
>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } &&
23683 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; } &&
23689 { ac_try
='test -s conftest.$ac_objext'
23690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23691 (eval $ac_try) 2>&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); }; }; then
23695 ac_cv_type_std__istream
=yes
23697 echo "$as_me: failed program was:" >&5
23698 sed 's/^/| /' conftest.
$ac_ext >&5
23700 ac_cv_type_std__istream
=no
23702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23704 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23705 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23706 if test $ac_cv_type_std__istream = yes; then
23708 cat >>confdefs.h
<<_ACEOF
23709 #define HAVE_STD__ISTREAM 1
23714 wxUSE_STD_IOSTREAM
=no
23716 echo "$as_me:$LINENO: checking for std::ostream" >&5
23717 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23718 if test "${ac_cv_type_std__ostream+set}" = set; then
23719 echo $ECHO_N "(cached) $ECHO_C" >&6
23721 cat >conftest.
$ac_ext <<_ACEOF
23724 cat confdefs.h
>>conftest.
$ac_ext
23725 cat >>conftest.
$ac_ext <<_ACEOF
23726 /* end confdefs.h. */
23727 #include <iostream>
23732 if ((std::ostream *) 0)
23734 if (sizeof (std::ostream))
23740 rm -f conftest.
$ac_objext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23742 (eval $ac_compile) 2>conftest.er1
23744 grep -v '^ *+' conftest.er1
>conftest.err
23746 cat conftest.err
>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } &&
23749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; } &&
23755 { ac_try
='test -s conftest.$ac_objext'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761 ac_cv_type_std__ostream
=yes
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.
$ac_ext >&5
23766 ac_cv_type_std__ostream
=no
23768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23770 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23771 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23772 if test $ac_cv_type_std__ostream = yes; then
23774 cat >>confdefs.h
<<_ACEOF
23775 #define HAVE_STD__OSTREAM 1
23780 wxUSE_STD_IOSTREAM
=no
23784 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23785 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23786 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23787 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23788 { (exit 1); exit 1; }; }
23790 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23791 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23796 if test "$wxUSE_STL" = "yes"; then
23797 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23798 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23799 cat >conftest.
$ac_ext <<_ACEOF
23802 cat confdefs.h
>>conftest.
$ac_ext
23803 cat >>conftest.
$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23806 #include <functional>
23807 #include <algorithm>
23813 std::vector<int> moo;
23814 std::list<int> foo;
23815 std::vector<int>::iterator it =
23816 std::find_if(moo.begin(), moo.end(),
23817 std::bind2nd(std::less<int>(), 3));
23822 rm -f conftest.
$ac_objext
23823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23824 (eval $ac_compile) 2>conftest.er1
23826 grep -v '^ *+' conftest.er1
>conftest.err
23828 cat conftest.err
>&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); } &&
23831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833 (eval $ac_try) 2>&5
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); }; } &&
23837 { ac_try
='test -s conftest.$ac_objext'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; }; then
23843 echo "$as_me:$LINENO: result: yes" >&5
23844 echo "${ECHO_T}yes" >&6
23846 echo "$as_me: failed program was:" >&5
23847 sed 's/^/| /' conftest.
$ac_ext >&5
23849 echo "$as_me:$LINENO: result: no" >&5
23850 echo "${ECHO_T}no" >&6
23851 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23852 echo "$as_me: error: Basic STL functionality missing" >&2;}
23853 { (exit 1); exit 1; }; }
23855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23857 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23858 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23859 cat >conftest.
$ac_ext <<_ACEOF
23862 cat confdefs.h
>>conftest.
$ac_ext
23863 cat >>conftest.
$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23869 std::string foo, bar;
23871 foo.compare(1, 1, bar);
23872 foo.compare(1, 1, bar, 1, 1);
23874 foo.compare(1, 1, "");
23875 foo.compare(1, 1, "", 2);
23880 rm -f conftest.
$ac_objext
23881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23882 (eval $ac_compile) 2>conftest.er1
23884 grep -v '^ *+' conftest.er1
>conftest.err
23886 cat conftest.err
>&5
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); } &&
23889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23891 (eval $ac_try) 2>&5
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); }; } &&
23895 { ac_try
='test -s conftest.$ac_objext'
23896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23897 (eval $ac_try) 2>&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); }; }; then
23901 echo "$as_me:$LINENO: result: yes" >&5
23902 echo "${ECHO_T}yes" >&6
23903 cat >>confdefs.h
<<\_ACEOF
23904 #define HAVE_STD_STRING_COMPARE 1
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.
$ac_ext >&5
23911 echo "$as_me:$LINENO: result: no" >&5
23912 echo "${ECHO_T}no" >&6
23914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23916 if test "${ac_cv_header_hash_map+set}" = set; then
23917 echo "$as_me:$LINENO: checking for hash_map" >&5
23918 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23919 if test "${ac_cv_header_hash_map+set}" = set; then
23920 echo $ECHO_N "(cached) $ECHO_C" >&6
23922 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23923 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23925 # Is the header compilable?
23926 echo "$as_me:$LINENO: checking hash_map usability" >&5
23927 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23928 cat >conftest.
$ac_ext <<_ACEOF
23931 cat confdefs.h
>>conftest.
$ac_ext
23932 cat >>conftest.
$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934 $ac_includes_default
23935 #include <hash_map>
23937 rm -f conftest.
$ac_objext
23938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23939 (eval $ac_compile) 2>conftest.er1
23941 grep -v '^ *+' conftest.er1
>conftest.err
23943 cat conftest.err
>&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } &&
23946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; } &&
23952 { ac_try
='test -s conftest.$ac_objext'
23953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23954 (eval $ac_try) 2>&5
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); }; }; then
23958 ac_header_compiler
=yes
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.
$ac_ext >&5
23963 ac_header_compiler
=no
23965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23967 echo "${ECHO_T}$ac_header_compiler" >&6
23969 # Is the header present?
23970 echo "$as_me:$LINENO: checking hash_map presence" >&5
23971 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23972 cat >conftest.
$ac_ext <<_ACEOF
23975 cat confdefs.h
>>conftest.
$ac_ext
23976 cat >>conftest.
$ac_ext <<_ACEOF
23977 /* end confdefs.h. */
23978 #include <hash_map>
23980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23981 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23983 grep -v '^ *+' conftest.er1
>conftest.err
23985 cat conftest.err
>&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } >/dev
/null
; then
23988 if test -s conftest.err
; then
23989 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23990 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23997 if test -z "$ac_cpp_err"; then
23998 ac_header_preproc
=yes
24000 echo "$as_me: failed program was:" >&5
24001 sed 's/^/| /' conftest.
$ac_ext >&5
24003 ac_header_preproc
=no
24005 rm -f conftest.err conftest.
$ac_ext
24006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24007 echo "${ECHO_T}$ac_header_preproc" >&6
24009 # So? What about this header?
24010 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24012 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24013 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24014 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24015 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24016 ac_header_preproc
=yes
24019 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24020 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24021 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24022 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24023 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24024 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24025 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24026 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24027 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24028 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24029 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24030 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24033 ## ----------------------------------------- ##
24034 ## Report this to wx-dev@lists.wxwidgets.org ##
24035 ## ----------------------------------------- ##
24038 sed "s/^/$as_me: WARNING: /" >&2
24041 echo "$as_me:$LINENO: checking for hash_map" >&5
24042 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24043 if test "${ac_cv_header_hash_map+set}" = set; then
24044 echo $ECHO_N "(cached) $ECHO_C" >&6
24046 ac_cv_header_hash_map
=$ac_header_preproc
24048 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24049 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24052 if test $ac_cv_header_hash_map = yes; then
24053 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24054 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24055 cat >conftest.
$ac_ext <<_ACEOF
24058 cat confdefs.h
>>conftest.
$ac_ext
24059 cat >>conftest.
$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061 #include <hash_map>
24062 #include <hash_set>
24066 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24067 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24072 rm -f conftest.
$ac_objext
24073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24074 (eval $ac_compile) 2>conftest.er1
24076 grep -v '^ *+' conftest.er1
>conftest.err
24078 cat conftest.err
>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } &&
24081 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24083 (eval $ac_try) 2>&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); }; } &&
24087 { ac_try
='test -s conftest.$ac_objext'
24088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24089 (eval $ac_try) 2>&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); }; }; then
24093 echo "$as_me:$LINENO: result: yes" >&5
24094 echo "${ECHO_T}yes" >&6
24095 cat >>confdefs.h
<<\_ACEOF
24096 #define HAVE_HASH_MAP 1
24099 cat >>confdefs.h
<<\_ACEOF
24100 #define HAVE_STD_HASH_MAP 1
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.
$ac_ext >&5
24107 echo "$as_me:$LINENO: result: no" >&5
24108 echo "${ECHO_T}no" >&6
24110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24116 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24117 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24118 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24119 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24120 echo $ECHO_N "(cached) $ECHO_C" >&6
24122 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24123 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24125 # Is the header compilable?
24126 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24127 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24128 cat >conftest.
$ac_ext <<_ACEOF
24131 cat confdefs.h
>>conftest.
$ac_ext
24132 cat >>conftest.
$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24134 $ac_includes_default
24135 #include <ext/hash_map>
24137 rm -f conftest.
$ac_objext
24138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24139 (eval $ac_compile) 2>conftest.er1
24141 grep -v '^ *+' conftest.er1
>conftest.err
24143 cat conftest.err
>&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); } &&
24146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; } &&
24152 { ac_try
='test -s conftest.$ac_objext'
24153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154 (eval $ac_try) 2>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; }; then
24158 ac_header_compiler
=yes
24160 echo "$as_me: failed program was:" >&5
24161 sed 's/^/| /' conftest.
$ac_ext >&5
24163 ac_header_compiler
=no
24165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24167 echo "${ECHO_T}$ac_header_compiler" >&6
24169 # Is the header present?
24170 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24171 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24172 cat >conftest.
$ac_ext <<_ACEOF
24175 cat confdefs.h
>>conftest.
$ac_ext
24176 cat >>conftest.
$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24178 #include <ext/hash_map>
24180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24183 grep -v '^ *+' conftest.er1
>conftest.err
24185 cat conftest.err
>&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); } >/dev
/null
; then
24188 if test -s conftest.err
; then
24189 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24190 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24197 if test -z "$ac_cpp_err"; then
24198 ac_header_preproc
=yes
24200 echo "$as_me: failed program was:" >&5
24201 sed 's/^/| /' conftest.
$ac_ext >&5
24203 ac_header_preproc
=no
24205 rm -f conftest.err conftest.
$ac_ext
24206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24207 echo "${ECHO_T}$ac_header_preproc" >&6
24209 # So? What about this header?
24210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24212 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24213 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24214 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24215 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24216 ac_header_preproc
=yes
24219 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24220 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24221 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24222 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24223 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24224 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24225 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24226 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24227 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24228 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24229 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24230 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24233 ## ----------------------------------------- ##
24234 ## Report this to wx-dev@lists.wxwidgets.org ##
24235 ## ----------------------------------------- ##
24238 sed "s/^/$as_me: WARNING: /" >&2
24241 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24242 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24243 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24244 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 ac_cv_header_ext_hash_map
=$ac_header_preproc
24248 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24249 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24252 if test $ac_cv_header_ext_hash_map = yes; then
24253 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24254 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24255 cat >conftest.
$ac_ext <<_ACEOF
24258 cat confdefs.h
>>conftest.
$ac_ext
24259 cat >>conftest.
$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261 #include <ext/hash_map>
24262 #include <ext/hash_set>
24266 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24267 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24272 rm -f conftest.
$ac_objext
24273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24274 (eval $ac_compile) 2>conftest.er1
24276 grep -v '^ *+' conftest.er1
>conftest.err
24278 cat conftest.err
>&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); } &&
24281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24283 (eval $ac_try) 2>&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; } &&
24287 { ac_try
='test -s conftest.$ac_objext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24293 echo "$as_me:$LINENO: result: yes" >&5
24294 echo "${ECHO_T}yes" >&6
24295 cat >>confdefs.h
<<\_ACEOF
24296 #define HAVE_EXT_HASH_MAP 1
24299 cat >>confdefs.h
<<\_ACEOF
24300 #define HAVE_GNU_CXX_HASH_MAP 1
24304 echo "$as_me: failed program was:" >&5
24305 sed 's/^/| /' conftest.
$ac_ext >&5
24307 echo "$as_me:$LINENO: result: no" >&5
24308 echo "${ECHO_T}no" >&6
24310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24319 /usr/local/include \
24321 /usr/Motif-2.1/include \
24322 /usr/Motif-1.2/include \
24323 /usr/include/Motif1.2 \
24326 /usr/openwin/include \
24330 /usr/X11R6/include \
24331 /usr/X11R6.4/include \
24332 /usr/X11R5/include \
24333 /usr/X11R4/include \
24335 /usr/include/X11R6 \
24336 /usr/include/X11R5 \
24337 /usr/include/X11R4 \
24339 /usr/local/X11R6/include \
24340 /usr/local/X11R5/include \
24341 /usr/local/X11R4/include \
24343 /usr/local/include/X11R6 \
24344 /usr/local/include/X11R5 \
24345 /usr/local/include/X11R4 \
24349 /usr/local/X11/include \
24350 /usr/local/include/X11 \
24352 /usr/XFree86/include/X11 \
24355 /usr/openwin/share/include"
24357 echo "$as_me:$LINENO: checking for libraries directory" >&5
24358 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24362 if test "${wx_cv_std_libpath+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24366 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24367 for e
in a so sl dylib dll.a
; do
24369 if test -f $libc; then
24372 cat >conftest.
$ac_ext <<_ACEOF
24373 int main() { return 0; }
24375 rm -f conftest.
$ac_objext conftest
$ac_exeext
24376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24377 (eval $ac_link) 2>conftest.er1
24379 grep -v '^ *+' conftest.er1
>conftest.err
24381 cat conftest.err
>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); } &&
24384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386 (eval $ac_try) 2>&5
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); }; } &&
24390 { ac_try
='test -s conftest$ac_exeext'
24391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24392 (eval $ac_try) 2>&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); }; }; then
24396 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.
$ac_ext >&5
24402 rm -f conftest.err conftest.
$ac_objext \
24403 conftest
$ac_exeext conftest.
$ac_ext
24405 if test "x$wx_cv_std_libpath" != "x"; then
24411 if test "x$wx_cv_std_libpath" = "x"; then
24412 wx_cv_std_libpath
="lib"
24421 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24422 wx_cv_std_libpath
="lib/64"
24424 wx_cv_std_libpath
="lib"
24429 if test "$ac_cv_sizeof_void_p" = 8 -a \
24430 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24431 wx_cv_std_libpath
="lib64"
24433 wx_cv_std_libpath
="lib"
24438 wx_cv_std_libpath
="lib";
24442 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24443 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24445 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24447 if test "$build" != "$host" -a "$GCC" = yes; then
24448 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24449 cross_root
=`dirname $cross_root`
24450 cross_root
=`dirname $cross_root`
24452 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24453 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24454 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24456 if test -z "$PKG_CONFIG_PATH"; then
24457 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24458 export PKG_CONFIG_PATH
24461 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24464 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24466 if test -f "$ac_dir/X11/Intrinsic.h"; then
24467 ac_find_includes
=$ac_dir
24472 x_includes
=$ac_find_includes
24474 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24477 for ac_dir
in $SEARCH_LIB;
24479 for ac_extension
in a so sl dylib dll.a
; do
24480 if test -f "$ac_dir/libXt.$ac_extension"; then
24481 ac_find_libraries
=$ac_dir
24487 x_libraries
=$ac_find_libraries
24493 cat >confcache
<<\_ACEOF
24494 # This file is a shell script that caches the results of configure
24495 # tests run on this system so they can be shared between configure
24496 # scripts and configure runs, see configure's option --config-cache.
24497 # It is not useful on other systems. If it contains results you don't
24498 # want to keep, you may remove or edit it.
24500 # config.status only pays attention to the cache file if you give it
24501 # the --recheck option to rerun configure.
24503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24505 # following values.
24509 # The following way of writing the cache mishandles newlines in values,
24510 # but we know of no workaround that is simple, portable, and efficient.
24511 # So, don't put newlines in cache variables' values.
24512 # Ultrix sh set writes to stderr and can't be redirected directly,
24513 # and sets the high bit in the cache file unless we assign to the vars.
24516 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24518 # `set' does not quote correctly, so add quotes (double-quote
24519 # substitution turns \\\\ into \\, and sed turns \\ into \).
24522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24525 # `set' quotes correctly as required by POSIX, so do not add quotes.
24527 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24534 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24536 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24538 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24539 if test -w $cache_file; then
24540 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24541 cat confcache
>$cache_file
24543 echo "not updating unwritable cache $cache_file"
24548 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24549 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24550 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24551 if test "${wx_cv_lib_glibc21+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24555 cat >conftest.
$ac_ext <<_ACEOF
24558 cat confdefs.h
>>conftest.
$ac_ext
24559 cat >>conftest.
$ac_ext <<_ACEOF
24560 /* end confdefs.h. */
24561 #include <features.h>
24566 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24574 rm -f conftest.
$ac_objext
24575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24576 (eval $ac_compile) 2>conftest.er1
24578 grep -v '^ *+' conftest.er1
>conftest.err
24580 cat conftest.err
>&5
24581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582 (exit $ac_status); } &&
24583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585 (eval $ac_try) 2>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); }; } &&
24589 { ac_try
='test -s conftest.$ac_objext'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; }; then
24596 wx_cv_lib_glibc21
=yes
24599 echo "$as_me: failed program was:" >&5
24600 sed 's/^/| /' conftest.
$ac_ext >&5
24603 wx_cv_lib_glibc21
=no
24607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24610 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24611 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24612 if test "$wx_cv_lib_glibc21" = "yes"; then
24613 cat >>confdefs.h
<<\_ACEOF
24614 #define wxHAVE_GLIBC2 1
24620 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24621 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24622 cat >>confdefs.h
<<\_ACEOF
24623 #define _GNU_SOURCE 1
24634 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24635 echo "$as_me:$LINENO: checking for $ac_func" >&5
24636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24637 if eval "test \"\${$as_ac_var+set}\" = set"; then
24638 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 cat >conftest.
$ac_ext <<_ACEOF
24643 cat confdefs.h
>>conftest.
$ac_ext
24644 cat >>conftest.
$ac_ext <<_ACEOF
24645 /* end confdefs.h. */
24646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24648 #define $ac_func innocuous_$ac_func
24650 /* System header to define __stub macros and hopefully few prototypes,
24651 which can conflict with char $ac_func (); below.
24652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24653 <limits.h> exists even on freestanding compilers. */
24656 # include <limits.h>
24658 # include <assert.h>
24663 /* Override any gcc2 internal prototype to avoid an error. */
24668 /* We use char because int might match the return type of a gcc2
24669 builtin and then its argument prototype would still apply. */
24671 /* The GNU C library defines this for functions which it implements
24672 to always fail with ENOSYS. Some functions are actually named
24673 something starting with __ and the normal name is an alias. */
24674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24677 char (*f) () = $ac_func;
24686 return f != $ac_func;
24691 rm -f conftest.
$ac_objext conftest
$ac_exeext
24692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24693 (eval $ac_link) 2>conftest.er1
24695 grep -v '^ *+' conftest.er1
>conftest.err
24697 cat conftest.err
>&5
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); } &&
24700 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24702 (eval $ac_try) 2>&5
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); }; } &&
24706 { ac_try
='test -s conftest$ac_exeext'
24707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24708 (eval $ac_try) 2>&5
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); }; }; then
24712 eval "$as_ac_var=yes"
24714 echo "$as_me: failed program was:" >&5
24715 sed 's/^/| /' conftest.
$ac_ext >&5
24717 eval "$as_ac_var=no"
24719 rm -f conftest.err conftest.
$ac_objext \
24720 conftest
$ac_exeext conftest.
$ac_ext
24722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24724 if test `eval echo '${'$as_ac_var'}'` = yes; then
24725 cat >>confdefs.h
<<_ACEOF
24726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24733 for ac_func
in floor
24735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24736 echo "$as_me:$LINENO: checking for $ac_func" >&5
24737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24738 if eval "test \"\${$as_ac_var+set}\" = set"; then
24739 echo $ECHO_N "(cached) $ECHO_C" >&6
24741 cat >conftest.
$ac_ext <<_ACEOF
24744 cat confdefs.h
>>conftest.
$ac_ext
24745 cat >>conftest.
$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24749 #define $ac_func innocuous_$ac_func
24751 /* System header to define __stub macros and hopefully few prototypes,
24752 which can conflict with char $ac_func (); below.
24753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24754 <limits.h> exists even on freestanding compilers. */
24757 # include <limits.h>
24759 # include <assert.h>
24764 /* Override any gcc2 internal prototype to avoid an error. */
24769 /* We use char because int might match the return type of a gcc2
24770 builtin and then its argument prototype would still apply. */
24772 /* The GNU C library defines this for functions which it implements
24773 to always fail with ENOSYS. Some functions are actually named
24774 something starting with __ and the normal name is an alias. */
24775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24778 char (*f) () = $ac_func;
24787 return f != $ac_func;
24792 rm -f conftest.
$ac_objext conftest
$ac_exeext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24794 (eval $ac_link) 2>conftest.er1
24796 grep -v '^ *+' conftest.er1
>conftest.err
24798 cat conftest.err
>&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } &&
24801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; } &&
24807 { ac_try
='test -s conftest$ac_exeext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 eval "$as_ac_var=yes"
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.
$ac_ext >&5
24818 eval "$as_ac_var=no"
24820 rm -f conftest.err conftest.
$ac_objext \
24821 conftest
$ac_exeext conftest.
$ac_ext
24823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24825 if test `eval echo '${'$as_ac_var'}'` = yes; then
24826 cat >>confdefs.h
<<_ACEOF
24827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24833 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24834 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24835 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24836 echo "$as_me:$LINENO: result: yes" >&5
24837 echo "${ECHO_T}yes" >&6
24839 echo "$as_me:$LINENO: result: no" >&5
24840 echo "${ECHO_T}no" >&6
24842 # use different functions to avoid configure caching
24848 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24849 echo "$as_me:$LINENO: checking for $ac_func" >&5
24850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24851 if eval "test \"\${$as_ac_var+set}\" = set"; then
24852 echo $ECHO_N "(cached) $ECHO_C" >&6
24854 cat >conftest.
$ac_ext <<_ACEOF
24857 cat confdefs.h
>>conftest.
$ac_ext
24858 cat >>conftest.
$ac_ext <<_ACEOF
24859 /* end confdefs.h. */
24860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24862 #define $ac_func innocuous_$ac_func
24864 /* System header to define __stub macros and hopefully few prototypes,
24865 which can conflict with char $ac_func (); below.
24866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24867 <limits.h> exists even on freestanding compilers. */
24870 # include <limits.h>
24872 # include <assert.h>
24877 /* Override any gcc2 internal prototype to avoid an error. */
24882 /* We use char because int might match the return type of a gcc2
24883 builtin and then its argument prototype would still apply. */
24885 /* The GNU C library defines this for functions which it implements
24886 to always fail with ENOSYS. Some functions are actually named
24887 something starting with __ and the normal name is an alias. */
24888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24891 char (*f) () = $ac_func;
24900 return f != $ac_func;
24905 rm -f conftest.
$ac_objext conftest
$ac_exeext
24906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24907 (eval $ac_link) 2>conftest.er1
24909 grep -v '^ *+' conftest.er1
>conftest.err
24911 cat conftest.err
>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; } &&
24920 { ac_try
='test -s conftest$ac_exeext'
24921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24922 (eval $ac_try) 2>&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); }; }; then
24926 eval "$as_ac_var=yes"
24928 echo "$as_me: failed program was:" >&5
24929 sed 's/^/| /' conftest.
$ac_ext >&5
24931 eval "$as_ac_var=no"
24933 rm -f conftest.err conftest.
$ac_objext \
24934 conftest
$ac_exeext conftest.
$ac_ext
24936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24938 if test `eval echo '${'$as_ac_var'}'` = yes; then
24939 cat >>confdefs.h
<<_ACEOF
24940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24947 for ac_func
in ceil
24949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24950 echo "$as_me:$LINENO: checking for $ac_func" >&5
24951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24952 if eval "test \"\${$as_ac_var+set}\" = set"; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 cat >conftest.
$ac_ext <<_ACEOF
24958 cat confdefs.h
>>conftest.
$ac_ext
24959 cat >>conftest.
$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24963 #define $ac_func innocuous_$ac_func
24965 /* System header to define __stub macros and hopefully few prototypes,
24966 which can conflict with char $ac_func (); below.
24967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24968 <limits.h> exists even on freestanding compilers. */
24971 # include <limits.h>
24973 # include <assert.h>
24978 /* Override any gcc2 internal prototype to avoid an error. */
24983 /* We use char because int might match the return type of a gcc2
24984 builtin and then its argument prototype would still apply. */
24986 /* The GNU C library defines this for functions which it implements
24987 to always fail with ENOSYS. Some functions are actually named
24988 something starting with __ and the normal name is an alias. */
24989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24992 char (*f) () = $ac_func;
25001 return f != $ac_func;
25006 rm -f conftest.
$ac_objext conftest
$ac_exeext
25007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25008 (eval $ac_link) 2>conftest.er1
25010 grep -v '^ *+' conftest.er1
>conftest.err
25012 cat conftest.err
>&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } &&
25015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25017 (eval $ac_try) 2>&5
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; } &&
25021 { ac_try
='test -s conftest$ac_exeext'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; }; then
25027 eval "$as_ac_var=yes"
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.
$ac_ext >&5
25032 eval "$as_ac_var=no"
25034 rm -f conftest.err conftest.
$ac_objext \
25035 conftest
$ac_exeext conftest.
$ac_ext
25037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25039 if test `eval echo '${'$as_ac_var'}'` = yes; then
25040 cat >>confdefs.h
<<_ACEOF
25041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25047 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25048 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25049 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25050 echo "$as_me:$LINENO: result: yes" >&5
25051 echo "${ECHO_T}yes" >&6
25053 echo "$as_me:$LINENO: result: no" >&5
25054 echo "${ECHO_T}no" >&6
25055 # not sure we should warn the user, crash, etc.
25061 if test "$wxUSE_REGEX" != "no"; then
25062 cat >>confdefs.h
<<\_ACEOF
25063 #define wxUSE_REGEX 1
25067 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25068 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25069 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25070 wxUSE_REGEX
=builtin
25073 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25074 if test "${ac_cv_header_regex_h+set}" = set; then
25075 echo "$as_me:$LINENO: checking for regex.h" >&5
25076 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25077 if test "${ac_cv_header_regex_h+set}" = set; then
25078 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25081 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25083 # Is the header compilable?
25084 echo "$as_me:$LINENO: checking regex.h usability" >&5
25085 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25086 cat >conftest.
$ac_ext <<_ACEOF
25089 cat confdefs.h
>>conftest.
$ac_ext
25090 cat >>conftest.
$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25092 $ac_includes_default
25095 rm -f conftest.
$ac_objext
25096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25097 (eval $ac_compile) 2>conftest.er1
25099 grep -v '^ *+' conftest.er1
>conftest.err
25101 cat conftest.err
>&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } &&
25104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25106 (eval $ac_try) 2>&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); }; } &&
25110 { ac_try
='test -s conftest.$ac_objext'
25111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25112 (eval $ac_try) 2>&5
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); }; }; then
25116 ac_header_compiler
=yes
25118 echo "$as_me: failed program was:" >&5
25119 sed 's/^/| /' conftest.
$ac_ext >&5
25121 ac_header_compiler
=no
25123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25125 echo "${ECHO_T}$ac_header_compiler" >&6
25127 # Is the header present?
25128 echo "$as_me:$LINENO: checking regex.h presence" >&5
25129 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25130 cat >conftest.
$ac_ext <<_ACEOF
25133 cat confdefs.h
>>conftest.
$ac_ext
25134 cat >>conftest.
$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25141 grep -v '^ *+' conftest.er1
>conftest.err
25143 cat conftest.err
>&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } >/dev
/null
; then
25146 if test -s conftest.err
; then
25147 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25148 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25155 if test -z "$ac_cpp_err"; then
25156 ac_header_preproc
=yes
25158 echo "$as_me: failed program was:" >&5
25159 sed 's/^/| /' conftest.
$ac_ext >&5
25161 ac_header_preproc
=no
25163 rm -f conftest.err conftest.
$ac_ext
25164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25165 echo "${ECHO_T}$ac_header_preproc" >&6
25167 # So? What about this header?
25168 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25170 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25171 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25172 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25173 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25174 ac_header_preproc
=yes
25177 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25178 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25179 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25180 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25181 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25182 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25183 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25184 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25185 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25186 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25187 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25188 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25191 ## ----------------------------------------- ##
25192 ## Report this to wx-dev@lists.wxwidgets.org ##
25193 ## ----------------------------------------- ##
25196 sed "s/^/$as_me: WARNING: /" >&2
25199 echo "$as_me:$LINENO: checking for regex.h" >&5
25200 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25201 if test "${ac_cv_header_regex_h+set}" = set; then
25202 echo $ECHO_N "(cached) $ECHO_C" >&6
25204 ac_cv_header_regex_h
=$ac_header_preproc
25206 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25207 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25210 if test $ac_cv_header_regex_h = yes; then
25213 for ac_func
in regcomp re_search
25215 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25216 echo "$as_me:$LINENO: checking for $ac_func" >&5
25217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25218 if eval "test \"\${$as_ac_var+set}\" = set"; then
25219 echo $ECHO_N "(cached) $ECHO_C" >&6
25221 cat >conftest.
$ac_ext <<_ACEOF
25224 cat confdefs.h
>>conftest.
$ac_ext
25225 cat >>conftest.
$ac_ext <<_ACEOF
25226 /* end confdefs.h. */
25227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25229 #define $ac_func innocuous_$ac_func
25231 /* System header to define __stub macros and hopefully few prototypes,
25232 which can conflict with char $ac_func (); below.
25233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25234 <limits.h> exists even on freestanding compilers. */
25237 # include <limits.h>
25239 # include <assert.h>
25244 /* Override any gcc2 internal prototype to avoid an error. */
25249 /* We use char because int might match the return type of a gcc2
25250 builtin and then its argument prototype would still apply. */
25252 /* The GNU C library defines this for functions which it implements
25253 to always fail with ENOSYS. Some functions are actually named
25254 something starting with __ and the normal name is an alias. */
25255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25258 char (*f) () = $ac_func;
25267 return f != $ac_func;
25272 rm -f conftest.
$ac_objext conftest
$ac_exeext
25273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25274 (eval $ac_link) 2>conftest.er1
25276 grep -v '^ *+' conftest.er1
>conftest.err
25278 cat conftest.err
>&5
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); } &&
25281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283 (eval $ac_try) 2>&5
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); }; } &&
25287 { ac_try
='test -s conftest$ac_exeext'
25288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25289 (eval $ac_try) 2>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); }; }; then
25293 eval "$as_ac_var=yes"
25295 echo "$as_me: failed program was:" >&5
25296 sed 's/^/| /' conftest.
$ac_ext >&5
25298 eval "$as_ac_var=no"
25300 rm -f conftest.err conftest.
$ac_objext \
25301 conftest
$ac_exeext conftest.
$ac_ext
25303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25305 if test `eval echo '${'$as_ac_var'}'` = yes; then
25306 cat >>confdefs.h
<<_ACEOF
25307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25317 if test "x$ac_cv_func_regcomp" != "xyes"; then
25318 if test "$wxUSE_REGEX" = "sys" ; then
25319 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25320 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25321 { (exit 1); exit 1; }; }
25323 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25324 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25325 wxUSE_REGEX
=builtin
25329 cat >>confdefs.h
<<\_ACEOF
25330 #define WX_NO_REGEX_ADVANCED 1
25339 if test "$wxUSE_ZLIB" != "no" ; then
25340 cat >>confdefs.h
<<\_ACEOF
25341 #define wxUSE_ZLIB 1
25345 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25346 if test "$USE_DARWIN" = 1; then
25347 system_zlib_h_ok
="yes"
25349 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25350 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25351 if test "${ac_cv_header_zlib_h+set}" = set; then
25352 echo $ECHO_N "(cached) $ECHO_C" >&6
25354 if test "$cross_compiling" = yes; then
25355 unset ac_cv_header_zlib_h
25358 cat >conftest.
$ac_ext <<_ACEOF
25361 cat confdefs.h
>>conftest.
$ac_ext
25362 cat >>conftest.
$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25370 FILE *f=fopen("conftestval", "w");
25373 ZLIB_VERSION[0] == '1' &&
25374 (ZLIB_VERSION[2] > '1' ||
25375 (ZLIB_VERSION[2] == '1' &&
25376 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25381 rm -f conftest
$ac_exeext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25383 (eval $ac_link) 2>&5
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25388 (eval $ac_try) 2>&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); }; }; then
25392 ac_cv_header_zlib_h
=`cat conftestval`
25394 echo "$as_me: program exited with status $ac_status" >&5
25395 echo "$as_me: failed program was:" >&5
25396 sed 's/^/| /' conftest.
$ac_ext >&5
25398 ( exit $ac_status )
25399 ac_cv_header_zlib_h
=no
25401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25405 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25406 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25407 if test "${ac_cv_header_zlib_h+set}" = set; then
25408 echo "$as_me:$LINENO: checking for zlib.h" >&5
25409 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25410 if test "${ac_cv_header_zlib_h+set}" = set; then
25411 echo $ECHO_N "(cached) $ECHO_C" >&6
25413 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25414 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25416 # Is the header compilable?
25417 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25418 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25419 cat >conftest.
$ac_ext <<_ACEOF
25422 cat confdefs.h
>>conftest.
$ac_ext
25423 cat >>conftest.
$ac_ext <<_ACEOF
25424 /* end confdefs.h. */
25425 $ac_includes_default
25428 rm -f conftest.
$ac_objext
25429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25430 (eval $ac_compile) 2>conftest.er1
25432 grep -v '^ *+' conftest.er1
>conftest.err
25434 cat conftest.err
>&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); } &&
25437 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; } &&
25443 { ac_try
='test -s conftest.$ac_objext'
25444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25445 (eval $ac_try) 2>&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); }; }; then
25449 ac_header_compiler
=yes
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.
$ac_ext >&5
25454 ac_header_compiler
=no
25456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25458 echo "${ECHO_T}$ac_header_compiler" >&6
25460 # Is the header present?
25461 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25462 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25463 cat >conftest.
$ac_ext <<_ACEOF
25466 cat confdefs.h
>>conftest.
$ac_ext
25467 cat >>conftest.
$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25474 grep -v '^ *+' conftest.er1
>conftest.err
25476 cat conftest.err
>&5
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); } >/dev
/null
; then
25479 if test -s conftest.err
; then
25480 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25481 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25488 if test -z "$ac_cpp_err"; then
25489 ac_header_preproc
=yes
25491 echo "$as_me: failed program was:" >&5
25492 sed 's/^/| /' conftest.
$ac_ext >&5
25494 ac_header_preproc
=no
25496 rm -f conftest.err conftest.
$ac_ext
25497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25498 echo "${ECHO_T}$ac_header_preproc" >&6
25500 # So? What about this header?
25501 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25503 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25504 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25505 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25506 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25507 ac_header_preproc
=yes
25510 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25511 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25512 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25513 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25514 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25515 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25516 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25517 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25518 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25519 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25520 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25521 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25524 ## ----------------------------------------- ##
25525 ## Report this to wx-dev@lists.wxwidgets.org ##
25526 ## ----------------------------------------- ##
25529 sed "s/^/$as_me: WARNING: /" >&2
25532 echo "$as_me:$LINENO: checking for zlib.h" >&5
25533 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25534 if test "${ac_cv_header_zlib_h+set}" = set; then
25535 echo $ECHO_N "(cached) $ECHO_C" >&6
25537 ac_cv_header_zlib_h
=$ac_header_preproc
25539 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25540 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25546 system_zlib_h_ok
=$ac_cv_header_zlib_h
25549 if test "$system_zlib_h_ok" = "yes"; then
25550 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25551 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25552 if test "${ac_cv_lib_z_deflate+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6
25555 ac_check_lib_save_LIBS
=$LIBS
25557 cat >conftest.
$ac_ext <<_ACEOF
25560 cat confdefs.h
>>conftest.
$ac_ext
25561 cat >>conftest.
$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25564 /* Override any gcc2 internal prototype to avoid an error. */
25568 /* We use char because int might match the return type of a gcc2
25569 builtin and then its argument prototype would still apply. */
25579 rm -f conftest.
$ac_objext conftest
$ac_exeext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25581 (eval $ac_link) 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_cxx_werror_flag" || test ! -s conftest.err'
25589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590 (eval $ac_try) 2>&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); }; } &&
25594 { ac_try
='test -s conftest$ac_exeext'
25595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596 (eval $ac_try) 2>&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); }; }; then
25600 ac_cv_lib_z_deflate
=yes
25602 echo "$as_me: failed program was:" >&5
25603 sed 's/^/| /' conftest.
$ac_ext >&5
25605 ac_cv_lib_z_deflate
=no
25607 rm -f conftest.err conftest.
$ac_objext \
25608 conftest
$ac_exeext conftest.
$ac_ext
25609 LIBS
=$ac_check_lib_save_LIBS
25611 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25612 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25613 if test $ac_cv_lib_z_deflate = yes; then
25619 if test "x$ZLIB_LINK" = "x" ; then
25620 if test "$wxUSE_ZLIB" = "sys" ; then
25621 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25622 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25623 { (exit 1); exit 1; }; }
25625 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25626 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25637 if test "$wxUSE_LIBPNG" != "no" ; then
25638 cat >>confdefs.h
<<\_ACEOF
25639 #define wxUSE_LIBPNG 1
25643 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25644 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25645 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25649 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25650 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25651 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25652 wxUSE_LIBPNG
=builtin
25655 if test "$wxUSE_MGL" != 1 ; then
25656 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25657 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25658 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25659 if test "${ac_cv_header_png_h+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25662 if test "$cross_compiling" = yes; then
25663 unset ac_cv_header_png_h
25666 cat >conftest.
$ac_ext <<_ACEOF
25669 cat confdefs.h
>>conftest.
$ac_ext
25670 cat >>conftest.
$ac_ext <<_ACEOF
25671 /* end confdefs.h. */
25678 FILE *f=fopen("conftestval", "w");
25681 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25686 rm -f conftest
$ac_exeext
25687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25688 (eval $ac_link) 2>&5
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; }; then
25697 ac_cv_header_png_h
=`cat conftestval`
25699 echo "$as_me: program exited with status $ac_status" >&5
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.
$ac_ext >&5
25703 ( exit $ac_status )
25704 ac_cv_header_png_h
=no
25706 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25710 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25711 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25712 if test "${ac_cv_header_png_h+set}" = set; then
25713 echo "$as_me:$LINENO: checking for png.h" >&5
25714 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25715 if test "${ac_cv_header_png_h+set}" = set; then
25716 echo $ECHO_N "(cached) $ECHO_C" >&6
25718 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25719 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25721 # Is the header compilable?
25722 echo "$as_me:$LINENO: checking png.h usability" >&5
25723 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25724 cat >conftest.
$ac_ext <<_ACEOF
25727 cat confdefs.h
>>conftest.
$ac_ext
25728 cat >>conftest.
$ac_ext <<_ACEOF
25729 /* end confdefs.h. */
25730 $ac_includes_default
25733 rm -f conftest.
$ac_objext
25734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25735 (eval $ac_compile) 2>conftest.er1
25737 grep -v '^ *+' conftest.er1
>conftest.err
25739 cat conftest.err
>&5
25740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741 (exit $ac_status); } &&
25742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25744 (eval $ac_try) 2>&5
25746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747 (exit $ac_status); }; } &&
25748 { ac_try
='test -s conftest.$ac_objext'
25749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25750 (eval $ac_try) 2>&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); }; }; then
25754 ac_header_compiler
=yes
25756 echo "$as_me: failed program was:" >&5
25757 sed 's/^/| /' conftest.
$ac_ext >&5
25759 ac_header_compiler
=no
25761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25763 echo "${ECHO_T}$ac_header_compiler" >&6
25765 # Is the header present?
25766 echo "$as_me:$LINENO: checking png.h presence" >&5
25767 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25768 cat >conftest.
$ac_ext <<_ACEOF
25771 cat confdefs.h
>>conftest.
$ac_ext
25772 cat >>conftest.
$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25777 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25779 grep -v '^ *+' conftest.er1
>conftest.err
25781 cat conftest.err
>&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); } >/dev
/null
; then
25784 if test -s conftest.err
; then
25785 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25786 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25793 if test -z "$ac_cpp_err"; then
25794 ac_header_preproc
=yes
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.
$ac_ext >&5
25799 ac_header_preproc
=no
25801 rm -f conftest.err conftest.
$ac_ext
25802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25803 echo "${ECHO_T}$ac_header_preproc" >&6
25805 # So? What about this header?
25806 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25808 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25809 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25810 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25811 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25812 ac_header_preproc
=yes
25815 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25816 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25817 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25818 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25819 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25820 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25821 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25822 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25823 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25824 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25825 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25826 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25829 ## ----------------------------------------- ##
25830 ## Report this to wx-dev@lists.wxwidgets.org ##
25831 ## ----------------------------------------- ##
25834 sed "s/^/$as_me: WARNING: /" >&2
25837 echo "$as_me:$LINENO: checking for png.h" >&5
25838 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25839 if test "${ac_cv_header_png_h+set}" = set; then
25840 echo $ECHO_N "(cached) $ECHO_C" >&6
25842 ac_cv_header_png_h
=$ac_header_preproc
25844 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25845 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25851 if test "$ac_cv_header_png_h" = "yes"; then
25852 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25853 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25854 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25855 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 ac_check_lib_save_LIBS
=$LIBS
25858 LIBS
="-lpng -lz -lm $LIBS"
25859 cat >conftest.
$ac_ext <<_ACEOF
25862 cat confdefs.h
>>conftest.
$ac_ext
25863 cat >>conftest.
$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25866 /* Override any gcc2 internal prototype to avoid an error. */
25870 /* We use char because int might match the return type of a gcc2
25871 builtin and then its argument prototype would still apply. */
25872 char png_check_sig ();
25881 rm -f conftest.
$ac_objext conftest
$ac_exeext
25882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25883 (eval $ac_link) 2>conftest.er1
25885 grep -v '^ *+' conftest.er1
>conftest.err
25887 cat conftest.err
>&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); } &&
25890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25892 (eval $ac_try) 2>&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); }; } &&
25896 { ac_try
='test -s conftest$ac_exeext'
25897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25898 (eval $ac_try) 2>&5
25900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25901 (exit $ac_status); }; }; then
25902 ac_cv_lib_png_png_check_sig
=yes
25904 echo "$as_me: failed program was:" >&5
25905 sed 's/^/| /' conftest.
$ac_ext >&5
25907 ac_cv_lib_png_png_check_sig
=no
25909 rm -f conftest.err conftest.
$ac_objext \
25910 conftest
$ac_exeext conftest.
$ac_ext
25911 LIBS
=$ac_check_lib_save_LIBS
25913 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25914 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25915 if test $ac_cv_lib_png_png_check_sig = yes; then
25916 PNG_LINK
=" -lpng -lz"
25921 if test "x$PNG_LINK" = "x" ; then
25922 if test "$wxUSE_LIBPNG" = "sys" ; then
25923 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25924 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25925 { (exit 1); exit 1; }; }
25927 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25928 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25929 wxUSE_LIBPNG
=builtin
25937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25942 if test "$wxUSE_LIBJPEG" != "no" ; then
25943 cat >>confdefs.h
<<\_ACEOF
25944 #define wxUSE_LIBJPEG 1
25948 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25949 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25950 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25954 if test "$wxUSE_MGL" != 1 ; then
25955 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25956 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25957 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25958 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 cat >conftest.
$ac_ext <<_ACEOF
25964 cat confdefs.h
>>conftest.
$ac_ext
25965 cat >>conftest.
$ac_ext <<_ACEOF
25966 /* end confdefs.h. */
25968 #undef HAVE_STDLIB_H
25970 #include <jpeglib.h>
25981 rm -f conftest.
$ac_objext
25982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25983 (eval $ac_compile) 2>conftest.er1
25985 grep -v '^ *+' conftest.er1
>conftest.err
25987 cat conftest.err
>&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); } &&
25990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25992 (eval $ac_try) 2>&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); }; } &&
25996 { ac_try
='test -s conftest.$ac_objext'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; }; then
26002 ac_cv_header_jpeglib_h
=yes
26004 echo "$as_me: failed program was:" >&5
26005 sed 's/^/| /' conftest.
$ac_ext >&5
26007 ac_cv_header_jpeglib_h
=no
26010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26014 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26015 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26017 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26018 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26019 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26020 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26021 echo $ECHO_N "(cached) $ECHO_C" >&6
26023 ac_check_lib_save_LIBS
=$LIBS
26024 LIBS
="-ljpeg $LIBS"
26025 cat >conftest.
$ac_ext <<_ACEOF
26028 cat confdefs.h
>>conftest.
$ac_ext
26029 cat >>conftest.
$ac_ext <<_ACEOF
26030 /* end confdefs.h. */
26032 /* Override any gcc2 internal prototype to avoid an error. */
26036 /* We use char because int might match the return type of a gcc2
26037 builtin and then its argument prototype would still apply. */
26038 char jpeg_read_header ();
26042 jpeg_read_header ();
26047 rm -f conftest.
$ac_objext conftest
$ac_exeext
26048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26049 (eval $ac_link) 2>conftest.er1
26051 grep -v '^ *+' conftest.er1
>conftest.err
26053 cat conftest.err
>&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } &&
26056 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26058 (eval $ac_try) 2>&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); }; } &&
26062 { ac_try
='test -s conftest$ac_exeext'
26063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26064 (eval $ac_try) 2>&5
26066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067 (exit $ac_status); }; }; then
26068 ac_cv_lib_jpeg_jpeg_read_header
=yes
26070 echo "$as_me: failed program was:" >&5
26071 sed 's/^/| /' conftest.
$ac_ext >&5
26073 ac_cv_lib_jpeg_jpeg_read_header
=no
26075 rm -f conftest.err conftest.
$ac_objext \
26076 conftest
$ac_exeext conftest.
$ac_ext
26077 LIBS
=$ac_check_lib_save_LIBS
26079 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26080 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26081 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26082 JPEG_LINK
=" -ljpeg"
26087 if test "x$JPEG_LINK" = "x" ; then
26088 if test "$wxUSE_LIBJPEG" = "sys" ; then
26089 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26090 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26091 { (exit 1); exit 1; }; }
26093 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26094 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26095 wxUSE_LIBJPEG
=builtin
26106 TIFF_PREREQ_LINKS
=-lm
26107 if test "$wxUSE_LIBTIFF" != "no" ; then
26108 cat >>confdefs.h
<<\_ACEOF
26109 #define wxUSE_LIBTIFF 1
26113 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26114 if test "$wxUSE_LIBJPEG" = "sys"; then
26115 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26117 if test "$wxUSE_ZLIB" = "sys"; then
26118 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26120 if test "${ac_cv_header_tiffio_h+set}" = set; then
26121 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26122 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26123 if test "${ac_cv_header_tiffio_h+set}" = set; then
26124 echo $ECHO_N "(cached) $ECHO_C" >&6
26126 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26127 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26129 # Is the header compilable?
26130 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26131 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26132 cat >conftest.
$ac_ext <<_ACEOF
26135 cat confdefs.h
>>conftest.
$ac_ext
26136 cat >>conftest.
$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138 $ac_includes_default
26139 #include <tiffio.h>
26141 rm -f conftest.
$ac_objext
26142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26143 (eval $ac_compile) 2>conftest.er1
26145 grep -v '^ *+' conftest.er1
>conftest.err
26147 cat conftest.err
>&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); } &&
26150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; } &&
26156 { ac_try
='test -s conftest.$ac_objext'
26157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26158 (eval $ac_try) 2>&5
26160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26161 (exit $ac_status); }; }; then
26162 ac_header_compiler
=yes
26164 echo "$as_me: failed program was:" >&5
26165 sed 's/^/| /' conftest.
$ac_ext >&5
26167 ac_header_compiler
=no
26169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26171 echo "${ECHO_T}$ac_header_compiler" >&6
26173 # Is the header present?
26174 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26175 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26176 cat >conftest.
$ac_ext <<_ACEOF
26179 cat confdefs.h
>>conftest.
$ac_ext
26180 cat >>conftest.
$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26182 #include <tiffio.h>
26184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26187 grep -v '^ *+' conftest.er1
>conftest.err
26189 cat conftest.err
>&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); } >/dev
/null
; then
26192 if test -s conftest.err
; then
26193 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26194 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26201 if test -z "$ac_cpp_err"; then
26202 ac_header_preproc
=yes
26204 echo "$as_me: failed program was:" >&5
26205 sed 's/^/| /' conftest.
$ac_ext >&5
26207 ac_header_preproc
=no
26209 rm -f conftest.err conftest.
$ac_ext
26210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26211 echo "${ECHO_T}$ac_header_preproc" >&6
26213 # So? What about this header?
26214 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26216 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26217 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26218 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26219 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26220 ac_header_preproc
=yes
26223 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26224 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26225 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26226 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26227 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26228 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26229 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26230 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26231 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26232 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26233 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26234 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26237 ## ----------------------------------------- ##
26238 ## Report this to wx-dev@lists.wxwidgets.org ##
26239 ## ----------------------------------------- ##
26242 sed "s/^/$as_me: WARNING: /" >&2
26245 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26246 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26247 if test "${ac_cv_header_tiffio_h+set}" = set; then
26248 echo $ECHO_N "(cached) $ECHO_C" >&6
26250 ac_cv_header_tiffio_h
=$ac_header_preproc
26252 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26253 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26256 if test $ac_cv_header_tiffio_h = yes; then
26258 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26259 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26260 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26261 echo $ECHO_N "(cached) $ECHO_C" >&6
26263 ac_check_lib_save_LIBS
=$LIBS
26264 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26265 cat >conftest.
$ac_ext <<_ACEOF
26268 cat confdefs.h
>>conftest.
$ac_ext
26269 cat >>conftest.
$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26272 /* Override any gcc2 internal prototype to avoid an error. */
26276 /* We use char because int might match the return type of a gcc2
26277 builtin and then its argument prototype would still apply. */
26287 rm -f conftest.
$ac_objext conftest
$ac_exeext
26288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26289 (eval $ac_link) 2>conftest.er1
26291 grep -v '^ *+' conftest.er1
>conftest.err
26293 cat conftest.err
>&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); } &&
26296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26298 (eval $ac_try) 2>&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; } &&
26302 { ac_try
='test -s conftest$ac_exeext'
26303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26304 (eval $ac_try) 2>&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); }; }; then
26308 ac_cv_lib_tiff_TIFFError
=yes
26310 echo "$as_me: failed program was:" >&5
26311 sed 's/^/| /' conftest.
$ac_ext >&5
26313 ac_cv_lib_tiff_TIFFError
=no
26315 rm -f conftest.err conftest.
$ac_objext \
26316 conftest
$ac_exeext conftest.
$ac_ext
26317 LIBS
=$ac_check_lib_save_LIBS
26319 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26320 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26321 if test $ac_cv_lib_tiff_TIFFError = yes; then
26322 TIFF_LINK
=" -ltiff"
26331 if test "x$TIFF_LINK" = "x" ; then
26332 if test "$wxUSE_LIBTIFF" = "sys" ; then
26333 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26334 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26335 { (exit 1); exit 1; }; }
26337 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26338 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26339 wxUSE_LIBTIFF
=builtin
26348 if test "$wxUSE_WCHAR_T" != "yes"; then
26349 if test "$wxUSE_EXPAT" != "no"; then
26350 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26351 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26354 if test "$wxUSE_XML" != "no"; then
26355 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26356 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26361 if test "$wxUSE_EXPAT" != "no"; then
26363 cat >>confdefs.h
<<\_ACEOF
26364 #define wxUSE_EXPAT 1
26367 cat >>confdefs.h
<<\_ACEOF
26368 #define wxUSE_XML 1
26372 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26373 if test "${ac_cv_header_expat_h+set}" = set; then
26374 echo "$as_me:$LINENO: checking for expat.h" >&5
26375 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26376 if test "${ac_cv_header_expat_h+set}" = set; then
26377 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26380 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26382 # Is the header compilable?
26383 echo "$as_me:$LINENO: checking expat.h usability" >&5
26384 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26385 cat >conftest.
$ac_ext <<_ACEOF
26388 cat confdefs.h
>>conftest.
$ac_ext
26389 cat >>conftest.
$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26391 $ac_includes_default
26394 rm -f conftest.
$ac_objext
26395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26396 (eval $ac_compile) 2>conftest.er1
26398 grep -v '^ *+' conftest.er1
>conftest.err
26400 cat conftest.err
>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); } &&
26403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405 (eval $ac_try) 2>&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); }; } &&
26409 { ac_try
='test -s conftest.$ac_objext'
26410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26411 (eval $ac_try) 2>&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); }; }; then
26415 ac_header_compiler
=yes
26417 echo "$as_me: failed program was:" >&5
26418 sed 's/^/| /' conftest.
$ac_ext >&5
26420 ac_header_compiler
=no
26422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26424 echo "${ECHO_T}$ac_header_compiler" >&6
26426 # Is the header present?
26427 echo "$as_me:$LINENO: checking expat.h presence" >&5
26428 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26429 cat >conftest.
$ac_ext <<_ACEOF
26432 cat confdefs.h
>>conftest.
$ac_ext
26433 cat >>conftest.
$ac_ext <<_ACEOF
26434 /* end confdefs.h. */
26437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26440 grep -v '^ *+' conftest.er1
>conftest.err
26442 cat conftest.err
>&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); } >/dev
/null
; then
26445 if test -s conftest.err
; then
26446 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26447 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26454 if test -z "$ac_cpp_err"; then
26455 ac_header_preproc
=yes
26457 echo "$as_me: failed program was:" >&5
26458 sed 's/^/| /' conftest.
$ac_ext >&5
26460 ac_header_preproc
=no
26462 rm -f conftest.err conftest.
$ac_ext
26463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26464 echo "${ECHO_T}$ac_header_preproc" >&6
26466 # So? What about this header?
26467 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26469 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26470 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26471 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26472 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26473 ac_header_preproc
=yes
26476 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26477 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26478 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26479 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26480 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26481 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26482 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26483 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26484 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26485 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26486 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26487 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26490 ## ----------------------------------------- ##
26491 ## Report this to wx-dev@lists.wxwidgets.org ##
26492 ## ----------------------------------------- ##
26495 sed "s/^/$as_me: WARNING: /" >&2
26498 echo "$as_me:$LINENO: checking for expat.h" >&5
26499 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26500 if test "${ac_cv_header_expat_h+set}" = set; then
26501 echo $ECHO_N "(cached) $ECHO_C" >&6
26503 ac_cv_header_expat_h
=$ac_header_preproc
26505 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26506 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26509 if test $ac_cv_header_expat_h = yes; then
26514 if test "x$found_expat_h" = "x1"; then
26515 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26516 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26517 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26518 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 cat >conftest.
$ac_ext <<_ACEOF
26524 cat confdefs.h
>>conftest.
$ac_ext
26525 cat >>conftest.
$ac_ext <<_ACEOF
26526 /* end confdefs.h. */
26536 rm -f conftest.
$ac_objext
26537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26538 (eval $ac_compile) 2>conftest.er1
26540 grep -v '^ *+' conftest.er1
>conftest.err
26542 cat conftest.err
>&5
26543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26544 (exit $ac_status); } &&
26545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26547 (eval $ac_try) 2>&5
26549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26550 (exit $ac_status); }; } &&
26551 { ac_try
='test -s conftest.$ac_objext'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; }; then
26557 wx_cv_expat_is_not_broken
=yes
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.
$ac_ext >&5
26562 wx_cv_expat_is_not_broken
=no
26565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26569 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26570 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26571 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26572 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26573 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26574 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26575 echo $ECHO_N "(cached) $ECHO_C" >&6
26577 ac_check_lib_save_LIBS
=$LIBS
26578 LIBS
="-lexpat $LIBS"
26579 cat >conftest.
$ac_ext <<_ACEOF
26582 cat confdefs.h
>>conftest.
$ac_ext
26583 cat >>conftest.
$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26586 /* Override any gcc2 internal prototype to avoid an error. */
26590 /* We use char because int might match the return type of a gcc2
26591 builtin and then its argument prototype would still apply. */
26592 char XML_ParserCreate ();
26596 XML_ParserCreate ();
26601 rm -f conftest.
$ac_objext conftest
$ac_exeext
26602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26603 (eval $ac_link) 2>conftest.er1
26605 grep -v '^ *+' conftest.er1
>conftest.err
26607 cat conftest.err
>&5
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); } &&
26610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26612 (eval $ac_try) 2>&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; } &&
26616 { ac_try
='test -s conftest$ac_exeext'
26617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26618 (eval $ac_try) 2>&5
26620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621 (exit $ac_status); }; }; then
26622 ac_cv_lib_expat_XML_ParserCreate
=yes
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.
$ac_ext >&5
26627 ac_cv_lib_expat_XML_ParserCreate
=no
26629 rm -f conftest.err conftest.
$ac_objext \
26630 conftest
$ac_exeext conftest.
$ac_ext
26631 LIBS
=$ac_check_lib_save_LIBS
26633 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26634 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26635 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26636 EXPAT_LINK
=" -lexpat"
26641 if test "x$EXPAT_LINK" = "x" ; then
26642 if test "$wxUSE_EXPAT" = "sys" ; then
26643 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26644 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26645 { (exit 1); exit 1; }; }
26647 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26648 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26649 wxUSE_EXPAT
=builtin
26655 if test "$wxUSE_EXPAT" = "builtin" ; then
26658 subdirs
="$subdirs src/expat"
26665 if test "$wxUSE_LIBMSPACK" != "no"; then
26666 if test "${ac_cv_header_mspack_h+set}" = set; then
26667 echo "$as_me:$LINENO: checking for mspack.h" >&5
26668 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26669 if test "${ac_cv_header_mspack_h+set}" = set; then
26670 echo $ECHO_N "(cached) $ECHO_C" >&6
26672 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26673 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26675 # Is the header compilable?
26676 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26677 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26678 cat >conftest.
$ac_ext <<_ACEOF
26681 cat confdefs.h
>>conftest.
$ac_ext
26682 cat >>conftest.
$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26684 $ac_includes_default
26685 #include <mspack.h>
26687 rm -f conftest.
$ac_objext
26688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26689 (eval $ac_compile) 2>conftest.er1
26691 grep -v '^ *+' conftest.er1
>conftest.err
26693 cat conftest.err
>&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } &&
26696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; } &&
26702 { ac_try
='test -s conftest.$ac_objext'
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
26708 ac_header_compiler
=yes
26710 echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.
$ac_ext >&5
26713 ac_header_compiler
=no
26715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26717 echo "${ECHO_T}$ac_header_compiler" >&6
26719 # Is the header present?
26720 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26721 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26722 cat >conftest.
$ac_ext <<_ACEOF
26725 cat confdefs.h
>>conftest.
$ac_ext
26726 cat >>conftest.
$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26728 #include <mspack.h>
26730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26733 grep -v '^ *+' conftest.er1
>conftest.err
26735 cat conftest.err
>&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } >/dev
/null
; then
26738 if test -s conftest.err
; then
26739 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26740 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26747 if test -z "$ac_cpp_err"; then
26748 ac_header_preproc
=yes
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.
$ac_ext >&5
26753 ac_header_preproc
=no
26755 rm -f conftest.err conftest.
$ac_ext
26756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26757 echo "${ECHO_T}$ac_header_preproc" >&6
26759 # So? What about this header?
26760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26762 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26763 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26764 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26765 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26766 ac_header_preproc
=yes
26769 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26770 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26771 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26772 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26773 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26774 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26775 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26776 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26777 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26778 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26779 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26780 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26783 ## ----------------------------------------- ##
26784 ## Report this to wx-dev@lists.wxwidgets.org ##
26785 ## ----------------------------------------- ##
26788 sed "s/^/$as_me: WARNING: /" >&2
26791 echo "$as_me:$LINENO: checking for mspack.h" >&5
26792 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26793 if test "${ac_cv_header_mspack_h+set}" = set; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26796 ac_cv_header_mspack_h
=$ac_header_preproc
26798 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26799 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26802 if test $ac_cv_header_mspack_h = yes; then
26807 if test "x$found_mspack_h" = "x1"; then
26808 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26809 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26810 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26811 echo $ECHO_N "(cached) $ECHO_C" >&6
26813 ac_check_lib_save_LIBS
=$LIBS
26814 LIBS
="-lmspack $LIBS"
26815 cat >conftest.
$ac_ext <<_ACEOF
26818 cat confdefs.h
>>conftest.
$ac_ext
26819 cat >>conftest.
$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26822 /* Override any gcc2 internal prototype to avoid an error. */
26826 /* We use char because int might match the return type of a gcc2
26827 builtin and then its argument prototype would still apply. */
26828 char mspack_create_chm_decompressor ();
26832 mspack_create_chm_decompressor ();
26837 rm -f conftest.
$ac_objext conftest
$ac_exeext
26838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26839 (eval $ac_link) 2>conftest.er1
26841 grep -v '^ *+' conftest.er1
>conftest.err
26843 cat conftest.err
>&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } &&
26846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; } &&
26852 { ac_try
='test -s conftest$ac_exeext'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.
$ac_ext >&5
26863 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26865 rm -f conftest.err conftest.
$ac_objext \
26866 conftest
$ac_exeext conftest.
$ac_ext
26867 LIBS
=$ac_check_lib_save_LIBS
26869 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26870 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26871 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26872 MSPACK_LINK
=" -lmspack"
26876 if test "x$MSPACK_LINK" = "x" ; then
26881 if test "$wxUSE_LIBMSPACK" != "no"; then
26882 cat >>confdefs.h
<<\_ACEOF
26883 #define wxUSE_LIBMSPACK 1
26897 if test "$USE_WIN32" = 1 ; then
26899 for ac_header
in w32api.h
26901 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26903 echo "$as_me:$LINENO: checking for $ac_header" >&5
26904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26911 # Is the header compilable?
26912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26914 cat >conftest.
$ac_ext <<_ACEOF
26917 cat confdefs.h
>>conftest.
$ac_ext
26918 cat >>conftest.
$ac_ext <<_ACEOF
26919 /* end confdefs.h. */
26920 $ac_includes_default
26921 #include <$ac_header>
26923 rm -f conftest.
$ac_objext
26924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26925 (eval $ac_compile) 2>conftest.er1
26927 grep -v '^ *+' conftest.er1
>conftest.err
26929 cat conftest.err
>&5
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); } &&
26932 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; } &&
26938 { ac_try
='test -s conftest.$ac_objext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26944 ac_header_compiler
=yes
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.
$ac_ext >&5
26949 ac_header_compiler
=no
26951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26953 echo "${ECHO_T}$ac_header_compiler" >&6
26955 # Is the header present?
26956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26958 cat >conftest.
$ac_ext <<_ACEOF
26961 cat confdefs.h
>>conftest.
$ac_ext
26962 cat >>conftest.
$ac_ext <<_ACEOF
26963 /* end confdefs.h. */
26964 #include <$ac_header>
26966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26969 grep -v '^ *+' conftest.er1
>conftest.err
26971 cat conftest.err
>&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } >/dev
/null
; then
26974 if test -s conftest.err
; then
26975 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26976 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26983 if test -z "$ac_cpp_err"; then
26984 ac_header_preproc
=yes
26986 echo "$as_me: failed program was:" >&5
26987 sed 's/^/| /' conftest.
$ac_ext >&5
26989 ac_header_preproc
=no
26991 rm -f conftest.err conftest.
$ac_ext
26992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26993 echo "${ECHO_T}$ac_header_preproc" >&6
26995 # So? What about this header?
26996 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27002 ac_header_preproc
=yes
27005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27019 ## ----------------------------------------- ##
27020 ## Report this to wx-dev@lists.wxwidgets.org ##
27021 ## ----------------------------------------- ##
27024 sed "s/^/$as_me: WARNING: /" >&2
27027 echo "$as_me:$LINENO: checking for $ac_header" >&5
27028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27030 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 eval "$as_ac_Header=\$ac_header_preproc"
27034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27039 cat >>confdefs.h
<<_ACEOF
27040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27047 if test "${ac_cv_header_windows_h+set}" = set; then
27048 echo "$as_me:$LINENO: checking for windows.h" >&5
27049 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27050 if test "${ac_cv_header_windows_h+set}" = set; then
27051 echo $ECHO_N "(cached) $ECHO_C" >&6
27053 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27054 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27056 # Is the header compilable?
27057 echo "$as_me:$LINENO: checking windows.h usability" >&5
27058 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27059 cat >conftest.
$ac_ext <<_ACEOF
27062 cat confdefs.h
>>conftest.
$ac_ext
27063 cat >>conftest.
$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 $ac_includes_default
27066 #include <windows.h>
27068 rm -f conftest.
$ac_objext
27069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27070 (eval $ac_compile) 2>conftest.er1
27072 grep -v '^ *+' conftest.er1
>conftest.err
27074 cat conftest.err
>&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } &&
27077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27079 (eval $ac_try) 2>&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); }; } &&
27083 { ac_try
='test -s conftest.$ac_objext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089 ac_header_compiler
=yes
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.
$ac_ext >&5
27094 ac_header_compiler
=no
27096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27098 echo "${ECHO_T}$ac_header_compiler" >&6
27100 # Is the header present?
27101 echo "$as_me:$LINENO: checking windows.h presence" >&5
27102 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27103 cat >conftest.
$ac_ext <<_ACEOF
27106 cat confdefs.h
>>conftest.
$ac_ext
27107 cat >>conftest.
$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27109 #include <windows.h>
27111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27114 grep -v '^ *+' conftest.er1
>conftest.err
27116 cat conftest.err
>&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } >/dev
/null
; then
27119 if test -s conftest.err
; then
27120 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27121 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27128 if test -z "$ac_cpp_err"; then
27129 ac_header_preproc
=yes
27131 echo "$as_me: failed program was:" >&5
27132 sed 's/^/| /' conftest.
$ac_ext >&5
27134 ac_header_preproc
=no
27136 rm -f conftest.err conftest.
$ac_ext
27137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27138 echo "${ECHO_T}$ac_header_preproc" >&6
27140 # So? What about this header?
27141 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27143 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27144 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27145 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27146 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27147 ac_header_preproc
=yes
27150 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27151 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27152 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27153 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27154 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27155 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27156 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27157 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27158 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27159 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27161 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27164 ## ----------------------------------------- ##
27165 ## Report this to wx-dev@lists.wxwidgets.org ##
27166 ## ----------------------------------------- ##
27169 sed "s/^/$as_me: WARNING: /" >&2
27172 echo "$as_me:$LINENO: checking for windows.h" >&5
27173 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27174 if test "${ac_cv_header_windows_h+set}" = set; then
27175 echo $ECHO_N "(cached) $ECHO_C" >&6
27177 ac_cv_header_windows_h
=$ac_header_preproc
27179 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27180 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27183 if test $ac_cv_header_windows_h = yes; then
27187 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27188 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27189 { (exit 1); exit 1; }; }
27195 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27197 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27198 LIBS
="$LIBS -loleacc"
27203 LIBS
="$LIBS -lkernel32 -luser32"
27206 if test "$wxUSE_ODBC" = "sys" ; then
27209 if test "$wxUSE_ODBC" = "yes" ; then
27210 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27211 cat >>confdefs.h
<<\_ACEOF
27212 #define wxUSE_ODBC 1
27217 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27218 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27220 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27222 WIN32INSTALL
=win32install
27224 echo "$as_me:$LINENO: checking for boolean" >&5
27225 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27226 if test "${ac_cv_type_boolean+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 cat >conftest.
$ac_ext <<_ACEOF
27232 cat confdefs.h
>>conftest.
$ac_ext
27233 cat >>conftest.
$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27235 #include <windows.h>
27242 if (sizeof (boolean))
27248 rm -f conftest.
$ac_objext
27249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27250 (eval $ac_compile) 2>conftest.er1
27252 grep -v '^ *+' conftest.er1
>conftest.err
27254 cat conftest.err
>&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } &&
27257 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27259 (eval $ac_try) 2>&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); }; } &&
27263 { ac_try
='test -s conftest.$ac_objext'
27264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27265 (eval $ac_try) 2>&5
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); }; }; then
27269 ac_cv_type_boolean
=yes
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.
$ac_ext >&5
27274 ac_cv_type_boolean
=no
27276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27278 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27279 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27280 if test $ac_cv_type_boolean = yes; then
27282 cat >>confdefs.h
<<_ACEOF
27283 #define HAVE_BOOLEAN 1
27291 for ac_header
in pbt.h
27293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27295 echo "$as_me:$LINENO: checking for $ac_header" >&5
27296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27303 # Is the header compilable?
27304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27306 cat >conftest.
$ac_ext <<_ACEOF
27309 cat confdefs.h
>>conftest.
$ac_ext
27310 cat >>conftest.
$ac_ext <<_ACEOF
27311 /* end confdefs.h. */
27312 $ac_includes_default
27313 #include <$ac_header>
27315 rm -f conftest.
$ac_objext
27316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27317 (eval $ac_compile) 2>conftest.er1
27319 grep -v '^ *+' conftest.er1
>conftest.err
27321 cat conftest.err
>&5
27322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323 (exit $ac_status); } &&
27324 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27326 (eval $ac_try) 2>&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); }; } &&
27330 { ac_try
='test -s conftest.$ac_objext'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; }; then
27336 ac_header_compiler
=yes
27338 echo "$as_me: failed program was:" >&5
27339 sed 's/^/| /' conftest.
$ac_ext >&5
27341 ac_header_compiler
=no
27343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27345 echo "${ECHO_T}$ac_header_compiler" >&6
27347 # Is the header present?
27348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27350 cat >conftest.
$ac_ext <<_ACEOF
27353 cat confdefs.h
>>conftest.
$ac_ext
27354 cat >>conftest.
$ac_ext <<_ACEOF
27355 /* end confdefs.h. */
27356 #include <$ac_header>
27358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27361 grep -v '^ *+' conftest.er1
>conftest.err
27363 cat conftest.err
>&5
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); } >/dev
/null
; then
27366 if test -s conftest.err
; then
27367 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27368 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27375 if test -z "$ac_cpp_err"; then
27376 ac_header_preproc
=yes
27378 echo "$as_me: failed program was:" >&5
27379 sed 's/^/| /' conftest.
$ac_ext >&5
27381 ac_header_preproc
=no
27383 rm -f conftest.err conftest.
$ac_ext
27384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27385 echo "${ECHO_T}$ac_header_preproc" >&6
27387 # So? What about this header?
27388 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27394 ac_header_preproc
=yes
27397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27411 ## ----------------------------------------- ##
27412 ## Report this to wx-dev@lists.wxwidgets.org ##
27413 ## ----------------------------------------- ##
27416 sed "s/^/$as_me: WARNING: /" >&2
27419 echo "$as_me:$LINENO: checking for $ac_header" >&5
27420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
27424 eval "$as_ac_Header=\$ac_header_preproc"
27426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27431 cat >>confdefs.h
<<_ACEOF
27432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27436 cat >>confdefs.h
<<\_ACEOF
27437 #define NEED_PBT_H 1
27446 if test "$wxUSE_GUI" = "yes"; then
27456 if test "$wxUSE_COCOA" = 1 ; then
27457 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27458 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27459 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27460 wxUSE_PRINTING_ARCHITECTURE
=no
27462 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27463 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27464 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27465 wxUSE_DRAG_AND_DROP
=no
27467 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27468 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27469 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27474 if test "$wxUSE_MSW" = 1 ; then
27480 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27484 if test "$wxUSE_GTK" = 1; then
27486 ac_cpp
='$CPP $CPPFLAGS'
27487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27492 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27493 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27495 gtk_version_cached
=1
27496 if test "${wx_cv_lib_gtk+set}" = set; then
27497 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 gtk_version_cached
=0
27501 echo "$as_me:$LINENO: result: " >&5
27502 echo "${ECHO_T}" >&6
27505 if test "$wxUSE_THREADS" = "yes"; then
27506 GTK_MODULES
=gthread
27510 if test "x$wxGTK_VERSION" != "x1"
27514 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27519 # Check whether --enable-gtktest or --disable-gtktest was given.
27520 if test "${enable_gtktest+set}" = set; then
27521 enableval
="$enable_gtktest"
27527 pkg_config_args
=gtk
+-2.0
27528 for module
in .
$GTK_MODULES
27532 pkg_config_args
="$pkg_config_args gthread-2.0"
27539 # Extract the first word of "pkg-config", so it can be a program name with args.
27540 set dummy pkg
-config; ac_word
=$2
27541 echo "$as_me:$LINENO: checking for $ac_word" >&5
27542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27543 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27546 case $PKG_CONFIG in
27548 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27552 for as_dir
in $PATH
27555 test -z "$as_dir" && as_dir
=.
27556 for ac_exec_ext
in '' $ac_executable_extensions; do
27557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27558 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27565 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27569 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27571 if test -n "$PKG_CONFIG"; then
27572 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27573 echo "${ECHO_T}$PKG_CONFIG" >&6
27575 echo "$as_me:$LINENO: result: no" >&5
27576 echo "${ECHO_T}no" >&6
27580 if test x
$PKG_CONFIG != xno
; then
27581 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27584 echo "*** pkg-config too old; version 0.7 or better required."
27592 min_gtk_version
=2.0.0
27593 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27594 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27596 if test x
$PKG_CONFIG != xno
; then
27597 ## don't try to run the test against uninstalled libtool libs
27598 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27599 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27603 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27610 if test x
"$no_gtk" = x
; then
27611 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27612 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27613 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27615 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27617 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27619 if test "x$enable_gtktest" = "xyes" ; then
27620 ac_save_CFLAGS
="$CFLAGS"
27621 ac_save_LIBS
="$LIBS"
27622 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27623 LIBS
="$GTK_LIBS $LIBS"
27625 if test "$cross_compiling" = yes; then
27626 echo $ac_n "cross compiling; assumed OK... $ac_c"
27628 cat >conftest.
$ac_ext <<_ACEOF
27631 cat confdefs.h
>>conftest.
$ac_ext
27632 cat >>conftest.
$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27635 #include <gtk/gtk.h>
27637 #include <stdlib.h>
27642 int major, minor, micro;
27645 system ("touch conf.gtktest");
27647 /* HP/UX 9 (%@#!) writes to sscanf strings */
27648 tmp_version = g_strdup("$min_gtk_version");
27649 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27650 printf("%s, bad version string\n", "$min_gtk_version");
27654 if ((gtk_major_version != $gtk_config_major_version) ||
27655 (gtk_minor_version != $gtk_config_minor_version) ||
27656 (gtk_micro_version != $gtk_config_micro_version))
27658 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27659 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27660 gtk_major_version, gtk_minor_version, gtk_micro_version);
27661 printf ("*** was found! If pkg-config was correct, then it is best\n");
27662 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27663 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27664 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27665 printf("*** required on your system.\n");
27666 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27667 printf("*** to point to the correct configuration files\n");
27669 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27670 (gtk_minor_version != GTK_MINOR_VERSION) ||
27671 (gtk_micro_version != GTK_MICRO_VERSION))
27673 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27674 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27675 printf("*** library (version %d.%d.%d)\n",
27676 gtk_major_version, gtk_minor_version, gtk_micro_version);
27680 if ((gtk_major_version > major) ||
27681 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27682 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27688 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27689 gtk_major_version, gtk_minor_version, gtk_micro_version);
27690 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27691 major, minor, micro);
27692 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27694 printf("*** If you have already installed a sufficiently new version, this error\n");
27695 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27696 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27697 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27698 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27699 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27700 printf("*** so that the correct libraries are found at run-time))\n");
27707 rm -f conftest
$ac_exeext
27708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27709 (eval $ac_link) 2>&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; }; then
27720 echo "$as_me: program exited with status $ac_status" >&5
27721 echo "$as_me: failed program was:" >&5
27722 sed 's/^/| /' conftest.
$ac_ext >&5
27724 ( exit $ac_status )
27727 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27729 CFLAGS
="$ac_save_CFLAGS"
27730 LIBS
="$ac_save_LIBS"
27733 if test "x$no_gtk" = x
; then
27734 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27735 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27738 echo "$as_me:$LINENO: result: no" >&5
27739 echo "${ECHO_T}no" >&6
27740 if test "$PKG_CONFIG" = "no" ; then
27741 echo "*** A new enough version of pkg-config was not found."
27742 echo "*** See http://pkgconfig.sourceforge.net"
27744 if test -f conf.gtktest
; then
27747 echo "*** Could not run GTK+ test program, checking why..."
27748 ac_save_CFLAGS
="$CFLAGS"
27749 ac_save_LIBS
="$LIBS"
27750 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27751 LIBS
="$LIBS $GTK_LIBS"
27752 cat >conftest.
$ac_ext <<_ACEOF
27755 cat confdefs.h
>>conftest.
$ac_ext
27756 cat >>conftest.
$ac_ext <<_ACEOF
27757 /* end confdefs.h. */
27759 #include <gtk/gtk.h>
27765 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27770 rm -f conftest.
$ac_objext conftest
$ac_exeext
27771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27772 (eval $ac_link) 2>conftest.er1
27774 grep -v '^ *+' conftest.er1
>conftest.err
27776 cat conftest.err
>&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; } &&
27785 { ac_try
='test -s conftest$ac_exeext'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; }; then
27791 echo "*** The test program compiled, but did not run. This usually means"
27792 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27793 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27794 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27795 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27796 echo "*** is required on your system"
27798 echo "*** If you have an old version installed, it is best to remove it, although"
27799 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.
$ac_ext >&5
27804 echo "*** The test program failed to compile or link. See the file config.log for the"
27805 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27807 rm -f conftest.err conftest.
$ac_objext \
27808 conftest
$ac_exeext conftest.
$ac_ext
27809 CFLAGS
="$ac_save_CFLAGS"
27810 LIBS
="$ac_save_LIBS"
27824 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27825 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27826 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27828 if test "$wxUSE_SHARED" != "yes"; then
27829 GTK_LIBS
="$GTK_LIBS -lX11"
27834 if test -z "$wx_cv_lib_gtk"; then
27835 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27837 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27838 if test "${with_gtk_prefix+set}" = set; then
27839 withval
="$with_gtk_prefix"
27840 gtk_config_prefix
="$withval"
27842 gtk_config_prefix
=""
27845 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27846 if test "${with_gtk_exec_prefix+set}" = set; then
27847 withval
="$with_gtk_exec_prefix"
27848 gtk_config_exec_prefix
="$withval"
27850 gtk_config_exec_prefix
=""
27852 # Check whether --enable-gtktest or --disable-gtktest was given.
27853 if test "${enable_gtktest+set}" = set; then
27854 enableval
="$enable_gtktest"
27860 for module
in .
$GTK_MODULES
27864 gtk_config_args
="$gtk_config_args gthread"
27869 if test x
$gtk_config_exec_prefix != x
; then
27870 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27871 if test x
${GTK_CONFIG+set} != xset
; then
27872 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27875 if test x
$gtk_config_prefix != x
; then
27876 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27877 if test x
${GTK_CONFIG+set} != xset
; then
27878 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27882 # Extract the first word of "gtk-config", so it can be a program name with args.
27883 set dummy gtk
-config; ac_word
=$2
27884 echo "$as_me:$LINENO: checking for $ac_word" >&5
27885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27886 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27887 echo $ECHO_N "(cached) $ECHO_C" >&6
27889 case $GTK_CONFIG in
27891 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27895 for as_dir
in $PATH
27898 test -z "$as_dir" && as_dir
=.
27899 for ac_exec_ext
in '' $ac_executable_extensions; do
27900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27901 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27908 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27912 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27914 if test -n "$GTK_CONFIG"; then
27915 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27916 echo "${ECHO_T}$GTK_CONFIG" >&6
27918 echo "$as_me:$LINENO: result: no" >&5
27919 echo "${ECHO_T}no" >&6
27922 min_gtk_version
=1.2.7
27923 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27924 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27926 if test "$GTK_CONFIG" = "no" ; then
27929 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27930 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27931 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27933 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27935 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27937 if test "x$enable_gtktest" = "xyes" ; then
27938 ac_save_CFLAGS
="$CFLAGS"
27939 ac_save_LIBS
="$LIBS"
27940 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27941 LIBS
="$GTK_LIBS $LIBS"
27943 if test "$cross_compiling" = yes; then
27944 echo $ac_n "cross compiling; assumed OK... $ac_c"
27946 cat >conftest.
$ac_ext <<_ACEOF
27949 cat confdefs.h
>>conftest.
$ac_ext
27950 cat >>conftest.
$ac_ext <<_ACEOF
27951 /* end confdefs.h. */
27953 #include <gtk/gtk.h>
27955 #include <stdlib.h>
27960 int major, minor, micro;
27963 system ("touch conf.gtktest");
27965 /* HP/UX 9 (%@#!) writes to sscanf strings */
27966 tmp_version = g_strdup("$min_gtk_version");
27967 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27968 printf("%s, bad version string\n", "$min_gtk_version");
27972 if ((gtk_major_version != $gtk_config_major_version) ||
27973 (gtk_minor_version != $gtk_config_minor_version) ||
27974 (gtk_micro_version != $gtk_config_micro_version))
27976 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27977 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27978 gtk_major_version, gtk_minor_version, gtk_micro_version);
27979 printf ("*** was found! If gtk-config was correct, then it is best\n");
27980 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27981 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27982 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27983 printf("*** required on your system.\n");
27984 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27985 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27986 printf("*** before re-running configure\n");
27988 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27989 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27990 (gtk_minor_version != GTK_MINOR_VERSION) ||
27991 (gtk_micro_version != GTK_MICRO_VERSION))
27993 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27994 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27995 printf("*** library (version %d.%d.%d)\n",
27996 gtk_major_version, gtk_minor_version, gtk_micro_version);
27998 #endif /* defined (GTK_MAJOR_VERSION) ... */
28001 if ((gtk_major_version > major) ||
28002 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28003 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28009 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28010 gtk_major_version, gtk_minor_version, gtk_micro_version);
28011 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28012 major, minor, micro);
28013 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28015 printf("*** If you have already installed a sufficiently new version, this error\n");
28016 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28017 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28018 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28019 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28020 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28021 printf("*** so that the correct libraries are found at run-time))\n");
28028 rm -f conftest
$ac_exeext
28029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28030 (eval $ac_link) 2>&5
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; }; then
28041 echo "$as_me: program exited with status $ac_status" >&5
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.
$ac_ext >&5
28045 ( exit $ac_status )
28048 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28050 CFLAGS
="$ac_save_CFLAGS"
28051 LIBS
="$ac_save_LIBS"
28054 if test "x$no_gtk" = x
; then
28055 echo "$as_me:$LINENO: result: yes" >&5
28056 echo "${ECHO_T}yes" >&6
28057 wx_cv_lib_gtk
=1.2.7
28059 echo "$as_me:$LINENO: result: no" >&5
28060 echo "${ECHO_T}no" >&6
28061 if test "$GTK_CONFIG" = "no" ; then
28062 echo "*** The gtk-config script installed by GTK could not be found"
28063 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28064 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28065 echo "*** full path to gtk-config."
28067 if test -f conf.gtktest
; then
28070 echo "*** Could not run GTK test program, checking why..."
28071 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28072 LIBS
="$LIBS $GTK_LIBS"
28073 cat >conftest.
$ac_ext <<_ACEOF
28076 cat confdefs.h
>>conftest.
$ac_ext
28077 cat >>conftest.
$ac_ext <<_ACEOF
28078 /* end confdefs.h. */
28080 #include <gtk/gtk.h>
28086 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28091 rm -f conftest.
$ac_objext conftest
$ac_exeext
28092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28093 (eval $ac_link) 2>conftest.er1
28095 grep -v '^ *+' conftest.er1
>conftest.err
28097 cat conftest.err
>&5
28098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28099 (exit $ac_status); } &&
28100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28102 (eval $ac_try) 2>&5
28104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28105 (exit $ac_status); }; } &&
28106 { ac_try
='test -s conftest$ac_exeext'
28107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28108 (eval $ac_try) 2>&5
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); }; }; then
28112 echo "*** The test program compiled, but did not run. This usually means"
28113 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28114 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28115 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28116 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28117 echo "*** is required on your system"
28119 echo "*** If you have an old version installed, it is best to remove it, although"
28120 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28122 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28123 echo "*** came with the system with the command"
28125 echo "*** rpm --erase --nodeps gtk gtk-devel"
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.
$ac_ext >&5
28130 echo "*** The test program failed to compile or link. See the file config.log for the"
28131 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28132 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28133 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28135 rm -f conftest.err conftest.
$ac_objext \
28136 conftest
$ac_exeext conftest.
$ac_ext
28137 CFLAGS
="$ac_save_CFLAGS"
28138 LIBS
="$ac_save_LIBS"
28150 if test -z "$wx_cv_lib_gtk"; then
28152 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28153 if test "${with_gtk_prefix+set}" = set; then
28154 withval
="$with_gtk_prefix"
28155 gtk_config_prefix
="$withval"
28157 gtk_config_prefix
=""
28160 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28161 if test "${with_gtk_exec_prefix+set}" = set; then
28162 withval
="$with_gtk_exec_prefix"
28163 gtk_config_exec_prefix
="$withval"
28165 gtk_config_exec_prefix
=""
28167 # Check whether --enable-gtktest or --disable-gtktest was given.
28168 if test "${enable_gtktest+set}" = set; then
28169 enableval
="$enable_gtktest"
28175 for module
in .
$GTK_MODULES
28179 gtk_config_args
="$gtk_config_args gthread"
28184 if test x
$gtk_config_exec_prefix != x
; then
28185 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28186 if test x
${GTK_CONFIG+set} != xset
; then
28187 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28190 if test x
$gtk_config_prefix != x
; then
28191 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28192 if test x
${GTK_CONFIG+set} != xset
; then
28193 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28197 # Extract the first word of "gtk-config", so it can be a program name with args.
28198 set dummy gtk
-config; ac_word
=$2
28199 echo "$as_me:$LINENO: checking for $ac_word" >&5
28200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28201 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 case $GTK_CONFIG in
28206 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28210 for as_dir
in $PATH
28213 test -z "$as_dir" && as_dir
=.
28214 for ac_exec_ext
in '' $ac_executable_extensions; do
28215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28216 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28223 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28227 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28229 if test -n "$GTK_CONFIG"; then
28230 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28231 echo "${ECHO_T}$GTK_CONFIG" >&6
28233 echo "$as_me:$LINENO: result: no" >&5
28234 echo "${ECHO_T}no" >&6
28237 min_gtk_version
=1.2.3
28238 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28239 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28241 if test "$GTK_CONFIG" = "no" ; then
28244 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28245 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28246 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28248 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28250 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28252 if test "x$enable_gtktest" = "xyes" ; then
28253 ac_save_CFLAGS
="$CFLAGS"
28254 ac_save_LIBS
="$LIBS"
28255 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28256 LIBS
="$GTK_LIBS $LIBS"
28258 if test "$cross_compiling" = yes; then
28259 echo $ac_n "cross compiling; assumed OK... $ac_c"
28261 cat >conftest.
$ac_ext <<_ACEOF
28264 cat confdefs.h
>>conftest.
$ac_ext
28265 cat >>conftest.
$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28268 #include <gtk/gtk.h>
28270 #include <stdlib.h>
28275 int major, minor, micro;
28278 system ("touch conf.gtktest");
28280 /* HP/UX 9 (%@#!) writes to sscanf strings */
28281 tmp_version = g_strdup("$min_gtk_version");
28282 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28283 printf("%s, bad version string\n", "$min_gtk_version");
28287 if ((gtk_major_version != $gtk_config_major_version) ||
28288 (gtk_minor_version != $gtk_config_minor_version) ||
28289 (gtk_micro_version != $gtk_config_micro_version))
28291 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28292 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28293 gtk_major_version, gtk_minor_version, gtk_micro_version);
28294 printf ("*** was found! If gtk-config was correct, then it is best\n");
28295 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28296 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28297 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28298 printf("*** required on your system.\n");
28299 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28300 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28301 printf("*** before re-running configure\n");
28303 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28304 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28305 (gtk_minor_version != GTK_MINOR_VERSION) ||
28306 (gtk_micro_version != GTK_MICRO_VERSION))
28308 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28309 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28310 printf("*** library (version %d.%d.%d)\n",
28311 gtk_major_version, gtk_minor_version, gtk_micro_version);
28313 #endif /* defined (GTK_MAJOR_VERSION) ... */
28316 if ((gtk_major_version > major) ||
28317 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28318 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28324 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28325 gtk_major_version, gtk_minor_version, gtk_micro_version);
28326 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28327 major, minor, micro);
28328 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28330 printf("*** If you have already installed a sufficiently new version, this error\n");
28331 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28332 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28333 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28334 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28335 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28336 printf("*** so that the correct libraries are found at run-time))\n");
28343 rm -f conftest
$ac_exeext
28344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28345 (eval $ac_link) 2>&5
28347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28348 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28356 echo "$as_me: program exited with status $ac_status" >&5
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.
$ac_ext >&5
28360 ( exit $ac_status )
28363 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28365 CFLAGS
="$ac_save_CFLAGS"
28366 LIBS
="$ac_save_LIBS"
28369 if test "x$no_gtk" = x
; then
28370 echo "$as_me:$LINENO: result: yes" >&5
28371 echo "${ECHO_T}yes" >&6
28372 wx_cv_lib_gtk
=1.2.3
28374 echo "$as_me:$LINENO: result: no" >&5
28375 echo "${ECHO_T}no" >&6
28376 if test "$GTK_CONFIG" = "no" ; then
28377 echo "*** The gtk-config script installed by GTK could not be found"
28378 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28379 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28380 echo "*** full path to gtk-config."
28382 if test -f conf.gtktest
; then
28385 echo "*** Could not run GTK test program, checking why..."
28386 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28387 LIBS
="$LIBS $GTK_LIBS"
28388 cat >conftest.
$ac_ext <<_ACEOF
28391 cat confdefs.h
>>conftest.
$ac_ext
28392 cat >>conftest.
$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28395 #include <gtk/gtk.h>
28401 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28406 rm -f conftest.
$ac_objext conftest
$ac_exeext
28407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28408 (eval $ac_link) 2>conftest.er1
28410 grep -v '^ *+' conftest.er1
>conftest.err
28412 cat conftest.err
>&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); } &&
28415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28417 (eval $ac_try) 2>&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); }; } &&
28421 { ac_try
='test -s conftest$ac_exeext'
28422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28423 (eval $ac_try) 2>&5
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); }; }; then
28427 echo "*** The test program compiled, but did not run. This usually means"
28428 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28429 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28430 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28431 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28432 echo "*** is required on your system"
28434 echo "*** If you have an old version installed, it is best to remove it, although"
28435 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28437 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28438 echo "*** came with the system with the command"
28440 echo "*** rpm --erase --nodeps gtk gtk-devel"
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.
$ac_ext >&5
28445 echo "*** The test program failed to compile or link. See the file config.log for the"
28446 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28447 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28448 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28450 rm -f conftest.err conftest.
$ac_objext \
28451 conftest
$ac_exeext conftest.
$ac_ext
28452 CFLAGS
="$ac_save_CFLAGS"
28453 LIBS
="$ac_save_LIBS"
28468 if test -z "$wx_cv_lib_gtk"; then
28471 wx_cv_cflags_gtk
=$GTK_CFLAGS
28472 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28479 if test "$gtk_version_cached" = 1; then
28480 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28481 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28484 case "$wx_cv_lib_gtk" in
28493 *) { { echo "$as_me:$LINENO: error:
28494 The development files for GTK+ were not found. For GTK+ 2, please
28495 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28496 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28497 and that the version is 1.2.3 or above. Also check that the
28498 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28499 --libs' are in the LD_LIBRARY_PATH or equivalent.
28501 echo "$as_me: error:
28502 The development files for GTK+ were not found. For GTK+ 2, please
28503 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28504 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28505 and that the version is 1.2.3 or above. Also check that the
28506 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28507 --libs' are in the LD_LIBRARY_PATH or equivalent.
28509 { (exit 1); exit 1; }; }
28513 if test "$WXGTK20" = 1; then
28514 save_CFLAGS
="$CFLAGS"
28516 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28517 LIBS
="$LIBS $wx_cv_libs_gtk"
28519 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28520 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28521 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28522 echo $ECHO_N "(cached) $ECHO_C" >&6
28524 cat >conftest.
$ac_ext <<_ACEOF
28527 cat confdefs.h
>>conftest.
$ac_ext
28528 cat >>conftest.
$ac_ext <<_ACEOF
28529 /* end confdefs.h. */
28530 #include <gtk/gtk.h>
28535 #ifndef gtk_icon_size_lookup
28536 char *p = (char *) gtk_icon_size_lookup;
28543 rm -f conftest.
$ac_objext
28544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28545 (eval $ac_compile) 2>conftest.er1
28547 grep -v '^ *+' conftest.er1
>conftest.err
28549 cat conftest.err
>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); } &&
28552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554 (eval $ac_try) 2>&5
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); }; } &&
28558 { ac_try
='test -s conftest.$ac_objext'
28559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28560 (eval $ac_try) 2>&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); }; }; then
28564 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28566 echo "$as_me: failed program was:" >&5
28567 sed 's/^/| /' conftest.
$ac_ext >&5
28569 ac_cv_have_decl_gtk_icon_size_lookup
=no
28571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28573 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28574 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28575 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28577 cat >>confdefs.h
<<_ACEOF
28578 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28583 cat >>confdefs.h
<<_ACEOF
28584 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28587 cat >>confdefs.h
<<\_ACEOF
28588 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28595 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28596 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28597 cat >conftest.
$ac_ext <<_ACEOF
28600 cat confdefs.h
>>conftest.
$ac_ext
28601 cat >>conftest.
$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28604 #include <gtk/gtk.h>
28610 #if !GTK_CHECK_VERSION(2,6,0)
28618 rm -f conftest.
$ac_objext
28619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28620 (eval $ac_compile) 2>conftest.er1
28622 grep -v '^ *+' conftest.er1
>conftest.err
28624 cat conftest.err
>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); } &&
28627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28629 (eval $ac_try) 2>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; } &&
28633 { ac_try
='test -s conftest.$ac_objext'
28634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28635 (eval $ac_try) 2>&5
28637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 (exit $ac_status); }; }; then
28640 cat >>confdefs.h
<<\_ACEOF
28641 #define __WXGTK26__ 1
28644 cat >>confdefs.h
<<\_ACEOF
28645 #define __WXGTK24__ 1
28648 echo "$as_me:$LINENO: result: yes" >&5
28649 echo "${ECHO_T}yes" >&6
28653 echo "$as_me: failed program was:" >&5
28654 sed 's/^/| /' conftest.
$ac_ext >&5
28657 echo "$as_me:$LINENO: result: no" >&5
28658 echo "${ECHO_T}no" >&6
28662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28664 if test "$ac_wxgtk26" = 0; then
28665 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28666 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28667 cat >conftest.
$ac_ext <<_ACEOF
28670 cat confdefs.h
>>conftest.
$ac_ext
28671 cat >>conftest.
$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28674 #include <gtk/gtk.h>
28680 #if !GTK_CHECK_VERSION(2,4,0)
28688 rm -f conftest.
$ac_objext
28689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28690 (eval $ac_compile) 2>conftest.er1
28692 grep -v '^ *+' conftest.er1
>conftest.err
28694 cat conftest.err
>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); } &&
28697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28699 (eval $ac_try) 2>&5
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); }; } &&
28703 { ac_try
='test -s conftest.$ac_objext'
28704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28705 (eval $ac_try) 2>&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); }; }; then
28710 cat >>confdefs.h
<<\_ACEOF
28711 #define __WXGTK24__ 1
28714 echo "$as_me:$LINENO: result: yes" >&5
28715 echo "${ECHO_T}yes" >&6
28718 echo "$as_me: failed program was:" >&5
28719 sed 's/^/| /' conftest.
$ac_ext >&5
28722 echo "$as_me:$LINENO: result: no" >&5
28723 echo "${ECHO_T}no" >&6
28726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28729 CFLAGS
="$save_CFLAGS"
28732 if test "$wxUSE_UNICODE" = "yes"; then
28733 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28734 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28740 ac_cpp
='$CXXCPP $CPPFLAGS'
28741 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28742 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28743 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28746 if test "$USE_DARWIN" != 1; then
28748 for ac_func
in poll
28750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28751 echo "$as_me:$LINENO: checking for $ac_func" >&5
28752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28753 if eval "test \"\${$as_ac_var+set}\" = set"; then
28754 echo $ECHO_N "(cached) $ECHO_C" >&6
28756 cat >conftest.
$ac_ext <<_ACEOF
28759 cat confdefs.h
>>conftest.
$ac_ext
28760 cat >>conftest.
$ac_ext <<_ACEOF
28761 /* end confdefs.h. */
28762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28764 #define $ac_func innocuous_$ac_func
28766 /* System header to define __stub macros and hopefully few prototypes,
28767 which can conflict with char $ac_func (); below.
28768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28769 <limits.h> exists even on freestanding compilers. */
28772 # include <limits.h>
28774 # include <assert.h>
28779 /* Override any gcc2 internal prototype to avoid an error. */
28784 /* We use char because int might match the return type of a gcc2
28785 builtin and then its argument prototype would still apply. */
28787 /* The GNU C library defines this for functions which it implements
28788 to always fail with ENOSYS. Some functions are actually named
28789 something starting with __ and the normal name is an alias. */
28790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28793 char (*f) () = $ac_func;
28802 return f != $ac_func;
28807 rm -f conftest.
$ac_objext conftest
$ac_exeext
28808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28809 (eval $ac_link) 2>conftest.er1
28811 grep -v '^ *+' conftest.er1
>conftest.err
28813 cat conftest.err
>&5
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); } &&
28816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28818 (eval $ac_try) 2>&5
28820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821 (exit $ac_status); }; } &&
28822 { ac_try
='test -s conftest$ac_exeext'
28823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28824 (eval $ac_try) 2>&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); }; }; then
28828 eval "$as_ac_var=yes"
28830 echo "$as_me: failed program was:" >&5
28831 sed 's/^/| /' conftest.
$ac_ext >&5
28833 eval "$as_ac_var=no"
28835 rm -f conftest.err conftest.
$ac_objext \
28836 conftest
$ac_exeext conftest.
$ac_ext
28838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28840 if test `eval echo '${'$as_ac_var'}'` = yes; then
28841 cat >>confdefs.h
<<_ACEOF
28842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28850 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28851 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28853 AFMINSTALL
=afminstall
28857 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28858 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28859 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28860 echo $ECHO_N "(cached) $ECHO_C" >&6
28862 ac_check_lib_save_LIBS
=$LIBS
28864 cat >conftest.
$ac_ext <<_ACEOF
28867 cat confdefs.h
>>conftest.
$ac_ext
28868 cat >>conftest.
$ac_ext <<_ACEOF
28869 /* end confdefs.h. */
28871 /* Override any gcc2 internal prototype to avoid an error. */
28875 /* We use char because int might match the return type of a gcc2
28876 builtin and then its argument prototype would still apply. */
28877 char gdk_im_open ();
28886 rm -f conftest.
$ac_objext conftest
$ac_exeext
28887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28888 (eval $ac_link) 2>conftest.er1
28890 grep -v '^ *+' conftest.er1
>conftest.err
28892 cat conftest.err
>&5
28893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28894 (exit $ac_status); } &&
28895 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28897 (eval $ac_try) 2>&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; } &&
28901 { ac_try
='test -s conftest$ac_exeext'
28902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28903 (eval $ac_try) 2>&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); }; }; then
28907 ac_cv_lib_gdk_gdk_im_open
=yes
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.
$ac_ext >&5
28912 ac_cv_lib_gdk_gdk_im_open
=no
28914 rm -f conftest.err conftest.
$ac_objext \
28915 conftest
$ac_exeext conftest.
$ac_ext
28916 LIBS
=$ac_check_lib_save_LIBS
28918 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28919 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28920 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28921 cat >>confdefs.h
<<\_ACEOF
28929 if test "$wxUSE_GPE" = "yes"; then
28930 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28931 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28934 for ac_dir
in $SEARCH_LIB;
28936 for ac_extension
in a so sl dylib dll.a
; do
28937 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28938 ac_find_libraries
=$ac_dir
28944 if test "$ac_find_libraries" != "" ; then
28946 if test "$ac_find_libraries" = "default location"; then
28949 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28951 if test $result = 0; then
28954 ac_path_to_link
=" -L$ac_find_libraries"
28958 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28960 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28961 echo "${ECHO_T}found in $ac_find_libraries" >&6
28963 echo "$as_me:$LINENO: result: not found" >&5
28964 echo "${ECHO_T}not found" >&6
28970 if test "$wxUSE_MGL" = 1; then
28971 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28972 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28973 if test "x$MGL_ROOT" = x
; then
28974 echo "$as_me:$LINENO: result: not found" >&5
28975 echo "${ECHO_T}not found" >&6
28976 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28977 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28978 { (exit 1); exit 1; }; }
28980 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28981 echo "${ECHO_T}$MGL_ROOT" >&6
28984 echo "$as_me:$LINENO: checking for libmgl location" >&5
28985 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28988 if test "x$wxUSE_SHARED" = xyes
; then
28989 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28991 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28995 mgl_os_candidates
="dos32/dj2"
28998 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28999 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29000 { (exit 1); exit 1; }; }
29006 for mgl_os_i
in $mgl_os_candidates ; do
29007 if test "x$mgl_os" = x
; then
29008 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29009 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29010 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29015 if test "x$mgl_lib_type" = x
; then
29016 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29017 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29018 mgl_lib_type
=release
29025 if test "x$mgl_os" = x
; then
29026 echo "$as_me:$LINENO: result: not found" >&5
29027 echo "${ECHO_T}not found" >&6
29028 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29029 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29030 { (exit 1); exit 1; }; }
29032 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29033 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29035 wxUSE_UNIVERSAL
="yes"
29037 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29038 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29040 AFMINSTALL
=afminstall
29045 if test "$wxUSE_DFB" = 1; then
29048 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29049 if test -n "$ac_tool_prefix"; then
29050 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29051 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29052 echo "$as_me:$LINENO: checking for $ac_word" >&5
29053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29054 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29055 echo $ECHO_N "(cached) $ECHO_C" >&6
29057 case $PKG_CONFIG in
29059 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29063 for as_dir
in $PATH
29066 test -z "$as_dir" && as_dir
=.
29067 for ac_exec_ext
in '' $ac_executable_extensions; do
29068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29069 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29079 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29081 if test -n "$PKG_CONFIG"; then
29082 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29083 echo "${ECHO_T}$PKG_CONFIG" >&6
29085 echo "$as_me:$LINENO: result: no" >&5
29086 echo "${ECHO_T}no" >&6
29090 if test -z "$ac_cv_path_PKG_CONFIG"; then
29091 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29092 # Extract the first word of "pkg-config", so it can be a program name with args.
29093 set dummy pkg
-config; ac_word
=$2
29094 echo "$as_me:$LINENO: checking for $ac_word" >&5
29095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29096 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29097 echo $ECHO_N "(cached) $ECHO_C" >&6
29099 case $ac_pt_PKG_CONFIG in
29101 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29105 for as_dir
in $PATH
29108 test -z "$as_dir" && as_dir
=.
29109 for ac_exec_ext
in '' $ac_executable_extensions; do
29110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29111 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29121 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29123 if test -n "$ac_pt_PKG_CONFIG"; then
29124 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29125 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29127 echo "$as_me:$LINENO: result: no" >&5
29128 echo "${ECHO_T}no" >&6
29131 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29133 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29137 if test -n "$PKG_CONFIG"; then
29138 _pkg_min_version
=0.9.0
29139 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29140 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29141 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29142 echo "$as_me:$LINENO: result: yes" >&5
29143 echo "${ECHO_T}yes" >&6
29145 echo "$as_me:$LINENO: result: no" >&5
29146 echo "${ECHO_T}no" >&6
29153 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29154 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29156 if test -n "$PKG_CONFIG"; then
29157 if test -n "$DIRECTFB_CFLAGS"; then
29158 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29160 if test -n "$PKG_CONFIG" && \
29161 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29162 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; then
29166 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29174 if test -n "$PKG_CONFIG"; then
29175 if test -n "$DIRECTFB_LIBS"; then
29176 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29178 if test -n "$PKG_CONFIG" && \
29179 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29180 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; then
29184 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29195 if test $pkg_failed = yes; then
29197 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29198 _pkg_short_errors_supported
=yes
29200 _pkg_short_errors_supported
=no
29202 if test $_pkg_short_errors_supported = yes; then
29203 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29205 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29207 # Put the nasty error message in config.log where it belongs
29208 echo "$DIRECTFB_PKG_ERRORS" >&5
29211 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29212 echo "$as_me: error: DirectFB not found." >&2;}
29213 { (exit 1); exit 1; }; }
29216 elif test $pkg_failed = untried
; then
29218 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29219 echo "$as_me: error: DirectFB not found." >&2;}
29220 { (exit 1); exit 1; }; }
29224 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29225 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29226 echo "$as_me:$LINENO: result: yes" >&5
29227 echo "${ECHO_T}yes" >&6
29229 wxUSE_UNIVERSAL
="yes"
29230 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29231 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29238 if test "$wxUSE_MICROWIN" = 1; then
29239 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29240 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29241 if test "x$MICROWINDOWS" = x
; then
29242 echo "$as_me:$LINENO: result: not found" >&5
29243 echo "${ECHO_T}not found" >&6
29244 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29245 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29246 { (exit 1); exit 1; }; }
29248 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29249 echo "${ECHO_T}$MICROWINDOWS" >&6
29252 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29253 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29254 echo "${ECHO_T}MicroWindows' libraries found." >&6
29256 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29257 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29258 { (exit 1); exit 1; }; }
29261 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29262 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29264 wxUSE_UNIVERSAL
="yes"
29266 AFMINSTALL
=afminstall
29268 GUIDIST
=MICROWIN_DIST
29270 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29273 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29275 if test "x$ac_path_x_has_been_run" != xyes
; then
29276 echo "$as_me:$LINENO: checking for X" >&5
29277 echo $ECHO_N "checking for X... $ECHO_C" >&6
29279 ac_path_x_has_been_run
=yes
29281 # Check whether --with-x or --without-x was given.
29282 if test "${with_x+set}" = set; then
29286 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29287 if test "x$with_x" = xno
; then
29288 # The user explicitly disabled X.
29291 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29292 # Both variables are already set.
29295 if test "${ac_cv_have_x+set}" = set; then
29296 echo $ECHO_N "(cached) $ECHO_C" >&6
29298 # One or both of the vars are not set, and there is no cached value.
29299 ac_x_includes
=no ac_x_libraries
=no
29300 rm -fr conftest.dir
29301 if mkdir conftest.dir
; then
29303 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29304 cat >Imakefile
<<'_ACEOF'
29306 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29308 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29309 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29310 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29311 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29312 for ac_extension
in a so sl
; do
29313 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29314 test -f $ac_im_libdir/libX11.
$ac_extension; then
29315 ac_im_usrlibdir
=$ac_im_libdir; break
29318 # Screen out bogus values from the imake configuration. They are
29319 # bogus both because they are the default anyway, and because
29320 # using them would break gcc on systems where it needs fixed includes.
29321 case $ac_im_incroot in
29323 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29325 case $ac_im_usrlibdir in
29326 /usr
/lib
| /lib
) ;;
29327 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29331 rm -fr conftest.dir
29334 # Standard set of common directories for X headers.
29335 # Check X11 before X11Rn because it is often a symlink to the current release.
29347 /usr/local/X11/include
29348 /usr/local/X11R6/include
29349 /usr/local/X11R5/include
29350 /usr/local/X11R4/include
29352 /usr/local/include/X11
29353 /usr/local/include/X11R6
29354 /usr/local/include/X11R5
29355 /usr/local/include/X11R4
29359 /usr/XFree86/include/X11
29363 /usr/unsupported/include
29364 /usr/athena/include
29365 /usr/local/x11r5/include
29366 /usr/lpp/Xamples/include
29368 /usr/openwin/include
29369 /usr/openwin/share/include'
29371 if test "$ac_x_includes" = no
; then
29372 # Guess where to find include files, by looking for a specified header file.
29373 # First, try using that file with no special directory specified.
29374 cat >conftest.
$ac_ext <<_ACEOF
29377 cat confdefs.h
>>conftest.
$ac_ext
29378 cat >>conftest.
$ac_ext <<_ACEOF
29379 /* end confdefs.h. */
29380 #include <X11/Xlib.h>
29382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29385 grep -v '^ *+' conftest.er1
>conftest.err
29387 cat conftest.err
>&5
29388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29389 (exit $ac_status); } >/dev
/null
; then
29390 if test -s conftest.err
; then
29391 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29392 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29399 if test -z "$ac_cpp_err"; then
29400 # We can compile using X headers with no special include directory.
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.
$ac_ext >&5
29406 for ac_dir
in $ac_x_header_dirs; do
29407 if test -r "$ac_dir/X11/Xlib.h"; then
29408 ac_x_includes
=$ac_dir
29413 rm -f conftest.err conftest.
$ac_ext
29414 fi # $ac_x_includes = no
29416 if test "$ac_x_libraries" = no
; then
29417 # Check for the libraries.
29418 # See if we find them without any special options.
29419 # Don't add to $LIBS permanently.
29422 cat >conftest.
$ac_ext <<_ACEOF
29425 cat confdefs.h
>>conftest.
$ac_ext
29426 cat >>conftest.
$ac_ext <<_ACEOF
29427 /* end confdefs.h. */
29428 #include <X11/Xlib.h>
29437 rm -f conftest.
$ac_objext conftest
$ac_exeext
29438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29439 (eval $ac_link) 2>conftest.er1
29441 grep -v '^ *+' conftest.er1
>conftest.err
29443 cat conftest.err
>&5
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); } &&
29446 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29448 (eval $ac_try) 2>&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); }; } &&
29452 { ac_try
='test -s conftest$ac_exeext'
29453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29454 (eval $ac_try) 2>&5
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); }; }; then
29459 # We can link X programs with no special library path.
29462 echo "$as_me: failed program was:" >&5
29463 sed 's/^/| /' conftest.
$ac_ext >&5
29466 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29468 # Don't even attempt the hair of trying to link an X program!
29469 for ac_extension
in a so sl
; do
29470 if test -r $ac_dir/libX11.
$ac_extension; then
29471 ac_x_libraries
=$ac_dir
29477 rm -f conftest.err conftest.
$ac_objext \
29478 conftest
$ac_exeext conftest.
$ac_ext
29479 fi # $ac_x_libraries = no
29481 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29482 # Didn't find X anywhere. Cache the known absence of X.
29483 ac_cv_have_x
="have_x=no"
29485 # Record where we found X for the cache.
29486 ac_cv_have_x
="have_x=yes \
29487 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29492 eval "$ac_cv_have_x"
29495 if test "$have_x" != yes; then
29496 echo "$as_me:$LINENO: result: $have_x" >&5
29497 echo "${ECHO_T}$have_x" >&6
29500 # If each of the values was on the command line, it overrides each guess.
29501 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29502 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29503 # Update the cache value to reflect the command line values.
29504 ac_cv_have_x
="have_x=yes \
29505 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29506 # It might be that x_includes is empty (headers are found in the
29507 # standard search path. Then output the corresponding message
29508 ac_out_x_includes
=$x_includes
29509 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29510 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29511 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29515 if test "$no_x" = yes; then
29516 # Not all programs may use this symbol, but it does not hurt to define it.
29518 cat >>confdefs.h
<<\_ACEOF
29519 #define X_DISPLAY_MISSING 1
29522 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29524 if test -n "$x_includes"; then
29525 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29528 # It would also be nice to do this for all -L options, not just this one.
29529 if test -n "$x_libraries"; then
29530 X_LIBS
="$X_LIBS -L$x_libraries"
29531 # For Solaris; some versions of Sun CC require a space after -R and
29532 # others require no space. Words are not sufficient . . . .
29533 case `(uname -sr) 2>/dev/null` in
29535 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29536 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29537 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29538 cat >conftest.
$ac_ext <<_ACEOF
29541 cat confdefs.h
>>conftest.
$ac_ext
29542 cat >>conftest.
$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29553 rm -f conftest.
$ac_objext conftest
$ac_exeext
29554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29555 (eval $ac_link) 2>conftest.er1
29557 grep -v '^ *+' conftest.er1
>conftest.err
29559 cat conftest.err
>&5
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); } &&
29562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29564 (eval $ac_try) 2>&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); }; } &&
29568 { ac_try
='test -s conftest$ac_exeext'
29569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29570 (eval $ac_try) 2>&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; }; then
29576 echo "$as_me: failed program was:" >&5
29577 sed 's/^/| /' conftest.
$ac_ext >&5
29581 rm -f conftest.err conftest.
$ac_objext \
29582 conftest
$ac_exeext conftest.
$ac_ext
29583 if test $ac_R_nospace = yes; then
29584 echo "$as_me:$LINENO: result: no" >&5
29585 echo "${ECHO_T}no" >&6
29586 X_LIBS
="$X_LIBS -R$x_libraries"
29588 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29589 cat >conftest.
$ac_ext <<_ACEOF
29592 cat confdefs.h
>>conftest.
$ac_ext
29593 cat >>conftest.
$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29604 rm -f conftest.
$ac_objext conftest
$ac_exeext
29605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29606 (eval $ac_link) 2>conftest.er1
29608 grep -v '^ *+' conftest.er1
>conftest.err
29610 cat conftest.err
>&5
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); } &&
29613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; } &&
29619 { ac_try
='test -s conftest$ac_exeext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29627 echo "$as_me: failed program was:" >&5
29628 sed 's/^/| /' conftest.
$ac_ext >&5
29632 rm -f conftest.err conftest.
$ac_objext \
29633 conftest
$ac_exeext conftest.
$ac_ext
29634 if test $ac_R_space = yes; then
29635 echo "$as_me:$LINENO: result: yes" >&5
29636 echo "${ECHO_T}yes" >&6
29637 X_LIBS
="$X_LIBS -R $x_libraries"
29639 echo "$as_me:$LINENO: result: neither works" >&5
29640 echo "${ECHO_T}neither works" >&6
29643 LIBS
=$ac_xsave_LIBS
29647 # Check for system-dependent libraries X programs must link with.
29648 # Do this before checking for the system-independent R6 libraries
29649 # (-lICE), since we may need -lsocket or whatever for X linking.
29651 if test "$ISC" = yes; then
29652 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29654 # Martyn Johnson says this is needed for Ultrix, if the X
29655 # libraries were built with DECnet support. And Karl Berry says
29656 # the Alpha needs dnet_stub (dnet does not exist).
29657 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29658 cat >conftest.
$ac_ext <<_ACEOF
29661 cat confdefs.h
>>conftest.
$ac_ext
29662 cat >>conftest.
$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29665 /* Override any gcc2 internal prototype to avoid an error. */
29669 /* We use char because int might match the return type of a gcc2
29670 builtin and then its argument prototype would still apply. */
29671 char XOpenDisplay ();
29680 rm -f conftest.
$ac_objext conftest
$ac_exeext
29681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29682 (eval $ac_link) 2>conftest.er1
29684 grep -v '^ *+' conftest.er1
>conftest.err
29686 cat conftest.err
>&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); } &&
29689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29691 (eval $ac_try) 2>&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); }; } &&
29695 { ac_try
='test -s conftest$ac_exeext'
29696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29697 (eval $ac_try) 2>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; }; then
29703 echo "$as_me: failed program was:" >&5
29704 sed 's/^/| /' conftest.
$ac_ext >&5
29706 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29707 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29708 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29709 echo $ECHO_N "(cached) $ECHO_C" >&6
29711 ac_check_lib_save_LIBS
=$LIBS
29712 LIBS
="-ldnet $LIBS"
29713 cat >conftest.
$ac_ext <<_ACEOF
29716 cat confdefs.h
>>conftest.
$ac_ext
29717 cat >>conftest.
$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29720 /* Override any gcc2 internal prototype to avoid an error. */
29724 /* We use char because int might match the return type of a gcc2
29725 builtin and then its argument prototype would still apply. */
29735 rm -f conftest.
$ac_objext conftest
$ac_exeext
29736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29737 (eval $ac_link) 2>conftest.er1
29739 grep -v '^ *+' conftest.er1
>conftest.err
29741 cat conftest.err
>&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); } &&
29744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29746 (eval $ac_try) 2>&5
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); }; } &&
29750 { ac_try
='test -s conftest$ac_exeext'
29751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29752 (eval $ac_try) 2>&5
29754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29755 (exit $ac_status); }; }; then
29756 ac_cv_lib_dnet_dnet_ntoa
=yes
29758 echo "$as_me: failed program was:" >&5
29759 sed 's/^/| /' conftest.
$ac_ext >&5
29761 ac_cv_lib_dnet_dnet_ntoa
=no
29763 rm -f conftest.err conftest.
$ac_objext \
29764 conftest
$ac_exeext conftest.
$ac_ext
29765 LIBS
=$ac_check_lib_save_LIBS
29767 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29768 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29769 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29770 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29773 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29774 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29775 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29776 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29777 echo $ECHO_N "(cached) $ECHO_C" >&6
29779 ac_check_lib_save_LIBS
=$LIBS
29780 LIBS
="-ldnet_stub $LIBS"
29781 cat >conftest.
$ac_ext <<_ACEOF
29784 cat confdefs.h
>>conftest.
$ac_ext
29785 cat >>conftest.
$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29788 /* Override any gcc2 internal prototype to avoid an error. */
29792 /* We use char because int might match the return type of a gcc2
29793 builtin and then its argument prototype would still apply. */
29803 rm -f conftest.
$ac_objext conftest
$ac_exeext
29804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29805 (eval $ac_link) 2>conftest.er1
29807 grep -v '^ *+' conftest.er1
>conftest.err
29809 cat conftest.err
>&5
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); } &&
29812 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; } &&
29818 { ac_try
='test -s conftest$ac_exeext'
29819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29820 (eval $ac_try) 2>&5
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); }; }; then
29824 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29826 echo "$as_me: failed program was:" >&5
29827 sed 's/^/| /' conftest.
$ac_ext >&5
29829 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29831 rm -f conftest.err conftest.
$ac_objext \
29832 conftest
$ac_exeext conftest.
$ac_ext
29833 LIBS
=$ac_check_lib_save_LIBS
29835 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29836 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29837 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29838 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29843 rm -f conftest.err conftest.
$ac_objext \
29844 conftest
$ac_exeext conftest.
$ac_ext
29845 LIBS
="$ac_xsave_LIBS"
29847 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29848 # to get the SysV transport functions.
29849 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29851 # The nsl library prevents programs from opening the X display
29852 # on Irix 5.2, according to T.E. Dickey.
29853 # The functions gethostbyname, getservbyname, and inet_addr are
29854 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29855 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29856 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29857 if test "${ac_cv_func_gethostbyname+set}" = set; then
29858 echo $ECHO_N "(cached) $ECHO_C" >&6
29860 cat >conftest.
$ac_ext <<_ACEOF
29863 cat confdefs.h
>>conftest.
$ac_ext
29864 cat >>conftest.
$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29866 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29868 #define gethostbyname innocuous_gethostbyname
29870 /* System header to define __stub macros and hopefully few prototypes,
29871 which can conflict with char gethostbyname (); below.
29872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29873 <limits.h> exists even on freestanding compilers. */
29876 # include <limits.h>
29878 # include <assert.h>
29881 #undef gethostbyname
29883 /* Override any gcc2 internal prototype to avoid an error. */
29888 /* We use char because int might match the return type of a gcc2
29889 builtin and then its argument prototype would still apply. */
29890 char gethostbyname ();
29891 /* The GNU C library defines this for functions which it implements
29892 to always fail with ENOSYS. Some functions are actually named
29893 something starting with __ and the normal name is an alias. */
29894 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29897 char (*f) () = gethostbyname;
29906 return f != gethostbyname;
29911 rm -f conftest.
$ac_objext conftest
$ac_exeext
29912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29913 (eval $ac_link) 2>conftest.er1
29915 grep -v '^ *+' conftest.er1
>conftest.err
29917 cat conftest.err
>&5
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); } &&
29920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29922 (eval $ac_try) 2>&5
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); }; } &&
29926 { ac_try
='test -s conftest$ac_exeext'
29927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29928 (eval $ac_try) 2>&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); }; }; then
29932 ac_cv_func_gethostbyname
=yes
29934 echo "$as_me: failed program was:" >&5
29935 sed 's/^/| /' conftest.
$ac_ext >&5
29937 ac_cv_func_gethostbyname
=no
29939 rm -f conftest.err conftest.
$ac_objext \
29940 conftest
$ac_exeext conftest.
$ac_ext
29942 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29943 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29945 if test $ac_cv_func_gethostbyname = no
; then
29946 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29947 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29948 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29951 ac_check_lib_save_LIBS
=$LIBS
29953 cat >conftest.
$ac_ext <<_ACEOF
29956 cat confdefs.h
>>conftest.
$ac_ext
29957 cat >>conftest.
$ac_ext <<_ACEOF
29958 /* end confdefs.h. */
29960 /* Override any gcc2 internal prototype to avoid an error. */
29964 /* We use char because int might match the return type of a gcc2
29965 builtin and then its argument prototype would still apply. */
29966 char gethostbyname ();
29975 rm -f conftest.
$ac_objext conftest
$ac_exeext
29976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29977 (eval $ac_link) 2>conftest.er1
29979 grep -v '^ *+' conftest.er1
>conftest.err
29981 cat conftest.err
>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } &&
29984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 (eval $ac_try) 2>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; } &&
29990 { ac_try
='test -s conftest$ac_exeext'
29991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 (eval $ac_try) 2>&5
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; }; then
29996 ac_cv_lib_nsl_gethostbyname
=yes
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.
$ac_ext >&5
30001 ac_cv_lib_nsl_gethostbyname
=no
30003 rm -f conftest.err conftest.
$ac_objext \
30004 conftest
$ac_exeext conftest.
$ac_ext
30005 LIBS
=$ac_check_lib_save_LIBS
30007 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30008 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30009 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30010 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30013 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30014 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30015 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30016 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30017 echo $ECHO_N "(cached) $ECHO_C" >&6
30019 ac_check_lib_save_LIBS
=$LIBS
30021 cat >conftest.
$ac_ext <<_ACEOF
30024 cat confdefs.h
>>conftest.
$ac_ext
30025 cat >>conftest.
$ac_ext <<_ACEOF
30026 /* end confdefs.h. */
30028 /* Override any gcc2 internal prototype to avoid an error. */
30032 /* We use char because int might match the return type of a gcc2
30033 builtin and then its argument prototype would still apply. */
30034 char gethostbyname ();
30043 rm -f conftest.
$ac_objext conftest
$ac_exeext
30044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30045 (eval $ac_link) 2>conftest.er1
30047 grep -v '^ *+' conftest.er1
>conftest.err
30049 cat conftest.err
>&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); } &&
30052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; } &&
30058 { ac_try
='test -s conftest$ac_exeext'
30059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30060 (eval $ac_try) 2>&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); }; }; then
30064 ac_cv_lib_bsd_gethostbyname
=yes
30066 echo "$as_me: failed program was:" >&5
30067 sed 's/^/| /' conftest.
$ac_ext >&5
30069 ac_cv_lib_bsd_gethostbyname
=no
30071 rm -f conftest.err conftest.
$ac_objext \
30072 conftest
$ac_exeext conftest.
$ac_ext
30073 LIBS
=$ac_check_lib_save_LIBS
30075 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30076 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30077 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30078 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30084 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30085 # socket/setsockopt and other routines are undefined under SCO ODT
30086 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30087 # on later versions), says Simon Leinen: it contains gethostby*
30088 # variants that don't use the name server (or something). -lsocket
30089 # must be given before -lnsl if both are needed. We assume that
30090 # if connect needs -lnsl, so does gethostbyname.
30091 echo "$as_me:$LINENO: checking for connect" >&5
30092 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30093 if test "${ac_cv_func_connect+set}" = set; then
30094 echo $ECHO_N "(cached) $ECHO_C" >&6
30096 cat >conftest.
$ac_ext <<_ACEOF
30099 cat confdefs.h
>>conftest.
$ac_ext
30100 cat >>conftest.
$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30102 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30104 #define connect innocuous_connect
30106 /* System header to define __stub macros and hopefully few prototypes,
30107 which can conflict with char connect (); below.
30108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30109 <limits.h> exists even on freestanding compilers. */
30112 # include <limits.h>
30114 # include <assert.h>
30119 /* Override any gcc2 internal prototype to avoid an error. */
30124 /* We use char because int might match the return type of a gcc2
30125 builtin and then its argument prototype would still apply. */
30127 /* The GNU C library defines this for functions which it implements
30128 to always fail with ENOSYS. Some functions are actually named
30129 something starting with __ and the normal name is an alias. */
30130 #if defined (__stub_connect) || defined (__stub___connect)
30133 char (*f) () = connect;
30142 return f != connect;
30147 rm -f conftest.
$ac_objext conftest
$ac_exeext
30148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30149 (eval $ac_link) 2>conftest.er1
30151 grep -v '^ *+' conftest.er1
>conftest.err
30153 cat conftest.err
>&5
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); } &&
30156 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30158 (eval $ac_try) 2>&5
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); }; } &&
30162 { ac_try
='test -s conftest$ac_exeext'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; }; then
30168 ac_cv_func_connect
=yes
30170 echo "$as_me: failed program was:" >&5
30171 sed 's/^/| /' conftest.
$ac_ext >&5
30173 ac_cv_func_connect
=no
30175 rm -f conftest.err conftest.
$ac_objext \
30176 conftest
$ac_exeext conftest.
$ac_ext
30178 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30179 echo "${ECHO_T}$ac_cv_func_connect" >&6
30181 if test $ac_cv_func_connect = no
; then
30182 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30183 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30184 if test "${ac_cv_lib_socket_connect+set}" = set; then
30185 echo $ECHO_N "(cached) $ECHO_C" >&6
30187 ac_check_lib_save_LIBS
=$LIBS
30188 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30189 cat >conftest.
$ac_ext <<_ACEOF
30192 cat confdefs.h
>>conftest.
$ac_ext
30193 cat >>conftest.
$ac_ext <<_ACEOF
30194 /* end confdefs.h. */
30196 /* Override any gcc2 internal prototype to avoid an error. */
30200 /* We use char because int might match the return type of a gcc2
30201 builtin and then its argument prototype would still apply. */
30211 rm -f conftest.
$ac_objext conftest
$ac_exeext
30212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30213 (eval $ac_link) 2>conftest.er1
30215 grep -v '^ *+' conftest.er1
>conftest.err
30217 cat conftest.err
>&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } &&
30220 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30222 (eval $ac_try) 2>&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; } &&
30226 { ac_try
='test -s conftest$ac_exeext'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; }; then
30232 ac_cv_lib_socket_connect
=yes
30234 echo "$as_me: failed program was:" >&5
30235 sed 's/^/| /' conftest.
$ac_ext >&5
30237 ac_cv_lib_socket_connect
=no
30239 rm -f conftest.err conftest.
$ac_objext \
30240 conftest
$ac_exeext conftest.
$ac_ext
30241 LIBS
=$ac_check_lib_save_LIBS
30243 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30244 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30245 if test $ac_cv_lib_socket_connect = yes; then
30246 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30251 # Guillermo Gomez says -lposix is necessary on A/UX.
30252 echo "$as_me:$LINENO: checking for remove" >&5
30253 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30254 if test "${ac_cv_func_remove+set}" = set; then
30255 echo $ECHO_N "(cached) $ECHO_C" >&6
30257 cat >conftest.
$ac_ext <<_ACEOF
30260 cat confdefs.h
>>conftest.
$ac_ext
30261 cat >>conftest.
$ac_ext <<_ACEOF
30262 /* end confdefs.h. */
30263 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30265 #define remove innocuous_remove
30267 /* System header to define __stub macros and hopefully few prototypes,
30268 which can conflict with char remove (); below.
30269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30270 <limits.h> exists even on freestanding compilers. */
30273 # include <limits.h>
30275 # include <assert.h>
30280 /* Override any gcc2 internal prototype to avoid an error. */
30285 /* We use char because int might match the return type of a gcc2
30286 builtin and then its argument prototype would still apply. */
30288 /* The GNU C library defines this for functions which it implements
30289 to always fail with ENOSYS. Some functions are actually named
30290 something starting with __ and the normal name is an alias. */
30291 #if defined (__stub_remove) || defined (__stub___remove)
30294 char (*f) () = remove;
30303 return f != remove;
30308 rm -f conftest.
$ac_objext conftest
$ac_exeext
30309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30310 (eval $ac_link) 2>conftest.er1
30312 grep -v '^ *+' conftest.er1
>conftest.err
30314 cat conftest.err
>&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); } &&
30317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; } &&
30323 { ac_try
='test -s conftest$ac_exeext'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; }; then
30329 ac_cv_func_remove
=yes
30331 echo "$as_me: failed program was:" >&5
30332 sed 's/^/| /' conftest.
$ac_ext >&5
30334 ac_cv_func_remove
=no
30336 rm -f conftest.err conftest.
$ac_objext \
30337 conftest
$ac_exeext conftest.
$ac_ext
30339 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30340 echo "${ECHO_T}$ac_cv_func_remove" >&6
30342 if test $ac_cv_func_remove = no
; then
30343 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30344 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30345 if test "${ac_cv_lib_posix_remove+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30348 ac_check_lib_save_LIBS
=$LIBS
30349 LIBS
="-lposix $LIBS"
30350 cat >conftest.
$ac_ext <<_ACEOF
30353 cat confdefs.h
>>conftest.
$ac_ext
30354 cat >>conftest.
$ac_ext <<_ACEOF
30355 /* end confdefs.h. */
30357 /* Override any gcc2 internal prototype to avoid an error. */
30361 /* We use char because int might match the return type of a gcc2
30362 builtin and then its argument prototype would still apply. */
30372 rm -f conftest.
$ac_objext conftest
$ac_exeext
30373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30374 (eval $ac_link) 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_cxx_werror_flag" || test ! -s conftest.err'
30382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30383 (eval $ac_try) 2>&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); }; } &&
30387 { ac_try
='test -s conftest$ac_exeext'
30388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30389 (eval $ac_try) 2>&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); }; }; then
30393 ac_cv_lib_posix_remove
=yes
30395 echo "$as_me: failed program was:" >&5
30396 sed 's/^/| /' conftest.
$ac_ext >&5
30398 ac_cv_lib_posix_remove
=no
30400 rm -f conftest.err conftest.
$ac_objext \
30401 conftest
$ac_exeext conftest.
$ac_ext
30402 LIBS
=$ac_check_lib_save_LIBS
30404 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30405 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30406 if test $ac_cv_lib_posix_remove = yes; then
30407 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30412 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30413 echo "$as_me:$LINENO: checking for shmat" >&5
30414 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30415 if test "${ac_cv_func_shmat+set}" = set; then
30416 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 cat >conftest.
$ac_ext <<_ACEOF
30421 cat confdefs.h
>>conftest.
$ac_ext
30422 cat >>conftest.
$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30424 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30426 #define shmat innocuous_shmat
30428 /* System header to define __stub macros and hopefully few prototypes,
30429 which can conflict with char shmat (); below.
30430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30431 <limits.h> exists even on freestanding compilers. */
30434 # include <limits.h>
30436 # include <assert.h>
30441 /* Override any gcc2 internal prototype to avoid an error. */
30446 /* We use char because int might match the return type of a gcc2
30447 builtin and then its argument prototype would still apply. */
30449 /* The GNU C library defines this for functions which it implements
30450 to always fail with ENOSYS. Some functions are actually named
30451 something starting with __ and the normal name is an alias. */
30452 #if defined (__stub_shmat) || defined (__stub___shmat)
30455 char (*f) () = shmat;
30469 rm -f conftest.
$ac_objext conftest
$ac_exeext
30470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30471 (eval $ac_link) 2>conftest.er1
30473 grep -v '^ *+' conftest.er1
>conftest.err
30475 cat conftest.err
>&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } &&
30478 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480 (eval $ac_try) 2>&5
30482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483 (exit $ac_status); }; } &&
30484 { ac_try
='test -s conftest$ac_exeext'
30485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30486 (eval $ac_try) 2>&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); }; }; then
30490 ac_cv_func_shmat
=yes
30492 echo "$as_me: failed program was:" >&5
30493 sed 's/^/| /' conftest.
$ac_ext >&5
30495 ac_cv_func_shmat
=no
30497 rm -f conftest.err conftest.
$ac_objext \
30498 conftest
$ac_exeext conftest.
$ac_ext
30500 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30501 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30503 if test $ac_cv_func_shmat = no
; then
30504 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30505 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30506 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30509 ac_check_lib_save_LIBS
=$LIBS
30511 cat >conftest.
$ac_ext <<_ACEOF
30514 cat confdefs.h
>>conftest.
$ac_ext
30515 cat >>conftest.
$ac_ext <<_ACEOF
30516 /* end confdefs.h. */
30518 /* Override any gcc2 internal prototype to avoid an error. */
30522 /* We use char because int might match the return type of a gcc2
30523 builtin and then its argument prototype would still apply. */
30533 rm -f conftest.
$ac_objext conftest
$ac_exeext
30534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30535 (eval $ac_link) 2>conftest.er1
30537 grep -v '^ *+' conftest.er1
>conftest.err
30539 cat conftest.err
>&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); } &&
30542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30544 (eval $ac_try) 2>&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); }; } &&
30548 { ac_try
='test -s conftest$ac_exeext'
30549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550 (eval $ac_try) 2>&5
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); }; }; then
30554 ac_cv_lib_ipc_shmat
=yes
30556 echo "$as_me: failed program was:" >&5
30557 sed 's/^/| /' conftest.
$ac_ext >&5
30559 ac_cv_lib_ipc_shmat
=no
30561 rm -f conftest.err conftest.
$ac_objext \
30562 conftest
$ac_exeext conftest.
$ac_ext
30563 LIBS
=$ac_check_lib_save_LIBS
30565 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30566 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30567 if test $ac_cv_lib_ipc_shmat = yes; then
30568 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30574 # Check for libraries that X11R6 Xt/Xaw programs need.
30575 ac_save_LDFLAGS
=$LDFLAGS
30576 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30577 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30578 # check for ICE first), but we must link in the order -lSM -lICE or
30579 # we get undefined symbols. So assume we have SM if we have ICE.
30580 # These have to be linked with before -lX11, unlike the other
30581 # libraries we check for below, so use a different variable.
30582 # John Interrante, Karl Berry
30583 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30584 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30585 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30586 echo $ECHO_N "(cached) $ECHO_C" >&6
30588 ac_check_lib_save_LIBS
=$LIBS
30589 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30590 cat >conftest.
$ac_ext <<_ACEOF
30593 cat confdefs.h
>>conftest.
$ac_ext
30594 cat >>conftest.
$ac_ext <<_ACEOF
30595 /* end confdefs.h. */
30597 /* Override any gcc2 internal prototype to avoid an error. */
30601 /* We use char because int might match the return type of a gcc2
30602 builtin and then its argument prototype would still apply. */
30603 char IceConnectionNumber ();
30607 IceConnectionNumber ();
30612 rm -f conftest.
$ac_objext conftest
$ac_exeext
30613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30614 (eval $ac_link) 2>conftest.er1
30616 grep -v '^ *+' conftest.er1
>conftest.err
30618 cat conftest.err
>&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } &&
30621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30623 (eval $ac_try) 2>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; } &&
30627 { ac_try
='test -s conftest$ac_exeext'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; }; then
30633 ac_cv_lib_ICE_IceConnectionNumber
=yes
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.
$ac_ext >&5
30638 ac_cv_lib_ICE_IceConnectionNumber
=no
30640 rm -f conftest.err conftest.
$ac_objext \
30641 conftest
$ac_exeext conftest.
$ac_ext
30642 LIBS
=$ac_check_lib_save_LIBS
30644 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30645 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30646 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30647 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30650 LDFLAGS
=$ac_save_LDFLAGS
30655 if test "$no_x" = "yes"; then
30656 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30657 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30658 { (exit 1); exit 1; }; }
30661 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30662 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30663 AFMINSTALL
=afminstall
30664 COMPILED_X_PROGRAM
=0
30668 if test "$wxUSE_X11" = 1; then
30669 if test "$wxUSE_NANOX" = "yes"; then
30670 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30671 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30672 if test "x$MICROWIN" = x
; then
30673 echo "$as_me:$LINENO: result: not found" >&5
30674 echo "${ECHO_T}not found" >&6
30675 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30676 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30677 { (exit 1); exit 1; }; }
30679 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30680 echo "${ECHO_T}$MICROWIN" >&6
30681 cat >>confdefs.h
<<\_ACEOF
30682 #define wxUSE_NANOX 1
30688 if test "$wxUSE_UNICODE" = "yes"; then
30691 echo "$as_me:$LINENO: checking for PANGOX" >&5
30692 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30694 if test -n "$PKG_CONFIG"; then
30695 if test -n "$PANGOX_CFLAGS"; then
30696 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30698 if test -n "$PKG_CONFIG" && \
30699 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30700 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); }; then
30704 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30712 if test -n "$PKG_CONFIG"; then
30713 if test -n "$PANGOX_LIBS"; then
30714 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30716 if test -n "$PKG_CONFIG" && \
30717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30718 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; then
30722 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30733 if test $pkg_failed = yes; then
30735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30736 _pkg_short_errors_supported
=yes
30738 _pkg_short_errors_supported
=no
30740 if test $_pkg_short_errors_supported = yes; then
30741 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30743 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30745 # Put the nasty error message in config.log where it belongs
30746 echo "$PANGOX_PKG_ERRORS" >&5
30749 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30750 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30751 { (exit 1); exit 1; }; }
30754 elif test $pkg_failed = untried
; then
30756 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30757 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30758 { (exit 1); exit 1; }; }
30762 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30763 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30764 echo "$as_me:$LINENO: result: yes" >&5
30765 echo "${ECHO_T}yes" >&6
30767 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30768 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30773 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30774 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30776 if test -n "$PKG_CONFIG"; then
30777 if test -n "$PANGOFT2_CFLAGS"; then
30778 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30780 if test -n "$PKG_CONFIG" && \
30781 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30782 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); }; then
30786 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30794 if test -n "$PKG_CONFIG"; then
30795 if test -n "$PANGOFT2_LIBS"; then
30796 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30798 if test -n "$PKG_CONFIG" && \
30799 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30800 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; then
30804 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30815 if test $pkg_failed = yes; then
30817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30818 _pkg_short_errors_supported
=yes
30820 _pkg_short_errors_supported
=no
30822 if test $_pkg_short_errors_supported = yes; then
30823 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30825 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30827 # Put the nasty error message in config.log where it belongs
30828 echo "$PANGOFT2_PKG_ERRORS" >&5
30831 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30832 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30833 wxUSE_PRINTING_ARCHITECTURE
="no"
30836 elif test $pkg_failed = untried
; then
30838 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30839 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30840 wxUSE_PRINTING_ARCHITECTURE
="no"
30844 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30845 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30846 echo "$as_me:$LINENO: result: yes" >&5
30847 echo "${ECHO_T}yes" >&6
30849 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30850 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30855 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30856 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30858 if test -n "$PKG_CONFIG"; then
30859 if test -n "$PANGOXFT_CFLAGS"; then
30860 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30862 if test -n "$PKG_CONFIG" && \
30863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30864 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); }; then
30868 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30876 if test -n "$PKG_CONFIG"; then
30877 if test -n "$PANGOXFT_LIBS"; then
30878 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30880 if test -n "$PKG_CONFIG" && \
30881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30882 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; then
30886 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30897 if test $pkg_failed = yes; then
30899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30900 _pkg_short_errors_supported
=yes
30902 _pkg_short_errors_supported
=no
30904 if test $_pkg_short_errors_supported = yes; then
30905 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30907 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30909 # Put the nasty error message in config.log where it belongs
30910 echo "$PANGOXFT_PKG_ERRORS" >&5
30913 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30914 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30917 elif test $pkg_failed = untried
; then
30919 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30920 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30924 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30925 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30926 echo "$as_me:$LINENO: result: yes" >&5
30927 echo "${ECHO_T}yes" >&6
30929 cat >>confdefs.h
<<\_ACEOF
30930 #define HAVE_PANGO_XFT 1
30933 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30934 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30937 save_CXXFLAGS
="$CXXFLAGS"
30939 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30940 LIBS
="$LIBS $PANGOX_LIBS"
30942 for ac_func
in pango_font_family_is_monospace
30944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30945 echo "$as_me:$LINENO: checking for $ac_func" >&5
30946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30947 if eval "test \"\${$as_ac_var+set}\" = set"; then
30948 echo $ECHO_N "(cached) $ECHO_C" >&6
30950 cat >conftest.
$ac_ext <<_ACEOF
30953 cat confdefs.h
>>conftest.
$ac_ext
30954 cat >>conftest.
$ac_ext <<_ACEOF
30955 /* end confdefs.h. */
30956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30958 #define $ac_func innocuous_$ac_func
30960 /* System header to define __stub macros and hopefully few prototypes,
30961 which can conflict with char $ac_func (); below.
30962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30963 <limits.h> exists even on freestanding compilers. */
30966 # include <limits.h>
30968 # include <assert.h>
30973 /* Override any gcc2 internal prototype to avoid an error. */
30978 /* We use char because int might match the return type of a gcc2
30979 builtin and then its argument prototype would still apply. */
30981 /* The GNU C library defines this for functions which it implements
30982 to always fail with ENOSYS. Some functions are actually named
30983 something starting with __ and the normal name is an alias. */
30984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30987 char (*f) () = $ac_func;
30996 return f != $ac_func;
31001 rm -f conftest.
$ac_objext conftest
$ac_exeext
31002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31003 (eval $ac_link) 2>conftest.er1
31005 grep -v '^ *+' conftest.er1
>conftest.err
31007 cat conftest.err
>&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } &&
31010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012 (eval $ac_try) 2>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); }; } &&
31016 { ac_try
='test -s conftest$ac_exeext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 eval "$as_ac_var=yes"
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.
$ac_ext >&5
31027 eval "$as_ac_var=no"
31029 rm -f conftest.err conftest.
$ac_objext \
31030 conftest
$ac_exeext conftest.
$ac_ext
31032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31034 if test `eval echo '${'$as_ac_var'}'` = yes; then
31035 cat >>confdefs.h
<<_ACEOF
31036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31042 CXXFLAGS
="$save_CXXFLAGS"
31046 wxUSE_UNIVERSAL
="yes"
31048 if test "$wxUSE_NANOX" = "yes"; then
31049 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31050 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"
31051 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31053 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31060 if test "$wxUSE_MOTIF" = 1; then
31061 if test "$wxUSE_UNICODE" = "yes"; then
31062 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31063 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31064 { (exit 1); exit 1; }; }
31067 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31068 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31071 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31073 if test -f "$ac_dir/Xm/Xm.h"; then
31074 ac_find_includes
=$ac_dir
31079 if test "$ac_find_includes" != "" ; then
31080 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31081 echo "${ECHO_T}found in $ac_find_includes" >&6
31083 if test "x$ac_find_includes" = "x/usr/include"; then
31084 ac_path_to_include
=""
31086 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31088 if test $result = 0; then
31089 ac_path_to_include
=""
31091 ac_path_to_include
=" -I$ac_find_includes"
31095 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31097 save_CXXFLAGS
=$CXXFLAGS
31098 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31100 cat >conftest.
$ac_ext <<_ACEOF
31103 cat confdefs.h
>>conftest.
$ac_ext
31104 cat >>conftest.
$ac_ext <<_ACEOF
31105 /* end confdefs.h. */
31114 version = xmUseVersion;
31120 rm -f conftest.
$ac_objext
31121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31122 (eval $ac_compile) 2>conftest.er1
31124 grep -v '^ *+' conftest.er1
>conftest.err
31126 cat conftest.err
>&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); } &&
31129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; } &&
31135 { ac_try
='test -s conftest.$ac_objext'
31136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31137 (eval $ac_try) 2>&5
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); }; }; then
31142 echo "$as_me:$LINENO: result: found in default search path" >&5
31143 echo "${ECHO_T}found in default search path" >&6
31144 COMPILED_X_PROGRAM
=1
31147 echo "$as_me: failed program was:" >&5
31148 sed 's/^/| /' conftest.
$ac_ext >&5
31151 echo "$as_me:$LINENO: result: no" >&5
31152 echo "${ECHO_T}no" >&6
31153 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31154 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31155 { (exit 1); exit 1; }; }
31159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31161 CXXFLAGS
=$save_CXXFLAGS
31165 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31166 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31169 for ac_dir
in $SEARCH_LIB;
31171 for ac_extension
in a so sl dylib dll.a
; do
31172 if test -f "$ac_dir/libXm.$ac_extension"; then
31173 ac_find_libraries
=$ac_dir
31180 if test "x$ac_find_libraries" != "x" ; then
31181 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31182 echo "${ECHO_T}found in $ac_find_libraries" >&6
31185 if test "$ac_find_libraries" = "default location"; then
31188 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31190 if test $result = 0; then
31193 ac_path_to_link
=" -L$ac_find_libraries"
31197 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31199 save_CXXFLAGS
=$CXXFLAGS
31200 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31202 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31204 cat >conftest.
$ac_ext <<_ACEOF
31207 cat confdefs.h
>>conftest.
$ac_ext
31208 cat >>conftest.
$ac_ext <<_ACEOF
31209 /* end confdefs.h. */
31218 version = xmUseVersion;
31224 rm -f conftest.
$ac_objext conftest
$ac_exeext
31225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31226 (eval $ac_link) 2>conftest.er1
31228 grep -v '^ *+' conftest.er1
>conftest.err
31230 cat conftest.err
>&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } &&
31233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; } &&
31239 { ac_try
='test -s conftest$ac_exeext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31246 echo "$as_me:$LINENO: result: found in default search path" >&5
31247 echo "${ECHO_T}found in default search path" >&6
31248 COMPILED_X_PROGRAM
=1
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.
$ac_ext >&5
31255 echo "$as_me:$LINENO: result: no" >&5
31256 echo "${ECHO_T}no" >&6
31257 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31258 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31259 { (exit 1); exit 1; }; }
31263 rm -f conftest.err conftest.
$ac_objext \
31264 conftest
$ac_exeext conftest.
$ac_ext
31266 CXXFLAGS
=$save_CXXFLAGS
31270 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31271 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31275 for libp
in "" " -lXp"; do
31276 if test "$libs_found" = "0"; then
31277 for libsm_ice
in "" " -lSM -lICE"; do
31278 if test "$libs_found" = "0"; then
31280 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31281 save_CXXFLAGS
=$CXXFLAGS
31282 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31284 cat >conftest.
$ac_ext <<_ACEOF
31287 cat confdefs.h
>>conftest.
$ac_ext
31288 cat >>conftest.
$ac_ext <<_ACEOF
31289 /* end confdefs.h. */
31292 #include <Xm/List.h>
31298 XmString string = NULL;
31301 XmListAddItem(w, string, position);
31307 rm -f conftest.
$ac_objext conftest
$ac_exeext
31308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31309 (eval $ac_link) 2>conftest.er1
31311 grep -v '^ *+' conftest.er1
>conftest.err
31313 cat conftest.err
>&5
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); } &&
31316 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; } &&
31322 { ac_try
='test -s conftest$ac_exeext'
31323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31324 (eval $ac_try) 2>&5
31326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327 (exit $ac_status); }; }; then
31330 libsm_ice_link
="$libsm_ice"
31331 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31332 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31336 echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.
$ac_ext >&5
31342 rm -f conftest.err conftest.
$ac_objext \
31343 conftest
$ac_exeext conftest.
$ac_ext
31346 CXXFLAGS
=$save_CXXFLAGS
31352 if test "$libs_found" = "0"; then
31353 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31354 echo "${ECHO_T}can't find the right libraries" >&6
31355 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31356 echo "$as_me: error: can't link a simple motif program" >&2;}
31357 { (exit 1); exit 1; }; }
31360 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31361 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31362 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31363 echo $ECHO_N "(cached) $ECHO_C" >&6
31365 ac_check_lib_save_LIBS
=$LIBS
31367 cat >conftest.
$ac_ext <<_ACEOF
31370 cat confdefs.h
>>conftest.
$ac_ext
31371 cat >>conftest.
$ac_ext <<_ACEOF
31372 /* end confdefs.h. */
31374 /* Override any gcc2 internal prototype to avoid an error. */
31378 /* We use char because int might match the return type of a gcc2
31379 builtin and then its argument prototype would still apply. */
31380 char SgCreateList ();
31389 rm -f conftest.
$ac_objext conftest
$ac_exeext
31390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31391 (eval $ac_link) 2>conftest.er1
31393 grep -v '^ *+' conftest.er1
>conftest.err
31395 cat conftest.err
>&5
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); } &&
31398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31400 (eval $ac_try) 2>&5
31402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403 (exit $ac_status); }; } &&
31404 { ac_try
='test -s conftest$ac_exeext'
31405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31406 (eval $ac_try) 2>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; }; then
31410 ac_cv_lib_Sgm_SgCreateList
=yes
31412 echo "$as_me: failed program was:" >&5
31413 sed 's/^/| /' conftest.
$ac_ext >&5
31415 ac_cv_lib_Sgm_SgCreateList
=no
31417 rm -f conftest.err conftest.
$ac_objext \
31418 conftest
$ac_exeext conftest.
$ac_ext
31419 LIBS
=$ac_check_lib_save_LIBS
31421 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31422 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31423 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31424 libsgm_link
=" -lSgm"
31428 save_CXXFLAGS
=$CXXFLAGS
31429 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31431 echo "$as_me:$LINENO: checking for Motif 2" >&5
31432 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31433 if test "${wx_cv_lib_motif2+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31436 cat >conftest.
$ac_ext <<_ACEOF
31439 cat confdefs.h
>>conftest.
$ac_ext
31440 cat >>conftest.
$ac_ext <<_ACEOF
31441 /* end confdefs.h. */
31449 #if XmVersion < 2000
31457 rm -f conftest.
$ac_objext
31458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31459 (eval $ac_compile) 2>conftest.er1
31461 grep -v '^ *+' conftest.er1
>conftest.err
31463 cat conftest.err
>&5
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); } &&
31466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31468 (eval $ac_try) 2>&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); }; } &&
31472 { ac_try
='test -s conftest.$ac_objext'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; }; then
31478 wx_cv_lib_motif2
="yes"
31480 echo "$as_me: failed program was:" >&5
31481 sed 's/^/| /' conftest.
$ac_ext >&5
31483 wx_cv_lib_motif2
="no"
31485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31487 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31488 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31489 if test "$wx_cv_lib_motif2" = "yes"; then
31490 cat >>confdefs.h
<<\_ACEOF
31491 #define __WXMOTIF20__ 1
31495 cat >>confdefs.h
<<\_ACEOF
31496 #define __WXMOTIF20__ 0
31501 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31502 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31503 if test "${wx_cv_lib_lesstif+set}" = set; then
31504 echo $ECHO_N "(cached) $ECHO_C" >&6
31506 cat >conftest.
$ac_ext <<_ACEOF
31509 cat confdefs.h
>>conftest.
$ac_ext
31510 cat >>conftest.
$ac_ext <<_ACEOF
31511 /* end confdefs.h. */
31519 #if !defined(LesstifVersion) || LesstifVersion <= 0
31527 rm -f conftest.
$ac_objext
31528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31529 (eval $ac_compile) 2>conftest.er1
31531 grep -v '^ *+' conftest.er1
>conftest.err
31533 cat conftest.err
>&5
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); } &&
31536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31538 (eval $ac_try) 2>&5
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); }; } &&
31542 { ac_try
='test -s conftest.$ac_objext'
31543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31544 (eval $ac_try) 2>&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); }; }; then
31548 wx_cv_lib_lesstif
="yes"
31550 echo "$as_me: failed program was:" >&5
31551 sed 's/^/| /' conftest.
$ac_ext >&5
31553 wx_cv_lib_lesstif
="no"
31555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31558 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31559 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31560 if test "$wx_cv_lib_lesstif" = "yes"; then
31561 cat >>confdefs.h
<<\_ACEOF
31562 #define __WXLESSTIF__ 1
31566 cat >>confdefs.h
<<\_ACEOF
31567 #define __WXLESSTIF__ 0
31572 CXXFLAGS
=$save_CXXFLAGS
31574 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31579 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31580 if test "$wxUSE_LIBXPM" = "sys"; then
31581 echo "$as_me:$LINENO: checking for Xpm library" >&5
31582 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31585 for ac_dir
in $SEARCH_LIB;
31587 for ac_extension
in a so sl dylib dll.a
; do
31588 if test -f "$ac_dir/libXpm.$ac_extension"; then
31589 ac_find_libraries
=$ac_dir
31595 if test "$ac_find_libraries" != "" ; then
31597 if test "$ac_find_libraries" = "default location"; then
31600 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31602 if test $result = 0; then
31605 ac_path_to_link
=" -L$ac_find_libraries"
31609 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31610 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31611 echo "${ECHO_T}found in $ac_find_libraries" >&6
31613 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31614 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31615 if test "${wx_cv_x11_xpm_h+set}" = set; then
31616 echo $ECHO_N "(cached) $ECHO_C" >&6
31619 save_CXXFLAGS
=$CXXFLAGS
31620 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31622 cat >conftest.
$ac_ext <<_ACEOF
31625 cat confdefs.h
>>conftest.
$ac_ext
31626 cat >>conftest.
$ac_ext <<_ACEOF
31627 /* end confdefs.h. */
31629 #include <X11/xpm.h>
31636 version = XpmLibraryVersion();
31642 rm -f conftest.
$ac_objext
31643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31644 (eval $ac_compile) 2>conftest.er1
31646 grep -v '^ *+' conftest.er1
>conftest.err
31648 cat conftest.err
>&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); } &&
31651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31653 (eval $ac_try) 2>&5
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); }; } &&
31657 { ac_try
='test -s conftest.$ac_objext'
31658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31659 (eval $ac_try) 2>&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; }; then
31663 wx_cv_x11_xpm_h
=yes
31665 echo "$as_me: failed program was:" >&5
31666 sed 's/^/| /' conftest.
$ac_ext >&5
31671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31673 CXXFLAGS
=$save_CXXFLAGS
31677 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31678 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31680 if test $wx_cv_x11_xpm_h = "yes"; then
31681 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31682 cat >>confdefs.h
<<\_ACEOF
31683 #define wxHAVE_LIB_XPM 1
31687 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31688 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31694 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31695 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31696 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31697 echo $ECHO_N "(cached) $ECHO_C" >&6
31699 ac_check_lib_save_LIBS
=$LIBS
31700 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31701 cat >conftest.
$ac_ext <<_ACEOF
31704 cat confdefs.h
>>conftest.
$ac_ext
31705 cat >>conftest.
$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31708 /* Override any gcc2 internal prototype to avoid an error. */
31712 /* We use char because int might match the return type of a gcc2
31713 builtin and then its argument prototype would still apply. */
31714 char XShapeQueryExtension ();
31718 XShapeQueryExtension ();
31723 rm -f conftest.
$ac_objext conftest
$ac_exeext
31724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31725 (eval $ac_link) 2>conftest.er1
31727 grep -v '^ *+' conftest.er1
>conftest.err
31729 cat conftest.err
>&5
31730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731 (exit $ac_status); } &&
31732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31734 (eval $ac_try) 2>&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); }; } &&
31738 { ac_try
='test -s conftest$ac_exeext'
31739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31740 (eval $ac_try) 2>&5
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); }; }; then
31744 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31746 echo "$as_me: failed program was:" >&5
31747 sed 's/^/| /' conftest.
$ac_ext >&5
31749 ac_cv_lib_Xext_XShapeQueryExtension
=no
31751 rm -f conftest.err conftest.
$ac_objext \
31752 conftest
$ac_exeext conftest.
$ac_ext
31753 LIBS
=$ac_check_lib_save_LIBS
31755 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31756 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31757 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31759 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31765 if test "$wxHAVE_XEXT_LIB" = 1; then
31766 save_CXXFLAGS
="$CXXFLAGS"
31767 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31769 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31770 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31771 cat >conftest.
$ac_ext <<_ACEOF
31774 cat confdefs.h
>>conftest.
$ac_ext
31775 cat >>conftest.
$ac_ext <<_ACEOF
31776 /* end confdefs.h. */
31778 #include <X11/Xlib.h>
31779 #include <X11/extensions/shape.h>
31785 int dummy1, dummy2;
31786 XShapeQueryExtension((Display*)NULL,
31787 (int*)NULL, (int*)NULL);
31793 rm -f conftest.
$ac_objext
31794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31795 (eval $ac_compile) 2>conftest.er1
31797 grep -v '^ *+' conftest.er1
>conftest.err
31799 cat conftest.err
>&5
31800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31801 (exit $ac_status); } &&
31802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31804 (eval $ac_try) 2>&5
31806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807 (exit $ac_status); }; } &&
31808 { ac_try
='test -s conftest.$ac_objext'
31809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31810 (eval $ac_try) 2>&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); }; }; then
31815 cat >>confdefs.h
<<\_ACEOF
31816 #define HAVE_XSHAPE 1
31819 echo "$as_me:$LINENO: result: found" >&5
31820 echo "${ECHO_T}found" >&6
31823 echo "$as_me: failed program was:" >&5
31824 sed 's/^/| /' conftest.
$ac_ext >&5
31827 echo "$as_me:$LINENO: result: not found" >&5
31828 echo "${ECHO_T}not found" >&6
31831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31832 CXXFLAGS
="$save_CXXFLAGS"
31837 if test "$wxUSE_MAC" = 1; then
31838 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31839 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31840 if test "$GCC" = yes; then
31841 echo "$as_me:$LINENO: result: gcc" >&5
31842 echo "${ECHO_T}gcc" >&6
31843 CPPFLAGS_PASCAL
="-fpascal-strings"
31844 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31845 echo "$as_me:$LINENO: result: xlc" >&5
31846 echo "${ECHO_T}xlc" >&6
31847 CPPFLAGS_PASCAL
="-qmacpstr"
31849 echo "$as_me:$LINENO: result: none" >&5
31850 echo "${ECHO_T}none" >&6
31853 if test "x$wxUSE_UNIX" = "xyes"; then
31854 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31856 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31861 WXBASEPORT
="_carbon"
31864 if test "$wxUSE_COCOA" = 1; then
31869 if test "$wxUSE_PM" = 1; then
31872 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31873 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31874 if test "${wx_cv_spbcdata+set}" = set; then
31875 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 cat >conftest.
$ac_ext <<_ACEOF
31881 cat confdefs.h
>>conftest.
$ac_ext
31882 cat >>conftest.
$ac_ext <<_ACEOF
31883 /* end confdefs.h. */
31898 rm -f conftest.
$ac_objext
31899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31900 (eval $ac_compile) 2>conftest.er1
31902 grep -v '^ *+' conftest.er1
>conftest.err
31904 cat conftest.err
>&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } &&
31907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909 (eval $ac_try) 2>&5
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); }; } &&
31913 { ac_try
='test -s conftest.$ac_objext'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; }; then
31921 echo "$as_me: failed program was:" >&5
31922 sed 's/^/| /' conftest.
$ac_ext >&5
31927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31931 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31932 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31934 if test $wx_cv_spbcdata = "yes"; then
31935 cat >>confdefs.h
<<\_ACEOF
31936 #define HAVE_SPBCDATA 1
31942 if test "$TOOLKIT" = "PM" ; then
31945 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31948 if test "$wxUSE_UNIVERSAL" = "yes"; then
31949 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31953 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31954 DISTDIR
="wx\$(TOOLKIT)"
31960 if test "$USE_WIN32" = 1 ; then
31964 GUIDIST
="BASE_DIST"
31969 if test "$wxUSE_GUI" = "yes"; then
31970 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31972 for ac_header
in X
11/Xlib.h
31974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31976 echo "$as_me:$LINENO: checking for $ac_header" >&5
31977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31979 echo $ECHO_N "(cached) $ECHO_C" >&6
31981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31984 # Is the header compilable?
31985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31987 cat >conftest.
$ac_ext <<_ACEOF
31990 cat confdefs.h
>>conftest.
$ac_ext
31991 cat >>conftest.
$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 $ac_includes_default
31994 #include <$ac_header>
31996 rm -f conftest.
$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998 (eval $ac_compile) 2>conftest.er1
32000 grep -v '^ *+' conftest.er1
>conftest.err
32002 cat conftest.err
>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } &&
32005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; } &&
32011 { ac_try
='test -s conftest.$ac_objext'
32012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013 (eval $ac_try) 2>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); }; }; then
32017 ac_header_compiler
=yes
32019 echo "$as_me: failed program was:" >&5
32020 sed 's/^/| /' conftest.
$ac_ext >&5
32022 ac_header_compiler
=no
32024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32026 echo "${ECHO_T}$ac_header_compiler" >&6
32028 # Is the header present?
32029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32031 cat >conftest.
$ac_ext <<_ACEOF
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 #include <$ac_header>
32039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32042 grep -v '^ *+' conftest.er1
>conftest.err
32044 cat conftest.err
>&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } >/dev
/null
; then
32047 if test -s conftest.err
; then
32048 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32049 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32056 if test -z "$ac_cpp_err"; then
32057 ac_header_preproc
=yes
32059 echo "$as_me: failed program was:" >&5
32060 sed 's/^/| /' conftest.
$ac_ext >&5
32062 ac_header_preproc
=no
32064 rm -f conftest.err conftest.
$ac_ext
32065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32066 echo "${ECHO_T}$ac_header_preproc" >&6
32068 # So? What about this header?
32069 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32075 ac_header_preproc
=yes
32078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32092 ## ----------------------------------------- ##
32093 ## Report this to wx-dev@lists.wxwidgets.org ##
32094 ## ----------------------------------------- ##
32097 sed "s/^/$as_me: WARNING: /" >&2
32100 echo "$as_me:$LINENO: checking for $ac_header" >&5
32101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32103 echo $ECHO_N "(cached) $ECHO_C" >&6
32105 eval "$as_ac_Header=\$ac_header_preproc"
32107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32112 cat >>confdefs.h
<<_ACEOF
32113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32121 for ac_header
in X
11/XKBlib.h
32123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32124 echo "$as_me:$LINENO: checking for $ac_header" >&5
32125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32129 cat >conftest.
$ac_ext <<_ACEOF
32132 cat confdefs.h
>>conftest.
$ac_ext
32133 cat >>conftest.
$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32136 #if HAVE_X11_XLIB_H
32137 #include <X11/Xlib.h>
32141 #include <$ac_header>
32143 rm -f conftest.
$ac_objext
32144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32145 (eval $ac_compile) 2>conftest.er1
32147 grep -v '^ *+' conftest.er1
>conftest.err
32149 cat conftest.err
>&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } &&
32152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; } &&
32158 { ac_try
='test -s conftest.$ac_objext'
32159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32160 (eval $ac_try) 2>&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); }; }; then
32164 eval "$as_ac_Header=yes"
32166 echo "$as_me: failed program was:" >&5
32167 sed 's/^/| /' conftest.
$ac_ext >&5
32169 eval "$as_ac_Header=no"
32171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32176 cat >>confdefs.h
<<_ACEOF
32177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32192 if test "$TOOLKIT" != "MSW" ; then
32194 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32196 if test "${ac_cv_header_sql_h+set}" = set; then
32197 echo "$as_me:$LINENO: checking for sql.h" >&5
32198 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32199 if test "${ac_cv_header_sql_h+set}" = set; then
32200 echo $ECHO_N "(cached) $ECHO_C" >&6
32202 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32203 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32205 # Is the header compilable?
32206 echo "$as_me:$LINENO: checking sql.h usability" >&5
32207 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32208 cat >conftest.
$ac_ext <<_ACEOF
32211 cat confdefs.h
>>conftest.
$ac_ext
32212 cat >>conftest.
$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214 $ac_includes_default
32217 rm -f conftest.
$ac_objext
32218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32219 (eval $ac_compile) 2>conftest.er1
32221 grep -v '^ *+' conftest.er1
>conftest.err
32223 cat conftest.err
>&5
32224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225 (exit $ac_status); } &&
32226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32228 (eval $ac_try) 2>&5
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); }; } &&
32232 { ac_try
='test -s conftest.$ac_objext'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; }; then
32238 ac_header_compiler
=yes
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.
$ac_ext >&5
32243 ac_header_compiler
=no
32245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32247 echo "${ECHO_T}$ac_header_compiler" >&6
32249 # Is the header present?
32250 echo "$as_me:$LINENO: checking sql.h presence" >&5
32251 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32252 cat >conftest.
$ac_ext <<_ACEOF
32255 cat confdefs.h
>>conftest.
$ac_ext
32256 cat >>conftest.
$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32263 grep -v '^ *+' conftest.er1
>conftest.err
32265 cat conftest.err
>&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); } >/dev
/null
; then
32268 if test -s conftest.err
; then
32269 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32270 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32277 if test -z "$ac_cpp_err"; then
32278 ac_header_preproc
=yes
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.
$ac_ext >&5
32283 ac_header_preproc
=no
32285 rm -f conftest.err conftest.
$ac_ext
32286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32287 echo "${ECHO_T}$ac_header_preproc" >&6
32289 # So? What about this header?
32290 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32292 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32293 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32294 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32295 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32296 ac_header_preproc
=yes
32299 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32300 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32301 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32302 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32303 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32304 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32305 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32306 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32307 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32308 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32309 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32310 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32313 ## ----------------------------------------- ##
32314 ## Report this to wx-dev@lists.wxwidgets.org ##
32315 ## ----------------------------------------- ##
32318 sed "s/^/$as_me: WARNING: /" >&2
32321 echo "$as_me:$LINENO: checking for sql.h" >&5
32322 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32323 if test "${ac_cv_header_sql_h+set}" = set; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 ac_cv_header_sql_h
=$ac_header_preproc
32328 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32329 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32332 if test $ac_cv_header_sql_h = yes; then
32337 if test "x$found_sql_h" = "x1" ; then
32338 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32339 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32340 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32341 echo $ECHO_N "(cached) $ECHO_C" >&6
32343 ac_check_lib_save_LIBS
=$LIBS
32344 LIBS
="-liodbc $LIBS"
32345 cat >conftest.
$ac_ext <<_ACEOF
32348 cat confdefs.h
>>conftest.
$ac_ext
32349 cat >>conftest.
$ac_ext <<_ACEOF
32350 /* end confdefs.h. */
32352 /* Override any gcc2 internal prototype to avoid an error. */
32356 /* We use char because int might match the return type of a gcc2
32357 builtin and then its argument prototype would still apply. */
32358 char SQLAllocEnv ();
32367 rm -f conftest.
$ac_objext conftest
$ac_exeext
32368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32369 (eval $ac_link) 2>conftest.er1
32371 grep -v '^ *+' conftest.er1
>conftest.err
32373 cat conftest.err
>&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } &&
32376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32378 (eval $ac_try) 2>&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); }; } &&
32382 { ac_try
='test -s conftest$ac_exeext'
32383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32384 (eval $ac_try) 2>&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); }; }; then
32388 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32390 echo "$as_me: failed program was:" >&5
32391 sed 's/^/| /' conftest.
$ac_ext >&5
32393 ac_cv_lib_iodbc_SQLAllocEnv
=no
32395 rm -f conftest.err conftest.
$ac_objext \
32396 conftest
$ac_exeext conftest.
$ac_ext
32397 LIBS
=$ac_check_lib_save_LIBS
32399 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32400 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32401 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32402 ODBC_LINK
=" -liodbc"
32405 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32406 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32407 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32408 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 ac_check_lib_save_LIBS
=$LIBS
32411 LIBS
="-lunixodbc $LIBS"
32412 cat >conftest.
$ac_ext <<_ACEOF
32415 cat confdefs.h
>>conftest.
$ac_ext
32416 cat >>conftest.
$ac_ext <<_ACEOF
32417 /* end confdefs.h. */
32419 /* Override any gcc2 internal prototype to avoid an error. */
32423 /* We use char because int might match the return type of a gcc2
32424 builtin and then its argument prototype would still apply. */
32425 char SQLAllocEnv ();
32434 rm -f conftest.
$ac_objext conftest
$ac_exeext
32435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32436 (eval $ac_link) 2>conftest.er1
32438 grep -v '^ *+' conftest.er1
>conftest.err
32440 cat conftest.err
>&5
32441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 (exit $ac_status); } &&
32443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32445 (eval $ac_try) 2>&5
32447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32448 (exit $ac_status); }; } &&
32449 { ac_try
='test -s conftest$ac_exeext'
32450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32451 (eval $ac_try) 2>&5
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); }; }; then
32455 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32457 echo "$as_me: failed program was:" >&5
32458 sed 's/^/| /' conftest.
$ac_ext >&5
32460 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32462 rm -f conftest.err conftest.
$ac_objext \
32463 conftest
$ac_exeext conftest.
$ac_ext
32464 LIBS
=$ac_check_lib_save_LIBS
32466 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32467 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32468 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32469 ODBC_LINK
=" -lunixodbc"
32472 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32473 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32474 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32475 echo $ECHO_N "(cached) $ECHO_C" >&6
32477 ac_check_lib_save_LIBS
=$LIBS
32478 LIBS
="-lodbc $LIBS"
32479 cat >conftest.
$ac_ext <<_ACEOF
32482 cat confdefs.h
>>conftest.
$ac_ext
32483 cat >>conftest.
$ac_ext <<_ACEOF
32484 /* end confdefs.h. */
32486 /* Override any gcc2 internal prototype to avoid an error. */
32490 /* We use char because int might match the return type of a gcc2
32491 builtin and then its argument prototype would still apply. */
32492 char SQLAllocEnv ();
32501 rm -f conftest.
$ac_objext conftest
$ac_exeext
32502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32503 (eval $ac_link) 2>conftest.er1
32505 grep -v '^ *+' conftest.er1
>conftest.err
32507 cat conftest.err
>&5
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); } &&
32510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; } &&
32516 { ac_try
='test -s conftest$ac_exeext'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; }; then
32522 ac_cv_lib_odbc_SQLAllocEnv
=yes
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.
$ac_ext >&5
32527 ac_cv_lib_odbc_SQLAllocEnv
=no
32529 rm -f conftest.err conftest.
$ac_objext \
32530 conftest
$ac_exeext conftest.
$ac_ext
32531 LIBS
=$ac_check_lib_save_LIBS
32533 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32534 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32535 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32536 ODBC_LINK
=" -lodbc"
32546 if test "x$ODBC_LINK" = "x" ; then
32547 if test "$wxUSE_ODBC" = "sys" ; then
32548 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32549 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32550 { (exit 1); exit 1; }; }
32552 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32553 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32561 if test "$wxUSE_ODBC" = "builtin" ; then
32562 cat >>confdefs.h
<<\_ACEOF
32563 #define wxUSE_BUILTIN_IODBC 1
32569 if test "$wxUSE_ODBC" != "no" ; then
32570 cat >>confdefs.h
<<\_ACEOF
32571 #define wxUSE_ODBC 1
32574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32576 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32580 if test "$wxUSE_DISPLAY" = "yes"; then
32581 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32582 echo "$as_me:$LINENO: checking for Xinerama" >&5
32583 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32586 for ac_dir
in $SEARCH_LIB;
32588 for ac_extension
in a so sl dylib dll.a
; do
32589 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32590 ac_find_libraries
=$ac_dir
32596 if test "$ac_find_libraries" != "" ; then
32598 if test "$ac_find_libraries" = "default location"; then
32601 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32603 if test $result = 0; then
32606 ac_path_to_link
=" -L$ac_find_libraries"
32610 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32611 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32613 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32614 echo "$as_me:$LINENO: result: yes" >&5
32615 echo "${ECHO_T}yes" >&6
32617 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32618 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32621 for ac_dir
in $SEARCH_LIB;
32623 for ac_extension
in a so sl dylib dll.a
; do
32624 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32625 ac_find_libraries
=$ac_dir
32631 if test "$ac_find_libraries" != "" ; then
32632 echo "$as_me:$LINENO: result: yes" >&5
32633 echo "${ECHO_T}yes" >&6
32635 for ac_header
in X
11/extensions
/xf86vmode.h
32637 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32638 echo "$as_me:$LINENO: checking for $ac_header" >&5
32639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32641 echo $ECHO_N "(cached) $ECHO_C" >&6
32643 cat >conftest.
$ac_ext <<_ACEOF
32646 cat confdefs.h
>>conftest.
$ac_ext
32647 cat >>conftest.
$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32650 #if HAVE_X11_XLIB_H
32651 #include <X11/Xlib.h>
32655 #include <$ac_header>
32657 rm -f conftest.
$ac_objext
32658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32659 (eval $ac_compile) 2>conftest.er1
32661 grep -v '^ *+' conftest.er1
>conftest.err
32663 cat conftest.err
>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); } &&
32666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32668 (eval $ac_try) 2>&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); }; } &&
32672 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
32678 eval "$as_ac_Header=yes"
32680 echo "$as_me: failed program was:" >&5
32681 sed 's/^/| /' conftest.
$ac_ext >&5
32683 eval "$as_ac_Header=no"
32685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32690 cat >>confdefs.h
<<_ACEOF
32691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32694 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32701 echo "$as_me:$LINENO: result: no" >&5
32702 echo "${ECHO_T}no" >&6
32706 echo "$as_me:$LINENO: result: no" >&5
32707 echo "${ECHO_T}no" >&6
32708 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32709 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32712 elif test "$wxUSE_MSW" = 1; then
32714 for ac_header
in ddraw.h
32716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32717 echo "$as_me:$LINENO: checking for $ac_header" >&5
32718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 cat >conftest.
$ac_ext <<_ACEOF
32725 cat confdefs.h
>>conftest.
$ac_ext
32726 cat >>conftest.
$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 #include <windows.h>
32730 #include <$ac_header>
32732 rm -f conftest.
$ac_objext
32733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32734 (eval $ac_compile) 2>conftest.er1
32736 grep -v '^ *+' conftest.er1
>conftest.err
32738 cat conftest.err
>&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); } &&
32741 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32743 (eval $ac_try) 2>&5
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); }; } &&
32747 { ac_try
='test -s conftest.$ac_objext'
32748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32749 (eval $ac_try) 2>&5
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); }; }; then
32753 eval "$as_ac_Header=yes"
32755 echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.
$ac_ext >&5
32758 eval "$as_ac_Header=no"
32760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32765 cat >>confdefs.h
<<_ACEOF
32766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32778 if test "$wxUSE_OPENGL" = "yes"; then
32779 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32780 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32781 elif test "$wxUSE_MSW" = 1; then
32782 OPENGL_LIBS
="-lopengl32 -lglu32"
32787 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32789 if test -f "$ac_dir/GL/gl.h"; then
32790 ac_find_includes
=$ac_dir
32795 if test "$ac_find_includes" != "" ; then
32796 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32797 echo "${ECHO_T}found in $ac_find_includes" >&6
32799 if test "x$ac_find_includes" = "x/usr/include"; then
32800 ac_path_to_include
=""
32802 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32804 if test $result = 0; then
32805 ac_path_to_include
=""
32807 ac_path_to_include
=" -I$ac_find_includes"
32811 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32814 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32815 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32816 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32817 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32818 echo $ECHO_N "(cached) $ECHO_C" >&6
32820 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32821 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32823 # Is the header compilable?
32824 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32825 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32826 cat >conftest.
$ac_ext <<_ACEOF
32829 cat confdefs.h
>>conftest.
$ac_ext
32830 cat >>conftest.
$ac_ext <<_ACEOF
32831 /* end confdefs.h. */
32832 $ac_includes_default
32835 rm -f conftest.
$ac_objext
32836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32837 (eval $ac_compile) 2>conftest.er1
32839 grep -v '^ *+' conftest.er1
>conftest.err
32841 cat conftest.err
>&5
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); } &&
32844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32846 (eval $ac_try) 2>&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); }; } &&
32850 { ac_try
='test -s conftest.$ac_objext'
32851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32852 (eval $ac_try) 2>&5
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); }; }; then
32856 ac_header_compiler
=yes
32858 echo "$as_me: failed program was:" >&5
32859 sed 's/^/| /' conftest.
$ac_ext >&5
32861 ac_header_compiler
=no
32863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32865 echo "${ECHO_T}$ac_header_compiler" >&6
32867 # Is the header present?
32868 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32869 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32870 cat >conftest.
$ac_ext <<_ACEOF
32873 cat confdefs.h
>>conftest.
$ac_ext
32874 cat >>conftest.
$ac_ext <<_ACEOF
32875 /* end confdefs.h. */
32878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32879 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32881 grep -v '^ *+' conftest.er1
>conftest.err
32883 cat conftest.err
>&5
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); } >/dev
/null
; then
32886 if test -s conftest.err
; then
32887 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32888 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32895 if test -z "$ac_cpp_err"; then
32896 ac_header_preproc
=yes
32898 echo "$as_me: failed program was:" >&5
32899 sed 's/^/| /' conftest.
$ac_ext >&5
32901 ac_header_preproc
=no
32903 rm -f conftest.err conftest.
$ac_ext
32904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32905 echo "${ECHO_T}$ac_header_preproc" >&6
32907 # So? What about this header?
32908 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32910 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32911 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32912 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32913 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32914 ac_header_preproc
=yes
32917 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32918 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32919 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32920 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32921 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32922 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32923 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32924 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32925 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32926 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32927 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32928 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32931 ## ----------------------------------------- ##
32932 ## Report this to wx-dev@lists.wxwidgets.org ##
32933 ## ----------------------------------------- ##
32936 sed "s/^/$as_me: WARNING: /" >&2
32939 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32940 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32941 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32942 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 ac_cv_header_GL_gl_h
=$ac_header_preproc
32946 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32947 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32950 if test $ac_cv_header_GL_gl_h = yes; then
32954 echo "$as_me:$LINENO: checking for -lGL" >&5
32955 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32958 for ac_dir
in $SEARCH_LIB;
32960 for ac_extension
in a so sl dylib dll.a
; do
32961 if test -f "$ac_dir/libGL.$ac_extension"; then
32962 ac_find_libraries
=$ac_dir
32968 if test "$ac_find_libraries" != "" ; then
32969 echo "$as_me:$LINENO: result: yes" >&5
32970 echo "${ECHO_T}yes" >&6
32973 if test "$ac_find_libraries" = "default location"; then
32976 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32978 if test $result = 0; then
32981 ac_path_to_link
=" -L$ac_find_libraries"
32985 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32986 LDFLAGS_GL
="$ac_path_to_link"
32989 echo "$as_me:$LINENO: checking for -lGLU" >&5
32990 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32993 for ac_dir
in $SEARCH_LIB;
32995 for ac_extension
in a so sl dylib dll.a
; do
32996 if test -f "$ac_dir/libGLU.$ac_extension"; then
32997 ac_find_libraries
=$ac_dir
33003 if test "$ac_find_libraries" != "" ; then
33005 if test "$ac_find_libraries" = "default location"; then
33008 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33010 if test $result = 0; then
33013 ac_path_to_link
=" -L$ac_find_libraries"
33017 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33018 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33019 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33023 OPENGL_LIBS
="-lGL -lGLU"
33024 echo "$as_me:$LINENO: result: yes" >&5
33025 echo "${ECHO_T}yes" >&6
33027 echo "$as_me:$LINENO: result: no" >&5
33028 echo "${ECHO_T}no" >&6
33031 echo "$as_me:$LINENO: result: no" >&5
33032 echo "${ECHO_T}no" >&6
33035 if test "$found_gl" != 1; then
33036 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33037 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33040 for ac_dir
in $SEARCH_LIB;
33042 for ac_extension
in a so sl dylib dll.a
; do
33043 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33044 ac_find_libraries
=$ac_dir
33050 if test "$ac_find_libraries" != "" ; then
33052 if test "$ac_find_libraries" = "default location"; then
33055 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33057 if test $result = 0; then
33060 ac_path_to_link
=" -L$ac_find_libraries"
33064 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33065 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33066 echo "$as_me:$LINENO: result: yes" >&5
33067 echo "${ECHO_T}yes" >&6
33069 echo "$as_me:$LINENO: result: no" >&5
33070 echo "${ECHO_T}no" >&6
33078 if test "x$OPENGL_LIBS" = "x"; then
33079 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33080 echo "$as_me: error: OpenGL libraries not available" >&2;}
33081 { (exit 1); exit 1; }; }
33085 if test "$wxUSE_OPENGL" = "yes"; then
33087 cat >>confdefs.h
<<\_ACEOF
33088 #define wxUSE_OPENGL 1
33091 cat >>confdefs.h
<<\_ACEOF
33092 #define wxUSE_GLCANVAS 1
33095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33100 if test -n "$TOOLKIT" ; then
33101 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33106 if test "$wxUSE_SHARED" = "yes"; then
33110 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33111 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33116 if test "$wxUSE_SHARED" = "yes"; then
33119 found_versioning
=no
33122 if test $found_versioning = no
; then
33123 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33124 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33125 if test "${wx_cv_version_script+set}" = set; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 echo "VER_1 { *; };" >conftest.sym
33130 echo "int main() { return 0; }" >conftest.cpp
33133 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33134 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; } ; then
33140 if test -s conftest.stderr
; then
33141 wx_cv_version_script
=no
33143 wx_cv_version_script
=yes
33146 wx_cv_version_script
=no
33149 if test $wx_cv_version_script = yes
33151 echo "struct B { virtual ~B() { } }; \
33152 struct D : public B { }; \
33153 void F() { D d; }" > conftest.cpp
33156 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33157 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159 (eval $ac_try) 2>&5
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); }; } &&
33164 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33165 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33167 (eval $ac_try) 2>&5
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); }; }
33173 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33174 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33176 (eval $ac_try) 2>&5
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); }; }
33181 wx_cv_version_script
=yes
33183 wx_cv_version_script
=no
33188 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33189 rm -f conftest1.output conftest2.output conftest3.output
33192 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33193 echo "${ECHO_T}$wx_cv_version_script" >&6
33194 if test $wx_cv_version_script = yes ; then
33195 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33201 *-*-linux* | *-*-gnu* )
33202 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33203 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33207 if test "$GCC" = yes ; then
33208 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33210 saveLdflags
="$LDFLAGS"
33211 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33212 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33213 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33214 cat >conftest.
$ac_ext <<_ACEOF
33217 cat confdefs.h
>>conftest.
$ac_ext
33218 cat >>conftest.
$ac_ext <<_ACEOF
33219 /* end confdefs.h. */
33229 rm -f conftest.
$ac_objext conftest
$ac_exeext
33230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33231 (eval $ac_link) 2>conftest.er1
33233 grep -v '^ *+' conftest.er1
>conftest.err
33235 cat conftest.err
>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } &&
33238 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33240 (eval $ac_try) 2>&5
33242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243 (exit $ac_status); }; } &&
33244 { ac_try
='test -s conftest$ac_exeext'
33245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33246 (eval $ac_try) 2>&5
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); }; }; then
33251 echo "$as_me:$LINENO: result: yes" >&5
33252 echo "${ECHO_T}yes" >&6
33253 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33254 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33257 echo "$as_me: failed program was:" >&5
33258 sed 's/^/| /' conftest.
$ac_ext >&5
33261 echo "$as_me:$LINENO: result: no" >&5
33262 echo "${ECHO_T}no" >&6
33263 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33264 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33265 LDFLAGS
="$saveLdflags -Wl,-R,/"
33266 cat >conftest.
$ac_ext <<_ACEOF
33269 cat confdefs.h
>>conftest.
$ac_ext
33270 cat >>conftest.
$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33281 rm -f conftest.
$ac_objext conftest
$ac_exeext
33282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33283 (eval $ac_link) 2>conftest.er1
33285 grep -v '^ *+' conftest.er1
>conftest.err
33287 cat conftest.err
>&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); } &&
33290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; } &&
33296 { ac_try
='test -s conftest$ac_exeext'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; }; then
33303 echo "$as_me:$LINENO: result: yes" >&5
33304 echo "${ECHO_T}yes" >&6
33305 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33306 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33309 echo "$as_me: failed program was:" >&5
33310 sed 's/^/| /' conftest.
$ac_ext >&5
33313 echo "$as_me:$LINENO: result: no" >&5
33314 echo "${ECHO_T}no" >&6
33317 rm -f conftest.err conftest.
$ac_objext \
33318 conftest
$ac_exeext conftest.
$ac_ext
33321 rm -f conftest.err conftest.
$ac_objext \
33322 conftest
$ac_exeext conftest.
$ac_ext
33323 LDFLAGS
="$saveLdflags"
33325 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33326 WXCONFIG_RPATH
="-R\$libdir"
33331 install_name_tool
=`which install_name_tool`
33332 if test "$install_name_tool" -a -x "$install_name_tool"; then
33333 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33334 cat <<EOF >change-install-names
33336 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33337 inst_cmd="install_name_tool "
33338 for i in \${libnames} ; do
33339 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33343 chmod +x change
-install-names
33347 *-*-cygwin* | *-*-mingw32* )
33348 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33352 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33353 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33358 if test $wxUSE_RPATH = "no"; then
33359 SAMPLES_RPATH_FLAG
=''
33360 SAMPLES_RPATH_POSTLINK
=''
33368 config_linkage_component
="-static"
33375 lib_unicode_suffix
=
33377 if test "$wxUSE_UNICODE" = "yes"; then
33378 lib_unicode_suffix
=u
33379 WX_CHARTYPE
="unicode"
33384 WX_DEBUGTYPE
="release"
33386 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33388 WX_DEBUGTYPE
="debug"
33392 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33393 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33396 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33400 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33402 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33404 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33406 if test "$cross_compiling" = "yes"; then
33407 HOST_SUFFIX
="-$host_alias"
33408 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33409 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33412 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33413 if test "${TOOLKIT_DIR}" = "os2"; then
33414 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33416 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33421 if test "$wxUSE_COCOA" = 1; then
33425 ac_cpp
='$CPP $CPPFLAGS'
33426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33432 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33433 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33434 cat >conftest.
$ac_ext <<_ACEOF
33437 cat confdefs.h
>>conftest.
$ac_ext
33438 cat >>conftest.
$ac_ext <<_ACEOF
33439 /* end confdefs.h. */
33440 #include <AppKit/NSEvent.h>
33441 #include <CoreFoundation/CoreFoundation.h>
33451 rm -f conftest.
$ac_objext
33452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33453 (eval $ac_compile) 2>conftest.er1
33455 grep -v '^ *+' conftest.er1
>conftest.err
33457 cat conftest.err
>&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); } &&
33460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; } &&
33466 { ac_try
='test -s conftest.$ac_objext'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; }; then
33472 echo "$as_me:$LINENO: result: no" >&5
33473 echo "${ECHO_T}no" >&6
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.
$ac_ext >&5
33478 echo "$as_me:$LINENO: result: yes" >&5
33479 echo "${ECHO_T}yes" >&6
33480 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33481 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33482 cat >conftest.
$ac_ext <<_ACEOF
33485 cat confdefs.h
>>conftest.
$ac_ext
33486 cat >>conftest.
$ac_ext <<_ACEOF
33487 /* end confdefs.h. */
33488 #define __Point__ 1
33489 #include <AppKit/NSEvent.h>
33490 #include <CoreFoundation/CoreFoundation.h>
33500 rm -f conftest.
$ac_objext
33501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33502 (eval $ac_compile) 2>conftest.er1
33504 grep -v '^ *+' conftest.er1
>conftest.err
33506 cat conftest.err
>&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); } &&
33509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33511 (eval $ac_try) 2>&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); }; } &&
33515 { ac_try
='test -s conftest.$ac_objext'
33516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33517 (eval $ac_try) 2>&5
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); }; }; then
33521 echo "$as_me:$LINENO: result: yes" >&5
33522 echo "${ECHO_T}yes" >&6
33523 cat >>confdefs.h
<<\_ACEOF
33524 #define __Point__ 1
33529 echo "$as_me: failed program was:" >&5
33530 sed 's/^/| /' conftest.
$ac_ext >&5
33532 { { echo "$as_me:$LINENO: error: no
33533 See \`config.log' for more details." >&5
33534 echo "$as_me: error: no
33535 See \`config.log' for more details." >&2;}
33536 { (exit 1); exit 1; }; }
33539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33544 ac_cpp
='$CXXCPP $CPPFLAGS'
33545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33551 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33552 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33553 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33555 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33557 # Extract the first word of "Rez", so it can be a program name with args.
33558 set dummy Rez
; ac_word
=$2
33559 echo "$as_me:$LINENO: checking for $ac_word" >&5
33560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33561 if test "${ac_cv_prog_REZ+set}" = set; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33564 if test -n "$REZ"; then
33565 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33568 for as_dir
in $PATH
33571 test -z "$as_dir" && as_dir
=.
33572 for ac_exec_ext
in '' $ac_executable_extensions; do
33573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33574 ac_cv_prog_REZ
="Rez"
33575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33581 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33584 REZ
=$ac_cv_prog_REZ
33585 if test -n "$REZ"; then
33586 echo "$as_me:$LINENO: result: $REZ" >&5
33587 echo "${ECHO_T}$REZ" >&6
33589 echo "$as_me:$LINENO: result: no" >&5
33590 echo "${ECHO_T}no" >&6
33593 # Extract the first word of "DeRez", so it can be a program name with args.
33594 set dummy DeRez
; ac_word
=$2
33595 echo "$as_me:$LINENO: checking for $ac_word" >&5
33596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33597 if test "${ac_cv_prog_DEREZ+set}" = set; then
33598 echo $ECHO_N "(cached) $ECHO_C" >&6
33600 if test -n "$DEREZ"; then
33601 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33604 for as_dir
in $PATH
33607 test -z "$as_dir" && as_dir
=.
33608 for ac_exec_ext
in '' $ac_executable_extensions; do
33609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33610 ac_cv_prog_DEREZ
="DeRez"
33611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33617 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33620 DEREZ
=$ac_cv_prog_DEREZ
33621 if test -n "$DEREZ"; then
33622 echo "$as_me:$LINENO: result: $DEREZ" >&5
33623 echo "${ECHO_T}$DEREZ" >&6
33625 echo "$as_me:$LINENO: result: no" >&5
33626 echo "${ECHO_T}no" >&6
33629 # Extract the first word of "SetFile", so it can be a program name with args.
33630 set dummy SetFile
; ac_word
=$2
33631 echo "$as_me:$LINENO: checking for $ac_word" >&5
33632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33633 if test "${ac_cv_prog_SETFILE+set}" = set; then
33634 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 if test -n "$SETFILE"; then
33637 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33640 for as_dir
in $PATH
33643 test -z "$as_dir" && as_dir
=.
33644 for ac_exec_ext
in '' $ac_executable_extensions; do
33645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33646 ac_cv_prog_SETFILE
="SetFile"
33647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33653 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33656 SETFILE
=$ac_cv_prog_SETFILE
33657 if test -n "$SETFILE"; then
33658 echo "$as_me:$LINENO: result: $SETFILE" >&5
33659 echo "${ECHO_T}$SETFILE" >&6
33661 echo "$as_me:$LINENO: result: no" >&5
33662 echo "${ECHO_T}no" >&6
33666 MACSETFILE
="\$(SETFILE)"
33668 if test "$wxUSE_MAC" = 1; then
33669 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33671 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33673 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33674 RESCOMP
="echo -n \| $REZ"
33675 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33681 if test "$wxUSE_PM" = 1; then
33683 WXCONFIG_RESFLAGS
="-ep"
33685 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33687 POSTLINK_COMMAND
="@true"
33694 echo "$as_me:$LINENO: checking for mode_t" >&5
33695 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33696 if test "${ac_cv_type_mode_t+set}" = set; then
33697 echo $ECHO_N "(cached) $ECHO_C" >&6
33699 cat >conftest.
$ac_ext <<_ACEOF
33702 cat confdefs.h
>>conftest.
$ac_ext
33703 cat >>conftest.
$ac_ext <<_ACEOF
33704 /* end confdefs.h. */
33705 $ac_includes_default
33711 if (sizeof (mode_t))
33717 rm -f conftest.
$ac_objext
33718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33719 (eval $ac_compile) 2>conftest.er1
33721 grep -v '^ *+' conftest.er1
>conftest.err
33723 cat conftest.err
>&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); } &&
33726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; } &&
33732 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
33738 ac_cv_type_mode_t
=yes
33740 echo "$as_me: failed program was:" >&5
33741 sed 's/^/| /' conftest.
$ac_ext >&5
33743 ac_cv_type_mode_t
=no
33745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33747 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33748 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33749 if test $ac_cv_type_mode_t = yes; then
33753 cat >>confdefs.h
<<_ACEOF
33759 echo "$as_me:$LINENO: checking for off_t" >&5
33760 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33761 if test "${ac_cv_type_off_t+set}" = set; then
33762 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 cat >conftest.
$ac_ext <<_ACEOF
33767 cat confdefs.h
>>conftest.
$ac_ext
33768 cat >>conftest.
$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770 $ac_includes_default
33776 if (sizeof (off_t))
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" || test ! -s conftest.err'
33792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793 (eval $ac_try) 2>&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; } &&
33797 { ac_try
='test -s conftest.$ac_objext'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }; then
33803 ac_cv_type_off_t
=yes
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.
$ac_ext >&5
33808 ac_cv_type_off_t
=no
33810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33812 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33813 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33814 if test $ac_cv_type_off_t = yes; then
33818 cat >>confdefs.h
<<_ACEOF
33824 echo "$as_me:$LINENO: checking for pid_t" >&5
33825 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33826 if test "${ac_cv_type_pid_t+set}" = set; then
33827 echo $ECHO_N "(cached) $ECHO_C" >&6
33829 cat >conftest.
$ac_ext <<_ACEOF
33832 cat confdefs.h
>>conftest.
$ac_ext
33833 cat >>conftest.
$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 $ac_includes_default
33841 if (sizeof (pid_t))
33847 rm -f conftest.
$ac_objext
33848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33849 (eval $ac_compile) 2>conftest.er1
33851 grep -v '^ *+' conftest.er1
>conftest.err
33853 cat conftest.err
>&5
33854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33855 (exit $ac_status); } &&
33856 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33858 (eval $ac_try) 2>&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); }; } &&
33862 { ac_try
='test -s conftest.$ac_objext'
33863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33864 (eval $ac_try) 2>&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); }; }; then
33868 ac_cv_type_pid_t
=yes
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.
$ac_ext >&5
33873 ac_cv_type_pid_t
=no
33875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33877 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33878 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33879 if test $ac_cv_type_pid_t = yes; then
33883 cat >>confdefs.h
<<_ACEOF
33889 echo "$as_me:$LINENO: checking for size_t" >&5
33890 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33891 if test "${ac_cv_type_size_t+set}" = set; then
33892 echo $ECHO_N "(cached) $ECHO_C" >&6
33894 cat >conftest.
$ac_ext <<_ACEOF
33897 cat confdefs.h
>>conftest.
$ac_ext
33898 cat >>conftest.
$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33900 $ac_includes_default
33906 if (sizeof (size_t))
33912 rm -f conftest.
$ac_objext
33913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33914 (eval $ac_compile) 2>conftest.er1
33916 grep -v '^ *+' conftest.er1
>conftest.err
33918 cat conftest.err
>&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } &&
33921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; } &&
33927 { ac_try
='test -s conftest.$ac_objext'
33928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33929 (eval $ac_try) 2>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; }; then
33933 ac_cv_type_size_t
=yes
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.
$ac_ext >&5
33938 ac_cv_type_size_t
=no
33940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33942 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33943 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33944 if test $ac_cv_type_size_t = yes; then
33948 cat >>confdefs.h
<<_ACEOF
33949 #define size_t unsigned
33954 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33955 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33956 if test "${ac_cv_type_uid_t+set}" = set; then
33957 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 cat >conftest.
$ac_ext <<_ACEOF
33962 cat confdefs.h
>>conftest.
$ac_ext
33963 cat >>conftest.
$ac_ext <<_ACEOF
33964 /* end confdefs.h. */
33965 #include <sys/types.h>
33968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33969 $EGREP "uid_t" >/dev
/null
2>&1; then
33970 ac_cv_type_uid_t
=yes
33972 ac_cv_type_uid_t
=no
33977 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33978 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33979 if test $ac_cv_type_uid_t = no
; then
33981 cat >>confdefs.h
<<\_ACEOF
33986 cat >>confdefs.h
<<\_ACEOF
33993 echo "$as_me:$LINENO: checking for ssize_t" >&5
33994 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33995 if test "${ac_cv_type_ssize_t+set}" = set; then
33996 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 cat >conftest.
$ac_ext <<_ACEOF
34001 cat confdefs.h
>>conftest.
$ac_ext
34002 cat >>conftest.
$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004 $ac_includes_default
34010 if (sizeof (ssize_t))
34016 rm -f conftest.
$ac_objext
34017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34018 (eval $ac_compile) 2>conftest.er1
34020 grep -v '^ *+' conftest.er1
>conftest.err
34022 cat conftest.err
>&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } &&
34025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34027 (eval $ac_try) 2>&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; } &&
34031 { ac_try
='test -s conftest.$ac_objext'
34032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34033 (eval $ac_try) 2>&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; }; then
34037 ac_cv_type_ssize_t
=yes
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.
$ac_ext >&5
34042 ac_cv_type_ssize_t
=no
34044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34046 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34047 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34048 if test $ac_cv_type_ssize_t = yes; then
34050 cat >>confdefs.h
<<_ACEOF
34051 #define HAVE_SSIZE_T 1
34058 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34059 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34060 if test "${wx_cv_size_t_is_uint+set}" = set; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34064 cat >conftest.
$ac_ext <<_ACEOF
34067 cat confdefs.h
>>conftest.
$ac_ext
34068 cat >>conftest.
$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070 #include <stddef.h>
34077 struct Foo { void foo(size_t); void foo(unsigned int); };
34085 rm -f conftest.
$ac_objext
34086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34087 (eval $ac_compile) 2>conftest.er1
34089 grep -v '^ *+' conftest.er1
>conftest.err
34091 cat conftest.err
>&5
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); } &&
34094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34096 (eval $ac_try) 2>&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); }; } &&
34100 { ac_try
='test -s conftest.$ac_objext'
34101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34102 (eval $ac_try) 2>&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); }; }; then
34106 wx_cv_size_t_is_uint
=no
34108 echo "$as_me: failed program was:" >&5
34109 sed 's/^/| /' conftest.
$ac_ext >&5
34111 wx_cv_size_t_is_uint
=yes
34114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34118 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34119 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34121 if test "$wx_cv_size_t_is_uint" = "yes"; then
34122 cat >>confdefs.h
<<\_ACEOF
34123 #define wxSIZE_T_IS_UINT 1
34127 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34128 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34129 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34130 echo $ECHO_N "(cached) $ECHO_C" >&6
34132 cat >conftest.
$ac_ext <<_ACEOF
34135 cat confdefs.h
>>conftest.
$ac_ext
34136 cat >>conftest.
$ac_ext <<_ACEOF
34137 /* end confdefs.h. */
34138 #include <stddef.h>
34145 struct Foo { void foo(size_t); void foo(unsigned long); };
34153 rm -f conftest.
$ac_objext
34154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34155 (eval $ac_compile) 2>conftest.er1
34157 grep -v '^ *+' conftest.er1
>conftest.err
34159 cat conftest.err
>&5
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); } &&
34162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; } &&
34168 { ac_try
='test -s conftest.$ac_objext'
34169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34170 (eval $ac_try) 2>&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); }; }; then
34174 wx_cv_size_t_is_ulong
=no
34176 echo "$as_me: failed program was:" >&5
34177 sed 's/^/| /' conftest.
$ac_ext >&5
34179 wx_cv_size_t_is_ulong
=yes
34182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34185 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34186 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34188 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34189 cat >>confdefs.h
<<\_ACEOF
34190 #define wxSIZE_T_IS_ULONG 1
34197 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34198 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34199 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34203 cat >conftest.
$ac_ext <<_ACEOF
34206 cat confdefs.h
>>conftest.
$ac_ext
34207 cat >>conftest.
$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34222 rm -f conftest.
$ac_objext
34223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34224 (eval $ac_compile) 2>conftest.er1
34226 grep -v '^ *+' conftest.er1
>conftest.err
34228 cat conftest.err
>&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); } &&
34231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
34237 { ac_try
='test -s conftest.$ac_objext'
34238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34239 (eval $ac_try) 2>&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); }; }; then
34244 wx_cv_struct_pw_gecos
=yes
34247 echo "$as_me: failed program was:" >&5
34248 sed 's/^/| /' conftest.
$ac_ext >&5
34251 wx_cv_struct_pw_gecos
=no
34255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34259 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34260 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34262 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34263 cat >>confdefs.h
<<\_ACEOF
34264 #define HAVE_PW_GECOS 1
34270 if test "$wxUSE_WCHAR_T" = "yes"; then
34271 cat >>confdefs.h
<<\_ACEOF
34272 #define wxUSE_WCHAR_T 1
34279 for ac_func
in wcslen
34281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 echo "$as_me:$LINENO: checking for $ac_func" >&5
34283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34284 if eval "test \"\${$as_ac_var+set}\" = set"; then
34285 echo $ECHO_N "(cached) $ECHO_C" >&6
34287 cat >conftest.
$ac_ext <<_ACEOF
34290 cat confdefs.h
>>conftest.
$ac_ext
34291 cat >>conftest.
$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34295 #define $ac_func innocuous_$ac_func
34297 /* System header to define __stub macros and hopefully few prototypes,
34298 which can conflict with char $ac_func (); below.
34299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34300 <limits.h> exists even on freestanding compilers. */
34303 # include <limits.h>
34305 # include <assert.h>
34310 /* Override any gcc2 internal prototype to avoid an error. */
34315 /* We use char because int might match the return type of a gcc2
34316 builtin and then its argument prototype would still apply. */
34318 /* The GNU C library defines this for functions which it implements
34319 to always fail with ENOSYS. Some functions are actually named
34320 something starting with __ and the normal name is an alias. */
34321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34324 char (*f) () = $ac_func;
34333 return f != $ac_func;
34338 rm -f conftest.
$ac_objext conftest
$ac_exeext
34339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34340 (eval $ac_link) 2>conftest.er1
34342 grep -v '^ *+' conftest.er1
>conftest.err
34344 cat conftest.err
>&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); } &&
34347 { ac_try
='test -z "$ac_cxx_werror_flag" || 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 "$WCSLEN_FOUND" = 0; then
34381 if test "$TOOLKIT" = "MSW"; then
34382 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34383 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34384 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34387 ac_check_lib_save_LIBS
=$LIBS
34388 LIBS
="-lmsvcrt $LIBS"
34389 cat >conftest.
$ac_ext <<_ACEOF
34392 cat confdefs.h
>>conftest.
$ac_ext
34393 cat >>conftest.
$ac_ext <<_ACEOF
34394 /* end confdefs.h. */
34396 /* Override any gcc2 internal prototype to avoid an error. */
34400 /* We use char because int might match the return type of a gcc2
34401 builtin and then its argument prototype would still apply. */
34411 rm -f conftest.
$ac_objext conftest
$ac_exeext
34412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34413 (eval $ac_link) 2>conftest.er1
34415 grep -v '^ *+' conftest.er1
>conftest.err
34417 cat conftest.err
>&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); } &&
34420 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34422 (eval $ac_try) 2>&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); }; } &&
34426 { ac_try
='test -s conftest$ac_exeext'
34427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34428 (eval $ac_try) 2>&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); }; }; then
34432 ac_cv_lib_msvcrt_wcslen
=yes
34434 echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.
$ac_ext >&5
34437 ac_cv_lib_msvcrt_wcslen
=no
34439 rm -f conftest.err conftest.
$ac_objext \
34440 conftest
$ac_exeext conftest.
$ac_ext
34441 LIBS
=$ac_check_lib_save_LIBS
34443 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34444 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34445 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34450 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34451 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34452 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34453 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 ac_check_lib_save_LIBS
=$LIBS
34457 cat >conftest.
$ac_ext <<_ACEOF
34460 cat confdefs.h
>>conftest.
$ac_ext
34461 cat >>conftest.
$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34464 /* Override any gcc2 internal prototype to avoid an error. */
34468 /* We use char because int might match the return type of a gcc2
34469 builtin and then its argument prototype would still apply. */
34479 rm -f conftest.
$ac_objext conftest
$ac_exeext
34480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34481 (eval $ac_link) 2>conftest.er1
34483 grep -v '^ *+' conftest.er1
>conftest.err
34485 cat conftest.err
>&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } &&
34488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34490 (eval $ac_try) 2>&5
34492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34493 (exit $ac_status); }; } &&
34494 { ac_try
='test -s conftest$ac_exeext'
34495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34496 (eval $ac_try) 2>&5
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); }; }; then
34500 ac_cv_lib_w_wcslen
=yes
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.
$ac_ext >&5
34505 ac_cv_lib_w_wcslen
=no
34507 rm -f conftest.err conftest.
$ac_objext \
34508 conftest
$ac_exeext conftest.
$ac_ext
34509 LIBS
=$ac_check_lib_save_LIBS
34511 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34512 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34513 if test $ac_cv_lib_w_wcslen = yes; then
34523 if test "$WCSLEN_FOUND" = 1; then
34524 cat >>confdefs.h
<<\_ACEOF
34525 #define HAVE_WCSLEN 1
34530 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34531 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34534 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34535 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34536 if test "${ac_cv_type_mbstate_t+set}" = set; then
34537 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 cat >conftest.
$ac_ext <<_ACEOF
34542 cat confdefs.h
>>conftest.
$ac_ext
34543 cat >>conftest.
$ac_ext <<_ACEOF
34544 /* end confdefs.h. */
34550 if ((mbstate_t *) 0)
34552 if (sizeof (mbstate_t))
34558 rm -f conftest.
$ac_objext
34559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34560 (eval $ac_compile) 2>conftest.er1
34562 grep -v '^ *+' conftest.er1
>conftest.err
34564 cat conftest.err
>&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); } &&
34567 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34569 (eval $ac_try) 2>&5
34571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34572 (exit $ac_status); }; } &&
34573 { ac_try
='test -s conftest.$ac_objext'
34574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34575 (eval $ac_try) 2>&5
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); }; }; then
34579 ac_cv_type_mbstate_t
=yes
34581 echo "$as_me: failed program was:" >&5
34582 sed 's/^/| /' conftest.
$ac_ext >&5
34584 ac_cv_type_mbstate_t
=no
34586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34588 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34589 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34590 if test $ac_cv_type_mbstate_t = yes; then
34592 cat >>confdefs.h
<<_ACEOF
34593 #define HAVE_MBSTATE_T 1
34597 for ac_func
in wcsrtombs
34599 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34600 echo "$as_me:$LINENO: checking for $ac_func" >&5
34601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34602 if eval "test \"\${$as_ac_var+set}\" = set"; then
34603 echo $ECHO_N "(cached) $ECHO_C" >&6
34605 cat >conftest.
$ac_ext <<_ACEOF
34608 cat confdefs.h
>>conftest.
$ac_ext
34609 cat >>conftest.
$ac_ext <<_ACEOF
34610 /* end confdefs.h. */
34611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34613 #define $ac_func innocuous_$ac_func
34615 /* System header to define __stub macros and hopefully few prototypes,
34616 which can conflict with char $ac_func (); below.
34617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34618 <limits.h> exists even on freestanding compilers. */
34621 # include <limits.h>
34623 # include <assert.h>
34628 /* Override any gcc2 internal prototype to avoid an error. */
34633 /* We use char because int might match the return type of a gcc2
34634 builtin and then its argument prototype would still apply. */
34636 /* The GNU C library defines this for functions which it implements
34637 to always fail with ENOSYS. Some functions are actually named
34638 something starting with __ and the normal name is an alias. */
34639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34642 char (*f) () = $ac_func;
34651 return f != $ac_func;
34656 rm -f conftest.
$ac_objext conftest
$ac_exeext
34657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34658 (eval $ac_link) 2>conftest.er1
34660 grep -v '^ *+' conftest.er1
>conftest.err
34662 cat conftest.err
>&5
34663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664 (exit $ac_status); } &&
34665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34667 (eval $ac_try) 2>&5
34669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670 (exit $ac_status); }; } &&
34671 { ac_try
='test -s conftest$ac_exeext'
34672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34673 (eval $ac_try) 2>&5
34675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34676 (exit $ac_status); }; }; then
34677 eval "$as_ac_var=yes"
34679 echo "$as_me: failed program was:" >&5
34680 sed 's/^/| /' conftest.
$ac_ext >&5
34682 eval "$as_ac_var=no"
34684 rm -f conftest.err conftest.
$ac_objext \
34685 conftest
$ac_exeext conftest.
$ac_ext
34687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34689 if test `eval echo '${'$as_ac_var'}'` = yes; then
34690 cat >>confdefs.h
<<_ACEOF
34691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34700 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34701 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34706 for ac_func
in snprintf vsnprintf
34708 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34709 echo "$as_me:$LINENO: checking for $ac_func" >&5
34710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34711 if eval "test \"\${$as_ac_var+set}\" = set"; then
34712 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 cat >conftest.
$ac_ext <<_ACEOF
34717 cat confdefs.h
>>conftest.
$ac_ext
34718 cat >>conftest.
$ac_ext <<_ACEOF
34719 /* end confdefs.h. */
34720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34722 #define $ac_func innocuous_$ac_func
34724 /* System header to define __stub macros and hopefully few prototypes,
34725 which can conflict with char $ac_func (); below.
34726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34727 <limits.h> exists even on freestanding compilers. */
34730 # include <limits.h>
34732 # include <assert.h>
34737 /* Override any gcc2 internal prototype to avoid an error. */
34742 /* We use char because int might match the return type of a gcc2
34743 builtin and then its argument prototype would still apply. */
34745 /* The GNU C library defines this for functions which it implements
34746 to always fail with ENOSYS. Some functions are actually named
34747 something starting with __ and the normal name is an alias. */
34748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34751 char (*f) () = $ac_func;
34760 return f != $ac_func;
34765 rm -f conftest.
$ac_objext conftest
$ac_exeext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34767 (eval $ac_link) 2>conftest.er1
34769 grep -v '^ *+' conftest.er1
>conftest.err
34771 cat conftest.err
>&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); } &&
34774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; } &&
34780 { ac_try
='test -s conftest$ac_exeext'
34781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34782 (eval $ac_try) 2>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); }; }; then
34786 eval "$as_ac_var=yes"
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.
$ac_ext >&5
34791 eval "$as_ac_var=no"
34793 rm -f conftest.err conftest.
$ac_objext \
34794 conftest
$ac_exeext conftest.
$ac_ext
34796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34798 if test `eval echo '${'$as_ac_var'}'` = yes; then
34799 cat >>confdefs.h
<<_ACEOF
34800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34807 if test "$ac_cv_func_vsnprintf" = "yes"; then
34808 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34809 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34810 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 cat >conftest.
$ac_ext <<_ACEOF
34817 cat confdefs.h
>>conftest.
$ac_ext
34818 cat >>conftest.
$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34822 #include <stdarg.h>
34824 #if __MSL__ >= 0x6000
34826 using namespace std;
34836 vsnprintf(buf, 10u, "%s", ap);
34842 rm -f conftest.
$ac_objext
34843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34844 (eval $ac_compile) 2>conftest.er1
34846 grep -v '^ *+' conftest.er1
>conftest.err
34848 cat conftest.err
>&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } &&
34851 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34853 (eval $ac_try) 2>&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); }; } &&
34857 { ac_try
='test -s conftest.$ac_objext'
34858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859 (eval $ac_try) 2>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; }; then
34863 wx_cv_func_vsnprintf_decl
=yes
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.
$ac_ext >&5
34868 wx_cv_func_vsnprintf_decl
=no
34871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34875 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34876 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34878 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34879 cat >>confdefs.h
<<\_ACEOF
34880 #define HAVE_VSNPRINTF_DECL 1
34884 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34885 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34886 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34890 cat >conftest.
$ac_ext <<_ACEOF
34893 cat confdefs.h
>>conftest.
$ac_ext
34894 cat >>conftest.
$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34898 #include <stdarg.h>
34900 #if __MSL__ >= 0x6000
34902 using namespace std;
34912 const char *fmt = "%s";
34913 vsnprintf(buf, 10u, fmt, ap);
34919 rm -f conftest.
$ac_objext
34920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34921 (eval $ac_compile) 2>conftest.er1
34923 grep -v '^ *+' conftest.er1
>conftest.err
34925 cat conftest.err
>&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); } &&
34928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34930 (eval $ac_try) 2>&5
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); }; } &&
34934 { ac_try
='test -s conftest.$ac_objext'
34935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34936 (eval $ac_try) 2>&5
34938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939 (exit $ac_status); }; }; then
34940 wx_cv_func_broken_vsnprintf_decl
=no
34942 echo "$as_me: failed program was:" >&5
34943 sed 's/^/| /' conftest.
$ac_ext >&5
34945 wx_cv_func_broken_vsnprintf_decl
=yes
34948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34952 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34953 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34955 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34956 cat >>confdefs.h
<<\_ACEOF
34957 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34964 if test "$ac_cv_func_snprintf" = "yes"; then
34965 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34966 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34967 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34968 echo $ECHO_N "(cached) $ECHO_C" >&6
34971 cat >conftest.
$ac_ext <<_ACEOF
34974 cat confdefs.h
>>conftest.
$ac_ext
34975 cat >>conftest.
$ac_ext <<_ACEOF
34976 /* end confdefs.h. */
34979 #include <stdarg.h>
34981 #if __MSL__ >= 0x6000
34983 using namespace std;
34992 snprintf(buf, 10u, "%s", "wx");
34998 rm -f conftest.
$ac_objext
34999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35000 (eval $ac_compile) 2>conftest.er1
35002 grep -v '^ *+' conftest.er1
>conftest.err
35004 cat conftest.err
>&5
35005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35006 (exit $ac_status); } &&
35007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35009 (eval $ac_try) 2>&5
35011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35012 (exit $ac_status); }; } &&
35013 { ac_try
='test -s conftest.$ac_objext'
35014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35015 (eval $ac_try) 2>&5
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); }; }; then
35019 wx_cv_func_snprintf_decl
=yes
35021 echo "$as_me: failed program was:" >&5
35022 sed 's/^/| /' conftest.
$ac_ext >&5
35024 wx_cv_func_snprintf_decl
=no
35027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35031 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35032 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35034 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35035 cat >>confdefs.h
<<\_ACEOF
35036 #define HAVE_SNPRINTF_DECL 1
35040 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35041 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35042 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35046 cat >conftest.
$ac_ext <<_ACEOF
35049 cat confdefs.h
>>conftest.
$ac_ext
35050 cat >>conftest.
$ac_ext <<_ACEOF
35051 /* end confdefs.h. */
35054 #include <stdarg.h>
35056 #if __MSL__ >= 0x6000
35058 using namespace std;
35067 const char *fmt = "%s";
35068 snprintf(buf, 10u, fmt, "wx");
35074 rm -f conftest.
$ac_objext
35075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35076 (eval $ac_compile) 2>conftest.er1
35078 grep -v '^ *+' conftest.er1
>conftest.err
35080 cat conftest.err
>&5
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); } &&
35083 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085 (eval $ac_try) 2>&5
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); }; } &&
35089 { ac_try
='test -s conftest.$ac_objext'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 wx_cv_func_broken_snprintf_decl
=no
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.
$ac_ext >&5
35100 wx_cv_func_broken_snprintf_decl
=yes
35103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35107 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35108 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35110 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35111 cat >>confdefs.h
<<\_ACEOF
35112 #define HAVE_BROKEN_SNPRINTF_DECL 1
35118 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35120 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35121 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35122 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35123 echo $ECHO_N "(cached) $ECHO_C" >&6
35126 if test "$cross_compiling" = yes; then
35128 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35129 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35130 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35131 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35132 wx_cv_func_snprintf_pos_params
=no
35136 cat >conftest.
$ac_ext <<_ACEOF
35139 cat confdefs.h
>>conftest.
$ac_ext
35140 cat >>conftest.
$ac_ext <<_ACEOF
35141 /* end confdefs.h. */
35148 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35149 if (strcmp ("2 3 1", buffer) == 0)
35155 rm -f conftest
$ac_exeext
35156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35157 (eval $ac_link) 2>&5
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35162 (eval $ac_try) 2>&5
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); }; }; then
35166 wx_cv_func_snprintf_pos_params
=no
35168 echo "$as_me: program exited with status $ac_status" >&5
35169 echo "$as_me: failed program was:" >&5
35170 sed 's/^/| /' conftest.
$ac_ext >&5
35172 ( exit $ac_status )
35173 wx_cv_func_snprintf_pos_params
=yes
35175 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35180 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35181 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35183 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35184 cat >>confdefs.h
<<\_ACEOF
35185 #define HAVE_UNIX98_PRINTF 1
35192 if test "$wxUSE_UNICODE" = yes; then
35195 for ac_func
in swprintf
35197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35198 echo "$as_me:$LINENO: checking for $ac_func" >&5
35199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35200 if eval "test \"\${$as_ac_var+set}\" = set"; then
35201 echo $ECHO_N "(cached) $ECHO_C" >&6
35203 cat >conftest.
$ac_ext <<_ACEOF
35206 cat confdefs.h
>>conftest.
$ac_ext
35207 cat >>conftest.
$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35211 #define $ac_func innocuous_$ac_func
35213 /* System header to define __stub macros and hopefully few prototypes,
35214 which can conflict with char $ac_func (); below.
35215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35216 <limits.h> exists even on freestanding compilers. */
35219 # include <limits.h>
35221 # include <assert.h>
35226 /* Override any gcc2 internal prototype to avoid an error. */
35231 /* We use char because int might match the return type of a gcc2
35232 builtin and then its argument prototype would still apply. */
35234 /* The GNU C library defines this for functions which it implements
35235 to always fail with ENOSYS. Some functions are actually named
35236 something starting with __ and the normal name is an alias. */
35237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35240 char (*f) () = $ac_func;
35249 return f != $ac_func;
35254 rm -f conftest.
$ac_objext conftest
$ac_exeext
35255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35256 (eval $ac_link) 2>conftest.er1
35258 grep -v '^ *+' conftest.er1
>conftest.err
35260 cat conftest.err
>&5
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); } &&
35263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35265 (eval $ac_try) 2>&5
35267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35268 (exit $ac_status); }; } &&
35269 { ac_try
='test -s conftest$ac_exeext'
35270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35271 (eval $ac_try) 2>&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); }; }; then
35275 eval "$as_ac_var=yes"
35277 echo "$as_me: failed program was:" >&5
35278 sed 's/^/| /' conftest.
$ac_ext >&5
35280 eval "$as_ac_var=no"
35282 rm -f conftest.err conftest.
$ac_objext \
35283 conftest
$ac_exeext conftest.
$ac_ext
35285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35287 if test `eval echo '${'$as_ac_var'}'` = yes; then
35288 cat >>confdefs.h
<<_ACEOF
35289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35296 if test "$ac_cv_func_swprintf" = "yes"; then
35297 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35298 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35299 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35300 echo $ECHO_N "(cached) $ECHO_C" >&6
35303 cat >conftest.
$ac_ext <<_ACEOF
35306 cat confdefs.h
>>conftest.
$ac_ext
35307 cat >>conftest.
$ac_ext <<_ACEOF
35308 /* end confdefs.h. */
35311 #include <stdarg.h>
35319 const wchar_t *fmt = L"test";
35320 swprintf(buf, 10u, fmt);
35326 rm -f conftest.
$ac_objext
35327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35328 (eval $ac_compile) 2>conftest.er1
35330 grep -v '^ *+' conftest.er1
>conftest.err
35332 cat conftest.err
>&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } &&
35335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337 (eval $ac_try) 2>&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); }; } &&
35341 { ac_try
='test -s conftest.$ac_objext'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; }; then
35347 wx_cv_func_broken_swprintf_decl
=no
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.
$ac_ext >&5
35352 wx_cv_func_broken_swprintf_decl
=yes
35355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35359 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35360 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35362 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35363 cat >>confdefs.h
<<\_ACEOF
35364 #define HAVE_BROKEN_SWPRINTF_DECL 1
35376 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35378 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35379 echo "$as_me:$LINENO: checking for $ac_func" >&5
35380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35381 if eval "test \"\${$as_ac_var+set}\" = set"; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 cat >conftest.
$ac_ext <<_ACEOF
35387 cat confdefs.h
>>conftest.
$ac_ext
35388 cat >>conftest.
$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35392 #define $ac_func innocuous_$ac_func
35394 /* System header to define __stub macros and hopefully few prototypes,
35395 which can conflict with char $ac_func (); below.
35396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35397 <limits.h> exists even on freestanding compilers. */
35400 # include <limits.h>
35402 # include <assert.h>
35407 /* Override any gcc2 internal prototype to avoid an error. */
35412 /* We use char because int might match the return type of a gcc2
35413 builtin and then its argument prototype would still apply. */
35415 /* The GNU C library defines this for functions which it implements
35416 to always fail with ENOSYS. Some functions are actually named
35417 something starting with __ and the normal name is an alias. */
35418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35421 char (*f) () = $ac_func;
35430 return f != $ac_func;
35435 rm -f conftest.
$ac_objext conftest
$ac_exeext
35436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35437 (eval $ac_link) 2>conftest.er1
35439 grep -v '^ *+' conftest.er1
>conftest.err
35441 cat conftest.err
>&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } &&
35444 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35446 (eval $ac_try) 2>&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); }; } &&
35450 { ac_try
='test -s conftest$ac_exeext'
35451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35452 (eval $ac_try) 2>&5
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); }; }; then
35456 eval "$as_ac_var=yes"
35458 echo "$as_me: failed program was:" >&5
35459 sed 's/^/| /' conftest.
$ac_ext >&5
35461 eval "$as_ac_var=no"
35463 rm -f conftest.err conftest.
$ac_objext \
35464 conftest
$ac_exeext conftest.
$ac_ext
35466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35468 if test `eval echo '${'$as_ac_var'}'` = yes; then
35469 cat >>confdefs.h
<<_ACEOF
35470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35477 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35478 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35479 cat >conftest.
$ac_ext <<_ACEOF
35482 cat confdefs.h
>>conftest.
$ac_ext
35483 cat >>conftest.
$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35494 rm -f conftest.
$ac_objext
35495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35496 (eval $ac_compile) 2>conftest.er1
35498 grep -v '^ *+' conftest.er1
>conftest.err
35500 cat conftest.err
>&5
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); } &&
35503 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35505 (eval $ac_try) 2>&5
35507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508 (exit $ac_status); }; } &&
35509 { ac_try
='test -s conftest.$ac_objext'
35510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35511 (eval $ac_try) 2>&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); }; }; then
35515 echo "$as_me:$LINENO: result: yes" >&5
35516 echo "${ECHO_T}yes" >&6
35517 cat >>confdefs.h
<<\_ACEOF
35518 #define HAVE__VSNWPRINTF 1
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.
$ac_ext >&5
35525 echo "$as_me:$LINENO: result: no" >&5
35526 echo "${ECHO_T}no" >&6
35528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35531 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35533 for ac_func
in fnmatch
35535 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35536 echo "$as_me:$LINENO: checking for $ac_func" >&5
35537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35538 if eval "test \"\${$as_ac_var+set}\" = set"; then
35539 echo $ECHO_N "(cached) $ECHO_C" >&6
35541 cat >conftest.
$ac_ext <<_ACEOF
35544 cat confdefs.h
>>conftest.
$ac_ext
35545 cat >>conftest.
$ac_ext <<_ACEOF
35546 /* end confdefs.h. */
35547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35549 #define $ac_func innocuous_$ac_func
35551 /* System header to define __stub macros and hopefully few prototypes,
35552 which can conflict with char $ac_func (); below.
35553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35554 <limits.h> exists even on freestanding compilers. */
35557 # include <limits.h>
35559 # include <assert.h>
35564 /* Override any gcc2 internal prototype to avoid an error. */
35569 /* We use char because int might match the return type of a gcc2
35570 builtin and then its argument prototype would still apply. */
35572 /* The GNU C library defines this for functions which it implements
35573 to always fail with ENOSYS. Some functions are actually named
35574 something starting with __ and the normal name is an alias. */
35575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35578 char (*f) () = $ac_func;
35587 return f != $ac_func;
35592 rm -f conftest.
$ac_objext conftest
$ac_exeext
35593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35594 (eval $ac_link) 2>conftest.er1
35596 grep -v '^ *+' conftest.er1
>conftest.err
35598 cat conftest.err
>&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } &&
35601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; } &&
35607 { ac_try
='test -s conftest$ac_exeext'
35608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35609 (eval $ac_try) 2>&5
35611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612 (exit $ac_status); }; }; then
35613 eval "$as_ac_var=yes"
35615 echo "$as_me: failed program was:" >&5
35616 sed 's/^/| /' conftest.
$ac_ext >&5
35618 eval "$as_ac_var=no"
35620 rm -f conftest.err conftest.
$ac_objext \
35621 conftest
$ac_exeext conftest.
$ac_ext
35623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35625 if test `eval echo '${'$as_ac_var'}'` = yes; then
35626 cat >>confdefs.h
<<_ACEOF
35627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35635 if test "$wxUSE_FILE" = "yes"; then
35637 for ac_func
in fsync
35639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35640 echo "$as_me:$LINENO: checking for $ac_func" >&5
35641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35642 if eval "test \"\${$as_ac_var+set}\" = set"; then
35643 echo $ECHO_N "(cached) $ECHO_C" >&6
35645 cat >conftest.
$ac_ext <<_ACEOF
35648 cat confdefs.h
>>conftest.
$ac_ext
35649 cat >>conftest.
$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35653 #define $ac_func innocuous_$ac_func
35655 /* System header to define __stub macros and hopefully few prototypes,
35656 which can conflict with char $ac_func (); below.
35657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35658 <limits.h> exists even on freestanding compilers. */
35661 # include <limits.h>
35663 # include <assert.h>
35668 /* Override any gcc2 internal prototype to avoid an error. */
35673 /* We use char because int might match the return type of a gcc2
35674 builtin and then its argument prototype would still apply. */
35676 /* The GNU C library defines this for functions which it implements
35677 to always fail with ENOSYS. Some functions are actually named
35678 something starting with __ and the normal name is an alias. */
35679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35682 char (*f) () = $ac_func;
35691 return f != $ac_func;
35696 rm -f conftest.
$ac_objext conftest
$ac_exeext
35697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35698 (eval $ac_link) 2>conftest.er1
35700 grep -v '^ *+' conftest.er1
>conftest.err
35702 cat conftest.err
>&5
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); } &&
35705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35707 (eval $ac_try) 2>&5
35709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35710 (exit $ac_status); }; } &&
35711 { ac_try
='test -s conftest$ac_exeext'
35712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35713 (eval $ac_try) 2>&5
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); }; }; then
35717 eval "$as_ac_var=yes"
35719 echo "$as_me: failed program was:" >&5
35720 sed 's/^/| /' conftest.
$ac_ext >&5
35722 eval "$as_ac_var=no"
35724 rm -f conftest.err conftest.
$ac_objext \
35725 conftest
$ac_exeext conftest.
$ac_ext
35727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35729 if test `eval echo '${'$as_ac_var'}'` = yes; then
35730 cat >>confdefs.h
<<_ACEOF
35731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35740 for ac_func
in round
35742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35743 echo "$as_me:$LINENO: checking for $ac_func" >&5
35744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35745 if eval "test \"\${$as_ac_var+set}\" = set"; then
35746 echo $ECHO_N "(cached) $ECHO_C" >&6
35748 cat >conftest.
$ac_ext <<_ACEOF
35751 cat confdefs.h
>>conftest.
$ac_ext
35752 cat >>conftest.
$ac_ext <<_ACEOF
35753 /* end confdefs.h. */
35754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35756 #define $ac_func innocuous_$ac_func
35758 /* System header to define __stub macros and hopefully few prototypes,
35759 which can conflict with char $ac_func (); below.
35760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35761 <limits.h> exists even on freestanding compilers. */
35764 # include <limits.h>
35766 # include <assert.h>
35771 /* Override any gcc2 internal prototype to avoid an error. */
35776 /* We use char because int might match the return type of a gcc2
35777 builtin and then its argument prototype would still apply. */
35779 /* The GNU C library defines this for functions which it implements
35780 to always fail with ENOSYS. Some functions are actually named
35781 something starting with __ and the normal name is an alias. */
35782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35785 char (*f) () = $ac_func;
35794 return f != $ac_func;
35799 rm -f conftest.
$ac_objext conftest
$ac_exeext
35800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35801 (eval $ac_link) 2>conftest.er1
35803 grep -v '^ *+' conftest.er1
>conftest.err
35805 cat conftest.err
>&5
35806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807 (exit $ac_status); } &&
35808 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35810 (eval $ac_try) 2>&5
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); }; } &&
35814 { ac_try
='test -s conftest$ac_exeext'
35815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816 (eval $ac_try) 2>&5
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); }; }; then
35820 eval "$as_ac_var=yes"
35822 echo "$as_me: failed program was:" >&5
35823 sed 's/^/| /' conftest.
$ac_ext >&5
35825 eval "$as_ac_var=no"
35827 rm -f conftest.err conftest.
$ac_objext \
35828 conftest
$ac_exeext conftest.
$ac_ext
35830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35832 if test `eval echo '${'$as_ac_var'}'` = yes; then
35833 cat >>confdefs.h
<<_ACEOF
35834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35840 if test "$ac_cv_func_round" = yes; then
35841 echo "$as_me:$LINENO: checking whether round is declared" >&5
35842 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35843 if test "${ac_cv_have_decl_round+set}" = set; then
35844 echo $ECHO_N "(cached) $ECHO_C" >&6
35846 cat >conftest.
$ac_ext <<_ACEOF
35849 cat confdefs.h
>>conftest.
$ac_ext
35850 cat >>conftest.
$ac_ext <<_ACEOF
35851 /* end confdefs.h. */
35858 char *p = (char *) round;
35865 rm -f conftest.
$ac_objext
35866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35867 (eval $ac_compile) 2>conftest.er1
35869 grep -v '^ *+' conftest.er1
>conftest.err
35871 cat conftest.err
>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } &&
35874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; } &&
35880 { ac_try
='test -s conftest.$ac_objext'
35881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35882 (eval $ac_try) 2>&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); }; }; then
35886 ac_cv_have_decl_round
=yes
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.
$ac_ext >&5
35891 ac_cv_have_decl_round
=no
35893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35895 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35896 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35897 if test $ac_cv_have_decl_round = yes; then
35899 cat >>confdefs.h
<<_ACEOF
35900 #define HAVE_DECL_ROUND 1
35905 cat >>confdefs.h
<<_ACEOF
35906 #define HAVE_DECL_ROUND 0
35916 if test "$TOOLKIT" != "MSW"; then
35922 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35923 if test "${with_libiconv_prefix+set}" = set; then
35924 withval
="$with_libiconv_prefix"
35926 for dir
in `echo "$withval" | tr : ' '`; do
35927 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35928 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35933 echo "$as_me:$LINENO: checking for iconv" >&5
35934 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35935 if test "${am_cv_func_iconv+set}" = set; then
35936 echo $ECHO_N "(cached) $ECHO_C" >&6
35939 am_cv_func_iconv
="no, consider installing GNU libiconv"
35941 cat >conftest.
$ac_ext <<_ACEOF
35944 cat confdefs.h
>>conftest.
$ac_ext
35945 cat >>conftest.
$ac_ext <<_ACEOF
35946 /* end confdefs.h. */
35947 #include <stdlib.h>
35952 iconv_t cd = iconv_open("","");
35953 iconv(cd,NULL,NULL,NULL,NULL);
35959 rm -f conftest.
$ac_objext conftest
$ac_exeext
35960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35961 (eval $ac_link) 2>conftest.er1
35963 grep -v '^ *+' conftest.er1
>conftest.err
35965 cat conftest.err
>&5
35966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967 (exit $ac_status); } &&
35968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35970 (eval $ac_try) 2>&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); }; } &&
35974 { ac_try
='test -s conftest$ac_exeext'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; }; then
35980 am_cv_func_iconv
=yes
35982 echo "$as_me: failed program was:" >&5
35983 sed 's/^/| /' conftest.
$ac_ext >&5
35986 rm -f conftest.err conftest.
$ac_objext \
35987 conftest
$ac_exeext conftest.
$ac_ext
35988 if test "$am_cv_func_iconv" != yes; then
35989 am_save_LIBS
="$LIBS"
35990 LIBS
="$LIBS -liconv"
35991 cat >conftest.
$ac_ext <<_ACEOF
35994 cat confdefs.h
>>conftest.
$ac_ext
35995 cat >>conftest.
$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
35997 #include <stdlib.h>
36002 iconv_t cd = iconv_open("","");
36003 iconv(cd,NULL,NULL,NULL,NULL);
36009 rm -f conftest.
$ac_objext conftest
$ac_exeext
36010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36011 (eval $ac_link) 2>conftest.er1
36013 grep -v '^ *+' conftest.er1
>conftest.err
36015 cat conftest.err
>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); } &&
36018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020 (eval $ac_try) 2>&5
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); }; } &&
36024 { ac_try
='test -s conftest$ac_exeext'
36025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36026 (eval $ac_try) 2>&5
36028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029 (exit $ac_status); }; }; then
36030 am_cv_lib_iconv
=yes
36031 am_cv_func_iconv
=yes
36033 echo "$as_me: failed program was:" >&5
36034 sed 's/^/| /' conftest.
$ac_ext >&5
36037 rm -f conftest.err conftest.
$ac_objext \
36038 conftest
$ac_exeext conftest.
$ac_ext
36039 LIBS
="$am_save_LIBS"
36043 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36044 echo "${ECHO_T}$am_cv_func_iconv" >&6
36045 if test "$am_cv_func_iconv" = yes; then
36047 cat >>confdefs.h
<<\_ACEOF
36048 #define HAVE_ICONV 1
36051 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36052 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36053 if test "${wx_cv_func_iconv_const+set}" = set; then
36054 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 cat >conftest.
$ac_ext <<_ACEOF
36059 cat confdefs.h
>>conftest.
$ac_ext
36060 cat >>conftest.
$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36063 #include <stdlib.h>
36069 #if defined(__STDC__) || defined(__cplusplus)
36070 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36083 rm -f conftest.
$ac_objext
36084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36085 (eval $ac_compile) 2>conftest.er1
36087 grep -v '^ *+' conftest.er1
>conftest.err
36089 cat conftest.err
>&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); } &&
36092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36094 (eval $ac_try) 2>&5
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); }; } &&
36098 { ac_try
='test -s conftest.$ac_objext'
36099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36100 (eval $ac_try) 2>&5
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); }; }; then
36104 wx_cv_func_iconv_const
="no"
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.
$ac_ext >&5
36109 wx_cv_func_iconv_const
="yes"
36112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36115 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36116 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36119 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36120 iconv_const
="const"
36124 cat >>confdefs.h
<<_ACEOF
36125 #define ICONV_CONST $iconv_const
36130 if test "$am_cv_lib_iconv" = yes; then
36135 LIBS
="$LIBICONV $LIBS"
36137 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36139 for ac_func
in sigaction
36141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36142 echo "$as_me:$LINENO: checking for $ac_func" >&5
36143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36144 if eval "test \"\${$as_ac_var+set}\" = set"; then
36145 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 cat >conftest.
$ac_ext <<_ACEOF
36150 cat confdefs.h
>>conftest.
$ac_ext
36151 cat >>conftest.
$ac_ext <<_ACEOF
36152 /* end confdefs.h. */
36153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36155 #define $ac_func innocuous_$ac_func
36157 /* System header to define __stub macros and hopefully few prototypes,
36158 which can conflict with char $ac_func (); below.
36159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36160 <limits.h> exists even on freestanding compilers. */
36163 # include <limits.h>
36165 # include <assert.h>
36170 /* Override any gcc2 internal prototype to avoid an error. */
36175 /* We use char because int might match the return type of a gcc2
36176 builtin and then its argument prototype would still apply. */
36178 /* The GNU C library defines this for functions which it implements
36179 to always fail with ENOSYS. Some functions are actually named
36180 something starting with __ and the normal name is an alias. */
36181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36184 char (*f) () = $ac_func;
36193 return f != $ac_func;
36198 rm -f conftest.
$ac_objext conftest
$ac_exeext
36199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36200 (eval $ac_link) 2>conftest.er1
36202 grep -v '^ *+' conftest.er1
>conftest.err
36204 cat conftest.err
>&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } &&
36207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36209 (eval $ac_try) 2>&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); }; } &&
36213 { ac_try
='test -s conftest$ac_exeext'
36214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36215 (eval $ac_try) 2>&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); }; }; then
36219 eval "$as_ac_var=yes"
36221 echo "$as_me: failed program was:" >&5
36222 sed 's/^/| /' conftest.
$ac_ext >&5
36224 eval "$as_ac_var=no"
36226 rm -f conftest.err conftest.
$ac_objext \
36227 conftest
$ac_exeext conftest.
$ac_ext
36229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36231 if test `eval echo '${'$as_ac_var'}'` = yes; then
36232 cat >>confdefs.h
<<_ACEOF
36233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36240 if test "$ac_cv_func_sigaction" = "no"; then
36241 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36242 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36243 wxUSE_ON_FATAL_EXCEPTION
=no
36246 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36247 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36248 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36249 if test "${wx_cv_type_sa_handler+set}" = set; then
36250 echo $ECHO_N "(cached) $ECHO_C" >&6
36253 cat >conftest.
$ac_ext <<_ACEOF
36256 cat confdefs.h
>>conftest.
$ac_ext
36257 cat >>conftest.
$ac_ext <<_ACEOF
36258 /* end confdefs.h. */
36259 #include <signal.h>
36264 extern void testSigHandler(int);
36266 struct sigaction sa;
36267 sa.sa_handler = testSigHandler;
36273 rm -f conftest.
$ac_objext
36274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36275 (eval $ac_compile) 2>conftest.er1
36277 grep -v '^ *+' conftest.er1
>conftest.err
36279 cat conftest.err
>&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); } &&
36282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36284 (eval $ac_try) 2>&5
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); }; } &&
36288 { ac_try
='test -s conftest.$ac_objext'
36289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36290 (eval $ac_try) 2>&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); }; }; then
36295 wx_cv_type_sa_handler
=int
36298 echo "$as_me: failed program was:" >&5
36299 sed 's/^/| /' conftest.
$ac_ext >&5
36302 wx_cv_type_sa_handler
=void
36305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36308 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36309 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36311 cat >>confdefs.h
<<_ACEOF
36312 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36318 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36319 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36320 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36321 if test "${wx_cv_func_backtrace+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36325 cat >conftest.
$ac_ext <<_ACEOF
36328 cat confdefs.h
>>conftest.
$ac_ext
36329 cat >>conftest.
$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 #include <execinfo.h>
36339 backtrace(trace, 1);
36340 messages = backtrace_symbols(trace, 1);
36346 rm -f conftest.
$ac_objext
36347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36348 (eval $ac_compile) 2>conftest.er1
36350 grep -v '^ *+' conftest.er1
>conftest.err
36352 cat conftest.err
>&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); } &&
36355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36357 (eval $ac_try) 2>&5
36359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36360 (exit $ac_status); }; } &&
36361 { ac_try
='test -s conftest.$ac_objext'
36362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36363 (eval $ac_try) 2>&5
36365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36366 (exit $ac_status); }; }; then
36367 wx_cv_func_backtrace
=yes
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.
$ac_ext >&5
36372 wx_cv_func_backtrace
=no
36375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36379 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36380 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36383 if test "$wx_cv_func_backtrace" = "no"; then
36384 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36385 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36386 wxUSE_STACKWALKER
=no
36388 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36389 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36390 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36394 cat >conftest.
$ac_ext <<_ACEOF
36397 cat confdefs.h
>>conftest.
$ac_ext
36398 cat >>conftest.
$ac_ext <<_ACEOF
36399 /* end confdefs.h. */
36400 #include <cxxabi.h>
36406 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36412 rm -f conftest.
$ac_objext conftest
$ac_exeext
36413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36414 (eval $ac_link) 2>conftest.er1
36416 grep -v '^ *+' conftest.er1
>conftest.err
36418 cat conftest.err
>&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } &&
36421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36423 (eval $ac_try) 2>&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); }; } &&
36427 { ac_try
='test -s conftest$ac_exeext'
36428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36429 (eval $ac_try) 2>&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); }; }; then
36433 wx_cv_func_cxa_demangle
=yes
36435 echo "$as_me: failed program was:" >&5
36436 sed 's/^/| /' conftest.
$ac_ext >&5
36438 wx_cv_func_cxa_demangle
=no
36441 rm -f conftest.err conftest.
$ac_objext \
36442 conftest
$ac_exeext conftest.
$ac_ext
36446 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36447 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36449 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36450 cat >>confdefs.h
<<\_ACEOF
36451 #define HAVE_CXA_DEMANGLE 1
36458 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36459 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36460 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36461 wxUSE_STACKWALKER
=no
36467 for ac_func
in mkstemp mktemp
36469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36470 echo "$as_me:$LINENO: checking for $ac_func" >&5
36471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36472 if eval "test \"\${$as_ac_var+set}\" = set"; then
36473 echo $ECHO_N "(cached) $ECHO_C" >&6
36475 cat >conftest.
$ac_ext <<_ACEOF
36478 cat confdefs.h
>>conftest.
$ac_ext
36479 cat >>conftest.
$ac_ext <<_ACEOF
36480 /* end confdefs.h. */
36481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36483 #define $ac_func innocuous_$ac_func
36485 /* System header to define __stub macros and hopefully few prototypes,
36486 which can conflict with char $ac_func (); below.
36487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36488 <limits.h> exists even on freestanding compilers. */
36491 # include <limits.h>
36493 # include <assert.h>
36498 /* Override any gcc2 internal prototype to avoid an error. */
36503 /* We use char because int might match the return type of a gcc2
36504 builtin and then its argument prototype would still apply. */
36506 /* The GNU C library defines this for functions which it implements
36507 to always fail with ENOSYS. Some functions are actually named
36508 something starting with __ and the normal name is an alias. */
36509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36512 char (*f) () = $ac_func;
36521 return f != $ac_func;
36526 rm -f conftest.
$ac_objext conftest
$ac_exeext
36527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36528 (eval $ac_link) 2>conftest.er1
36530 grep -v '^ *+' conftest.er1
>conftest.err
36532 cat conftest.err
>&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } &&
36535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36537 (eval $ac_try) 2>&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); }; } &&
36541 { ac_try
='test -s conftest$ac_exeext'
36542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36543 (eval $ac_try) 2>&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); }; }; then
36547 eval "$as_ac_var=yes"
36549 echo "$as_me: failed program was:" >&5
36550 sed 's/^/| /' conftest.
$ac_ext >&5
36552 eval "$as_ac_var=no"
36554 rm -f conftest.err conftest.
$ac_objext \
36555 conftest
$ac_exeext conftest.
$ac_ext
36557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36559 if test `eval echo '${'$as_ac_var'}'` = yes; then
36560 cat >>confdefs.h
<<_ACEOF
36561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36568 echo "$as_me:$LINENO: checking for statfs" >&5
36569 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36570 if test "${wx_cv_func_statfs+set}" = set; then
36571 echo $ECHO_N "(cached) $ECHO_C" >&6
36573 cat >conftest.
$ac_ext <<_ACEOF
36576 cat confdefs.h
>>conftest.
$ac_ext
36577 cat >>conftest.
$ac_ext <<_ACEOF
36578 /* end confdefs.h. */
36580 #if defined(__BSD__)
36581 #include <sys/param.h>
36582 #include <sys/mount.h>
36584 #include <sys/vfs.h>
36602 rm -f conftest.
$ac_objext
36603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36604 (eval $ac_compile) 2>conftest.er1
36606 grep -v '^ *+' conftest.er1
>conftest.err
36608 cat conftest.err
>&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); } &&
36611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36613 (eval $ac_try) 2>&5
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); }; } &&
36617 { ac_try
='test -s conftest.$ac_objext'
36618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36619 (eval $ac_try) 2>&5
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); }; }; then
36623 wx_cv_func_statfs
=yes
36625 echo "$as_me: failed program was:" >&5
36626 sed 's/^/| /' conftest.
$ac_ext >&5
36628 wx_cv_func_statfs
=no
36631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36634 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36635 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36637 if test "$wx_cv_func_statfs" = "yes"; then
36638 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36639 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36640 if test "${wx_cv_func_statfs_decl+set}" = set; then
36641 echo $ECHO_N "(cached) $ECHO_C" >&6
36643 cat >conftest.
$ac_ext <<_ACEOF
36646 cat confdefs.h
>>conftest.
$ac_ext
36647 cat >>conftest.
$ac_ext <<_ACEOF
36648 /* end confdefs.h. */
36650 #if defined(__BSD__)
36651 #include <sys/param.h>
36652 #include <sys/mount.h>
36654 #include <sys/vfs.h>
36668 rm -f conftest.
$ac_objext
36669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36670 (eval $ac_compile) 2>conftest.er1
36672 grep -v '^ *+' conftest.er1
>conftest.err
36674 cat conftest.err
>&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); } &&
36677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36679 (eval $ac_try) 2>&5
36681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36682 (exit $ac_status); }; } &&
36683 { ac_try
='test -s conftest.$ac_objext'
36684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36685 (eval $ac_try) 2>&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); }; }; then
36689 wx_cv_func_statfs_decl
=yes
36691 echo "$as_me: failed program was:" >&5
36692 sed 's/^/| /' conftest.
$ac_ext >&5
36694 wx_cv_func_statfs_decl
=no
36697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36700 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36701 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36703 if test "$wx_cv_func_statfs_decl" = "yes"; then
36704 cat >>confdefs.h
<<\_ACEOF
36705 #define HAVE_STATFS_DECL 1
36710 wx_cv_type_statvfs_t
="struct statfs"
36711 cat >>confdefs.h
<<\_ACEOF
36712 #define HAVE_STATFS 1
36716 echo "$as_me:$LINENO: checking for statvfs" >&5
36717 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36718 if test "${wx_cv_func_statvfs+set}" = set; then
36719 echo $ECHO_N "(cached) $ECHO_C" >&6
36721 cat >conftest.
$ac_ext <<_ACEOF
36724 cat confdefs.h
>>conftest.
$ac_ext
36725 cat >>conftest.
$ac_ext <<_ACEOF
36726 /* end confdefs.h. */
36728 #include <stddef.h>
36729 #include <sys/statvfs.h>
36735 statvfs("/", NULL);
36741 rm -f conftest.
$ac_objext
36742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36743 (eval $ac_compile) 2>conftest.er1
36745 grep -v '^ *+' conftest.er1
>conftest.err
36747 cat conftest.err
>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); } &&
36750 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36752 (eval $ac_try) 2>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); }; } &&
36756 { ac_try
='test -s conftest.$ac_objext'
36757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36758 (eval $ac_try) 2>&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); }; }; then
36762 wx_cv_func_statvfs
=yes
36764 echo "$as_me: failed program was:" >&5
36765 sed 's/^/| /' conftest.
$ac_ext >&5
36767 wx_cv_func_statvfs
=no
36770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36773 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36774 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36776 if test "$wx_cv_func_statvfs" = "yes"; then
36777 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36778 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36779 if test "${wx_cv_type_statvfs_t+set}" = set; then
36780 echo $ECHO_N "(cached) $ECHO_C" >&6
36782 cat >conftest.
$ac_ext <<_ACEOF
36785 cat confdefs.h
>>conftest.
$ac_ext
36786 cat >>conftest.
$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36789 #include <sys/statvfs.h>
36806 rm -f conftest.
$ac_objext
36807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36808 (eval $ac_compile) 2>conftest.er1
36810 grep -v '^ *+' conftest.er1
>conftest.err
36812 cat conftest.err
>&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } &&
36815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36817 (eval $ac_try) 2>&5
36819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36820 (exit $ac_status); }; } &&
36821 { ac_try
='test -s conftest.$ac_objext'
36822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36823 (eval $ac_try) 2>&5
36825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36826 (exit $ac_status); }; }; then
36827 wx_cv_type_statvfs_t
=statvfs_t
36829 echo "$as_me: failed program was:" >&5
36830 sed 's/^/| /' conftest.
$ac_ext >&5
36833 cat >conftest.
$ac_ext <<_ACEOF
36836 cat confdefs.h
>>conftest.
$ac_ext
36837 cat >>conftest.
$ac_ext <<_ACEOF
36838 /* end confdefs.h. */
36840 #include <sys/statvfs.h>
36857 rm -f conftest.
$ac_objext
36858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36859 (eval $ac_compile) 2>conftest.er1
36861 grep -v '^ *+' conftest.er1
>conftest.err
36863 cat conftest.err
>&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } &&
36866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36868 (eval $ac_try) 2>&5
36870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871 (exit $ac_status); }; } &&
36872 { ac_try
='test -s conftest.$ac_objext'
36873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36874 (eval $ac_try) 2>&5
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); }; }; then
36878 wx_cv_type_statvfs_t
="struct statvfs"
36880 echo "$as_me: failed program was:" >&5
36881 sed 's/^/| /' conftest.
$ac_ext >&5
36883 wx_cv_type_statvfs_t
="unknown"
36886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36893 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36894 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36896 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36897 cat >>confdefs.h
<<\_ACEOF
36898 #define HAVE_STATVFS 1
36903 wx_cv_type_statvfs_t
="unknown"
36907 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36908 cat >>confdefs.h
<<_ACEOF
36909 #define WX_STATFS_T $wx_cv_type_statvfs_t
36913 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36914 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36917 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36920 for ac_func
in fcntl flock
36922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36923 echo "$as_me:$LINENO: checking for $ac_func" >&5
36924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36925 if eval "test \"\${$as_ac_var+set}\" = set"; then
36926 echo $ECHO_N "(cached) $ECHO_C" >&6
36928 cat >conftest.
$ac_ext <<_ACEOF
36931 cat confdefs.h
>>conftest.
$ac_ext
36932 cat >>conftest.
$ac_ext <<_ACEOF
36933 /* end confdefs.h. */
36934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36936 #define $ac_func innocuous_$ac_func
36938 /* System header to define __stub macros and hopefully few prototypes,
36939 which can conflict with char $ac_func (); below.
36940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36941 <limits.h> exists even on freestanding compilers. */
36944 # include <limits.h>
36946 # include <assert.h>
36951 /* Override any gcc2 internal prototype to avoid an error. */
36956 /* We use char because int might match the return type of a gcc2
36957 builtin and then its argument prototype would still apply. */
36959 /* The GNU C library defines this for functions which it implements
36960 to always fail with ENOSYS. Some functions are actually named
36961 something starting with __ and the normal name is an alias. */
36962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36965 char (*f) () = $ac_func;
36974 return f != $ac_func;
36979 rm -f conftest.
$ac_objext conftest
$ac_exeext
36980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36981 (eval $ac_link) 2>conftest.er1
36983 grep -v '^ *+' conftest.er1
>conftest.err
36985 cat conftest.err
>&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } &&
36988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try
='test -s conftest$ac_exeext'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; }; then
37000 eval "$as_ac_var=yes"
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.
$ac_ext >&5
37005 eval "$as_ac_var=no"
37007 rm -f conftest.err conftest.
$ac_objext \
37008 conftest
$ac_exeext conftest.
$ac_ext
37010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37012 if test `eval echo '${'$as_ac_var'}'` = yes; then
37013 cat >>confdefs.h
<<_ACEOF
37014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37021 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37022 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37023 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37024 wxUSE_SNGLINST_CHECKER
=no
37029 for ac_func
in timegm
37031 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37032 echo "$as_me:$LINENO: checking for $ac_func" >&5
37033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37034 if eval "test \"\${$as_ac_var+set}\" = set"; then
37035 echo $ECHO_N "(cached) $ECHO_C" >&6
37037 cat >conftest.
$ac_ext <<_ACEOF
37040 cat confdefs.h
>>conftest.
$ac_ext
37041 cat >>conftest.
$ac_ext <<_ACEOF
37042 /* end confdefs.h. */
37043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37045 #define $ac_func innocuous_$ac_func
37047 /* System header to define __stub macros and hopefully few prototypes,
37048 which can conflict with char $ac_func (); below.
37049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37050 <limits.h> exists even on freestanding compilers. */
37053 # include <limits.h>
37055 # include <assert.h>
37060 /* Override any gcc2 internal prototype to avoid an error. */
37065 /* We use char because int might match the return type of a gcc2
37066 builtin and then its argument prototype would still apply. */
37068 /* The GNU C library defines this for functions which it implements
37069 to always fail with ENOSYS. Some functions are actually named
37070 something starting with __ and the normal name is an alias. */
37071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37074 char (*f) () = $ac_func;
37083 return f != $ac_func;
37088 rm -f conftest.
$ac_objext conftest
$ac_exeext
37089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37090 (eval $ac_link) 2>conftest.er1
37092 grep -v '^ *+' conftest.er1
>conftest.err
37094 cat conftest.err
>&5
37095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37096 (exit $ac_status); } &&
37097 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37099 (eval $ac_try) 2>&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); }; } &&
37103 { ac_try
='test -s conftest$ac_exeext'
37104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37105 (eval $ac_try) 2>&5
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); }; }; then
37109 eval "$as_ac_var=yes"
37111 echo "$as_me: failed program was:" >&5
37112 sed 's/^/| /' conftest.
$ac_ext >&5
37114 eval "$as_ac_var=no"
37116 rm -f conftest.err conftest.
$ac_objext \
37117 conftest
$ac_exeext conftest.
$ac_ext
37119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37121 if test `eval echo '${'$as_ac_var'}'` = yes; then
37122 cat >>confdefs.h
<<_ACEOF
37123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37132 for ac_func
in putenv setenv
37134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37135 echo "$as_me:$LINENO: checking for $ac_func" >&5
37136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37137 if eval "test \"\${$as_ac_var+set}\" = set"; then
37138 echo $ECHO_N "(cached) $ECHO_C" >&6
37140 cat >conftest.
$ac_ext <<_ACEOF
37143 cat confdefs.h
>>conftest.
$ac_ext
37144 cat >>conftest.
$ac_ext <<_ACEOF
37145 /* end confdefs.h. */
37146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37148 #define $ac_func innocuous_$ac_func
37150 /* System header to define __stub macros and hopefully few prototypes,
37151 which can conflict with char $ac_func (); below.
37152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37153 <limits.h> exists even on freestanding compilers. */
37156 # include <limits.h>
37158 # include <assert.h>
37163 /* Override any gcc2 internal prototype to avoid an error. */
37168 /* We use char because int might match the return type of a gcc2
37169 builtin and then its argument prototype would still apply. */
37171 /* The GNU C library defines this for functions which it implements
37172 to always fail with ENOSYS. Some functions are actually named
37173 something starting with __ and the normal name is an alias. */
37174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37177 char (*f) () = $ac_func;
37186 return f != $ac_func;
37191 rm -f conftest.
$ac_objext conftest
$ac_exeext
37192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37193 (eval $ac_link) 2>conftest.er1
37195 grep -v '^ *+' conftest.er1
>conftest.err
37197 cat conftest.err
>&5
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); } &&
37200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37202 (eval $ac_try) 2>&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); }; } &&
37206 { ac_try
='test -s conftest$ac_exeext'
37207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208 (eval $ac_try) 2>&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); }; }; then
37212 eval "$as_ac_var=yes"
37214 echo "$as_me: failed program was:" >&5
37215 sed 's/^/| /' conftest.
$ac_ext >&5
37217 eval "$as_ac_var=no"
37219 rm -f conftest.err conftest.
$ac_objext \
37220 conftest
$ac_exeext conftest.
$ac_ext
37222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37224 if test `eval echo '${'$as_ac_var'}'` = yes; then
37225 cat >>confdefs.h
<<_ACEOF
37226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37233 HAVE_SOME_SLEEP_FUNC
=0
37234 if test "$USE_BEOS" = 1; then
37235 cat >>confdefs.h
<<\_ACEOF
37236 #define HAVE_SLEEP 1
37239 HAVE_SOME_SLEEP_FUNC
=1
37242 if test "$USE_DARWIN" = 1; then
37243 cat >>confdefs.h
<<\_ACEOF
37244 #define HAVE_USLEEP 1
37247 HAVE_SOME_SLEEP_FUNC
=1
37250 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37253 for ac_func
in nanosleep
37255 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37256 echo "$as_me:$LINENO: checking for $ac_func" >&5
37257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37258 if eval "test \"\${$as_ac_var+set}\" = set"; then
37259 echo $ECHO_N "(cached) $ECHO_C" >&6
37261 cat >conftest.
$ac_ext <<_ACEOF
37264 cat confdefs.h
>>conftest.
$ac_ext
37265 cat >>conftest.
$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37269 #define $ac_func innocuous_$ac_func
37271 /* System header to define __stub macros and hopefully few prototypes,
37272 which can conflict with char $ac_func (); below.
37273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37274 <limits.h> exists even on freestanding compilers. */
37277 # include <limits.h>
37279 # include <assert.h>
37284 /* Override any gcc2 internal prototype to avoid an error. */
37289 /* We use char because int might match the return type of a gcc2
37290 builtin and then its argument prototype would still apply. */
37292 /* The GNU C library defines this for functions which it implements
37293 to always fail with ENOSYS. Some functions are actually named
37294 something starting with __ and the normal name is an alias. */
37295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37298 char (*f) () = $ac_func;
37307 return f != $ac_func;
37312 rm -f conftest.
$ac_objext conftest
$ac_exeext
37313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37314 (eval $ac_link) 2>conftest.er1
37316 grep -v '^ *+' conftest.er1
>conftest.err
37318 cat conftest.err
>&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); } &&
37321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37323 (eval $ac_try) 2>&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); }; } &&
37327 { ac_try
='test -s conftest$ac_exeext'
37328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329 (eval $ac_try) 2>&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); }; }; then
37333 eval "$as_ac_var=yes"
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.
$ac_ext >&5
37338 eval "$as_ac_var=no"
37340 rm -f conftest.err conftest.
$ac_objext \
37341 conftest
$ac_exeext conftest.
$ac_ext
37343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37345 if test `eval echo '${'$as_ac_var'}'` = yes; then
37346 cat >>confdefs.h
<<_ACEOF
37347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37349 cat >>confdefs.h
<<\_ACEOF
37350 #define HAVE_NANOSLEEP 1
37355 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37356 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37357 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37358 echo $ECHO_N "(cached) $ECHO_C" >&6
37360 ac_check_lib_save_LIBS
=$LIBS
37361 LIBS
="-lposix4 $LIBS"
37362 cat >conftest.
$ac_ext <<_ACEOF
37365 cat confdefs.h
>>conftest.
$ac_ext
37366 cat >>conftest.
$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37369 /* Override any gcc2 internal prototype to avoid an error. */
37373 /* We use char because int might match the return type of a gcc2
37374 builtin and then its argument prototype would still apply. */
37384 rm -f conftest.
$ac_objext conftest
$ac_exeext
37385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37386 (eval $ac_link) 2>conftest.er1
37388 grep -v '^ *+' conftest.er1
>conftest.err
37390 cat conftest.err
>&5
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); } &&
37393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37395 (eval $ac_try) 2>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); }; } &&
37399 { ac_try
='test -s conftest$ac_exeext'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; }; then
37405 ac_cv_lib_posix4_nanosleep
=yes
37407 echo "$as_me: failed program was:" >&5
37408 sed 's/^/| /' conftest.
$ac_ext >&5
37410 ac_cv_lib_posix4_nanosleep
=no
37412 rm -f conftest.err conftest.
$ac_objext \
37413 conftest
$ac_exeext conftest.
$ac_ext
37414 LIBS
=$ac_check_lib_save_LIBS
37416 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37417 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37418 if test $ac_cv_lib_posix4_nanosleep = yes; then
37420 cat >>confdefs.h
<<\_ACEOF
37421 #define HAVE_NANOSLEEP 1
37424 POSIX4_LINK
=" -lposix4"
37429 for ac_func
in usleep
37431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37432 echo "$as_me:$LINENO: checking for $ac_func" >&5
37433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37434 if eval "test \"\${$as_ac_var+set}\" = set"; then
37435 echo $ECHO_N "(cached) $ECHO_C" >&6
37437 cat >conftest.
$ac_ext <<_ACEOF
37440 cat confdefs.h
>>conftest.
$ac_ext
37441 cat >>conftest.
$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37445 #define $ac_func innocuous_$ac_func
37447 /* System header to define __stub macros and hopefully few prototypes,
37448 which can conflict with char $ac_func (); below.
37449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37450 <limits.h> exists even on freestanding compilers. */
37453 # include <limits.h>
37455 # include <assert.h>
37460 /* Override any gcc2 internal prototype to avoid an error. */
37465 /* We use char because int might match the return type of a gcc2
37466 builtin and then its argument prototype would still apply. */
37468 /* The GNU C library defines this for functions which it implements
37469 to always fail with ENOSYS. Some functions are actually named
37470 something starting with __ and the normal name is an alias. */
37471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37474 char (*f) () = $ac_func;
37483 return f != $ac_func;
37488 rm -f conftest.
$ac_objext conftest
$ac_exeext
37489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37490 (eval $ac_link) 2>conftest.er1
37492 grep -v '^ *+' conftest.er1
>conftest.err
37494 cat conftest.err
>&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); } &&
37497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37499 (eval $ac_try) 2>&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); }; } &&
37503 { ac_try
='test -s conftest$ac_exeext'
37504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37505 (eval $ac_try) 2>&5
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); }; }; then
37509 eval "$as_ac_var=yes"
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.
$ac_ext >&5
37514 eval "$as_ac_var=no"
37516 rm -f conftest.err conftest.
$ac_objext \
37517 conftest
$ac_exeext conftest.
$ac_ext
37519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37521 if test `eval echo '${'$as_ac_var'}'` = yes; then
37522 cat >>confdefs.h
<<_ACEOF
37523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37525 cat >>confdefs.h
<<\_ACEOF
37526 #define HAVE_USLEEP 1
37530 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37531 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37549 for ac_func
in uname gethostname
37551 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37552 echo "$as_me:$LINENO: checking for $ac_func" >&5
37553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37554 if eval "test \"\${$as_ac_var+set}\" = set"; then
37555 echo $ECHO_N "(cached) $ECHO_C" >&6
37557 cat >conftest.
$ac_ext <<_ACEOF
37560 cat confdefs.h
>>conftest.
$ac_ext
37561 cat >>conftest.
$ac_ext <<_ACEOF
37562 /* end confdefs.h. */
37563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37565 #define $ac_func innocuous_$ac_func
37567 /* System header to define __stub macros and hopefully few prototypes,
37568 which can conflict with char $ac_func (); below.
37569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37570 <limits.h> exists even on freestanding compilers. */
37573 # include <limits.h>
37575 # include <assert.h>
37580 /* Override any gcc2 internal prototype to avoid an error. */
37585 /* We use char because int might match the return type of a gcc2
37586 builtin and then its argument prototype would still apply. */
37588 /* The GNU C library defines this for functions which it implements
37589 to always fail with ENOSYS. Some functions are actually named
37590 something starting with __ and the normal name is an alias. */
37591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37594 char (*f) () = $ac_func;
37603 return f != $ac_func;
37608 rm -f conftest.
$ac_objext conftest
$ac_exeext
37609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37610 (eval $ac_link) 2>conftest.er1
37612 grep -v '^ *+' conftest.er1
>conftest.err
37614 cat conftest.err
>&5
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); } &&
37617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37619 (eval $ac_try) 2>&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); }; } &&
37623 { ac_try
='test -s conftest$ac_exeext'
37624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37625 (eval $ac_try) 2>&5
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); }; }; then
37629 eval "$as_ac_var=yes"
37631 echo "$as_me: failed program was:" >&5
37632 sed 's/^/| /' conftest.
$ac_ext >&5
37634 eval "$as_ac_var=no"
37636 rm -f conftest.err conftest.
$ac_objext \
37637 conftest
$ac_exeext conftest.
$ac_ext
37639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37641 if test `eval echo '${'$as_ac_var'}'` = yes; then
37642 cat >>confdefs.h
<<_ACEOF
37643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37651 for wx_func
in strtok_r
37653 echo "$as_me:$LINENO: checking for $wx_func" >&5
37654 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37655 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37656 echo $ECHO_N "(cached) $ECHO_C" >&6
37659 cat >conftest.
$ac_ext <<_ACEOF
37663 cat confdefs.h
>>conftest.
$ac_ext
37664 cat >>conftest.
$ac_ext <<_ACEOF
37665 /* end confdefs.h. */
37668 $ac_includes_default
37684 rm -f conftest.
$ac_objext conftest
$ac_exeext
37685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37686 (eval $ac_link) 2>conftest.er1
37688 grep -v '^ *+' conftest.er1
>conftest.err
37690 cat conftest.err
>&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); } &&
37693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695 (eval $ac_try) 2>&5
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); }; } &&
37699 { ac_try
='test -s conftest$ac_exeext'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; }; then
37705 eval wx_cv_func_
$wx_func=yes
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.
$ac_ext >&5
37710 eval wx_cv_func_
$wx_func=no
37712 rm -f conftest.err conftest.
$ac_objext \
37713 conftest
$ac_exeext conftest.
$ac_ext
37716 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37717 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37719 if eval test \
$wx_cv_func_$wx_func = yes
37721 cat >>confdefs.h
<<_ACEOF
37722 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37735 for ac_func
in inet_addr
37737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37738 echo "$as_me:$LINENO: checking for $ac_func" >&5
37739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37740 if eval "test \"\${$as_ac_var+set}\" = set"; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 cat >conftest.
$ac_ext <<_ACEOF
37746 cat confdefs.h
>>conftest.
$ac_ext
37747 cat >>conftest.
$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37751 #define $ac_func innocuous_$ac_func
37753 /* System header to define __stub macros and hopefully few prototypes,
37754 which can conflict with char $ac_func (); below.
37755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37756 <limits.h> exists even on freestanding compilers. */
37759 # include <limits.h>
37761 # include <assert.h>
37766 /* Override any gcc2 internal prototype to avoid an error. */
37771 /* We use char because int might match the return type of a gcc2
37772 builtin and then its argument prototype would still apply. */
37774 /* The GNU C library defines this for functions which it implements
37775 to always fail with ENOSYS. Some functions are actually named
37776 something starting with __ and the normal name is an alias. */
37777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37780 char (*f) () = $ac_func;
37789 return f != $ac_func;
37794 rm -f conftest.
$ac_objext conftest
$ac_exeext
37795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37796 (eval $ac_link) 2>conftest.er1
37798 grep -v '^ *+' conftest.er1
>conftest.err
37800 cat conftest.err
>&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } &&
37803 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37805 (eval $ac_try) 2>&5
37807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808 (exit $ac_status); }; } &&
37809 { ac_try
='test -s conftest$ac_exeext'
37810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37811 (eval $ac_try) 2>&5
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); }; }; then
37815 eval "$as_ac_var=yes"
37817 echo "$as_me: failed program was:" >&5
37818 sed 's/^/| /' conftest.
$ac_ext >&5
37820 eval "$as_ac_var=no"
37822 rm -f conftest.err conftest.
$ac_objext \
37823 conftest
$ac_exeext conftest.
$ac_ext
37825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37827 if test `eval echo '${'$as_ac_var'}'` = yes; then
37828 cat >>confdefs.h
<<_ACEOF
37829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37831 cat >>confdefs.h
<<\_ACEOF
37832 #define HAVE_INET_ADDR 1
37837 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37838 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37839 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37840 echo $ECHO_N "(cached) $ECHO_C" >&6
37842 ac_check_lib_save_LIBS
=$LIBS
37844 cat >conftest.
$ac_ext <<_ACEOF
37847 cat confdefs.h
>>conftest.
$ac_ext
37848 cat >>conftest.
$ac_ext <<_ACEOF
37849 /* end confdefs.h. */
37851 /* Override any gcc2 internal prototype to avoid an error. */
37855 /* We use char because int might match the return type of a gcc2
37856 builtin and then its argument prototype would still apply. */
37866 rm -f conftest.
$ac_objext conftest
$ac_exeext
37867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37868 (eval $ac_link) 2>conftest.er1
37870 grep -v '^ *+' conftest.er1
>conftest.err
37872 cat conftest.err
>&5
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); } &&
37875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37877 (eval $ac_try) 2>&5
37879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37880 (exit $ac_status); }; } &&
37881 { ac_try
='test -s conftest$ac_exeext'
37882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37883 (eval $ac_try) 2>&5
37885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37886 (exit $ac_status); }; }; then
37887 ac_cv_lib_nsl_inet_addr
=yes
37889 echo "$as_me: failed program was:" >&5
37890 sed 's/^/| /' conftest.
$ac_ext >&5
37892 ac_cv_lib_nsl_inet_addr
=no
37894 rm -f conftest.err conftest.
$ac_objext \
37895 conftest
$ac_exeext conftest.
$ac_ext
37896 LIBS
=$ac_check_lib_save_LIBS
37898 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37899 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37900 if test $ac_cv_lib_nsl_inet_addr = yes; then
37904 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37905 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37906 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37907 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 ac_check_lib_save_LIBS
=$LIBS
37910 LIBS
="-lresolv $LIBS"
37911 cat >conftest.
$ac_ext <<_ACEOF
37914 cat confdefs.h
>>conftest.
$ac_ext
37915 cat >>conftest.
$ac_ext <<_ACEOF
37916 /* end confdefs.h. */
37918 /* Override any gcc2 internal prototype to avoid an error. */
37922 /* We use char because int might match the return type of a gcc2
37923 builtin and then its argument prototype would still apply. */
37933 rm -f conftest.
$ac_objext conftest
$ac_exeext
37934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37935 (eval $ac_link) 2>conftest.er1
37937 grep -v '^ *+' conftest.er1
>conftest.err
37939 cat conftest.err
>&5
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); } &&
37942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37944 (eval $ac_try) 2>&5
37946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947 (exit $ac_status); }; } &&
37948 { ac_try
='test -s conftest$ac_exeext'
37949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37950 (eval $ac_try) 2>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); }; }; then
37954 ac_cv_lib_resolv_inet_addr
=yes
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.
$ac_ext >&5
37959 ac_cv_lib_resolv_inet_addr
=no
37961 rm -f conftest.err conftest.
$ac_objext \
37962 conftest
$ac_exeext conftest.
$ac_ext
37963 LIBS
=$ac_check_lib_save_LIBS
37965 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37966 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37967 if test $ac_cv_lib_resolv_inet_addr = yes; then
37971 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37972 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37973 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37976 ac_check_lib_save_LIBS
=$LIBS
37977 LIBS
="-lsocket $LIBS"
37978 cat >conftest.
$ac_ext <<_ACEOF
37981 cat confdefs.h
>>conftest.
$ac_ext
37982 cat >>conftest.
$ac_ext <<_ACEOF
37983 /* end confdefs.h. */
37985 /* Override any gcc2 internal prototype to avoid an error. */
37989 /* We use char because int might match the return type of a gcc2
37990 builtin and then its argument prototype would still apply. */
38000 rm -f conftest.
$ac_objext conftest
$ac_exeext
38001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38002 (eval $ac_link) 2>conftest.er1
38004 grep -v '^ *+' conftest.er1
>conftest.err
38006 cat conftest.err
>&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); } &&
38009 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38011 (eval $ac_try) 2>&5
38013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014 (exit $ac_status); }; } &&
38015 { ac_try
='test -s conftest$ac_exeext'
38016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38017 (eval $ac_try) 2>&5
38019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38020 (exit $ac_status); }; }; then
38021 ac_cv_lib_socket_inet_addr
=yes
38023 echo "$as_me: failed program was:" >&5
38024 sed 's/^/| /' conftest.
$ac_ext >&5
38026 ac_cv_lib_socket_inet_addr
=no
38028 rm -f conftest.err conftest.
$ac_objext \
38029 conftest
$ac_exeext conftest.
$ac_ext
38030 LIBS
=$ac_check_lib_save_LIBS
38032 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38033 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38034 if test $ac_cv_lib_socket_inet_addr = yes; then
38054 for ac_func
in inet_aton
38056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38057 echo "$as_me:$LINENO: checking for $ac_func" >&5
38058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38059 if eval "test \"\${$as_ac_var+set}\" = set"; then
38060 echo $ECHO_N "(cached) $ECHO_C" >&6
38062 cat >conftest.
$ac_ext <<_ACEOF
38065 cat confdefs.h
>>conftest.
$ac_ext
38066 cat >>conftest.
$ac_ext <<_ACEOF
38067 /* end confdefs.h. */
38068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38070 #define $ac_func innocuous_$ac_func
38072 /* System header to define __stub macros and hopefully few prototypes,
38073 which can conflict with char $ac_func (); below.
38074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38075 <limits.h> exists even on freestanding compilers. */
38078 # include <limits.h>
38080 # include <assert.h>
38085 /* Override any gcc2 internal prototype to avoid an error. */
38090 /* We use char because int might match the return type of a gcc2
38091 builtin and then its argument prototype would still apply. */
38093 /* The GNU C library defines this for functions which it implements
38094 to always fail with ENOSYS. Some functions are actually named
38095 something starting with __ and the normal name is an alias. */
38096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38099 char (*f) () = $ac_func;
38108 return f != $ac_func;
38113 rm -f conftest.
$ac_objext conftest
$ac_exeext
38114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38115 (eval $ac_link) 2>conftest.er1
38117 grep -v '^ *+' conftest.er1
>conftest.err
38119 cat conftest.err
>&5
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); } &&
38122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38124 (eval $ac_try) 2>&5
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); }; } &&
38128 { ac_try
='test -s conftest$ac_exeext'
38129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38130 (eval $ac_try) 2>&5
38132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38133 (exit $ac_status); }; }; then
38134 eval "$as_ac_var=yes"
38136 echo "$as_me: failed program was:" >&5
38137 sed 's/^/| /' conftest.
$ac_ext >&5
38139 eval "$as_ac_var=no"
38141 rm -f conftest.err conftest.
$ac_objext \
38142 conftest
$ac_exeext conftest.
$ac_ext
38144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38146 if test `eval echo '${'$as_ac_var'}'` = yes; then
38147 cat >>confdefs.h
<<_ACEOF
38148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38150 cat >>confdefs.h
<<\_ACEOF
38151 #define HAVE_INET_ATON 1
38156 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38157 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38158 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38159 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38160 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 ac_check_lib_save_LIBS
=$LIBS
38163 LIBS
="-l$INET_LINK $LIBS"
38164 cat >conftest.
$ac_ext <<_ACEOF
38167 cat confdefs.h
>>conftest.
$ac_ext
38168 cat >>conftest.
$ac_ext <<_ACEOF
38169 /* end confdefs.h. */
38171 /* Override any gcc2 internal prototype to avoid an error. */
38175 /* We use char because int might match the return type of a gcc2
38176 builtin and then its argument prototype would still apply. */
38186 rm -f conftest.
$ac_objext conftest
$ac_exeext
38187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38188 (eval $ac_link) 2>conftest.er1
38190 grep -v '^ *+' conftest.er1
>conftest.err
38192 cat conftest.err
>&5
38193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38194 (exit $ac_status); } &&
38195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38197 (eval $ac_try) 2>&5
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); }; } &&
38201 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
38207 eval "$as_ac_Lib=yes"
38209 echo "$as_me: failed program was:" >&5
38210 sed 's/^/| /' conftest.
$ac_ext >&5
38212 eval "$as_ac_Lib=no"
38214 rm -f conftest.err conftest.
$ac_objext \
38215 conftest
$ac_exeext conftest.
$ac_ext
38216 LIBS
=$ac_check_lib_save_LIBS
38218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38219 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38220 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38221 cat >>confdefs.h
<<\_ACEOF
38222 #define HAVE_INET_ATON 1
38232 if test "x$INET_LINK" != "x"; then
38233 cat >>confdefs.h
<<\_ACEOF
38234 #define HAVE_INET_ADDR 1
38237 INET_LINK
=" -l$INET_LINK"
38245 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38246 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38247 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38248 echo $ECHO_N "(cached) $ECHO_C" >&6
38250 ac_check_lib_save_LIBS
=$LIBS
38252 cat >conftest.
$ac_ext <<_ACEOF
38255 cat confdefs.h
>>conftest.
$ac_ext
38256 cat >>conftest.
$ac_ext <<_ACEOF
38257 /* end confdefs.h. */
38259 /* Override any gcc2 internal prototype to avoid an error. */
38263 /* We use char because int might match the return type of a gcc2
38264 builtin and then its argument prototype would still apply. */
38274 rm -f conftest.
$ac_objext conftest
$ac_exeext
38275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38276 (eval $ac_link) 2>conftest.er1
38278 grep -v '^ *+' conftest.er1
>conftest.err
38280 cat conftest.err
>&5
38281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282 (exit $ac_status); } &&
38283 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38285 (eval $ac_try) 2>&5
38287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38288 (exit $ac_status); }; } &&
38289 { ac_try
='test -s conftest$ac_exeext'
38290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38291 (eval $ac_try) 2>&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); }; }; then
38295 ac_cv_lib_esd_esd_close
=yes
38297 echo "$as_me: failed program was:" >&5
38298 sed 's/^/| /' conftest.
$ac_ext >&5
38300 ac_cv_lib_esd_esd_close
=no
38302 rm -f conftest.err conftest.
$ac_objext \
38303 conftest
$ac_exeext conftest.
$ac_ext
38304 LIBS
=$ac_check_lib_save_LIBS
38306 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38307 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38308 if test $ac_cv_lib_esd_esd_close = yes; then
38311 for ac_header
in esd.h
38313 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38315 echo "$as_me:$LINENO: checking for $ac_header" >&5
38316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38318 echo $ECHO_N "(cached) $ECHO_C" >&6
38320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38323 # Is the header compilable?
38324 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38326 cat >conftest.
$ac_ext <<_ACEOF
38329 cat confdefs.h
>>conftest.
$ac_ext
38330 cat >>conftest.
$ac_ext <<_ACEOF
38331 /* end confdefs.h. */
38332 $ac_includes_default
38333 #include <$ac_header>
38335 rm -f conftest.
$ac_objext
38336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38337 (eval $ac_compile) 2>conftest.er1
38339 grep -v '^ *+' conftest.er1
>conftest.err
38341 cat conftest.err
>&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } &&
38344 { ac_try
='test -z "$ac_cxx_werror_flag" || 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 ac_header_compiler
=yes
38358 echo "$as_me: failed program was:" >&5
38359 sed 's/^/| /' conftest.
$ac_ext >&5
38361 ac_header_compiler
=no
38363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38365 echo "${ECHO_T}$ac_header_compiler" >&6
38367 # Is the header present?
38368 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38370 cat >conftest.
$ac_ext <<_ACEOF
38373 cat confdefs.h
>>conftest.
$ac_ext
38374 cat >>conftest.
$ac_ext <<_ACEOF
38375 /* end confdefs.h. */
38376 #include <$ac_header>
38378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38381 grep -v '^ *+' conftest.er1
>conftest.err
38383 cat conftest.err
>&5
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); } >/dev
/null
; then
38386 if test -s conftest.err
; then
38387 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38388 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38395 if test -z "$ac_cpp_err"; then
38396 ac_header_preproc
=yes
38398 echo "$as_me: failed program was:" >&5
38399 sed 's/^/| /' conftest.
$ac_ext >&5
38401 ac_header_preproc
=no
38403 rm -f conftest.err conftest.
$ac_ext
38404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38405 echo "${ECHO_T}$ac_header_preproc" >&6
38407 # So? What about this header?
38408 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38414 ac_header_preproc
=yes
38417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38431 ## ----------------------------------------- ##
38432 ## Report this to wx-dev@lists.wxwidgets.org ##
38433 ## ----------------------------------------- ##
38436 sed "s/^/$as_me: WARNING: /" >&2
38439 echo "$as_me:$LINENO: checking for $ac_header" >&5
38440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38442 echo $ECHO_N "(cached) $ECHO_C" >&6
38444 eval "$as_ac_Header=\$ac_header_preproc"
38446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38451 cat >>confdefs.h
<<_ACEOF
38452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38455 EXTRALIBS_ESD
="-lesd"
38466 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38467 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38468 cat >conftest.
$ac_ext <<_ACEOF
38471 cat confdefs.h
>>conftest.
$ac_ext
38472 cat >>conftest.
$ac_ext <<_ACEOF
38473 /* end confdefs.h. */
38475 #include <linux/cdrom.h>
38478 #include <sys/cdio.h>
38484 struct cdrom_tocentry entry, old_entry;
38489 rm -f conftest.
$ac_objext
38490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38491 (eval $ac_compile) 2>conftest.er1
38493 grep -v '^ *+' conftest.er1
>conftest.err
38495 cat conftest.err
>&5
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); } &&
38498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38500 (eval $ac_try) 2>&5
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); }; } &&
38504 { ac_try
='test -s conftest.$ac_objext'
38505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38506 (eval $ac_try) 2>&5
38508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38509 (exit $ac_status); }; }; then
38510 echo "$as_me:$LINENO: result: yes" >&5
38511 echo "${ECHO_T}yes" >&6
38512 cat >>confdefs.h
<<\_ACEOF
38513 #define HAVE_KNOWN_CDROM_INTERFACE 1
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.
$ac_ext >&5
38520 echo "$as_me:$LINENO: result: no" >&5
38521 echo "${ECHO_T}no" >&6
38523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38526 cat >confcache
<<\_ACEOF
38527 # This file is a shell script that caches the results of configure
38528 # tests run on this system so they can be shared between configure
38529 # scripts and configure runs, see configure's option --config-cache.
38530 # It is not useful on other systems. If it contains results you don't
38531 # want to keep, you may remove or edit it.
38533 # config.status only pays attention to the cache file if you give it
38534 # the --recheck option to rerun configure.
38536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38538 # following values.
38542 # The following way of writing the cache mishandles newlines in values,
38543 # but we know of no workaround that is simple, portable, and efficient.
38544 # So, don't put newlines in cache variables' values.
38545 # Ultrix sh set writes to stderr and can't be redirected directly,
38546 # and sets the high bit in the cache file unless we assign to the vars.
38549 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38551 # `set' does not quote correctly, so add quotes (double-quote
38552 # substitution turns \\\\ into \\, and sed turns \\ into \).
38555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38558 # `set' quotes correctly as required by POSIX, so do not add quotes.
38560 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38569 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38571 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38572 if test -w $cache_file; then
38573 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38574 cat confcache
>$cache_file
38576 echo "not updating unwritable cache $cache_file"
38582 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38588 if test "$wxUSE_THREADS" = "yes" ; then
38589 if test "$USE_BEOS" = 1; then
38590 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38591 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38596 if test "$wxUSE_THREADS" = "yes" ; then
38599 THREAD_OPTS
="-pthread"
38601 *-*-solaris2* | *-*-sunos4* )
38602 if test "x$GCC" = "xyes"; then
38603 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38605 THREAD_OPTS
="-mt $THREAD_OPTS"
38609 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38611 *-*-darwin* | *-*-cygwin* )
38615 THREAD_OPTS
="pthreads"
38618 if test "x$GCC" = "xyes"; then
38619 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38627 if test "x$GCC" = "xyes"; then
38633 if test "x$GCC" != "xyes"; then
38634 THREAD_OPTS
="-Ethread"
38639 THREAD_OPTS
="$THREAD_OPTS pthread none"
38642 for flag
in $THREAD_OPTS; do
38645 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38646 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38650 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38651 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38652 THREADS_CXXFLAGS
="$flag"
38656 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38657 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38658 THREADS_LINK
="-l$flag"
38663 save_CXXFLAGS
="$CXXFLAGS"
38664 LIBS
="$THREADS_LINK $LIBS"
38665 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38667 cat >conftest.
$ac_ext <<_ACEOF
38670 cat confdefs.h
>>conftest.
$ac_ext
38671 cat >>conftest.
$ac_ext <<_ACEOF
38672 /* end confdefs.h. */
38673 #include <pthread.h>
38677 pthread_create(0,0,0,0);
38682 rm -f conftest.
$ac_objext conftest
$ac_exeext
38683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38684 (eval $ac_link) 2>conftest.er1
38686 grep -v '^ *+' conftest.er1
>conftest.err
38688 cat conftest.err
>&5
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); } &&
38691 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38693 (eval $ac_try) 2>&5
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); }; } &&
38697 { ac_try
='test -s conftest$ac_exeext'
38698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38699 (eval $ac_try) 2>&5
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); }; }; then
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.
$ac_ext >&5
38709 rm -f conftest.err conftest.
$ac_objext \
38710 conftest
$ac_exeext conftest.
$ac_ext
38713 CXXFLAGS
="$save_CXXFLAGS"
38715 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38716 echo "${ECHO_T}$THREADS_OK" >&6
38717 if test "x$THREADS_OK" = "xyes"; then
38722 THREADS_CXXFLAGS
=""
38725 if test "x$THREADS_OK" != "xyes"; then
38727 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38728 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38730 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38731 LIBS
="$THREADS_LINK $LIBS"
38733 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38734 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38738 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38739 flag
="-D_THREAD_SAFE"
38742 flag
="-D_THREAD_SAFE"
38745 flag
="-D_REENTRANT"
38746 if test "x$GCC" != "xyes"; then
38747 flag
="$flag -D_RWSTD_MULTI_THREAD"
38750 *solaris
* | alpha
*-osf*)
38751 flag
="-D_REENTRANT"
38754 echo "$as_me:$LINENO: result: ${flag}" >&5
38755 echo "${ECHO_T}${flag}" >&6
38756 if test "x$flag" != xno
; then
38757 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38760 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38764 if test "$wxUSE_THREADS" = "yes" ; then
38766 for ac_func
in thr_setconcurrency
38768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38769 echo "$as_me:$LINENO: checking for $ac_func" >&5
38770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38771 if eval "test \"\${$as_ac_var+set}\" = set"; then
38772 echo $ECHO_N "(cached) $ECHO_C" >&6
38774 cat >conftest.
$ac_ext <<_ACEOF
38777 cat confdefs.h
>>conftest.
$ac_ext
38778 cat >>conftest.
$ac_ext <<_ACEOF
38779 /* end confdefs.h. */
38780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38782 #define $ac_func innocuous_$ac_func
38784 /* System header to define __stub macros and hopefully few prototypes,
38785 which can conflict with char $ac_func (); below.
38786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38787 <limits.h> exists even on freestanding compilers. */
38790 # include <limits.h>
38792 # include <assert.h>
38797 /* Override any gcc2 internal prototype to avoid an error. */
38802 /* We use char because int might match the return type of a gcc2
38803 builtin and then its argument prototype would still apply. */
38805 /* The GNU C library defines this for functions which it implements
38806 to always fail with ENOSYS. Some functions are actually named
38807 something starting with __ and the normal name is an alias. */
38808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38811 char (*f) () = $ac_func;
38820 return f != $ac_func;
38825 rm -f conftest.
$ac_objext conftest
$ac_exeext
38826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38827 (eval $ac_link) 2>conftest.er1
38829 grep -v '^ *+' conftest.er1
>conftest.err
38831 cat conftest.err
>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); } &&
38834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; } &&
38840 { ac_try
='test -s conftest$ac_exeext'
38841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38842 (eval $ac_try) 2>&5
38844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 (exit $ac_status); }; }; then
38846 eval "$as_ac_var=yes"
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.
$ac_ext >&5
38851 eval "$as_ac_var=no"
38853 rm -f conftest.err conftest.
$ac_objext \
38854 conftest
$ac_exeext conftest.
$ac_ext
38856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38858 if test `eval echo '${'$as_ac_var'}'` = yes; then
38859 cat >>confdefs.h
<<_ACEOF
38860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38867 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38868 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38869 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38873 cat >conftest.
$ac_ext <<_ACEOF
38876 cat confdefs.h
>>conftest.
$ac_ext
38877 cat >>conftest.
$ac_ext <<_ACEOF
38878 /* end confdefs.h. */
38879 #include <pthread.h>
38880 void ThreadCleanupFunc(void *p);
38887 pthread_cleanup_push(ThreadCleanupFunc, p);
38888 pthread_cleanup_pop(0);
38894 rm -f conftest.
$ac_objext
38895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38896 (eval $ac_compile) 2>conftest.er1
38898 grep -v '^ *+' conftest.er1
>conftest.err
38900 cat conftest.err
>&5
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); } &&
38903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38905 (eval $ac_try) 2>&5
38907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38908 (exit $ac_status); }; } &&
38909 { ac_try
='test -s conftest.$ac_objext'
38910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911 (eval $ac_try) 2>&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); }; }; then
38916 wx_cv_func_pthread_cleanup
=yes
38919 echo "$as_me: failed program was:" >&5
38920 sed 's/^/| /' conftest.
$ac_ext >&5
38923 wx_cv_func_pthread_cleanup
=no
38927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38930 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38931 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38932 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38933 cat >>confdefs.h
<<\_ACEOF
38934 #define wxHAVE_PTHREAD_CLEANUP 1
38940 for ac_header
in sched.h
38942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38944 echo "$as_me:$LINENO: checking for $ac_header" >&5
38945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38947 echo $ECHO_N "(cached) $ECHO_C" >&6
38949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38952 # Is the header compilable?
38953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38955 cat >conftest.
$ac_ext <<_ACEOF
38958 cat confdefs.h
>>conftest.
$ac_ext
38959 cat >>conftest.
$ac_ext <<_ACEOF
38960 /* end confdefs.h. */
38961 $ac_includes_default
38962 #include <$ac_header>
38964 rm -f conftest.
$ac_objext
38965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38966 (eval $ac_compile) 2>conftest.er1
38968 grep -v '^ *+' conftest.er1
>conftest.err
38970 cat conftest.err
>&5
38971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972 (exit $ac_status); } &&
38973 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38975 (eval $ac_try) 2>&5
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); }; } &&
38979 { ac_try
='test -s conftest.$ac_objext'
38980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38981 (eval $ac_try) 2>&5
38983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38984 (exit $ac_status); }; }; then
38985 ac_header_compiler
=yes
38987 echo "$as_me: failed program was:" >&5
38988 sed 's/^/| /' conftest.
$ac_ext >&5
38990 ac_header_compiler
=no
38992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38994 echo "${ECHO_T}$ac_header_compiler" >&6
38996 # Is the header present?
38997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38999 cat >conftest.
$ac_ext <<_ACEOF
39002 cat confdefs.h
>>conftest.
$ac_ext
39003 cat >>conftest.
$ac_ext <<_ACEOF
39004 /* end confdefs.h. */
39005 #include <$ac_header>
39007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39010 grep -v '^ *+' conftest.er1
>conftest.err
39012 cat conftest.err
>&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); } >/dev
/null
; then
39015 if test -s conftest.err
; then
39016 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39017 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39024 if test -z "$ac_cpp_err"; then
39025 ac_header_preproc
=yes
39027 echo "$as_me: failed program was:" >&5
39028 sed 's/^/| /' conftest.
$ac_ext >&5
39030 ac_header_preproc
=no
39032 rm -f conftest.err conftest.
$ac_ext
39033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39034 echo "${ECHO_T}$ac_header_preproc" >&6
39036 # So? What about this header?
39037 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39043 ac_header_preproc
=yes
39046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39050 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39052 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39053 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39056 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39060 ## ----------------------------------------- ##
39061 ## Report this to wx-dev@lists.wxwidgets.org ##
39062 ## ----------------------------------------- ##
39065 sed "s/^/$as_me: WARNING: /" >&2
39068 echo "$as_me:$LINENO: checking for $ac_header" >&5
39069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39071 echo $ECHO_N "(cached) $ECHO_C" >&6
39073 eval "$as_ac_Header=\$ac_header_preproc"
39075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39080 cat >>confdefs.h
<<_ACEOF
39081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39088 if test "$ac_cv_header_sched_h" = "yes"; then
39089 echo "$as_me:$LINENO: checking for sched_yield" >&5
39090 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39091 if test "${ac_cv_func_sched_yield+set}" = set; then
39092 echo $ECHO_N "(cached) $ECHO_C" >&6
39094 cat >conftest.
$ac_ext <<_ACEOF
39097 cat confdefs.h
>>conftest.
$ac_ext
39098 cat >>conftest.
$ac_ext <<_ACEOF
39099 /* end confdefs.h. */
39100 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39102 #define sched_yield innocuous_sched_yield
39104 /* System header to define __stub macros and hopefully few prototypes,
39105 which can conflict with char sched_yield (); below.
39106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39107 <limits.h> exists even on freestanding compilers. */
39110 # include <limits.h>
39112 # include <assert.h>
39117 /* Override any gcc2 internal prototype to avoid an error. */
39122 /* We use char because int might match the return type of a gcc2
39123 builtin and then its argument prototype would still apply. */
39124 char sched_yield ();
39125 /* The GNU C library defines this for functions which it implements
39126 to always fail with ENOSYS. Some functions are actually named
39127 something starting with __ and the normal name is an alias. */
39128 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39131 char (*f) () = sched_yield;
39140 return f != sched_yield;
39145 rm -f conftest.
$ac_objext conftest
$ac_exeext
39146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39147 (eval $ac_link) 2>conftest.er1
39149 grep -v '^ *+' conftest.er1
>conftest.err
39151 cat conftest.err
>&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); } &&
39154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39156 (eval $ac_try) 2>&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); }; } &&
39160 { ac_try
='test -s conftest$ac_exeext'
39161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39162 (eval $ac_try) 2>&5
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); }; }; then
39166 ac_cv_func_sched_yield
=yes
39168 echo "$as_me: failed program was:" >&5
39169 sed 's/^/| /' conftest.
$ac_ext >&5
39171 ac_cv_func_sched_yield
=no
39173 rm -f conftest.err conftest.
$ac_objext \
39174 conftest
$ac_exeext conftest.
$ac_ext
39176 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39177 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39178 if test $ac_cv_func_sched_yield = yes; then
39179 cat >>confdefs.h
<<\_ACEOF
39180 #define HAVE_SCHED_YIELD 1
39185 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39186 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39187 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 ac_check_lib_save_LIBS
=$LIBS
39191 LIBS
="-lposix4 $LIBS"
39192 cat >conftest.
$ac_ext <<_ACEOF
39195 cat confdefs.h
>>conftest.
$ac_ext
39196 cat >>conftest.
$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39199 /* Override any gcc2 internal prototype to avoid an error. */
39203 /* We use char because int might match the return type of a gcc2
39204 builtin and then its argument prototype would still apply. */
39205 char sched_yield ();
39214 rm -f conftest.
$ac_objext conftest
$ac_exeext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39216 (eval $ac_link) 2>conftest.er1
39218 grep -v '^ *+' conftest.er1
>conftest.err
39220 cat conftest.err
>&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
39229 { ac_try
='test -s conftest$ac_exeext'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; }; then
39235 ac_cv_lib_posix4_sched_yield
=yes
39237 echo "$as_me: failed program was:" >&5
39238 sed 's/^/| /' conftest.
$ac_ext >&5
39240 ac_cv_lib_posix4_sched_yield
=no
39242 rm -f conftest.err conftest.
$ac_objext \
39243 conftest
$ac_exeext conftest.
$ac_ext
39244 LIBS
=$ac_check_lib_save_LIBS
39246 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39247 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39248 if test $ac_cv_lib_posix4_sched_yield = yes; then
39249 cat >>confdefs.h
<<\_ACEOF
39250 #define HAVE_SCHED_YIELD 1
39252 POSIX4_LINK
=" -lposix4"
39254 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39255 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39266 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39267 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39268 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39271 cat >conftest.
$ac_ext <<_ACEOF
39274 cat confdefs.h
>>conftest.
$ac_ext
39275 cat >>conftest.
$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39279 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39281 /* System header to define __stub macros and hopefully few prototypes,
39282 which can conflict with char pthread_attr_getschedpolicy (); below.
39283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39284 <limits.h> exists even on freestanding compilers. */
39287 # include <limits.h>
39289 # include <assert.h>
39292 #undef pthread_attr_getschedpolicy
39294 /* Override any gcc2 internal prototype to avoid an error. */
39299 /* We use char because int might match the return type of a gcc2
39300 builtin and then its argument prototype would still apply. */
39301 char pthread_attr_getschedpolicy ();
39302 /* The GNU C library defines this for functions which it implements
39303 to always fail with ENOSYS. Some functions are actually named
39304 something starting with __ and the normal name is an alias. */
39305 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39308 char (*f) () = pthread_attr_getschedpolicy;
39317 return f != pthread_attr_getschedpolicy;
39322 rm -f conftest.
$ac_objext conftest
$ac_exeext
39323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39324 (eval $ac_link) 2>conftest.er1
39326 grep -v '^ *+' conftest.er1
>conftest.err
39328 cat conftest.err
>&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); } &&
39331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39333 (eval $ac_try) 2>&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); }; } &&
39337 { ac_try
='test -s conftest$ac_exeext'
39338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339 (eval $ac_try) 2>&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; }; then
39343 ac_cv_func_pthread_attr_getschedpolicy
=yes
39345 echo "$as_me: failed program was:" >&5
39346 sed 's/^/| /' conftest.
$ac_ext >&5
39348 ac_cv_func_pthread_attr_getschedpolicy
=no
39350 rm -f conftest.err conftest.
$ac_objext \
39351 conftest
$ac_exeext conftest.
$ac_ext
39353 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39354 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39355 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39356 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39357 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39358 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39359 echo $ECHO_N "(cached) $ECHO_C" >&6
39361 cat >conftest.
$ac_ext <<_ACEOF
39364 cat confdefs.h
>>conftest.
$ac_ext
39365 cat >>conftest.
$ac_ext <<_ACEOF
39366 /* end confdefs.h. */
39367 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39369 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39371 /* System header to define __stub macros and hopefully few prototypes,
39372 which can conflict with char pthread_attr_setschedparam (); below.
39373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39374 <limits.h> exists even on freestanding compilers. */
39377 # include <limits.h>
39379 # include <assert.h>
39382 #undef pthread_attr_setschedparam
39384 /* Override any gcc2 internal prototype to avoid an error. */
39389 /* We use char because int might match the return type of a gcc2
39390 builtin and then its argument prototype would still apply. */
39391 char pthread_attr_setschedparam ();
39392 /* The GNU C library defines this for functions which it implements
39393 to always fail with ENOSYS. Some functions are actually named
39394 something starting with __ and the normal name is an alias. */
39395 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39398 char (*f) () = pthread_attr_setschedparam;
39407 return f != pthread_attr_setschedparam;
39412 rm -f conftest.
$ac_objext conftest
$ac_exeext
39413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39414 (eval $ac_link) 2>conftest.er1
39416 grep -v '^ *+' conftest.er1
>conftest.err
39418 cat conftest.err
>&5
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); } &&
39421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39423 (eval $ac_try) 2>&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); }; } &&
39427 { ac_try
='test -s conftest$ac_exeext'
39428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39429 (eval $ac_try) 2>&5
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); }; }; then
39433 ac_cv_func_pthread_attr_setschedparam
=yes
39435 echo "$as_me: failed program was:" >&5
39436 sed 's/^/| /' conftest.
$ac_ext >&5
39438 ac_cv_func_pthread_attr_setschedparam
=no
39440 rm -f conftest.err conftest.
$ac_objext \
39441 conftest
$ac_exeext conftest.
$ac_ext
39443 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39444 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39445 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39446 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39447 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39448 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39451 cat >conftest.
$ac_ext <<_ACEOF
39454 cat confdefs.h
>>conftest.
$ac_ext
39455 cat >>conftest.
$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39457 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39459 #define sched_get_priority_max innocuous_sched_get_priority_max
39461 /* System header to define __stub macros and hopefully few prototypes,
39462 which can conflict with char sched_get_priority_max (); below.
39463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39464 <limits.h> exists even on freestanding compilers. */
39467 # include <limits.h>
39469 # include <assert.h>
39472 #undef sched_get_priority_max
39474 /* Override any gcc2 internal prototype to avoid an error. */
39479 /* We use char because int might match the return type of a gcc2
39480 builtin and then its argument prototype would still apply. */
39481 char sched_get_priority_max ();
39482 /* The GNU C library defines this for functions which it implements
39483 to always fail with ENOSYS. Some functions are actually named
39484 something starting with __ and the normal name is an alias. */
39485 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39488 char (*f) () = sched_get_priority_max;
39497 return f != sched_get_priority_max;
39502 rm -f conftest.
$ac_objext conftest
$ac_exeext
39503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39504 (eval $ac_link) 2>conftest.er1
39506 grep -v '^ *+' conftest.er1
>conftest.err
39508 cat conftest.err
>&5
39509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39510 (exit $ac_status); } &&
39511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39513 (eval $ac_try) 2>&5
39515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516 (exit $ac_status); }; } &&
39517 { ac_try
='test -s conftest$ac_exeext'
39518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39519 (eval $ac_try) 2>&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); }; }; then
39523 ac_cv_func_sched_get_priority_max
=yes
39525 echo "$as_me: failed program was:" >&5
39526 sed 's/^/| /' conftest.
$ac_ext >&5
39528 ac_cv_func_sched_get_priority_max
=no
39530 rm -f conftest.err conftest.
$ac_objext \
39531 conftest
$ac_exeext conftest.
$ac_ext
39533 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39534 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39535 if test $ac_cv_func_sched_get_priority_max = yes; then
39538 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39539 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39540 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39541 echo $ECHO_N "(cached) $ECHO_C" >&6
39543 ac_check_lib_save_LIBS
=$LIBS
39544 LIBS
="-lposix4 $LIBS"
39545 cat >conftest.
$ac_ext <<_ACEOF
39548 cat confdefs.h
>>conftest.
$ac_ext
39549 cat >>conftest.
$ac_ext <<_ACEOF
39550 /* end confdefs.h. */
39552 /* Override any gcc2 internal prototype to avoid an error. */
39556 /* We use char because int might match the return type of a gcc2
39557 builtin and then its argument prototype would still apply. */
39558 char sched_get_priority_max ();
39562 sched_get_priority_max ();
39567 rm -f conftest.
$ac_objext conftest
$ac_exeext
39568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39569 (eval $ac_link) 2>conftest.er1
39571 grep -v '^ *+' conftest.er1
>conftest.err
39573 cat conftest.err
>&5
39574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39575 (exit $ac_status); } &&
39576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39578 (eval $ac_try) 2>&5
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); }; } &&
39582 { ac_try
='test -s conftest$ac_exeext'
39583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39584 (eval $ac_try) 2>&5
39586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39587 (exit $ac_status); }; }; then
39588 ac_cv_lib_posix4_sched_get_priority_max
=yes
39590 echo "$as_me: failed program was:" >&5
39591 sed 's/^/| /' conftest.
$ac_ext >&5
39593 ac_cv_lib_posix4_sched_get_priority_max
=no
39595 rm -f conftest.err conftest.
$ac_objext \
39596 conftest
$ac_exeext conftest.
$ac_ext
39597 LIBS
=$ac_check_lib_save_LIBS
39599 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39600 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39601 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39604 POSIX4_LINK
=" -lposix4"
39618 if test "$HAVE_PRIOR_FUNCS" = 1; then
39619 cat >>confdefs.h
<<\_ACEOF
39620 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39624 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39625 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39628 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39629 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39630 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39631 echo $ECHO_N "(cached) $ECHO_C" >&6
39633 cat >conftest.
$ac_ext <<_ACEOF
39636 cat confdefs.h
>>conftest.
$ac_ext
39637 cat >>conftest.
$ac_ext <<_ACEOF
39638 /* end confdefs.h. */
39639 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39641 #define pthread_cancel innocuous_pthread_cancel
39643 /* System header to define __stub macros and hopefully few prototypes,
39644 which can conflict with char pthread_cancel (); below.
39645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39646 <limits.h> exists even on freestanding compilers. */
39649 # include <limits.h>
39651 # include <assert.h>
39654 #undef pthread_cancel
39656 /* Override any gcc2 internal prototype to avoid an error. */
39661 /* We use char because int might match the return type of a gcc2
39662 builtin and then its argument prototype would still apply. */
39663 char pthread_cancel ();
39664 /* The GNU C library defines this for functions which it implements
39665 to always fail with ENOSYS. Some functions are actually named
39666 something starting with __ and the normal name is an alias. */
39667 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39670 char (*f) () = pthread_cancel;
39679 return f != pthread_cancel;
39684 rm -f conftest.
$ac_objext conftest
$ac_exeext
39685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39686 (eval $ac_link) 2>conftest.er1
39688 grep -v '^ *+' conftest.er1
>conftest.err
39690 cat conftest.err
>&5
39691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39692 (exit $ac_status); } &&
39693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39695 (eval $ac_try) 2>&5
39697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39698 (exit $ac_status); }; } &&
39699 { ac_try
='test -s conftest$ac_exeext'
39700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39701 (eval $ac_try) 2>&5
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); }; }; then
39705 ac_cv_func_pthread_cancel
=yes
39707 echo "$as_me: failed program was:" >&5
39708 sed 's/^/| /' conftest.
$ac_ext >&5
39710 ac_cv_func_pthread_cancel
=no
39712 rm -f conftest.err conftest.
$ac_objext \
39713 conftest
$ac_exeext conftest.
$ac_ext
39715 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39716 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39717 if test $ac_cv_func_pthread_cancel = yes; then
39718 cat >>confdefs.h
<<\_ACEOF
39719 #define HAVE_PTHREAD_CANCEL 1
39723 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39724 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39728 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39729 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39730 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39733 cat >conftest.
$ac_ext <<_ACEOF
39736 cat confdefs.h
>>conftest.
$ac_ext
39737 cat >>conftest.
$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39741 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39743 /* System header to define __stub macros and hopefully few prototypes,
39744 which can conflict with char pthread_attr_setstacksize (); below.
39745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39746 <limits.h> exists even on freestanding compilers. */
39749 # include <limits.h>
39751 # include <assert.h>
39754 #undef pthread_attr_setstacksize
39756 /* Override any gcc2 internal prototype to avoid an error. */
39761 /* We use char because int might match the return type of a gcc2
39762 builtin and then its argument prototype would still apply. */
39763 char pthread_attr_setstacksize ();
39764 /* The GNU C library defines this for functions which it implements
39765 to always fail with ENOSYS. Some functions are actually named
39766 something starting with __ and the normal name is an alias. */
39767 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39770 char (*f) () = pthread_attr_setstacksize;
39779 return f != pthread_attr_setstacksize;
39784 rm -f conftest.
$ac_objext conftest
$ac_exeext
39785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39786 (eval $ac_link) 2>conftest.er1
39788 grep -v '^ *+' conftest.er1
>conftest.err
39790 cat conftest.err
>&5
39791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39792 (exit $ac_status); } &&
39793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39795 (eval $ac_try) 2>&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); }; } &&
39799 { ac_try
='test -s conftest$ac_exeext'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; }; then
39805 ac_cv_func_pthread_attr_setstacksize
=yes
39807 echo "$as_me: failed program was:" >&5
39808 sed 's/^/| /' conftest.
$ac_ext >&5
39810 ac_cv_func_pthread_attr_setstacksize
=no
39812 rm -f conftest.err conftest.
$ac_objext \
39813 conftest
$ac_exeext conftest.
$ac_ext
39815 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39816 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39817 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39818 cat >>confdefs.h
<<\_ACEOF
39819 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39826 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39827 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39828 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39829 echo $ECHO_N "(cached) $ECHO_C" >&6
39832 cat >conftest.
$ac_ext <<_ACEOF
39835 cat confdefs.h
>>conftest.
$ac_ext
39836 cat >>conftest.
$ac_ext <<_ACEOF
39837 /* end confdefs.h. */
39838 #include <pthread.h>
39843 pthread_mutexattr_t attr;
39844 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39850 rm -f conftest.
$ac_objext
39851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39852 (eval $ac_compile) 2>conftest.er1
39854 grep -v '^ *+' conftest.er1
>conftest.err
39856 cat conftest.err
>&5
39857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39858 (exit $ac_status); } &&
39859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39861 (eval $ac_try) 2>&5
39863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39864 (exit $ac_status); }; } &&
39865 { ac_try
='test -s conftest.$ac_objext'
39866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39867 (eval $ac_try) 2>&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); }; }; then
39871 wx_cv_type_pthread_mutexattr_t
=yes
39873 echo "$as_me: failed program was:" >&5
39874 sed 's/^/| /' conftest.
$ac_ext >&5
39876 wx_cv_type_pthread_mutexattr_t
=no
39879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39882 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39883 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39885 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39886 cat >>confdefs.h
<<\_ACEOF
39887 #define HAVE_PTHREAD_MUTEXATTR_T 1
39891 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39892 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39893 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39894 echo $ECHO_N "(cached) $ECHO_C" >&6
39897 cat >conftest.
$ac_ext <<_ACEOF
39900 cat confdefs.h
>>conftest.
$ac_ext
39901 cat >>conftest.
$ac_ext <<_ACEOF
39902 /* end confdefs.h. */
39903 #include <pthread.h>
39908 pthread_mutexattr_t attr;
39909 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39915 rm -f conftest.
$ac_objext
39916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39917 (eval $ac_compile) 2>conftest.er1
39919 grep -v '^ *+' conftest.er1
>conftest.err
39921 cat conftest.err
>&5
39922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39923 (exit $ac_status); } &&
39924 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39926 (eval $ac_try) 2>&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); }; } &&
39930 { ac_try
='test -s conftest.$ac_objext'
39931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39932 (eval $ac_try) 2>&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); }; }; then
39936 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39938 echo "$as_me: failed program was:" >&5
39939 sed 's/^/| /' conftest.
$ac_ext >&5
39941 wx_cv_func_pthread_mutexattr_settype_decl
=no
39944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39947 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39948 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39949 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39950 cat >>confdefs.h
<<\_ACEOF
39951 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39956 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39957 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39958 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39959 echo $ECHO_N "(cached) $ECHO_C" >&6
39962 cat >conftest.
$ac_ext <<_ACEOF
39965 cat confdefs.h
>>conftest.
$ac_ext
39966 cat >>conftest.
$ac_ext <<_ACEOF
39967 /* end confdefs.h. */
39968 #include <pthread.h>
39973 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39979 rm -f conftest.
$ac_objext
39980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39981 (eval $ac_compile) 2>conftest.er1
39983 grep -v '^ *+' conftest.er1
>conftest.err
39985 cat conftest.err
>&5
39986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39987 (exit $ac_status); } &&
39988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39990 (eval $ac_try) 2>&5
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); }; } &&
39994 { ac_try
='test -s conftest.$ac_objext'
39995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39996 (eval $ac_try) 2>&5
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); }; }; then
40001 wx_cv_type_pthread_rec_mutex_init
=yes
40004 echo "$as_me: failed program was:" >&5
40005 sed 's/^/| /' conftest.
$ac_ext >&5
40008 wx_cv_type_pthread_rec_mutex_init
=no
40012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40015 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40016 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40017 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40018 cat >>confdefs.h
<<\_ACEOF
40019 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40023 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40024 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40030 if test "$wxUSE_THREADS" = "yes" ; then
40033 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40034 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40035 if test "${wx_cv_cflags_mthread+set}" = set; then
40036 echo $ECHO_N "(cached) $ECHO_C" >&6
40039 CXXFLAGS_OLD
="$CXXFLAGS"
40040 CXXFLAGS
="-mthreads $CXXFLAGS"
40041 cat >conftest.
$ac_ext <<_ACEOF
40044 cat confdefs.h
>>conftest.
$ac_ext
40045 cat >>conftest.
$ac_ext <<_ACEOF
40046 /* end confdefs.h. */
40056 rm -f conftest.
$ac_objext
40057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40058 (eval $ac_compile) 2>conftest.er1
40060 grep -v '^ *+' conftest.er1
>conftest.err
40062 cat conftest.err
>&5
40063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40064 (exit $ac_status); } &&
40065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40067 (eval $ac_try) 2>&5
40069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070 (exit $ac_status); }; } &&
40071 { ac_try
='test -s conftest.$ac_objext'
40072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40073 (eval $ac_try) 2>&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); }; }; then
40077 wx_cv_cflags_mthread
=yes
40079 echo "$as_me: failed program was:" >&5
40080 sed 's/^/| /' conftest.
$ac_ext >&5
40082 wx_cv_cflags_mthread
=no
40085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40089 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40090 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40092 if test "$wx_cv_cflags_mthread" = "yes"; then
40093 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40094 LDFLAGS
="$LDFLAGS -mthreads"
40096 CXXFLAGS
="$CXXFLAGS_OLD"
40100 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40101 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40102 LDFLAGS
="$LDFLAGS -Zmt"
40108 echo "$as_me:$LINENO: checking for localtime_r" >&5
40109 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40110 if test "${ac_cv_func_localtime_r+set}" = set; then
40111 echo $ECHO_N "(cached) $ECHO_C" >&6
40113 cat >conftest.
$ac_ext <<_ACEOF
40116 cat confdefs.h
>>conftest.
$ac_ext
40117 cat >>conftest.
$ac_ext <<_ACEOF
40118 /* end confdefs.h. */
40119 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40121 #define localtime_r innocuous_localtime_r
40123 /* System header to define __stub macros and hopefully few prototypes,
40124 which can conflict with char localtime_r (); below.
40125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40126 <limits.h> exists even on freestanding compilers. */
40129 # include <limits.h>
40131 # include <assert.h>
40136 /* Override any gcc2 internal prototype to avoid an error. */
40141 /* We use char because int might match the return type of a gcc2
40142 builtin and then its argument prototype would still apply. */
40143 char localtime_r ();
40144 /* The GNU C library defines this for functions which it implements
40145 to always fail with ENOSYS. Some functions are actually named
40146 something starting with __ and the normal name is an alias. */
40147 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40150 char (*f) () = localtime_r;
40159 return f != localtime_r;
40164 rm -f conftest.
$ac_objext conftest
$ac_exeext
40165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40166 (eval $ac_link) 2>conftest.er1
40168 grep -v '^ *+' conftest.er1
>conftest.err
40170 cat conftest.err
>&5
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); } &&
40173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40175 (eval $ac_try) 2>&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); }; } &&
40179 { ac_try
='test -s conftest$ac_exeext'
40180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40181 (eval $ac_try) 2>&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); }; }; then
40185 ac_cv_func_localtime_r
=yes
40187 echo "$as_me: failed program was:" >&5
40188 sed 's/^/| /' conftest.
$ac_ext >&5
40190 ac_cv_func_localtime_r
=no
40192 rm -f conftest.err conftest.
$ac_objext \
40193 conftest
$ac_exeext conftest.
$ac_ext
40195 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40196 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40197 if test $ac_cv_func_localtime_r = yes; then
40198 cat >>confdefs.h
<<\_ACEOF
40199 #define HAVE_LOCALTIME_R 1
40204 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40205 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40206 if test "${ac_cv_func_gmtime_r+set}" = set; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40209 cat >conftest.
$ac_ext <<_ACEOF
40212 cat confdefs.h
>>conftest.
$ac_ext
40213 cat >>conftest.
$ac_ext <<_ACEOF
40214 /* end confdefs.h. */
40215 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40217 #define gmtime_r innocuous_gmtime_r
40219 /* System header to define __stub macros and hopefully few prototypes,
40220 which can conflict with char gmtime_r (); below.
40221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40222 <limits.h> exists even on freestanding compilers. */
40225 # include <limits.h>
40227 # include <assert.h>
40232 /* Override any gcc2 internal prototype to avoid an error. */
40237 /* We use char because int might match the return type of a gcc2
40238 builtin and then its argument prototype would still apply. */
40240 /* The GNU C library defines this for functions which it implements
40241 to always fail with ENOSYS. Some functions are actually named
40242 something starting with __ and the normal name is an alias. */
40243 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40246 char (*f) () = gmtime_r;
40255 return f != gmtime_r;
40260 rm -f conftest.
$ac_objext conftest
$ac_exeext
40261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40262 (eval $ac_link) 2>conftest.er1
40264 grep -v '^ *+' conftest.er1
>conftest.err
40266 cat conftest.err
>&5
40267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268 (exit $ac_status); } &&
40269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40271 (eval $ac_try) 2>&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); }; } &&
40275 { ac_try
='test -s conftest$ac_exeext'
40276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40277 (eval $ac_try) 2>&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); }; }; then
40281 ac_cv_func_gmtime_r
=yes
40283 echo "$as_me: failed program was:" >&5
40284 sed 's/^/| /' conftest.
$ac_ext >&5
40286 ac_cv_func_gmtime_r
=no
40288 rm -f conftest.err conftest.
$ac_objext \
40289 conftest
$ac_exeext conftest.
$ac_ext
40291 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40292 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40293 if test $ac_cv_func_gmtime_r = yes; then
40294 cat >>confdefs.h
<<\_ACEOF
40295 #define HAVE_GMTIME_R 1
40300 echo "$as_me:$LINENO: checking for readdir_r" >&5
40301 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40302 if test "${ac_cv_func_readdir_r+set}" = set; then
40303 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 cat >conftest.
$ac_ext <<_ACEOF
40308 cat confdefs.h
>>conftest.
$ac_ext
40309 cat >>conftest.
$ac_ext <<_ACEOF
40310 /* end confdefs.h. */
40311 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40313 #define readdir_r innocuous_readdir_r
40315 /* System header to define __stub macros and hopefully few prototypes,
40316 which can conflict with char readdir_r (); below.
40317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40318 <limits.h> exists even on freestanding compilers. */
40321 # include <limits.h>
40323 # include <assert.h>
40328 /* Override any gcc2 internal prototype to avoid an error. */
40333 /* We use char because int might match the return type of a gcc2
40334 builtin and then its argument prototype would still apply. */
40336 /* The GNU C library defines this for functions which it implements
40337 to always fail with ENOSYS. Some functions are actually named
40338 something starting with __ and the normal name is an alias. */
40339 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40342 char (*f) () = readdir_r;
40351 return f != readdir_r;
40356 rm -f conftest.
$ac_objext conftest
$ac_exeext
40357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40358 (eval $ac_link) 2>conftest.er1
40360 grep -v '^ *+' conftest.er1
>conftest.err
40362 cat conftest.err
>&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } &&
40365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40367 (eval $ac_try) 2>&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); }; } &&
40371 { ac_try
='test -s conftest$ac_exeext'
40372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40373 (eval $ac_try) 2>&5
40375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40376 (exit $ac_status); }; }; then
40377 ac_cv_func_readdir_r
=yes
40379 echo "$as_me: failed program was:" >&5
40380 sed 's/^/| /' conftest.
$ac_ext >&5
40382 ac_cv_func_readdir_r
=no
40384 rm -f conftest.err conftest.
$ac_objext \
40385 conftest
$ac_exeext conftest.
$ac_ext
40387 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40388 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40389 if test $ac_cv_func_readdir_r = yes; then
40390 cat >>confdefs.h
<<\_ACEOF
40391 #define HAVE_READDIR_R 1
40400 ac_cpp
='$CPP $CPPFLAGS'
40401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40405 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40406 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40408 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40409 echo $ECHO_N "(cached) $ECHO_C" >&6
40413 ################################################################
40415 ac_cv_func_which_gethostbyname_r
=unknown
40418 # ONE ARGUMENT (sanity check)
40421 # This should fail, as there is no variant of gethostbyname_r() that takes
40422 # a single argument. If it actually compiles, then we can assume that
40423 # netdb.h is not declaring the function, and the compiler is thereby
40424 # assuming an implicit prototype. In which case, we're out of luck.
40426 cat >conftest.
$ac_ext <<_ACEOF
40429 cat confdefs.h
>>conftest.
$ac_ext
40430 cat >>conftest.
$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40437 char *name = "www.gnu.org";
40438 (void)gethostbyname_r(name) /* ; */
40444 rm -f conftest.
$ac_objext
40445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40446 (eval $ac_compile) 2>conftest.er1
40448 grep -v '^ *+' conftest.er1
>conftest.err
40450 cat conftest.err
>&5
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); } &&
40453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40455 (eval $ac_try) 2>&5
40457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40458 (exit $ac_status); }; } &&
40459 { ac_try
='test -s conftest.$ac_objext'
40460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40461 (eval $ac_try) 2>&5
40463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40464 (exit $ac_status); }; }; then
40465 ac_cv_func_which_gethostbyname_r
=no
40467 echo "$as_me: failed program was:" >&5
40468 sed 's/^/| /' conftest.
$ac_ext >&5
40471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40478 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40480 cat >conftest.
$ac_ext <<_ACEOF
40483 cat confdefs.h
>>conftest.
$ac_ext
40484 cat >>conftest.
$ac_ext <<_ACEOF
40485 /* end confdefs.h. */
40491 char *name = "www.gnu.org";
40492 struct hostent ret, *retp;
40496 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40502 rm -f conftest.
$ac_objext
40503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40504 (eval $ac_compile) 2>conftest.er1
40506 grep -v '^ *+' conftest.er1
>conftest.err
40508 cat conftest.err
>&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); } &&
40511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40513 (eval $ac_try) 2>&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); }; } &&
40517 { ac_try
='test -s conftest.$ac_objext'
40518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40519 (eval $ac_try) 2>&5
40521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40522 (exit $ac_status); }; }; then
40523 ac_cv_func_which_gethostbyname_r
=six
40525 echo "$as_me: failed program was:" >&5
40526 sed 's/^/| /' conftest.
$ac_ext >&5
40529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40538 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40540 cat >conftest.
$ac_ext <<_ACEOF
40543 cat confdefs.h
>>conftest.
$ac_ext
40544 cat >>conftest.
$ac_ext <<_ACEOF
40545 /* end confdefs.h. */
40551 char *name = "www.gnu.org";
40552 struct hostent ret;
40556 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40562 rm -f conftest.
$ac_objext
40563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40564 (eval $ac_compile) 2>conftest.er1
40566 grep -v '^ *+' conftest.er1
>conftest.err
40568 cat conftest.err
>&5
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); } &&
40571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40573 (eval $ac_try) 2>&5
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); }; } &&
40577 { ac_try
='test -s conftest.$ac_objext'
40578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40579 (eval $ac_try) 2>&5
40581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40582 (exit $ac_status); }; }; then
40583 ac_cv_func_which_gethostbyname_r
=five
40585 echo "$as_me: failed program was:" >&5
40586 sed 's/^/| /' conftest.
$ac_ext >&5
40589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40595 # (e.g. AIX, HP-UX, Tru64)
40598 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40600 cat >conftest.
$ac_ext <<_ACEOF
40603 cat confdefs.h
>>conftest.
$ac_ext
40604 cat >>conftest.
$ac_ext <<_ACEOF
40605 /* end confdefs.h. */
40611 char *name = "www.gnu.org";
40612 struct hostent ret;
40613 struct hostent_data data;
40614 (void)gethostbyname_r(name, &ret, &data) /* ; */
40620 rm -f conftest.
$ac_objext
40621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40622 (eval $ac_compile) 2>conftest.er1
40624 grep -v '^ *+' conftest.er1
>conftest.err
40626 cat conftest.err
>&5
40627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40628 (exit $ac_status); } &&
40629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40631 (eval $ac_try) 2>&5
40633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40634 (exit $ac_status); }; } &&
40635 { ac_try
='test -s conftest.$ac_objext'
40636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40637 (eval $ac_try) 2>&5
40639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40640 (exit $ac_status); }; }; then
40641 ac_cv_func_which_gethostbyname_r
=three
40643 echo "$as_me: failed program was:" >&5
40644 sed 's/^/| /' conftest.
$ac_ext >&5
40647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40651 ################################################################
40656 case "$ac_cv_func_which_gethostbyname_r" in
40658 echo "$as_me:$LINENO: result: three" >&5
40659 echo "${ECHO_T}three" >&6
40660 cat >>confdefs.h
<<\_ACEOF
40661 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40667 echo "$as_me:$LINENO: result: five" >&5
40668 echo "${ECHO_T}five" >&6
40669 cat >>confdefs.h
<<\_ACEOF
40670 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40676 echo "$as_me:$LINENO: result: six" >&5
40677 echo "${ECHO_T}six" >&6
40678 cat >>confdefs.h
<<\_ACEOF
40679 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40685 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40686 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40690 echo "$as_me:$LINENO: result: can't tell" >&5
40691 echo "${ECHO_T}can't tell" >&6
40695 { { echo "$as_me:$LINENO: error: internal error" >&5
40696 echo "$as_me: error: internal error" >&2;}
40697 { (exit 1); exit 1; }; }
40702 ac_cpp
='$CXXCPP $CPPFLAGS'
40703 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40709 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40710 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40711 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40712 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40713 if test "${ac_cv_func_gethostbyname+set}" = set; then
40714 echo $ECHO_N "(cached) $ECHO_C" >&6
40716 cat >conftest.
$ac_ext <<_ACEOF
40719 cat confdefs.h
>>conftest.
$ac_ext
40720 cat >>conftest.
$ac_ext <<_ACEOF
40721 /* end confdefs.h. */
40722 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40724 #define gethostbyname innocuous_gethostbyname
40726 /* System header to define __stub macros and hopefully few prototypes,
40727 which can conflict with char gethostbyname (); below.
40728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40729 <limits.h> exists even on freestanding compilers. */
40732 # include <limits.h>
40734 # include <assert.h>
40737 #undef gethostbyname
40739 /* Override any gcc2 internal prototype to avoid an error. */
40744 /* We use char because int might match the return type of a gcc2
40745 builtin and then its argument prototype would still apply. */
40746 char gethostbyname ();
40747 /* The GNU C library defines this for functions which it implements
40748 to always fail with ENOSYS. Some functions are actually named
40749 something starting with __ and the normal name is an alias. */
40750 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40753 char (*f) () = gethostbyname;
40762 return f != gethostbyname;
40767 rm -f conftest.
$ac_objext conftest
$ac_exeext
40768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40769 (eval $ac_link) 2>conftest.er1
40771 grep -v '^ *+' conftest.er1
>conftest.err
40773 cat conftest.err
>&5
40774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40775 (exit $ac_status); } &&
40776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778 (eval $ac_try) 2>&5
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); }; } &&
40782 { ac_try
='test -s conftest$ac_exeext'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; }; then
40788 ac_cv_func_gethostbyname
=yes
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.
$ac_ext >&5
40793 ac_cv_func_gethostbyname
=no
40795 rm -f conftest.err conftest.
$ac_objext \
40796 conftest
$ac_exeext conftest.
$ac_ext
40798 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40799 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40800 if test $ac_cv_func_gethostbyname = yes; then
40801 cat >>confdefs.h
<<\_ACEOF
40802 #define HAVE_GETHOSTBYNAME 1
40809 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40810 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
40811 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40812 echo $ECHO_N "(cached) $ECHO_C" >&6
40815 cat >conftest.
$ac_ext <<_ACEOF
40818 cat confdefs.h
>>conftest.
$ac_ext
40819 cat >>conftest.
$ac_ext <<_ACEOF
40820 /* end confdefs.h. */
40828 struct servent *se, *res;
40831 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40837 rm -f conftest.
$ac_objext
40838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40839 (eval $ac_compile) 2>conftest.er1
40841 grep -v '^ *+' conftest.er1
>conftest.err
40843 cat conftest.err
>&5
40844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40845 (exit $ac_status); } &&
40846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40848 (eval $ac_try) 2>&5
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); }; } &&
40852 { ac_try
='test -s conftest.$ac_objext'
40853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40854 (eval $ac_try) 2>&5
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); }; }; then
40858 ac_cv_func_which_getservbyname_r
=six
40860 echo "$as_me: failed program was:" >&5
40861 sed 's/^/| /' conftest.
$ac_ext >&5
40864 cat >conftest.
$ac_ext <<_ACEOF
40867 cat confdefs.h
>>conftest.
$ac_ext
40868 cat >>conftest.
$ac_ext <<_ACEOF
40869 /* end confdefs.h. */
40877 struct servent *se;
40880 (void) getservbyname_r(name, proto, se, buffer, buflen)
40886 rm -f conftest.
$ac_objext
40887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40888 (eval $ac_compile) 2>conftest.er1
40890 grep -v '^ *+' conftest.er1
>conftest.err
40892 cat conftest.err
>&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } &&
40895 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40897 (eval $ac_try) 2>&5
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); }; } &&
40901 { ac_try
='test -s conftest.$ac_objext'
40902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40903 (eval $ac_try) 2>&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); }; }; then
40907 ac_cv_func_which_getservbyname_r
=five
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.
$ac_ext >&5
40913 cat >conftest.
$ac_ext <<_ACEOF
40916 cat confdefs.h
>>conftest.
$ac_ext
40917 cat >>conftest.
$ac_ext <<_ACEOF
40918 /* end confdefs.h. */
40926 struct servent *se;
40927 struct servent_data data;
40928 (void) getservbyname_r(name, proto, se, &data);
40934 rm -f conftest.
$ac_objext
40935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40936 (eval $ac_compile) 2>conftest.er1
40938 grep -v '^ *+' conftest.er1
>conftest.err
40940 cat conftest.err
>&5
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); } &&
40943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40945 (eval $ac_try) 2>&5
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); }; } &&
40949 { ac_try
='test -s conftest.$ac_objext'
40950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40951 (eval $ac_try) 2>&5
40953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40954 (exit $ac_status); }; }; then
40955 ac_cv_func_which_getservbyname_r
=four
40957 echo "$as_me: failed program was:" >&5
40958 sed 's/^/| /' conftest.
$ac_ext >&5
40960 ac_cv_func_which_getservbyname_r
=no
40963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40975 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40976 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
40978 if test $ac_cv_func_which_getservbyname_r = six
; then
40979 cat >>confdefs.h
<<\_ACEOF
40980 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40983 elif test $ac_cv_func_which_getservbyname_r = five
; then
40984 cat >>confdefs.h
<<\_ACEOF
40985 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40988 elif test $ac_cv_func_which_getservbyname_r = four
; then
40989 cat >>confdefs.h
<<\_ACEOF
40990 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40996 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40997 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40999 for ac_func
in getservbyname
41001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41002 echo "$as_me:$LINENO: checking for $ac_func" >&5
41003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41004 if eval "test \"\${$as_ac_var+set}\" = set"; then
41005 echo $ECHO_N "(cached) $ECHO_C" >&6
41007 cat >conftest.
$ac_ext <<_ACEOF
41010 cat confdefs.h
>>conftest.
$ac_ext
41011 cat >>conftest.
$ac_ext <<_ACEOF
41012 /* end confdefs.h. */
41013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41015 #define $ac_func innocuous_$ac_func
41017 /* System header to define __stub macros and hopefully few prototypes,
41018 which can conflict with char $ac_func (); below.
41019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41020 <limits.h> exists even on freestanding compilers. */
41023 # include <limits.h>
41025 # include <assert.h>
41030 /* Override any gcc2 internal prototype to avoid an error. */
41035 /* We use char because int might match the return type of a gcc2
41036 builtin and then its argument prototype would still apply. */
41038 /* The GNU C library defines this for functions which it implements
41039 to always fail with ENOSYS. Some functions are actually named
41040 something starting with __ and the normal name is an alias. */
41041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41044 char (*f) () = $ac_func;
41053 return f != $ac_func;
41058 rm -f conftest.
$ac_objext conftest
$ac_exeext
41059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41060 (eval $ac_link) 2>conftest.er1
41062 grep -v '^ *+' conftest.er1
>conftest.err
41064 cat conftest.err
>&5
41065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41066 (exit $ac_status); } &&
41067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41069 (eval $ac_try) 2>&5
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); }; } &&
41073 { ac_try
='test -s conftest$ac_exeext'
41074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41075 (eval $ac_try) 2>&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); }; }; then
41079 eval "$as_ac_var=yes"
41081 echo "$as_me: failed program was:" >&5
41082 sed 's/^/| /' conftest.
$ac_ext >&5
41084 eval "$as_ac_var=no"
41086 rm -f conftest.err conftest.
$ac_objext \
41087 conftest
$ac_exeext conftest.
$ac_ext
41089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41091 if test `eval echo '${'$as_ac_var'}'` = yes; then
41092 cat >>confdefs.h
<<_ACEOF
41093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41095 cat >>confdefs.h
<<\_ACEOF
41096 #define HAVE_GETSERVBYNAME 1
41104 if test "$wxUSE_THREADS" = "yes"; then
41105 cat >>confdefs.h
<<\_ACEOF
41106 #define wxUSE_THREADS 1
41110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41112 if test "$wx_cv_func_strtok_r" = "yes"; then
41113 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41114 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41115 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41116 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41117 echo "$as_me:$LINENO: result: yes" >&5
41118 echo "${ECHO_T}yes" >&6
41120 echo "$as_me:$LINENO: result: no" >&5
41121 echo "${ECHO_T}no" >&6
41126 if test "$WXGTK20" = 1 ; then
41127 cat >>confdefs.h
<<_ACEOF
41128 #define __WXGTK20__ $WXGTK20
41134 if test "$WXGTK12" = 1 ; then
41135 cat >>confdefs.h
<<_ACEOF
41136 #define __WXGTK12__ $WXGTK12
41141 if test "$WXGTK127" = 1 ; then
41142 cat >>confdefs.h
<<_ACEOF
41143 #define __WXGTK127__ $WXGTK127
41148 if test "$WXGPE" = 1 ; then
41149 cat >>confdefs.h
<<_ACEOF
41150 #define __WXGPE__ $WXGPE
41156 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41161 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41162 wxUSE_DEBUG_INFO
=yes
41163 if test "$GCC" = yes; then
41164 DEBUG_CFLAGS
="-ggdb"
41168 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41169 cat >>confdefs.h
<<\_ACEOF
41173 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41175 if test "$wxUSE_GTK" = 1 ; then
41176 if test "x$wxGTK_VERSION" = "x1" ; then
41177 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41182 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41183 cat >>confdefs.h
<<\_ACEOF
41184 #define wxUSE_MEMORY_TRACING 1
41187 cat >>confdefs.h
<<\_ACEOF
41188 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41191 cat >>confdefs.h
<<\_ACEOF
41192 #define wxUSE_DEBUG_NEW_ALWAYS 1
41195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41198 if test "$wxUSE_DMALLOC" = "yes" ; then
41199 DMALLOC_LIBS
="-ldmallocthcxx"
41203 if test "$wxUSE_PROFILE" = "yes" ; then
41204 PROFILE_FLAGS
=" -pg"
41207 if test "$GCC" = "yes" ; then
41208 if test "$wxUSE_NO_RTTI" = "yes" ; then
41209 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41211 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41212 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41214 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41215 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41220 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41223 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41229 if test "$wxUSE_OPTIMISE" = "no" ; then
41230 if test "$GCC" = yes ; then
41231 OPTIMISE_CFLAGS
="-O0"
41234 if test "$GCC" = yes ; then
41236 *-pc-os2_emx | *-pc-os2-emx )
41237 OPTIMISE_CFLAGS
="-O2"
41240 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41244 OPTIMISE_CFLAGS
="-O"
41249 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41250 cat >>confdefs.h
<<\_ACEOF
41251 #define WXWIN_COMPATIBILITY_2_4 1
41255 WXWIN_COMPATIBILITY_2_6
="yes"
41258 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41259 cat >>confdefs.h
<<\_ACEOF
41260 #define WXWIN_COMPATIBILITY_2_6 1
41266 if test "$wxUSE_GUI" = "yes"; then
41267 cat >>confdefs.h
<<\_ACEOF
41268 #define wxUSE_GUI 1
41275 if test "$wxUSE_UNIX" = "yes"; then
41276 cat >>confdefs.h
<<\_ACEOF
41277 #define wxUSE_UNIX 1
41283 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41287 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41288 if test "$USE_DARWIN" = 1; then
41290 elif test "$USE_DOS" = 1; then
41294 for ac_func
in dlopen
41296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41297 echo "$as_me:$LINENO: checking for $ac_func" >&5
41298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41299 if eval "test \"\${$as_ac_var+set}\" = set"; then
41300 echo $ECHO_N "(cached) $ECHO_C" >&6
41302 cat >conftest.
$ac_ext <<_ACEOF
41305 cat confdefs.h
>>conftest.
$ac_ext
41306 cat >>conftest.
$ac_ext <<_ACEOF
41307 /* end confdefs.h. */
41308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41310 #define $ac_func innocuous_$ac_func
41312 /* System header to define __stub macros and hopefully few prototypes,
41313 which can conflict with char $ac_func (); below.
41314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41315 <limits.h> exists even on freestanding compilers. */
41318 # include <limits.h>
41320 # include <assert.h>
41325 /* Override any gcc2 internal prototype to avoid an error. */
41330 /* We use char because int might match the return type of a gcc2
41331 builtin and then its argument prototype would still apply. */
41333 /* The GNU C library defines this for functions which it implements
41334 to always fail with ENOSYS. Some functions are actually named
41335 something starting with __ and the normal name is an alias. */
41336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41339 char (*f) () = $ac_func;
41348 return f != $ac_func;
41353 rm -f conftest.
$ac_objext conftest
$ac_exeext
41354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41355 (eval $ac_link) 2>conftest.er1
41357 grep -v '^ *+' conftest.er1
>conftest.err
41359 cat conftest.err
>&5
41360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41361 (exit $ac_status); } &&
41362 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41364 (eval $ac_try) 2>&5
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); }; } &&
41368 { ac_try
='test -s conftest$ac_exeext'
41369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41370 (eval $ac_try) 2>&5
41372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373 (exit $ac_status); }; }; then
41374 eval "$as_ac_var=yes"
41376 echo "$as_me: failed program was:" >&5
41377 sed 's/^/| /' conftest.
$ac_ext >&5
41379 eval "$as_ac_var=no"
41381 rm -f conftest.err conftest.
$ac_objext \
41382 conftest
$ac_exeext conftest.
$ac_ext
41384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41386 if test `eval echo '${'$as_ac_var'}'` = yes; then
41387 cat >>confdefs.h
<<_ACEOF
41388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41391 cat >>confdefs.h
<<\_ACEOF
41392 #define HAVE_DLOPEN 1
41399 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41400 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41401 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41402 echo $ECHO_N "(cached) $ECHO_C" >&6
41404 ac_check_lib_save_LIBS
=$LIBS
41406 cat >conftest.
$ac_ext <<_ACEOF
41409 cat confdefs.h
>>conftest.
$ac_ext
41410 cat >>conftest.
$ac_ext <<_ACEOF
41411 /* end confdefs.h. */
41413 /* Override any gcc2 internal prototype to avoid an error. */
41417 /* We use char because int might match the return type of a gcc2
41418 builtin and then its argument prototype would still apply. */
41428 rm -f conftest.
$ac_objext conftest
$ac_exeext
41429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41430 (eval $ac_link) 2>conftest.er1
41432 grep -v '^ *+' conftest.er1
>conftest.err
41434 cat conftest.err
>&5
41435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436 (exit $ac_status); } &&
41437 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41439 (eval $ac_try) 2>&5
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); }; } &&
41443 { ac_try
='test -s conftest$ac_exeext'
41444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41445 (eval $ac_try) 2>&5
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); }; }; then
41449 ac_cv_lib_dl_dlopen
=yes
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.
$ac_ext >&5
41454 ac_cv_lib_dl_dlopen
=no
41456 rm -f conftest.err conftest.
$ac_objext \
41457 conftest
$ac_exeext conftest.
$ac_ext
41458 LIBS
=$ac_check_lib_save_LIBS
41460 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41461 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41462 if test $ac_cv_lib_dl_dlopen = yes; then
41464 cat >>confdefs.h
<<\_ACEOF
41465 #define HAVE_DLOPEN 1
41469 DL_LINK
=" -ldl$DL_LINK"
41474 for ac_func
in shl_load
41476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41477 echo "$as_me:$LINENO: checking for $ac_func" >&5
41478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41479 if eval "test \"\${$as_ac_var+set}\" = set"; then
41480 echo $ECHO_N "(cached) $ECHO_C" >&6
41482 cat >conftest.
$ac_ext <<_ACEOF
41485 cat confdefs.h
>>conftest.
$ac_ext
41486 cat >>conftest.
$ac_ext <<_ACEOF
41487 /* end confdefs.h. */
41488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41490 #define $ac_func innocuous_$ac_func
41492 /* System header to define __stub macros and hopefully few prototypes,
41493 which can conflict with char $ac_func (); below.
41494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41495 <limits.h> exists even on freestanding compilers. */
41498 # include <limits.h>
41500 # include <assert.h>
41505 /* Override any gcc2 internal prototype to avoid an error. */
41510 /* We use char because int might match the return type of a gcc2
41511 builtin and then its argument prototype would still apply. */
41513 /* The GNU C library defines this for functions which it implements
41514 to always fail with ENOSYS. Some functions are actually named
41515 something starting with __ and the normal name is an alias. */
41516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41519 char (*f) () = $ac_func;
41528 return f != $ac_func;
41533 rm -f conftest.
$ac_objext conftest
$ac_exeext
41534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41535 (eval $ac_link) 2>conftest.er1
41537 grep -v '^ *+' conftest.er1
>conftest.err
41539 cat conftest.err
>&5
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); } &&
41542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41544 (eval $ac_try) 2>&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); }; } &&
41548 { ac_try
='test -s conftest$ac_exeext'
41549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41550 (eval $ac_try) 2>&5
41552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553 (exit $ac_status); }; }; then
41554 eval "$as_ac_var=yes"
41556 echo "$as_me: failed program was:" >&5
41557 sed 's/^/| /' conftest.
$ac_ext >&5
41559 eval "$as_ac_var=no"
41561 rm -f conftest.err conftest.
$ac_objext \
41562 conftest
$ac_exeext conftest.
$ac_ext
41564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41566 if test `eval echo '${'$as_ac_var'}'` = yes; then
41567 cat >>confdefs.h
<<_ACEOF
41568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41571 cat >>confdefs.h
<<\_ACEOF
41572 #define HAVE_SHL_LOAD 1
41579 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41580 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41581 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41582 echo $ECHO_N "(cached) $ECHO_C" >&6
41584 ac_check_lib_save_LIBS
=$LIBS
41585 LIBS
="-lshl_load $LIBS"
41586 cat >conftest.
$ac_ext <<_ACEOF
41589 cat confdefs.h
>>conftest.
$ac_ext
41590 cat >>conftest.
$ac_ext <<_ACEOF
41591 /* end confdefs.h. */
41593 /* Override any gcc2 internal prototype to avoid an error. */
41597 /* We use char because int might match the return type of a gcc2
41598 builtin and then its argument prototype would still apply. */
41608 rm -f conftest.
$ac_objext conftest
$ac_exeext
41609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41610 (eval $ac_link) 2>conftest.er1
41612 grep -v '^ *+' conftest.er1
>conftest.err
41614 cat conftest.err
>&5
41615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41616 (exit $ac_status); } &&
41617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41619 (eval $ac_try) 2>&5
41621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41622 (exit $ac_status); }; } &&
41623 { ac_try
='test -s conftest$ac_exeext'
41624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41625 (eval $ac_try) 2>&5
41627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41628 (exit $ac_status); }; }; then
41629 ac_cv_lib_shl_load_dld
=yes
41631 echo "$as_me: failed program was:" >&5
41632 sed 's/^/| /' conftest.
$ac_ext >&5
41634 ac_cv_lib_shl_load_dld
=no
41636 rm -f conftest.err conftest.
$ac_objext \
41637 conftest
$ac_exeext conftest.
$ac_ext
41638 LIBS
=$ac_check_lib_save_LIBS
41640 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41641 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41642 if test $ac_cv_lib_shl_load_dld = yes; then
41645 DL_LINK
=" -ldld$DL_LINK"
41661 if test "$HAVE_DL_FUNCS" = 1; then
41663 for ac_func
in dlerror
41665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41666 echo "$as_me:$LINENO: checking for $ac_func" >&5
41667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41668 if eval "test \"\${$as_ac_var+set}\" = set"; then
41669 echo $ECHO_N "(cached) $ECHO_C" >&6
41671 cat >conftest.
$ac_ext <<_ACEOF
41674 cat confdefs.h
>>conftest.
$ac_ext
41675 cat >>conftest.
$ac_ext <<_ACEOF
41676 /* end confdefs.h. */
41677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41679 #define $ac_func innocuous_$ac_func
41681 /* System header to define __stub macros and hopefully few prototypes,
41682 which can conflict with char $ac_func (); below.
41683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41684 <limits.h> exists even on freestanding compilers. */
41687 # include <limits.h>
41689 # include <assert.h>
41694 /* Override any gcc2 internal prototype to avoid an error. */
41699 /* We use char because int might match the return type of a gcc2
41700 builtin and then its argument prototype would still apply. */
41702 /* The GNU C library defines this for functions which it implements
41703 to always fail with ENOSYS. Some functions are actually named
41704 something starting with __ and the normal name is an alias. */
41705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41708 char (*f) () = $ac_func;
41717 return f != $ac_func;
41722 rm -f conftest.
$ac_objext conftest
$ac_exeext
41723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41724 (eval $ac_link) 2>conftest.er1
41726 grep -v '^ *+' conftest.er1
>conftest.err
41728 cat conftest.err
>&5
41729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41730 (exit $ac_status); } &&
41731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41733 (eval $ac_try) 2>&5
41735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41736 (exit $ac_status); }; } &&
41737 { ac_try
='test -s conftest$ac_exeext'
41738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41739 (eval $ac_try) 2>&5
41741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41742 (exit $ac_status); }; }; then
41743 eval "$as_ac_var=yes"
41745 echo "$as_me: failed program was:" >&5
41746 sed 's/^/| /' conftest.
$ac_ext >&5
41748 eval "$as_ac_var=no"
41750 rm -f conftest.err conftest.
$ac_objext \
41751 conftest
$ac_exeext conftest.
$ac_ext
41753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41755 if test `eval echo '${'$as_ac_var'}'` = yes; then
41756 cat >>confdefs.h
<<_ACEOF
41757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41759 cat >>confdefs.h
<<\_ACEOF
41760 #define HAVE_DLERROR 1
41765 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41766 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41767 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 ac_check_lib_save_LIBS
=$LIBS
41772 cat >conftest.
$ac_ext <<_ACEOF
41775 cat confdefs.h
>>conftest.
$ac_ext
41776 cat >>conftest.
$ac_ext <<_ACEOF
41777 /* end confdefs.h. */
41779 /* Override any gcc2 internal prototype to avoid an error. */
41783 /* We use char because int might match the return type of a gcc2
41784 builtin and then its argument prototype would still apply. */
41794 rm -f conftest.
$ac_objext conftest
$ac_exeext
41795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41796 (eval $ac_link) 2>conftest.er1
41798 grep -v '^ *+' conftest.er1
>conftest.err
41800 cat conftest.err
>&5
41801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41802 (exit $ac_status); } &&
41803 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41805 (eval $ac_try) 2>&5
41807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808 (exit $ac_status); }; } &&
41809 { ac_try
='test -s conftest$ac_exeext'
41810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41811 (eval $ac_try) 2>&5
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); }; }; then
41815 ac_cv_lib_dl_dlerror
=yes
41817 echo "$as_me: failed program was:" >&5
41818 sed 's/^/| /' conftest.
$ac_ext >&5
41820 ac_cv_lib_dl_dlerror
=no
41822 rm -f conftest.err conftest.
$ac_objext \
41823 conftest
$ac_exeext conftest.
$ac_ext
41824 LIBS
=$ac_check_lib_save_LIBS
41826 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41827 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41828 if test $ac_cv_lib_dl_dlerror = yes; then
41829 cat >>confdefs.h
<<\_ACEOF
41830 #define HAVE_DLERROR 1
41843 if test "$HAVE_DL_FUNCS" = 0; then
41844 if test "$HAVE_SHL_FUNCS" = 0; then
41845 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41846 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41847 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41848 wxUSE_DYNAMIC_LOADER
=no
41849 wxUSE_DYNLIB_CLASS
=no
41851 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41852 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41859 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41860 cat >>confdefs.h
<<\_ACEOF
41861 #define wxUSE_DYNAMIC_LOADER 1
41865 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41866 cat >>confdefs.h
<<\_ACEOF
41867 #define wxUSE_DYNLIB_CLASS 1
41874 if test "$wxUSE_PLUGINS" = "yes" ; then
41875 if test "$wxUSE_SHARED" = "no" ; then
41876 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41877 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41880 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41881 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41882 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41885 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41886 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41887 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41890 if test "$wxUSE_PLUGINS" = "yes" ; then
41891 cat >>confdefs.h
<<\_ACEOF
41892 #define wxUSE_PLUGINS 1
41899 if test "$wxUSE_STL" = "yes"; then
41900 cat >>confdefs.h
<<\_ACEOF
41901 #define wxUSE_STL 1
41906 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41907 cat >>confdefs.h
<<\_ACEOF
41908 #define wxUSE_APPLE_IEEE 1
41913 if test "$wxUSE_TIMER" = "yes"; then
41914 cat >>confdefs.h
<<\_ACEOF
41915 #define wxUSE_TIMER 1
41920 if test "$USE_UNIX" = "1" ; then
41921 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41922 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41923 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
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/ioctl.h>
41935 #include <sys/soundcard.h>
41941 ioctl(0, SNDCTL_DSP_SPEED, 0);
41947 rm -f conftest.
$ac_objext conftest
$ac_exeext
41948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41949 (eval $ac_link) 2>conftest.er1
41951 grep -v '^ *+' conftest.er1
>conftest.err
41953 cat conftest.err
>&5
41954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41955 (exit $ac_status); } &&
41956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41958 (eval $ac_try) 2>&5
41960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41961 (exit $ac_status); }; } &&
41962 { ac_try
='test -s conftest$ac_exeext'
41963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41964 (eval $ac_try) 2>&5
41966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41967 (exit $ac_status); }; }; then
41968 ac_cv_header_sys_soundcard
=yes
41970 echo "$as_me: failed program was:" >&5
41971 sed 's/^/| /' conftest.
$ac_ext >&5
41975 LIBS
="$saveLibs -lossaudio"
41976 cat >conftest.
$ac_ext <<_ACEOF
41979 cat confdefs.h
>>conftest.
$ac_ext
41980 cat >>conftest.
$ac_ext <<_ACEOF
41981 /* end confdefs.h. */
41983 #include <sys/ioctl.h>
41984 #include <sys/soundcard.h>
41990 ioctl(0, SNDCTL_DSP_SPEED, 0);
41996 rm -f conftest.
$ac_objext conftest
$ac_exeext
41997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41998 (eval $ac_link) 2>conftest.er1
42000 grep -v '^ *+' conftest.er1
>conftest.err
42002 cat conftest.err
>&5
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); } &&
42005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42007 (eval $ac_try) 2>&5
42009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42010 (exit $ac_status); }; } &&
42011 { ac_try
='test -s conftest$ac_exeext'
42012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42013 (eval $ac_try) 2>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; }; then
42017 ac_cv_header_sys_soundcard
=yes
42019 echo "$as_me: failed program was:" >&5
42020 sed 's/^/| /' conftest.
$ac_ext >&5
42024 ac_cv_header_sys_soundcard
=no
42028 rm -f conftest.err conftest.
$ac_objext \
42029 conftest
$ac_exeext conftest.
$ac_ext
42033 rm -f conftest.err conftest.
$ac_objext \
42034 conftest
$ac_exeext conftest.
$ac_ext
42037 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42038 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42040 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42041 cat >>confdefs.h
<<\_ACEOF
42042 #define HAVE_SYS_SOUNDCARD_H 1
42046 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42050 if test "$wxUSE_SOUND" = "yes"; then
42051 if test "$USE_UNIX" = "1" ; then
42052 if test "$wxUSE_LIBSDL" != "no"; then
42054 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42055 if test "${with_sdl_prefix+set}" = set; then
42056 withval
="$with_sdl_prefix"
42057 sdl_prefix
="$withval"
42062 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42063 if test "${with_sdl_exec_prefix+set}" = set; then
42064 withval
="$with_sdl_exec_prefix"
42065 sdl_exec_prefix
="$withval"
42069 # Check whether --enable-sdltest or --disable-sdltest was given.
42070 if test "${enable_sdltest+set}" = set; then
42071 enableval
="$enable_sdltest"
42077 if test x
$sdl_exec_prefix != x
; then
42078 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42079 if test x
${SDL_CONFIG+set} != xset
; then
42080 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42083 if test x
$sdl_prefix != x
; then
42084 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42085 if test x
${SDL_CONFIG+set} != xset
; then
42086 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42090 if test "x$prefix" != xNONE
; then
42091 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42093 # Extract the first word of "sdl-config", so it can be a program name with args.
42094 set dummy sdl
-config; ac_word
=$2
42095 echo "$as_me:$LINENO: checking for $ac_word" >&5
42096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42097 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42098 echo $ECHO_N "(cached) $ECHO_C" >&6
42100 case $SDL_CONFIG in
42102 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42106 for as_dir
in $PATH
42109 test -z "$as_dir" && as_dir
=.
42110 for ac_exec_ext
in '' $ac_executable_extensions; do
42111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42112 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42119 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42123 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42125 if test -n "$SDL_CONFIG"; then
42126 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42127 echo "${ECHO_T}$SDL_CONFIG" >&6
42129 echo "$as_me:$LINENO: result: no" >&5
42130 echo "${ECHO_T}no" >&6
42133 min_sdl_version
=1.2.0
42134 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42135 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42137 if test "$SDL_CONFIG" = "no" ; then
42140 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42141 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42143 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42145 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42147 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42149 if test "x$enable_sdltest" = "xyes" ; then
42150 ac_save_CFLAGS
="$CFLAGS"
42151 ac_save_CXXFLAGS
="$CXXFLAGS"
42152 ac_save_LIBS
="$LIBS"
42153 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42154 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42155 LIBS
="$LIBS $SDL_LIBS"
42157 if test "$cross_compiling" = yes; then
42158 echo $ac_n "cross compiling; assumed OK... $ac_c"
42160 cat >conftest.
$ac_ext <<_ACEOF
42163 cat confdefs.h
>>conftest.
$ac_ext
42164 cat >>conftest.
$ac_ext <<_ACEOF
42165 /* end confdefs.h. */
42168 #include <stdlib.h>
42169 #include <string.h>
42173 my_strdup (char *str)
42179 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42180 strcpy (new_str, str);
42188 int main (int argc, char *argv[])
42190 int major, minor, micro;
42193 /* This hangs on some systems (?)
42194 system ("touch conf.sdltest");
42196 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42198 /* HP/UX 9 (%@#!) writes to sscanf strings */
42199 tmp_version = my_strdup("$min_sdl_version");
42200 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42201 printf("%s, bad version string\n", "$min_sdl_version");
42205 if (($sdl_major_version > major) ||
42206 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42207 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42213 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42214 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42215 printf("*** best to upgrade to the required version.\n");
42216 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42217 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42218 printf("*** config.cache before re-running configure\n");
42225 rm -f conftest
$ac_exeext
42226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42227 (eval $ac_link) 2>&5
42229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42232 (eval $ac_try) 2>&5
42234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42235 (exit $ac_status); }; }; then
42238 echo "$as_me: program exited with status $ac_status" >&5
42239 echo "$as_me: failed program was:" >&5
42240 sed 's/^/| /' conftest.
$ac_ext >&5
42242 ( exit $ac_status )
42245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42247 CFLAGS
="$ac_save_CFLAGS"
42248 CXXFLAGS
="$ac_save_CXXFLAGS"
42249 LIBS
="$ac_save_LIBS"
42252 if test "x$no_sdl" = x
; then
42253 echo "$as_me:$LINENO: result: yes" >&5
42254 echo "${ECHO_T}yes" >&6
42256 EXTRALIBS_SDL
="$SDL_LIBS"
42257 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42258 cat >>confdefs.h
<<\_ACEOF
42259 #define wxUSE_LIBSDL 1
42264 echo "$as_me:$LINENO: result: no" >&5
42265 echo "${ECHO_T}no" >&6
42266 if test "$SDL_CONFIG" = "no" ; then
42267 echo "*** The sdl-config script installed by SDL could not be found"
42268 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42269 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42270 echo "*** full path to sdl-config."
42272 if test -f conf.sdltest
; then
42275 echo "*** Could not run SDL test program, checking why..."
42276 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42277 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42278 LIBS
="$LIBS $SDL_LIBS"
42279 cat >conftest.
$ac_ext <<_ACEOF
42282 cat confdefs.h
>>conftest.
$ac_ext
42283 cat >>conftest.
$ac_ext <<_ACEOF
42284 /* end confdefs.h. */
42289 int main(int argc, char *argv[])
42292 #define main K_and_R_C_main
42302 rm -f conftest.
$ac_objext conftest
$ac_exeext
42303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42304 (eval $ac_link) 2>conftest.er1
42306 grep -v '^ *+' conftest.er1
>conftest.err
42308 cat conftest.err
>&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } &&
42311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42313 (eval $ac_try) 2>&5
42315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42316 (exit $ac_status); }; } &&
42317 { ac_try
='test -s conftest$ac_exeext'
42318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42319 (eval $ac_try) 2>&5
42321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42322 (exit $ac_status); }; }; then
42323 echo "*** The test program compiled, but did not run. This usually means"
42324 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42325 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42326 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42327 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42328 echo "*** is required on your system"
42330 echo "*** If you have an old version installed, it is best to remove it, although"
42331 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42333 echo "$as_me: failed program was:" >&5
42334 sed 's/^/| /' conftest.
$ac_ext >&5
42336 echo "*** The test program failed to compile or link. See the file config.log for the"
42337 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42338 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42339 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42341 rm -f conftest.err conftest.
$ac_objext \
42342 conftest
$ac_exeext conftest.
$ac_ext
42343 CFLAGS
="$ac_save_CFLAGS"
42344 CXXFLAGS
="$ac_save_CXXFLAGS"
42345 LIBS
="$ac_save_LIBS"
42356 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42362 cat >>confdefs.h
<<\_ACEOF
42363 #define wxUSE_SOUND 1
42366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42369 if test "$WXGTK20" = 1; then
42370 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42371 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42375 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42376 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42378 if test -n "$PKG_CONFIG"; then
42379 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42380 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42382 if test -n "$PKG_CONFIG" && \
42383 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42384 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42387 (exit $ac_status); }; then
42388 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42396 if test -n "$PKG_CONFIG"; then
42397 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42398 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42400 if test -n "$PKG_CONFIG" && \
42401 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42402 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42405 (exit $ac_status); }; then
42406 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42417 if test $pkg_failed = yes; then
42419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42420 _pkg_short_errors_supported
=yes
42422 _pkg_short_errors_supported
=no
42424 if test $_pkg_short_errors_supported = yes; then
42425 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42427 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42429 # Put the nasty error message in config.log where it belongs
42430 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42433 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42434 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42435 wxUSE_LIBGNOMEPRINT
="no"
42438 elif test $pkg_failed = untried
; then
42440 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42441 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42442 wxUSE_LIBGNOMEPRINT
="no"
42446 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42447 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42448 echo "$as_me:$LINENO: result: yes" >&5
42449 echo "${ECHO_T}yes" >&6
42451 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42452 cat >>confdefs.h
<<\_ACEOF
42453 #define wxUSE_LIBGNOMEPRINT 1
42462 if test "$WXGTK20" = 1; then
42463 if test "$wxUSE_MIMETYPE" = "yes" ; then
42464 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42468 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42469 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42471 if test -n "$PKG_CONFIG"; then
42472 if test -n "$GNOMEVFS_CFLAGS"; then
42473 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42475 if test -n "$PKG_CONFIG" && \
42476 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42477 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42480 (exit $ac_status); }; then
42481 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42489 if test -n "$PKG_CONFIG"; then
42490 if test -n "$GNOMEVFS_LIBS"; then
42491 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42493 if test -n "$PKG_CONFIG" && \
42494 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42495 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); }; then
42499 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42510 if test $pkg_failed = yes; then
42512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42513 _pkg_short_errors_supported
=yes
42515 _pkg_short_errors_supported
=no
42517 if test $_pkg_short_errors_supported = yes; then
42518 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42520 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42522 # Put the nasty error message in config.log where it belongs
42523 echo "$GNOMEVFS_PKG_ERRORS" >&5
42526 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42527 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42528 wxUSE_LIBGNOMEVFS
="no"
42531 elif test $pkg_failed = untried
; then
42533 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42534 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42535 wxUSE_LIBGNOMEVFS
="no"
42539 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42540 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42541 echo "$as_me:$LINENO: result: yes" >&5
42542 echo "${ECHO_T}yes" >&6
42544 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42545 cat >>confdefs.h
<<\_ACEOF
42546 #define wxUSE_LIBGNOMEVFS 1
42555 if test "$WXGTK20" = 1; then
42556 if test "$wxUSE_LIBHILDON" = "yes" ; then
42559 echo "$as_me:$LINENO: checking for HILDON" >&5
42560 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42562 if test -n "$PKG_CONFIG"; then
42563 if test -n "$HILDON_CFLAGS"; then
42564 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42566 if test -n "$PKG_CONFIG" && \
42567 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42568 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42571 (exit $ac_status); }; then
42572 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42580 if test -n "$PKG_CONFIG"; then
42581 if test -n "$HILDON_LIBS"; then
42582 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42584 if test -n "$PKG_CONFIG" && \
42585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42586 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; then
42590 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42601 if test $pkg_failed = yes; then
42603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42604 _pkg_short_errors_supported
=yes
42606 _pkg_short_errors_supported
=no
42608 if test $_pkg_short_errors_supported = yes; then
42609 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42611 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42613 # Put the nasty error message in config.log where it belongs
42614 echo "$HILDON_PKG_ERRORS" >&5
42617 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42618 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42619 wxUSE_LIBHILDON
="no"
42622 elif test $pkg_failed = untried
; then
42624 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42625 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42626 wxUSE_LIBHILDON
="no"
42630 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42631 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42632 echo "$as_me:$LINENO: result: yes" >&5
42633 echo "${ECHO_T}yes" >&6
42635 EXTRALIBS_HILDON
="$HILDON_LIBS"
42636 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42637 cat >>confdefs.h
<<\_ACEOF
42638 #define wxUSE_LIBHILDON 1
42646 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42647 cat >>confdefs.h
<<\_ACEOF
42648 #define wxUSE_CMDLINE_PARSER 1
42653 if test "$wxUSE_STOPWATCH" = "yes"; then
42654 cat >>confdefs.h
<<\_ACEOF
42655 #define wxUSE_STOPWATCH 1
42660 if test "$wxUSE_DATETIME" = "yes"; then
42661 cat >>confdefs.h
<<\_ACEOF
42662 #define wxUSE_DATETIME 1
42667 if test "$wxUSE_FILE" = "yes"; then
42668 cat >>confdefs.h
<<\_ACEOF
42669 #define wxUSE_FILE 1
42674 if test "$wxUSE_FFILE" = "yes"; then
42675 cat >>confdefs.h
<<\_ACEOF
42676 #define wxUSE_FFILE 1
42681 if test "$wxUSE_FILESYSTEM" = "yes"; then
42682 cat >>confdefs.h
<<\_ACEOF
42683 #define wxUSE_FILESYSTEM 1
42688 if test "$wxUSE_FS_ZIP" = "yes"; then
42689 cat >>confdefs.h
<<\_ACEOF
42690 #define wxUSE_FS_ZIP 1
42695 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42696 cat >>confdefs.h
<<\_ACEOF
42697 #define wxUSE_ARCHIVE_STREAMS 1
42702 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42703 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42704 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42705 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42706 elif test "$wxUSE_ZLIB" = "no"; then
42707 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42708 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42710 cat >>confdefs.h
<<\_ACEOF
42711 #define wxUSE_ZIPSTREAM 1
42717 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42718 if test "$USE_UNIX" != 1; then
42719 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42720 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42721 wxUSE_ON_FATAL_EXCEPTION
=no
42723 cat >>confdefs.h
<<\_ACEOF
42724 #define wxUSE_ON_FATAL_EXCEPTION 1
42730 if test "$wxUSE_STACKWALKER" = "yes"; then
42731 cat >>confdefs.h
<<\_ACEOF
42732 #define wxUSE_STACKWALKER 1
42737 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42738 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42739 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42740 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42741 wxUSE_DEBUGREPORT
=no
42743 cat >>confdefs.h
<<\_ACEOF
42744 #define wxUSE_DEBUGREPORT 1
42747 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42753 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42754 cat >>confdefs.h
<<\_ACEOF
42755 #define wxUSE_SNGLINST_CHECKER 1
42760 if test "$wxUSE_BUSYINFO" = "yes"; then
42761 cat >>confdefs.h
<<\_ACEOF
42762 #define wxUSE_BUSYINFO 1
42767 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42768 cat >>confdefs.h
<<\_ACEOF
42769 #define wxUSE_STD_IOSTREAM 1
42774 if test "$wxUSE_STD_STRING" = "yes"; then
42775 cat >>confdefs.h
<<\_ACEOF
42776 #define wxUSE_STD_STRING 1
42781 if test "$wxUSE_STDPATHS" = "yes"; then
42782 cat >>confdefs.h
<<\_ACEOF
42783 #define wxUSE_STDPATHS 1
42788 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42789 cat >>confdefs.h
<<\_ACEOF
42790 #define wxUSE_TEXTBUFFER 1
42795 if test "$wxUSE_TEXTFILE" = "yes"; then
42796 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42797 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42798 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42800 cat >>confdefs.h
<<\_ACEOF
42801 #define wxUSE_TEXTFILE 1
42807 if test "$wxUSE_CONFIG" = "yes" ; then
42808 if test "$wxUSE_TEXTFILE" != "yes"; then
42809 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42810 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42812 cat >>confdefs.h
<<\_ACEOF
42813 #define wxUSE_CONFIG 1
42816 cat >>confdefs.h
<<\_ACEOF
42817 #define wxUSE_CONFIG_NATIVE 1
42820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42824 if test "$wxUSE_INTL" = "yes" ; then
42825 if test "$wxUSE_FILE" != "yes"; then
42826 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42827 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42829 cat >>confdefs.h
<<\_ACEOF
42830 #define wxUSE_INTL 1
42833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42834 GUIDIST
="$GUIDIST INTL_DIST"
42838 if test "$wxUSE_LOG" = "yes"; then
42839 cat >>confdefs.h
<<\_ACEOF
42840 #define wxUSE_LOG 1
42844 if test "$wxUSE_LOGGUI" = "yes"; then
42845 cat >>confdefs.h
<<\_ACEOF
42846 #define wxUSE_LOGGUI 1
42851 if test "$wxUSE_LOGWINDOW" = "yes"; then
42852 cat >>confdefs.h
<<\_ACEOF
42853 #define wxUSE_LOGWINDOW 1
42858 if test "$wxUSE_LOGDIALOG" = "yes"; then
42859 cat >>confdefs.h
<<\_ACEOF
42860 #define wxUSE_LOG_DIALOG 1
42865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42868 if test "$wxUSE_LONGLONG" = "yes"; then
42869 cat >>confdefs.h
<<\_ACEOF
42870 #define wxUSE_LONGLONG 1
42875 if test "$wxUSE_GEOMETRY" = "yes"; then
42876 cat >>confdefs.h
<<\_ACEOF
42877 #define wxUSE_GEOMETRY 1
42882 if test "$wxUSE_STREAMS" = "yes" ; then
42883 cat >>confdefs.h
<<\_ACEOF
42884 #define wxUSE_STREAMS 1
42889 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42890 cat >>confdefs.h
<<\_ACEOF
42891 #define wxUSE_PRINTF_POS_PARAMS 1
42898 if test "$wxUSE_DATETIME" = "yes"; then
42900 for ac_func
in strptime
42902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42903 echo "$as_me:$LINENO: checking for $ac_func" >&5
42904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42905 if eval "test \"\${$as_ac_var+set}\" = set"; then
42906 echo $ECHO_N "(cached) $ECHO_C" >&6
42908 cat >conftest.
$ac_ext <<_ACEOF
42911 cat confdefs.h
>>conftest.
$ac_ext
42912 cat >>conftest.
$ac_ext <<_ACEOF
42913 /* end confdefs.h. */
42914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42916 #define $ac_func innocuous_$ac_func
42918 /* System header to define __stub macros and hopefully few prototypes,
42919 which can conflict with char $ac_func (); below.
42920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42921 <limits.h> exists even on freestanding compilers. */
42924 # include <limits.h>
42926 # include <assert.h>
42931 /* Override any gcc2 internal prototype to avoid an error. */
42936 /* We use char because int might match the return type of a gcc2
42937 builtin and then its argument prototype would still apply. */
42939 /* The GNU C library defines this for functions which it implements
42940 to always fail with ENOSYS. Some functions are actually named
42941 something starting with __ and the normal name is an alias. */
42942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42945 char (*f) () = $ac_func;
42954 return f != $ac_func;
42959 rm -f conftest.
$ac_objext conftest
$ac_exeext
42960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42961 (eval $ac_link) 2>conftest.er1
42963 grep -v '^ *+' conftest.er1
>conftest.err
42965 cat conftest.err
>&5
42966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42967 (exit $ac_status); } &&
42968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42970 (eval $ac_try) 2>&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); }; } &&
42974 { ac_try
='test -s conftest$ac_exeext'
42975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976 (eval $ac_try) 2>&5
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); }; }; then
42980 eval "$as_ac_var=yes"
42982 echo "$as_me: failed program was:" >&5
42983 sed 's/^/| /' conftest.
$ac_ext >&5
42985 eval "$as_ac_var=no"
42987 rm -f conftest.err conftest.
$ac_objext \
42988 conftest
$ac_exeext conftest.
$ac_ext
42990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42992 if test `eval echo '${'$as_ac_var'}'` = yes; then
42993 cat >>confdefs.h
<<_ACEOF
42994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43000 if test "$ac_cv_func_strptime" = "yes"; then
43001 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43002 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43003 if test "${wx_cv_func_strptime_decl+set}" = set; then
43004 echo $ECHO_N "(cached) $ECHO_C" >&6
43007 cat >conftest.
$ac_ext <<_ACEOF
43010 cat confdefs.h
>>conftest.
$ac_ext
43011 cat >>conftest.
$ac_ext <<_ACEOF
43012 /* end confdefs.h. */
43021 strptime("foo", "bar", &t);
43027 rm -f conftest.
$ac_objext
43028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43029 (eval $ac_compile) 2>conftest.er1
43031 grep -v '^ *+' conftest.er1
>conftest.err
43033 cat conftest.err
>&5
43034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43035 (exit $ac_status); } &&
43036 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43038 (eval $ac_try) 2>&5
43040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43041 (exit $ac_status); }; } &&
43042 { ac_try
='test -s conftest.$ac_objext'
43043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43044 (eval $ac_try) 2>&5
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); }; }; then
43048 wx_cv_func_strptime_decl
=yes
43050 echo "$as_me: failed program was:" >&5
43051 sed 's/^/| /' conftest.
$ac_ext >&5
43053 wx_cv_func_strptime_decl
=no
43056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43060 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43061 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43063 if test "$wx_cv_func_strptime_decl" = "yes"; then
43064 cat >>confdefs.h
<<\_ACEOF
43065 #define HAVE_STRPTIME_DECL 1
43070 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43071 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43072 if test "${wx_cv_var_timezone+set}" = set; then
43073 echo $ECHO_N "(cached) $ECHO_C" >&6
43076 cat >conftest.
$ac_ext <<_ACEOF
43079 cat confdefs.h
>>conftest.
$ac_ext
43080 cat >>conftest.
$ac_ext <<_ACEOF
43081 /* end confdefs.h. */
43096 rm -f conftest.
$ac_objext
43097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43098 (eval $ac_compile) 2>conftest.er1
43100 grep -v '^ *+' conftest.er1
>conftest.err
43102 cat conftest.err
>&5
43103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43104 (exit $ac_status); } &&
43105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43107 (eval $ac_try) 2>&5
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); }; } &&
43111 { ac_try
='test -s conftest.$ac_objext'
43112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43113 (eval $ac_try) 2>&5
43115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116 (exit $ac_status); }; }; then
43118 wx_cv_var_timezone
=timezone
43121 echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.
$ac_ext >&5
43125 cat >conftest.
$ac_ext <<_ACEOF
43128 cat confdefs.h
>>conftest.
$ac_ext
43129 cat >>conftest.
$ac_ext <<_ACEOF
43130 /* end confdefs.h. */
43145 rm -f conftest.
$ac_objext
43146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43147 (eval $ac_compile) 2>conftest.er1
43149 grep -v '^ *+' conftest.er1
>conftest.err
43151 cat conftest.err
>&5
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); } &&
43154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43156 (eval $ac_try) 2>&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); }; } &&
43160 { ac_try
='test -s conftest.$ac_objext'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; }; then
43167 wx_cv_var_timezone
=_timezone
43170 echo "$as_me: failed program was:" >&5
43171 sed 's/^/| /' conftest.
$ac_ext >&5
43174 cat >conftest.
$ac_ext <<_ACEOF
43177 cat confdefs.h
>>conftest.
$ac_ext
43178 cat >>conftest.
$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43194 rm -f conftest.
$ac_objext
43195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43196 (eval $ac_compile) 2>conftest.er1
43198 grep -v '^ *+' conftest.er1
>conftest.err
43200 cat conftest.err
>&5
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); } &&
43203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43205 (eval $ac_try) 2>&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); }; } &&
43209 { ac_try
='test -s conftest.$ac_objext'
43210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43211 (eval $ac_try) 2>&5
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); }; }; then
43216 wx_cv_var_timezone
=__timezone
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.
$ac_ext >&5
43223 if test "$USE_DOS" = 0 ; then
43224 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43225 echo "$as_me: WARNING: no timezone variable" >&2;}
43230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43242 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43243 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43245 if test "x$wx_cv_var_timezone" != x
; then
43246 cat >>confdefs.h
<<_ACEOF
43247 #define WX_TIMEZONE $wx_cv_var_timezone
43253 for ac_func
in localtime
43255 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43256 echo "$as_me:$LINENO: checking for $ac_func" >&5
43257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43258 if eval "test \"\${$as_ac_var+set}\" = set"; then
43259 echo $ECHO_N "(cached) $ECHO_C" >&6
43261 cat >conftest.
$ac_ext <<_ACEOF
43264 cat confdefs.h
>>conftest.
$ac_ext
43265 cat >>conftest.
$ac_ext <<_ACEOF
43266 /* end confdefs.h. */
43267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43269 #define $ac_func innocuous_$ac_func
43271 /* System header to define __stub macros and hopefully few prototypes,
43272 which can conflict with char $ac_func (); below.
43273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43274 <limits.h> exists even on freestanding compilers. */
43277 # include <limits.h>
43279 # include <assert.h>
43284 /* Override any gcc2 internal prototype to avoid an error. */
43289 /* We use char because int might match the return type of a gcc2
43290 builtin and then its argument prototype would still apply. */
43292 /* The GNU C library defines this for functions which it implements
43293 to always fail with ENOSYS. Some functions are actually named
43294 something starting with __ and the normal name is an alias. */
43295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43298 char (*f) () = $ac_func;
43307 return f != $ac_func;
43312 rm -f conftest.
$ac_objext conftest
$ac_exeext
43313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43314 (eval $ac_link) 2>conftest.er1
43316 grep -v '^ *+' conftest.er1
>conftest.err
43318 cat conftest.err
>&5
43319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43320 (exit $ac_status); } &&
43321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43323 (eval $ac_try) 2>&5
43325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43326 (exit $ac_status); }; } &&
43327 { ac_try
='test -s conftest$ac_exeext'
43328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43329 (eval $ac_try) 2>&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); }; }; then
43333 eval "$as_ac_var=yes"
43335 echo "$as_me: failed program was:" >&5
43336 sed 's/^/| /' conftest.
$ac_ext >&5
43338 eval "$as_ac_var=no"
43340 rm -f conftest.err conftest.
$ac_objext \
43341 conftest
$ac_exeext conftest.
$ac_ext
43343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43345 if test `eval echo '${'$as_ac_var'}'` = yes; then
43346 cat >>confdefs.h
<<_ACEOF
43347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43354 if test "$ac_cv_func_localtime" = "yes"; then
43355 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43356 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43357 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43358 echo $ECHO_N "(cached) $ECHO_C" >&6
43361 cat >conftest.
$ac_ext <<_ACEOF
43364 cat confdefs.h
>>conftest.
$ac_ext
43365 cat >>conftest.
$ac_ext <<_ACEOF
43366 /* end confdefs.h. */
43381 rm -f conftest.
$ac_objext
43382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43383 (eval $ac_compile) 2>conftest.er1
43385 grep -v '^ *+' conftest.er1
>conftest.err
43387 cat conftest.err
>&5
43388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43389 (exit $ac_status); } &&
43390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43392 (eval $ac_try) 2>&5
43394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43395 (exit $ac_status); }; } &&
43396 { ac_try
='test -s conftest.$ac_objext'
43397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43398 (eval $ac_try) 2>&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); }; }; then
43403 wx_cv_struct_tm_has_gmtoff
=yes
43406 echo "$as_me: failed program was:" >&5
43407 sed 's/^/| /' conftest.
$ac_ext >&5
43409 wx_cv_struct_tm_has_gmtoff
=no
43412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43415 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43416 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43419 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43420 cat >>confdefs.h
<<\_ACEOF
43421 #define WX_GMTOFF_IN_TM 1
43428 for ac_func
in gettimeofday ftime
43430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43431 echo "$as_me:$LINENO: checking for $ac_func" >&5
43432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43433 if eval "test \"\${$as_ac_var+set}\" = set"; then
43434 echo $ECHO_N "(cached) $ECHO_C" >&6
43436 cat >conftest.
$ac_ext <<_ACEOF
43439 cat confdefs.h
>>conftest.
$ac_ext
43440 cat >>conftest.
$ac_ext <<_ACEOF
43441 /* end confdefs.h. */
43442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43444 #define $ac_func innocuous_$ac_func
43446 /* System header to define __stub macros and hopefully few prototypes,
43447 which can conflict with char $ac_func (); below.
43448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43449 <limits.h> exists even on freestanding compilers. */
43452 # include <limits.h>
43454 # include <assert.h>
43459 /* Override any gcc2 internal prototype to avoid an error. */
43464 /* We use char because int might match the return type of a gcc2
43465 builtin and then its argument prototype would still apply. */
43467 /* The GNU C library defines this for functions which it implements
43468 to always fail with ENOSYS. Some functions are actually named
43469 something starting with __ and the normal name is an alias. */
43470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43473 char (*f) () = $ac_func;
43482 return f != $ac_func;
43487 rm -f conftest.
$ac_objext conftest
$ac_exeext
43488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43489 (eval $ac_link) 2>conftest.er1
43491 grep -v '^ *+' conftest.er1
>conftest.err
43493 cat conftest.err
>&5
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); } &&
43496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43498 (eval $ac_try) 2>&5
43500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43501 (exit $ac_status); }; } &&
43502 { ac_try
='test -s conftest$ac_exeext'
43503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43504 (eval $ac_try) 2>&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); }; }; then
43508 eval "$as_ac_var=yes"
43510 echo "$as_me: failed program was:" >&5
43511 sed 's/^/| /' conftest.
$ac_ext >&5
43513 eval "$as_ac_var=no"
43515 rm -f conftest.err conftest.
$ac_objext \
43516 conftest
$ac_exeext conftest.
$ac_ext
43518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43520 if test `eval echo '${'$as_ac_var'}'` = yes; then
43521 cat >>confdefs.h
<<_ACEOF
43522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43529 if test "$ac_cv_func_gettimeofday" = "yes"; then
43530 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43531 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43532 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43533 echo $ECHO_N "(cached) $ECHO_C" >&6
43536 cat >conftest.
$ac_ext <<_ACEOF
43539 cat confdefs.h
>>conftest.
$ac_ext
43540 cat >>conftest.
$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43543 #include <sys/time.h>
43544 #include <unistd.h>
43551 gettimeofday(&tv, NULL);
43557 rm -f conftest.
$ac_objext
43558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43559 (eval $ac_compile) 2>conftest.er1
43561 grep -v '^ *+' conftest.er1
>conftest.err
43563 cat conftest.err
>&5
43564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43565 (exit $ac_status); } &&
43566 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43568 (eval $ac_try) 2>&5
43570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43571 (exit $ac_status); }; } &&
43572 { ac_try
='test -s conftest.$ac_objext'
43573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43574 (eval $ac_try) 2>&5
43576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43577 (exit $ac_status); }; }; then
43578 wx_cv_func_gettimeofday_has_2_args
=yes
43580 echo "$as_me: failed program was:" >&5
43581 sed 's/^/| /' conftest.
$ac_ext >&5
43583 cat >conftest.
$ac_ext <<_ACEOF
43586 cat confdefs.h
>>conftest.
$ac_ext
43587 cat >>conftest.
$ac_ext <<_ACEOF
43588 /* end confdefs.h. */
43590 #include <sys/time.h>
43591 #include <unistd.h>
43604 rm -f conftest.
$ac_objext
43605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43606 (eval $ac_compile) 2>conftest.er1
43608 grep -v '^ *+' conftest.er1
>conftest.err
43610 cat conftest.err
>&5
43611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612 (exit $ac_status); } &&
43613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43615 (eval $ac_try) 2>&5
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); }; } &&
43619 { ac_try
='test -s conftest.$ac_objext'
43620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43621 (eval $ac_try) 2>&5
43623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624 (exit $ac_status); }; }; then
43625 wx_cv_func_gettimeofday_has_2_args
=no
43627 echo "$as_me: failed program was:" >&5
43628 sed 's/^/| /' conftest.
$ac_ext >&5
43631 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43632 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43633 wx_cv_func_gettimeofday_has_2_args
=unknown
43637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43643 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43644 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43646 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43647 cat >>confdefs.h
<<\_ACEOF
43648 #define WX_GETTIMEOFDAY_NO_TZ 1
43654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43658 if test "$wxUSE_SOCKETS" = "yes"; then
43659 if test "$wxUSE_MGL" = "1"; then
43660 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43661 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43666 if test "$wxUSE_SOCKETS" = "yes"; then
43667 if test "$TOOLKIT" != "MSW"; then
43668 echo "$as_me:$LINENO: checking for socket" >&5
43669 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43670 if test "${ac_cv_func_socket+set}" = set; then
43671 echo $ECHO_N "(cached) $ECHO_C" >&6
43673 cat >conftest.
$ac_ext <<_ACEOF
43676 cat confdefs.h
>>conftest.
$ac_ext
43677 cat >>conftest.
$ac_ext <<_ACEOF
43678 /* end confdefs.h. */
43679 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43681 #define socket innocuous_socket
43683 /* System header to define __stub macros and hopefully few prototypes,
43684 which can conflict with char socket (); below.
43685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43686 <limits.h> exists even on freestanding compilers. */
43689 # include <limits.h>
43691 # include <assert.h>
43696 /* Override any gcc2 internal prototype to avoid an error. */
43701 /* We use char because int might match the return type of a gcc2
43702 builtin and then its argument prototype would still apply. */
43704 /* The GNU C library defines this for functions which it implements
43705 to always fail with ENOSYS. Some functions are actually named
43706 something starting with __ and the normal name is an alias. */
43707 #if defined (__stub_socket) || defined (__stub___socket)
43710 char (*f) () = socket;
43719 return f != socket;
43724 rm -f conftest.
$ac_objext conftest
$ac_exeext
43725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43726 (eval $ac_link) 2>conftest.er1
43728 grep -v '^ *+' conftest.er1
>conftest.err
43730 cat conftest.err
>&5
43731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732 (exit $ac_status); } &&
43733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43735 (eval $ac_try) 2>&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); }; } &&
43739 { ac_try
='test -s conftest$ac_exeext'
43740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43741 (eval $ac_try) 2>&5
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); }; }; then
43745 ac_cv_func_socket
=yes
43747 echo "$as_me: failed program was:" >&5
43748 sed 's/^/| /' conftest.
$ac_ext >&5
43750 ac_cv_func_socket
=no
43752 rm -f conftest.err conftest.
$ac_objext \
43753 conftest
$ac_exeext conftest.
$ac_ext
43755 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43756 echo "${ECHO_T}$ac_cv_func_socket" >&6
43757 if test $ac_cv_func_socket = yes; then
43761 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43762 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43763 if test "${ac_cv_lib_socket_socket+set}" = set; then
43764 echo $ECHO_N "(cached) $ECHO_C" >&6
43766 ac_check_lib_save_LIBS
=$LIBS
43767 LIBS
="-lsocket $LIBS"
43768 cat >conftest.
$ac_ext <<_ACEOF
43771 cat confdefs.h
>>conftest.
$ac_ext
43772 cat >>conftest.
$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43775 /* Override any gcc2 internal prototype to avoid an error. */
43779 /* We use char because int might match the return type of a gcc2
43780 builtin and then its argument prototype would still apply. */
43790 rm -f conftest.
$ac_objext conftest
$ac_exeext
43791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43792 (eval $ac_link) 2>conftest.er1
43794 grep -v '^ *+' conftest.er1
>conftest.err
43796 cat conftest.err
>&5
43797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43798 (exit $ac_status); } &&
43799 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43801 (eval $ac_try) 2>&5
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); }; } &&
43805 { ac_try
='test -s conftest$ac_exeext'
43806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43807 (eval $ac_try) 2>&5
43809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43810 (exit $ac_status); }; }; then
43811 ac_cv_lib_socket_socket
=yes
43813 echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.
$ac_ext >&5
43816 ac_cv_lib_socket_socket
=no
43818 rm -f conftest.err conftest.
$ac_objext \
43819 conftest
$ac_exeext conftest.
$ac_ext
43820 LIBS
=$ac_check_lib_save_LIBS
43822 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43823 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43824 if test $ac_cv_lib_socket_socket = yes; then
43825 if test "$INET_LINK" != " -lsocket"; then
43826 INET_LINK
="$INET_LINK -lsocket"
43830 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43831 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43844 if test "$wxUSE_SOCKETS" = "yes" ; then
43845 if test "$TOOLKIT" != "MSW"; then
43846 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43847 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43848 if test "${wx_cv_type_getsockname3+set}" = set; then
43849 echo $ECHO_N "(cached) $ECHO_C" >&6
43852 cat >conftest.
$ac_ext <<_ACEOF
43855 cat confdefs.h
>>conftest.
$ac_ext
43856 cat >>conftest.
$ac_ext <<_ACEOF
43857 /* end confdefs.h. */
43859 #include <sys/types.h>
43860 #include <sys/socket.h>
43867 getsockname(0, 0, &len);
43873 rm -f conftest.
$ac_objext
43874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43875 (eval $ac_compile) 2>conftest.er1
43877 grep -v '^ *+' conftest.er1
>conftest.err
43879 cat conftest.err
>&5
43880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43881 (exit $ac_status); } &&
43882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43884 (eval $ac_try) 2>&5
43886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43887 (exit $ac_status); }; } &&
43888 { ac_try
='test -s conftest.$ac_objext'
43889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43890 (eval $ac_try) 2>&5
43892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43893 (exit $ac_status); }; }; then
43894 wx_cv_type_getsockname3
=socklen_t
43896 echo "$as_me: failed program was:" >&5
43897 sed 's/^/| /' conftest.
$ac_ext >&5
43900 CXXFLAGS_OLD
="$CXXFLAGS"
43901 if test "$GCC" = yes ; then
43902 CXXFLAGS
="-Werror $CXXFLAGS"
43905 cat >conftest.
$ac_ext <<_ACEOF
43908 cat confdefs.h
>>conftest.
$ac_ext
43909 cat >>conftest.
$ac_ext <<_ACEOF
43910 /* end confdefs.h. */
43912 #include <sys/types.h>
43913 #include <sys/socket.h>
43920 getsockname(0, 0, &len);
43926 rm -f conftest.
$ac_objext
43927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43928 (eval $ac_compile) 2>conftest.er1
43930 grep -v '^ *+' conftest.er1
>conftest.err
43932 cat conftest.err
>&5
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); } &&
43935 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43937 (eval $ac_try) 2>&5
43939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43940 (exit $ac_status); }; } &&
43941 { ac_try
='test -s conftest.$ac_objext'
43942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43943 (eval $ac_try) 2>&5
43945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946 (exit $ac_status); }; }; then
43947 wx_cv_type_getsockname3
=size_t
43949 echo "$as_me: failed program was:" >&5
43950 sed 's/^/| /' conftest.
$ac_ext >&5
43952 cat >conftest.
$ac_ext <<_ACEOF
43955 cat confdefs.h
>>conftest.
$ac_ext
43956 cat >>conftest.
$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43959 #include <sys/types.h>
43960 #include <sys/socket.h>
43967 getsockname(0, 0, &len);
43973 rm -f conftest.
$ac_objext
43974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43975 (eval $ac_compile) 2>conftest.er1
43977 grep -v '^ *+' conftest.er1
>conftest.err
43979 cat conftest.err
>&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } &&
43982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43984 (eval $ac_try) 2>&5
43986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987 (exit $ac_status); }; } &&
43988 { ac_try
='test -s conftest.$ac_objext'
43989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43990 (eval $ac_try) 2>&5
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); }; }; then
43994 wx_cv_type_getsockname3
=int
43996 echo "$as_me: failed program was:" >&5
43997 sed 's/^/| /' conftest.
$ac_ext >&5
43999 wx_cv_type_getsockname3
=unknown
44002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44007 CXXFLAGS
="$CXXFLAGS_OLD"
44011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44014 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44015 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44017 if test "$wx_cv_type_getsockname3" = "unknown"; then
44019 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44020 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44022 cat >>confdefs.h
<<_ACEOF
44023 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44027 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44028 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44029 if test "${wx_cv_type_getsockopt5+set}" = set; then
44030 echo $ECHO_N "(cached) $ECHO_C" >&6
44033 cat >conftest.
$ac_ext <<_ACEOF
44036 cat confdefs.h
>>conftest.
$ac_ext
44037 cat >>conftest.
$ac_ext <<_ACEOF
44038 /* end confdefs.h. */
44040 #include <sys/types.h>
44041 #include <sys/socket.h>
44048 getsockopt(0, 0, 0, 0, &len);
44054 rm -f conftest.
$ac_objext
44055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44056 (eval $ac_compile) 2>conftest.er1
44058 grep -v '^ *+' conftest.er1
>conftest.err
44060 cat conftest.err
>&5
44061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44062 (exit $ac_status); } &&
44063 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44065 (eval $ac_try) 2>&5
44067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068 (exit $ac_status); }; } &&
44069 { ac_try
='test -s conftest.$ac_objext'
44070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44071 (eval $ac_try) 2>&5
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); }; }; then
44075 wx_cv_type_getsockopt5
=socklen_t
44077 echo "$as_me: failed program was:" >&5
44078 sed 's/^/| /' conftest.
$ac_ext >&5
44081 CXXFLAGS_OLD
="$CXXFLAGS"
44082 if test "$GCC" = yes ; then
44083 CXXFLAGS
="-Werror $CXXFLAGS"
44086 cat >conftest.
$ac_ext <<_ACEOF
44089 cat confdefs.h
>>conftest.
$ac_ext
44090 cat >>conftest.
$ac_ext <<_ACEOF
44091 /* end confdefs.h. */
44093 #include <sys/types.h>
44094 #include <sys/socket.h>
44101 getsockopt(0, 0, 0, 0, &len);
44107 rm -f conftest.
$ac_objext
44108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44109 (eval $ac_compile) 2>conftest.er1
44111 grep -v '^ *+' conftest.er1
>conftest.err
44113 cat conftest.err
>&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); } &&
44116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44118 (eval $ac_try) 2>&5
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; } &&
44122 { ac_try
='test -s conftest.$ac_objext'
44123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44124 (eval $ac_try) 2>&5
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); }; }; then
44128 wx_cv_type_getsockopt5
=size_t
44130 echo "$as_me: failed program was:" >&5
44131 sed 's/^/| /' conftest.
$ac_ext >&5
44133 cat >conftest.
$ac_ext <<_ACEOF
44136 cat confdefs.h
>>conftest.
$ac_ext
44137 cat >>conftest.
$ac_ext <<_ACEOF
44138 /* end confdefs.h. */
44140 #include <sys/types.h>
44141 #include <sys/socket.h>
44148 getsockopt(0, 0, 0, 0, &len);
44154 rm -f conftest.
$ac_objext
44155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44156 (eval $ac_compile) 2>conftest.er1
44158 grep -v '^ *+' conftest.er1
>conftest.err
44160 cat conftest.err
>&5
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); } &&
44163 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44165 (eval $ac_try) 2>&5
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); }; } &&
44169 { ac_try
='test -s conftest.$ac_objext'
44170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44171 (eval $ac_try) 2>&5
44173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44174 (exit $ac_status); }; }; then
44175 wx_cv_type_getsockopt5
=int
44177 echo "$as_me: failed program was:" >&5
44178 sed 's/^/| /' conftest.
$ac_ext >&5
44180 wx_cv_type_getsockopt5
=unknown
44183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44188 CXXFLAGS
="$CXXFLAGS_OLD"
44192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44195 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44196 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44198 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44200 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44201 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44203 cat >>confdefs.h
<<_ACEOF
44204 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44211 if test "$wxUSE_SOCKETS" = "yes" ; then
44212 cat >>confdefs.h
<<\_ACEOF
44213 #define wxUSE_SOCKETS 1
44216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44219 if test "$wxUSE_PROTOCOL" = "yes"; then
44220 if test "$wxUSE_SOCKETS" != "yes"; then
44221 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44222 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44227 if test "$wxUSE_PROTOCOL" = "yes"; then
44228 cat >>confdefs.h
<<\_ACEOF
44229 #define wxUSE_PROTOCOL 1
44233 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44234 cat >>confdefs.h
<<\_ACEOF
44235 #define wxUSE_PROTOCOL_HTTP 1
44239 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44240 cat >>confdefs.h
<<\_ACEOF
44241 #define wxUSE_PROTOCOL_FTP 1
44245 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44246 cat >>confdefs.h
<<\_ACEOF
44247 #define wxUSE_PROTOCOL_FILE 1
44252 if test "$wxUSE_FS_INET" = "yes"; then
44253 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44254 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44259 if test "$wxUSE_URL" = "yes"; then
44260 if test "$wxUSE_PROTOCOL" != "yes"; then
44261 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44262 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44265 if test "$wxUSE_URL" = "yes"; then
44266 cat >>confdefs.h
<<\_ACEOF
44267 #define wxUSE_URL 1
44273 if test "$wxUSE_VARIANT" = "yes"; then
44274 cat >>confdefs.h
<<\_ACEOF
44275 #define wxUSE_VARIANT 1
44280 if test "$wxUSE_FS_INET" = "yes"; then
44281 cat >>confdefs.h
<<\_ACEOF
44282 #define wxUSE_FS_INET 1
44288 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44291 if test "$TOOLKIT" = "MSW"; then
44294 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44295 if test "$USE_DARWIN" = 1; then
44296 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44297 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44298 cat >conftest.
$ac_ext <<_ACEOF
44301 cat confdefs.h
>>conftest.
$ac_ext
44302 cat >>conftest.
$ac_ext <<_ACEOF
44303 /* end confdefs.h. */
44304 #include <IOKit/hid/IOHIDLib.h>
44308 IOHIDQueueInterface *qi = NULL;
44309 IOHIDCallbackFunction cb = NULL;
44310 qi->setEventCallout(NULL, cb, NULL, NULL);
44315 rm -f conftest.
$ac_objext
44316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44317 (eval $ac_compile) 2>conftest.er1
44319 grep -v '^ *+' conftest.er1
>conftest.err
44321 cat conftest.err
>&5
44322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44323 (exit $ac_status); } &&
44324 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44326 (eval $ac_try) 2>&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); }; } &&
44330 { ac_try
='test -s conftest.$ac_objext'
44331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332 (eval $ac_try) 2>&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; }; then
44339 echo "$as_me: failed program was:" >&5
44340 sed 's/^/| /' conftest.
$ac_ext >&5
44343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44344 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44345 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44350 for ac_header
in linux
/joystick.h
44352 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44354 echo "$as_me:$LINENO: checking for $ac_header" >&5
44355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44357 echo $ECHO_N "(cached) $ECHO_C" >&6
44359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44362 # Is the header compilable?
44363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44365 cat >conftest.
$ac_ext <<_ACEOF
44368 cat confdefs.h
>>conftest.
$ac_ext
44369 cat >>conftest.
$ac_ext <<_ACEOF
44370 /* end confdefs.h. */
44371 $ac_includes_default
44372 #include <$ac_header>
44374 rm -f conftest.
$ac_objext
44375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44376 (eval $ac_compile) 2>conftest.er1
44378 grep -v '^ *+' conftest.er1
>conftest.err
44380 cat conftest.err
>&5
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); } &&
44383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44385 (eval $ac_try) 2>&5
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); }; } &&
44389 { ac_try
='test -s conftest.$ac_objext'
44390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44391 (eval $ac_try) 2>&5
44393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44394 (exit $ac_status); }; }; then
44395 ac_header_compiler
=yes
44397 echo "$as_me: failed program was:" >&5
44398 sed 's/^/| /' conftest.
$ac_ext >&5
44400 ac_header_compiler
=no
44402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44404 echo "${ECHO_T}$ac_header_compiler" >&6
44406 # Is the header present?
44407 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44408 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44409 cat >conftest.
$ac_ext <<_ACEOF
44412 cat confdefs.h
>>conftest.
$ac_ext
44413 cat >>conftest.
$ac_ext <<_ACEOF
44414 /* end confdefs.h. */
44415 #include <$ac_header>
44417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44418 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44420 grep -v '^ *+' conftest.er1
>conftest.err
44422 cat conftest.err
>&5
44423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44424 (exit $ac_status); } >/dev
/null
; then
44425 if test -s conftest.err
; then
44426 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44427 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44434 if test -z "$ac_cpp_err"; then
44435 ac_header_preproc
=yes
44437 echo "$as_me: failed program was:" >&5
44438 sed 's/^/| /' conftest.
$ac_ext >&5
44440 ac_header_preproc
=no
44442 rm -f conftest.err conftest.
$ac_ext
44443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44444 echo "${ECHO_T}$ac_header_preproc" >&6
44446 # So? What about this header?
44447 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44453 ac_header_preproc
=yes
44456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44470 ## ----------------------------------------- ##
44471 ## Report this to wx-dev@lists.wxwidgets.org ##
44472 ## ----------------------------------------- ##
44475 sed "s/^/$as_me: WARNING: /" >&2
44478 echo "$as_me:$LINENO: checking for $ac_header" >&5
44479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44481 echo $ECHO_N "(cached) $ECHO_C" >&6
44483 eval "$as_ac_Header=\$ac_header_preproc"
44485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44490 cat >>confdefs.h
<<_ACEOF
44491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44500 if test "$wxUSE_JOYSTICK" = "yes"; then
44501 cat >>confdefs.h
<<\_ACEOF
44502 #define wxUSE_JOYSTICK 1
44505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44507 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44508 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44514 if test "$wxUSE_FONTMAP" = "yes" ; then
44515 cat >>confdefs.h
<<\_ACEOF
44516 #define wxUSE_FONTMAP 1
44521 if test "$wxUSE_UNICODE" = "yes" ; then
44522 cat >>confdefs.h
<<\_ACEOF
44523 #define wxUSE_UNICODE 1
44527 if test "$USE_WIN32" != 1; then
44528 wxUSE_UNICODE_MSLU
=no
44531 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44532 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44533 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44534 if test "${ac_cv_lib_unicows_main+set}" = set; then
44535 echo $ECHO_N "(cached) $ECHO_C" >&6
44537 ac_check_lib_save_LIBS
=$LIBS
44538 LIBS
="-lunicows $LIBS"
44539 cat >conftest.
$ac_ext <<_ACEOF
44542 cat confdefs.h
>>conftest.
$ac_ext
44543 cat >>conftest.
$ac_ext <<_ACEOF
44544 /* end confdefs.h. */
44555 rm -f conftest.
$ac_objext conftest
$ac_exeext
44556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44557 (eval $ac_link) 2>conftest.er1
44559 grep -v '^ *+' conftest.er1
>conftest.err
44561 cat conftest.err
>&5
44562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44563 (exit $ac_status); } &&
44564 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44566 (eval $ac_try) 2>&5
44568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44569 (exit $ac_status); }; } &&
44570 { ac_try
='test -s conftest$ac_exeext'
44571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44572 (eval $ac_try) 2>&5
44574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44575 (exit $ac_status); }; }; then
44576 ac_cv_lib_unicows_main
=yes
44578 echo "$as_me: failed program was:" >&5
44579 sed 's/^/| /' conftest.
$ac_ext >&5
44581 ac_cv_lib_unicows_main
=no
44583 rm -f conftest.err conftest.
$ac_objext \
44584 conftest
$ac_exeext conftest.
$ac_ext
44585 LIBS
=$ac_check_lib_save_LIBS
44587 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44588 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44589 if test $ac_cv_lib_unicows_main = yes; then
44591 cat >>confdefs.h
<<\_ACEOF
44592 #define wxUSE_UNICODE_MSLU 1
44598 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44599 Applications will only run on Windows NT/2000/XP!" >&5
44600 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44601 Applications will only run on Windows NT/2000/XP!" >&2;}
44602 wxUSE_UNICODE_MSLU
=no
44609 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44610 cat >>confdefs.h
<<\_ACEOF
44611 #define wxUSE_EXPERIMENTAL_PRINTF 1
44617 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44618 cat >>confdefs.h
<<\_ACEOF
44619 #define wxUSE_POSTSCRIPT 1
44624 cat >>confdefs.h
<<\_ACEOF
44625 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44629 cat >>confdefs.h
<<\_ACEOF
44630 #define wxUSE_NORMALIZED_PS_FONTS 1
44635 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44636 cat >>confdefs.h
<<\_ACEOF
44637 #define wxUSE_CONSTRAINTS 1
44640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44643 if test "$wxUSE_MDI" = "yes"; then
44644 cat >>confdefs.h
<<\_ACEOF
44645 #define wxUSE_MDI 1
44649 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44650 cat >>confdefs.h
<<\_ACEOF
44651 #define wxUSE_MDI_ARCHITECTURE 1
44654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44658 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44659 cat >>confdefs.h
<<\_ACEOF
44660 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44664 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44669 if test "$wxUSE_HELP" = "yes"; then
44670 cat >>confdefs.h
<<\_ACEOF
44671 #define wxUSE_HELP 1
44674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44676 if test "$wxUSE_MSW" = 1; then
44677 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44678 cat >>confdefs.h
<<\_ACEOF
44679 #define wxUSE_MS_HTML_HELP 1
44685 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44686 if test "$wxUSE_HTML" = "yes"; then
44687 cat >>confdefs.h
<<\_ACEOF
44688 #define wxUSE_WXHTML_HELP 1
44692 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44693 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44694 wxUSE_WXHTML_HELP
=no
44699 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44700 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44701 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44702 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44704 cat >>confdefs.h
<<\_ACEOF
44705 #define wxUSE_PRINTING_ARCHITECTURE 1
44709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44712 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44713 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44714 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44715 { (exit 1); exit 1; }; }
44719 if test "$wxUSE_METAFILE" = "yes"; then
44720 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44721 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44722 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44728 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44729 -o "$wxUSE_CLIPBOARD" = "yes" \
44730 -o "$wxUSE_OLE" = "yes" \
44731 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44733 for ac_header
in ole2.h
44735 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44737 echo "$as_me:$LINENO: checking for $ac_header" >&5
44738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44740 echo $ECHO_N "(cached) $ECHO_C" >&6
44742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44745 # Is the header compilable?
44746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44748 cat >conftest.
$ac_ext <<_ACEOF
44751 cat confdefs.h
>>conftest.
$ac_ext
44752 cat >>conftest.
$ac_ext <<_ACEOF
44753 /* end confdefs.h. */
44754 $ac_includes_default
44755 #include <$ac_header>
44757 rm -f conftest.
$ac_objext
44758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44759 (eval $ac_compile) 2>conftest.er1
44761 grep -v '^ *+' conftest.er1
>conftest.err
44763 cat conftest.err
>&5
44764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44765 (exit $ac_status); } &&
44766 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44768 (eval $ac_try) 2>&5
44770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44771 (exit $ac_status); }; } &&
44772 { ac_try
='test -s conftest.$ac_objext'
44773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44774 (eval $ac_try) 2>&5
44776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44777 (exit $ac_status); }; }; then
44778 ac_header_compiler
=yes
44780 echo "$as_me: failed program was:" >&5
44781 sed 's/^/| /' conftest.
$ac_ext >&5
44783 ac_header_compiler
=no
44785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44787 echo "${ECHO_T}$ac_header_compiler" >&6
44789 # Is the header present?
44790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44792 cat >conftest.
$ac_ext <<_ACEOF
44795 cat confdefs.h
>>conftest.
$ac_ext
44796 cat >>conftest.
$ac_ext <<_ACEOF
44797 /* end confdefs.h. */
44798 #include <$ac_header>
44800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44803 grep -v '^ *+' conftest.er1
>conftest.err
44805 cat conftest.err
>&5
44806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44807 (exit $ac_status); } >/dev
/null
; then
44808 if test -s conftest.err
; then
44809 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44810 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44817 if test -z "$ac_cpp_err"; then
44818 ac_header_preproc
=yes
44820 echo "$as_me: failed program was:" >&5
44821 sed 's/^/| /' conftest.
$ac_ext >&5
44823 ac_header_preproc
=no
44825 rm -f conftest.err conftest.
$ac_ext
44826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44827 echo "${ECHO_T}$ac_header_preproc" >&6
44829 # So? What about this header?
44830 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44836 ac_header_preproc
=yes
44839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44853 ## ----------------------------------------- ##
44854 ## Report this to wx-dev@lists.wxwidgets.org ##
44855 ## ----------------------------------------- ##
44858 sed "s/^/$as_me: WARNING: /" >&2
44861 echo "$as_me:$LINENO: checking for $ac_header" >&5
44862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44864 echo $ECHO_N "(cached) $ECHO_C" >&6
44866 eval "$as_ac_Header=\$ac_header_preproc"
44868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44873 cat >>confdefs.h
<<_ACEOF
44874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44882 if test "$ac_cv_header_ole2_h" = "yes" ; then
44883 if test "$GCC" = yes ; then
44884 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44885 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44886 cat >conftest.
$ac_ext <<_ACEOF
44889 cat confdefs.h
>>conftest.
$ac_ext
44890 cat >>conftest.
$ac_ext <<_ACEOF
44891 /* end confdefs.h. */
44892 #include <windows.h>
44902 rm -f conftest.
$ac_objext
44903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44904 (eval $ac_compile) 2>conftest.er1
44906 grep -v '^ *+' conftest.er1
>conftest.err
44908 cat conftest.err
>&5
44909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44910 (exit $ac_status); } &&
44911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44913 (eval $ac_try) 2>&5
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); }; } &&
44917 { ac_try
='test -s conftest.$ac_objext'
44918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44919 (eval $ac_try) 2>&5
44921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44922 (exit $ac_status); }; }; then
44923 echo "$as_me:$LINENO: result: no" >&5
44924 echo "${ECHO_T}no" >&6
44926 echo "$as_me: failed program was:" >&5
44927 sed 's/^/| /' conftest.
$ac_ext >&5
44929 echo "$as_me:$LINENO: result: yes" >&5
44930 echo "${ECHO_T}yes" >&6
44931 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44934 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44935 if test "$wxUSE_OLE" = "yes" ; then
44936 cat >>confdefs.h
<<\_ACEOF
44937 #define wxUSE_OLE 1
44940 cat >>confdefs.h
<<\_ACEOF
44941 #define wxUSE_OLE_AUTOMATION 1
44944 cat >>confdefs.h
<<\_ACEOF
44945 #define wxUSE_OLE_ACTIVEX 1
44948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44952 if test "$wxUSE_DATAOBJ" = "yes" ; then
44953 cat >>confdefs.h
<<\_ACEOF
44954 #define wxUSE_DATAOBJ 1
44959 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44960 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44963 wxUSE_DRAG_AND_DROP
=no
44968 if test "$wxUSE_METAFILE" = "yes"; then
44969 cat >>confdefs.h
<<\_ACEOF
44970 #define wxUSE_METAFILE 1
44974 cat >>confdefs.h
<<\_ACEOF
44975 #define wxUSE_ENH_METAFILE 1
44981 if test "$wxUSE_IPC" = "yes"; then
44982 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44983 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44984 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44988 if test "$wxUSE_IPC" = "yes"; then
44989 cat >>confdefs.h
<<\_ACEOF
44990 #define wxUSE_IPC 1
44993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44997 if test "$wxUSE_DATAOBJ" = "yes"; then
44998 if test "$wxUSE_MGL" = 1; then
44999 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45000 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45003 cat >>confdefs.h
<<\_ACEOF
45004 #define wxUSE_DATAOBJ 1
45009 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45010 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45012 wxUSE_DRAG_AND_DROP
=no
45015 if test "$wxUSE_CLIPBOARD" = "yes"; then
45016 if test "$wxUSE_MGL" = 1; then
45017 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45018 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45022 if test "$wxUSE_CLIPBOARD" = "yes"; then
45023 cat >>confdefs.h
<<\_ACEOF
45024 #define wxUSE_CLIPBOARD 1
45030 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45031 if test "$wxUSE_GTK" = 1; then
45032 if test "$WXGTK12" != 1; then
45033 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45034 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45035 wxUSE_DRAG_AND_DROP
=no
45039 if test "$wxUSE_MOTIF" = 1; then
45040 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45041 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45042 wxUSE_DRAG_AND_DROP
=no
45045 if test "$wxUSE_X11" = 1; then
45046 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45047 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45048 wxUSE_DRAG_AND_DROP
=no
45051 if test "$wxUSE_MGL" = 1; then
45052 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45053 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45054 wxUSE_DRAG_AND_DROP
=no
45057 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45058 cat >>confdefs.h
<<\_ACEOF
45059 #define wxUSE_DRAG_AND_DROP 1
45066 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45070 if test "$wxUSE_SPLINES" = "yes" ; then
45071 cat >>confdefs.h
<<\_ACEOF
45072 #define wxUSE_SPLINES 1
45077 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45078 cat >>confdefs.h
<<\_ACEOF
45079 #define wxUSE_MOUSEWHEEL 1
45086 if test "$wxUSE_CONTROLS" = "yes"; then
45090 if test "$wxUSE_ACCEL" = "yes"; then
45091 cat >>confdefs.h
<<\_ACEOF
45092 #define wxUSE_ACCEL 1
45098 if test "$wxUSE_BUTTON" = "yes"; then
45099 cat >>confdefs.h
<<\_ACEOF
45100 #define wxUSE_BUTTON 1
45106 if test "$wxUSE_BMPBUTTON" = "yes"; then
45107 cat >>confdefs.h
<<\_ACEOF
45108 #define wxUSE_BMPBUTTON 1
45114 if test "$wxUSE_CALCTRL" = "yes"; then
45115 cat >>confdefs.h
<<\_ACEOF
45116 #define wxUSE_CALENDARCTRL 1
45120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45123 if test "$wxUSE_CARET" = "yes"; then
45124 cat >>confdefs.h
<<\_ACEOF
45125 #define wxUSE_CARET 1
45129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45132 if test "$wxUSE_COMBOBOX" = "yes"; then
45133 cat >>confdefs.h
<<\_ACEOF
45134 #define wxUSE_COMBOBOX 1
45140 if test "$wxUSE_COMBOCTRL" = "yes"; then
45141 cat >>confdefs.h
<<\_ACEOF
45142 #define wxUSE_COMBOCTRL 1
45148 if test "$wxUSE_CHOICE" = "yes"; then
45149 cat >>confdefs.h
<<\_ACEOF
45150 #define wxUSE_CHOICE 1
45156 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45157 cat >>confdefs.h
<<\_ACEOF
45158 #define wxUSE_CHOICEBOOK 1
45164 if test "$wxUSE_CHECKBOX" = "yes"; then
45165 cat >>confdefs.h
<<\_ACEOF
45166 #define wxUSE_CHECKBOX 1
45172 if test "$wxUSE_CHECKLST" = "yes"; then
45173 cat >>confdefs.h
<<\_ACEOF
45174 #define wxUSE_CHECKLISTBOX 1
45178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45181 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45182 cat >>confdefs.h
<<\_ACEOF
45183 #define wxUSE_COLOURPICKERCTRL 1
45189 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45190 cat >>confdefs.h
<<\_ACEOF
45191 #define wxUSE_DATEPICKCTRL 1
45197 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45198 cat >>confdefs.h
<<\_ACEOF
45199 #define wxUSE_DIRPICKERCTRL 1
45205 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45206 cat >>confdefs.h
<<\_ACEOF
45207 #define wxUSE_FILEPICKERCTRL 1
45213 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45214 cat >>confdefs.h
<<\_ACEOF
45215 #define wxUSE_FONTPICKERCTRL 1
45221 if test "$wxUSE_DISPLAY" = "yes"; then
45222 cat >>confdefs.h
<<\_ACEOF
45223 #define wxUSE_DISPLAY 1
45226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45229 if test "$wxUSE_GAUGE" = "yes"; then
45230 cat >>confdefs.h
<<\_ACEOF
45231 #define wxUSE_GAUGE 1
45237 if test "$wxUSE_GRID" = "yes"; then
45238 cat >>confdefs.h
<<\_ACEOF
45239 #define wxUSE_GRID 1
45243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45246 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45247 cat >>confdefs.h
<<\_ACEOF
45248 #define wxUSE_HYPERLINKCTRL 1
45254 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_BITMAPCOMBOBOX 1
45262 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45263 cat >>confdefs.h
<<\_ACEOF
45264 #define wxUSE_DATAVIEWCTRL 1
45268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45271 if test "$wxUSE_IMAGLIST" = "yes"; then
45272 cat >>confdefs.h
<<\_ACEOF
45273 #define wxUSE_IMAGLIST 1
45278 if test "$wxUSE_LISTBOOK" = "yes"; then
45279 cat >>confdefs.h
<<\_ACEOF
45280 #define wxUSE_LISTBOOK 1
45286 if test "$wxUSE_LISTBOX" = "yes"; then
45287 cat >>confdefs.h
<<\_ACEOF
45288 #define wxUSE_LISTBOX 1
45292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45295 if test "$wxUSE_LISTCTRL" = "yes"; then
45296 if test "$wxUSE_IMAGLIST" = "yes"; then
45297 cat >>confdefs.h
<<\_ACEOF
45298 #define wxUSE_LISTCTRL 1
45302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45304 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45305 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45309 if test "$wxUSE_NOTEBOOK" = "yes"; then
45310 cat >>confdefs.h
<<\_ACEOF
45311 #define wxUSE_NOTEBOOK 1
45315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45318 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45319 cat >>confdefs.h
<<\_ACEOF
45320 #define wxUSE_ODCOMBOBOX 1
45324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45328 if test "$wxUSE_RADIOBOX" = "yes"; then
45329 cat >>confdefs.h
<<\_ACEOF
45330 #define wxUSE_RADIOBOX 1
45336 if test "$wxUSE_RADIOBTN" = "yes"; then
45337 cat >>confdefs.h
<<\_ACEOF
45338 #define wxUSE_RADIOBTN 1
45344 if test "$wxUSE_SASH" = "yes"; then
45345 cat >>confdefs.h
<<\_ACEOF
45346 #define wxUSE_SASH 1
45349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45352 if test "$wxUSE_SCROLLBAR" = "yes"; then
45353 cat >>confdefs.h
<<\_ACEOF
45354 #define wxUSE_SCROLLBAR 1
45358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45361 if test "$wxUSE_SLIDER" = "yes"; then
45362 cat >>confdefs.h
<<\_ACEOF
45363 #define wxUSE_SLIDER 1
45369 if test "$wxUSE_SPINBTN" = "yes"; then
45370 cat >>confdefs.h
<<\_ACEOF
45371 #define wxUSE_SPINBTN 1
45377 if test "$wxUSE_SPINCTRL" = "yes"; then
45378 cat >>confdefs.h
<<\_ACEOF
45379 #define wxUSE_SPINCTRL 1
45385 if test "$wxUSE_SPLITTER" = "yes"; then
45386 cat >>confdefs.h
<<\_ACEOF
45387 #define wxUSE_SPLITTER 1
45390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45393 if test "$wxUSE_STATBMP" = "yes"; then
45394 cat >>confdefs.h
<<\_ACEOF
45395 #define wxUSE_STATBMP 1
45401 if test "$wxUSE_STATBOX" = "yes"; then
45402 cat >>confdefs.h
<<\_ACEOF
45403 #define wxUSE_STATBOX 1
45409 if test "$wxUSE_STATTEXT" = "yes"; then
45410 cat >>confdefs.h
<<\_ACEOF
45411 #define wxUSE_STATTEXT 1
45417 if test "$wxUSE_STATLINE" = "yes"; then
45418 cat >>confdefs.h
<<\_ACEOF
45419 #define wxUSE_STATLINE 1
45425 if test "$wxUSE_STATUSBAR" = "yes"; then
45426 cat >>confdefs.h
<<\_ACEOF
45427 #define wxUSE_NATIVE_STATUSBAR 1
45430 cat >>confdefs.h
<<\_ACEOF
45431 #define wxUSE_STATUSBAR 1
45436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45439 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45440 cat >>confdefs.h
<<\_ACEOF
45441 #define wxUSE_TAB_DIALOG 1
45446 if test "$wxUSE_TEXTCTRL" = "yes"; then
45447 cat >>confdefs.h
<<\_ACEOF
45448 #define wxUSE_TEXTCTRL 1
45452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45455 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45456 if test "$wxUSE_COCOA" = 1 ; then
45457 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45458 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45462 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45463 cat >>confdefs.h
<<\_ACEOF
45464 #define wxUSE_TOGGLEBTN 1
45471 if test "$wxUSE_TOOLBAR" = "yes"; then
45472 cat >>confdefs.h
<<\_ACEOF
45473 #define wxUSE_TOOLBAR 1
45478 if test "$wxUSE_UNIVERSAL" = "yes"; then
45479 wxUSE_TOOLBAR_NATIVE
="no"
45481 wxUSE_TOOLBAR_NATIVE
="yes"
45482 cat >>confdefs.h
<<\_ACEOF
45483 #define wxUSE_TOOLBAR_NATIVE 1
45488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45491 if test "$wxUSE_TOOLTIPS" = "yes"; then
45492 if test "$wxUSE_MOTIF" = 1; then
45493 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45494 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45496 if test "$wxUSE_UNIVERSAL" = "yes"; then
45497 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45498 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45500 cat >>confdefs.h
<<\_ACEOF
45501 #define wxUSE_TOOLTIPS 1
45508 if test "$wxUSE_TREEBOOK" = "yes"; then
45509 cat >>confdefs.h
<<\_ACEOF
45510 #define wxUSE_TREEBOOK 1
45516 if test "$wxUSE_TOOLBOOK" = "yes"; then
45517 cat >>confdefs.h
<<\_ACEOF
45518 #define wxUSE_TOOLBOOK 1
45524 if test "$wxUSE_TREECTRL" = "yes"; then
45525 if test "$wxUSE_IMAGLIST" = "yes"; then
45526 cat >>confdefs.h
<<\_ACEOF
45527 #define wxUSE_TREECTRL 1
45531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45533 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45534 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45538 if test "$wxUSE_POPUPWIN" = "yes"; then
45539 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45540 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45541 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45543 if test "$wxUSE_PM" = 1; then
45544 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45545 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45547 cat >>confdefs.h
<<\_ACEOF
45548 #define wxUSE_POPUPWIN 1
45551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45558 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45559 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45560 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45561 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45563 cat >>confdefs.h
<<\_ACEOF
45564 #define wxUSE_DIALUP_MANAGER 1
45567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45571 if test "$wxUSE_TIPWINDOW" = "yes"; then
45572 if test "$wxUSE_PM" = 1; then
45573 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45574 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45576 cat >>confdefs.h
<<\_ACEOF
45577 #define wxUSE_TIPWINDOW 1
45583 if test "$USES_CONTROLS" = 1; then
45584 cat >>confdefs.h
<<\_ACEOF
45585 #define wxUSE_CONTROLS 1
45591 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45592 cat >>confdefs.h
<<\_ACEOF
45593 #define wxUSE_ACCESSIBILITY 1
45596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45599 if test "$wxUSE_DC_CACHEING" = "yes"; then
45600 cat >>confdefs.h
<<\_ACEOF
45601 #define wxUSE_DC_CACHEING 1
45606 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45607 cat >>confdefs.h
<<\_ACEOF
45608 #define wxUSE_DRAGIMAGE 1
45611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45614 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45615 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45616 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45617 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45619 cat >>confdefs.h
<<\_ACEOF
45620 #define wxUSE_EXCEPTIONS 1
45623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45628 if test "$wxUSE_HTML" = "yes"; then
45629 cat >>confdefs.h
<<\_ACEOF
45630 #define wxUSE_HTML 1
45634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45635 if test "$wxUSE_MAC" = 1; then
45636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45639 if test "$wxUSE_WEBKIT" = "yes"; then
45640 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45641 old_CPPFLAGS
="$CPPFLAGS"
45642 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45643 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45644 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45645 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45646 echo $ECHO_N "(cached) $ECHO_C" >&6
45648 cat >conftest.
$ac_ext <<_ACEOF
45651 cat confdefs.h
>>conftest.
$ac_ext
45652 cat >>conftest.
$ac_ext <<_ACEOF
45653 /* end confdefs.h. */
45654 #include <Carbon/Carbon.h>
45656 #include <WebKit/HIWebView.h>
45658 rm -f conftest.
$ac_objext
45659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45660 (eval $ac_compile) 2>conftest.er1
45662 grep -v '^ *+' conftest.er1
>conftest.err
45664 cat conftest.err
>&5
45665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45666 (exit $ac_status); } &&
45667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45669 (eval $ac_try) 2>&5
45671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45672 (exit $ac_status); }; } &&
45673 { ac_try
='test -s conftest.$ac_objext'
45674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45675 (eval $ac_try) 2>&5
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); }; }; then
45679 ac_cv_header_WebKit_HIWebView_h
=yes
45681 echo "$as_me: failed program was:" >&5
45682 sed 's/^/| /' conftest.
$ac_ext >&5
45684 ac_cv_header_WebKit_HIWebView_h
=no
45686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45688 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45689 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45690 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_WEBKIT 1
45696 WEBKIT_LINK
="-framework WebKit"
45700 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45701 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45707 CPPFLAGS
="$old_CPPFLAGS"
45708 elif test "$wxUSE_COCOA" = 1; then
45709 cat >>confdefs.h
<<\_ACEOF
45710 #define wxUSE_WEBKIT 1
45719 if test "$wxUSE_XRC" = "yes"; then
45720 if test "$wxUSE_XML" != "yes"; then
45721 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45722 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45725 cat >>confdefs.h
<<\_ACEOF
45726 #define wxUSE_XRC 1
45730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45735 if test "$wxUSE_AUI" = "yes"; then
45736 cat >>confdefs.h
<<\_ACEOF
45737 #define wxUSE_AUI 1
45741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45744 if test "$wxUSE_MENUS" = "yes"; then
45745 cat >>confdefs.h
<<\_ACEOF
45746 #define wxUSE_MENUS 1
45749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45752 if test "$wxUSE_METAFILE" = "yes"; then
45753 cat >>confdefs.h
<<\_ACEOF
45754 #define wxUSE_METAFILE 1
45759 if test "$wxUSE_MIMETYPE" = "yes"; then
45760 cat >>confdefs.h
<<\_ACEOF
45761 #define wxUSE_MIMETYPE 1
45766 if test "$wxUSE_MINIFRAME" = "yes"; then
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_MINIFRAME 1
45771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45774 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45775 cat >>confdefs.h
<<\_ACEOF
45776 #define wxUSE_SYSTEM_OPTIONS 1
45779 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45780 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45786 if test "$wxUSE_VALIDATORS" = "yes"; then
45787 cat >>confdefs.h
<<\_ACEOF
45788 #define wxUSE_VALIDATORS 1
45791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45794 if test "$wxUSE_PALETTE" = "yes" ; then
45795 cat >>confdefs.h
<<\_ACEOF
45796 #define wxUSE_PALETTE 1
45801 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45802 LIBS
=" -lunicows $LIBS"
45806 if test "$wxUSE_RICHTEXT" = "yes"; then
45807 cat >>confdefs.h
<<\_ACEOF
45808 #define wxUSE_RICHTEXT 1
45812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45815 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45816 cat >>confdefs.h
<<\_ACEOF
45817 #define wxUSE_GRAPHICS_CONTEXT 1
45823 if test "$wxUSE_IMAGE" = "yes" ; then
45824 cat >>confdefs.h
<<\_ACEOF
45825 #define wxUSE_IMAGE 1
45829 if test "$wxUSE_GIF" = "yes" ; then
45830 cat >>confdefs.h
<<\_ACEOF
45831 #define wxUSE_GIF 1
45836 if test "$wxUSE_PCX" = "yes" ; then
45837 cat >>confdefs.h
<<\_ACEOF
45838 #define wxUSE_PCX 1
45843 if test "$wxUSE_IFF" = "yes" ; then
45844 cat >>confdefs.h
<<\_ACEOF
45845 #define wxUSE_IFF 1
45850 if test "$wxUSE_PNM" = "yes" ; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_PNM 1
45857 if test "$wxUSE_XPM" = "yes" ; then
45858 cat >>confdefs.h
<<\_ACEOF
45859 #define wxUSE_XPM 1
45864 if test "$wxUSE_ICO_CUR" = "yes" ; then
45865 cat >>confdefs.h
<<\_ACEOF
45866 #define wxUSE_ICO_CUR 1
45873 if test "$wxUSE_CHOICEDLG" = "yes"; then
45874 cat >>confdefs.h
<<\_ACEOF
45875 #define wxUSE_CHOICEDLG 1
45880 if test "$wxUSE_COLOURDLG" = "yes"; then
45881 cat >>confdefs.h
<<\_ACEOF
45882 #define wxUSE_COLOURDLG 1
45887 if test "$wxUSE_FILEDLG" = "yes"; then
45888 cat >>confdefs.h
<<\_ACEOF
45889 #define wxUSE_FILEDLG 1
45894 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45895 cat >>confdefs.h
<<\_ACEOF
45896 #define wxUSE_FINDREPLDLG 1
45901 if test "$wxUSE_FONTDLG" = "yes"; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_FONTDLG 1
45908 if test "$wxUSE_DIRDLG" = "yes"; then
45909 if test "$wxUSE_TREECTRL" != "yes"; then
45910 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45911 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45913 cat >>confdefs.h
<<\_ACEOF
45914 #define wxUSE_DIRDLG 1
45920 if test "$wxUSE_MSGDLG" = "yes"; then
45921 cat >>confdefs.h
<<\_ACEOF
45922 #define wxUSE_MSGDLG 1
45927 if test "$wxUSE_NUMBERDLG" = "yes"; then
45928 cat >>confdefs.h
<<\_ACEOF
45929 #define wxUSE_NUMBERDLG 1
45934 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45935 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45936 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45937 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_PROGRESSDLG 1
45946 if test "$wxUSE_SPLASH" = "yes"; then
45947 cat >>confdefs.h
<<\_ACEOF
45948 #define wxUSE_SPLASH 1
45951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45954 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45955 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45956 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45957 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45959 cat >>confdefs.h
<<\_ACEOF
45960 #define wxUSE_STARTUP_TIPS 1
45966 if test "$wxUSE_TEXTDLG" = "yes"; then
45967 cat >>confdefs.h
<<\_ACEOF
45968 #define wxUSE_TEXTDLG 1
45973 if test "$wxUSE_WIZARDDLG" = "yes"; then
45974 cat >>confdefs.h
<<\_ACEOF
45975 #define wxUSE_WIZARDDLG 1
45978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45984 if test "$wxUSE_MEDIACTRL" = "yes"; then
45987 if test "$wxUSE_GTK" = 1; then
45988 wxUSE_GSTREAMER
="no"
45990 GST_VERSION_MAJOR
=0
45991 GST_VERSION_MINOR
=10
45992 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45994 if test "$wxUSE_GSTREAMER8" = "no"; then
45997 echo "$as_me:$LINENO: checking for GST" >&5
45998 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46000 if test -n "$PKG_CONFIG"; then
46001 if test -n "$GST_CFLAGS"; then
46002 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46004 if test -n "$PKG_CONFIG" && \
46005 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46006 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46009 (exit $ac_status); }; then
46010 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46018 if test -n "$PKG_CONFIG"; then
46019 if test -n "$GST_LIBS"; then
46020 pkg_cv_GST_LIBS
="$GST_LIBS"
46022 if test -n "$PKG_CONFIG" && \
46023 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46024 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46027 (exit $ac_status); }; then
46028 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46039 if test $pkg_failed = yes; then
46041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46042 _pkg_short_errors_supported
=yes
46044 _pkg_short_errors_supported
=no
46046 if test $_pkg_short_errors_supported = yes; then
46047 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46049 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46051 # Put the nasty error message in config.log where it belongs
46052 echo "$GST_PKG_ERRORS" >&5
46055 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46056 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46057 GST_VERSION_MINOR
=8
46060 elif test $pkg_failed = untried
; then
46062 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46063 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46064 GST_VERSION_MINOR
=8
46068 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46069 GST_LIBS
=$pkg_cv_GST_LIBS
46070 echo "$as_me:$LINENO: result: yes" >&5
46071 echo "${ECHO_T}yes" >&6
46073 wxUSE_GSTREAMER
="yes"
46074 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46078 GST_VERSION_MINOR
=8
46081 if test $GST_VERSION_MINOR = "8"; then
46082 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46085 echo "$as_me:$LINENO: checking for GST" >&5
46086 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46088 if test -n "$PKG_CONFIG"; then
46089 if test -n "$GST_CFLAGS"; then
46090 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46092 if test -n "$PKG_CONFIG" && \
46093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46094 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46097 (exit $ac_status); }; then
46098 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46106 if test -n "$PKG_CONFIG"; then
46107 if test -n "$GST_LIBS"; then
46108 pkg_cv_GST_LIBS
="$GST_LIBS"
46110 if test -n "$PKG_CONFIG" && \
46111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46112 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46115 (exit $ac_status); }; then
46116 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46127 if test $pkg_failed = yes; then
46129 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46130 _pkg_short_errors_supported
=yes
46132 _pkg_short_errors_supported
=no
46134 if test $_pkg_short_errors_supported = yes; then
46135 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46137 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46139 # Put the nasty error message in config.log where it belongs
46140 echo "$GST_PKG_ERRORS" >&5
46143 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46144 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46146 elif test $pkg_failed = untried
; then
46148 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46149 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46152 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46153 GST_LIBS
=$pkg_cv_GST_LIBS
46154 echo "$as_me:$LINENO: result: yes" >&5
46155 echo "${ECHO_T}yes" >&6
46156 wxUSE_GSTREAMER
="yes"
46161 if test "$wxUSE_GSTREAMER" = "yes"; then
46164 if "$GCC" = yes; then
46165 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46166 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46170 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46171 LIBS
="$GST_LIBS $LIBS"
46173 cat >>confdefs.h
<<\_ACEOF
46174 #define wxUSE_GSTREAMER 1
46182 if test $USE_MEDIA = 1; then
46183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46184 cat >>confdefs.h
<<\_ACEOF
46185 #define wxUSE_MEDIACTRL 1
46192 if test "$cross_compiling" = "yes"; then
46195 OSINFO
=`uname -s -r -m`
46196 OSINFO
="\"$OSINFO\""
46199 cat >>confdefs.h
<<_ACEOF
46200 #define WXWIN_OS_DESCRIPTION $OSINFO
46205 if test "x$prefix" != "xNONE"; then
46208 wxPREFIX
=$ac_default_prefix
46211 cat >>confdefs.h
<<_ACEOF
46212 #define wxINSTALL_PREFIX "$wxPREFIX"
46218 CORE_BASE_LIBS
="net base"
46219 CORE_GUI_LIBS
="adv core"
46221 if test "$wxUSE_XML" = "yes" ; then
46222 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46224 if test "$wxUSE_ODBC" != "no" ; then
46225 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46226 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46228 if test "$wxUSE_HTML" = "yes" ; then
46229 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46231 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46232 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46234 if test "$wxUSE_XRC" = "yes" ; then
46235 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46237 if test "$wxUSE_AUI" = "yes" ; then
46238 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46241 if test "$wxUSE_GUI" != "yes"; then
46250 ac_cpp
='$CPP $CPPFLAGS'
46251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46257 if test "$wxUSE_MAC" = 1 ; then
46258 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46259 if test "$USE_DARWIN" = 1; then
46260 LDFLAGS
="$LDFLAGS -framework QuickTime"
46262 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46265 if test "$USE_DARWIN" = 1; then
46266 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46268 LDFLAGS
="$LDFLAGS -lCarbonLib"
46271 if test "$wxUSE_COCOA" = 1 ; then
46272 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46273 if test "$wxUSE_MEDIACTRL" = "yes"; then
46274 LDFLAGS
="$LDFLAGS -framework QuickTime"
46277 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46278 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46281 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46283 if test "$wxUSE_GUI" = "yes"; then
46286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46287 dynamic erase event exec font image minimal mobile \
46288 mobile/wxedit mobile/styles propsize render \
46289 rotate shaped vscroll widgets"
46291 if test "$wxUSE_MONOLITHIC" != "yes"; then
46292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46294 if test "$TOOLKIT" = "MSW"; then
46295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46296 if test "$wxUSE_UNIVERSAL" != "yes"; then
46297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46300 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46304 SAMPLES_SUBDIRS
="console"
46308 if test "x$INTELCC" = "xyes" ; then
46309 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46310 elif test "$GCC" = yes ; then
46311 CWARNINGS
="-Wall -Wundef"
46314 if test "x$INTELCXX" = "xyes" ; then
46315 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46316 elif test "$GXX" = yes ; then
46317 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46321 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46322 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46325 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46326 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46327 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46330 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46331 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46332 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46334 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46337 if test "x$MWCC" = "xyes"; then
46339 CC
="$CC -cwd source -I-"
46340 CXX
="$CXX -cwd source -I-"
46345 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46346 EXTRALIBS_XML
="$EXPAT_LINK"
46347 EXTRALIBS_HTML
="$MSPACK_LINK"
46348 EXTRALIBS_ODBC
="$ODBC_LINK"
46349 if test "$wxUSE_GUI" = "yes"; then
46350 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46352 if test "$wxUSE_OPENGL" = "yes"; then
46353 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46356 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46358 WXCONFIG_LIBS
="$LIBS"
46360 if test "$wxUSE_REGEX" = "builtin" ; then
46361 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46363 if test "$wxUSE_EXPAT" = "builtin" ; then
46364 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46366 if test "$wxUSE_ODBC" = "builtin" ; then
46367 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46369 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46370 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46372 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46373 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46375 if test "$wxUSE_LIBPNG" = "builtin" ; then
46376 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46378 if test "$wxUSE_ZLIB" = "builtin" ; then
46379 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46382 for i
in $wxconfig_3rdparty ; do
46383 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46387 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46390 case "$wxUNIV_THEMES" in
46392 cat >>confdefs.h
<<\_ACEOF
46393 #define wxUSE_ALL_THEMES 1
46399 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46400 cat >>confdefs.h
<<_ACEOF
46401 #define wxUSE_THEME_$t 1
46418 if test $wxUSE_MONOLITHIC = "yes" ; then
46424 if test $wxUSE_PLUGINS = "yes" ; then
46430 if test $wxUSE_ODBC != "no" ; then
46436 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46442 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46472 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46483 TOOLKIT_DESC
="GTK+"
46484 if test "$WXGTK20" = 1; then
46485 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46486 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46487 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46489 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46490 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46492 if test "$wxUSE_LIBHILDON" = "yes"; then
46493 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46496 if test "$TOOLKIT_EXTRA" != ""; then
46497 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46503 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46507 TOOLKIT_DESC
="base only"
46511 if test "$wxUSE_WINE" = "yes"; then
46512 BAKEFILE_FORCE_PLATFORM
=win32
46515 if test "$wxUSE_MAC" = 1 ; then
46516 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46517 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46518 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46520 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46522 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46523 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46524 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46525 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46528 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46529 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46535 if test "x$BAKEFILE_HOST" = "x"; then
46536 if test "x${host}" = "x" ; then
46537 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46538 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46539 { (exit 1); exit 1; }; }
46542 BAKEFILE_HOST
="${host}"
46545 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46547 if test -n "$ac_tool_prefix"; then
46548 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46549 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46550 echo "$as_me:$LINENO: checking for $ac_word" >&5
46551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46552 if test "${ac_cv_prog_RANLIB+set}" = set; then
46553 echo $ECHO_N "(cached) $ECHO_C" >&6
46555 if test -n "$RANLIB"; then
46556 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46559 for as_dir
in $PATH
46562 test -z "$as_dir" && as_dir
=.
46563 for ac_exec_ext
in '' $ac_executable_extensions; do
46564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46565 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46574 RANLIB
=$ac_cv_prog_RANLIB
46575 if test -n "$RANLIB"; then
46576 echo "$as_me:$LINENO: result: $RANLIB" >&5
46577 echo "${ECHO_T}$RANLIB" >&6
46579 echo "$as_me:$LINENO: result: no" >&5
46580 echo "${ECHO_T}no" >&6
46584 if test -z "$ac_cv_prog_RANLIB"; then
46585 ac_ct_RANLIB
=$RANLIB
46586 # Extract the first word of "ranlib", so it can be a program name with args.
46587 set dummy ranlib
; ac_word
=$2
46588 echo "$as_me:$LINENO: checking for $ac_word" >&5
46589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46590 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46591 echo $ECHO_N "(cached) $ECHO_C" >&6
46593 if test -n "$ac_ct_RANLIB"; then
46594 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46597 for as_dir
in $PATH
46600 test -z "$as_dir" && as_dir
=.
46601 for ac_exec_ext
in '' $ac_executable_extensions; do
46602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46603 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46610 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46613 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46614 if test -n "$ac_ct_RANLIB"; then
46615 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46616 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46618 echo "$as_me:$LINENO: result: no" >&5
46619 echo "${ECHO_T}no" >&6
46622 RANLIB
=$ac_ct_RANLIB
46624 RANLIB
="$ac_cv_prog_RANLIB"
46627 # Find a good install program. We prefer a C program (faster),
46628 # so one script is as good as another. But avoid the broken or
46629 # incompatible versions:
46630 # SysV /etc/install, /usr/sbin/install
46631 # SunOS /usr/etc/install
46632 # IRIX /sbin/install
46634 # AmigaOS /C/install, which installs bootblocks on floppy discs
46635 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46636 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46637 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46638 # OS/2's system install, which has a completely different semantic
46639 # ./install, which can be erroneously created by make from ./install.sh.
46640 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46641 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46642 if test -z "$INSTALL"; then
46643 if test "${ac_cv_path_install+set}" = set; then
46644 echo $ECHO_N "(cached) $ECHO_C" >&6
46646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46647 for as_dir
in $PATH
46650 test -z "$as_dir" && as_dir
=.
46651 # Account for people who put trailing slashes in PATH elements.
46653 .
/ | .
// | /cC
/* | \
46654 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46655 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46658 # OSF1 and SCO ODT 3.0 have their own names for install.
46659 # Don't use installbsd from OSF since it installs stuff as root
46661 for ac_prog
in ginstall scoinst
install; do
46662 for ac_exec_ext
in '' $ac_executable_extensions; do
46663 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46664 if test $ac_prog = install &&
46665 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46666 # AIX install. It has an incompatible calling convention.
46668 elif test $ac_prog = install &&
46669 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46670 # program-specific install script used by HP pwplus--don't use.
46673 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46685 if test "${ac_cv_path_install+set}" = set; then
46686 INSTALL
=$ac_cv_path_install
46688 # As a last resort, use the slow shell script. We don't cache a
46689 # path for INSTALL within a source directory, because that will
46690 # break other packages using the cache if that directory is
46691 # removed, or if the path is relative.
46692 INSTALL
=$ac_install_sh
46695 echo "$as_me:$LINENO: result: $INSTALL" >&5
46696 echo "${ECHO_T}$INSTALL" >&6
46698 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46699 # It thinks the first close brace ends the variable substitution.
46700 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46702 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46704 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46706 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46707 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46709 if test "$LN_S" = "ln -s"; then
46710 echo "$as_me:$LINENO: result: yes" >&5
46711 echo "${ECHO_T}yes" >&6
46713 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46714 echo "${ECHO_T}no, using $LN_S" >&6
46718 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46719 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46720 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46721 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46722 echo $ECHO_N "(cached) $ECHO_C" >&6
46724 cat >conftest.
make <<\_ACEOF
46726 @
echo 'ac_maketemp="$(MAKE)"'
46728 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46729 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46730 if test -n "$ac_maketemp"; then
46731 eval ac_cv_prog_make_
${ac_make}_set
=yes
46733 eval ac_cv_prog_make_
${ac_make}_set
=no
46735 rm -f conftest.
make
46737 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46738 echo "$as_me:$LINENO: result: yes" >&5
46739 echo "${ECHO_T}yes" >&6
46742 echo "$as_me:$LINENO: result: no" >&5
46743 echo "${ECHO_T}no" >&6
46744 SET_MAKE
="MAKE=${MAKE-make}"
46749 if test -n "$ac_tool_prefix"; then
46750 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46751 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46752 echo "$as_me:$LINENO: checking for $ac_word" >&5
46753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46754 if test "${ac_cv_prog_AR+set}" = set; then
46755 echo $ECHO_N "(cached) $ECHO_C" >&6
46757 if test -n "$AR"; then
46758 ac_cv_prog_AR
="$AR" # Let the user override the test.
46760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46761 for as_dir
in $PATH
46764 test -z "$as_dir" && as_dir
=.
46765 for ac_exec_ext
in '' $ac_executable_extensions; do
46766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46767 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46777 if test -n "$AR"; then
46778 echo "$as_me:$LINENO: result: $AR" >&5
46779 echo "${ECHO_T}$AR" >&6
46781 echo "$as_me:$LINENO: result: no" >&5
46782 echo "${ECHO_T}no" >&6
46786 if test -z "$ac_cv_prog_AR"; then
46788 # Extract the first word of "ar", so it can be a program name with args.
46789 set dummy
ar; ac_word
=$2
46790 echo "$as_me:$LINENO: checking for $ac_word" >&5
46791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46792 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46793 echo $ECHO_N "(cached) $ECHO_C" >&6
46795 if test -n "$ac_ct_AR"; then
46796 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46799 for as_dir
in $PATH
46802 test -z "$as_dir" && as_dir
=.
46803 for ac_exec_ext
in '' $ac_executable_extensions; do
46804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46805 ac_cv_prog_ac_ct_AR
="ar"
46806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46812 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46815 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46816 if test -n "$ac_ct_AR"; then
46817 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46818 echo "${ECHO_T}$ac_ct_AR" >&6
46820 echo "$as_me:$LINENO: result: no" >&5
46821 echo "${ECHO_T}no" >&6
46826 AR
="$ac_cv_prog_AR"
46829 if test -n "$ac_tool_prefix"; then
46830 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46831 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46832 echo "$as_me:$LINENO: checking for $ac_word" >&5
46833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46834 if test "${ac_cv_prog_STRIP+set}" = set; then
46835 echo $ECHO_N "(cached) $ECHO_C" >&6
46837 if test -n "$STRIP"; then
46838 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46841 for as_dir
in $PATH
46844 test -z "$as_dir" && as_dir
=.
46845 for ac_exec_ext
in '' $ac_executable_extensions; do
46846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46847 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46856 STRIP
=$ac_cv_prog_STRIP
46857 if test -n "$STRIP"; then
46858 echo "$as_me:$LINENO: result: $STRIP" >&5
46859 echo "${ECHO_T}$STRIP" >&6
46861 echo "$as_me:$LINENO: result: no" >&5
46862 echo "${ECHO_T}no" >&6
46866 if test -z "$ac_cv_prog_STRIP"; then
46868 # Extract the first word of "strip", so it can be a program name with args.
46869 set dummy strip
; ac_word
=$2
46870 echo "$as_me:$LINENO: checking for $ac_word" >&5
46871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46872 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46873 echo $ECHO_N "(cached) $ECHO_C" >&6
46875 if test -n "$ac_ct_STRIP"; then
46876 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46879 for as_dir
in $PATH
46882 test -z "$as_dir" && as_dir
=.
46883 for ac_exec_ext
in '' $ac_executable_extensions; do
46884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46885 ac_cv_prog_ac_ct_STRIP
="strip"
46886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46892 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46895 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46896 if test -n "$ac_ct_STRIP"; then
46897 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46898 echo "${ECHO_T}$ac_ct_STRIP" >&6
46900 echo "$as_me:$LINENO: result: no" >&5
46901 echo "${ECHO_T}no" >&6
46906 STRIP
="$ac_cv_prog_STRIP"
46909 if test -n "$ac_tool_prefix"; then
46910 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46911 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46912 echo "$as_me:$LINENO: checking for $ac_word" >&5
46913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46914 if test "${ac_cv_prog_NM+set}" = set; then
46915 echo $ECHO_N "(cached) $ECHO_C" >&6
46917 if test -n "$NM"; then
46918 ac_cv_prog_NM
="$NM" # Let the user override the test.
46920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46921 for as_dir
in $PATH
46924 test -z "$as_dir" && as_dir
=.
46925 for ac_exec_ext
in '' $ac_executable_extensions; do
46926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46927 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46937 if test -n "$NM"; then
46938 echo "$as_me:$LINENO: result: $NM" >&5
46939 echo "${ECHO_T}$NM" >&6
46941 echo "$as_me:$LINENO: result: no" >&5
46942 echo "${ECHO_T}no" >&6
46946 if test -z "$ac_cv_prog_NM"; then
46948 # Extract the first word of "nm", so it can be a program name with args.
46949 set dummy nm
; ac_word
=$2
46950 echo "$as_me:$LINENO: checking for $ac_word" >&5
46951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46952 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46953 echo $ECHO_N "(cached) $ECHO_C" >&6
46955 if test -n "$ac_ct_NM"; then
46956 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46959 for as_dir
in $PATH
46962 test -z "$as_dir" && as_dir
=.
46963 for ac_exec_ext
in '' $ac_executable_extensions; do
46964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46965 ac_cv_prog_ac_ct_NM
="nm"
46966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46972 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46975 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46976 if test -n "$ac_ct_NM"; then
46977 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46978 echo "${ECHO_T}$ac_ct_NM" >&6
46980 echo "$as_me:$LINENO: result: no" >&5
46981 echo "${ECHO_T}no" >&6
46986 NM
="$ac_cv_prog_NM"
46990 case ${BAKEFILE_HOST} in
46992 INSTALL_DIR
="mkdir -p"
46994 *) INSTALL_DIR
="$INSTALL -d"
47000 case ${BAKEFILE_HOST} in
47001 *-*-cygwin* | *-*-mingw32* )
47002 LDFLAGS_GUI
="-mwindows"
47008 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47009 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47010 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47011 echo $ECHO_N "(cached) $ECHO_C" >&6
47014 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47015 egrep -s GNU
> /dev
/null
); then
47016 bakefile_cv_prog_makeisgnu
="yes"
47018 bakefile_cv_prog_makeisgnu
="no"
47022 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47023 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47025 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47042 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47043 case "${BAKEFILE_HOST}" in
47050 *-pc-os2_emx | *-pc-os2-emx )
47060 powerpc
-apple-macos* )
47069 case "$BAKEFILE_FORCE_PLATFORM" in
47090 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47091 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47092 { (exit 1); exit 1; }; }
47107 # Check whether --enable-omf or --disable-omf was given.
47108 if test "${enable_omf+set}" = set; then
47109 enableval
="$enable_omf"
47110 bk_os2_use_omf
="$enableval"
47113 case "${BAKEFILE_HOST}" in
47115 if test "x$GCC" = "xyes"; then
47116 CFLAGS
="$CFLAGS -fno-common"
47117 CXXFLAGS
="$CXXFLAGS -fno-common"
47119 if test "x$XLCC" = "xyes"; then
47120 CFLAGS
="$CFLAGS -qnocommon"
47121 CXXFLAGS
="$CXXFLAGS -qnocommon"
47125 *-pc-os2_emx | *-pc-os2-emx )
47126 if test "x$bk_os2_use_omf" = "xyes" ; then
47129 LDFLAGS
="-Zomf $LDFLAGS"
47130 CFLAGS
="-Zomf $CFLAGS"
47131 CXXFLAGS
="-Zomf $CXXFLAGS"
47139 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47145 SO_SUFFIX_MODULE
="so"
47150 DLLPREFIX_MODULE
=""
47154 case "${BAKEFILE_HOST}" in
47157 SO_SUFFIX_MODULE
="sl"
47161 SO_SUFFIX_MODULE
="a"
47165 SO_SUFFIX_MODULE
="dll"
47166 DLLIMP_SUFFIX
="dll.a"
47173 SO_SUFFIX_MODULE
="dll"
47174 DLLIMP_SUFFIX
="dll.a"
47184 *-pc-os2_emx | *-pc-os2-emx )
47186 SO_SUFFIX_MODULE
="dll"
47187 DLLIMP_SUFFIX
=$OS2_LIBEXT
47191 LIBEXT
=".$OS2_LIBEXT"
47196 SO_SUFFIX_MODULE
="bundle"
47200 if test "x$DLLIMP_SUFFIX" = "x" ; then
47201 DLLIMP_SUFFIX
="$SO_SUFFIX"
47216 if test "x$GCC" = "xyes"; then
47220 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47221 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47224 case "${BAKEFILE_HOST}" in
47226 if test "x$GCC" != "xyes"; then
47227 LDFLAGS
="$LDFLAGS -L/usr/lib"
47229 SHARED_LD_CC
="${CC} -b -o"
47230 SHARED_LD_CXX
="${CXX} -b -o"
47236 if test "x$GCC" != "xyes"; then
47237 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47238 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47239 if test "${bakefile_cv_prog_icc+set}" = set; then
47240 echo $ECHO_N "(cached) $ECHO_C" >&6
47243 cat >conftest.
$ac_ext <<_ACEOF
47246 cat confdefs.h
>>conftest.
$ac_ext
47247 cat >>conftest.
$ac_ext <<_ACEOF
47248 /* end confdefs.h. */
47254 #ifndef __INTEL_COMPILER
47262 rm -f conftest.
$ac_objext
47263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47264 (eval $ac_compile) 2>conftest.er1
47266 grep -v '^ *+' conftest.er1
>conftest.err
47268 cat conftest.err
>&5
47269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47270 (exit $ac_status); } &&
47271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47273 (eval $ac_try) 2>&5
47275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47276 (exit $ac_status); }; } &&
47277 { ac_try
='test -s conftest.$ac_objext'
47278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47279 (eval $ac_try) 2>&5
47281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47282 (exit $ac_status); }; }; then
47283 bakefile_cv_prog_icc
=yes
47285 echo "$as_me: failed program was:" >&5
47286 sed 's/^/| /' conftest.
$ac_ext >&5
47288 bakefile_cv_prog_icc
=no
47291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47294 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47295 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47296 if test "$bakefile_cv_prog_icc" = "yes"; then
47303 if test "x$GCC" != xyes
; then
47304 SHARED_LD_CC
="${CC} -G -o"
47305 SHARED_LD_CXX
="${CXX} -G -o"
47313 cat <<EOF >shared-ld-sh
47315 #-----------------------------------------------------------------------------
47316 #-- Name: distrib/mac/shared-ld-sh
47317 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47318 #-- Author: Gilles Depeyrot
47319 #-- Copyright: (c) 2002 Gilles Depeyrot
47320 #-- Licence: any use permitted
47321 #-----------------------------------------------------------------------------
47326 linking_flag="-dynamiclib"
47327 ldargs="-r -keep_private_externs -nostdlib"
47329 while test ${D}# -gt 0; do
47336 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47337 # collect these options and values
47338 args="${D}{args} ${D}1 ${D}2"
47343 # collect these load args
47344 ldargs="${D}{ldargs} ${D}1"
47347 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47348 # collect these options
47349 args="${D}{args} ${D}1"
47352 -dynamiclib|-bundle)
47353 linking_flag="${D}1"
47357 echo "shared-ld: unhandled option '${D}1'"
47361 *.o | *.a | *.dylib)
47362 # collect object files
47363 objects="${D}{objects} ${D}1"
47367 echo "shared-ld: unhandled argument '${D}1'"
47378 # Link one module containing all the others
47380 if test ${D}{verbose} = 1; then
47381 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47383 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47387 # Link the shared library from the single module created, but only if the
47388 # previous command didn't fail:
47390 if test ${D}{status} = 0; then
47391 if test ${D}{verbose} = 1; then
47392 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47394 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47399 # Remove intermediate module
47401 rm -f master.${D}${D}.o
47406 chmod +x shared
-ld-sh
47408 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47409 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47412 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47413 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47414 if test "${bakefile_cv_gcc31+set}" = set; then
47415 echo $ECHO_N "(cached) $ECHO_C" >&6
47418 cat >conftest.
$ac_ext <<_ACEOF
47421 cat confdefs.h
>>conftest.
$ac_ext
47422 cat >>conftest.
$ac_ext <<_ACEOF
47423 /* end confdefs.h. */
47429 #if (__GNUC__ < 3) || \
47430 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47438 rm -f conftest.
$ac_objext
47439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47440 (eval $ac_compile) 2>conftest.er1
47442 grep -v '^ *+' conftest.er1
>conftest.err
47444 cat conftest.err
>&5
47445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47446 (exit $ac_status); } &&
47447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47449 (eval $ac_try) 2>&5
47451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47452 (exit $ac_status); }; } &&
47453 { ac_try
='test -s conftest.$ac_objext'
47454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47455 (eval $ac_try) 2>&5
47457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47458 (exit $ac_status); }; }; then
47460 bakefile_cv_gcc31
=yes
47463 echo "$as_me: failed program was:" >&5
47464 sed 's/^/| /' conftest.
$ac_ext >&5
47467 bakefile_cv_gcc31
=no
47471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47474 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47475 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47476 if test "$bakefile_cv_gcc31" = "no"; then
47477 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47478 SHARED_LD_CXX
="$SHARED_LD_CC"
47480 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47481 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47484 if test "x$GCC" == "xyes"; then
47485 PIC_FLAG
="-dynamic -fPIC"
47487 if test "x$XLCC" = "xyes"; then
47488 PIC_FLAG
="-dynamic -DPIC"
47493 if test "x$GCC" = "xyes"; then
47496 case "${BAKEFILE_HOST}" in
47498 LD_EXPFULL
="-Wl,-bexpfull"
47502 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47503 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47505 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47506 set dummy makeC
++SharedLib
; ac_word
=$2
47507 echo "$as_me:$LINENO: checking for $ac_word" >&5
47508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47509 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47510 echo $ECHO_N "(cached) $ECHO_C" >&6
47512 if test -n "$AIX_CXX_LD"; then
47513 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47516 for as_dir
in $PATH
47519 test -z "$as_dir" && as_dir
=.
47520 for ac_exec_ext
in '' $ac_executable_extensions; do
47521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47522 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47529 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47532 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47533 if test -n "$AIX_CXX_LD"; then
47534 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47535 echo "${ECHO_T}$AIX_CXX_LD" >&6
47537 echo "$as_me:$LINENO: result: no" >&5
47538 echo "${ECHO_T}no" >&6
47541 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47542 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47547 SHARED_LD_CC
="${LD} -nostart -o"
47548 SHARED_LD_CXX
="${LD} -nostart -o"
47552 if test "x$GCC" != "xyes"; then
47557 *-*-cygwin* | *-*-mingw32* )
47559 SHARED_LD_CC
="\$(CC) -shared -o"
47560 SHARED_LD_CXX
="\$(CXX) -shared -o"
47564 *-pc-os2_emx | *-pc-os2-emx )
47565 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47566 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47570 cat <<EOF >dllar.sh
47573 # dllar - a tool to build both a .dll and an .a file
47574 # from a set of object (.o) files for EMX/OS2.
47576 # Written by Andrew Zabolotny, bit@freya.etu.ru
47577 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47579 # This script will accept a set of files on the command line.
47580 # All the public symbols from the .o files will be exported into
47581 # a .DEF file, then linker will be run (through gcc) against them to
47582 # build a shared library consisting of all given .o files. All libraries
47583 # (.a) will be first decompressed into component .o files then act as
47584 # described above. You can optionally give a description (-d "description")
47585 # which will be put into .DLL. To see the list of accepted options (as well
47586 # as command-line format) simply run this program without options. The .DLL
47587 # is built to be imported by name (there is no guarantee that new versions
47588 # of the library you build will have same ordinals for same symbols).
47590 # dllar is free software; you can redistribute it and/or modify
47591 # it under the terms of the GNU General Public License as published by
47592 # the Free Software Foundation; either version 2, or (at your option)
47593 # any later version.
47595 # dllar is distributed in the hope that it will be useful,
47596 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47597 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47598 # GNU General Public License for more details.
47600 # You should have received a copy of the GNU General Public License
47601 # along with dllar; see the file COPYING. If not, write to the Free
47602 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47605 # To successfuly run this program you will need:
47606 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47607 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47609 # (used to build the .dll)
47611 # (used to create .def file from .o files)
47613 # (used to create .a file from .def file)
47614 # - GNU text utilites (cat, sort, uniq)
47615 # used to process emxexp output
47616 # - GNU file utilities (mv, rm)
47618 # - lxlite (optional, see flag below)
47619 # (used for general .dll cleanup)
47626 # basnam, variant of basename, which does _not_ remove the path, _iff_
47627 # second argument (suffix to remove) is given
47631 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47634 echo ${D}1 | sed 's/'${D}2'${D}//'
47637 echo "error in basnam ${D}*"
47643 # Cleanup temporary files and output
47646 for i in ${D}inputFiles ; do
47649 rm -rf \`basnam ${D}i !\`
47656 # Kill result in case of failure as there is just to many stupid make/nmake
47657 # things out there which doesn't do this.
47658 if [ ${D}# -eq 0 ]; then
47659 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47663 # Print usage and exit script with rc=1.
47665 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47666 echo ' [-name-mangler-script script.sh]'
47667 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47668 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47669 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47670 echo ' [*.o] [*.a]'
47671 echo '*> "output_file" should have no extension.'
47672 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47673 echo ' The import library name is derived from this and is set to "name".a,'
47674 echo ' unless overridden by -import'
47675 echo '*> "importlib_name" should have no extension.'
47676 echo ' If it has the .o, or .a extension, it is automatically removed.'
47677 echo ' This name is used as the import library name and may be longer and'
47678 echo ' more descriptive than the DLL name which has to follow the old '
47679 echo ' 8.3 convention of FAT.'
47680 echo '*> "script.sh may be given to override the output_file name by a'
47681 echo ' different name. It is mainly useful if the regular make process'
47682 echo ' of some package does not take into account OS/2 restriction of'
47683 echo ' DLL name lengths. It takes the importlib name as input and is'
47684 echo ' supposed to procude a shorter name as output. The script should'
47685 echo ' expect to get importlib_name without extension and should produce'
47686 echo ' a (max.) 8 letter name without extension.'
47687 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47688 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47689 echo ' These flags will be put at the start of GCC command line.'
47690 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47691 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47692 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47693 echo ' If the last character of a symbol is "*", all symbols beginning'
47694 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47695 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47696 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47697 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47698 echo ' C runtime DLLs.'
47699 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47700 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47701 echo ' unchanged to GCC at the end of command line.'
47702 echo '*> If you create a DLL from a library and you do not specify -o,'
47703 echo ' the basename for DLL and import library will be set to library name,'
47704 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47705 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47706 echo ' library will be renamed into gcc_s.a.'
47709 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47710 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47715 # Execute a command.
47716 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47717 # @Uses Whatever CleanUp() uses.
47723 if [ ${D}rcCmd -ne 0 ]; then
47724 echo "command failed, exit code="${D}rcCmd
47739 CFLAGS="-s -Zcrtdll"
47741 EXPORT_BY_ORDINALS=0
47746 case ${D}curDirS in
47750 curDirS=${D}{curDirS}"/"
47753 # Parse commandline
47756 while [ ${D}1 ]; do
47759 EXPORT_BY_ORDINALS=1;
47769 -name-mangler-script)
47790 exclude_symbols=${D}{exclude_symbols}${D}1" "
47794 library_flags=${D}{library_flags}${D}1" "
47813 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47816 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47817 if [ ${D}omfLinking -eq 1 ]; then
47818 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47820 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47825 if [ ${D}libsToLink -ne 0 ]; then
47826 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47828 for file in ${D}1 ; do
47829 if [ -f ${D}file ]; then
47830 inputFiles="${D}{inputFiles} ${D}file"
47834 if [ ${D}found -eq 0 ]; then
47835 echo "ERROR: No file(s) found: "${D}1
47842 done # iterate cmdline words
47845 if [ -z "${D}inputFiles" ]; then
47846 echo "dllar: no input files"
47850 # Now extract all .o files from .a files
47852 for file in ${D}inputFiles ; do
47863 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47868 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47870 if [ ${D}? -ne 0 ]; then
47871 echo "Failed to create subdirectory ./${D}dirname"
47875 # Append '!' to indicate archive
47876 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47877 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47880 for subfile in ${D}dirname/*.o* ; do
47881 if [ -f ${D}subfile ]; then
47883 if [ -s ${D}subfile ]; then
47884 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47885 newInputFiles="${D}newInputFiles ${D}subfile"
47889 if [ ${D}found -eq 0 ]; then
47890 echo "WARNING: there are no files in archive \\'${D}file\\'"
47894 newInputFiles="${D}{newInputFiles} ${D}file"
47898 inputFiles="${D}newInputFiles"
47900 # Output filename(s).
47902 if [ -z ${D}outFile ]; then
47904 set outFile ${D}inputFiles; outFile=${D}2
47907 # If it is an archive, remove the '!' and the '_%' suffixes
47908 case ${D}outFile in
47910 outFile=\`basnam ${D}outFile _%!\`
47915 case ${D}outFile in
47917 outFile=\`basnam ${D}outFile .dll\`
47920 outFile=\`basnam ${D}outFile .DLL\`
47923 outFile=\`basnam ${D}outFile .o\`
47926 outFile=\`basnam ${D}outFile .obj\`
47929 outFile=\`basnam ${D}outFile .a\`
47932 outFile=\`basnam ${D}outFile .lib\`
47937 case ${D}outimpFile in
47939 outimpFile=\`basnam ${D}outimpFile .a\`
47942 outimpFile=\`basnam ${D}outimpFile .lib\`
47947 if [ -z ${D}outimpFile ]; then
47948 outimpFile=${D}outFile
47950 defFile="${D}{outFile}.def"
47951 arcFile="${D}{outimpFile}.a"
47952 arcFile2="${D}{outimpFile}.lib"
47954 #create ${D}dllFile as something matching 8.3 restrictions,
47955 if [ -z ${D}renameScript ] ; then
47956 dllFile="${D}outFile"
47958 dllFile=\`${D}renameScript ${D}outimpFile\`
47961 if [ ${D}do_backup -ne 0 ] ; then
47962 if [ -f ${D}arcFile ] ; then
47963 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47965 if [ -f ${D}arcFile2 ] ; then
47966 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47970 # Extract public symbols from all the object files.
47971 tmpdefFile=${D}{defFile}_%
47972 rm -f ${D}tmpdefFile
47973 for file in ${D}inputFiles ; do
47978 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47983 # Create the def file.
47985 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47986 dllFile="${D}{dllFile}.dll"
47987 if [ ! -z ${D}description ]; then
47988 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47990 echo "EXPORTS" >> ${D}defFile
47992 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47993 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47995 # Checks if the export is ok or not.
47996 for word in ${D}exclude_symbols; do
47997 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47998 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48002 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48003 sed "=" < ${D}tmpdefFile | \\
48007 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48009 ' > ${D}{tmpdefFile}%
48010 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48012 rm -f ${D}{tmpdefFile}%
48014 cat ${D}tmpdefFile >> ${D}defFile
48015 rm -f ${D}tmpdefFile
48017 # Do linking, create implib, and apply lxlite.
48019 for file in ${D}inputFiles ; do
48024 gccCmdl="${D}gccCmdl ${D}file"
48028 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48029 touch "${D}{outFile}.dll"
48031 doCommand "emximp -o ${D}arcFile ${D}defFile"
48032 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48034 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48037 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48039 doCommand "emxomf -s -l ${D}arcFile"
48049 powerpc
-apple-macos* | \
48050 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48061 if test "x$PIC_FLAG" != "x" ; then
48062 PIC_FLAG
="$PIC_FLAG -DPIC"
48065 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48066 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48068 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48069 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48088 case "${BAKEFILE_HOST}" in
48089 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48090 SONAME_FLAG
="-Wl,-soname,"
48124 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48125 if test "${enable_dependency_tracking+set}" = set; then
48126 enableval
="$enable_dependency_tracking"
48127 bk_use_trackdeps
="$enableval"
48130 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48131 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48133 if test "x$bk_use_trackdeps" = "xno" ; then
48135 echo "$as_me:$LINENO: result: disabled" >&5
48136 echo "${ECHO_T}disabled" >&6
48140 if test "x$GCC" = "xyes"; then
48142 case "${BAKEFILE_HOST}" in
48144 DEPSFLAG
="-no-cpp-precomp -MMD"
48150 echo "$as_me:$LINENO: result: gcc" >&5
48151 echo "${ECHO_T}gcc" >&6
48152 elif test "x$MWCC" = "xyes"; then
48155 echo "$as_me:$LINENO: result: mwcc" >&5
48156 echo "${ECHO_T}mwcc" >&6
48157 elif test "x$SUNCC" = "xyes"; then
48160 echo "$as_me:$LINENO: result: Sun cc" >&5
48161 echo "${ECHO_T}Sun cc" >&6
48162 elif test "x$SGICC" = "xyes"; then
48165 echo "$as_me:$LINENO: result: SGI cc" >&5
48166 echo "${ECHO_T}SGI cc" >&6
48167 elif test "x$HPCC" = "xyes"; then
48170 echo "$as_me:$LINENO: result: HP cc" >&5
48171 echo "${ECHO_T}HP cc" >&6
48172 elif test "x$COMPAQCC" = "xyes"; then
48175 echo "$as_me:$LINENO: result: Compaq cc" >&5
48176 echo "${ECHO_T}Compaq cc" >&6
48179 echo "$as_me:$LINENO: result: none" >&5
48180 echo "${ECHO_T}none" >&6
48183 if test $DEPS_TRACKING = 1 ; then
48189 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48190 # script. It is used to track C/C++ files dependencies in portable way.
48192 # Permission is given to use this file in any way.
48194 DEPSMODE=${DEPSMODE}
48196 DEPSFLAG="${DEPSFLAG}"
48198 mkdir -p ${D}DEPSDIR
48200 if test ${D}DEPSMODE = gcc ; then
48201 ${D}* ${D}{DEPSFLAG}
48203 if test ${D}{status} != 0 ; then
48206 # move created file to the location we want it in:
48207 while test ${D}# -gt 0; do
48221 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48222 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48223 if test -f ${D}depfile ; then
48224 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48227 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48228 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48229 if test ! -f ${D}depfile ; then
48230 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48231 depfile="${D}objfile.d"
48233 if test -f ${D}depfile ; then
48234 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48239 elif test ${D}DEPSMODE = mwcc ; then
48240 ${D}* || exit ${D}?
48241 # Run mwcc again with -MM and redirect into the dep file we want
48242 # NOTE: We can't use shift here because we need ${D}* to be valid
48244 for arg in ${D}* ; do
48245 if test "${D}prevarg" = "-o"; then
48258 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48260 elif test ${D}DEPSMODE = unixcc; then
48261 ${D}* || exit ${D}?
48262 # Run compiler again with deps flag and redirect into the dep file.
48263 # It doesn't work if the '-o FILE' option is used, but without it the
48264 # dependency file will contain the wrong name for the object. So it is
48265 # removed from the command line, and the dep file is fixed with sed.
48267 while test ${D}# -gt 0; do
48274 eval arg${D}#=\\${D}1
48275 cmd="${D}cmd \\${D}arg${D}#"
48280 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48295 case ${BAKEFILE_HOST} in
48296 *-*-cygwin* | *-*-mingw32* )
48297 if test -n "$ac_tool_prefix"; then
48298 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48299 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48300 echo "$as_me:$LINENO: checking for $ac_word" >&5
48301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48302 if test "${ac_cv_prog_WINDRES+set}" = set; then
48303 echo $ECHO_N "(cached) $ECHO_C" >&6
48305 if test -n "$WINDRES"; then
48306 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48309 for as_dir
in $PATH
48312 test -z "$as_dir" && as_dir
=.
48313 for ac_exec_ext
in '' $ac_executable_extensions; do
48314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48315 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48324 WINDRES
=$ac_cv_prog_WINDRES
48325 if test -n "$WINDRES"; then
48326 echo "$as_me:$LINENO: result: $WINDRES" >&5
48327 echo "${ECHO_T}$WINDRES" >&6
48329 echo "$as_me:$LINENO: result: no" >&5
48330 echo "${ECHO_T}no" >&6
48334 if test -z "$ac_cv_prog_WINDRES"; then
48335 ac_ct_WINDRES
=$WINDRES
48336 # Extract the first word of "windres", so it can be a program name with args.
48337 set dummy windres
; ac_word
=$2
48338 echo "$as_me:$LINENO: checking for $ac_word" >&5
48339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48340 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48341 echo $ECHO_N "(cached) $ECHO_C" >&6
48343 if test -n "$ac_ct_WINDRES"; then
48344 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48347 for as_dir
in $PATH
48350 test -z "$as_dir" && as_dir
=.
48351 for ac_exec_ext
in '' $ac_executable_extensions; do
48352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48353 ac_cv_prog_ac_ct_WINDRES
="windres"
48354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48362 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48363 if test -n "$ac_ct_WINDRES"; then
48364 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48365 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48367 echo "$as_me:$LINENO: result: no" >&5
48368 echo "${ECHO_T}no" >&6
48371 WINDRES
=$ac_ct_WINDRES
48373 WINDRES
="$ac_cv_prog_WINDRES"
48378 *-*-darwin* | powerpc
-apple-macos* )
48379 # Extract the first word of "Rez", so it can be a program name with args.
48380 set dummy Rez
; ac_word
=$2
48381 echo "$as_me:$LINENO: checking for $ac_word" >&5
48382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48383 if test "${ac_cv_prog_REZ+set}" = set; then
48384 echo $ECHO_N "(cached) $ECHO_C" >&6
48386 if test -n "$REZ"; then
48387 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48390 for as_dir
in $PATH
48393 test -z "$as_dir" && as_dir
=.
48394 for ac_exec_ext
in '' $ac_executable_extensions; do
48395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48396 ac_cv_prog_REZ
="Rez"
48397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48403 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48406 REZ
=$ac_cv_prog_REZ
48407 if test -n "$REZ"; then
48408 echo "$as_me:$LINENO: result: $REZ" >&5
48409 echo "${ECHO_T}$REZ" >&6
48411 echo "$as_me:$LINENO: result: no" >&5
48412 echo "${ECHO_T}no" >&6
48415 # Extract the first word of "SetFile", so it can be a program name with args.
48416 set dummy SetFile
; ac_word
=$2
48417 echo "$as_me:$LINENO: checking for $ac_word" >&5
48418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48419 if test "${ac_cv_prog_SETFILE+set}" = set; then
48420 echo $ECHO_N "(cached) $ECHO_C" >&6
48422 if test -n "$SETFILE"; then
48423 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48426 for as_dir
in $PATH
48429 test -z "$as_dir" && as_dir
=.
48430 for ac_exec_ext
in '' $ac_executable_extensions; do
48431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48432 ac_cv_prog_SETFILE
="SetFile"
48433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48439 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48442 SETFILE
=$ac_cv_prog_SETFILE
48443 if test -n "$SETFILE"; then
48444 echo "$as_me:$LINENO: result: $SETFILE" >&5
48445 echo "${ECHO_T}$SETFILE" >&6
48447 echo "$as_me:$LINENO: result: no" >&5
48448 echo "${ECHO_T}no" >&6
48459 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48462 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48466 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48467 if test "${enable_precomp_headers+set}" = set; then
48468 enableval
="$enable_precomp_headers"
48469 bk_use_pch
="$enableval"
48476 case ${BAKEFILE_HOST} in
48482 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48483 if test "x$GCC" = "xyes"; then
48484 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48485 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48486 cat >conftest.
$ac_ext <<_ACEOF
48489 cat confdefs.h
>>conftest.
$ac_ext
48490 cat >>conftest.
$ac_ext <<_ACEOF
48491 /* end confdefs.h. */
48497 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48498 There is no PCH support
48501 There is no PCH support
48503 #if (__GNUC__ == 3) && \
48504 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48505 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48506 ( defined(__INTEL_COMPILER) )
48507 There is no PCH support
48514 rm -f conftest.
$ac_objext
48515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48516 (eval $ac_compile) 2>conftest.er1
48518 grep -v '^ *+' conftest.er1
>conftest.err
48520 cat conftest.err
>&5
48521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48522 (exit $ac_status); } &&
48523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48525 (eval $ac_try) 2>&5
48527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48528 (exit $ac_status); }; } &&
48529 { ac_try
='test -s conftest.$ac_objext'
48530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48531 (eval $ac_try) 2>&5
48533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48534 (exit $ac_status); }; }; then
48536 echo "$as_me:$LINENO: result: yes" >&5
48537 echo "${ECHO_T}yes" >&6
48541 echo "$as_me: failed program was:" >&5
48542 sed 's/^/| /' conftest.
$ac_ext >&5
48545 cat >conftest.
$ac_ext <<_ACEOF
48548 cat confdefs.h
>>conftest.
$ac_ext
48549 cat >>conftest.
$ac_ext <<_ACEOF
48550 /* end confdefs.h. */
48556 #if !defined(__INTEL_COMPILER) || \
48557 (__INTEL_COMPILER < 800)
48558 There is no PCH support
48565 rm -f conftest.
$ac_objext
48566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48567 (eval $ac_compile) 2>conftest.er1
48569 grep -v '^ *+' conftest.er1
>conftest.err
48571 cat conftest.err
>&5
48572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48573 (exit $ac_status); } &&
48574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48576 (eval $ac_try) 2>&5
48578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48579 (exit $ac_status); }; } &&
48580 { ac_try
='test -s conftest.$ac_objext'
48581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48582 (eval $ac_try) 2>&5
48584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48585 (exit $ac_status); }; }; then
48587 echo "$as_me:$LINENO: result: yes" >&5
48588 echo "${ECHO_T}yes" >&6
48592 echo "$as_me: failed program was:" >&5
48593 sed 's/^/| /' conftest.
$ac_ext >&5
48596 echo "$as_me:$LINENO: result: no" >&5
48597 echo "${ECHO_T}no" >&6
48600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48604 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48608 cat <<EOF >bk-make-pch
48611 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48612 # script. It is used to generated precompiled headers.
48614 # Permission is given to use this file in any way.
48624 while test ${D}{#} -gt 0; do
48628 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48629 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48630 headerfile="${D}{incdir}/${D}{header}"
48633 -use-pch|-use_pch )
48638 if test ${D}add_to_cmdline = 1 ; then
48639 compiler="${D}{compiler} ${D}{1}"
48644 if test "x${D}{headerfile}" = "x" ; then
48645 echo "error: can't find header ${D}{header} in include paths" >&2
48647 if test -f ${D}{outfile} ; then
48648 rm -f ${D}{outfile}
48650 mkdir -p \`dirname ${D}{outfile}\`
48652 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48654 if test "x${GCC_PCH}" = "x1" ; then
48655 # can do this because gcc is >= 3.4:
48656 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48657 elif test "x${ICC_PCH}" = "x1" ; then
48658 filename=pch_gen-${D}${D}
48659 file=${D}{filename}.c
48660 dfile=${D}{filename}.d
48661 cat > ${D}file <<EOT
48662 #include "${D}header"
48664 # using -MF icc complains about differing command lines in creation/use
48665 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48666 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48667 rm -f ${D}file ${D}dfile ${D}{filename}.o
48673 chmod +x bk
-make-pch
48681 COND_BUILD_DEBUG
="#"
48682 if test "x$BUILD" = "xdebug" ; then
48683 COND_BUILD_DEBUG
=""
48686 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48687 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48688 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48691 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48692 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48693 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48696 COND_BUILD_DEBUG_UNICODE_0
="#"
48697 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48698 COND_BUILD_DEBUG_UNICODE_0
=""
48701 COND_BUILD_DEBUG_UNICODE_1
="#"
48702 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48703 COND_BUILD_DEBUG_UNICODE_1
=""
48706 COND_BUILD_RELEASE
="#"
48707 if test "x$BUILD" = "xrelease" ; then
48708 COND_BUILD_RELEASE
=""
48711 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48712 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48713 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48716 COND_BUILD_RELEASE_UNICODE_0
="#"
48717 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48718 COND_BUILD_RELEASE_UNICODE_0
=""
48721 COND_BUILD_RELEASE_UNICODE_1
="#"
48722 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48723 COND_BUILD_RELEASE_UNICODE_1
=""
48726 COND_DEBUG_FLAG_1
="#"
48727 if test "x$DEBUG_FLAG" = "x1" ; then
48728 COND_DEBUG_FLAG_1
=""
48731 COND_DEBUG_INFO_0
="#"
48732 if test "x$DEBUG_INFO" = "x0" ; then
48733 COND_DEBUG_INFO_0
=""
48736 COND_DEBUG_INFO_1
="#"
48737 if test "x$DEBUG_INFO" = "x1" ; then
48738 COND_DEBUG_INFO_1
=""
48741 COND_DEPS_TRACKING_0
="#"
48742 if test "x$DEPS_TRACKING" = "x0" ; then
48743 COND_DEPS_TRACKING_0
=""
48746 COND_DEPS_TRACKING_1
="#"
48747 if test "x$DEPS_TRACKING" = "x1" ; then
48748 COND_DEPS_TRACKING_1
=""
48752 if test "x$GCC_PCH" = "x1" ; then
48757 if test "x$ICC_PCH" = "x1" ; then
48761 COND_MONOLITHIC_0
="#"
48762 if test "x$MONOLITHIC" = "x0" ; then
48763 COND_MONOLITHIC_0
=""
48766 COND_MONOLITHIC_0_SHARED_0
="#"
48767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48768 COND_MONOLITHIC_0_SHARED_0
=""
48771 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48773 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48781 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48786 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48791 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48796 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48801 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48803 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48806 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48808 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48811 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48813 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48816 COND_MONOLITHIC_0_SHARED_1
="#"
48817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48818 COND_MONOLITHIC_0_SHARED_1
=""
48821 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48823 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48848 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48851 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48853 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48858 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48866 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48867 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48868 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48871 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48872 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48873 COND_MONOLITHIC_0_USE_ODBC_1
=""
48876 COND_MONOLITHIC_1
="#"
48877 if test "x$MONOLITHIC" = "x1" ; then
48878 COND_MONOLITHIC_1
=""
48881 COND_MONOLITHIC_1_SHARED_0
="#"
48882 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48883 COND_MONOLITHIC_1_SHARED_0
=""
48886 COND_MONOLITHIC_1_SHARED_1
="#"
48887 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48888 COND_MONOLITHIC_1_SHARED_1
=""
48891 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48892 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48893 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48896 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48897 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48898 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48901 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48902 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48903 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48906 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48907 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48908 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48911 COND_PLATFORM_MACOSX_1
="#"
48912 if test "x$PLATFORM_MACOSX" = "x1" ; then
48913 COND_PLATFORM_MACOSX_1
=""
48916 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48917 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48918 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48921 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48922 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48923 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48926 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48928 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48931 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48933 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48936 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48938 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48941 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48943 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48946 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48947 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48948 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48951 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48952 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48953 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48956 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48958 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48961 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48963 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48966 COND_PLATFORM_MACOS_1
="#"
48967 if test "x$PLATFORM_MACOS" = "x1" ; then
48968 COND_PLATFORM_MACOS_1
=""
48971 COND_PLATFORM_MAC_1
="#"
48972 if test "x$PLATFORM_MAC" = "x1" ; then
48973 COND_PLATFORM_MAC_1
=""
48976 COND_PLATFORM_MSDOS_0
="#"
48977 if test "x$PLATFORM_MSDOS" = "x0" ; then
48978 COND_PLATFORM_MSDOS_0
=""
48981 COND_PLATFORM_MSDOS_1
="#"
48982 if test "x$PLATFORM_MSDOS" = "x1" ; then
48983 COND_PLATFORM_MSDOS_1
=""
48986 COND_PLATFORM_OS2_1
="#"
48987 if test "x$PLATFORM_OS2" = "x1" ; then
48988 COND_PLATFORM_OS2_1
=""
48991 COND_PLATFORM_UNIX_0
="#"
48992 if test "x$PLATFORM_UNIX" = "x0" ; then
48993 COND_PLATFORM_UNIX_0
=""
48996 COND_PLATFORM_UNIX_1
="#"
48997 if test "x$PLATFORM_UNIX" = "x1" ; then
48998 COND_PLATFORM_UNIX_1
=""
49001 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49002 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49003 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49006 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49007 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49008 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49011 COND_PLATFORM_WIN32_0
="#"
49012 if test "x$PLATFORM_WIN32" = "x0" ; then
49013 COND_PLATFORM_WIN32_0
=""
49016 COND_PLATFORM_WIN32_1
="#"
49017 if test "x$PLATFORM_WIN32" = "x1" ; then
49018 COND_PLATFORM_WIN32_1
=""
49022 if test "x$SHARED" = "x0" ; then
49026 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49027 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49028 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49031 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49032 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49033 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49036 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49037 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49038 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49041 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49042 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49043 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49046 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49047 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49048 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49051 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49052 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49053 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49056 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49057 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49058 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49061 COND_SHARED_0_USE_XRC_1
="#"
49062 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49063 COND_SHARED_0_USE_XRC_1
=""
49066 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49067 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49068 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49071 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49072 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49073 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49076 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49077 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49078 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49081 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49082 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49083 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49087 if test "x$SHARED" = "x1" ; then
49091 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49092 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49093 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49096 COND_SHARED_1_USE_XRC_1
="#"
49097 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49098 COND_SHARED_1_USE_XRC_1
=""
49102 if test "x$TOOLKIT" = "x" ; then
49106 COND_TOOLKIT_COCOA
="#"
49107 if test "x$TOOLKIT" = "xCOCOA" ; then
49108 COND_TOOLKIT_COCOA
=""
49111 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49112 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49113 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49116 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49117 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49118 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49121 COND_TOOLKIT_DFB
="#"
49122 if test "x$TOOLKIT" = "xDFB" ; then
49123 COND_TOOLKIT_DFB
=""
49126 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49127 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49128 COND_TOOLKIT_DFB_USE_GUI_1
=""
49131 COND_TOOLKIT_GTK
="#"
49132 if test "x$TOOLKIT" = "xGTK" ; then
49133 COND_TOOLKIT_GTK
=""
49136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49137 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49138 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49141 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49142 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49143 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49146 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49147 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49148 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49151 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49152 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49153 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49156 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49157 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49158 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49161 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49162 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49163 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49166 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49167 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49168 COND_TOOLKIT_GTK_USE_GUI_1
=""
49171 COND_TOOLKIT_MAC
="#"
49172 if test "x$TOOLKIT" = "xMAC" ; then
49173 COND_TOOLKIT_MAC
=""
49176 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49177 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49178 COND_TOOLKIT_MAC_USE_GUI_1
=""
49181 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49182 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49183 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49186 COND_TOOLKIT_MGL
="#"
49187 if test "x$TOOLKIT" = "xMGL" ; then
49188 COND_TOOLKIT_MGL
=""
49191 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49192 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49193 COND_TOOLKIT_MGL_USE_GUI_1
=""
49196 COND_TOOLKIT_MOTIF
="#"
49197 if test "x$TOOLKIT" = "xMOTIF" ; then
49198 COND_TOOLKIT_MOTIF
=""
49201 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49202 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49203 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49206 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49207 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49208 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49211 COND_TOOLKIT_MSW
="#"
49212 if test "x$TOOLKIT" = "xMSW" ; then
49213 COND_TOOLKIT_MSW
=""
49216 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49217 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49218 COND_TOOLKIT_MSW_USE_GUI_1
=""
49221 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49222 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49223 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49226 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49227 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49228 COND_TOOLKIT_MSW_WXUNIV_0
=""
49231 COND_TOOLKIT_PM
="#"
49232 if test "x$TOOLKIT" = "xPM" ; then
49236 COND_TOOLKIT_PM_USE_GUI_1
="#"
49237 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49238 COND_TOOLKIT_PM_USE_GUI_1
=""
49241 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49242 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49243 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49246 COND_TOOLKIT_WINCE
="#"
49247 if test "x$TOOLKIT" = "xWINCE" ; then
49248 COND_TOOLKIT_WINCE
=""
49251 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49252 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49253 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49256 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49257 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49258 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49261 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49262 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49263 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49266 COND_TOOLKIT_X11
="#"
49267 if test "x$TOOLKIT" = "xX11" ; then
49268 COND_TOOLKIT_X11
=""
49271 COND_TOOLKIT_X11_USE_GUI_1
="#"
49272 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49273 COND_TOOLKIT_X11_USE_GUI_1
=""
49277 if test "x$UNICODE" = "x1" ; then
49281 COND_USE_EXCEPTIONS_0
="#"
49282 if test "x$USE_EXCEPTIONS" = "x0" ; then
49283 COND_USE_EXCEPTIONS_0
=""
49286 COND_USE_EXCEPTIONS_1
="#"
49287 if test "x$USE_EXCEPTIONS" = "x1" ; then
49288 COND_USE_EXCEPTIONS_1
=""
49292 if test "x$USE_GUI" = "x0" ; then
49297 if test "x$USE_GUI" = "x1" ; then
49301 COND_USE_GUI_1_WXUNIV_0
="#"
49302 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49303 COND_USE_GUI_1_WXUNIV_0
=""
49306 COND_USE_GUI_1_WXUNIV_1
="#"
49307 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49308 COND_USE_GUI_1_WXUNIV_1
=""
49311 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49312 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49313 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49316 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49317 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49318 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49321 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49322 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49323 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49326 COND_USE_ODBC_1
="#"
49327 if test "x$USE_ODBC" = "x1" ; then
49331 COND_USE_OPENGL_1
="#"
49332 if test "x$USE_OPENGL" = "x1" ; then
49333 COND_USE_OPENGL_1
=""
49337 if test "x$USE_PCH" = "x1" ; then
49341 COND_USE_PLUGINS_0
="#"
49342 if test "x$USE_PLUGINS" = "x0" ; then
49343 COND_USE_PLUGINS_0
=""
49346 COND_USE_RTTI_0
="#"
49347 if test "x$USE_RTTI" = "x0" ; then
49351 COND_USE_RTTI_1
="#"
49352 if test "x$USE_RTTI" = "x1" ; then
49356 COND_USE_SOSYMLINKS_1
="#"
49357 if test "x$USE_SOSYMLINKS" = "x1" ; then
49358 COND_USE_SOSYMLINKS_1
=""
49361 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49362 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49363 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49366 COND_USE_SOVERLINUX_1
="#"
49367 if test "x$USE_SOVERLINUX" = "x1" ; then
49368 COND_USE_SOVERLINUX_1
=""
49371 COND_USE_SOVERSION_0
="#"
49372 if test "x$USE_SOVERSION" = "x0" ; then
49373 COND_USE_SOVERSION_0
=""
49376 COND_USE_SOVERSOLARIS_1
="#"
49377 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49378 COND_USE_SOVERSOLARIS_1
=""
49381 COND_USE_THREADS_0
="#"
49382 if test "x$USE_THREADS" = "x0" ; then
49383 COND_USE_THREADS_0
=""
49386 COND_USE_THREADS_1
="#"
49387 if test "x$USE_THREADS" = "x1" ; then
49388 COND_USE_THREADS_1
=""
49392 if test "x$USE_XRC" = "x1" ; then
49396 COND_WINDOWS_IMPLIB_1
="#"
49397 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49398 COND_WINDOWS_IMPLIB_1
=""
49401 COND_WITH_PLUGIN_SDL_1
="#"
49402 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49403 COND_WITH_PLUGIN_SDL_1
=""
49407 if test "x$WXUNIV" = "x0" ; then
49412 if test "x$WXUNIV" = "x1" ; then
49416 COND_WXUSE_EXPAT_BUILTIN
="#"
49417 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49418 COND_WXUSE_EXPAT_BUILTIN
=""
49421 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49422 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49423 COND_WXUSE_LIBJPEG_BUILTIN
=""
49426 COND_WXUSE_LIBPNG_BUILTIN
="#"
49427 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49428 COND_WXUSE_LIBPNG_BUILTIN
=""
49431 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49432 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49433 COND_WXUSE_LIBTIFF_BUILTIN
=""
49436 COND_WXUSE_ODBC_BUILTIN
="#"
49437 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49438 COND_WXUSE_ODBC_BUILTIN
=""
49441 COND_WXUSE_REGEX_BUILTIN
="#"
49442 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49443 COND_WXUSE_REGEX_BUILTIN
=""
49446 COND_WXUSE_ZLIB_BUILTIN
="#"
49447 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49448 COND_WXUSE_ZLIB_BUILTIN
=""
49453 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49454 { { 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
49455 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;}
49456 { (exit 1); exit 1; }; }
49459 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49460 { { 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
49461 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;}
49462 { (exit 1); exit 1; }; }
49467 if test "$wxUSE_MAC" = 1 ; then
49468 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49469 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49475 if test "$wxUSE_SHARED" = "yes"; then
49477 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49478 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49481 *-pc-os2_emx | *-pc-os2-emx )
49482 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49483 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49484 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49485 cp -p ${srcdir}/src
/os
2/dllar.sh .
49490 EXE_LINKER
="$CXX -o"
49493 if test "$wxUSE_OMF" = "yes"; then
49495 *-pc-os2_emx | *-pc-os2-emx )
49496 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49497 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49498 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49503 if test $GCC_PCH = 1 ; then
49504 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49507 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49509 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49571 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49572 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49573 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49574 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49575 echo $ECHO_N "(cached) $ECHO_C" >&6
49577 cat >conftest.
make <<\_ACEOF
49579 @
echo 'ac_maketemp="$(MAKE)"'
49581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49582 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49583 if test -n "$ac_maketemp"; then
49584 eval ac_cv_prog_make_
${ac_make}_set
=yes
49586 eval ac_cv_prog_make_
${ac_make}_set
=no
49588 rm -f conftest.
make
49590 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49591 echo "$as_me:$LINENO: result: yes" >&5
49592 echo "${ECHO_T}yes" >&6
49595 echo "$as_me:$LINENO: result: no" >&5
49596 echo "${ECHO_T}no" >&6
49597 SET_MAKE
="MAKE=${MAKE-make}"
49602 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49605 if test "$USE_WIN32" = 1; then
49606 ac_config_commands
="$ac_config_commands
49612 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49615 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49618 ac_config_files
="$ac_config_files version-script Makefile"
49621 ac_config_commands
="$ac_config_commands wx-config"
49625 if test "$wxWITH_SUBDIRS" != "no"; then
49626 if test "$wxUSE_GUI" = "yes"; then
49627 SUBDIRS
="samples demos utils contrib"
49628 else SUBDIRS
="samples utils"
49633 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49634 if test "${with_cppunit_prefix+set}" = set; then
49635 withval
="$with_cppunit_prefix"
49636 cppunit_config_prefix
="$withval"
49638 cppunit_config_prefix
=""
49641 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49642 if test "${with_cppunit_exec_prefix+set}" = set; then
49643 withval
="$with_cppunit_exec_prefix"
49644 cppunit_config_exec_prefix
="$withval"
49646 cppunit_config_exec_prefix
=""
49649 if test x
$cppunit_config_exec_prefix != x
; then
49650 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49651 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49652 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49655 if test x
$cppunit_config_prefix != x
; then
49656 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49657 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49658 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49662 # Extract the first word of "cppunit-config", so it can be a program name with args.
49663 set dummy cppunit
-config; ac_word
=$2
49664 echo "$as_me:$LINENO: checking for $ac_word" >&5
49665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49666 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49667 echo $ECHO_N "(cached) $ECHO_C" >&6
49669 case $CPPUNIT_CONFIG in
49671 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49675 for as_dir
in $PATH
49678 test -z "$as_dir" && as_dir
=.
49679 for ac_exec_ext
in '' $ac_executable_extensions; do
49680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49681 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49688 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49692 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49694 if test -n "$CPPUNIT_CONFIG"; then
49695 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49696 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49698 echo "$as_me:$LINENO: result: no" >&5
49699 echo "${ECHO_T}no" >&6
49702 cppunit_version_min
=1.8.0
49704 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49705 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49707 if test "$CPPUNIT_CONFIG" = "no" ; then
49708 echo "$as_me:$LINENO: result: no" >&5
49709 echo "${ECHO_T}no" >&6
49712 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49713 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49714 cppunit_version
=`$CPPUNIT_CONFIG --version`
49716 cppunit_major_version
=`echo $cppunit_version | \
49717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49718 cppunit_minor_version
=`echo $cppunit_version | \
49719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49720 cppunit_micro_version
=`echo $cppunit_version | \
49721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49723 cppunit_major_min
=`echo $cppunit_version_min | \
49724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49725 cppunit_minor_min
=`echo $cppunit_version_min | \
49726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49727 cppunit_micro_min
=`echo $cppunit_version_min | \
49728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49730 cppunit_version_proper
=`expr \
49731 $cppunit_major_version \> $cppunit_major_min \| \
49732 $cppunit_major_version \= $cppunit_major_min \& \
49733 $cppunit_minor_version \> $cppunit_minor_min \| \
49734 $cppunit_major_version \= $cppunit_major_min \& \
49735 $cppunit_minor_version \= $cppunit_minor_min \& \
49736 $cppunit_micro_version \>= $cppunit_micro_min `
49738 if test "$cppunit_version_proper" = "1" ; then
49739 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49740 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49742 echo "$as_me:$LINENO: result: no" >&5
49743 echo "${ECHO_T}no" >&6
49748 if test "x$no_cppunit" = x
; then
49749 SUBDIRS
="$SUBDIRS tests"
49760 for subdir
in `echo $SUBDIRS`; do
49761 if test -d ${srcdir}/${subdir} ; then
49762 if test "$wxUSE_GUI" = "yes"; then
49763 if test ${subdir} = "samples"; then
49764 makefiles
="samples/Makefile.in $makefiles"
49765 for sample
in `echo $SAMPLES_SUBDIRS`; do
49766 if test -d $srcdir/samples
/$sample; then
49767 makefiles
="samples/$sample/Makefile.in $makefiles"
49771 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49772 eval "disabled=\$$disabled_var"
49773 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49774 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49776 else if test ${subdir} = "samples"; then
49777 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49778 elif test ${subdir} = "utils"; then
49780 for util
in HelpGen tex2rtf
; do
49781 if test -d $srcdir/utils
/$util ; then
49782 makefiles
="utils/$util/Makefile.in \
49783 utils/$util/src/Makefile.in \
49787 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49791 for mkin
in $makefiles ; do
49792 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49793 ac_config_files
="$ac_config_files $mk"
49799 cat >confcache
<<\_ACEOF
49800 # This file is a shell script that caches the results of configure
49801 # tests run on this system so they can be shared between configure
49802 # scripts and configure runs, see configure's option --config-cache.
49803 # It is not useful on other systems. If it contains results you don't
49804 # want to keep, you may remove or edit it.
49806 # config.status only pays attention to the cache file if you give it
49807 # the --recheck option to rerun configure.
49809 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49810 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49811 # following values.
49815 # The following way of writing the cache mishandles newlines in values,
49816 # but we know of no workaround that is simple, portable, and efficient.
49817 # So, don't put newlines in cache variables' values.
49818 # Ultrix sh set writes to stderr and can't be redirected directly,
49819 # and sets the high bit in the cache file unless we assign to the vars.
49822 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49824 # `set' does not quote correctly, so add quotes (double-quote
49825 # substitution turns \\\\ into \\, and sed turns \\ into \).
49828 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49831 # `set' quotes correctly as required by POSIX, so do not add quotes.
49833 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49840 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49842 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49844 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49845 if test -w $cache_file; then
49846 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49847 cat confcache
>$cache_file
49849 echo "not updating unwritable cache $cache_file"
49854 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49855 # Let make expand exec_prefix.
49856 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49858 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49859 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49860 # trailing colons and then remove the whole line if VPATH becomes empty
49861 # (actually we leave an empty line to preserve line numbers).
49862 if test "x$srcdir" = x.
; then
49863 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49864 s/:*\$(srcdir):*/:/;
49865 s/:*\${srcdir}:*/:/;
49867 s/^\([^=]*=[ ]*\):*/\1/;
49873 DEFS
=-DHAVE_CONFIG_H
49877 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49878 # 1. Remove the extension, and $U if already installed.
49879 ac_i
=`echo "$ac_i" |
49880 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49882 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49883 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49885 LIBOBJS
=$ac_libobjs
49887 LTLIBOBJS
=$ac_ltlibobjs
49891 : ${CONFIG_STATUS=./config.status}
49892 ac_clean_files_save
=$ac_clean_files
49893 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49894 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49895 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49896 cat >$CONFIG_STATUS <<_ACEOF
49898 # Generated by $as_me.
49899 # Run this file to recreate the current configuration.
49900 # Compiler output produced by configure, useful for debugging
49901 # configure, is in config.log if it exists.
49904 ac_cs_recheck=false
49906 SHELL=\${CONFIG_SHELL-$SHELL}
49909 cat >>$CONFIG_STATUS <<\_ACEOF
49910 ## --------------------- ##
49911 ## M4sh Initialization. ##
49912 ## --------------------- ##
49914 # Be Bourne compatible
49915 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49918 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49919 # is contrary to our usage. Disable this feature.
49920 alias -g '${1+"$@"}'='"$@"'
49921 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49924 DUALCASE
=1; export DUALCASE
# for MKS sh
49926 # Support unset when possible.
49927 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49934 # Work around bugs in pre-3.0 UWIN ksh.
49935 $as_unset ENV MAIL MAILPATH
49942 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49943 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49944 LC_TELEPHONE LC_TIME
49946 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49947 eval $as_var=C
; export $as_var
49953 # Required to use basename.
49954 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49960 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49961 as_basename
=basename
49967 # Name of the executable.
49968 as_me
=`$as_basename "$0" ||
49969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49970 X"$0" : 'X\(//\)$' \| \
49971 X"$0" : 'X\(/\)$' \| \
49972 . : '\(.\)' 2>/dev/null ||
49974 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49975 /^X\/\(\/\/\)$/{ s//\1/; q; }
49976 /^X\/\(\/\).*/{ s//\1/; q; }
49980 # PATH needs CR, and LINENO needs CR and PATH.
49981 # Avoid depending upon Character Ranges.
49982 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49983 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49984 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49985 as_cr_digits
='0123456789'
49986 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49988 # The user is always right.
49989 if test "${PATH_SEPARATOR+set}" != set; then
49990 echo "#! /bin/sh" >conf$$.sh
49991 echo "exit 0" >>conf$$.sh
49993 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50002 as_lineno_1
=$LINENO
50003 as_lineno_2
=$LINENO
50004 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50005 test "x$as_lineno_1" != "x$as_lineno_2" &&
50006 test "x$as_lineno_3" = "x$as_lineno_2" || {
50007 # Find who we are. Look in the path if we contain no path at all
50010 *[\\/]* ) as_myself
=$0 ;;
50011 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50012 for as_dir
in $PATH
50015 test -z "$as_dir" && as_dir
=.
50016 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50021 # We did not find ourselves, most probably we were run as `sh COMMAND'
50022 # in which case we are not to be found in the path.
50023 if test "x$as_myself" = x
; then
50026 if test ! -f "$as_myself"; then
50027 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50028 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50029 { (exit 1); exit 1; }; }
50031 case $CONFIG_SHELL in
50033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50034 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50037 test -z "$as_dir" && as_dir
=.
50038 for as_base
in sh bash ksh sh5
; do
50041 if ("$as_dir/$as_base" -c '
50042 as_lineno_1=$LINENO
50043 as_lineno_2=$LINENO
50044 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50045 test "x$as_lineno_1" != "x$as_lineno_2" &&
50046 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50047 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50048 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50049 CONFIG_SHELL
=$as_dir/$as_base
50050 export CONFIG_SHELL
50051 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50059 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50060 # uniformly replaced by the line number. The first 'sed' inserts a
50061 # line-number line before each line; the second 'sed' does the real
50062 # work. The second script uses 'N' to pair each line-number line
50063 # with the numbered line, and appends trailing '-' during
50064 # substitution so that $LINENO is not a special case at line end.
50065 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50066 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50067 sed '=' <$as_myself |
50072 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50075 s,^['$as_cr_digits']*\n,,
50076 ' >$as_me.lineno
&&
50077 chmod +x
$as_me.lineno
||
50078 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50079 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50080 { (exit 1); exit 1; }; }
50082 # Don't try to exec as it changes $[0], causing all sort of problems
50083 # (the dirname of $[0] is not the place where we might find the
50084 # original and so on. Autoconf is especially sensible to this).
50086 # Exit status is that of the last command.
50091 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50092 *c
*,-n*) ECHO_N
= ECHO_C
='
50094 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50095 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50098 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50104 rm -f conf$$ conf$$.exe conf$$.
file
50106 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50107 # We could just check for DJGPP; but this test a) works b) is more generic
50108 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50109 if test -f conf$$.exe
; then
50110 # Don't use ln at all; we don't have any links
50115 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50120 rm -f conf$$ conf$$.exe conf$$.
file
50122 if mkdir -p .
2>/dev
/null
; then
50125 test -d .
/-p && rmdir .
/-p
50129 as_executable_p
="test -f"
50131 # Sed expression to map a string onto a valid CPP name.
50132 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50134 # Sed expression to map a string onto a valid variable name.
50135 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50139 # We need space, tab and new line, in precisely that order.
50149 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50150 # report actual input values of CONFIG_FILES etc. instead of their
50151 # values after options handling. Logging --version etc. is OK.
50155 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50156 ## Running $as_me. ##
50161 This file was extended by wxWidgets $as_me 2.7.0, which was
50162 generated by GNU Autoconf 2.59. Invocation command line was
50164 CONFIG_FILES = $CONFIG_FILES
50165 CONFIG_HEADERS = $CONFIG_HEADERS
50166 CONFIG_LINKS = $CONFIG_LINKS
50167 CONFIG_COMMANDS = $CONFIG_COMMANDS
50171 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50175 # Files that config.status was made for.
50176 if test -n "$ac_config_files"; then
50177 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50180 if test -n "$ac_config_headers"; then
50181 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50184 if test -n "$ac_config_links"; then
50185 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50188 if test -n "$ac_config_commands"; then
50189 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50192 cat >>$CONFIG_STATUS <<\_ACEOF
50195 \`$as_me' instantiates files from templates according to the
50196 current configuration.
50198 Usage: $0 [OPTIONS] [FILE]...
50200 -h, --help print this help, then exit
50201 -V, --version print version number, then exit
50202 -q, --quiet do not print progress messages
50203 -d, --debug don't remove temporary files
50204 --recheck update $as_me by reconfiguring in the same conditions
50205 --file=FILE[:TEMPLATE]
50206 instantiate the configuration file FILE
50207 --header=FILE[:TEMPLATE]
50208 instantiate the configuration header FILE
50210 Configuration files:
50213 Configuration headers:
50216 Configuration commands:
50219 Report bugs to <bug-autoconf@gnu.org>."
50222 cat >>$CONFIG_STATUS <<_ACEOF
50224 wxWidgets config.status 2.7.0
50225 configured by $0, generated by GNU Autoconf 2.59,
50226 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50228 Copyright (C) 2003 Free Software Foundation, Inc.
50229 This config.status script is free software; the Free Software Foundation
50230 gives unlimited permission to copy, distribute and modify it."
50235 cat >>$CONFIG_STATUS <<\_ACEOF
50236 # If no file are specified by the user, then we need to provide default
50237 # value. By we need to know if files were specified by the user.
50243 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50244 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50252 *) # This is not an option, so the user has probably given explicit
50255 ac_need_defaults
=false
;;
50259 # Handling of the options.
50261 cat >>$CONFIG_STATUS <<\_ACEOF
50262 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50264 --version | --vers* | -V )
50265 echo "$ac_cs_version"; exit 0 ;;
50267 # Conflict between --help and --header
50268 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50269 Try \`$0 --help' for more information." >&5
50270 echo "$as_me: error: ambiguous option: $1
50271 Try \`$0 --help' for more information." >&2;}
50272 { (exit 1); exit 1; }; };;
50273 --help | --hel | -h )
50274 echo "$ac_cs_usage"; exit 0 ;;
50275 --debug | --d* | -d )
50277 --file | --fil | --fi | --f )
50279 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50280 ac_need_defaults
=false
;;
50281 --header | --heade | --head | --hea )
50283 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50284 ac_need_defaults
=false
;;
50285 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50286 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50289 # This is an error.
50290 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50291 Try \`$0 --help' for more information." >&5
50292 echo "$as_me: error: unrecognized option: $1
50293 Try \`$0 --help' for more information." >&2;}
50294 { (exit 1); exit 1; }; } ;;
50296 *) ac_config_targets
="$ac_config_targets $1" ;;
50302 ac_configure_extra_args
=
50304 if $ac_cs_silent; then
50306 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50310 cat >>$CONFIG_STATUS <<_ACEOF
50311 if \$ac_cs_recheck; then
50312 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50313 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50318 cat >>$CONFIG_STATUS <<_ACEOF
50320 # INIT-COMMANDS section.
50325 infile="$srcdir/include/wx/msw/genrcdefs.h"
50326 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50329 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50330 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50331 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50339 cat >>$CONFIG_STATUS <<\_ACEOF
50340 for ac_config_target
in $ac_config_targets
50342 case "$ac_config_target" in
50343 # Handling of arguments.
50344 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50345 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50346 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50347 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50348 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50349 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50350 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50351 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50352 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50354 { (exit 1); exit 1; }; };;
50358 # If the user did not use the arguments to specify the items to instantiate,
50359 # then the envvar interface is used. Set only those that are not.
50360 # We use the long form for the default assignment because of an extremely
50361 # bizarre bug on SunOS 4.1.3.
50362 if $ac_need_defaults; then
50363 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50364 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50365 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50368 # Have a temporary directory for convenience. Make it in the build tree
50369 # simply because there is no reason to put it here, and in addition,
50370 # creating and moving files from /tmp can sometimes cause problems.
50371 # Create a temporary directory, and hook for its removal unless debugging.
50374 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50375 trap '{ (exit 1); exit 1; }' 1 2 13 15
50378 # Create a (secure) tmp directory for tmp files.
50381 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50382 test -n "$tmp" && test -d "$tmp"
50385 tmp
=.
/confstat$$
-$RANDOM
50386 (umask 077 && mkdir $tmp)
50389 echo "$me: cannot create a temporary directory in ." >&2
50390 { (exit 1); exit 1; }
50395 cat >>$CONFIG_STATUS <<_ACEOF
50398 # CONFIG_FILES section.
50401 # No need to generate the scripts if there are no CONFIG_FILES.
50402 # This happens for instance when ./config.status config.h
50403 if test -n "\$CONFIG_FILES"; then
50404 # Protect against being on the right side of a sed subst in config.status.
50405 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50406 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50407 s,@SHELL@,$SHELL,;t t
50408 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50409 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50410 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50411 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50412 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50413 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50414 s,@exec_prefix@,$exec_prefix,;t t
50415 s,@prefix@,$prefix,;t t
50416 s,@program_transform_name@,$program_transform_name,;t t
50417 s,@bindir@,$bindir,;t t
50418 s,@sbindir@,$sbindir,;t t
50419 s,@libexecdir@,$libexecdir,;t t
50420 s,@datadir@,$datadir,;t t
50421 s,@sysconfdir@,$sysconfdir,;t t
50422 s,@sharedstatedir@,$sharedstatedir,;t t
50423 s,@localstatedir@,$localstatedir,;t t
50424 s,@libdir@,$libdir,;t t
50425 s,@includedir@,$includedir,;t t
50426 s,@oldincludedir@,$oldincludedir,;t t
50427 s,@infodir@,$infodir,;t t
50428 s,@mandir@,$mandir,;t t
50429 s,@build_alias@,$build_alias,;t t
50430 s,@host_alias@,$host_alias,;t t
50431 s,@target_alias@,$target_alias,;t t
50432 s,@DEFS@,$DEFS,;t t
50433 s,@ECHO_C@,$ECHO_C,;t t
50434 s,@ECHO_N@,$ECHO_N,;t t
50435 s,@ECHO_T@,$ECHO_T,;t t
50436 s,@LIBS@,$LIBS,;t t
50437 s,@build@,$build,;t t
50438 s,@build_cpu@,$build_cpu,;t t
50439 s,@build_vendor@,$build_vendor,;t t
50440 s,@build_os@,$build_os,;t t
50441 s,@host@,$host,;t t
50442 s,@host_cpu@,$host_cpu,;t t
50443 s,@host_vendor@,$host_vendor,;t t
50444 s,@host_os@,$host_os,;t t
50445 s,@target@,$target,;t t
50446 s,@target_cpu@,$target_cpu,;t t
50447 s,@target_vendor@,$target_vendor,;t t
50448 s,@target_os@,$target_os,;t t
50450 s,@CFLAGS@,$CFLAGS,;t t
50451 s,@LDFLAGS@,$LDFLAGS,;t t
50452 s,@CPPFLAGS@,$CPPFLAGS,;t t
50453 s,@ac_ct_CC@,$ac_ct_CC,;t t
50454 s,@EXEEXT@,$EXEEXT,;t t
50455 s,@OBJEXT@,$OBJEXT,;t t
50457 s,@EGREP@,$EGREP,;t t
50459 s,@CXXFLAGS@,$CXXFLAGS,;t t
50460 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50461 s,@RANLIB@,$RANLIB,;t t
50462 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50464 s,@ac_ct_AR@,$ac_ct_AR,;t t
50465 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50466 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50467 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50468 s,@STRIP@,$STRIP,;t t
50469 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50470 s,@WINDRES@,$WINDRES,;t t
50471 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50472 s,@DLLTOOL@,$DLLTOOL,;t t
50473 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50474 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50475 s,@LN_S@,$LN_S,;t t
50476 s,@CXXCPP@,$CXXCPP,;t t
50477 s,@subdirs@,$subdirs,;t t
50478 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50479 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50480 s,@GTK_LIBS@,$GTK_LIBS,;t t
50481 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50482 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50483 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50484 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50485 s,@X_CFLAGS@,$X_CFLAGS,;t t
50486 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50487 s,@X_LIBS@,$X_LIBS,;t t
50488 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50489 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50490 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50491 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50492 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50493 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50494 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50496 s,@DEREZ@,$DEREZ,;t t
50497 s,@SETFILE@,$SETFILE,;t t
50498 s,@LIBICONV@,$LIBICONV,;t t
50499 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50500 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50501 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50502 s,@SDL_LIBS@,$SDL_LIBS,;t t
50503 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50504 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50505 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50506 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50507 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50508 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50509 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50510 s,@GST_LIBS@,$GST_LIBS,;t t
50511 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50512 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50513 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50514 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50515 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50516 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50517 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50518 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50519 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50520 s,@VENDOR@,$VENDOR,;t t
50521 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50522 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50523 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50524 s,@WXUNIV@,$WXUNIV,;t t
50525 s,@MONOLITHIC@,$MONOLITHIC,;t t
50526 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50527 s,@EXTRALIBS@,$EXTRALIBS,;t t
50528 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50529 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50530 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50531 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50532 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50533 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50534 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50535 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50536 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50537 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50538 s,@UNICODE@,$UNICODE,;t t
50539 s,@BUILD@,$BUILD,;t t
50540 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50541 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50542 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50543 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50544 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50545 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50546 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50547 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50548 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50549 s,@SET_MAKE@,$SET_MAKE,;t t
50550 s,@MAKE_SET@,$MAKE_SET,;t t
50552 s,@ac_ct_NM@,$ac_ct_NM,;t t
50553 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50554 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50555 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50556 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50557 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50558 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50559 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50560 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50561 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50562 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50563 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50564 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50565 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50566 s,@LIBPREFIX@,$LIBPREFIX,;t t
50567 s,@LIBEXT@,$LIBEXT,;t t
50568 s,@DLLPREFIX@,$DLLPREFIX,;t t
50569 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50570 s,@dlldir@,$dlldir,;t t
50571 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50572 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50573 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50574 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50575 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50576 s,@PIC_FLAG@,$PIC_FLAG,;t t
50577 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50578 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50579 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50580 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50581 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50582 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50583 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50584 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50585 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50586 s,@GCC_PCH@,$GCC_PCH,;t t
50587 s,@ICC_PCH@,$ICC_PCH,;t t
50588 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50589 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50590 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50591 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50592 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50593 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50594 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50595 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50596 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50597 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50598 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50599 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50600 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50601 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50602 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50603 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50604 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50605 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50606 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50607 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50608 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
50609 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
50610 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
50611 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
50612 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50613 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50614 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50615 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50616 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50617 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50618 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
50619 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
50620 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
50621 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
50622 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50623 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50624 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50625 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50626 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50627 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50628 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50629 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50630 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50631 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50632 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50633 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50634 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50635 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50636 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50637 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50638 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50639 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50640 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
50641 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50642 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50643 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50644 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50645 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50646 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50647 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50648 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50649 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50650 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50651 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50652 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50653 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50654 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50655 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50656 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50657 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50658 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50659 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50660 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50661 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50662 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50663 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50664 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50665 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50666 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50667 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50668 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50669 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50670 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50671 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50672 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50673 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50674 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50675 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50676 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50677 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50678 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50679 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50680 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50681 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50682 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
50683 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50684 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50685 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50686 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50687 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50688 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50689 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50690 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50691 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50692 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50693 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50694 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50695 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50696 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50697 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50698 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50699 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50700 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50701 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50702 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50703 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50704 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50705 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50706 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50707 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50708 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50709 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50710 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50711 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50712 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50713 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50714 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50715 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50716 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50717 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50718 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50719 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50720 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50721 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50722 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50723 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50724 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50725 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50726 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50727 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50728 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50729 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50730 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50731 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50732 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50733 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50734 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50735 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50736 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50737 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50738 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50739 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50740 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50741 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50742 s,@SHARED@,$SHARED,;t t
50743 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50744 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50745 s,@USE_GUI@,$USE_GUI,;t t
50746 s,@AFMINSTALL@,$AFMINSTALL,;t t
50747 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50748 s,@TOOLKIT@,$TOOLKIT,;t t
50749 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50750 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50751 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50752 s,@cross_compiling@,$cross_compiling,;t t
50753 s,@WIDGET_SET@,$WIDGET_SET,;t t
50754 s,@WX_RELEASE@,$WX_RELEASE,;t t
50755 s,@WX_VERSION@,$WX_VERSION,;t t
50756 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50757 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50758 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50759 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50760 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50761 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50762 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50763 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50764 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50765 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50766 s,@EXE_LINKER@,$EXE_LINKER,;t t
50767 s,@GUIDIST@,$GUIDIST,;t t
50768 s,@DISTDIR@,$DISTDIR,;t t
50769 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50770 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50771 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50772 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50773 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50774 s,@RESCOMP@,$RESCOMP,;t t
50775 s,@RESFLAGS@,$RESFLAGS,;t t
50776 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50777 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50778 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50779 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50780 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50781 s,@MACSETFILE@,$MACSETFILE,;t t
50783 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50784 s,@LIBOBJS@,$LIBOBJS,;t t
50785 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50790 cat >>$CONFIG_STATUS <<\_ACEOF
50791 # Split the substitutions into bite-sized pieces for seds with
50792 # small command number limits, like on Digital OSF/1 and HP-UX.
50793 ac_max_sed_lines
=48
50794 ac_sed_frag
=1 # Number of current file.
50795 ac_beg
=1 # First line for current file.
50796 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50799 while $ac_more_lines; do
50800 if test $ac_beg -gt 1; then
50801 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50803 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50805 if test ! -s $tmp/subs.frag
; then
50806 ac_more_lines
=false
50808 # The purpose of the label and of the branching condition is to
50809 # speed up the sed processing (if there are no `@' at all, there
50810 # is no need to browse any of the substitutions).
50811 # These are the two extra sed commands mentioned above.
50813 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50814 if test -z "$ac_sed_cmds"; then
50815 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50817 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50819 ac_sed_frag
=`expr $ac_sed_frag + 1`
50821 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50824 if test -z "$ac_sed_cmds"; then
50827 fi # test -n "$CONFIG_FILES"
50830 cat >>$CONFIG_STATUS <<\_ACEOF
50831 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50832 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50834 - | *:- | *:-:* ) # input from stdin
50836 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50837 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50838 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50839 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50840 * ) ac_file_in
=$ac_file.
in ;;
50843 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50844 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50845 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50846 X"$ac_file" : 'X\(//\)[^/]' \| \
50847 X"$ac_file" : 'X\(//\)$' \| \
50848 X"$ac_file" : 'X\(/\)' \| \
50849 . : '\(.\)' 2>/dev/null ||
50851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50852 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50853 /^X\(\/\/\)$/{ s//\1/; q; }
50854 /^X\(\/\).*/{ s//\1/; q; }
50856 { if $as_mkdir_p; then
50861 while test ! -d "$as_dir"; do
50862 as_dirs
="$as_dir $as_dirs"
50863 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50864 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50865 X"$as_dir" : 'X\(//\)[^/]' \| \
50866 X"$as_dir" : 'X\(//\)$' \| \
50867 X"$as_dir" : 'X\(/\)' \| \
50868 . : '\(.\)' 2>/dev/null ||
50870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50872 /^X\(\/\/\)$/{ s//\1/; q; }
50873 /^X\(\/\).*/{ s//\1/; q; }
50876 test ! -n "$as_dirs" || mkdir $as_dirs
50877 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50878 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50879 { (exit 1); exit 1; }; }; }
50883 if test "$ac_dir" != .
; then
50884 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50885 # A "../" for each directory in $ac_dir_suffix.
50886 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50888 ac_dir_suffix
= ac_top_builddir
=
50892 .
) # No --srcdir option. We are building in place.
50894 if test -z "$ac_top_builddir"; then
50897 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50899 [\\/]* | ?
:[\\/]* ) # Absolute path.
50900 ac_srcdir
=$srcdir$ac_dir_suffix;
50901 ac_top_srcdir
=$srcdir ;;
50902 *) # Relative path.
50903 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50904 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50907 # Do not use `cd foo && pwd` to compute absolute paths, because
50908 # the directories may not exist.
50910 .
) ac_abs_builddir
="$ac_dir";;
50913 .
) ac_abs_builddir
=`pwd`;;
50914 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50915 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50918 case $ac_abs_builddir in
50919 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50921 case ${ac_top_builddir}.
in
50922 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50923 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50924 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50927 case $ac_abs_builddir in
50928 .
) ac_abs_srcdir
=$ac_srcdir;;
50931 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50932 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50933 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50936 case $ac_abs_builddir in
50937 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50939 case $ac_top_srcdir in
50940 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50941 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50942 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50948 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50949 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50952 # Let's still pretend it is `configure' which instantiates (i.e., don't
50953 # use $as_me), people would be surprised to read:
50954 # /* config.h. Generated by config.status. */
50955 if test x
"$ac_file" = x
-; then
50958 configure_input
="$ac_file. "
50960 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50961 sed 's,.*/,,'` by configure."
50963 # First look for the input files in the build tree, otherwise in the
50965 ac_file_inputs
=`IFS=:
50966 for f in $ac_file_in; do
50968 -) echo $tmp/stdin ;;
50970 # Absolute (can't be DOS-style, as IFS=:)
50971 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50972 echo "$as_me: error: cannot find input file: $f" >&2;}
50973 { (exit 1); exit 1; }; }
50976 if test -f "$f"; then
50979 elif test -f "$srcdir/$f"; then
50984 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50985 echo "$as_me: error: cannot find input file: $f" >&2;}
50986 { (exit 1); exit 1; }; }
50989 done` || { (exit 1); exit 1; }
50991 if test x
"$ac_file" != x
-; then
50992 { echo "$as_me:$LINENO: creating $ac_file" >&5
50993 echo "$as_me: creating $ac_file" >&6;}
50997 cat >>$CONFIG_STATUS <<_ACEOF
51001 cat >>$CONFIG_STATUS <<\_ACEOF
51003 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51004 s
,@configure_input@
,$configure_input,;t t
51005 s
,@srcdir@
,$ac_srcdir,;t t
51006 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51007 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51008 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51009 s
,@builddir@
,$ac_builddir,;t t
51010 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51011 s
,@top_builddir@
,$ac_top_builddir,;t t
51012 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51013 s
,@INSTALL@
,$ac_INSTALL,;t t
51014 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51016 if test x"$ac_file" != x-; then
51017 mv $tmp/out $ac_file
51023 # Run the commands associated with the file.
51025 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51026 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51030 cat >>$CONFIG_STATUS <<\_ACEOF
51033 # CONFIG_HEADER section.
51036 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51037 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51039 # ac_d sets the value in "#define NAME VALUE" lines.
51040 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51041 ac_dB
='[ ].*$,\1#\2'
51044 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51045 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51046 ac_uB
='$,\1#\2define\3'
51050 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51051 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51053 - | *:- | *:-:* ) # input from stdin
51055 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51056 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51057 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51058 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51059 * ) ac_file_in
=$ac_file.
in ;;
51062 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51063 echo "$as_me: creating $ac_file" >&6;}
51065 # First look for the input files in the build tree, otherwise in the
51067 ac_file_inputs
=`IFS=:
51068 for f in $ac_file_in; do
51070 -) echo $tmp/stdin ;;
51072 # Absolute (can't be DOS-style, as IFS=:)
51073 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51074 echo "$as_me: error: cannot find input file: $f" >&2;}
51075 { (exit 1); exit 1; }; }
51076 # Do quote $f, to prevent DOS paths from being IFS'd.
51079 if test -f "$f"; then
51082 elif test -f "$srcdir/$f"; then
51087 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51088 echo "$as_me: error: cannot find input file: $f" >&2;}
51089 { (exit 1); exit 1; }; }
51092 done` || { (exit 1); exit 1; }
51093 # Remove the trailing spaces.
51094 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51098 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51099 # `conftest.undefs', that substitutes the proper values into
51100 # config.h.in to produce config.h. The first handles `#define'
51101 # templates, and the second `#undef' templates.
51102 # And first: Protect against being on the right side of a sed subst in
51103 # config.status. Protect against being in an unquoted here document
51104 # in config.status.
51105 rm -f conftest.defines conftest.undefs
51106 # Using a here document instead of a string reduces the quoting nightmare.
51107 # Putting comments in sed scripts is not portable.
51109 # `end' is used to avoid that the second main sed command (meant for
51110 # 0-ary CPP macros) applies to n-ary macro definitions.
51111 # See the Autoconf documentation for `clear'.
51112 cat >confdef2sed.
sed <<\_ACEOF
51117 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51119 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51122 # If some macros were called several times there might be several times
51123 # the same #defines, which is useless. Nevertheless, we may not want to
51124 # sort them, since we want the *last* AC-DEFINE to be honored.
51125 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51126 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51127 rm -f confdef2sed.sed
51129 # This sed command replaces #undef with comments. This is necessary, for
51130 # example, in the case of _POSIX_SOURCE, which is predefined and required
51131 # on some systems where configure will not decide to define it.
51132 cat >>conftest.undefs <<\_ACEOF
51133 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51136 # Break up conftest.defines because some shells have a limit on the size
51137 # of here documents, and old seds have small limits too (100 cmds).
51138 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51139 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51140 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51141 echo ' :' >>$CONFIG_STATUS
51142 rm -f conftest.tail
51143 while grep . conftest.defines >/dev/null
51145 # Write a limited-size here document to $tmp/defines.sed.
51146 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51147 # Speed up: don't consider the non `#define' lines.
51148 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51149 # Work around the forget-to-reset-the-flag bug.
51150 echo 't clr' >>$CONFIG_STATUS
51151 echo ': clr' >>$CONFIG_STATUS
51152 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51154 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51156 mv $tmp/out $tmp/in
51158 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51159 rm -f conftest.defines
51160 mv conftest.
tail conftest.defines
51162 rm -f conftest.defines
51163 echo ' fi # grep' >>$CONFIG_STATUS
51164 echo >>$CONFIG_STATUS
51166 # Break up conftest.undefs because some shells have a limit on the size
51167 # of here documents, and old seds have small limits too (100 cmds).
51168 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51169 rm -f conftest.
tail
51170 while grep . conftest.undefs
>/dev
/null
51172 # Write a limited-size here document to $tmp/undefs.sed.
51173 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51174 # Speed up: don't consider the non
`#undef'
51175 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51176 # Work around the forget-to-reset-the-flag bug.
51177 echo 't clr' >>$CONFIG_STATUS
51178 echo ': clr' >>$CONFIG_STATUS
51179 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51181 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51183 mv $tmp/out $tmp/in
51185 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51186 rm -f conftest.undefs
51187 mv conftest.tail conftest.undefs
51189 rm -f conftest.undefs
51191 cat >>$CONFIG_STATUS <<\_ACEOF
51192 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51193 # use $as_me), people would be surprised to read:
51194 # /* config.h. Generated by config.status. */
51195 if test x
"$ac_file" = x
-; then
51196 echo "/* Generated by configure. */" >$tmp/config.h
51198 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51200 cat $tmp/in >>$tmp/config.h
51202 if test x
"$ac_file" != x
-; then
51203 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51204 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51205 echo "$as_me: $ac_file is unchanged" >&6;}
51207 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51209 X"$ac_file" : 'X\(//\)[^/]' \| \
51210 X"$ac_file" : 'X\(//\)$' \| \
51211 X"$ac_file" : 'X\(/\)' \| \
51212 . : '\(.\)' 2>/dev/null ||
51214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51215 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51216 /^X\(\/\/\)$/{ s//\1/; q; }
51217 /^X\(\/\).*/{ s//\1/; q; }
51219 { if $as_mkdir_p; then
51224 while test ! -d "$as_dir"; do
51225 as_dirs
="$as_dir $as_dirs"
51226 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51227 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51228 X"$as_dir" : 'X\(//\)[^/]' \| \
51229 X"$as_dir" : 'X\(//\)$' \| \
51230 X"$as_dir" : 'X\(/\)' \| \
51231 . : '\(.\)' 2>/dev/null ||
51233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51235 /^X\(\/\/\)$/{ s//\1/; q; }
51236 /^X\(\/\).*/{ s//\1/; q; }
51239 test ! -n "$as_dirs" || mkdir $as_dirs
51240 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51241 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51242 { (exit 1); exit 1; }; }; }
51245 mv $tmp/config.h
$ac_file
51249 rm -f $tmp/config.h
51253 cat >>$CONFIG_STATUS <<\_ACEOF
51256 # CONFIG_COMMANDS section.
51258 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51259 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51260 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51261 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51262 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51263 X"$ac_dest" : 'X\(//\)[^/]' \| \
51264 X"$ac_dest" : 'X\(//\)$' \| \
51265 X"$ac_dest" : 'X\(/\)' \| \
51266 . : '\(.\)' 2>/dev/null ||
51268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51269 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51270 /^X\(\/\/\)$/{ s//\1/; q; }
51271 /^X\(\/\).*/{ s//\1/; q; }
51273 { if $as_mkdir_p; then
51278 while test ! -d "$as_dir"; do
51279 as_dirs
="$as_dir $as_dirs"
51280 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51281 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51282 X"$as_dir" : 'X\(//\)[^/]' \| \
51283 X"$as_dir" : 'X\(//\)$' \| \
51284 X"$as_dir" : 'X\(/\)' \| \
51285 . : '\(.\)' 2>/dev/null ||
51287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51288 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51289 /^X\(\/\/\)$/{ s//\1/; q; }
51290 /^X\(\/\).*/{ s//\1/; q; }
51293 test ! -n "$as_dirs" || mkdir $as_dirs
51294 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51295 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51296 { (exit 1); exit 1; }; }; }
51300 if test "$ac_dir" != .
; then
51301 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51302 # A "../" for each directory in $ac_dir_suffix.
51303 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51305 ac_dir_suffix
= ac_top_builddir
=
51309 .
) # No --srcdir option. We are building in place.
51311 if test -z "$ac_top_builddir"; then
51314 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51316 [\\/]* | ?
:[\\/]* ) # Absolute path.
51317 ac_srcdir
=$srcdir$ac_dir_suffix;
51318 ac_top_srcdir
=$srcdir ;;
51319 *) # Relative path.
51320 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51321 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51324 # Do not use `cd foo && pwd` to compute absolute paths, because
51325 # the directories may not exist.
51327 .
) ac_abs_builddir
="$ac_dir";;
51330 .
) ac_abs_builddir
=`pwd`;;
51331 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51332 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51335 case $ac_abs_builddir in
51336 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51338 case ${ac_top_builddir}.
in
51339 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51340 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51341 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51344 case $ac_abs_builddir in
51345 .
) ac_abs_srcdir
=$ac_srcdir;;
51348 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51349 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51350 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51353 case $ac_abs_builddir in
51354 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51356 case $ac_top_srcdir in
51357 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51358 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51359 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51364 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51365 echo "$as_me: executing $ac_dest commands" >&6;}
51368 mkdir -p $outdir &&
51369 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51371 wx
-config ) rm -f wx
-config
51372 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51378 cat >>$CONFIG_STATUS <<\_ACEOF
51380 { (exit 0); exit 0; }
51382 chmod +x
$CONFIG_STATUS
51383 ac_clean_files
=$ac_clean_files_save
51386 # configure is writing to config.log, and then calls config.status.
51387 # config.status does its own redirection, appending to config.log.
51388 # Unfortunately, on DOS this fails, as config.log is still kept open
51389 # by configure, so config.status won't be able to write to it; its
51390 # output is simply discarded. So we exec the FD to /dev/null,
51391 # effectively closing config.log, so it can be properly (re)opened and
51392 # appended to by config.status. When coming back to configure, we
51393 # need to make the FD available again.
51394 if test "$no_create" != yes; then
51396 ac_config_status_args
=
51397 test "$silent" = yes &&
51398 ac_config_status_args
="$ac_config_status_args --quiet"
51400 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51402 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51403 # would make configure fail if this is the last instruction.
51404 $ac_cs_success || { (exit 1); exit 1; }
51408 # CONFIG_SUBDIRS section.
51410 if test "$no_recursion" != yes; then
51412 # Remove --cache-file and --srcdir arguments so they do not pile up.
51413 ac_sub_configure_args
=
51415 for ac_arg
in $ac_configure_args; do
51416 if test -n "$ac_prev"; then
51421 -cache-file | --cache-file | --cache-fil | --cache-fi \
51422 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51423 ac_prev
=cache_file
;;
51424 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51425 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51428 --config-cache | -C)
51430 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51432 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51434 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51436 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51438 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51442 # Always prepend --prefix to ensure using the same prefix
51443 # in subdir configurations.
51444 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51447 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51449 # Do not complain, so a configure script can configure whichever
51450 # parts of a large source tree are present.
51451 test -d $srcdir/$ac_dir || continue
51453 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51454 echo "$as_me: configuring in $ac_dir" >&6;}
51455 { if $as_mkdir_p; then
51460 while test ! -d "$as_dir"; do
51461 as_dirs
="$as_dir $as_dirs"
51462 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51463 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51464 X"$as_dir" : 'X\(//\)[^/]' \| \
51465 X"$as_dir" : 'X\(//\)$' \| \
51466 X"$as_dir" : 'X\(/\)' \| \
51467 . : '\(.\)' 2>/dev/null ||
51469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51471 /^X\(\/\/\)$/{ s//\1/; q; }
51472 /^X\(\/\).*/{ s//\1/; q; }
51475 test ! -n "$as_dirs" || mkdir $as_dirs
51476 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51477 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51478 { (exit 1); exit 1; }; }; }
51482 if test "$ac_dir" != .
; then
51483 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51484 # A "../" for each directory in $ac_dir_suffix.
51485 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51487 ac_dir_suffix
= ac_top_builddir
=
51491 .
) # No --srcdir option. We are building in place.
51493 if test -z "$ac_top_builddir"; then
51496 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51498 [\\/]* | ?
:[\\/]* ) # Absolute path.
51499 ac_srcdir
=$srcdir$ac_dir_suffix;
51500 ac_top_srcdir
=$srcdir ;;
51501 *) # Relative path.
51502 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51503 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51506 # Do not use `cd foo && pwd` to compute absolute paths, because
51507 # the directories may not exist.
51509 .
) ac_abs_builddir
="$ac_dir";;
51512 .
) ac_abs_builddir
=`pwd`;;
51513 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51514 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51517 case $ac_abs_builddir in
51518 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51520 case ${ac_top_builddir}.
in
51521 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51522 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51523 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51526 case $ac_abs_builddir in
51527 .
) ac_abs_srcdir
=$ac_srcdir;;
51530 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51531 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51532 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51535 case $ac_abs_builddir in
51536 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51538 case $ac_top_srcdir in
51539 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51540 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51541 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51548 # Check for guested configure; otherwise get Cygnus style configure.
51549 if test -f $ac_srcdir/configure.gnu
; then
51550 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51551 elif test -f $ac_srcdir/configure
; then
51552 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51553 elif test -f $ac_srcdir/configure.
in; then
51554 ac_sub_configure
=$ac_configure
51556 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51557 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51561 # The recursion is here.
51562 if test -n "$ac_sub_configure"; then
51563 # Make the cache file name correct relative to the subdirectory.
51564 case $cache_file in
51565 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51566 *) # Relative path.
51567 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51570 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51571 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51572 # The eval makes quoting arguments work.
51573 eval $ac_sub_configure $ac_sub_configure_args \
51574 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51575 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51576 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51577 { (exit 1); exit 1; }; }
51586 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51588 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51589 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51591 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51592 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51593 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51595 echo " What level of wxWidgets compatibility should be enabled?"
51596 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51597 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51599 echo " Which libraries should wxWidgets use?"
51600 echo " jpeg ${wxUSE_LIBJPEG-none}"
51601 echo " png ${wxUSE_LIBPNG-none}"
51602 echo " regex ${wxUSE_REGEX}"
51603 echo " tiff ${wxUSE_LIBTIFF-none}"
51604 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51605 echo " xpm ${wxUSE_LIBXPM-none}"
51607 echo " zlib ${wxUSE_ZLIB}"
51608 echo " odbc ${wxUSE_ODBC}"
51609 echo " expat ${wxUSE_EXPAT}"
51610 echo " libmspack ${wxUSE_LIBMSPACK}"
51611 echo " sdl ${wxUSE_LIBSDL}"