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.1.
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.1'
274 PACKAGE_STRING
='wxWidgets 2.7.1'
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 CAIRO_CFLAGS CAIRO_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_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
861 ac_env_GST_LIBS_set
=${GST_LIBS+set}
862 ac_env_GST_LIBS_value
=$GST_LIBS
863 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value
=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are
in DIR
928 --x-libraries=DIR X library files are
in DIR
931 --build=BUILD configure
for building on BUILD
[guessed
]
932 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
933 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short
| recursive
) echo "Configuration of wxWidgets 2.7.1:";;
944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
952 --enable-gpe use GNOME PDA Environment features
if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL
for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C
++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
969 --enable-compat24 enable wxWidgets
2.4 compatibility
970 --disable-compat26 disable wxWidgets
2.6 compatibility
971 --disable-rpath disable use of rpath
for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig
(and derived
) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP
(requires wxProtocol
976 --enable-http use wxHTTP
(requires wxProtocol
977 --enable-fileproto use wxFileProto class
(requires wxProtocol
978 --enable-sockets use socket
/network classes
979 --enable-ole use OLE classes
(Win32 only
)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication
(wxSocket etc.
)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class
for getting backtraces
985 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class
for DLL loading
991 --enable-dynamicloader use
(new
) wxDynamicLibrary class
992 --enable-exceptions build exception
-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual
file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP
/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C
++ stream classes
1007 --enable-std_string use standard C
++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support
in wxProtocol
1026 --enable-protocol-ftp FTP support
in wxProtocol
1027 --enable-protocol-file FILE support
in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use
help subsystem
1031 --enable-mshtmlhelp use MS HTML Help
(win32
)
1032 --enable-html use wxHTML sub
-library
1033 --enable-htmlhelp use wxHTML
-based help
1034 --enable-xrc use XRC resources sub
-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout
-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl
(Mac
)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context
2D drawing API
1046 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1047 --enable-prologio not available
; see contrib
1048 --enable-resources not available
; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag
'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-colourpicker use wxColourPickerCtrl class
1065 --enable-combobox use wxComboBox class
1066 --enable-comboctrl use wxComboCtrl class
1067 --enable-datepick use wxDatePickerCtrl class
1068 --enable-dirpicker use wxDirPickerCtrl class
1069 --enable-display use wxDisplay class
1070 --enable-detect_sm use code to detect X11 session manager
1071 --enable-filepicker use wxFilePickerCtrl class
1072 --enable-fontpicker use wxFontPickerCtrl class
1073 --enable-gauge use wxGauge class
1074 --enable-grid use wxGrid class
1075 --enable-dataviewctrl, use wxDataViewCtrl class
1076 --enable-hyperlink use wxHyperlinkCtrl class
1077 --enable-imaglist use wxImageList class
1078 --enable-listbook use wxListbook class
1079 --enable-listbox use wxListBox class
1080 --enable-listctrl use wxListCtrl class
1081 --enable-notebook use wxNotebook class
1082 --enable-odcombobox use wxOwnerDrawnComboBox class
1083 --enable-radiobox use wxRadioBox class
1084 --enable-radiobtn use wxRadioButton class
1085 --enable-sash use wxSashWindow class
1086 --enable-scrollbar use wxScrollBar class and scrollable windows
1087 --enable-slider use wxSlider class
1088 --enable-spinbtn use wxSpinButton class
1089 --enable-spinctrl use wxSpinCtrl class
1090 --enable-splitter use wxSplitterWindow class
1091 --enable-statbmp use wxStaticBitmap class
1092 --enable-statbox use wxStaticBox class
1093 --enable-statline use wxStaticLine class
1094 --enable-stattext use wxStaticText class
1095 --enable-statusbar use wxStatusBar class
1096 --enable-tabdialog use wxTabControl class
1097 --enable-textctrl use wxTextCtrl class
1098 --enable-togglebtn use wxToggleButton class
1099 --enable-toolbar use wxToolBar class
1100 --enable-tbarnative use native wxToolBar class
1101 --enable-treebook use wxTreebook class
1102 --enable-toolbook use wxToolbook class
1103 --enable-treectrl use wxTreeCtrl class
1104 --enable-tipwindow use wxTipWindow class
1105 --enable-popupwin use wxPopUpWindow class
1106 --enable-commondlg use all common dialogs
1107 --enable-aboutdlg use wxAboutBox
1108 --enable-choicedlg use wxChoiceDialog
1109 --enable-coldlg use wxColourDialog
1110 --enable-filedlg use wxFileDialog
1111 --enable-finddlg use wxFindReplaceDialog
1112 --enable-fontdlg use wxFontDialog
1113 --enable-dirdlg use wxDirDialog
1114 --enable-msgdlg use wxMessageDialog
1115 --enable-numberdlg use wxNumberEntryDialog
1116 --enable-splash use wxSplashScreen
1117 --enable-textdlg use wxTextDialog
1118 --enable-tipdlg use startup tips
1119 --enable-progressdlg use wxProgressDialog
1120 --enable-wizarddlg use wxWizard
1121 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1122 --enable-miniframe use wxMiniFrame class
1123 --enable-tooltips use wxToolTip class
1124 --enable-splines use spline drawing code
1125 --enable-mousewheel use mousewheel
1126 --enable-validators use wxValidator and derived classes
1127 --enable-busyinfo use wxBusyInfo
1128 --enable-joystick use wxJoystick
1129 --enable-metafiles use wxMetaFile
(Win32 only
)
1130 --enable-dragimage use wxDragImage
1131 --enable-accessibility enable accessibility support
1132 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1133 --enable-palette use wxPalette class
1134 --enable-image use wxImage class
1135 --enable-gif use gif images
(GIF
file format
)
1136 --enable-pcx use pcx images
(PCX
file format
)
1137 --enable-iff use iff images
(IFF
file format
)
1138 --enable-pnm use pnm images
(PNM
file format
)
1139 --enable-xpm use xpm images
(XPM
file format
)
1140 --enable-icocur use Windows ICO and CUR formats
1141 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1142 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1143 --disable-largefile omit support
for large files
1144 --disable-gtktest do not try to compile and run a
test GTK
+ program
1145 --disable-gtktest Do not try to compile and run a
test GTK program
1146 --disable-sdltest Do not try to compile and run a
test SDL program
1147 --enable-omf use OMF object format
(OS
/2)
1148 --disable-dependency-tracking
1149 don
't use dependency tracking even if the compiler
1151 --disable-precomp-headers
1152 don't use precompiled headers even
if compiler can
1155 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1156 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1157 --without-subdirs don
't generate makefiles for samples/demos/...
1158 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1159 --with-motif use Motif/Lesstif
1160 --with-mac use Mac OS X
1161 --with-cocoa use Cocoa
1162 --with-wine use Wine
1163 --with-msw use MS-Windows
1164 --with-pm use OS/2 Presentation Manager
1165 --with-mgl use SciTech MGL
1166 --with-directfb use DirectFB
1167 --with-microwin use MicroWindows
1169 --with-libpng use libpng (PNG image format)
1170 --with-libjpeg use libjpeg (JPEG file format)
1171 --with-libtiff use libtiff (TIFF file format)
1172 --with-libxpm use libxpm (XPM file format)
1173 --with-libmspack use libmspack (CHM help files loading)
1174 --with-sdl use SDL for audio on Unix
1175 --with-gnomeprint use GNOME print for printing under GNOME
1176 --with-gnomevfs use GNOME VFS for associating MIME types
1177 --with-hildon use Hildon framework for Nokia 770
1178 --with-opengl use OpenGL (or Mesa)
1179 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1180 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1181 --with-regex enable support for wxRegEx class
1182 --with-zlib use zlib for LZW compression
1183 --with-odbc use the IODBC and wxODBC classes
1184 --with-expat enable XML support using expat parser
1185 --with-flavour=NAME specify a name to identify this build
1186 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1187 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1188 --with-x use the X Window System
1189 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1190 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1191 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1192 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1193 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1195 Some influential environment variables:
1196 CC C compiler command
1197 CFLAGS C compiler flags
1198 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1199 nonstandard directory <lib dir>
1200 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1201 headers in a nonstandard directory <include dir>
1203 CXX C++ compiler command
1204 CXXFLAGS C++ compiler flags
1205 CXXCPP C++ preprocessor
1206 PKG_CONFIG path to pkg-config utility
1208 C compiler flags for DIRECTFB, overriding pkg-config
1210 linker flags for DIRECTFB, overriding pkg-config
1212 C compiler flags for PANGOX, overriding pkg-config
1213 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1215 C compiler flags for PANGOFT2, overriding pkg-config
1217 linker flags for PANGOFT2, overriding pkg-config
1219 C compiler flags for PANGOXFT, overriding pkg-config
1221 linker flags for PANGOXFT, overriding pkg-config
1222 LIBGNOMEPRINTUI_CFLAGS
1223 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1224 LIBGNOMEPRINTUI_LIBS
1225 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1227 C compiler flags for GNOMEVFS, overriding pkg-config
1229 linker flags for GNOMEVFS, overriding pkg-config
1231 C compiler flags for HILDON, overriding pkg-config
1232 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1234 C compiler flags for CAIRO, overriding pkg-config
1235 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1236 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1237 GST_LIBS linker flags for GST, overriding pkg-config
1239 Use these variables to override the choices made by `configure' or to
help
1240 it to
find libraries and programs with nonstandard names
/locations.
1242 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1246 if test "$ac_init_help" = "recursive"; then
1247 # If there are subdirs, report their specific --help.
1249 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1250 test -d $ac_dir || continue
1253 if test "$ac_dir" != .
; then
1254 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1255 # A "../" for each directory in $ac_dir_suffix.
1256 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1258 ac_dir_suffix
= ac_top_builddir
=
1262 .
) # No --srcdir option. We are building in place.
1264 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1269 [\\/]* | ?
:[\\/]* ) # Absolute path.
1270 ac_srcdir
=$srcdir$ac_dir_suffix;
1271 ac_top_srcdir
=$srcdir ;;
1273 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1274 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1277 # Do not use `cd foo && pwd` to compute absolute paths, because
1278 # the directories may not exist.
1280 .
) ac_abs_builddir
="$ac_dir";;
1283 .
) ac_abs_builddir
=`pwd`;;
1284 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1285 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1288 case $ac_abs_builddir in
1289 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1291 case ${ac_top_builddir}.
in
1292 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1293 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1294 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1297 case $ac_abs_builddir in
1298 .
) ac_abs_srcdir
=$ac_srcdir;;
1301 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1302 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1303 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1306 case $ac_abs_builddir in
1307 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1309 case $ac_top_srcdir in
1310 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1311 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1312 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1317 # Check for guested configure; otherwise get Cygnus style configure.
1318 if test -f $ac_srcdir/configure.gnu
; then
1320 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1321 elif test -f $ac_srcdir/configure
; then
1323 $SHELL $ac_srcdir/configure
--help=recursive
1324 elif test -f $ac_srcdir/configure.ac
||
1325 test -f $ac_srcdir/configure.
in; then
1327 $ac_configure --help
1329 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1335 test -n "$ac_init_help" && exit 0
1336 if $ac_init_version; then
1338 wxWidgets configure
2.7.1
1339 generated by GNU Autoconf
2.59
1341 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1342 This configure
script is free software
; the Free Software Foundation
1343 gives unlimited permission to copy
, distribute and modify it.
1349 This file contains any messages produced by compilers while
1350 running configure, to aid debugging if configure makes a mistake.
1352 It was created by wxWidgets $as_me 2.7.1, which was
1353 generated by GNU Autoconf 2.59. Invocation command line was
1364 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1365 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1366 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1367 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1368 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1370 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1371 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1373 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1374 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1375 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1376 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1377 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1378 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1379 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1387 test -z "$as_dir" && as_dir
=.
1388 echo "PATH: $as_dir"
1403 # Keep a trace of the command line.
1404 # Strip out --no-create and --no-recursion so they do not pile up.
1405 # Strip out --silent because we don't want to record it for future runs.
1406 # Also quote any args containing shell meta-characters.
1407 # Make two passes to allow for proper duplicate-argument suppression.
1412 ac_must_keep_next
=false
1418 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1420 | -silent | --silent | --silen | --sile | --sil)
1422 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1423 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1428 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1429 if test $ac_must_keep_next = true
; then
1430 ac_must_keep_next
=false
# Got value, back to normal.
1433 *=* | --config-cache | -C | -disable-* | --disable-* \
1434 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1435 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1436 | -with-* | --with-* | -without-* | --without-* | --x)
1437 case "$ac_configure_args0 " in
1438 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 -* ) ac_must_keep_next
=true
;;
1444 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1445 # Get rid of the leading space.
1451 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1452 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1454 # When interrupted or exit'd, cleanup temporary files, and complete
1455 # config.log. We remove comments because anyway the quotes in there
1456 # would cause problems or look ugly.
1457 # WARNING: Be sure not to use single quotes in there, as some shells,
1458 # such as our DU 5.0 friend, will then `close' the trap.
1459 trap 'exit_status=$?
1460 # Save into config.log some information that might help in debugging.
1465 ## ---------------- ##
1466 ## Cache variables. ##
1467 ## ---------------- ##
1470 # The following way of writing the cache mishandles newlines in values,
1473 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1481 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1488 ## ----------------- ##
1489 ## Output variables. ##
1490 ## ----------------- ##
1493 for ac_var in $ac_subst_vars
1495 eval ac_val=$`echo $ac_var`
1496 echo "$ac_var='"'"'$ac_val'"'"'"
1500 if test -n "$ac_subst_files"; then
1507 for ac_var in $ac_subst_files
1509 eval ac_val=$`echo $ac_var`
1510 echo "$ac_var='"'"'$ac_val'"'"'"
1515 if test -s confdefs.h; then
1522 sed "/^$/d" confdefs.h | sort
1525 test "$ac_signal" != 0 &&
1526 echo "$as_me: caught signal $ac_signal"
1527 echo "$as_me: exit $exit_status"
1529 rm -f core *.core &&
1530 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 for ac_signal
in 1 2 13 15; do
1534 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1538 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1539 rm -rf conftest
* confdefs.h
1540 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 # Predefined preprocessor variables.
1545 cat >>confdefs.h
<<_ACEOF
1546 #define PACKAGE_NAME "$PACKAGE_NAME"
1550 cat >>confdefs.h
<<_ACEOF
1551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1555 cat >>confdefs.h
<<_ACEOF
1556 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1560 cat >>confdefs.h
<<_ACEOF
1561 #define PACKAGE_STRING "$PACKAGE_STRING"
1565 cat >>confdefs.h
<<_ACEOF
1566 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1570 # Let the site file select an alternate cache file if it wants to.
1571 # Prefer explicitly selected file to automatically selected ones.
1572 if test -z "$CONFIG_SITE"; then
1573 if test "x$prefix" != xNONE
; then
1574 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1576 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 for ac_site_file
in $CONFIG_SITE; do
1580 if test -r "$ac_site_file"; then
1581 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1582 echo "$as_me: loading site script $ac_site_file" >&6;}
1583 sed 's/^/| /' "$ac_site_file" >&5
1588 if test -r "$cache_file"; then
1589 # Some versions of bash will fail to source /dev/null (special
1590 # files actually), so we avoid doing that.
1591 if test -f "$cache_file"; then
1592 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1593 echo "$as_me: loading cache $cache_file" >&6;}
1595 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1596 *) . .
/$cache_file;;
1600 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1601 echo "$as_me: creating cache $cache_file" >&6;}
1605 # Check that the precious variables saved in the cache have kept the same
1607 ac_cache_corrupted
=false
1608 for ac_var
in `(set) 2>&1 |
1609 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1610 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1611 eval ac_new_set
=\
$ac_env_${ac_var}_set
1612 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1613 eval ac_new_val
="\$ac_env_${ac_var}_value"
1614 case $ac_old_set,$ac_new_set in
1616 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1617 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1618 ac_cache_corrupted
=: ;;
1620 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1621 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1622 ac_cache_corrupted
=: ;;
1625 if test "x$ac_old_val" != "x$ac_new_val"; then
1626 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1627 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1628 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1629 echo "$as_me: former value: $ac_old_val" >&2;}
1630 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1631 echo "$as_me: current value: $ac_new_val" >&2;}
1632 ac_cache_corrupted
=:
1635 # Pass precious variables to config.status.
1636 if test "$ac_new_set" = set; then
1638 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1639 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1640 *) ac_arg
=$ac_var=$ac_new_val ;;
1642 case " $ac_configure_args " in
1643 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1644 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1648 if $ac_cache_corrupted; then
1649 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1650 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1651 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1652 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1653 { (exit 1); exit 1; }; }
1657 ac_cpp
='$CPP $CPPFLAGS'
1658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1692 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1693 if test -f $ac_dir/install-sh; then
1695 ac_install_sh
="$ac_aux_dir/install-sh -c"
1697 elif test -f $ac_dir/install.sh
; then
1699 ac_install_sh
="$ac_aux_dir/install.sh -c"
1701 elif test -f $ac_dir/shtool
; then
1703 ac_install_sh
="$ac_aux_dir/shtool install -c"
1707 if test -z "$ac_aux_dir"; then
1708 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1709 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1710 { (exit 1); exit 1; }; }
1712 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1713 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1714 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1716 # Make sure we can run config.sub.
1717 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1718 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1719 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1720 { (exit 1); exit 1; }; }
1722 echo "$as_me:$LINENO: checking build system type" >&5
1723 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1724 if test "${ac_cv_build+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 ac_cv_build_alias
=$build_alias
1728 test -z "$ac_cv_build_alias" &&
1729 ac_cv_build_alias
=`$ac_config_guess`
1730 test -z "$ac_cv_build_alias" &&
1731 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1732 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1733 { (exit 1); exit 1; }; }
1734 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1735 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1736 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1737 { (exit 1); exit 1; }; }
1740 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1741 echo "${ECHO_T}$ac_cv_build" >&6
1743 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1744 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1745 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748 echo "$as_me:$LINENO: checking host system type" >&5
1749 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1750 if test "${ac_cv_host+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 ac_cv_host_alias
=$host_alias
1754 test -z "$ac_cv_host_alias" &&
1755 ac_cv_host_alias
=$ac_cv_build_alias
1756 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1757 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1758 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1759 { (exit 1); exit 1; }; }
1762 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1763 echo "${ECHO_T}$ac_cv_host" >&6
1765 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1766 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1767 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770 echo "$as_me:$LINENO: checking target system type" >&5
1771 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1772 if test "${ac_cv_target+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 ac_cv_target_alias
=$target_alias
1776 test "x$ac_cv_target_alias" = "x" &&
1777 ac_cv_target_alias
=$ac_cv_host_alias
1778 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1779 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1780 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1781 { (exit 1); exit 1; }; }
1784 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1785 echo "${ECHO_T}$ac_cv_target" >&6
1786 target
=$ac_cv_target
1787 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1788 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1789 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792 # The aliases save the names the user supplied, while $host etc.
1793 # will get canonicalized.
1794 test -n "$target_alias" &&
1795 test "$program_prefix$program_suffix$program_transform_name" = \
1797 program_prefix
=${target_alias}-
1801 wx_major_version_number
=2
1802 wx_minor_version_number
=7
1804 wx_subrelease_number
=0
1806 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1807 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1808 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1810 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1823 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1829 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1835 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1837 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1839 DEFAULT_wxUSE_COCOA
=0
1843 DEFAULT_wxUSE_MICROWIN
=0
1844 DEFAULT_wxUSE_MOTIF
=0
1850 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1851 DEFAULT_DEFAULT_wxUSE_GTK
=0
1852 DEFAULT_DEFAULT_wxUSE_MAC
=0
1853 DEFAULT_DEFAULT_wxUSE_MGL
=0
1854 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1855 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1856 DEFAULT_DEFAULT_wxUSE_MSW
=0
1857 DEFAULT_DEFAULT_wxUSE_PM
=0
1858 DEFAULT_DEFAULT_wxUSE_X11
=0
1859 DEFAULT_DEFAULT_wxUSE_DFB
=0
1864 SAMPLES_RPATH_POSTLINK
=
1866 DEFAULT_STD_FLAG
=yes
1871 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1872 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1874 cat >>confdefs.h
<<\_ACEOF
1879 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1883 cat >>confdefs.h
<<\_ACEOF
1888 if test "x$TMP" = "xalpha"; then
1890 cat >>confdefs.h
<<\_ACEOF
1895 DEFAULT_DEFAULT_wxUSE_GTK
=1
1897 *-*-gnu* | *-*-k*bsd
*-gnu )
1900 if test "x$TMP" = "xalpha"; then
1902 cat >>confdefs.h
<<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_GTK
=1
1909 *-*-irix5* | *-*-irix6* )
1912 cat >>confdefs.h
<<\_ACEOF
1916 cat >>confdefs.h
<<\_ACEOF
1920 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1926 cat >>confdefs.h
<<\_ACEOF
1930 cat >>confdefs.h
<<\_ACEOF
1931 #define __SOLARIS__ 1
1934 cat >>confdefs.h
<<\_ACEOF
1938 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1939 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1945 cat >>confdefs.h
<<\_ACEOF
1949 cat >>confdefs.h
<<\_ACEOF
1953 cat >>confdefs.h
<<\_ACEOF
1957 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1962 cat >>confdefs.h
<<\_ACEOF
1963 #define __FREEBSD__ 1
1966 cat >>confdefs.h
<<\_ACEOF
1970 DEFAULT_DEFAULT_wxUSE_GTK
=1
1972 *-*-openbsd*|*-*-mirbsd*)
1975 cat >>confdefs.h
<<\_ACEOF
1976 #define __OPENBSD__ 1
1979 cat >>confdefs.h
<<\_ACEOF
1983 DEFAULT_DEFAULT_wxUSE_GTK
=1
1988 cat >>confdefs.h
<<\_ACEOF
1989 #define __NETBSD__ 1
1992 cat >>confdefs.h
<<\_ACEOF
1996 DEFAULT_DEFAULT_wxUSE_GTK
=1
1997 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1999 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2004 cat >>confdefs.h
<<\_ACEOF
2008 cat >>confdefs.h
<<\_ACEOF
2012 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2013 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2018 cat >>confdefs.h
<<\_ACEOF
2022 cat >>confdefs.h
<<\_ACEOF
2026 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2031 cat >>confdefs.h
<<\_ACEOF
2035 cat >>confdefs.h
<<\_ACEOF
2039 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2046 cat >>confdefs.h
<<\_ACEOF
2050 cat >>confdefs.h
<<\_ACEOF
2054 cat >>confdefs.h
<<\_ACEOF
2058 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2065 cat >>confdefs.h
<<\_ACEOF
2066 #define __UNIXWARE__ 1
2071 *-*-cygwin* | *-*-mingw32* )
2074 DEFAULT_DEFAULT_wxUSE_MSW
=1
2080 cat >>confdefs.h
<<\_ACEOF
2085 DEFAULT_DEFAULT_wxUSE_MGL
=1
2088 *-pc-os2_emx | *-pc-os2-emx )
2089 cat >>confdefs.h
<<\_ACEOF
2094 cat >>confdefs.h
<<\_ACEOF
2099 DEFAULT_DEFAULT_wxUSE_PM
=1
2101 LDFLAGS
="$LDFLAGS -Zcrtdll"
2102 ac_executable_extensions
=".exe"
2103 export ac_executable_extensions
2107 for ac_dir
in $PATH; do
2109 if test -z "$ac_TEMP_PATH"; then
2110 ac_TEMP_PATH
="$ac_dir"
2112 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2115 export PATH
="$ac_TEMP_PATH"
2124 cat >>confdefs.h
<<\_ACEOF
2128 cat >>confdefs.h
<<\_ACEOF
2129 #define __DARWIN__ 1
2132 cat >>confdefs.h
<<\_ACEOF
2133 #define TARGET_CARBON 1
2136 DEFAULT_DEFAULT_wxUSE_MAC
=1
2139 powerpc
-apple-macos* )
2141 ac_cv_c_bigendian
=yes
2143 DEFAULT_DEFAULT_wxUSE_MAC
=1
2149 cat >>confdefs.h
<<\_ACEOF
2156 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2157 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2158 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2159 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2161 DEFAULT_DEFAULT_wxUSE_X11
=1
2162 DEFAULT_wxUSE_SHARED
=no
2168 wx_arg_cache_file
="configarg.cache"
2169 echo "loading argument cache $wx_arg_cache_file"
2170 rm -f ${wx_arg_cache_file}.tmp
2171 touch ${wx_arg_cache_file}.tmp
2172 touch ${wx_arg_cache_file}
2176 if test $DEBUG_CONFIGURE = 1; then
2177 DEFAULT_wxUSE_UNIVERSAL
=no
2178 DEFAULT_wxUSE_STL
=no
2180 DEFAULT_wxUSE_NANOX
=no
2182 DEFAULT_wxUSE_THREADS
=yes
2184 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2185 DEFAULT_wxUSE_OPTIMISE
=no
2186 DEFAULT_wxUSE_PROFILE
=no
2187 DEFAULT_wxUSE_NO_DEPS
=no
2188 DEFAULT_wxUSE_NO_RTTI
=no
2189 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2190 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2191 DEFAULT_wxUSE_RPATH
=yes
2192 DEFAULT_wxUSE_PERMISSIVE
=no
2193 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2194 DEFAULT_wxUSE_DEBUG_INFO
=yes
2195 DEFAULT_wxUSE_DEBUG_GDB
=yes
2196 DEFAULT_wxUSE_MEM_TRACING
=no
2197 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2198 DEFAULT_wxUSE_DMALLOC
=no
2199 DEFAULT_wxUSE_APPLE_IEEE
=no
2201 DEFAULT_wxUSE_EXCEPTIONS
=no
2202 DEFAULT_wxUSE_LOG
=yes
2203 DEFAULT_wxUSE_LOGWINDOW
=no
2204 DEFAULT_wxUSE_LOGGUI
=no
2205 DEFAULT_wxUSE_LOGDIALOG
=no
2207 DEFAULT_wxUSE_GUI
=yes
2208 DEFAULT_wxUSE_CONTROLS
=no
2210 DEFAULT_wxUSE_REGEX
=no
2211 DEFAULT_wxUSE_XML
=no
2212 DEFAULT_wxUSE_EXPAT
=no
2213 DEFAULT_wxUSE_ZLIB
=no
2214 DEFAULT_wxUSE_LIBPNG
=no
2215 DEFAULT_wxUSE_LIBJPEG
=no
2216 DEFAULT_wxUSE_LIBTIFF
=no
2217 DEFAULT_wxUSE_LIBXPM
=no
2218 DEFAULT_wxUSE_LIBMSPACK
=no
2219 DEFAULT_wxUSE_LIBSDL
=no
2220 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2221 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2222 DEFAULT_wxUSE_LIBHILDON
=no
2223 DEFAULT_wxUSE_ODBC
=no
2224 DEFAULT_wxUSE_OPENGL
=no
2226 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2227 DEFAULT_wxUSE_STACKWALKER
=no
2228 DEFAULT_wxUSE_DEBUGREPORT
=no
2229 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2230 DEFAULT_wxUSE_STD_IOSTREAM
=no
2231 DEFAULT_wxUSE_STD_STRING
=no
2232 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2233 DEFAULT_wxUSE_DATETIME
=no
2234 DEFAULT_wxUSE_TIMER
=no
2235 DEFAULT_wxUSE_STOPWATCH
=no
2236 DEFAULT_wxUSE_FILE
=no
2237 DEFAULT_wxUSE_FFILE
=no
2238 DEFAULT_wxUSE_STDPATHS
=no
2239 DEFAULT_wxUSE_TEXTBUFFER
=no
2240 DEFAULT_wxUSE_TEXTFILE
=no
2241 DEFAULT_wxUSE_SOUND
=no
2242 DEFAULT_wxUSE_MEDIACTRL
=no
2243 DEFAULT_wxUSE_GSTREAMER8
=no
2244 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2245 DEFAULT_wxUSE_INTL
=no
2246 DEFAULT_wxUSE_CONFIG
=no
2247 DEFAULT_wxUSE_FONTMAP
=no
2248 DEFAULT_wxUSE_STREAMS
=no
2249 DEFAULT_wxUSE_SOCKETS
=no
2250 DEFAULT_wxUSE_OLE
=no
2251 DEFAULT_wxUSE_DATAOBJ
=no
2252 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2253 DEFAULT_wxUSE_JOYSTICK
=no
2254 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2255 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2256 DEFAULT_wxUSE_LONGLONG
=no
2257 DEFAULT_wxUSE_GEOMETRY
=no
2259 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2260 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2261 DEFAULT_wxUSE_POSTSCRIPT
=no
2263 DEFAULT_wxUSE_CLIPBOARD
=no
2264 DEFAULT_wxUSE_TOOLTIPS
=no
2265 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2266 DEFAULT_wxUSE_DRAGIMAGE
=no
2267 DEFAULT_wxUSE_SPLINES
=no
2268 DEFAULT_wxUSE_MOUSEWHEEL
=no
2270 DEFAULT_wxUSE_MDI
=no
2271 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2272 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2273 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2275 DEFAULT_wxUSE_RESOURCES
=no
2276 DEFAULT_wxUSE_CONSTRAINTS
=no
2277 DEFAULT_wxUSE_IPC
=no
2278 DEFAULT_wxUSE_HELP
=no
2279 DEFAULT_wxUSE_MS_HTML_HELP
=no
2280 DEFAULT_wxUSE_WXHTML_HELP
=no
2281 DEFAULT_wxUSE_TREELAYOUT
=no
2282 DEFAULT_wxUSE_METAFILE
=no
2283 DEFAULT_wxUSE_MIMETYPE
=no
2284 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2285 DEFAULT_wxUSE_PROTOCOL
=no
2286 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2287 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2288 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2289 DEFAULT_wxUSE_URL
=no
2290 DEFAULT_wxUSE_VARIANT
=no
2292 DEFAULT_wxUSE_ABOUTDLG
=no
2293 DEFAULT_wxUSE_COMMONDLGS
=no
2294 DEFAULT_wxUSE_CHOICEDLG
=no
2295 DEFAULT_wxUSE_COLOURDLG
=no
2296 DEFAULT_wxUSE_DIRDLG
=no
2297 DEFAULT_wxUSE_FILEDLG
=no
2298 DEFAULT_wxUSE_FINDREPLDLG
=no
2299 DEFAULT_wxUSE_FONTDLG
=no
2300 DEFAULT_wxUSE_MSGDLG
=no
2301 DEFAULT_wxUSE_NUMBERDLG
=no
2302 DEFAULT_wxUSE_TEXTDLG
=no
2303 DEFAULT_wxUSE_SPLASH
=no
2304 DEFAULT_wxUSE_STARTUP_TIPS
=no
2305 DEFAULT_wxUSE_PROGRESSDLG
=no
2306 DEFAULT_wxUSE_WIZARDDLG
=no
2308 DEFAULT_wxUSE_MENUS
=no
2309 DEFAULT_wxUSE_MINIFRAME
=no
2310 DEFAULT_wxUSE_HTML
=no
2311 DEFAULT_wxUSE_RICHTEXT
=no
2312 DEFAULT_wxUSE_XRC
=no
2313 DEFAULT_wxUSE_AUI
=no
2314 DEFAULT_wxUSE_WEBKIT
=no
2315 DEFAULT_wxUSE_FILESYSTEM
=no
2316 DEFAULT_wxUSE_FS_INET
=no
2317 DEFAULT_wxUSE_FS_ZIP
=no
2318 DEFAULT_wxUSE_FS_ARCHIVE
=no
2319 DEFAULT_wxUSE_BUSYINFO
=no
2320 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2321 DEFAULT_wxUSE_ZIPSTREAM
=no
2322 DEFAULT_wxUSE_TARSTREAM
=no
2323 DEFAULT_wxUSE_VALIDATORS
=no
2325 DEFAULT_wxUSE_ACCEL
=no
2326 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2327 DEFAULT_wxUSE_BUTTON
=no
2328 DEFAULT_wxUSE_BMPBUTTON
=no
2329 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2330 DEFAULT_wxUSE_CALCTRL
=no
2331 DEFAULT_wxUSE_CARET
=no
2332 DEFAULT_wxUSE_CHECKBOX
=no
2333 DEFAULT_wxUSE_CHECKLST
=no
2334 DEFAULT_wxUSE_CHOICE
=no
2335 DEFAULT_wxUSE_CHOICEBOOK
=no
2336 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2337 DEFAULT_wxUSE_COMBOBOX
=no
2338 DEFAULT_wxUSE_COMBOCTRL
=no
2339 DEFAULT_wxUSE_DATEPICKCTRL
=no
2340 DEFAULT_wxUSE_DISPLAY
=no
2341 DEFAULT_wxUSE_DETECT_SM
=no
2342 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2343 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2344 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2345 DEFAULT_wxUSE_GAUGE
=no
2346 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2347 DEFAULT_wxUSE_GRID
=no
2348 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2349 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2350 DEFAULT_wxUSE_IMAGLIST
=no
2351 DEFAULT_wxUSE_LISTBOOK
=no
2352 DEFAULT_wxUSE_LISTBOX
=no
2353 DEFAULT_wxUSE_LISTCTRL
=no
2354 DEFAULT_wxUSE_NOTEBOOK
=no
2355 DEFAULT_wxUSE_ODCOMBOBOX
=no
2356 DEFAULT_wxUSE_RADIOBOX
=no
2357 DEFAULT_wxUSE_RADIOBTN
=no
2358 DEFAULT_wxUSE_SASH
=no
2359 DEFAULT_wxUSE_SCROLLBAR
=no
2360 DEFAULT_wxUSE_SLIDER
=no
2361 DEFAULT_wxUSE_SPINBTN
=no
2362 DEFAULT_wxUSE_SPINCTRL
=no
2363 DEFAULT_wxUSE_SPLITTER
=no
2364 DEFAULT_wxUSE_STATBMP
=no
2365 DEFAULT_wxUSE_STATBOX
=no
2366 DEFAULT_wxUSE_STATLINE
=no
2367 DEFAULT_wxUSE_STATTEXT
=no
2368 DEFAULT_wxUSE_STATUSBAR
=yes
2369 DEFAULT_wxUSE_TAB_DIALOG
=no
2370 DEFAULT_wxUSE_TEXTCTRL
=no
2371 DEFAULT_wxUSE_TOGGLEBTN
=no
2372 DEFAULT_wxUSE_TOOLBAR
=no
2373 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2374 DEFAULT_wxUSE_TREEBOOK
=no
2375 DEFAULT_wxUSE_TOOLBOOK
=no
2376 DEFAULT_wxUSE_TREECTRL
=no
2377 DEFAULT_wxUSE_POPUPWIN
=no
2378 DEFAULT_wxUSE_TIPWINDOW
=no
2380 DEFAULT_wxUSE_UNICODE
=no
2381 DEFAULT_wxUSE_UNICODE_MSLU
=no
2382 DEFAULT_wxUSE_WCSRTOMBS
=no
2384 DEFAULT_wxUSE_PALETTE
=no
2385 DEFAULT_wxUSE_IMAGE
=no
2386 DEFAULT_wxUSE_GIF
=no
2387 DEFAULT_wxUSE_PCX
=no
2388 DEFAULT_wxUSE_PNM
=no
2389 DEFAULT_wxUSE_IFF
=no
2390 DEFAULT_wxUSE_XPM
=no
2391 DEFAULT_wxUSE_ICO_CUR
=no
2392 DEFAULT_wxUSE_ACCESSIBILITY
=no
2394 DEFAULT_wxUSE_MONOLITHIC
=no
2395 DEFAULT_wxUSE_PLUGINS
=no
2396 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2398 DEFAULT_wxUSE_UNIVERSAL
=no
2399 DEFAULT_wxUSE_STL
=no
2401 DEFAULT_wxUSE_NANOX
=no
2403 DEFAULT_wxUSE_THREADS
=yes
2405 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2406 DEFAULT_wxUSE_OPTIMISE
=yes
2407 DEFAULT_wxUSE_PROFILE
=no
2408 DEFAULT_wxUSE_NO_DEPS
=no
2409 DEFAULT_wxUSE_NO_RTTI
=no
2410 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2411 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2412 DEFAULT_wxUSE_RPATH
=yes
2413 DEFAULT_wxUSE_PERMISSIVE
=no
2414 DEFAULT_wxUSE_DEBUG_FLAG
=no
2415 DEFAULT_wxUSE_DEBUG_INFO
=no
2416 DEFAULT_wxUSE_DEBUG_GDB
=no
2417 DEFAULT_wxUSE_MEM_TRACING
=no
2418 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2419 DEFAULT_wxUSE_DMALLOC
=no
2420 DEFAULT_wxUSE_APPLE_IEEE
=yes
2422 DEFAULT_wxUSE_EXCEPTIONS
=yes
2423 DEFAULT_wxUSE_LOG
=yes
2424 DEFAULT_wxUSE_LOGWINDOW
=yes
2425 DEFAULT_wxUSE_LOGGUI
=yes
2426 DEFAULT_wxUSE_LOGDIALOG
=yes
2428 DEFAULT_wxUSE_GUI
=yes
2430 DEFAULT_wxUSE_REGEX
=yes
2431 DEFAULT_wxUSE_XML
=yes
2432 DEFAULT_wxUSE_EXPAT
=yes
2433 DEFAULT_wxUSE_ZLIB
=yes
2434 DEFAULT_wxUSE_LIBPNG
=yes
2435 DEFAULT_wxUSE_LIBJPEG
=yes
2436 DEFAULT_wxUSE_LIBTIFF
=yes
2437 DEFAULT_wxUSE_LIBXPM
=yes
2438 DEFAULT_wxUSE_LIBMSPACK
=yes
2439 DEFAULT_wxUSE_LIBSDL
=no
2440 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2441 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2442 DEFAULT_wxUSE_LIBHILDON
=no
2443 DEFAULT_wxUSE_ODBC
=no
2444 DEFAULT_wxUSE_OPENGL
=no
2446 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2447 DEFAULT_wxUSE_STACKWALKER
=yes
2448 DEFAULT_wxUSE_DEBUGREPORT
=yes
2449 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2450 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2451 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2452 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2453 DEFAULT_wxUSE_DATETIME
=yes
2454 DEFAULT_wxUSE_TIMER
=yes
2455 DEFAULT_wxUSE_STOPWATCH
=yes
2456 DEFAULT_wxUSE_FILE
=yes
2457 DEFAULT_wxUSE_FFILE
=yes
2458 DEFAULT_wxUSE_STDPATHS
=yes
2459 DEFAULT_wxUSE_TEXTBUFFER
=yes
2460 DEFAULT_wxUSE_TEXTFILE
=yes
2461 DEFAULT_wxUSE_SOUND
=yes
2462 DEFAULT_wxUSE_MEDIACTRL
=no
2463 DEFAULT_wxUSE_GSTREAMER8
=no
2464 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2465 DEFAULT_wxUSE_INTL
=yes
2466 DEFAULT_wxUSE_CONFIG
=yes
2467 DEFAULT_wxUSE_FONTMAP
=yes
2468 DEFAULT_wxUSE_STREAMS
=yes
2469 DEFAULT_wxUSE_SOCKETS
=yes
2470 DEFAULT_wxUSE_OLE
=yes
2471 DEFAULT_wxUSE_DATAOBJ
=yes
2472 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2473 DEFAULT_wxUSE_JOYSTICK
=yes
2474 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2475 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2476 DEFAULT_wxUSE_LONGLONG
=yes
2477 DEFAULT_wxUSE_GEOMETRY
=yes
2479 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2480 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2481 DEFAULT_wxUSE_POSTSCRIPT
=yes
2483 DEFAULT_wxUSE_CLIPBOARD
=yes
2484 DEFAULT_wxUSE_TOOLTIPS
=yes
2485 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2486 DEFAULT_wxUSE_DRAGIMAGE
=yes
2487 DEFAULT_wxUSE_SPLINES
=yes
2488 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2490 DEFAULT_wxUSE_MDI
=yes
2491 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2492 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2493 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2495 DEFAULT_wxUSE_RESOURCES
=no
2496 DEFAULT_wxUSE_CONSTRAINTS
=yes
2497 DEFAULT_wxUSE_IPC
=yes
2498 DEFAULT_wxUSE_HELP
=yes
2499 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2500 DEFAULT_wxUSE_WXHTML_HELP
=yes
2501 DEFAULT_wxUSE_TREELAYOUT
=yes
2502 DEFAULT_wxUSE_METAFILE
=yes
2503 DEFAULT_wxUSE_MIMETYPE
=yes
2504 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2505 DEFAULT_wxUSE_PROTOCOL
=yes
2506 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2507 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2508 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2509 DEFAULT_wxUSE_URL
=yes
2510 DEFAULT_wxUSE_VARIANT
=yes
2512 DEFAULT_wxUSE_ABOUTDLG
=yes
2513 DEFAULT_wxUSE_COMMONDLGS
=yes
2514 DEFAULT_wxUSE_CHOICEDLG
=yes
2515 DEFAULT_wxUSE_COLOURDLG
=yes
2516 DEFAULT_wxUSE_DIRDLG
=yes
2517 DEFAULT_wxUSE_FILEDLG
=yes
2518 DEFAULT_wxUSE_FINDREPLDLG
=yes
2519 DEFAULT_wxUSE_FONTDLG
=yes
2520 DEFAULT_wxUSE_MSGDLG
=yes
2521 DEFAULT_wxUSE_NUMBERDLG
=yes
2522 DEFAULT_wxUSE_TEXTDLG
=yes
2523 DEFAULT_wxUSE_SPLASH
=yes
2524 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2525 DEFAULT_wxUSE_PROGRESSDLG
=yes
2526 DEFAULT_wxUSE_WIZARDDLG
=yes
2528 DEFAULT_wxUSE_MENUS
=yes
2529 DEFAULT_wxUSE_MINIFRAME
=yes
2530 DEFAULT_wxUSE_HTML
=yes
2531 DEFAULT_wxUSE_RICHTEXT
=yes
2532 DEFAULT_wxUSE_XRC
=yes
2533 DEFAULT_wxUSE_AUI
=yes
2534 DEFAULT_wxUSE_WEBKIT
=yes
2535 DEFAULT_wxUSE_FILESYSTEM
=yes
2536 DEFAULT_wxUSE_FS_INET
=yes
2537 DEFAULT_wxUSE_FS_ZIP
=yes
2538 DEFAULT_wxUSE_FS_ARCHIVE
=yes
2539 DEFAULT_wxUSE_BUSYINFO
=yes
2540 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2541 DEFAULT_wxUSE_ZIPSTREAM
=yes
2542 DEFAULT_wxUSE_TARSTREAM
=yes
2543 DEFAULT_wxUSE_VALIDATORS
=yes
2545 DEFAULT_wxUSE_ACCEL
=yes
2546 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2547 DEFAULT_wxUSE_BUTTON
=yes
2548 DEFAULT_wxUSE_BMPBUTTON
=yes
2549 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2550 DEFAULT_wxUSE_CALCTRL
=yes
2551 DEFAULT_wxUSE_CARET
=yes
2552 DEFAULT_wxUSE_CHECKBOX
=yes
2553 DEFAULT_wxUSE_CHECKLST
=yes
2554 DEFAULT_wxUSE_CHOICE
=yes
2555 DEFAULT_wxUSE_CHOICEBOOK
=yes
2556 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2557 DEFAULT_wxUSE_COMBOBOX
=yes
2558 DEFAULT_wxUSE_COMBOCTRL
=yes
2559 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2560 DEFAULT_wxUSE_DISPLAY
=yes
2561 DEFAULT_wxUSE_DETECT_SM
=yes
2562 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2563 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2564 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2565 DEFAULT_wxUSE_GAUGE
=yes
2566 DEFAULT_wxUSE_GRID
=yes
2567 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2568 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2569 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2570 DEFAULT_wxUSE_IMAGLIST
=yes
2571 DEFAULT_wxUSE_LISTBOOK
=yes
2572 DEFAULT_wxUSE_LISTBOX
=yes
2573 DEFAULT_wxUSE_LISTCTRL
=yes
2574 DEFAULT_wxUSE_NOTEBOOK
=yes
2575 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2576 DEFAULT_wxUSE_RADIOBOX
=yes
2577 DEFAULT_wxUSE_RADIOBTN
=yes
2578 DEFAULT_wxUSE_SASH
=yes
2579 DEFAULT_wxUSE_SCROLLBAR
=yes
2580 DEFAULT_wxUSE_SLIDER
=yes
2581 DEFAULT_wxUSE_SPINBTN
=yes
2582 DEFAULT_wxUSE_SPINCTRL
=yes
2583 DEFAULT_wxUSE_SPLITTER
=yes
2584 DEFAULT_wxUSE_STATBMP
=yes
2585 DEFAULT_wxUSE_STATBOX
=yes
2586 DEFAULT_wxUSE_STATLINE
=yes
2587 DEFAULT_wxUSE_STATTEXT
=yes
2588 DEFAULT_wxUSE_STATUSBAR
=yes
2589 DEFAULT_wxUSE_TAB_DIALOG
=no
2590 DEFAULT_wxUSE_TEXTCTRL
=yes
2591 DEFAULT_wxUSE_TOGGLEBTN
=yes
2592 DEFAULT_wxUSE_TOOLBAR
=yes
2593 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2594 DEFAULT_wxUSE_TREEBOOK
=yes
2595 DEFAULT_wxUSE_TOOLBOOK
=yes
2596 DEFAULT_wxUSE_TREECTRL
=yes
2597 DEFAULT_wxUSE_POPUPWIN
=yes
2598 DEFAULT_wxUSE_TIPWINDOW
=yes
2600 DEFAULT_wxUSE_UNICODE
=no
2601 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2602 DEFAULT_wxUSE_WCSRTOMBS
=no
2604 DEFAULT_wxUSE_PALETTE
=yes
2605 DEFAULT_wxUSE_IMAGE
=yes
2606 DEFAULT_wxUSE_GIF
=yes
2607 DEFAULT_wxUSE_PCX
=yes
2608 DEFAULT_wxUSE_IFF
=no
2609 DEFAULT_wxUSE_PNM
=yes
2610 DEFAULT_wxUSE_XPM
=yes
2611 DEFAULT_wxUSE_ICO_CUR
=yes
2612 DEFAULT_wxUSE_ACCESSIBILITY
=no
2614 DEFAULT_wxUSE_MONOLITHIC
=no
2615 DEFAULT_wxUSE_PLUGINS
=no
2616 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2618 DEFAULT_wxUSE_GTK2
=yes
2624 for toolkit
in `echo $ALL_TOOLKITS`; do
2625 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2626 if test "x$LINE" != "x" ; then
2627 has_toolkit_in_cache
=1
2628 eval "DEFAULT_$LINE"
2629 eval "CACHE_$toolkit=1"
2631 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2632 if test "x$LINE" != "x" ; then
2633 eval "DEFAULT_$LINE"
2641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2642 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2644 # Check whether --enable-gui or --disable-gui was given.
2645 if test "${enable_gui+set}" = set; then
2646 enableval
="$enable_gui"
2648 if test "$enableval" = yes; then
2649 ac_cv_use_gui
='wxUSE_GUI=yes'
2651 ac_cv_use_gui
='wxUSE_GUI=no'
2656 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2657 if test "x$LINE" != x
; then
2658 eval "DEFAULT_$LINE"
2663 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2667 eval "$ac_cv_use_gui"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2672 if test "$wxUSE_GUI" = yes; then
2673 echo "$as_me:$LINENO: result: yes" >&5
2674 echo "${ECHO_T}yes" >&6
2676 echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6
2682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2683 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2685 # Check whether --enable-monolithic or --disable-monolithic was given.
2686 if test "${enable_monolithic+set}" = set; then
2687 enableval
="$enable_monolithic"
2689 if test "$enableval" = yes; then
2690 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2692 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2697 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x
; then
2699 eval "DEFAULT_$LINE"
2704 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2708 eval "$ac_cv_use_monolithic"
2709 if test "$no_cache" != 1; then
2710 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2713 if test "$wxUSE_MONOLITHIC" = yes; then
2714 echo "$as_me:$LINENO: result: yes" >&5
2715 echo "${ECHO_T}yes" >&6
2717 echo "$as_me:$LINENO: result: no" >&5
2718 echo "${ECHO_T}no" >&6
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2726 # Check whether --enable-plugins or --disable-plugins was given.
2727 if test "${enable_plugins+set}" = set; then
2728 enableval
="$enable_plugins"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2733 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2738 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2749 eval "$ac_cv_use_plugins"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2754 if test "$wxUSE_PLUGINS" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2764 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2765 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2768 # Check whether --with-subdirs or --without-subdirs was given.
2769 if test "${with_subdirs+set}" = set; then
2770 withval
="$with_subdirs"
2772 if test "$withval" = yes; then
2773 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2775 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2780 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2781 if test "x$LINE" != x
; then
2782 eval "DEFAULT_$LINE"
2787 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2791 eval "$ac_cv_use_subdirs"
2792 if test "$no_cache" != 1; then
2793 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2796 if test "$wxWITH_SUBDIRS" = yes; then
2797 echo "$as_me:$LINENO: result: yes" >&5
2798 echo "${ECHO_T}yes" >&6
2800 echo "$as_me:$LINENO: result: no" >&5
2801 echo "${ECHO_T}no" >&6
2805 if test "$wxUSE_GUI" = "yes"; then
2809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2810 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2812 # Check whether --enable-universal or --disable-universal was given.
2813 if test "${enable_universal+set}" = set; then
2814 enableval
="$enable_universal"
2816 if test "$enableval" = yes; then
2817 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2819 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2824 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2825 if test "x$LINE" != x
; then
2826 eval "DEFAULT_$LINE"
2831 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2835 eval "$ac_cv_use_universal"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2840 if test "$wxUSE_UNIVERSAL" = yes; then
2841 echo "$as_me:$LINENO: result: yes" >&5
2842 echo "${ECHO_T}yes" >&6
2844 echo "$as_me:$LINENO: result: no" >&5
2845 echo "${ECHO_T}no" >&6
2849 # Check whether --with-gtk or --without-gtk was given.
2850 if test "${with_gtk+set}" = set; then
2852 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2855 # Check whether --with-motif or --without-motif was given.
2856 if test "${with_motif+set}" = set; then
2857 withval
="$with_motif"
2858 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2861 # Check whether --with-mac or --without-mac was given.
2862 if test "${with_mac+set}" = set; then
2864 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2867 # Check whether --with-cocoa or --without-cocoa was given.
2868 if test "${with_cocoa+set}" = set; then
2869 withval
="$with_cocoa"
2870 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2873 # Check whether --with-wine or --without-wine was given.
2874 if test "${with_wine+set}" = set; then
2875 withval
="$with_wine"
2876 wxUSE_WINE
="$withval" CACHE_WINE
=1
2879 # Check whether --with-msw or --without-msw was given.
2880 if test "${with_msw+set}" = set; then
2882 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2885 # Check whether --with-pm or --without-pm was given.
2886 if test "${with_pm+set}" = set; then
2888 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2891 # Check whether --with-mgl or --without-mgl was given.
2892 if test "${with_mgl+set}" = set; then
2894 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2897 # Check whether --with-directfb or --without-directfb was given.
2898 if test "${with_directfb+set}" = set; then
2899 withval
="$with_directfb"
2900 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2903 # Check whether --with-microwin or --without-microwin was given.
2904 if test "${with_microwin+set}" = set; then
2905 withval
="$with_microwin"
2906 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2909 # Check whether --with-x11 or --without-x11 was given.
2910 if test "${with_x11+set}" = set; then
2912 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2917 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2919 # Check whether --enable-nanox or --disable-nanox was given.
2920 if test "${enable_nanox+set}" = set; then
2921 enableval
="$enable_nanox"
2923 if test "$enableval" = yes; then
2924 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2926 ac_cv_use_nanox
='wxUSE_NANOX=no'
2931 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x
; then
2933 eval "DEFAULT_$LINE"
2938 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2942 eval "$ac_cv_use_nanox"
2943 if test "$no_cache" != 1; then
2944 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2947 if test "$wxUSE_NANOX" = yes; then
2948 echo "$as_me:$LINENO: result: yes" >&5
2949 echo "${ECHO_T}yes" >&6
2951 echo "$as_me:$LINENO: result: no" >&5
2952 echo "${ECHO_T}no" >&6
2956 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2957 if test "${enable_gtk2+set}" = set; then
2958 enableval
="$enable_gtk2"
2959 wxUSE_GTK2
="$enableval"
2963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2964 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2966 # Check whether --enable-gpe or --disable-gpe was given.
2967 if test "${enable_gpe+set}" = set; then
2968 enableval
="$enable_gpe"
2970 if test "$enableval" = yes; then
2971 ac_cv_use_gpe
='wxUSE_GPE=yes'
2973 ac_cv_use_gpe
='wxUSE_GPE=no'
2978 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2989 eval "$ac_cv_use_gpe"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_GPE" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3004 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3005 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3008 # Check whether --with-libpng or --without-libpng was given.
3009 if test "${with_libpng+set}" = set; then
3010 withval
="$with_libpng"
3012 if test "$withval" = yes; then
3013 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3014 elif test "$withval" = no
; then
3015 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3016 elif test "$withval" = sys
; then
3017 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3018 elif test "$withval" = builtin; then
3019 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3021 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3022 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3023 { (exit 1); exit 1; }; }
3028 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x
; then
3030 eval "DEFAULT_$LINE"
3035 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3039 eval "$ac_cv_use_libpng"
3040 if test "$no_cache" != 1; then
3041 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3044 if test "$wxUSE_LIBPNG" = yes; then
3045 echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6
3047 elif test "$wxUSE_LIBPNG" = no
; then
3048 echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6
3050 elif test "$wxUSE_LIBPNG" = sys
; then
3051 echo "$as_me:$LINENO: result: system version" >&5
3052 echo "${ECHO_T}system version" >&6
3053 elif test "$wxUSE_LIBPNG" = builtin; then
3054 echo "$as_me:$LINENO: result: builtin version" >&5
3055 echo "${ECHO_T}builtin version" >&6
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3063 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3064 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3067 # Check whether --with-libjpeg or --without-libjpeg was given.
3068 if test "${with_libjpeg+set}" = set; then
3069 withval
="$with_libjpeg"
3071 if test "$withval" = yes; then
3072 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3073 elif test "$withval" = no
; then
3074 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3075 elif test "$withval" = sys
; then
3076 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3077 elif test "$withval" = builtin; then
3078 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3080 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3081 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3082 { (exit 1); exit 1; }; }
3087 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x
; then
3089 eval "DEFAULT_$LINE"
3094 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3098 eval "$ac_cv_use_libjpeg"
3099 if test "$no_cache" != 1; then
3100 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3103 if test "$wxUSE_LIBJPEG" = yes; then
3104 echo "$as_me:$LINENO: result: yes" >&5
3105 echo "${ECHO_T}yes" >&6
3106 elif test "$wxUSE_LIBJPEG" = no
; then
3107 echo "$as_me:$LINENO: result: no" >&5
3108 echo "${ECHO_T}no" >&6
3109 elif test "$wxUSE_LIBJPEG" = sys
; then
3110 echo "$as_me:$LINENO: result: system version" >&5
3111 echo "${ECHO_T}system version" >&6
3112 elif test "$wxUSE_LIBJPEG" = builtin; then
3113 echo "$as_me:$LINENO: result: builtin version" >&5
3114 echo "${ECHO_T}builtin version" >&6
3116 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3117 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3118 { (exit 1); exit 1; }; }
3122 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3123 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3126 # Check whether --with-libtiff or --without-libtiff was given.
3127 if test "${with_libtiff+set}" = set; then
3128 withval
="$with_libtiff"
3130 if test "$withval" = yes; then
3131 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3132 elif test "$withval" = no
; then
3133 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3134 elif test "$withval" = sys
; then
3135 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3136 elif test "$withval" = builtin; then
3137 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3139 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3140 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3141 { (exit 1); exit 1; }; }
3146 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3147 if test "x$LINE" != x
; then
3148 eval "DEFAULT_$LINE"
3153 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3157 eval "$ac_cv_use_libtiff"
3158 if test "$no_cache" != 1; then
3159 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3162 if test "$wxUSE_LIBTIFF" = yes; then
3163 echo "$as_me:$LINENO: result: yes" >&5
3164 echo "${ECHO_T}yes" >&6
3165 elif test "$wxUSE_LIBTIFF" = no
; then
3166 echo "$as_me:$LINENO: result: no" >&5
3167 echo "${ECHO_T}no" >&6
3168 elif test "$wxUSE_LIBTIFF" = sys
; then
3169 echo "$as_me:$LINENO: result: system version" >&5
3170 echo "${ECHO_T}system version" >&6
3171 elif test "$wxUSE_LIBTIFF" = builtin; then
3172 echo "$as_me:$LINENO: result: builtin version" >&5
3173 echo "${ECHO_T}builtin version" >&6
3175 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3176 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3177 { (exit 1); exit 1; }; }
3181 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3182 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3185 # Check whether --with-libxpm or --without-libxpm was given.
3186 if test "${with_libxpm+set}" = set; then
3187 withval
="$with_libxpm"
3189 if test "$withval" = yes; then
3190 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3191 elif test "$withval" = no
; then
3192 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3193 elif test "$withval" = sys
; then
3194 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3195 elif test "$withval" = builtin; then
3196 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3198 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3199 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3200 { (exit 1); exit 1; }; }
3205 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3206 if test "x$LINE" != x
; then
3207 eval "DEFAULT_$LINE"
3212 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3216 eval "$ac_cv_use_libxpm"
3217 if test "$no_cache" != 1; then
3218 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3221 if test "$wxUSE_LIBXPM" = yes; then
3222 echo "$as_me:$LINENO: result: yes" >&5
3223 echo "${ECHO_T}yes" >&6
3224 elif test "$wxUSE_LIBXPM" = no
; then
3225 echo "$as_me:$LINENO: result: no" >&5
3226 echo "${ECHO_T}no" >&6
3227 elif test "$wxUSE_LIBXPM" = sys
; then
3228 echo "$as_me:$LINENO: result: system version" >&5
3229 echo "${ECHO_T}system version" >&6
3230 elif test "$wxUSE_LIBXPM" = builtin; then
3231 echo "$as_me:$LINENO: result: builtin version" >&5
3232 echo "${ECHO_T}builtin version" >&6
3234 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3235 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3236 { (exit 1); exit 1; }; }
3241 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3242 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3245 # Check whether --with-libmspack or --without-libmspack was given.
3246 if test "${with_libmspack+set}" = set; then
3247 withval
="$with_libmspack"
3249 if test "$withval" = yes; then
3250 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3252 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3257 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x
; then
3259 eval "DEFAULT_$LINE"
3264 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3268 eval "$ac_cv_use_libmspack"
3269 if test "$no_cache" != 1; then
3270 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3273 if test "$wxUSE_LIBMSPACK" = yes; then
3274 echo "$as_me:$LINENO: result: yes" >&5
3275 echo "${ECHO_T}yes" >&6
3277 echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6
3283 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3287 # Check whether --with-sdl or --without-sdl was given.
3288 if test "${with_sdl+set}" = set; then
3291 if test "$withval" = yes; then
3292 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3294 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3299 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x
; then
3301 eval "DEFAULT_$LINE"
3306 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3310 eval "$ac_cv_use_sdl"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3315 if test "$wxUSE_LIBSDL" = yes; then
3316 echo "$as_me:$LINENO: result: yes" >&5
3317 echo "${ECHO_T}yes" >&6
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3325 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3326 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3329 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3330 if test "${with_gnomeprint+set}" = set; then
3331 withval
="$with_gnomeprint"
3333 if test "$withval" = yes; then
3334 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3336 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3341 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3342 if test "x$LINE" != x
; then
3343 eval "DEFAULT_$LINE"
3348 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3352 eval "$ac_cv_use_gnomeprint"
3353 if test "$no_cache" != 1; then
3354 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3357 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3358 echo "$as_me:$LINENO: result: yes" >&5
3359 echo "${ECHO_T}yes" >&6
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3367 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3368 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3371 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3372 if test "${with_gnomevfs+set}" = set; then
3373 withval
="$with_gnomevfs"
3375 if test "$withval" = yes; then
3376 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3378 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3383 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3384 if test "x$LINE" != x
; then
3385 eval "DEFAULT_$LINE"
3390 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3394 eval "$ac_cv_use_gnomevfs"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3399 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3400 echo "$as_me:$LINENO: result: yes" >&5
3401 echo "${ECHO_T}yes" >&6
3403 echo "$as_me:$LINENO: result: no" >&5
3404 echo "${ECHO_T}no" >&6
3409 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3410 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3413 # Check whether --with-hildon or --without-hildon was given.
3414 if test "${with_hildon+set}" = set; then
3415 withval
="$with_hildon"
3417 if test "$withval" = yes; then
3418 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3420 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3425 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3426 if test "x$LINE" != x
; then
3427 eval "DEFAULT_$LINE"
3432 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3436 eval "$ac_cv_use_hildon"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3441 if test "$wxUSE_LIBHILDON" = yes; then
3442 echo "$as_me:$LINENO: result: yes" >&5
3443 echo "${ECHO_T}yes" >&6
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3451 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3452 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3455 # Check whether --with-opengl or --without-opengl was given.
3456 if test "${with_opengl+set}" = set; then
3457 withval
="$with_opengl"
3459 if test "$withval" = yes; then
3460 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3462 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3467 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x
; then
3469 eval "DEFAULT_$LINE"
3474 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3478 eval "$ac_cv_use_opengl"
3479 if test "$no_cache" != 1; then
3480 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3483 if test "$wxUSE_OPENGL" = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485 echo "${ECHO_T}yes" >&6
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3492 if test "$wxUSE_UNIVERSAL" = "yes"; then
3494 # Check whether --with-themes or --without-themes was given.
3495 if test "${with_themes+set}" = set; then
3496 withval
="$with_themes"
3497 wxUNIV_THEMES
="$withval"
3505 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3506 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3509 # Check whether --with-dmalloc or --without-dmalloc was given.
3510 if test "${with_dmalloc+set}" = set; then
3511 withval
="$with_dmalloc"
3513 if test "$withval" = yes; then
3514 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3516 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3521 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x
; then
3523 eval "DEFAULT_$LINE"
3528 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3532 eval "$ac_cv_use_dmalloc"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3537 if test "$wxUSE_DMALLOC" = yes; then
3538 echo "$as_me:$LINENO: result: yes" >&5
3539 echo "${ECHO_T}yes" >&6
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3546 echo "$as_me:$LINENO: checking for --with-regex" >&5
3547 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3550 # Check whether --with-regex or --without-regex was given.
3551 if test "${with_regex+set}" = set; then
3552 withval
="$with_regex"
3554 if test "$withval" = yes; then
3555 ac_cv_use_regex
='wxUSE_REGEX=yes'
3556 elif test "$withval" = no
; then
3557 ac_cv_use_regex
='wxUSE_REGEX=no'
3558 elif test "$withval" = sys
; then
3559 ac_cv_use_regex
='wxUSE_REGEX=sys'
3560 elif test "$withval" = builtin; then
3561 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3570 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x
; then
3572 eval "DEFAULT_$LINE"
3577 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3581 eval "$ac_cv_use_regex"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_REGEX" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3589 elif test "$wxUSE_REGEX" = no
; then
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 elif test "$wxUSE_REGEX" = sys
; then
3593 echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6
3595 elif test "$wxUSE_REGEX" = builtin; then
3596 echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3605 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3606 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3609 # Check whether --with-zlib or --without-zlib was given.
3610 if test "${with_zlib+set}" = set; then
3611 withval
="$with_zlib"
3613 if test "$withval" = yes; then
3614 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3615 elif test "$withval" = no
; then
3616 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3617 elif test "$withval" = sys
; then
3618 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3619 elif test "$withval" = builtin; then
3620 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3622 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3623 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3624 { (exit 1); exit 1; }; }
3629 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3630 if test "x$LINE" != x
; then
3631 eval "DEFAULT_$LINE"
3636 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3640 eval "$ac_cv_use_zlib"
3641 if test "$no_cache" != 1; then
3642 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3645 if test "$wxUSE_ZLIB" = yes; then
3646 echo "$as_me:$LINENO: result: yes" >&5
3647 echo "${ECHO_T}yes" >&6
3648 elif test "$wxUSE_ZLIB" = no
; then
3649 echo "$as_me:$LINENO: result: no" >&5
3650 echo "${ECHO_T}no" >&6
3651 elif test "$wxUSE_ZLIB" = sys
; then
3652 echo "$as_me:$LINENO: result: system version" >&5
3653 echo "${ECHO_T}system version" >&6
3654 elif test "$wxUSE_ZLIB" = builtin; then
3655 echo "$as_me:$LINENO: result: builtin version" >&5
3656 echo "${ECHO_T}builtin version" >&6
3658 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3659 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3664 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3665 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3668 # Check whether --with-odbc or --without-odbc was given.
3669 if test "${with_odbc+set}" = set; then
3670 withval
="$with_odbc"
3672 if test "$withval" = yes; then
3673 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3674 elif test "$withval" = no
; then
3675 ac_cv_use_odbc
='wxUSE_ODBC=no'
3676 elif test "$withval" = sys
; then
3677 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3678 elif test "$withval" = builtin; then
3679 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3681 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3682 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3683 { (exit 1); exit 1; }; }
3688 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x
; then
3690 eval "DEFAULT_$LINE"
3695 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3699 eval "$ac_cv_use_odbc"
3700 if test "$no_cache" != 1; then
3701 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3704 if test "$wxUSE_ODBC" = yes; then
3705 echo "$as_me:$LINENO: result: yes" >&5
3706 echo "${ECHO_T}yes" >&6
3707 elif test "$wxUSE_ODBC" = no
; then
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3710 elif test "$wxUSE_ODBC" = sys
; then
3711 echo "$as_me:$LINENO: result: system version" >&5
3712 echo "${ECHO_T}system version" >&6
3713 elif test "$wxUSE_ODBC" = builtin; then
3714 echo "$as_me:$LINENO: result: builtin version" >&5
3715 echo "${ECHO_T}builtin version" >&6
3717 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3718 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3719 { (exit 1); exit 1; }; }
3723 echo "$as_me:$LINENO: checking for --with-expat" >&5
3724 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3727 # Check whether --with-expat or --without-expat was given.
3728 if test "${with_expat+set}" = set; then
3729 withval
="$with_expat"
3731 if test "$withval" = yes; then
3732 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3733 elif test "$withval" = no
; then
3734 ac_cv_use_expat
='wxUSE_EXPAT=no'
3735 elif test "$withval" = sys
; then
3736 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3737 elif test "$withval" = builtin; then
3738 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3740 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3741 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3742 { (exit 1); exit 1; }; }
3747 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3748 if test "x$LINE" != x
; then
3749 eval "DEFAULT_$LINE"
3754 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3758 eval "$ac_cv_use_expat"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3763 if test "$wxUSE_EXPAT" = yes; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3766 elif test "$wxUSE_EXPAT" = no
; then
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3769 elif test "$wxUSE_EXPAT" = sys
; then
3770 echo "$as_me:$LINENO: result: system version" >&5
3771 echo "${ECHO_T}system version" >&6
3772 elif test "$wxUSE_EXPAT" = builtin; then
3773 echo "$as_me:$LINENO: result: builtin version" >&5
3774 echo "${ECHO_T}builtin version" >&6
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3786 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3788 # Check whether --enable-shared or --disable-shared was given.
3789 if test "${enable_shared+set}" = set; then
3790 enableval
="$enable_shared"
3792 if test "$enableval" = yes; then
3793 ac_cv_use_shared
='wxUSE_SHARED=yes'
3795 ac_cv_use_shared
='wxUSE_SHARED=no'
3800 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x
; then
3802 eval "DEFAULT_$LINE"
3807 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3811 eval "$ac_cv_use_shared"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3816 if test "$wxUSE_SHARED" = yes; then
3817 echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6
3820 echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6
3826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3827 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3829 # Check whether --enable-optimise or --disable-optimise was given.
3830 if test "${enable_optimise+set}" = set; then
3831 enableval
="$enable_optimise"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3836 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3841 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x
; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3852 eval "$ac_cv_use_optimise"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3857 if test "$wxUSE_OPTIMISE" = yes; then
3858 echo "$as_me:$LINENO: result: yes" >&5
3859 echo "${ECHO_T}yes" >&6
3861 echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6
3867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3868 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3870 # Check whether --enable-debug or --disable-debug was given.
3871 if test "${enable_debug+set}" = set; then
3872 enableval
="$enable_debug"
3874 if test "$enableval" = yes; then
3875 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3877 ac_cv_use_debug
='wxUSE_DEBUG=no'
3882 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3883 if test "x$LINE" != x
; then
3884 eval "DEFAULT_$LINE"
3889 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3893 eval "$ac_cv_use_debug"
3894 if test "$no_cache" != 1; then
3895 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3898 if test "$wxUSE_DEBUG" = yes; then
3899 echo "$as_me:$LINENO: result: yes" >&5
3900 echo "${ECHO_T}yes" >&6
3902 echo "$as_me:$LINENO: result: no" >&5
3903 echo "${ECHO_T}no" >&6
3908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3909 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3911 # Check whether --enable-stl or --disable-stl was given.
3912 if test "${enable_stl+set}" = set; then
3913 enableval
="$enable_stl"
3915 if test "$enableval" = yes; then
3916 ac_cv_use_stl
='wxUSE_STL=yes'
3918 ac_cv_use_stl
='wxUSE_STL=no'
3923 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x
; then
3925 eval "DEFAULT_$LINE"
3930 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3934 eval "$ac_cv_use_stl"
3935 if test "$no_cache" != 1; then
3936 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3939 if test "$wxUSE_STL" = yes; then
3940 echo "$as_me:$LINENO: result: yes" >&5
3941 echo "${ECHO_T}yes" >&6
3943 echo "$as_me:$LINENO: result: no" >&5
3944 echo "${ECHO_T}no" >&6
3947 if test "$USE_OS2" = "1"; then
3948 DEFAULT_wxUSE_OMF
=no
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3954 # Check whether --enable-omf or --disable-omf was given.
3955 if test "${enable_omf+set}" = set; then
3956 enableval
="$enable_omf"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_omf
='wxUSE_OMF=yes'
3961 ac_cv_use_omf
='wxUSE_OMF=no'
3966 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3977 eval "$ac_cv_use_omf"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3982 if test "$wxUSE_OMF" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3992 if test "$wxUSE_DEBUG" = "yes"; then
3993 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3994 DEFAULT_wxUSE_DEBUG_INFO
=yes
3996 elif test "$wxUSE_DEBUG" = "no"; then
3997 DEFAULT_wxUSE_DEBUG_FLAG
=no
3998 DEFAULT_wxUSE_DEBUG_INFO
=no
4004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4005 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4007 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4008 if test "${enable_debug_flag+set}" = set; then
4009 enableval
="$enable_debug_flag"
4011 if test "$enableval" = yes; then
4012 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4014 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4019 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4020 if test "x$LINE" != x
; then
4021 eval "DEFAULT_$LINE"
4026 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4030 eval "$ac_cv_use_debug_flag"
4031 if test "$no_cache" != 1; then
4032 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4035 if test "$wxUSE_DEBUG_FLAG" = yes; then
4036 echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6
4039 echo "$as_me:$LINENO: result: no" >&5
4040 echo "${ECHO_T}no" >&6
4045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4046 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4048 # Check whether --enable-debug_info or --disable-debug_info was given.
4049 if test "${enable_debug_info+set}" = set; then
4050 enableval
="$enable_debug_info"
4052 if test "$enableval" = yes; then
4053 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4055 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4060 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4061 if test "x$LINE" != x
; then
4062 eval "DEFAULT_$LINE"
4067 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4071 eval "$ac_cv_use_debug_info"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4076 if test "$wxUSE_DEBUG_INFO" = yes; then
4077 echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6
4080 echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4089 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4090 if test "${enable_debug_gdb+set}" = set; then
4091 enableval
="$enable_debug_gdb"
4093 if test "$enableval" = yes; then
4094 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4096 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4101 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x
; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4112 eval "$ac_cv_use_debug_gdb"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4117 if test "$wxUSE_DEBUG_GDB" = yes; then
4118 echo "$as_me:$LINENO: result: yes" >&5
4119 echo "${ECHO_T}yes" >&6
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4130 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4131 if test "${enable_debug_cntxt+set}" = set; then
4132 enableval
="$enable_debug_cntxt"
4134 if test "$enableval" = yes; then
4135 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4137 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4142 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x
; then
4144 eval "DEFAULT_$LINE"
4149 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4153 eval "$ac_cv_use_debug_cntxt"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4158 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4169 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4171 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4172 if test "${enable_mem_tracing+set}" = set; then
4173 enableval
="$enable_mem_tracing"
4175 if test "$enableval" = yes; then
4176 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4178 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4183 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x
; then
4185 eval "DEFAULT_$LINE"
4190 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4194 eval "$ac_cv_use_mem_tracing"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4199 if test "$wxUSE_MEM_TRACING" = yes; then
4200 echo "$as_me:$LINENO: result: yes" >&5
4201 echo "${ECHO_T}yes" >&6
4203 echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6
4209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4210 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4212 # Check whether --enable-profile or --disable-profile was given.
4213 if test "${enable_profile+set}" = set; then
4214 enableval
="$enable_profile"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4219 ac_cv_use_profile
='wxUSE_PROFILE=no'
4224 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4235 eval "$ac_cv_use_profile"
4236 if test "$no_cache" != 1; then
4237 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4240 if test "$wxUSE_PROFILE" = yes; then
4241 echo "$as_me:$LINENO: result: yes" >&5
4242 echo "${ECHO_T}yes" >&6
4244 echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6
4250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4251 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4253 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4254 if test "${enable_no_rtti+set}" = set; then
4255 enableval
="$enable_no_rtti"
4257 if test "$enableval" = yes; then
4258 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4260 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4265 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x
; then
4267 eval "DEFAULT_$LINE"
4272 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4276 eval "$ac_cv_use_no_rtti"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4281 if test "$wxUSE_NO_RTTI" = yes; then
4282 echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6
4285 echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6
4291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4292 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4294 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4295 if test "${enable_no_exceptions+set}" = set; then
4296 enableval
="$enable_no_exceptions"
4298 if test "$enableval" = yes; then
4299 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4301 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4306 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x
; then
4308 eval "DEFAULT_$LINE"
4313 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4317 eval "$ac_cv_use_no_exceptions"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4322 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4323 echo "$as_me:$LINENO: result: yes" >&5
4324 echo "${ECHO_T}yes" >&6
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4335 # Check whether --enable-permissive or --disable-permissive was given.
4336 if test "${enable_permissive+set}" = set; then
4337 enableval
="$enable_permissive"
4339 if test "$enableval" = yes; then
4340 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4342 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4347 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x
; then
4349 eval "DEFAULT_$LINE"
4354 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4358 eval "$ac_cv_use_permissive"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_PERMISSIVE" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4376 # Check whether --enable-no_deps or --disable-no_deps was given.
4377 if test "${enable_no_deps+set}" = set; then
4378 enableval
="$enable_no_deps"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4383 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4388 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x
; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4399 eval "$ac_cv_use_no_deps"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4404 if test "$wxUSE_NO_DEPS" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4417 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4418 if test "${enable_universal_binary+set}" = set; then
4419 enableval
="$enable_universal_binary"
4421 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4425 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x
; then
4427 eval "DEFAULT_$LINE"
4428 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4431 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4436 eval "$wx_cv_use_universal_binary"
4437 if test "$no_cache" != 1; then
4438 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4441 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4442 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4450 # Check whether --enable-compat24 or --disable-compat24 was given.
4451 if test "${enable_compat24+set}" = set; then
4452 enableval
="$enable_compat24"
4454 if test "$enableval" = yes; then
4455 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4457 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4462 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x
; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4473 eval "$ac_cv_use_compat24"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4478 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4487 enablestring
=disable
4488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4491 # Check whether --enable-compat26 or --disable-compat26 was given.
4492 if test "${enable_compat26+set}" = set; then
4493 enableval
="$enable_compat26"
4495 if test "$enableval" = yes; then
4496 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4498 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4503 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4504 if test "x$LINE" != x
; then
4505 eval "DEFAULT_$LINE"
4510 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4514 eval "$ac_cv_use_compat26"
4515 if test "$no_cache" != 1; then
4516 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4519 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4520 echo "$as_me:$LINENO: result: yes" >&5
4521 echo "${ECHO_T}yes" >&6
4523 echo "$as_me:$LINENO: result: no" >&5
4524 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4533 # Check whether --enable-rpath or --disable-rpath was given.
4534 if test "${enable_rpath+set}" = set; then
4535 enableval
="$enable_rpath"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4540 ac_cv_use_rpath
='wxUSE_RPATH=no'
4545 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4556 eval "$ac_cv_use_rpath"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_RPATH" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4575 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4577 # Check whether --enable-intl or --disable-intl was given.
4578 if test "${enable_intl+set}" = set; then
4579 enableval
="$enable_intl"
4581 if test "$enableval" = yes; then
4582 ac_cv_use_intl
='wxUSE_INTL=yes'
4584 ac_cv_use_intl
='wxUSE_INTL=no'
4589 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4590 if test "x$LINE" != x
; then
4591 eval "DEFAULT_$LINE"
4596 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4600 eval "$ac_cv_use_intl"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4605 if test "$wxUSE_INTL" = yes; then
4606 echo "$as_me:$LINENO: result: yes" >&5
4607 echo "${ECHO_T}yes" >&6
4609 echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4618 # Check whether --enable-config or --disable-config was given.
4619 if test "${enable_config+set}" = set; then
4620 enableval
="$enable_config"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_config
='wxUSE_CONFIG=yes'
4625 ac_cv_use_config
='wxUSE_CONFIG=no'
4630 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4641 eval "$ac_cv_use_config"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_CONFIG" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4660 # Check whether --enable-protocols or --disable-protocols was given.
4661 if test "${enable_protocols+set}" = set; then
4662 enableval
="$enable_protocols"
4664 if test "$enableval" = yes; then
4665 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4667 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4672 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4673 if test "x$LINE" != x
; then
4674 eval "DEFAULT_$LINE"
4679 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4683 eval "$ac_cv_use_protocols"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4688 if test "$wxUSE_PROTOCOL" = yes; then
4689 echo "$as_me:$LINENO: result: yes" >&5
4690 echo "${ECHO_T}yes" >&6
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4701 # Check whether --enable-ftp or --disable-ftp was given.
4702 if test "${enable_ftp+set}" = set; then
4703 enableval
="$enable_ftp"
4705 if test "$enableval" = yes; then
4706 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4708 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4713 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x
; then
4715 eval "DEFAULT_$LINE"
4720 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4724 eval "$ac_cv_use_ftp"
4725 if test "$no_cache" != 1; then
4726 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4729 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4730 echo "$as_me:$LINENO: result: yes" >&5
4731 echo "${ECHO_T}yes" >&6
4733 echo "$as_me:$LINENO: result: no" >&5
4734 echo "${ECHO_T}no" >&6
4739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4742 # Check whether --enable-http or --disable-http was given.
4743 if test "${enable_http+set}" = set; then
4744 enableval
="$enable_http"
4746 if test "$enableval" = yes; then
4747 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4749 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4754 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x
; then
4756 eval "DEFAULT_$LINE"
4761 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4765 eval "$ac_cv_use_http"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4771 echo "$as_me:$LINENO: result: yes" >&5
4772 echo "${ECHO_T}yes" >&6
4774 echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6
4780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4781 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4783 # Check whether --enable-fileproto or --disable-fileproto was given.
4784 if test "${enable_fileproto+set}" = set; then
4785 enableval
="$enable_fileproto"
4787 if test "$enableval" = yes; then
4788 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4790 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4795 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4796 if test "x$LINE" != x
; then
4797 eval "DEFAULT_$LINE"
4802 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4806 eval "$ac_cv_use_fileproto"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4811 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4812 echo "$as_me:$LINENO: result: yes" >&5
4813 echo "${ECHO_T}yes" >&6
4815 echo "$as_me:$LINENO: result: no" >&5
4816 echo "${ECHO_T}no" >&6
4821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4822 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4824 # Check whether --enable-sockets or --disable-sockets was given.
4825 if test "${enable_sockets+set}" = set; then
4826 enableval
="$enable_sockets"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4831 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4836 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x
; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4847 eval "$ac_cv_use_sockets"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4852 if test "$wxUSE_SOCKETS" = yes; then
4853 echo "$as_me:$LINENO: result: yes" >&5
4854 echo "${ECHO_T}yes" >&6
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4863 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4865 # Check whether --enable-ole or --disable-ole was given.
4866 if test "${enable_ole+set}" = set; then
4867 enableval
="$enable_ole"
4869 if test "$enableval" = yes; then
4870 ac_cv_use_ole
='wxUSE_OLE=yes'
4872 ac_cv_use_ole
='wxUSE_OLE=no'
4877 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x
; then
4879 eval "DEFAULT_$LINE"
4884 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4888 eval "$ac_cv_use_ole"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4893 if test "$wxUSE_OLE" = yes; then
4894 echo "$as_me:$LINENO: result: yes" >&5
4895 echo "${ECHO_T}yes" >&6
4897 echo "$as_me:$LINENO: result: no" >&5
4898 echo "${ECHO_T}no" >&6
4903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4904 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4906 # Check whether --enable-dataobj or --disable-dataobj was given.
4907 if test "${enable_dataobj+set}" = set; then
4908 enableval
="$enable_dataobj"
4910 if test "$enableval" = yes; then
4911 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4913 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4918 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4919 if test "x$LINE" != x
; then
4920 eval "DEFAULT_$LINE"
4925 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4929 eval "$ac_cv_use_dataobj"
4930 if test "$no_cache" != 1; then
4931 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4934 if test "$wxUSE_DATAOBJ" = yes; then
4935 echo "$as_me:$LINENO: result: yes" >&5
4936 echo "${ECHO_T}yes" >&6
4938 echo "$as_me:$LINENO: result: no" >&5
4939 echo "${ECHO_T}no" >&6
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4948 # Check whether --enable-ipc or --disable-ipc was given.
4949 if test "${enable_ipc+set}" = set; then
4950 enableval
="$enable_ipc"
4952 if test "$enableval" = yes; then
4953 ac_cv_use_ipc
='wxUSE_IPC=yes'
4955 ac_cv_use_ipc
='wxUSE_IPC=no'
4960 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x
; then
4962 eval "DEFAULT_$LINE"
4967 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4971 eval "$ac_cv_use_ipc"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4976 if test "$wxUSE_IPC" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4990 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4991 if test "${enable_apple_ieee+set}" = set; then
4992 enableval
="$enable_apple_ieee"
4994 if test "$enableval" = yes; then
4995 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4997 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
5002 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5003 if test "x$LINE" != x
; then
5004 eval "DEFAULT_$LINE"
5009 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5013 eval "$ac_cv_use_apple_ieee"
5014 if test "$no_cache" != 1; then
5015 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5018 if test "$wxUSE_APPLE_IEEE" = yes; then
5019 echo "$as_me:$LINENO: result: yes" >&5
5020 echo "${ECHO_T}yes" >&6
5022 echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6
5028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5031 # Check whether --enable-arcstream or --disable-arcstream was given.
5032 if test "${enable_arcstream+set}" = set; then
5033 enableval
="$enable_arcstream"
5035 if test "$enableval" = yes; then
5036 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5038 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5043 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x
; then
5045 eval "DEFAULT_$LINE"
5050 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5054 eval "$ac_cv_use_arcstream"
5055 if test "$no_cache" != 1; then
5056 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5059 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5060 echo "$as_me:$LINENO: result: yes" >&5
5061 echo "${ECHO_T}yes" >&6
5063 echo "$as_me:$LINENO: result: no" >&5
5064 echo "${ECHO_T}no" >&6
5069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5072 # Check whether --enable-backtrace or --disable-backtrace was given.
5073 if test "${enable_backtrace+set}" = set; then
5074 enableval
="$enable_backtrace"
5076 if test "$enableval" = yes; then
5077 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5079 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5084 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x
; then
5086 eval "DEFAULT_$LINE"
5091 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5095 eval "$ac_cv_use_backtrace"
5096 if test "$no_cache" != 1; then
5097 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5100 if test "$wxUSE_STACKWALKER" = yes; then
5101 echo "$as_me:$LINENO: result: yes" >&5
5102 echo "${ECHO_T}yes" >&6
5104 echo "$as_me:$LINENO: result: no" >&5
5105 echo "${ECHO_T}no" >&6
5110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5113 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5114 if test "${enable_catch_segvs+set}" = set; then
5115 enableval
="$enable_catch_segvs"
5117 if test "$enableval" = yes; then
5118 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5120 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5125 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x
; then
5127 eval "DEFAULT_$LINE"
5132 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5136 eval "$ac_cv_use_catch_segvs"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5141 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5142 echo "$as_me:$LINENO: result: yes" >&5
5143 echo "${ECHO_T}yes" >&6
5145 echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6
5151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5152 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5154 # Check whether --enable-cmdline or --disable-cmdline was given.
5155 if test "${enable_cmdline+set}" = set; then
5156 enableval
="$enable_cmdline"
5158 if test "$enableval" = yes; then
5159 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5161 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5166 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x
; then
5168 eval "DEFAULT_$LINE"
5173 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5177 eval "$ac_cv_use_cmdline"
5178 if test "$no_cache" != 1; then
5179 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5182 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5183 echo "$as_me:$LINENO: result: yes" >&5
5184 echo "${ECHO_T}yes" >&6
5186 echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6
5192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5193 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5195 # Check whether --enable-datetime or --disable-datetime was given.
5196 if test "${enable_datetime+set}" = set; then
5197 enableval
="$enable_datetime"
5199 if test "$enableval" = yes; then
5200 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5202 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5207 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x
; then
5209 eval "DEFAULT_$LINE"
5214 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5218 eval "$ac_cv_use_datetime"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5223 if test "$wxUSE_DATETIME" = yes; then
5224 echo "$as_me:$LINENO: result: yes" >&5
5225 echo "${ECHO_T}yes" >&6
5227 echo "$as_me:$LINENO: result: no" >&5
5228 echo "${ECHO_T}no" >&6
5233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5234 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5236 # Check whether --enable-debugreport or --disable-debugreport was given.
5237 if test "${enable_debugreport+set}" = set; then
5238 enableval
="$enable_debugreport"
5240 if test "$enableval" = yes; then
5241 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5243 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5248 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x
; then
5250 eval "DEFAULT_$LINE"
5255 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5259 eval "$ac_cv_use_debugreport"
5260 if test "$no_cache" != 1; then
5261 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5264 if test "$wxUSE_DEBUGREPORT" = yes; then
5265 echo "$as_me:$LINENO: result: yes" >&5
5266 echo "${ECHO_T}yes" >&6
5268 echo "$as_me:$LINENO: result: no" >&5
5269 echo "${ECHO_T}no" >&6
5274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5275 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5277 # Check whether --enable-dialupman or --disable-dialupman was given.
5278 if test "${enable_dialupman+set}" = set; then
5279 enableval
="$enable_dialupman"
5281 if test "$enableval" = yes; then
5282 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5284 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5289 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5290 if test "x$LINE" != x
; then
5291 eval "DEFAULT_$LINE"
5296 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5300 eval "$ac_cv_use_dialupman"
5301 if test "$no_cache" != 1; then
5302 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5305 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5306 echo "$as_me:$LINENO: result: yes" >&5
5307 echo "${ECHO_T}yes" >&6
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5316 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5318 # Check whether --enable-dynlib or --disable-dynlib was given.
5319 if test "${enable_dynlib+set}" = set; then
5320 enableval
="$enable_dynlib"
5322 if test "$enableval" = yes; then
5323 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5325 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5330 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x
; then
5332 eval "DEFAULT_$LINE"
5337 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5341 eval "$ac_cv_use_dynlib"
5342 if test "$no_cache" != 1; then
5343 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5346 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5347 echo "$as_me:$LINENO: result: yes" >&5
5348 echo "${ECHO_T}yes" >&6
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5359 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5360 if test "${enable_dynamicloader+set}" = set; then
5361 enableval
="$enable_dynamicloader"
5363 if test "$enableval" = yes; then
5364 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5366 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5371 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5372 if test "x$LINE" != x
; then
5373 eval "DEFAULT_$LINE"
5378 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5382 eval "$ac_cv_use_dynamicloader"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5388 echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6
5391 echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6
5397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5398 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5400 # Check whether --enable-exceptions or --disable-exceptions was given.
5401 if test "${enable_exceptions+set}" = set; then
5402 enableval
="$enable_exceptions"
5404 if test "$enableval" = yes; then
5405 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5407 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5412 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x
; then
5414 eval "DEFAULT_$LINE"
5419 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5423 eval "$ac_cv_use_exceptions"
5424 if test "$no_cache" != 1; then
5425 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5428 if test "$wxUSE_EXCEPTIONS" = yes; then
5429 echo "$as_me:$LINENO: result: yes" >&5
5430 echo "${ECHO_T}yes" >&6
5432 echo "$as_me:$LINENO: result: no" >&5
5433 echo "${ECHO_T}no" >&6
5438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5441 # Check whether --enable-ffile or --disable-ffile was given.
5442 if test "${enable_ffile+set}" = set; then
5443 enableval
="$enable_ffile"
5445 if test "$enableval" = yes; then
5446 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5448 ac_cv_use_ffile
='wxUSE_FFILE=no'
5453 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x
; then
5455 eval "DEFAULT_$LINE"
5460 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5464 eval "$ac_cv_use_ffile"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5469 if test "$wxUSE_FFILE" = yes; then
5470 echo "$as_me:$LINENO: result: yes" >&5
5471 echo "${ECHO_T}yes" >&6
5473 echo "$as_me:$LINENO: result: no" >&5
5474 echo "${ECHO_T}no" >&6
5479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5480 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5482 # Check whether --enable-file or --disable-file was given.
5483 if test "${enable_file+set}" = set; then
5484 enableval
="$enable_file"
5486 if test "$enableval" = yes; then
5487 ac_cv_use_file
='wxUSE_FILE=yes'
5489 ac_cv_use_file
='wxUSE_FILE=no'
5494 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x
; then
5496 eval "DEFAULT_$LINE"
5501 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5505 eval "$ac_cv_use_file"
5506 if test "$no_cache" != 1; then
5507 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5510 if test "$wxUSE_FILE" = yes; then
5511 echo "$as_me:$LINENO: result: yes" >&5
5512 echo "${ECHO_T}yes" >&6
5514 echo "$as_me:$LINENO: result: no" >&5
5515 echo "${ECHO_T}no" >&6
5520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5523 # Check whether --enable-filesystem or --disable-filesystem was given.
5524 if test "${enable_filesystem+set}" = set; then
5525 enableval
="$enable_filesystem"
5527 if test "$enableval" = yes; then
5528 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5530 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5535 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x
; then
5537 eval "DEFAULT_$LINE"
5542 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5546 eval "$ac_cv_use_filesystem"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5551 if test "$wxUSE_FILESYSTEM" = yes; then
5552 echo "$as_me:$LINENO: result: yes" >&5
5553 echo "${ECHO_T}yes" >&6
5555 echo "$as_me:$LINENO: result: no" >&5
5556 echo "${ECHO_T}no" >&6
5561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5562 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5564 # Check whether --enable-fontmap or --disable-fontmap was given.
5565 if test "${enable_fontmap+set}" = set; then
5566 enableval
="$enable_fontmap"
5568 if test "$enableval" = yes; then
5569 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5571 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5576 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x
; then
5578 eval "DEFAULT_$LINE"
5583 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5587 eval "$ac_cv_use_fontmap"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5592 if test "$wxUSE_FONTMAP" = yes; then
5593 echo "$as_me:$LINENO: result: yes" >&5
5594 echo "${ECHO_T}yes" >&6
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5603 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5605 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5606 if test "${enable_fs_archive+set}" = set; then
5607 enableval
="$enable_fs_archive"
5609 if test "$enableval" = yes; then
5610 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
5612 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
5617 LINE
=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x
; then
5619 eval "DEFAULT_$LINE"
5624 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5628 eval "$ac_cv_use_fs_archive"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5633 if test "$wxUSE_FS_ARCHIVE" = yes; then
5634 echo "$as_me:$LINENO: result: yes" >&5
5635 echo "${ECHO_T}yes" >&6
5637 echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6
5643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5646 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5647 if test "${enable_fs_inet+set}" = set; then
5648 enableval
="$enable_fs_inet"
5650 if test "$enableval" = yes; then
5651 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5653 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5658 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x
; then
5660 eval "DEFAULT_$LINE"
5665 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5669 eval "$ac_cv_use_fs_inet"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5674 if test "$wxUSE_FS_INET" = yes; then
5675 echo "$as_me:$LINENO: result: yes" >&5
5676 echo "${ECHO_T}yes" >&6
5678 echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5687 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5688 if test "${enable_fs_zip+set}" = set; then
5689 enableval
="$enable_fs_zip"
5691 if test "$enableval" = yes; then
5692 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5694 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5699 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x
; then
5701 eval "DEFAULT_$LINE"
5706 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5710 eval "$ac_cv_use_fs_zip"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5715 if test "$wxUSE_FS_ZIP" = yes; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717 echo "${ECHO_T}yes" >&6
5719 echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6
5725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5728 # Check whether --enable-geometry or --disable-geometry was given.
5729 if test "${enable_geometry+set}" = set; then
5730 enableval
="$enable_geometry"
5732 if test "$enableval" = yes; then
5733 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5735 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5740 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5741 if test "x$LINE" != x
; then
5742 eval "DEFAULT_$LINE"
5747 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5751 eval "$ac_cv_use_geometry"
5752 if test "$no_cache" != 1; then
5753 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5756 if test "$wxUSE_GEOMETRY" = yes; then
5757 echo "$as_me:$LINENO: result: yes" >&5
5758 echo "${ECHO_T}yes" >&6
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5767 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5769 # Check whether --enable-log or --disable-log was given.
5770 if test "${enable_log+set}" = set; then
5771 enableval
="$enable_log"
5773 if test "$enableval" = yes; then
5774 ac_cv_use_log
='wxUSE_LOG=yes'
5776 ac_cv_use_log
='wxUSE_LOG=no'
5781 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x
; then
5783 eval "DEFAULT_$LINE"
5788 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5792 eval "$ac_cv_use_log"
5793 if test "$no_cache" != 1; then
5794 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5797 if test "$wxUSE_LOG" = yes; then
5798 echo "$as_me:$LINENO: result: yes" >&5
5799 echo "${ECHO_T}yes" >&6
5801 echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6
5807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5810 # Check whether --enable-longlong or --disable-longlong was given.
5811 if test "${enable_longlong+set}" = set; then
5812 enableval
="$enable_longlong"
5814 if test "$enableval" = yes; then
5815 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5817 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5822 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5823 if test "x$LINE" != x
; then
5824 eval "DEFAULT_$LINE"
5829 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5833 eval "$ac_cv_use_longlong"
5834 if test "$no_cache" != 1; then
5835 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5838 if test "$wxUSE_LONGLONG" = yes; then
5839 echo "$as_me:$LINENO: result: yes" >&5
5840 echo "${ECHO_T}yes" >&6
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5851 # Check whether --enable-mimetype or --disable-mimetype was given.
5852 if test "${enable_mimetype+set}" = set; then
5853 enableval
="$enable_mimetype"
5855 if test "$enableval" = yes; then
5856 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5858 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5863 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5864 if test "x$LINE" != x
; then
5865 eval "DEFAULT_$LINE"
5870 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5874 eval "$ac_cv_use_mimetype"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5879 if test "$wxUSE_MIMETYPE" = yes; then
5880 echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6
5883 echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6
5889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5892 # Check whether --enable-mslu or --disable-mslu was given.
5893 if test "${enable_mslu+set}" = set; then
5894 enableval
="$enable_mslu"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5899 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5904 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5915 eval "$ac_cv_use_mslu"
5916 if test "$no_cache" != 1; then
5917 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5920 if test "$wxUSE_UNICODE_MSLU" = yes; then
5921 echo "$as_me:$LINENO: result: yes" >&5
5922 echo "${ECHO_T}yes" >&6
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5931 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5933 # Check whether --enable-snglinst or --disable-snglinst was given.
5934 if test "${enable_snglinst+set}" = set; then
5935 enableval
="$enable_snglinst"
5937 if test "$enableval" = yes; then
5938 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5940 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5945 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5946 if test "x$LINE" != x
; then
5947 eval "DEFAULT_$LINE"
5952 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5956 eval "$ac_cv_use_snglinst"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5962 echo "$as_me:$LINENO: result: yes" >&5
5963 echo "${ECHO_T}yes" >&6
5965 echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6
5971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5974 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5975 if test "${enable_std_iostreams+set}" = set; then
5976 enableval
="$enable_std_iostreams"
5978 if test "$enableval" = yes; then
5979 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5981 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5986 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5987 if test "x$LINE" != x
; then
5988 eval "DEFAULT_$LINE"
5993 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5997 eval "$ac_cv_use_std_iostreams"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6002 if test "$wxUSE_STD_IOSTREAM" = yes; then
6003 echo "$as_me:$LINENO: result: yes" >&5
6004 echo "${ECHO_T}yes" >&6
6006 echo "$as_me:$LINENO: result: no" >&5
6007 echo "${ECHO_T}no" >&6
6012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6015 # Check whether --enable-std_string or --disable-std_string was given.
6016 if test "${enable_std_string+set}" = set; then
6017 enableval
="$enable_std_string"
6019 if test "$enableval" = yes; then
6020 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6022 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6027 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x
; then
6029 eval "DEFAULT_$LINE"
6034 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6038 eval "$ac_cv_use_std_string"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6043 if test "$wxUSE_STD_STRING" = yes; then
6044 echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6056 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6057 if test "${enable_stdpaths+set}" = set; then
6058 enableval
="$enable_stdpaths"
6060 if test "$enableval" = yes; then
6061 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6063 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6068 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x
; then
6070 eval "DEFAULT_$LINE"
6075 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6079 eval "$ac_cv_use_stdpaths"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6084 if test "$wxUSE_STDPATHS" = yes; then
6085 echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6097 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6098 if test "${enable_stopwatch+set}" = set; then
6099 enableval
="$enable_stopwatch"
6101 if test "$enableval" = yes; then
6102 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6104 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6109 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x
; then
6111 eval "DEFAULT_$LINE"
6116 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6120 eval "$ac_cv_use_stopwatch"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6125 if test "$wxUSE_STOPWATCH" = yes; then
6126 echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6138 # Check whether --enable-streams or --disable-streams was given.
6139 if test "${enable_streams+set}" = set; then
6140 enableval
="$enable_streams"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6145 ac_cv_use_streams
='wxUSE_STREAMS=no'
6150 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x
; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6161 eval "$ac_cv_use_streams"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_STREAMS" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6179 # Check whether --enable-system_options or --disable-system_options was given.
6180 if test "${enable_system_options+set}" = set; then
6181 enableval
="$enable_system_options"
6183 if test "$enableval" = yes; then
6184 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6186 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6191 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x
; then
6193 eval "DEFAULT_$LINE"
6198 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6202 eval "$ac_cv_use_system_options"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6220 # Check whether --enable-tarstream or --disable-tarstream was given.
6221 if test "${enable_tarstream+set}" = set; then
6222 enableval
="$enable_tarstream"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
6227 ac_cv_use_tarstream
='wxUSE_TARSTREAM=no'
6232 LINE
=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_tarstream
='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6243 eval "$ac_cv_use_tarstream"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_TARSTREAM" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6261 # Check whether --enable-textbuf or --disable-textbuf was given.
6262 if test "${enable_textbuf+set}" = set; then
6263 enableval
="$enable_textbuf"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6268 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6273 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6284 eval "$ac_cv_use_textbuf"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_TEXTBUFFER" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6302 # Check whether --enable-textfile or --disable-textfile was given.
6303 if test "${enable_textfile+set}" = set; then
6304 enableval
="$enable_textfile"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6309 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6314 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6325 eval "$ac_cv_use_textfile"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_TEXTFILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6343 # Check whether --enable-timer or --disable-timer was given.
6344 if test "${enable_timer+set}" = set; then
6345 enableval
="$enable_timer"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_timer
='wxUSE_TIMER=yes'
6350 ac_cv_use_timer
='wxUSE_TIMER=no'
6355 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6366 eval "$ac_cv_use_timer"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_TIMER" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6384 # Check whether --enable-unicode or --disable-unicode was given.
6385 if test "${enable_unicode+set}" = set; then
6386 enableval
="$enable_unicode"
6388 if test "$enableval" = yes; then
6389 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6391 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6396 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x
; then
6398 eval "DEFAULT_$LINE"
6403 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6407 eval "$ac_cv_use_unicode"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6412 if test "$wxUSE_UNICODE" = yes; then
6413 echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6
6416 echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6425 # Check whether --enable-sound or --disable-sound was given.
6426 if test "${enable_sound+set}" = set; then
6427 enableval
="$enable_sound"
6429 if test "$enableval" = yes; then
6430 ac_cv_use_sound
='wxUSE_SOUND=yes'
6432 ac_cv_use_sound
='wxUSE_SOUND=no'
6437 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x
; then
6439 eval "DEFAULT_$LINE"
6444 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6448 eval "$ac_cv_use_sound"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6453 if test "$wxUSE_SOUND" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6466 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6467 if test "${enable_mediactrl+set}" = set; then
6468 enableval
="$enable_mediactrl"
6470 if test "$enableval" = yes; then
6471 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6473 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6478 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x
; then
6480 eval "DEFAULT_$LINE"
6485 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6489 eval "$ac_cv_use_mediactrl"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6494 if test "$wxUSE_MEDIACTRL" = yes; then
6495 echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6498 echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6
6504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6507 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6508 if test "${enable_gstreamer8+set}" = set; then
6509 enableval
="$enable_gstreamer8"
6511 if test "$enableval" = yes; then
6512 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6514 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6519 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6520 if test "x$LINE" != x
; then
6521 eval "DEFAULT_$LINE"
6526 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6530 eval "$ac_cv_use_gstreamer8"
6531 if test "$no_cache" != 1; then
6532 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6535 if test "$wxUSE_GSTREAMER8" = yes; then
6536 echo "$as_me:$LINENO: result: yes" >&5
6537 echo "${ECHO_T}yes" >&6
6539 echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6
6545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6548 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6549 if test "${enable_printfposparam+set}" = set; then
6550 enableval
="$enable_printfposparam"
6552 if test "$enableval" = yes; then
6553 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6555 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6560 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6561 if test "x$LINE" != x
; then
6562 eval "DEFAULT_$LINE"
6567 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6571 eval "$ac_cv_use_printfposparam"
6572 if test "$no_cache" != 1; then
6573 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6576 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6577 echo "$as_me:$LINENO: result: yes" >&5
6578 echo "${ECHO_T}yes" >&6
6580 echo "$as_me:$LINENO: result: no" >&5
6581 echo "${ECHO_T}no" >&6
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6589 # Check whether --enable-zipstream or --disable-zipstream was given.
6590 if test "${enable_zipstream+set}" = set; then
6591 enableval
="$enable_zipstream"
6593 if test "$enableval" = yes; then
6594 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6596 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6601 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x
; then
6603 eval "DEFAULT_$LINE"
6608 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6612 eval "$ac_cv_use_zipstream"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_ZIPSTREAM" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6631 # Check whether --enable-url or --disable-url was given.
6632 if test "${enable_url+set}" = set; then
6633 enableval
="$enable_url"
6635 if test "$enableval" = yes; then
6636 ac_cv_use_url
='wxUSE_URL=yes'
6638 ac_cv_use_url
='wxUSE_URL=no'
6643 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6644 if test "x$LINE" != x
; then
6645 eval "DEFAULT_$LINE"
6650 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6654 eval "$ac_cv_use_url"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6659 if test "$wxUSE_URL" = yes; then
6660 echo "$as_me:$LINENO: result: yes" >&5
6661 echo "${ECHO_T}yes" >&6
6663 echo "$as_me:$LINENO: result: no" >&5
6664 echo "${ECHO_T}no" >&6
6669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6672 # Check whether --enable-variant or --disable-variant was given.
6673 if test "${enable_variant+set}" = set; then
6674 enableval
="$enable_variant"
6676 if test "$enableval" = yes; then
6677 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6679 ac_cv_use_variant
='wxUSE_VARIANT=no'
6684 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x
; then
6686 eval "DEFAULT_$LINE"
6691 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6695 eval "$ac_cv_use_variant"
6696 if test "$no_cache" != 1; then
6697 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6700 if test "$wxUSE_VARIANT" = yes; then
6701 echo "$as_me:$LINENO: result: yes" >&5
6702 echo "${ECHO_T}yes" >&6
6704 echo "$as_me:$LINENO: result: no" >&5
6705 echo "${ECHO_T}no" >&6
6710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6711 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6713 # Check whether --enable-protocol or --disable-protocol was given.
6714 if test "${enable_protocol+set}" = set; then
6715 enableval
="$enable_protocol"
6717 if test "$enableval" = yes; then
6718 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6720 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6725 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x
; then
6727 eval "DEFAULT_$LINE"
6732 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6736 eval "$ac_cv_use_protocol"
6737 if test "$no_cache" != 1; then
6738 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6741 if test "$wxUSE_PROTOCOL" = yes; then
6742 echo "$as_me:$LINENO: result: yes" >&5
6743 echo "${ECHO_T}yes" >&6
6745 echo "$as_me:$LINENO: result: no" >&5
6746 echo "${ECHO_T}no" >&6
6751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6752 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6754 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6755 if test "${enable_protocol_http+set}" = set; then
6756 enableval
="$enable_protocol_http"
6758 if test "$enableval" = yes; then
6759 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6761 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6766 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x
; then
6768 eval "DEFAULT_$LINE"
6773 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6777 eval "$ac_cv_use_protocol_http"
6778 if test "$no_cache" != 1; then
6779 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6782 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6783 echo "$as_me:$LINENO: result: yes" >&5
6784 echo "${ECHO_T}yes" >&6
6786 echo "$as_me:$LINENO: result: no" >&5
6787 echo "${ECHO_T}no" >&6
6792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6793 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6795 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6796 if test "${enable_protocol_ftp+set}" = set; then
6797 enableval
="$enable_protocol_ftp"
6799 if test "$enableval" = yes; then
6800 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6802 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6807 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6808 if test "x$LINE" != x
; then
6809 eval "DEFAULT_$LINE"
6814 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6818 eval "$ac_cv_use_protocol_ftp"
6819 if test "$no_cache" != 1; then
6820 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6823 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6824 echo "$as_me:$LINENO: result: yes" >&5
6825 echo "${ECHO_T}yes" >&6
6827 echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6
6833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6834 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6836 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6837 if test "${enable_protocol_file+set}" = set; then
6838 enableval
="$enable_protocol_file"
6840 if test "$enableval" = yes; then
6841 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6843 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6848 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6849 if test "x$LINE" != x
; then
6850 eval "DEFAULT_$LINE"
6855 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6859 eval "$ac_cv_use_protocol_file"
6860 if test "$no_cache" != 1; then
6861 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6864 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6865 echo "$as_me:$LINENO: result: yes" >&5
6866 echo "${ECHO_T}yes" >&6
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6880 # Check whether --enable-threads or --disable-threads was given.
6881 if test "${enable_threads+set}" = set; then
6882 enableval
="$enable_threads"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_threads
='wxUSE_THREADS=yes'
6887 ac_cv_use_threads
='wxUSE_THREADS=no'
6892 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6903 eval "$ac_cv_use_threads"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_THREADS" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6917 if test "$wxUSE_GUI" = "yes"; then
6922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6925 # Check whether --enable-docview or --disable-docview was given.
6926 if test "${enable_docview+set}" = set; then
6927 enableval
="$enable_docview"
6929 if test "$enableval" = yes; then
6930 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6932 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6937 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x
; then
6939 eval "DEFAULT_$LINE"
6944 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6948 eval "$ac_cv_use_docview"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6954 echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6
6957 echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6966 # Check whether --enable-help or --disable-help was given.
6967 if test "${enable_help+set}" = set; then
6968 enableval
="$enable_help"
6970 if test "$enableval" = yes; then
6971 ac_cv_use_help
='wxUSE_HELP=yes'
6973 ac_cv_use_help
='wxUSE_HELP=no'
6978 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x
; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6989 eval "$ac_cv_use_help"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_HELP" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7007 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7008 if test "${enable_mshtmlhelp+set}" = set; then
7009 enableval
="$enable_mshtmlhelp"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
7014 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
7019 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7030 eval "$ac_cv_use_mshtmlhelp"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_MS_HTML_HELP" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7048 # Check whether --enable-html or --disable-html was given.
7049 if test "${enable_html+set}" = set; then
7050 enableval
="$enable_html"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_html
='wxUSE_HTML=yes'
7055 ac_cv_use_html
='wxUSE_HTML=no'
7060 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7071 eval "$ac_cv_use_html"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_HTML" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7089 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7090 if test "${enable_htmlhelp+set}" = set; then
7091 enableval
="$enable_htmlhelp"
7093 if test "$enableval" = yes; then
7094 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7096 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7101 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x
; then
7103 eval "DEFAULT_$LINE"
7108 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7112 eval "$ac_cv_use_htmlhelp"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_WXHTML_HELP" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7130 # Check whether --enable-xrc or --disable-xrc was given.
7131 if test "${enable_xrc+set}" = set; then
7132 enableval
="$enable_xrc"
7134 if test "$enableval" = yes; then
7135 ac_cv_use_xrc
='wxUSE_XRC=yes'
7137 ac_cv_use_xrc
='wxUSE_XRC=no'
7142 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x
; then
7144 eval "DEFAULT_$LINE"
7149 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7153 eval "$ac_cv_use_xrc"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7158 if test "$wxUSE_XRC" = yes; then
7159 echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7171 # Check whether --enable-aui or --disable-aui was given.
7172 if test "${enable_aui+set}" = set; then
7173 enableval
="$enable_aui"
7175 if test "$enableval" = yes; then
7176 ac_cv_use_aui
='wxUSE_AUI=yes'
7178 ac_cv_use_aui
='wxUSE_AUI=no'
7183 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x
; then
7185 eval "DEFAULT_$LINE"
7190 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7194 eval "$ac_cv_use_aui"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_AUI" = yes; then
7200 echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6
7203 echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6
7209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7212 # Check whether --enable-constraints or --disable-constraints was given.
7213 if test "${enable_constraints+set}" = set; then
7214 enableval
="$enable_constraints"
7216 if test "$enableval" = yes; then
7217 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7219 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7224 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x
; then
7226 eval "DEFAULT_$LINE"
7231 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7235 eval "$ac_cv_use_constraints"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7240 if test "$wxUSE_CONSTRAINTS" = yes; then
7241 echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7253 # Check whether --enable-printarch or --disable-printarch was given.
7254 if test "${enable_printarch+set}" = set; then
7255 enableval
="$enable_printarch"
7257 if test "$enableval" = yes; then
7258 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7260 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7265 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x
; then
7267 eval "DEFAULT_$LINE"
7272 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7276 eval "$ac_cv_use_printarch"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7282 echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6
7285 echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7294 # Check whether --enable-mdi or --disable-mdi was given.
7295 if test "${enable_mdi+set}" = set; then
7296 enableval
="$enable_mdi"
7298 if test "$enableval" = yes; then
7299 ac_cv_use_mdi
='wxUSE_MDI=yes'
7301 ac_cv_use_mdi
='wxUSE_MDI=no'
7306 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x
; then
7308 eval "DEFAULT_$LINE"
7313 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7317 eval "$ac_cv_use_mdi"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_MDI" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7335 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7336 if test "${enable_mdidoc+set}" = set; then
7337 enableval
="$enable_mdidoc"
7339 if test "$enableval" = yes; then
7340 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7342 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7347 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x
; then
7349 eval "DEFAULT_$LINE"
7354 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7358 eval "$ac_cv_use_mdidoc"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7376 # Check whether --enable-loggui or --disable-loggui was given.
7377 if test "${enable_loggui+set}" = set; then
7378 enableval
="$enable_loggui"
7380 if test "$enableval" = yes; then
7381 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7383 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7388 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x
; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7399 eval "$ac_cv_use_loggui"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7404 if test "$wxUSE_LOGGUI" = yes; then
7405 echo "$as_me:$LINENO: result: yes" >&5
7406 echo "${ECHO_T}yes" >&6
7408 echo "$as_me:$LINENO: result: no" >&5
7409 echo "${ECHO_T}no" >&6
7414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7417 # Check whether --enable-logwin or --disable-logwin was given.
7418 if test "${enable_logwin+set}" = set; then
7419 enableval
="$enable_logwin"
7421 if test "$enableval" = yes; then
7422 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7424 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7429 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x
; then
7431 eval "DEFAULT_$LINE"
7436 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7440 eval "$ac_cv_use_logwin"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7445 if test "$wxUSE_LOGWINDOW" = yes; then
7446 echo "$as_me:$LINENO: result: yes" >&5
7447 echo "${ECHO_T}yes" >&6
7449 echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6
7455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7458 # Check whether --enable-logdialog or --disable-logdialog was given.
7459 if test "${enable_logdialog+set}" = set; then
7460 enableval
="$enable_logdialog"
7462 if test "$enableval" = yes; then
7463 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7465 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7470 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x
; then
7472 eval "DEFAULT_$LINE"
7477 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7481 eval "$ac_cv_use_logdialog"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7486 if test "$wxUSE_LOGDIALOG" = yes; then
7487 echo "$as_me:$LINENO: result: yes" >&5
7488 echo "${ECHO_T}yes" >&6
7490 echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6
7496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7499 # Check whether --enable-webkit or --disable-webkit was given.
7500 if test "${enable_webkit+set}" = set; then
7501 enableval
="$enable_webkit"
7503 if test "$enableval" = yes; then
7504 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7506 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7511 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x
; then
7513 eval "DEFAULT_$LINE"
7518 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7522 eval "$ac_cv_use_webkit"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7527 if test "$wxUSE_WEBKIT" = yes; then
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7538 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7540 # Check whether --enable-html or --disable-html was given.
7541 if test "${enable_html+set}" = set; then
7542 enableval
="$enable_html"
7544 if test "$enableval" = yes; then
7545 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7547 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7552 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x
; then
7554 eval "DEFAULT_$LINE"
7559 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7563 eval "$ac_cv_use_html"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7568 if test "$wxUSE_RICHTEXT" = yes; then
7569 echo "$as_me:$LINENO: result: yes" >&5
7570 echo "${ECHO_T}yes" >&6
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7581 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7582 if test "${enable_graphics_ctx+set}" = set; then
7583 enableval
="$enable_graphics_ctx"
7585 if test "$enableval" = yes; then
7586 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7588 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7593 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x
; then
7595 eval "DEFAULT_$LINE"
7600 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7604 eval "$ac_cv_use_graphics_ctx"
7605 if test "$no_cache" != 1; then
7606 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7609 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7610 echo "$as_me:$LINENO: result: yes" >&5
7611 echo "${ECHO_T}yes" >&6
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7621 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7623 # Check whether --enable-postscript or --disable-postscript was given.
7624 if test "${enable_postscript+set}" = set; then
7625 enableval
="$enable_postscript"
7627 if test "$enableval" = yes; then
7628 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7630 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7635 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7636 if test "x$LINE" != x
; then
7637 eval "DEFAULT_$LINE"
7642 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7646 eval "$ac_cv_use_postscript"
7647 if test "$no_cache" != 1; then
7648 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7651 if test "$wxUSE_POSTSCRIPT" = yes; then
7652 echo "$as_me:$LINENO: result: yes" >&5
7653 echo "${ECHO_T}yes" >&6
7655 echo "$as_me:$LINENO: result: no" >&5
7656 echo "${ECHO_T}no" >&6
7664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7667 # Check whether --enable-prologio or --disable-prologio was given.
7668 if test "${enable_prologio+set}" = set; then
7669 enableval
="$enable_prologio"
7671 if test "$enableval" = yes; then
7672 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7674 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7679 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7680 if test "x$LINE" != x
; then
7681 eval "DEFAULT_$LINE"
7686 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7690 eval "$ac_cv_use_prologio"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7695 if test "$wxUSE_PROLOGIO" = yes; then
7696 echo "$as_me:$LINENO: result: yes" >&5
7697 echo "${ECHO_T}yes" >&6
7699 echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6
7705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7706 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7708 # Check whether --enable-resources or --disable-resources was given.
7709 if test "${enable_resources+set}" = set; then
7710 enableval
="$enable_resources"
7712 if test "$enableval" = yes; then
7713 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7715 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7720 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x
; then
7722 eval "DEFAULT_$LINE"
7727 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7731 eval "$ac_cv_use_resources"
7732 if test "$no_cache" != 1; then
7733 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7736 if test "$wxUSE_RESOURCES" = yes; then
7737 echo "$as_me:$LINENO: result: yes" >&5
7738 echo "${ECHO_T}yes" >&6
7740 echo "$as_me:$LINENO: result: no" >&5
7741 echo "${ECHO_T}no" >&6
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7751 # Check whether --enable-clipboard or --disable-clipboard was given.
7752 if test "${enable_clipboard+set}" = set; then
7753 enableval
="$enable_clipboard"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7758 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7763 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7774 eval "$ac_cv_use_clipboard"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_CLIPBOARD" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7792 # Check whether --enable-dnd or --disable-dnd was given.
7793 if test "${enable_dnd+set}" = set; then
7794 enableval
="$enable_dnd"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7799 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7804 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7815 eval "$ac_cv_use_dnd"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7833 # Check whether --enable-metafile or --disable-metafile was given.
7834 if test "${enable_metafile+set}" = set; then
7835 enableval
="$enable_metafile"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7840 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7845 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7856 eval "$ac_cv_use_metafile"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_METAFILE" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7877 # Check whether --enable-controls or --disable-controls was given.
7878 if test "${enable_controls+set}" = set; then
7879 enableval
="$enable_controls"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7884 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7889 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x
; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7900 eval "$ac_cv_use_controls"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_CONTROLS" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7914 if test "$wxUSE_CONTROLS" = "yes"; then
7915 DEFAULT_wxUSE_ACCEL
=yes
7916 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7917 DEFAULT_wxUSE_BMPBUTTON
=yes
7918 DEFAULT_wxUSE_BUTTON
=yes
7919 DEFAULT_wxUSE_CALCTRL
=yes
7920 DEFAULT_wxUSE_CARET
=yes
7921 DEFAULT_wxUSE_COMBOBOX
=yes
7922 DEFAULT_wxUSE_CHECKBOX
=yes
7923 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7924 DEFAULT_wxUSE_CHOICE
=yes
7925 DEFAULT_wxUSE_CHOICEBOOK
=yes
7926 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7927 DEFAULT_wxUSE_COMBOBOX
=yes
7928 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7929 DEFAULT_wxUSE_DISPLAY
=yes
7930 DEFAULT_wxUSE_DETECT_SM
=yes
7931 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7932 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7933 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7934 DEFAULT_wxUSE_GAUGE
=yes
7935 DEFAULT_wxUSE_GRID
=yes
7936 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7937 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7938 DEFAULT_wxUSE_IMAGLIST
=yes
7939 DEFAULT_wxUSE_LISTBOOK
=yes
7940 DEFAULT_wxUSE_LISTBOX
=yes
7941 DEFAULT_wxUSE_LISTCTRL
=yes
7942 DEFAULT_wxUSE_NOTEBOOK
=yes
7943 DEFAULT_wxUSE_RADIOBOX
=yes
7944 DEFAULT_wxUSE_RADIOBTN
=yes
7945 DEFAULT_wxUSE_SASH
=yes
7946 DEFAULT_wxUSE_SCROLLBAR
=yes
7947 DEFAULT_wxUSE_SLIDER
=yes
7948 DEFAULT_wxUSE_SPINBTN
=yes
7949 DEFAULT_wxUSE_SPINCTRL
=yes
7950 DEFAULT_wxUSE_SPLITTER
=yes
7951 DEFAULT_wxUSE_STATBMP
=yes
7952 DEFAULT_wxUSE_STATBOX
=yes
7953 DEFAULT_wxUSE_STATLINE
=yes
7954 DEFAULT_wxUSE_STATUSBAR
=yes
7955 DEFAULT_wxUSE_TAB_DIALOG
=yes
7956 DEFAULT_wxUSE_TOGGLEBTN
=yes
7957 DEFAULT_wxUSE_TOOLBAR
=yes
7958 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7959 DEFAULT_wxUSE_TOOLTIPS
=yes
7960 DEFAULT_wxUSE_TREEBOOK
=yes
7961 DEFAULT_wxUSE_TOOLBOOK
=yes
7962 DEFAULT_wxUSE_TREECTRL
=yes
7963 DEFAULT_wxUSE_POPUPWIN
=yes
7964 DEFAULT_wxUSE_TIPWINDOW
=yes
7965 elif test "$wxUSE_CONTROLS" = "no"; then
7966 DEFAULT_wxUSE_ACCEL
=no
7967 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7968 DEFAULT_wxUSE_BMPBUTTON
=no
7969 DEFAULT_wxUSE_BUTTON
=no
7970 DEFAULT_wxUSE_CALCTRL
=no
7971 DEFAULT_wxUSE_CARET
=no
7972 DEFAULT_wxUSE_COMBOBOX
=no
7973 DEFAULT_wxUSE_CHECKBOX
=no
7974 DEFAULT_wxUSE_CHECKLISTBOX
=no
7975 DEFAULT_wxUSE_CHOICE
=no
7976 DEFAULT_wxUSE_CHOICEBOOK
=no
7977 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7978 DEFAULT_wxUSE_COMBOBOX
=no
7979 DEFAULT_wxUSE_DATEPICKCTRL
=no
7980 DEFAULT_wxUSE_DISPLAY
=no
7981 DEFAULT_wxUSE_DETECT_SM
=no
7982 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7983 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7984 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7985 DEFAULT_wxUSE_GAUGE
=no
7986 DEFAULT_wxUSE_GRID
=no
7987 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7988 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7989 DEFAULT_wxUSE_IMAGLIST
=no
7990 DEFAULT_wxUSE_LISTBOOK
=no
7991 DEFAULT_wxUSE_LISTBOX
=no
7992 DEFAULT_wxUSE_LISTCTRL
=no
7993 DEFAULT_wxUSE_NOTEBOOK
=no
7994 DEFAULT_wxUSE_RADIOBOX
=no
7995 DEFAULT_wxUSE_RADIOBTN
=no
7996 DEFAULT_wxUSE_SASH
=no
7997 DEFAULT_wxUSE_SCROLLBAR
=no
7998 DEFAULT_wxUSE_SLIDER
=no
7999 DEFAULT_wxUSE_SPINBTN
=no
8000 DEFAULT_wxUSE_SPINCTRL
=no
8001 DEFAULT_wxUSE_SPLITTER
=no
8002 DEFAULT_wxUSE_STATBMP
=no
8003 DEFAULT_wxUSE_STATBOX
=no
8004 DEFAULT_wxUSE_STATLINE
=no
8005 DEFAULT_wxUSE_STATUSBAR
=no
8006 DEFAULT_wxUSE_TAB_DIALOG
=no
8007 DEFAULT_wxUSE_TOGGLEBTN
=no
8008 DEFAULT_wxUSE_TOOLBAR
=no
8009 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
8010 DEFAULT_wxUSE_TOOLTIPS
=no
8011 DEFAULT_wxUSE_TREEBOOK
=no
8012 DEFAULT_wxUSE_TOOLBOOK
=no
8013 DEFAULT_wxUSE_TREECTRL
=no
8014 DEFAULT_wxUSE_POPUPWIN
=no
8015 DEFAULT_wxUSE_TIPWINDOW
=no
8020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8021 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8023 # Check whether --enable-accel or --disable-accel was given.
8024 if test "${enable_accel+set}" = set; then
8025 enableval
="$enable_accel"
8027 if test "$enableval" = yes; then
8028 ac_cv_use_accel
='wxUSE_ACCEL=yes'
8030 ac_cv_use_accel
='wxUSE_ACCEL=no'
8035 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8036 if test "x$LINE" != x
; then
8037 eval "DEFAULT_$LINE"
8042 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8046 eval "$ac_cv_use_accel"
8047 if test "$no_cache" != 1; then
8048 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8051 if test "$wxUSE_ACCEL" = yes; then
8052 echo "$as_me:$LINENO: result: yes" >&5
8053 echo "${ECHO_T}yes" >&6
8055 echo "$as_me:$LINENO: result: no" >&5
8056 echo "${ECHO_T}no" >&6
8061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8062 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8064 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8065 if test "${enable_animatectrl+set}" = set; then
8066 enableval
="$enable_animatectrl"
8068 if test "$enableval" = yes; then
8069 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8071 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8076 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8077 if test "x$LINE" != x
; then
8078 eval "DEFAULT_$LINE"
8083 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8087 eval "$ac_cv_use_animatectrl"
8088 if test "$no_cache" != 1; then
8089 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8092 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8093 echo "$as_me:$LINENO: result: yes" >&5
8094 echo "${ECHO_T}yes" >&6
8096 echo "$as_me:$LINENO: result: no" >&5
8097 echo "${ECHO_T}no" >&6
8102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8103 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8105 # Check whether --enable-button or --disable-button was given.
8106 if test "${enable_button+set}" = set; then
8107 enableval
="$enable_button"
8109 if test "$enableval" = yes; then
8110 ac_cv_use_button
='wxUSE_BUTTON=yes'
8112 ac_cv_use_button
='wxUSE_BUTTON=no'
8117 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8118 if test "x$LINE" != x
; then
8119 eval "DEFAULT_$LINE"
8124 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8128 eval "$ac_cv_use_button"
8129 if test "$no_cache" != 1; then
8130 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8133 if test "$wxUSE_BUTTON" = yes; then
8134 echo "$as_me:$LINENO: result: yes" >&5
8135 echo "${ECHO_T}yes" >&6
8137 echo "$as_me:$LINENO: result: no" >&5
8138 echo "${ECHO_T}no" >&6
8143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8146 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8147 if test "${enable_bmpbutton+set}" = set; then
8148 enableval
="$enable_bmpbutton"
8150 if test "$enableval" = yes; then
8151 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8153 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8158 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8159 if test "x$LINE" != x
; then
8160 eval "DEFAULT_$LINE"
8165 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8169 eval "$ac_cv_use_bmpbutton"
8170 if test "$no_cache" != 1; then
8171 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8174 if test "$wxUSE_BMPBUTTON" = yes; then
8175 echo "$as_me:$LINENO: result: yes" >&5
8176 echo "${ECHO_T}yes" >&6
8178 echo "$as_me:$LINENO: result: no" >&5
8179 echo "${ECHO_T}no" >&6
8184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8187 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8188 if test "${enable_bmpcombobox+set}" = set; then
8189 enableval
="$enable_bmpcombobox"
8191 if test "$enableval" = yes; then
8192 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8194 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8199 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x
; then
8201 eval "DEFAULT_$LINE"
8206 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8210 eval "$ac_cv_use_bmpcombobox"
8211 if test "$no_cache" != 1; then
8212 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8215 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8216 echo "$as_me:$LINENO: result: yes" >&5
8217 echo "${ECHO_T}yes" >&6
8219 echo "$as_me:$LINENO: result: no" >&5
8220 echo "${ECHO_T}no" >&6
8225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8226 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8228 # Check whether --enable-calendar or --disable-calendar was given.
8229 if test "${enable_calendar+set}" = set; then
8230 enableval
="$enable_calendar"
8232 if test "$enableval" = yes; then
8233 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8235 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8240 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8241 if test "x$LINE" != x
; then
8242 eval "DEFAULT_$LINE"
8247 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8251 eval "$ac_cv_use_calendar"
8252 if test "$no_cache" != 1; then
8253 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8256 if test "$wxUSE_CALCTRL" = yes; then
8257 echo "$as_me:$LINENO: result: yes" >&5
8258 echo "${ECHO_T}yes" >&6
8260 echo "$as_me:$LINENO: result: no" >&5
8261 echo "${ECHO_T}no" >&6
8266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8267 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8269 # Check whether --enable-caret or --disable-caret was given.
8270 if test "${enable_caret+set}" = set; then
8271 enableval
="$enable_caret"
8273 if test "$enableval" = yes; then
8274 ac_cv_use_caret
='wxUSE_CARET=yes'
8276 ac_cv_use_caret
='wxUSE_CARET=no'
8281 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8282 if test "x$LINE" != x
; then
8283 eval "DEFAULT_$LINE"
8288 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8292 eval "$ac_cv_use_caret"
8293 if test "$no_cache" != 1; then
8294 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8297 if test "$wxUSE_CARET" = yes; then
8298 echo "$as_me:$LINENO: result: yes" >&5
8299 echo "${ECHO_T}yes" >&6
8301 echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6
8307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8310 # Check whether --enable-checkbox or --disable-checkbox was given.
8311 if test "${enable_checkbox+set}" = set; then
8312 enableval
="$enable_checkbox"
8314 if test "$enableval" = yes; then
8315 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8317 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8322 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8323 if test "x$LINE" != x
; then
8324 eval "DEFAULT_$LINE"
8329 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8333 eval "$ac_cv_use_checkbox"
8334 if test "$no_cache" != 1; then
8335 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8338 if test "$wxUSE_CHECKBOX" = yes; then
8339 echo "$as_me:$LINENO: result: yes" >&5
8340 echo "${ECHO_T}yes" >&6
8342 echo "$as_me:$LINENO: result: no" >&5
8343 echo "${ECHO_T}no" >&6
8348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8351 # Check whether --enable-checklst or --disable-checklst was given.
8352 if test "${enable_checklst+set}" = set; then
8353 enableval
="$enable_checklst"
8355 if test "$enableval" = yes; then
8356 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8358 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8363 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x
; then
8365 eval "DEFAULT_$LINE"
8370 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8374 eval "$ac_cv_use_checklst"
8375 if test "$no_cache" != 1; then
8376 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8379 if test "$wxUSE_CHECKLST" = yes; then
8380 echo "$as_me:$LINENO: result: yes" >&5
8381 echo "${ECHO_T}yes" >&6
8383 echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6
8389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8392 # Check whether --enable-choice or --disable-choice was given.
8393 if test "${enable_choice+set}" = set; then
8394 enableval
="$enable_choice"
8396 if test "$enableval" = yes; then
8397 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8399 ac_cv_use_choice
='wxUSE_CHOICE=no'
8404 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x
; then
8406 eval "DEFAULT_$LINE"
8411 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8415 eval "$ac_cv_use_choice"
8416 if test "$no_cache" != 1; then
8417 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8420 if test "$wxUSE_CHOICE" = yes; then
8421 echo "$as_me:$LINENO: result: yes" >&5
8422 echo "${ECHO_T}yes" >&6
8424 echo "$as_me:$LINENO: result: no" >&5
8425 echo "${ECHO_T}no" >&6
8430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8433 # Check whether --enable-choicebook or --disable-choicebook was given.
8434 if test "${enable_choicebook+set}" = set; then
8435 enableval
="$enable_choicebook"
8437 if test "$enableval" = yes; then
8438 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8440 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8445 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x
; then
8447 eval "DEFAULT_$LINE"
8452 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8456 eval "$ac_cv_use_choicebook"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8461 if test "$wxUSE_CHOICEBOOK" = yes; then
8462 echo "$as_me:$LINENO: result: yes" >&5
8463 echo "${ECHO_T}yes" >&6
8465 echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6
8471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8472 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8474 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8475 if test "${enable_colourpicker+set}" = set; then
8476 enableval
="$enable_colourpicker"
8478 if test "$enableval" = yes; then
8479 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8481 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8486 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8487 if test "x$LINE" != x
; then
8488 eval "DEFAULT_$LINE"
8493 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8497 eval "$ac_cv_use_colourpicker"
8498 if test "$no_cache" != 1; then
8499 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8502 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8503 echo "$as_me:$LINENO: result: yes" >&5
8504 echo "${ECHO_T}yes" >&6
8506 echo "$as_me:$LINENO: result: no" >&5
8507 echo "${ECHO_T}no" >&6
8512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8513 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8515 # Check whether --enable-combobox or --disable-combobox was given.
8516 if test "${enable_combobox+set}" = set; then
8517 enableval
="$enable_combobox"
8519 if test "$enableval" = yes; then
8520 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8522 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8527 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8528 if test "x$LINE" != x
; then
8529 eval "DEFAULT_$LINE"
8534 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8538 eval "$ac_cv_use_combobox"
8539 if test "$no_cache" != 1; then
8540 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8543 if test "$wxUSE_COMBOBOX" = yes; then
8544 echo "$as_me:$LINENO: result: yes" >&5
8545 echo "${ECHO_T}yes" >&6
8547 echo "$as_me:$LINENO: result: no" >&5
8548 echo "${ECHO_T}no" >&6
8553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8556 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8557 if test "${enable_comboctrl+set}" = set; then
8558 enableval
="$enable_comboctrl"
8560 if test "$enableval" = yes; then
8561 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8563 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8568 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x
; then
8570 eval "DEFAULT_$LINE"
8575 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8579 eval "$ac_cv_use_comboctrl"
8580 if test "$no_cache" != 1; then
8581 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8584 if test "$wxUSE_COMBOCTRL" = yes; then
8585 echo "$as_me:$LINENO: result: yes" >&5
8586 echo "${ECHO_T}yes" >&6
8588 echo "$as_me:$LINENO: result: no" >&5
8589 echo "${ECHO_T}no" >&6
8594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8595 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8597 # Check whether --enable-datepick or --disable-datepick was given.
8598 if test "${enable_datepick+set}" = set; then
8599 enableval
="$enable_datepick"
8601 if test "$enableval" = yes; then
8602 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8604 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8609 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8610 if test "x$LINE" != x
; then
8611 eval "DEFAULT_$LINE"
8616 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8620 eval "$ac_cv_use_datepick"
8621 if test "$no_cache" != 1; then
8622 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8625 if test "$wxUSE_DATEPICKCTRL" = yes; then
8626 echo "$as_me:$LINENO: result: yes" >&5
8627 echo "${ECHO_T}yes" >&6
8629 echo "$as_me:$LINENO: result: no" >&5
8630 echo "${ECHO_T}no" >&6
8635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8638 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8639 if test "${enable_dirpicker+set}" = set; then
8640 enableval
="$enable_dirpicker"
8642 if test "$enableval" = yes; then
8643 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8645 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8650 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8651 if test "x$LINE" != x
; then
8652 eval "DEFAULT_$LINE"
8657 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8661 eval "$ac_cv_use_dirpicker"
8662 if test "$no_cache" != 1; then
8663 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8666 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8667 echo "$as_me:$LINENO: result: yes" >&5
8668 echo "${ECHO_T}yes" >&6
8670 echo "$as_me:$LINENO: result: no" >&5
8671 echo "${ECHO_T}no" >&6
8676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8679 # Check whether --enable-display or --disable-display was given.
8680 if test "${enable_display+set}" = set; then
8681 enableval
="$enable_display"
8683 if test "$enableval" = yes; then
8684 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8686 ac_cv_use_display
='wxUSE_DISPLAY=no'
8691 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8692 if test "x$LINE" != x
; then
8693 eval "DEFAULT_$LINE"
8698 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8702 eval "$ac_cv_use_display"
8703 if test "$no_cache" != 1; then
8704 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8707 if test "$wxUSE_DISPLAY" = yes; then
8708 echo "$as_me:$LINENO: result: yes" >&5
8709 echo "${ECHO_T}yes" >&6
8711 echo "$as_me:$LINENO: result: no" >&5
8712 echo "${ECHO_T}no" >&6
8717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8720 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8721 if test "${enable_detect_sm+set}" = set; then
8722 enableval
="$enable_detect_sm"
8724 if test "$enableval" = yes; then
8725 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8727 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8732 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8733 if test "x$LINE" != x
; then
8734 eval "DEFAULT_$LINE"
8739 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8743 eval "$ac_cv_use_detect_sm"
8744 if test "$no_cache" != 1; then
8745 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8748 if test "$wxUSE_DETECT_SM" = yes; then
8749 echo "$as_me:$LINENO: result: yes" >&5
8750 echo "${ECHO_T}yes" >&6
8752 echo "$as_me:$LINENO: result: no" >&5
8753 echo "${ECHO_T}no" >&6
8758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8761 # Check whether --enable-filepicker or --disable-filepicker was given.
8762 if test "${enable_filepicker+set}" = set; then
8763 enableval
="$enable_filepicker"
8765 if test "$enableval" = yes; then
8766 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8768 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8773 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8774 if test "x$LINE" != x
; then
8775 eval "DEFAULT_$LINE"
8780 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8784 eval "$ac_cv_use_filepicker"
8785 if test "$no_cache" != 1; then
8786 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8789 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8790 echo "$as_me:$LINENO: result: yes" >&5
8791 echo "${ECHO_T}yes" >&6
8793 echo "$as_me:$LINENO: result: no" >&5
8794 echo "${ECHO_T}no" >&6
8799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8802 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8803 if test "${enable_fontpicker+set}" = set; then
8804 enableval
="$enable_fontpicker"
8806 if test "$enableval" = yes; then
8807 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8809 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8814 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8815 if test "x$LINE" != x
; then
8816 eval "DEFAULT_$LINE"
8821 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8825 eval "$ac_cv_use_fontpicker"
8826 if test "$no_cache" != 1; then
8827 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8830 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8831 echo "$as_me:$LINENO: result: yes" >&5
8832 echo "${ECHO_T}yes" >&6
8834 echo "$as_me:$LINENO: result: no" >&5
8835 echo "${ECHO_T}no" >&6
8840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8841 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8843 # Check whether --enable-gauge or --disable-gauge was given.
8844 if test "${enable_gauge+set}" = set; then
8845 enableval
="$enable_gauge"
8847 if test "$enableval" = yes; then
8848 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8850 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8855 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x
; then
8857 eval "DEFAULT_$LINE"
8862 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8866 eval "$ac_cv_use_gauge"
8867 if test "$no_cache" != 1; then
8868 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8871 if test "$wxUSE_GAUGE" = yes; then
8872 echo "$as_me:$LINENO: result: yes" >&5
8873 echo "${ECHO_T}yes" >&6
8875 echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6
8881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8884 # Check whether --enable-grid or --disable-grid was given.
8885 if test "${enable_grid+set}" = set; then
8886 enableval
="$enable_grid"
8888 if test "$enableval" = yes; then
8889 ac_cv_use_grid
='wxUSE_GRID=yes'
8891 ac_cv_use_grid
='wxUSE_GRID=no'
8896 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8897 if test "x$LINE" != x
; then
8898 eval "DEFAULT_$LINE"
8903 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8907 eval "$ac_cv_use_grid"
8908 if test "$no_cache" != 1; then
8909 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8912 if test "$wxUSE_GRID" = yes; then
8913 echo "$as_me:$LINENO: result: yes" >&5
8914 echo "${ECHO_T}yes" >&6
8916 echo "$as_me:$LINENO: result: no" >&5
8917 echo "${ECHO_T}no" >&6
8922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8925 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8926 if test "${enable_dataviewctrl+set}" = set; then
8927 enableval
="$enable_dataviewctrl"
8929 if test "$enableval" = yes; then
8930 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8932 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8937 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x
; then
8939 eval "DEFAULT_$LINE"
8944 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8948 eval "$ac_cv_use_dataviewctrl"
8949 if test "$no_cache" != 1; then
8950 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8953 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8954 echo "$as_me:$LINENO: result: yes" >&5
8955 echo "${ECHO_T}yes" >&6
8957 echo "$as_me:$LINENO: result: no" >&5
8958 echo "${ECHO_T}no" >&6
8963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8964 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8966 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8967 if test "${enable_hyperlink+set}" = set; then
8968 enableval
="$enable_hyperlink"
8970 if test "$enableval" = yes; then
8971 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8973 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8978 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x
; then
8980 eval "DEFAULT_$LINE"
8985 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8989 eval "$ac_cv_use_hyperlink"
8990 if test "$no_cache" != 1; then
8991 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8994 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8995 echo "$as_me:$LINENO: result: yes" >&5
8996 echo "${ECHO_T}yes" >&6
8998 echo "$as_me:$LINENO: result: no" >&5
8999 echo "${ECHO_T}no" >&6
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9007 # Check whether --enable-imaglist or --disable-imaglist was given.
9008 if test "${enable_imaglist+set}" = set; then
9009 enableval
="$enable_imaglist"
9011 if test "$enableval" = yes; then
9012 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
9014 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
9019 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x
; then
9021 eval "DEFAULT_$LINE"
9026 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9030 eval "$ac_cv_use_imaglist"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9035 if test "$wxUSE_IMAGLIST" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9048 # Check whether --enable-listbook or --disable-listbook was given.
9049 if test "${enable_listbook+set}" = set; then
9050 enableval
="$enable_listbook"
9052 if test "$enableval" = yes; then
9053 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9055 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9060 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x
; then
9062 eval "DEFAULT_$LINE"
9067 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9071 eval "$ac_cv_use_listbook"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9076 if test "$wxUSE_LISTBOOK" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9089 # Check whether --enable-listbox or --disable-listbox was given.
9090 if test "${enable_listbox+set}" = set; then
9091 enableval
="$enable_listbox"
9093 if test "$enableval" = yes; then
9094 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9096 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9101 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x
; then
9103 eval "DEFAULT_$LINE"
9108 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9112 eval "$ac_cv_use_listbox"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9117 if test "$wxUSE_LISTBOX" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9130 # Check whether --enable-listctrl or --disable-listctrl was given.
9131 if test "${enable_listctrl+set}" = set; then
9132 enableval
="$enable_listctrl"
9134 if test "$enableval" = yes; then
9135 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9137 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9142 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x
; then
9144 eval "DEFAULT_$LINE"
9149 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9153 eval "$ac_cv_use_listctrl"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9158 if test "$wxUSE_LISTCTRL" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160 echo "${ECHO_T}yes" >&6
9162 echo "$as_me:$LINENO: result: no" >&5
9163 echo "${ECHO_T}no" >&6
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9171 # Check whether --enable-notebook or --disable-notebook was given.
9172 if test "${enable_notebook+set}" = set; then
9173 enableval
="$enable_notebook"
9175 if test "$enableval" = yes; then
9176 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9178 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9183 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x
; then
9185 eval "DEFAULT_$LINE"
9190 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9194 eval "$ac_cv_use_notebook"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9199 if test "$wxUSE_NOTEBOOK" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6
9203 echo "$as_me:$LINENO: result: no" >&5
9204 echo "${ECHO_T}no" >&6
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9212 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9213 if test "${enable_odcombobox+set}" = set; then
9214 enableval
="$enable_odcombobox"
9216 if test "$enableval" = yes; then
9217 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9219 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9224 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x
; then
9226 eval "DEFAULT_$LINE"
9231 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9235 eval "$ac_cv_use_odcombobox"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9240 if test "$wxUSE_ODCOMBOBOX" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242 echo "${ECHO_T}yes" >&6
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9253 # Check whether --enable-radiobox or --disable-radiobox was given.
9254 if test "${enable_radiobox+set}" = set; then
9255 enableval
="$enable_radiobox"
9257 if test "$enableval" = yes; then
9258 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9260 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9265 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x
; then
9267 eval "DEFAULT_$LINE"
9272 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9276 eval "$ac_cv_use_radiobox"
9277 if test "$no_cache" != 1; then
9278 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9281 if test "$wxUSE_RADIOBOX" = yes; then
9282 echo "$as_me:$LINENO: result: yes" >&5
9283 echo "${ECHO_T}yes" >&6
9285 echo "$as_me:$LINENO: result: no" >&5
9286 echo "${ECHO_T}no" >&6
9291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9294 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9295 if test "${enable_radiobtn+set}" = set; then
9296 enableval
="$enable_radiobtn"
9298 if test "$enableval" = yes; then
9299 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9301 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9306 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x
; then
9308 eval "DEFAULT_$LINE"
9313 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9317 eval "$ac_cv_use_radiobtn"
9318 if test "$no_cache" != 1; then
9319 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9322 if test "$wxUSE_RADIOBTN" = yes; then
9323 echo "$as_me:$LINENO: result: yes" >&5
9324 echo "${ECHO_T}yes" >&6
9326 echo "$as_me:$LINENO: result: no" >&5
9327 echo "${ECHO_T}no" >&6
9332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9335 # Check whether --enable-sash or --disable-sash was given.
9336 if test "${enable_sash+set}" = set; then
9337 enableval
="$enable_sash"
9339 if test "$enableval" = yes; then
9340 ac_cv_use_sash
='wxUSE_SASH=yes'
9342 ac_cv_use_sash
='wxUSE_SASH=no'
9347 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x
; then
9349 eval "DEFAULT_$LINE"
9354 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9358 eval "$ac_cv_use_sash"
9359 if test "$no_cache" != 1; then
9360 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9363 if test "$wxUSE_SASH" = yes; then
9364 echo "$as_me:$LINENO: result: yes" >&5
9365 echo "${ECHO_T}yes" >&6
9367 echo "$as_me:$LINENO: result: no" >&5
9368 echo "${ECHO_T}no" >&6
9373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9374 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9376 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9377 if test "${enable_scrollbar+set}" = set; then
9378 enableval
="$enable_scrollbar"
9380 if test "$enableval" = yes; then
9381 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9383 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9388 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x
; then
9390 eval "DEFAULT_$LINE"
9395 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9399 eval "$ac_cv_use_scrollbar"
9400 if test "$no_cache" != 1; then
9401 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9404 if test "$wxUSE_SCROLLBAR" = yes; then
9405 echo "$as_me:$LINENO: result: yes" >&5
9406 echo "${ECHO_T}yes" >&6
9408 echo "$as_me:$LINENO: result: no" >&5
9409 echo "${ECHO_T}no" >&6
9414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9415 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9417 # Check whether --enable-slider or --disable-slider was given.
9418 if test "${enable_slider+set}" = set; then
9419 enableval
="$enable_slider"
9421 if test "$enableval" = yes; then
9422 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9424 ac_cv_use_slider
='wxUSE_SLIDER=no'
9429 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x
; then
9431 eval "DEFAULT_$LINE"
9436 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9440 eval "$ac_cv_use_slider"
9441 if test "$no_cache" != 1; then
9442 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9445 if test "$wxUSE_SLIDER" = yes; then
9446 echo "$as_me:$LINENO: result: yes" >&5
9447 echo "${ECHO_T}yes" >&6
9449 echo "$as_me:$LINENO: result: no" >&5
9450 echo "${ECHO_T}no" >&6
9455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9456 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9458 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9459 if test "${enable_spinbtn+set}" = set; then
9460 enableval
="$enable_spinbtn"
9462 if test "$enableval" = yes; then
9463 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9465 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9470 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9471 if test "x$LINE" != x
; then
9472 eval "DEFAULT_$LINE"
9477 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9481 eval "$ac_cv_use_spinbtn"
9482 if test "$no_cache" != 1; then
9483 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9486 if test "$wxUSE_SPINBTN" = yes; then
9487 echo "$as_me:$LINENO: result: yes" >&5
9488 echo "${ECHO_T}yes" >&6
9490 echo "$as_me:$LINENO: result: no" >&5
9491 echo "${ECHO_T}no" >&6
9496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9499 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9500 if test "${enable_spinctrl+set}" = set; then
9501 enableval
="$enable_spinctrl"
9503 if test "$enableval" = yes; then
9504 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9506 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9511 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x
; then
9513 eval "DEFAULT_$LINE"
9518 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9522 eval "$ac_cv_use_spinctrl"
9523 if test "$no_cache" != 1; then
9524 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9527 if test "$wxUSE_SPINCTRL" = yes; then
9528 echo "$as_me:$LINENO: result: yes" >&5
9529 echo "${ECHO_T}yes" >&6
9531 echo "$as_me:$LINENO: result: no" >&5
9532 echo "${ECHO_T}no" >&6
9537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9540 # Check whether --enable-splitter or --disable-splitter was given.
9541 if test "${enable_splitter+set}" = set; then
9542 enableval
="$enable_splitter"
9544 if test "$enableval" = yes; then
9545 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9547 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9552 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x
; then
9554 eval "DEFAULT_$LINE"
9559 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9563 eval "$ac_cv_use_splitter"
9564 if test "$no_cache" != 1; then
9565 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9568 if test "$wxUSE_SPLITTER" = yes; then
9569 echo "$as_me:$LINENO: result: yes" >&5
9570 echo "${ECHO_T}yes" >&6
9572 echo "$as_me:$LINENO: result: no" >&5
9573 echo "${ECHO_T}no" >&6
9578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9579 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9581 # Check whether --enable-statbmp or --disable-statbmp was given.
9582 if test "${enable_statbmp+set}" = set; then
9583 enableval
="$enable_statbmp"
9585 if test "$enableval" = yes; then
9586 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9588 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9593 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9594 if test "x$LINE" != x
; then
9595 eval "DEFAULT_$LINE"
9600 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9604 eval "$ac_cv_use_statbmp"
9605 if test "$no_cache" != 1; then
9606 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9609 if test "$wxUSE_STATBMP" = yes; then
9610 echo "$as_me:$LINENO: result: yes" >&5
9611 echo "${ECHO_T}yes" >&6
9613 echo "$as_me:$LINENO: result: no" >&5
9614 echo "${ECHO_T}no" >&6
9619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9620 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9622 # Check whether --enable-statbox or --disable-statbox was given.
9623 if test "${enable_statbox+set}" = set; then
9624 enableval
="$enable_statbox"
9626 if test "$enableval" = yes; then
9627 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9629 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9634 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9635 if test "x$LINE" != x
; then
9636 eval "DEFAULT_$LINE"
9641 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9645 eval "$ac_cv_use_statbox"
9646 if test "$no_cache" != 1; then
9647 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9650 if test "$wxUSE_STATBOX" = yes; then
9651 echo "$as_me:$LINENO: result: yes" >&5
9652 echo "${ECHO_T}yes" >&6
9654 echo "$as_me:$LINENO: result: no" >&5
9655 echo "${ECHO_T}no" >&6
9660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9661 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9663 # Check whether --enable-statline or --disable-statline was given.
9664 if test "${enable_statline+set}" = set; then
9665 enableval
="$enable_statline"
9667 if test "$enableval" = yes; then
9668 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9670 ac_cv_use_statline
='wxUSE_STATLINE=no'
9675 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9676 if test "x$LINE" != x
; then
9677 eval "DEFAULT_$LINE"
9682 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9686 eval "$ac_cv_use_statline"
9687 if test "$no_cache" != 1; then
9688 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9691 if test "$wxUSE_STATLINE" = yes; then
9692 echo "$as_me:$LINENO: result: yes" >&5
9693 echo "${ECHO_T}yes" >&6
9695 echo "$as_me:$LINENO: result: no" >&5
9696 echo "${ECHO_T}no" >&6
9701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9702 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9704 # Check whether --enable-stattext or --disable-stattext was given.
9705 if test "${enable_stattext+set}" = set; then
9706 enableval
="$enable_stattext"
9708 if test "$enableval" = yes; then
9709 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9711 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9716 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9717 if test "x$LINE" != x
; then
9718 eval "DEFAULT_$LINE"
9723 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9727 eval "$ac_cv_use_stattext"
9728 if test "$no_cache" != 1; then
9729 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9732 if test "$wxUSE_STATTEXT" = yes; then
9733 echo "$as_me:$LINENO: result: yes" >&5
9734 echo "${ECHO_T}yes" >&6
9736 echo "$as_me:$LINENO: result: no" >&5
9737 echo "${ECHO_T}no" >&6
9742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9743 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9745 # Check whether --enable-statusbar or --disable-statusbar was given.
9746 if test "${enable_statusbar+set}" = set; then
9747 enableval
="$enable_statusbar"
9749 if test "$enableval" = yes; then
9750 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9752 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9757 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9758 if test "x$LINE" != x
; then
9759 eval "DEFAULT_$LINE"
9764 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9768 eval "$ac_cv_use_statusbar"
9769 if test "$no_cache" != 1; then
9770 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9773 if test "$wxUSE_STATUSBAR" = yes; then
9774 echo "$as_me:$LINENO: result: yes" >&5
9775 echo "${ECHO_T}yes" >&6
9777 echo "$as_me:$LINENO: result: no" >&5
9778 echo "${ECHO_T}no" >&6
9783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9784 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9786 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9787 if test "${enable_tabdialog+set}" = set; then
9788 enableval
="$enable_tabdialog"
9790 if test "$enableval" = yes; then
9791 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9793 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9798 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9799 if test "x$LINE" != x
; then
9800 eval "DEFAULT_$LINE"
9805 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9809 eval "$ac_cv_use_tabdialog"
9810 if test "$no_cache" != 1; then
9811 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9814 if test "$wxUSE_TAB_DIALOG" = yes; then
9815 echo "$as_me:$LINENO: result: yes" >&5
9816 echo "${ECHO_T}yes" >&6
9818 echo "$as_me:$LINENO: result: no" >&5
9819 echo "${ECHO_T}no" >&6
9824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9825 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9827 # Check whether --enable-textctrl or --disable-textctrl was given.
9828 if test "${enable_textctrl+set}" = set; then
9829 enableval
="$enable_textctrl"
9831 if test "$enableval" = yes; then
9832 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9834 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9839 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9840 if test "x$LINE" != x
; then
9841 eval "DEFAULT_$LINE"
9846 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9850 eval "$ac_cv_use_textctrl"
9851 if test "$no_cache" != 1; then
9852 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9855 if test "$wxUSE_TEXTCTRL" = yes; then
9856 echo "$as_me:$LINENO: result: yes" >&5
9857 echo "${ECHO_T}yes" >&6
9859 echo "$as_me:$LINENO: result: no" >&5
9860 echo "${ECHO_T}no" >&6
9865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9866 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9868 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9869 if test "${enable_togglebtn+set}" = set; then
9870 enableval
="$enable_togglebtn"
9872 if test "$enableval" = yes; then
9873 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9875 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9880 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9881 if test "x$LINE" != x
; then
9882 eval "DEFAULT_$LINE"
9887 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9891 eval "$ac_cv_use_togglebtn"
9892 if test "$no_cache" != 1; then
9893 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9896 if test "$wxUSE_TOGGLEBTN" = yes; then
9897 echo "$as_me:$LINENO: result: yes" >&5
9898 echo "${ECHO_T}yes" >&6
9900 echo "$as_me:$LINENO: result: no" >&5
9901 echo "${ECHO_T}no" >&6
9906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9907 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9909 # Check whether --enable-toolbar or --disable-toolbar was given.
9910 if test "${enable_toolbar+set}" = set; then
9911 enableval
="$enable_toolbar"
9913 if test "$enableval" = yes; then
9914 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9916 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9921 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9922 if test "x$LINE" != x
; then
9923 eval "DEFAULT_$LINE"
9928 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9932 eval "$ac_cv_use_toolbar"
9933 if test "$no_cache" != 1; then
9934 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9937 if test "$wxUSE_TOOLBAR" = yes; then
9938 echo "$as_me:$LINENO: result: yes" >&5
9939 echo "${ECHO_T}yes" >&6
9941 echo "$as_me:$LINENO: result: no" >&5
9942 echo "${ECHO_T}no" >&6
9947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9948 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9950 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9951 if test "${enable_tbarnative+set}" = set; then
9952 enableval
="$enable_tbarnative"
9954 if test "$enableval" = yes; then
9955 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9957 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9962 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9963 if test "x$LINE" != x
; then
9964 eval "DEFAULT_$LINE"
9969 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9973 eval "$ac_cv_use_tbarnative"
9974 if test "$no_cache" != 1; then
9975 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9978 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9979 echo "$as_me:$LINENO: result: yes" >&5
9980 echo "${ECHO_T}yes" >&6
9982 echo "$as_me:$LINENO: result: no" >&5
9983 echo "${ECHO_T}no" >&6
9988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9989 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9991 # Check whether --enable-treebook or --disable-treebook was given.
9992 if test "${enable_treebook+set}" = set; then
9993 enableval
="$enable_treebook"
9995 if test "$enableval" = yes; then
9996 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9998 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
10003 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10004 if test "x$LINE" != x
; then
10005 eval "DEFAULT_$LINE"
10010 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10014 eval "$ac_cv_use_treebook"
10015 if test "$no_cache" != 1; then
10016 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10019 if test "$wxUSE_TREEBOOK" = yes; then
10020 echo "$as_me:$LINENO: result: yes" >&5
10021 echo "${ECHO_T}yes" >&6
10023 echo "$as_me:$LINENO: result: no" >&5
10024 echo "${ECHO_T}no" >&6
10029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10030 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10032 # Check whether --enable-toolbook or --disable-toolbook was given.
10033 if test "${enable_toolbook+set}" = set; then
10034 enableval
="$enable_toolbook"
10036 if test "$enableval" = yes; then
10037 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
10039 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10044 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10045 if test "x$LINE" != x
; then
10046 eval "DEFAULT_$LINE"
10051 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10055 eval "$ac_cv_use_toolbook"
10056 if test "$no_cache" != 1; then
10057 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10060 if test "$wxUSE_TOOLBOOK" = yes; then
10061 echo "$as_me:$LINENO: result: yes" >&5
10062 echo "${ECHO_T}yes" >&6
10064 echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10073 # Check whether --enable-treectrl or --disable-treectrl was given.
10074 if test "${enable_treectrl+set}" = set; then
10075 enableval
="$enable_treectrl"
10077 if test "$enableval" = yes; then
10078 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10080 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10085 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10086 if test "x$LINE" != x
; then
10087 eval "DEFAULT_$LINE"
10092 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10096 eval "$ac_cv_use_treectrl"
10097 if test "$no_cache" != 1; then
10098 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10101 if test "$wxUSE_TREECTRL" = yes; then
10102 echo "$as_me:$LINENO: result: yes" >&5
10103 echo "${ECHO_T}yes" >&6
10105 echo "$as_me:$LINENO: result: no" >&5
10106 echo "${ECHO_T}no" >&6
10111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10114 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10115 if test "${enable_tipwindow+set}" = set; then
10116 enableval
="$enable_tipwindow"
10118 if test "$enableval" = yes; then
10119 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10121 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10126 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10127 if test "x$LINE" != x
; then
10128 eval "DEFAULT_$LINE"
10133 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10137 eval "$ac_cv_use_tipwindow"
10138 if test "$no_cache" != 1; then
10139 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10142 if test "$wxUSE_TIPWINDOW" = yes; then
10143 echo "$as_me:$LINENO: result: yes" >&5
10144 echo "${ECHO_T}yes" >&6
10146 echo "$as_me:$LINENO: result: no" >&5
10147 echo "${ECHO_T}no" >&6
10152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10155 # Check whether --enable-popupwin or --disable-popupwin was given.
10156 if test "${enable_popupwin+set}" = set; then
10157 enableval
="$enable_popupwin"
10159 if test "$enableval" = yes; then
10160 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10162 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10167 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10168 if test "x$LINE" != x
; then
10169 eval "DEFAULT_$LINE"
10174 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10178 eval "$ac_cv_use_popupwin"
10179 if test "$no_cache" != 1; then
10180 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10183 if test "$wxUSE_POPUPWIN" = yes; then
10184 echo "$as_me:$LINENO: result: yes" >&5
10185 echo "${ECHO_T}yes" >&6
10187 echo "$as_me:$LINENO: result: no" >&5
10188 echo "${ECHO_T}no" >&6
10195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10198 # Check whether --enable-commondlg or --disable-commondlg was given.
10199 if test "${enable_commondlg+set}" = set; then
10200 enableval
="$enable_commondlg"
10202 if test "$enableval" = yes; then
10203 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10205 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10210 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10211 if test "x$LINE" != x
; then
10212 eval "DEFAULT_$LINE"
10217 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10221 eval "$ac_cv_use_commondlg"
10222 if test "$no_cache" != 1; then
10223 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10226 if test "$wxUSE_COMMONDLGS" = yes; then
10227 echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6
10230 echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6
10236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10239 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10240 if test "${enable_aboutdlg+set}" = set; then
10241 enableval
="$enable_aboutdlg"
10243 if test "$enableval" = yes; then
10244 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10246 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10251 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10252 if test "x$LINE" != x
; then
10253 eval "DEFAULT_$LINE"
10258 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10262 eval "$ac_cv_use_aboutdlg"
10263 if test "$no_cache" != 1; then
10264 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10267 if test "$wxUSE_ABOUTDLG" = yes; then
10268 echo "$as_me:$LINENO: result: yes" >&5
10269 echo "${ECHO_T}yes" >&6
10271 echo "$as_me:$LINENO: result: no" >&5
10272 echo "${ECHO_T}no" >&6
10277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10280 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10281 if test "${enable_choicedlg+set}" = set; then
10282 enableval
="$enable_choicedlg"
10284 if test "$enableval" = yes; then
10285 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10287 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10292 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10293 if test "x$LINE" != x
; then
10294 eval "DEFAULT_$LINE"
10299 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10303 eval "$ac_cv_use_choicedlg"
10304 if test "$no_cache" != 1; then
10305 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10308 if test "$wxUSE_CHOICEDLG" = yes; then
10309 echo "$as_me:$LINENO: result: yes" >&5
10310 echo "${ECHO_T}yes" >&6
10312 echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6
10318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10321 # Check whether --enable-coldlg or --disable-coldlg was given.
10322 if test "${enable_coldlg+set}" = set; then
10323 enableval
="$enable_coldlg"
10325 if test "$enableval" = yes; then
10326 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10328 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10333 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10334 if test "x$LINE" != x
; then
10335 eval "DEFAULT_$LINE"
10340 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10344 eval "$ac_cv_use_coldlg"
10345 if test "$no_cache" != 1; then
10346 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10349 if test "$wxUSE_COLOURDLG" = yes; then
10350 echo "$as_me:$LINENO: result: yes" >&5
10351 echo "${ECHO_T}yes" >&6
10353 echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6
10359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10362 # Check whether --enable-filedlg or --disable-filedlg was given.
10363 if test "${enable_filedlg+set}" = set; then
10364 enableval
="$enable_filedlg"
10366 if test "$enableval" = yes; then
10367 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10369 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10374 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10375 if test "x$LINE" != x
; then
10376 eval "DEFAULT_$LINE"
10381 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10385 eval "$ac_cv_use_filedlg"
10386 if test "$no_cache" != 1; then
10387 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10390 if test "$wxUSE_FILEDLG" = yes; then
10391 echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6
10394 echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6
10400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10403 # Check whether --enable-finddlg or --disable-finddlg was given.
10404 if test "${enable_finddlg+set}" = set; then
10405 enableval
="$enable_finddlg"
10407 if test "$enableval" = yes; then
10408 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10410 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10415 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10416 if test "x$LINE" != x
; then
10417 eval "DEFAULT_$LINE"
10422 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10426 eval "$ac_cv_use_finddlg"
10427 if test "$no_cache" != 1; then
10428 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10431 if test "$wxUSE_FINDREPLDLG" = yes; then
10432 echo "$as_me:$LINENO: result: yes" >&5
10433 echo "${ECHO_T}yes" >&6
10435 echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6
10441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10444 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10445 if test "${enable_fontdlg+set}" = set; then
10446 enableval
="$enable_fontdlg"
10448 if test "$enableval" = yes; then
10449 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10451 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10456 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10457 if test "x$LINE" != x
; then
10458 eval "DEFAULT_$LINE"
10463 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10467 eval "$ac_cv_use_fontdlg"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10472 if test "$wxUSE_FONTDLG" = yes; then
10473 echo "$as_me:$LINENO: result: yes" >&5
10474 echo "${ECHO_T}yes" >&6
10476 echo "$as_me:$LINENO: result: no" >&5
10477 echo "${ECHO_T}no" >&6
10482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10485 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10486 if test "${enable_dirdlg+set}" = set; then
10487 enableval
="$enable_dirdlg"
10489 if test "$enableval" = yes; then
10490 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10492 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10497 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10498 if test "x$LINE" != x
; then
10499 eval "DEFAULT_$LINE"
10504 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10508 eval "$ac_cv_use_dirdlg"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10513 if test "$wxUSE_DIRDLG" = yes; then
10514 echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6
10517 echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6
10523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10524 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10526 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10527 if test "${enable_msgdlg+set}" = set; then
10528 enableval
="$enable_msgdlg"
10530 if test "$enableval" = yes; then
10531 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10533 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10538 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10539 if test "x$LINE" != x
; then
10540 eval "DEFAULT_$LINE"
10545 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10549 eval "$ac_cv_use_msgdlg"
10550 if test "$no_cache" != 1; then
10551 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10554 if test "$wxUSE_MSGDLG" = yes; then
10555 echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6
10558 echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6
10564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10567 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10568 if test "${enable_numberdlg+set}" = set; then
10569 enableval
="$enable_numberdlg"
10571 if test "$enableval" = yes; then
10572 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10574 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10579 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10580 if test "x$LINE" != x
; then
10581 eval "DEFAULT_$LINE"
10586 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10590 eval "$ac_cv_use_numberdlg"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10595 if test "$wxUSE_NUMBERDLG" = yes; then
10596 echo "$as_me:$LINENO: result: yes" >&5
10597 echo "${ECHO_T}yes" >&6
10599 echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6
10605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10606 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10608 # Check whether --enable-splash or --disable-splash was given.
10609 if test "${enable_splash+set}" = set; then
10610 enableval
="$enable_splash"
10612 if test "$enableval" = yes; then
10613 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10615 ac_cv_use_splash
='wxUSE_SPLASH=no'
10620 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10621 if test "x$LINE" != x
; then
10622 eval "DEFAULT_$LINE"
10627 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10631 eval "$ac_cv_use_splash"
10632 if test "$no_cache" != 1; then
10633 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10636 if test "$wxUSE_SPLASH" = yes; then
10637 echo "$as_me:$LINENO: result: yes" >&5
10638 echo "${ECHO_T}yes" >&6
10640 echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6
10646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10649 # Check whether --enable-textdlg or --disable-textdlg was given.
10650 if test "${enable_textdlg+set}" = set; then
10651 enableval
="$enable_textdlg"
10653 if test "$enableval" = yes; then
10654 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10656 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10661 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10662 if test "x$LINE" != x
; then
10663 eval "DEFAULT_$LINE"
10668 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10672 eval "$ac_cv_use_textdlg"
10673 if test "$no_cache" != 1; then
10674 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10677 if test "$wxUSE_TEXTDLG" = yes; then
10678 echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6
10681 echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6
10687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10690 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10691 if test "${enable_tipdlg+set}" = set; then
10692 enableval
="$enable_tipdlg"
10694 if test "$enableval" = yes; then
10695 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10697 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10702 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10703 if test "x$LINE" != x
; then
10704 eval "DEFAULT_$LINE"
10709 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10713 eval "$ac_cv_use_tipdlg"
10714 if test "$no_cache" != 1; then
10715 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10718 if test "$wxUSE_STARTUP_TIPS" = yes; then
10719 echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6
10722 echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6
10728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10731 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10732 if test "${enable_progressdlg+set}" = set; then
10733 enableval
="$enable_progressdlg"
10735 if test "$enableval" = yes; then
10736 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10738 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10743 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10744 if test "x$LINE" != x
; then
10745 eval "DEFAULT_$LINE"
10750 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10754 eval "$ac_cv_use_progressdlg"
10755 if test "$no_cache" != 1; then
10756 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10759 if test "$wxUSE_PROGRESSDLG" = yes; then
10760 echo "$as_me:$LINENO: result: yes" >&5
10761 echo "${ECHO_T}yes" >&6
10763 echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6
10769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10772 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10773 if test "${enable_wizarddlg+set}" = set; then
10774 enableval
="$enable_wizarddlg"
10776 if test "$enableval" = yes; then
10777 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10779 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10784 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10785 if test "x$LINE" != x
; then
10786 eval "DEFAULT_$LINE"
10791 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10795 eval "$ac_cv_use_wizarddlg"
10796 if test "$no_cache" != 1; then
10797 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10800 if test "$wxUSE_WIZARDDLG" = yes; then
10801 echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6
10804 echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6
10812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10813 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10815 # Check whether --enable-menus or --disable-menus was given.
10816 if test "${enable_menus+set}" = set; then
10817 enableval
="$enable_menus"
10819 if test "$enableval" = yes; then
10820 ac_cv_use_menus
='wxUSE_MENUS=yes'
10822 ac_cv_use_menus
='wxUSE_MENUS=no'
10827 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10828 if test "x$LINE" != x
; then
10829 eval "DEFAULT_$LINE"
10834 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10838 eval "$ac_cv_use_menus"
10839 if test "$no_cache" != 1; then
10840 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10843 if test "$wxUSE_MENUS" = yes; then
10844 echo "$as_me:$LINENO: result: yes" >&5
10845 echo "${ECHO_T}yes" >&6
10847 echo "$as_me:$LINENO: result: no" >&5
10848 echo "${ECHO_T}no" >&6
10853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10856 # Check whether --enable-miniframe or --disable-miniframe was given.
10857 if test "${enable_miniframe+set}" = set; then
10858 enableval
="$enable_miniframe"
10860 if test "$enableval" = yes; then
10861 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10863 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10868 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10869 if test "x$LINE" != x
; then
10870 eval "DEFAULT_$LINE"
10875 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10879 eval "$ac_cv_use_miniframe"
10880 if test "$no_cache" != 1; then
10881 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10884 if test "$wxUSE_MINIFRAME" = yes; then
10885 echo "$as_me:$LINENO: result: yes" >&5
10886 echo "${ECHO_T}yes" >&6
10888 echo "$as_me:$LINENO: result: no" >&5
10889 echo "${ECHO_T}no" >&6
10894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10897 # Check whether --enable-tooltips or --disable-tooltips was given.
10898 if test "${enable_tooltips+set}" = set; then
10899 enableval
="$enable_tooltips"
10901 if test "$enableval" = yes; then
10902 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10904 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10909 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10910 if test "x$LINE" != x
; then
10911 eval "DEFAULT_$LINE"
10916 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10920 eval "$ac_cv_use_tooltips"
10921 if test "$no_cache" != 1; then
10922 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10925 if test "$wxUSE_TOOLTIPS" = yes; then
10926 echo "$as_me:$LINENO: result: yes" >&5
10927 echo "${ECHO_T}yes" >&6
10929 echo "$as_me:$LINENO: result: no" >&5
10930 echo "${ECHO_T}no" >&6
10935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10936 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10938 # Check whether --enable-splines or --disable-splines was given.
10939 if test "${enable_splines+set}" = set; then
10940 enableval
="$enable_splines"
10942 if test "$enableval" = yes; then
10943 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10945 ac_cv_use_splines
='wxUSE_SPLINES=no'
10950 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10951 if test "x$LINE" != x
; then
10952 eval "DEFAULT_$LINE"
10957 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10961 eval "$ac_cv_use_splines"
10962 if test "$no_cache" != 1; then
10963 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10966 if test "$wxUSE_SPLINES" = yes; then
10967 echo "$as_me:$LINENO: result: yes" >&5
10968 echo "${ECHO_T}yes" >&6
10970 echo "$as_me:$LINENO: result: no" >&5
10971 echo "${ECHO_T}no" >&6
10976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10977 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10979 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10980 if test "${enable_mousewheel+set}" = set; then
10981 enableval
="$enable_mousewheel"
10983 if test "$enableval" = yes; then
10984 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10986 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10991 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10992 if test "x$LINE" != x
; then
10993 eval "DEFAULT_$LINE"
10998 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11002 eval "$ac_cv_use_mousewheel"
11003 if test "$no_cache" != 1; then
11004 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11007 if test "$wxUSE_MOUSEWHEEL" = yes; then
11008 echo "$as_me:$LINENO: result: yes" >&5
11009 echo "${ECHO_T}yes" >&6
11011 echo "$as_me:$LINENO: result: no" >&5
11012 echo "${ECHO_T}no" >&6
11017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11020 # Check whether --enable-validators or --disable-validators was given.
11021 if test "${enable_validators+set}" = set; then
11022 enableval
="$enable_validators"
11024 if test "$enableval" = yes; then
11025 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
11027 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
11032 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11033 if test "x$LINE" != x
; then
11034 eval "DEFAULT_$LINE"
11039 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11043 eval "$ac_cv_use_validators"
11044 if test "$no_cache" != 1; then
11045 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11048 if test "$wxUSE_VALIDATORS" = yes; then
11049 echo "$as_me:$LINENO: result: yes" >&5
11050 echo "${ECHO_T}yes" >&6
11052 echo "$as_me:$LINENO: result: no" >&5
11053 echo "${ECHO_T}no" >&6
11058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11061 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11062 if test "${enable_busyinfo+set}" = set; then
11063 enableval
="$enable_busyinfo"
11065 if test "$enableval" = yes; then
11066 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11068 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11073 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11074 if test "x$LINE" != x
; then
11075 eval "DEFAULT_$LINE"
11080 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11084 eval "$ac_cv_use_busyinfo"
11085 if test "$no_cache" != 1; then
11086 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11089 if test "$wxUSE_BUSYINFO" = yes; then
11090 echo "$as_me:$LINENO: result: yes" >&5
11091 echo "${ECHO_T}yes" >&6
11093 echo "$as_me:$LINENO: result: no" >&5
11094 echo "${ECHO_T}no" >&6
11099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11100 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11102 # Check whether --enable-joystick or --disable-joystick was given.
11103 if test "${enable_joystick+set}" = set; then
11104 enableval
="$enable_joystick"
11106 if test "$enableval" = yes; then
11107 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11109 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11114 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11115 if test "x$LINE" != x
; then
11116 eval "DEFAULT_$LINE"
11121 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11125 eval "$ac_cv_use_joystick"
11126 if test "$no_cache" != 1; then
11127 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11130 if test "$wxUSE_JOYSTICK" = yes; then
11131 echo "$as_me:$LINENO: result: yes" >&5
11132 echo "${ECHO_T}yes" >&6
11134 echo "$as_me:$LINENO: result: no" >&5
11135 echo "${ECHO_T}no" >&6
11140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11141 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11143 # Check whether --enable-metafile or --disable-metafile was given.
11144 if test "${enable_metafile+set}" = set; then
11145 enableval
="$enable_metafile"
11147 if test "$enableval" = yes; then
11148 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11150 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11155 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11156 if test "x$LINE" != x
; then
11157 eval "DEFAULT_$LINE"
11162 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11166 eval "$ac_cv_use_metafile"
11167 if test "$no_cache" != 1; then
11168 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11171 if test "$wxUSE_METAFILE" = yes; then
11172 echo "$as_me:$LINENO: result: yes" >&5
11173 echo "${ECHO_T}yes" >&6
11175 echo "$as_me:$LINENO: result: no" >&5
11176 echo "${ECHO_T}no" >&6
11181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11182 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11184 # Check whether --enable-dragimage or --disable-dragimage was given.
11185 if test "${enable_dragimage+set}" = set; then
11186 enableval
="$enable_dragimage"
11188 if test "$enableval" = yes; then
11189 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11191 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11196 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11197 if test "x$LINE" != x
; then
11198 eval "DEFAULT_$LINE"
11203 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11207 eval "$ac_cv_use_dragimage"
11208 if test "$no_cache" != 1; then
11209 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11212 if test "$wxUSE_DRAGIMAGE" = yes; then
11213 echo "$as_me:$LINENO: result: yes" >&5
11214 echo "${ECHO_T}yes" >&6
11216 echo "$as_me:$LINENO: result: no" >&5
11217 echo "${ECHO_T}no" >&6
11222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11225 # Check whether --enable-accessibility or --disable-accessibility was given.
11226 if test "${enable_accessibility+set}" = set; then
11227 enableval
="$enable_accessibility"
11229 if test "$enableval" = yes; then
11230 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11232 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11237 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11238 if test "x$LINE" != x
; then
11239 eval "DEFAULT_$LINE"
11244 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11248 eval "$ac_cv_use_accessibility"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11253 if test "$wxUSE_ACCESSIBILITY" = yes; then
11254 echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11262 if test "$wxUSE_MSW" = "1"; then
11265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11266 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11268 # Check whether --enable-dccache or --disable-dccache was given.
11269 if test "${enable_dccache+set}" = set; then
11270 enableval
="$enable_dccache"
11272 if test "$enableval" = yes; then
11273 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11275 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11280 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11281 if test "x$LINE" != x
; then
11282 eval "DEFAULT_$LINE"
11287 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11291 eval "$ac_cv_use_dccache"
11292 if test "$no_cache" != 1; then
11293 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11296 if test "$wxUSE_DC_CACHEING" = yes; then
11297 echo "$as_me:$LINENO: result: yes" >&5
11298 echo "${ECHO_T}yes" >&6
11300 echo "$as_me:$LINENO: result: no" >&5
11301 echo "${ECHO_T}no" >&6
11309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11310 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11312 # Check whether --enable-palette or --disable-palette was given.
11313 if test "${enable_palette+set}" = set; then
11314 enableval
="$enable_palette"
11316 if test "$enableval" = yes; then
11317 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11319 ac_cv_use_palette
='wxUSE_PALETTE=no'
11324 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11325 if test "x$LINE" != x
; then
11326 eval "DEFAULT_$LINE"
11331 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11335 eval "$ac_cv_use_palette"
11336 if test "$no_cache" != 1; then
11337 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11340 if test "$wxUSE_PALETTE" = yes; then
11341 echo "$as_me:$LINENO: result: yes" >&5
11342 echo "${ECHO_T}yes" >&6
11344 echo "$as_me:$LINENO: result: no" >&5
11345 echo "${ECHO_T}no" >&6
11350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11351 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11353 # Check whether --enable-image or --disable-image was given.
11354 if test "${enable_image+set}" = set; then
11355 enableval
="$enable_image"
11357 if test "$enableval" = yes; then
11358 ac_cv_use_image
='wxUSE_IMAGE=yes'
11360 ac_cv_use_image
='wxUSE_IMAGE=no'
11365 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11366 if test "x$LINE" != x
; then
11367 eval "DEFAULT_$LINE"
11372 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11376 eval "$ac_cv_use_image"
11377 if test "$no_cache" != 1; then
11378 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11381 if test "$wxUSE_IMAGE" = yes; then
11382 echo "$as_me:$LINENO: result: yes" >&5
11383 echo "${ECHO_T}yes" >&6
11385 echo "$as_me:$LINENO: result: no" >&5
11386 echo "${ECHO_T}no" >&6
11391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11394 # Check whether --enable-gif or --disable-gif was given.
11395 if test "${enable_gif+set}" = set; then
11396 enableval
="$enable_gif"
11398 if test "$enableval" = yes; then
11399 ac_cv_use_gif
='wxUSE_GIF=yes'
11401 ac_cv_use_gif
='wxUSE_GIF=no'
11406 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11407 if test "x$LINE" != x
; then
11408 eval "DEFAULT_$LINE"
11413 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11417 eval "$ac_cv_use_gif"
11418 if test "$no_cache" != 1; then
11419 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11422 if test "$wxUSE_GIF" = yes; then
11423 echo "$as_me:$LINENO: result: yes" >&5
11424 echo "${ECHO_T}yes" >&6
11426 echo "$as_me:$LINENO: result: no" >&5
11427 echo "${ECHO_T}no" >&6
11432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11435 # Check whether --enable-pcx or --disable-pcx was given.
11436 if test "${enable_pcx+set}" = set; then
11437 enableval
="$enable_pcx"
11439 if test "$enableval" = yes; then
11440 ac_cv_use_pcx
='wxUSE_PCX=yes'
11442 ac_cv_use_pcx
='wxUSE_PCX=no'
11447 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11448 if test "x$LINE" != x
; then
11449 eval "DEFAULT_$LINE"
11454 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11458 eval "$ac_cv_use_pcx"
11459 if test "$no_cache" != 1; then
11460 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11463 if test "$wxUSE_PCX" = yes; then
11464 echo "$as_me:$LINENO: result: yes" >&5
11465 echo "${ECHO_T}yes" >&6
11467 echo "$as_me:$LINENO: result: no" >&5
11468 echo "${ECHO_T}no" >&6
11473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11474 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11476 # Check whether --enable-iff or --disable-iff was given.
11477 if test "${enable_iff+set}" = set; then
11478 enableval
="$enable_iff"
11480 if test "$enableval" = yes; then
11481 ac_cv_use_iff
='wxUSE_IFF=yes'
11483 ac_cv_use_iff
='wxUSE_IFF=no'
11488 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11489 if test "x$LINE" != x
; then
11490 eval "DEFAULT_$LINE"
11495 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11499 eval "$ac_cv_use_iff"
11500 if test "$no_cache" != 1; then
11501 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11504 if test "$wxUSE_IFF" = yes; then
11505 echo "$as_me:$LINENO: result: yes" >&5
11506 echo "${ECHO_T}yes" >&6
11508 echo "$as_me:$LINENO: result: no" >&5
11509 echo "${ECHO_T}no" >&6
11514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11515 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11517 # Check whether --enable-pnm or --disable-pnm was given.
11518 if test "${enable_pnm+set}" = set; then
11519 enableval
="$enable_pnm"
11521 if test "$enableval" = yes; then
11522 ac_cv_use_pnm
='wxUSE_PNM=yes'
11524 ac_cv_use_pnm
='wxUSE_PNM=no'
11529 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11530 if test "x$LINE" != x
; then
11531 eval "DEFAULT_$LINE"
11536 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11540 eval "$ac_cv_use_pnm"
11541 if test "$no_cache" != 1; then
11542 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11545 if test "$wxUSE_PNM" = yes; then
11546 echo "$as_me:$LINENO: result: yes" >&5
11547 echo "${ECHO_T}yes" >&6
11549 echo "$as_me:$LINENO: result: no" >&5
11550 echo "${ECHO_T}no" >&6
11555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11556 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11558 # Check whether --enable-xpm or --disable-xpm was given.
11559 if test "${enable_xpm+set}" = set; then
11560 enableval
="$enable_xpm"
11562 if test "$enableval" = yes; then
11563 ac_cv_use_xpm
='wxUSE_XPM=yes'
11565 ac_cv_use_xpm
='wxUSE_XPM=no'
11570 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11571 if test "x$LINE" != x
; then
11572 eval "DEFAULT_$LINE"
11577 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11581 eval "$ac_cv_use_xpm"
11582 if test "$no_cache" != 1; then
11583 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11586 if test "$wxUSE_XPM" = yes; then
11587 echo "$as_me:$LINENO: result: yes" >&5
11588 echo "${ECHO_T}yes" >&6
11590 echo "$as_me:$LINENO: result: no" >&5
11591 echo "${ECHO_T}no" >&6
11596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11597 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11599 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11600 if test "${enable_ico_cur+set}" = set; then
11601 enableval
="$enable_ico_cur"
11603 if test "$enableval" = yes; then
11604 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11606 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11611 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11612 if test "x$LINE" != x
; then
11613 eval "DEFAULT_$LINE"
11618 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11622 eval "$ac_cv_use_ico_cur"
11623 if test "$no_cache" != 1; then
11624 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11627 if test "$wxUSE_ICO_CUR" = yes; then
11628 echo "$as_me:$LINENO: result: yes" >&5
11629 echo "${ECHO_T}yes" >&6
11631 echo "$as_me:$LINENO: result: no" >&5
11632 echo "${ECHO_T}no" >&6
11640 # Check whether --with-flavour or --without-flavour was given.
11641 if test "${with_flavour+set}" = set; then
11642 withval
="$with_flavour"
11643 WX_FLAVOUR
="$withval"
11649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11652 # Check whether --enable-official_build or --disable-official_build was given.
11653 if test "${enable_official_build+set}" = set; then
11654 enableval
="$enable_official_build"
11656 if test "$enableval" = yes; then
11657 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11659 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11664 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11665 if test "x$LINE" != x
; then
11666 eval "DEFAULT_$LINE"
11671 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11675 eval "$ac_cv_use_official_build"
11676 if test "$no_cache" != 1; then
11677 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11680 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11681 echo "$as_me:$LINENO: result: yes" >&5
11682 echo "${ECHO_T}yes" >&6
11684 echo "$as_me:$LINENO: result: no" >&5
11685 echo "${ECHO_T}no" >&6
11688 # Check whether --enable-vendor or --disable-vendor was given.
11689 if test "${enable_vendor+set}" = set; then
11690 enableval
="$enable_vendor"
11691 VENDOR
="$enableval"
11693 if test "x$VENDOR" = "x"; then
11700 echo "saving argument cache $wx_arg_cache_file"
11701 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11705 echo "$as_me:$LINENO: checking for toolkit" >&5
11706 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11708 # In Wine, we need to default to MSW, not GTK or MOTIF
11709 if test "$wxUSE_WINE" = "yes"; then
11710 DEFAULT_DEFAULT_wxUSE_GTK
=0
11711 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11712 DEFAULT_DEFAULT_wxUSE_MSW
=1
11717 if test "$wxUSE_GUI" = "yes"; then
11719 if test "$USE_BEOS" = 1; then
11720 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11721 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11722 { (exit 1); exit 1; }; }
11725 if test "$TOOLKIT_GIVEN" = 1; then
11726 for toolkit
in `echo $ALL_TOOLKITS`; do
11728 eval "value=\$${var}"
11729 if test "x$value" = "xno"; then
11731 elif test "x$value" != "x"; then
11735 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11736 eval "wx${toolkit}_VERSION=$value"
11740 for toolkit
in `echo $ALL_TOOLKITS`; do
11741 if test "$has_toolkit_in_cache" != 1; then
11742 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11744 var
=DEFAULT_wxUSE_
$toolkit
11746 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11747 if test "x$version" != "x"; then
11748 eval "wx${toolkit}_VERSION=$version"
11751 eval "wxUSE_$toolkit=\$${var}"
11755 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11756 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11757 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11760 *-pc-os2_emx | *-pc-os2-emx )
11761 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11764 case "$NUM_TOOLKITS" in
11768 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11769 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11770 { (exit 1); exit 1; }; }
11773 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11774 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11775 { (exit 1); exit 1; }; }
11778 # to be removed when --disable-gtk2 isn't needed
11779 if test "x$wxUSE_GTK2" = "xyes"; then
11781 elif test "x$wxUSE_GTK2" = "xno"; then
11785 for toolkit
in `echo $ALL_TOOLKITS`; do
11787 eval "value=\$${var}"
11788 if test "x$value" != x
; then
11789 cache_var
=CACHE_
$toolkit
11790 eval "cache=\$${cache_var}"
11791 if test "$cache" = 1; then
11792 echo "$var=$value" >> ${wx_arg_cache_file}
11793 eval "version=\$wx${toolkit}_VERSION"
11794 if test "x$version" != "x"; then
11795 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11798 if test "$value" = 1; then
11799 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11800 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11801 echo "${ECHO_T}$toolkit_echo" >&6
11806 if test "x$host_alias" != "x"; then
11807 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11808 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11810 echo "$as_me:$LINENO: result: base only" >&5
11811 echo "${ECHO_T}base only" >&6
11816 doesnt_want_win32
=0
11819 if test "$wxUSE_MSW" = 1 ; then
11821 BAKEFILE_FORCE_PLATFORM
=win32
11823 doesnt_want_win32
=1
11831 if test "$wxUSE_WINE" = "yes"; then
11835 LDFLAGS_GUI
="-mwindows"
11838 if test "$wants_win32" = 1 ; then
11841 cat >>confdefs.h
<<\_ACEOF
11842 #define __WIN32__ 1
11845 cat >>confdefs.h
<<\_ACEOF
11846 #define __WIN95__ 1
11849 cat >>confdefs.h
<<\_ACEOF
11850 #define __WINDOWS__ 1
11853 cat >>confdefs.h
<<\_ACEOF
11854 #define __GNUWIN32__ 1
11857 cat >>confdefs.h
<<\_ACEOF
11861 cat >>confdefs.h
<<\_ACEOF
11862 #define WINVER 0x0400
11866 if test "$doesnt_want_win32" = 1 ; then
11871 if test "$USE_UNIX" = 1 ; then
11873 cat >>confdefs.h
<<\_ACEOF
11880 cat >confcache
<<\_ACEOF
11881 # This file is a shell script that caches the results of configure
11882 # tests run on this system so they can be shared between configure
11883 # scripts and configure runs, see configure's option --config-cache.
11884 # It is not useful on other systems. If it contains results you don't
11885 # want to keep, you may remove or edit it.
11887 # config.status only pays attention to the cache file if you give it
11888 # the --recheck option to rerun configure.
11890 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11891 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11892 # following values.
11896 # The following way of writing the cache mishandles newlines in values,
11897 # but we know of no workaround that is simple, portable, and efficient.
11898 # So, don't put newlines in cache variables' values.
11899 # Ultrix sh set writes to stderr and can't be redirected directly,
11900 # and sets the high bit in the cache file unless we assign to the vars.
11903 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11905 # `set' does not quote correctly, so add quotes (double-quote
11906 # substitution turns \\\\ into \\, and sed turns \\ into \).
11909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11912 # `set' quotes correctly as required by POSIX, so do not add quotes.
11914 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11923 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11925 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11926 if test -w $cache_file; then
11927 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11928 cat confcache
>$cache_file
11930 echo "not updating unwritable cache $cache_file"
11940 ac_cpp
='$CPP $CPPFLAGS'
11941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11944 if test -n "$ac_tool_prefix"; then
11945 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11946 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11947 echo "$as_me:$LINENO: checking for $ac_word" >&5
11948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11949 if test "${ac_cv_prog_CC+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 if test -n "$CC"; then
11953 ac_cv_prog_CC
="$CC" # Let the user override the test.
11955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11956 for as_dir
in $PATH
11959 test -z "$as_dir" && as_dir
=.
11960 for ac_exec_ext
in '' $ac_executable_extensions; do
11961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11962 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11972 if test -n "$CC"; then
11973 echo "$as_me:$LINENO: result: $CC" >&5
11974 echo "${ECHO_T}$CC" >&6
11976 echo "$as_me:$LINENO: result: no" >&5
11977 echo "${ECHO_T}no" >&6
11981 if test -z "$ac_cv_prog_CC"; then
11983 # Extract the first word of "gcc", so it can be a program name with args.
11984 set dummy gcc
; ac_word
=$2
11985 echo "$as_me:$LINENO: checking for $ac_word" >&5
11986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11987 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 if test -n "$ac_ct_CC"; then
11991 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11994 for as_dir
in $PATH
11997 test -z "$as_dir" && as_dir
=.
11998 for ac_exec_ext
in '' $ac_executable_extensions; do
11999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_prog_ac_ct_CC
="gcc"
12001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12010 if test -n "$ac_ct_CC"; then
12011 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12012 echo "${ECHO_T}$ac_ct_CC" >&6
12014 echo "$as_me:$LINENO: result: no" >&5
12015 echo "${ECHO_T}no" >&6
12020 CC
="$ac_cv_prog_CC"
12023 if test -z "$CC"; then
12024 if test -n "$ac_tool_prefix"; then
12025 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12026 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12027 echo "$as_me:$LINENO: checking for $ac_word" >&5
12028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12029 if test "${ac_cv_prog_CC+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 if test -n "$CC"; then
12033 ac_cv_prog_CC
="$CC" # Let the user override the test.
12035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12036 for as_dir
in $PATH
12039 test -z "$as_dir" && as_dir
=.
12040 for ac_exec_ext
in '' $ac_executable_extensions; do
12041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12042 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12052 if test -n "$CC"; then
12053 echo "$as_me:$LINENO: result: $CC" >&5
12054 echo "${ECHO_T}$CC" >&6
12056 echo "$as_me:$LINENO: result: no" >&5
12057 echo "${ECHO_T}no" >&6
12061 if test -z "$ac_cv_prog_CC"; then
12063 # Extract the first word of "cc", so it can be a program name with args.
12064 set dummy cc
; ac_word
=$2
12065 echo "$as_me:$LINENO: checking for $ac_word" >&5
12066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12067 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 if test -n "$ac_ct_CC"; then
12071 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12074 for as_dir
in $PATH
12077 test -z "$as_dir" && as_dir
=.
12078 for ac_exec_ext
in '' $ac_executable_extensions; do
12079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12080 ac_cv_prog_ac_ct_CC
="cc"
12081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12089 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12090 if test -n "$ac_ct_CC"; then
12091 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12092 echo "${ECHO_T}$ac_ct_CC" >&6
12094 echo "$as_me:$LINENO: result: no" >&5
12095 echo "${ECHO_T}no" >&6
12100 CC
="$ac_cv_prog_CC"
12104 if test -z "$CC"; then
12105 # Extract the first word of "cc", so it can be a program name with args.
12106 set dummy cc
; ac_word
=$2
12107 echo "$as_me:$LINENO: checking for $ac_word" >&5
12108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12109 if test "${ac_cv_prog_CC+set}" = set; then
12110 echo $ECHO_N "(cached) $ECHO_C" >&6
12112 if test -n "$CC"; then
12113 ac_cv_prog_CC
="$CC" # Let the user override the test.
12115 ac_prog_rejected
=no
12116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12117 for as_dir
in $PATH
12120 test -z "$as_dir" && as_dir
=.
12121 for ac_exec_ext
in '' $ac_executable_extensions; do
12122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12123 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12124 ac_prog_rejected
=yes
12128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12134 if test $ac_prog_rejected = yes; then
12135 # We found a bogon in the path, so make sure we never use it.
12136 set dummy
$ac_cv_prog_CC
12138 if test $# != 0; then
12139 # We chose a different compiler from the bogus one.
12140 # However, it has the same basename, so the bogon will be chosen
12141 # first if we set CC to just the basename; use the full file name.
12143 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12149 if test -n "$CC"; then
12150 echo "$as_me:$LINENO: result: $CC" >&5
12151 echo "${ECHO_T}$CC" >&6
12153 echo "$as_me:$LINENO: result: no" >&5
12154 echo "${ECHO_T}no" >&6
12158 if test -z "$CC"; then
12159 if test -n "$ac_tool_prefix"; then
12162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12163 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12164 echo "$as_me:$LINENO: checking for $ac_word" >&5
12165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12166 if test "${ac_cv_prog_CC+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 if test -n "$CC"; then
12170 ac_cv_prog_CC
="$CC" # Let the user override the test.
12172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12173 for as_dir
in $PATH
12176 test -z "$as_dir" && as_dir
=.
12177 for ac_exec_ext
in '' $ac_executable_extensions; do
12178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12179 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12189 if test -n "$CC"; then
12190 echo "$as_me:$LINENO: result: $CC" >&5
12191 echo "${ECHO_T}$CC" >&6
12193 echo "$as_me:$LINENO: result: no" >&5
12194 echo "${ECHO_T}no" >&6
12197 test -n "$CC" && break
12200 if test -z "$CC"; then
12204 # Extract the first word of "$ac_prog", so it can be a program name with args.
12205 set dummy
$ac_prog; ac_word
=$2
12206 echo "$as_me:$LINENO: checking for $ac_word" >&5
12207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12208 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 if test -n "$ac_ct_CC"; then
12212 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12215 for as_dir
in $PATH
12218 test -z "$as_dir" && as_dir
=.
12219 for ac_exec_ext
in '' $ac_executable_extensions; do
12220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12221 ac_cv_prog_ac_ct_CC
="$ac_prog"
12222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12231 if test -n "$ac_ct_CC"; then
12232 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12233 echo "${ECHO_T}$ac_ct_CC" >&6
12235 echo "$as_me:$LINENO: result: no" >&5
12236 echo "${ECHO_T}no" >&6
12239 test -n "$ac_ct_CC" && break
12248 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12249 See \`config.log' for more details." >&5
12250 echo "$as_me: error: no acceptable C compiler found in \$PATH
12251 See \`config.log' for more details." >&2;}
12252 { (exit 1); exit 1; }; }
12254 # Provide some information about the compiler.
12255 echo "$as_me:$LINENO:" \
12256 "checking for C compiler version" >&5
12257 ac_compiler
=`set X $ac_compile; echo $2`
12258 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12259 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }
12263 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12264 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }
12268 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12269 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }
12274 cat >conftest.
$ac_ext <<_ACEOF
12277 cat confdefs.h
>>conftest.
$ac_ext
12278 cat >>conftest.
$ac_ext <<_ACEOF
12279 /* end confdefs.h. */
12289 ac_clean_files_save
=$ac_clean_files
12290 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12291 # Try to create an executable without -o first, disregard a.out.
12292 # It will help us diagnose broken compilers, and finding out an intuition
12294 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12295 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12296 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12297 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12298 (eval $ac_link_default) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; then
12302 # Find the output, starting from the most likely. This scheme is
12303 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12306 # Be careful to initialize this variable, since it used to be cached.
12307 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12309 # b.out is created by i960 compilers.
12310 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12312 test -f "$ac_file" || continue
12314 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12317 # This is the source file.
12320 # We found the default executable, but exeext='' is most
12324 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12325 # FIXME: I believe we export ac_cv_exeext for Libtool,
12326 # but it would be cool to find out if it's true. Does anybody
12327 # maintain Libtool? --akim.
12328 export ac_cv_exeext
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.
$ac_ext >&5
12338 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12339 See \`config.log' for more details." >&5
12340 echo "$as_me: error: C compiler cannot create executables
12341 See \`config.log' for more details." >&2;}
12342 { (exit 77); exit 77; }; }
12345 ac_exeext
=$ac_cv_exeext
12346 echo "$as_me:$LINENO: result: $ac_file" >&5
12347 echo "${ECHO_T}$ac_file" >&6
12349 # Check the compiler produces executables we can run. If not, either
12350 # the compiler is broken, or we cross compile.
12351 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12352 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12353 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12354 # If not cross compiling, check that we can run a simple program.
12355 if test "$cross_compiling" != yes; then
12356 if { ac_try
='./$ac_file'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12364 if test "$cross_compiling" = maybe
; then
12365 cross_compiling
=yes
12367 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12368 If you meant to cross compile, use \`--host'.
12369 See \`config.log' for more details." >&5
12370 echo "$as_me: error: cannot run C compiled programs.
12371 If you meant to cross compile, use \`--host'.
12372 See \`config.log' for more details." >&2;}
12373 { (exit 1); exit 1; }; }
12377 echo "$as_me:$LINENO: result: yes" >&5
12378 echo "${ECHO_T}yes" >&6
12380 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12381 ac_clean_files
=$ac_clean_files_save
12382 # Check the compiler produces executables we can run. If not, either
12383 # the compiler is broken, or we cross compile.
12384 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12385 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12386 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12387 echo "${ECHO_T}$cross_compiling" >&6
12389 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12390 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12392 (eval $ac_link) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; then
12396 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12397 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12398 # work properly (i.e., refer to `conftest.exe'), while it won't with
12400 for ac_file
in conftest.exe conftest conftest.
*; do
12401 test -f "$ac_file" || continue
12403 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12404 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12405 export ac_cv_exeext
12411 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12412 See \`config.log' for more details." >&5
12413 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12414 See \`config.log' for more details." >&2;}
12415 { (exit 1); exit 1; }; }
12418 rm -f conftest
$ac_cv_exeext
12419 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12420 echo "${ECHO_T}$ac_cv_exeext" >&6
12422 rm -f conftest.
$ac_ext
12423 EXEEXT
=$ac_cv_exeext
12425 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12426 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12427 if test "${ac_cv_objext+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 cat >conftest.
$ac_ext <<_ACEOF
12433 cat confdefs.h
>>conftest.
$ac_ext
12434 cat >>conftest.
$ac_ext <<_ACEOF
12435 /* end confdefs.h. */
12445 rm -f conftest.o conftest.obj
12446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12447 (eval $ac_compile) 2>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; then
12451 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12453 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12454 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.
$ac_ext >&5
12462 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12463 See \`config.log' for more details." >&5
12464 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12465 See \`config.log' for more details." >&2;}
12466 { (exit 1); exit 1; }; }
12469 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12471 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12472 echo "${ECHO_T}$ac_cv_objext" >&6
12473 OBJEXT
=$ac_cv_objext
12475 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12476 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12477 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 cat >conftest.
$ac_ext <<_ACEOF
12483 cat confdefs.h
>>conftest.
$ac_ext
12484 cat >>conftest.
$ac_ext <<_ACEOF
12485 /* end confdefs.h. */
12498 rm -f conftest.
$ac_objext
12499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12500 (eval $ac_compile) 2>conftest.er1
12502 grep -v '^ *+' conftest.er1
>conftest.err
12504 cat conftest.err
>&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } &&
12507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12513 { ac_try
='test -s conftest.$ac_objext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 ac_compiler_gnu
=yes
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.
$ac_ext >&5
12526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12527 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12530 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12531 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12532 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12533 ac_test_CFLAGS
=${CFLAGS+set}
12534 ac_save_CFLAGS
=$CFLAGS
12536 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12537 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12538 if test "${ac_cv_prog_cc_g+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 cat >conftest.
$ac_ext <<_ACEOF
12544 cat confdefs.h
>>conftest.
$ac_ext
12545 cat >>conftest.
$ac_ext <<_ACEOF
12546 /* end confdefs.h. */
12556 rm -f conftest.
$ac_objext
12557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12558 (eval $ac_compile) 2>conftest.er1
12560 grep -v '^ *+' conftest.er1
>conftest.err
12562 cat conftest.err
>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } &&
12565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; } &&
12571 { ac_try
='test -s conftest.$ac_objext'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; }; then
12577 ac_cv_prog_cc_g
=yes
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.
$ac_ext >&5
12584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12586 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12587 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12588 if test "$ac_test_CFLAGS" = set; then
12589 CFLAGS
=$ac_save_CFLAGS
12590 elif test $ac_cv_prog_cc_g = yes; then
12591 if test "$GCC" = yes; then
12597 if test "$GCC" = yes; then
12603 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12604 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12605 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12606 echo $ECHO_N "(cached) $ECHO_C" >&6
12608 ac_cv_prog_cc_stdc
=no
12610 cat >conftest.
$ac_ext <<_ACEOF
12613 cat confdefs.h
>>conftest.
$ac_ext
12614 cat >>conftest.
$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12616 #include <stdarg.h>
12618 #include <sys/types.h>
12619 #include <sys/stat.h>
12620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12621 struct buf { int x; };
12622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12623 static char *e (p, i)
12629 static char *f (char * (*g) (char **, int), char **p, ...)
12634 s = g (p, va_arg (v,int));
12639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12640 function prototypes and stuff, but not '\xHH' hex character constants.
12641 These don't provoke an error unfortunately, instead are silently treated
12642 as 'x'. The following induces an error, until -std1 is added to get
12643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12644 array size at least. It's necessary to write '\x00'==0 to get something
12645 that's true only with -std1. */
12646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12648 int test (int i, double x);
12649 struct s1 {int (*f) (int a);};
12650 struct s2 {int (*f) (double a);};
12651 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12657 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12662 # Don't try gcc -ansi; that turns off useful extensions and
12663 # breaks some systems' header files.
12664 # AIX -qlanglvl=ansi
12665 # Ultrix and OSF/1 -std1
12666 # HP-UX 10.20 and later -Ae
12667 # HP-UX older versions -Aa -D_HPUX_SOURCE
12668 # SVR4 -Xc -D__EXTENSIONS__
12669 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12671 CC
="$ac_save_CC $ac_arg"
12672 rm -f conftest.
$ac_objext
12673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12674 (eval $ac_compile) 2>conftest.er1
12676 grep -v '^ *+' conftest.er1
>conftest.err
12678 cat conftest.err
>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); } &&
12681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; } &&
12687 { ac_try
='test -s conftest.$ac_objext'
12688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12689 (eval $ac_try) 2>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); }; }; then
12693 ac_cv_prog_cc_stdc
=$ac_arg
12696 echo "$as_me: failed program was:" >&5
12697 sed 's/^/| /' conftest.
$ac_ext >&5
12700 rm -f conftest.err conftest.
$ac_objext
12702 rm -f conftest.
$ac_ext conftest.
$ac_objext
12707 case "x$ac_cv_prog_cc_stdc" in
12709 echo "$as_me:$LINENO: result: none needed" >&5
12710 echo "${ECHO_T}none needed" >&6 ;;
12712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12713 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12714 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12717 # Some people use a C++ compiler to compile C. Since we use `exit',
12718 # in C++ we need to declare it. In case someone uses the same compiler
12719 # for both compiling C and C++ we need to have the C++ compiler decide
12720 # the declaration of exit, since it's the most demanding environment.
12721 cat >conftest.
$ac_ext <<_ACEOF
12722 #ifndef __cplusplus
12726 rm -f conftest.
$ac_objext
12727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12728 (eval $ac_compile) 2>conftest.er1
12730 grep -v '^ *+' conftest.er1
>conftest.err
12732 cat conftest.err
>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } &&
12735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; } &&
12741 { ac_try
='test -s conftest.$ac_objext'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; }; then
12747 for ac_declaration
in \
12749 'extern "C" void std::exit (int) throw (); using std::exit;' \
12750 'extern "C" void std::exit (int); using std::exit;' \
12751 'extern "C" void exit (int) throw ();' \
12752 'extern "C" void exit (int);' \
12755 cat >conftest.
$ac_ext <<_ACEOF
12758 cat confdefs.h
>>conftest.
$ac_ext
12759 cat >>conftest.
$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12762 #include <stdlib.h>
12771 rm -f conftest.
$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try
='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12800 cat >conftest.
$ac_ext <<_ACEOF
12803 cat confdefs.h
>>conftest.
$ac_ext
12804 cat >>conftest.
$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12815 rm -f conftest.
$ac_objext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12817 (eval $ac_compile) 2>conftest.er1
12819 grep -v '^ *+' conftest.er1
>conftest.err
12821 cat conftest.err
>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } &&
12824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try
='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.
$ac_ext >&5
12842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12845 if test -n "$ac_declaration"; then
12846 echo '#ifdef __cplusplus' >>confdefs.h
12847 echo $ac_declaration >>confdefs.h
12848 echo '#endif' >>confdefs.h
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12858 ac_cpp
='$CPP $CPPFLAGS'
12859 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12860 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12861 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12866 ac_cpp
='$CPP $CPPFLAGS'
12867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12871 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12872 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12873 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 cat >conftest.
$ac_ext <<_ACEOF
12879 cat confdefs.h
>>conftest.
$ac_ext
12880 cat >>conftest.
$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12887 #ifndef __INTEL_COMPILER
12895 rm -f conftest.
$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>conftest.er1
12899 grep -v '^ *+' conftest.er1
>conftest.err
12901 cat conftest.err
>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try
='test -s conftest.$ac_objext'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; }; then
12916 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.
$ac_ext >&5
12921 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12928 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12929 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12931 ac_cpp
='$CPP $CPPFLAGS'
12932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12936 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12943 if test "x$GCC" != "xyes"; then
12944 if test "xCC" = "xC"; then
12945 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12946 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_exto+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 cat >conftest.
$ac_ext <<_ACEOF
12953 cat confdefs.h
>>conftest.
$ac_ext
12954 cat >>conftest.
$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12965 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12967 (eval $ac_compile) 2>&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); }; then
12971 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12973 conftest.
$ac_ext.o
)
12974 bakefile_cv_c_exto
="-ext o"
12981 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12982 See \`config.log' for more details." >&5
12983 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12984 See \`config.log' for more details." >&2;}
12985 { (exit 1); exit 1; }; }
12989 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12992 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12993 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12994 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12995 if test "c" = "c"; then
12996 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12998 if test "c" = "cxx"; then
12999 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13003 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13004 unset ac_cv_prog_cc_g
13005 ac_test_CFLAGS
=${CFLAGS+set}
13006 ac_save_CFLAGS
=$CFLAGS
13008 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13009 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13010 if test "${ac_cv_prog_cc_g+set}" = set; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 cat >conftest.
$ac_ext <<_ACEOF
13016 cat confdefs.h
>>conftest.
$ac_ext
13017 cat >>conftest.
$ac_ext <<_ACEOF
13018 /* end confdefs.h. */
13028 rm -f conftest.
$ac_objext
13029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13030 (eval $ac_compile) 2>conftest.er1
13032 grep -v '^ *+' conftest.er1
>conftest.err
13034 cat conftest.err
>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); } &&
13037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13043 { ac_try
='test -s conftest.$ac_objext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 ac_cv_prog_cc_g
=yes
13051 echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.
$ac_ext >&5
13056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13058 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13059 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13060 if test "$ac_test_CFLAGS" = set; then
13061 CFLAGS
=$ac_save_CFLAGS
13062 elif test $ac_cv_prog_cc_g = yes; then
13063 if test "$GCC" = yes; then
13069 if test "$GCC" = yes; then
13081 ac_cpp
='$CPP $CPPFLAGS'
13082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13086 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13087 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13088 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 cat >conftest.
$ac_ext <<_ACEOF
13094 cat confdefs.h
>>conftest.
$ac_ext
13095 cat >>conftest.
$ac_ext <<_ACEOF
13096 /* end confdefs.h. */
13109 rm -f conftest.
$ac_objext
13110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13111 (eval $ac_compile) 2>conftest.er1
13113 grep -v '^ *+' conftest.er1
>conftest.err
13115 cat conftest.err
>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); } &&
13118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; } &&
13124 { ac_try
='test -s conftest.$ac_objext'
13125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 (eval $ac_try) 2>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; }; then
13130 bakefile_compiler_xlc
=yes
13132 echo "$as_me: failed program was:" >&5
13133 sed 's/^/| /' conftest.
$ac_ext >&5
13135 bakefile_compiler_xlc
=no
13137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13138 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13141 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13142 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13144 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13146 ac_cpp
='$CPP $CPPFLAGS'
13147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13156 ac_cpp
='$CPP $CPPFLAGS'
13157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13161 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13162 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13163 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 cat >conftest.
$ac_ext <<_ACEOF
13169 cat confdefs.h
>>conftest.
$ac_ext
13170 cat >>conftest.
$ac_ext <<_ACEOF
13171 /* end confdefs.h. */
13184 rm -f conftest.
$ac_objext
13185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13186 (eval $ac_compile) 2>conftest.er1
13188 grep -v '^ *+' conftest.er1
>conftest.err
13190 cat conftest.err
>&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } &&
13193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; } &&
13199 { ac_try
='test -s conftest.$ac_objext'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; }; then
13205 bakefile_compiler_mwerks
=yes
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.
$ac_ext >&5
13210 bakefile_compiler_mwerks
=no
13212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13213 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13216 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13217 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13219 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13221 ac_cpp
='$CPP $CPPFLAGS'
13222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13228 ac_cpp
='$CPP $CPPFLAGS'
13229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13233 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13234 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13235 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 cat >conftest.
$ac_ext <<_ACEOF
13241 cat confdefs.h
>>conftest.
$ac_ext
13242 cat >>conftest.
$ac_ext <<_ACEOF
13243 /* end confdefs.h. */
13256 rm -f conftest.
$ac_objext
13257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13258 (eval $ac_compile) 2>conftest.er1
13260 grep -v '^ *+' conftest.er1
>conftest.err
13262 cat conftest.err
>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); } &&
13265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267 (eval $ac_try) 2>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; } &&
13271 { ac_try
='test -s conftest.$ac_objext'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; }; then
13277 bakefile_compiler_xlc
=yes
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.
$ac_ext >&5
13282 bakefile_compiler_xlc
=no
13284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13285 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13288 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13289 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13291 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13293 ac_cpp
='$CPP $CPPFLAGS'
13294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13305 ac_cpp
='$CPP $CPPFLAGS'
13306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13310 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13311 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13312 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13313 echo $ECHO_N "(cached) $ECHO_C" >&6
13315 cat >conftest.
$ac_ext <<_ACEOF
13318 cat confdefs.h
>>conftest.
$ac_ext
13319 cat >>conftest.
$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13326 #ifndef _SGI_COMPILER_VERSION
13334 rm -f conftest.
$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>conftest.er1
13338 grep -v '^ *+' conftest.er1
>conftest.err
13340 cat conftest.err
>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; } &&
13349 { ac_try
='test -s conftest.$ac_objext'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; }; then
13355 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.
$ac_ext >&5
13360 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13367 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13368 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13370 ac_cpp
='$CPP $CPPFLAGS'
13371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13375 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13388 ac_cpp
='$CPP $CPPFLAGS'
13389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13393 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13394 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13395 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13396 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 cat >conftest.
$ac_ext <<_ACEOF
13401 cat confdefs.h
>>conftest.
$ac_ext
13402 cat >>conftest.
$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13417 rm -f conftest.
$ac_objext
13418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13419 (eval $ac_compile) 2>conftest.er1
13421 grep -v '^ *+' conftest.er1
>conftest.err
13423 cat conftest.err
>&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); } &&
13426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; } &&
13432 { ac_try
='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 bakefile_cv_c_compiler___HP_cc
=yes
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.
$ac_ext >&5
13443 bakefile_cv_c_compiler___HP_cc
=no
13446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13450 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13451 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13453 ac_cpp
='$CPP $CPPFLAGS'
13454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13458 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13471 ac_cpp
='$CPP $CPPFLAGS'
13472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13476 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13477 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13478 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 cat >conftest.
$ac_ext <<_ACEOF
13484 cat confdefs.h
>>conftest.
$ac_ext
13485 cat >>conftest.
$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13500 rm -f conftest.
$ac_objext
13501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13502 (eval $ac_compile) 2>conftest.er1
13504 grep -v '^ *+' conftest.er1
>conftest.err
13506 cat conftest.err
>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } &&
13509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13511 (eval $ac_try) 2>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; } &&
13515 { ac_try
='test -s conftest.$ac_objext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 bakefile_cv_c_compiler___DECC
=yes
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.
$ac_ext >&5
13526 bakefile_cv_c_compiler___DECC
=no
13529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13533 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13534 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13536 ac_cpp
='$CPP $CPPFLAGS'
13537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13541 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13554 ac_cpp
='$CPP $CPPFLAGS'
13555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13559 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13560 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13561 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 cat >conftest.
$ac_ext <<_ACEOF
13567 cat confdefs.h
>>conftest.
$ac_ext
13568 cat >>conftest.
$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13583 rm -f conftest.
$ac_objext
13584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13585 (eval $ac_compile) 2>conftest.er1
13587 grep -v '^ *+' conftest.er1
>conftest.err
13589 cat conftest.err
>&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } &&
13592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13594 (eval $ac_try) 2>&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); }; } &&
13598 { ac_try
='test -s conftest.$ac_objext'
13599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600 (eval $ac_try) 2>&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); }; }; then
13604 bakefile_cv_c_compiler___SUNPRO_C
=yes
13606 echo "$as_me: failed program was:" >&5
13607 sed 's/^/| /' conftest.
$ac_ext >&5
13609 bakefile_cv_c_compiler___SUNPRO_C
=no
13612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13616 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13617 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13619 ac_cpp
='$CPP $CPPFLAGS'
13620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13624 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13638 ac_cpp
='$CPP $CPPFLAGS'
13639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13642 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13643 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13644 # On Suns, sometimes $CPP names a directory.
13645 if test -n "$CPP" && test -d "$CPP"; then
13648 if test -z "$CPP"; then
13649 if test "${ac_cv_prog_CPP+set}" = set; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 # Double quotes because CPP needs to be expanded
13653 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13655 ac_preproc_ok
=false
13656 for ac_c_preproc_warn_flag
in '' yes
13658 # Use a header file that comes with gcc, so configuring glibc
13659 # with a fresh cross-compiler works.
13660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13661 # <limits.h> exists even on freestanding compilers.
13662 # On the NeXT, cc -E runs the code through the compiler's parser,
13663 # not just through cpp. "Syntax error" is here to catch this case.
13664 cat >conftest.
$ac_ext <<_ACEOF
13667 cat confdefs.h
>>conftest.
$ac_ext
13668 cat >>conftest.
$ac_ext <<_ACEOF
13669 /* end confdefs.h. */
13671 # include <limits.h>
13673 # include <assert.h>
13677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13678 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13680 grep -v '^ *+' conftest.er1
>conftest.err
13682 cat conftest.err
>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } >/dev
/null
; then
13685 if test -s conftest.err
; then
13686 ac_cpp_err
=$ac_c_preproc_warn_flag
13687 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13694 if test -z "$ac_cpp_err"; then
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.
$ac_ext >&5
13700 # Broken: fails on valid input.
13703 rm -f conftest.err conftest.
$ac_ext
13705 # OK, works on sane cases. Now check whether non-existent headers
13706 # can be detected and how.
13707 cat >conftest.
$ac_ext <<_ACEOF
13710 cat confdefs.h
>>conftest.
$ac_ext
13711 cat >>conftest.
$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <ac_nonexistent.h>
13715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13718 grep -v '^ *+' conftest.er1
>conftest.err
13720 cat conftest.err
>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } >/dev
/null
; then
13723 if test -s conftest.err
; then
13724 ac_cpp_err
=$ac_c_preproc_warn_flag
13725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13732 if test -z "$ac_cpp_err"; then
13733 # Broken: success on invalid input.
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.
$ac_ext >&5
13739 # Passes both tests.
13743 rm -f conftest.err conftest.
$ac_ext
13746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13747 rm -f conftest.err conftest.
$ac_ext
13748 if $ac_preproc_ok; then
13753 ac_cv_prog_CPP
=$CPP
13756 CPP
=$ac_cv_prog_CPP
13758 ac_cv_prog_CPP
=$CPP
13760 echo "$as_me:$LINENO: result: $CPP" >&5
13761 echo "${ECHO_T}$CPP" >&6
13762 ac_preproc_ok
=false
13763 for ac_c_preproc_warn_flag
in '' yes
13765 # Use a header file that comes with gcc, so configuring glibc
13766 # with a fresh cross-compiler works.
13767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13768 # <limits.h> exists even on freestanding compilers.
13769 # On the NeXT, cc -E runs the code through the compiler's parser,
13770 # not just through cpp. "Syntax error" is here to catch this case.
13771 cat >conftest.
$ac_ext <<_ACEOF
13774 cat confdefs.h
>>conftest.
$ac_ext
13775 cat >>conftest.
$ac_ext <<_ACEOF
13776 /* end confdefs.h. */
13778 # include <limits.h>
13780 # include <assert.h>
13784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13787 grep -v '^ *+' conftest.er1
>conftest.err
13789 cat conftest.err
>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } >/dev
/null
; then
13792 if test -s conftest.err
; then
13793 ac_cpp_err
=$ac_c_preproc_warn_flag
13794 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13801 if test -z "$ac_cpp_err"; then
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.
$ac_ext >&5
13807 # Broken: fails on valid input.
13810 rm -f conftest.err conftest.
$ac_ext
13812 # OK, works on sane cases. Now check whether non-existent headers
13813 # can be detected and how.
13814 cat >conftest.
$ac_ext <<_ACEOF
13817 cat confdefs.h
>>conftest.
$ac_ext
13818 cat >>conftest.
$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13820 #include <ac_nonexistent.h>
13822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13825 grep -v '^ *+' conftest.er1
>conftest.err
13827 cat conftest.err
>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } >/dev
/null
; then
13830 if test -s conftest.err
; then
13831 ac_cpp_err
=$ac_c_preproc_warn_flag
13832 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13839 if test -z "$ac_cpp_err"; then
13840 # Broken: success on invalid input.
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.
$ac_ext >&5
13846 # Passes both tests.
13850 rm -f conftest.err conftest.
$ac_ext
13853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13854 rm -f conftest.err conftest.
$ac_ext
13855 if $ac_preproc_ok; then
13858 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13859 See \`config.log' for more details." >&5
13860 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13861 See \`config.log' for more details." >&2;}
13862 { (exit 1); exit 1; }; }
13866 ac_cpp
='$CPP $CPPFLAGS'
13867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13872 echo "$as_me:$LINENO: checking for egrep" >&5
13873 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13874 if test "${ac_cv_prog_egrep+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13878 then ac_cv_prog_egrep
='grep -E'
13879 else ac_cv_prog_egrep
='egrep'
13882 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13883 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13884 EGREP
=$ac_cv_prog_egrep
13887 if test $ac_cv_c_compiler_gnu = yes; then
13888 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13889 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13890 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13893 ac_pattern
="Autoconf.*'x'"
13894 cat >conftest.
$ac_ext <<_ACEOF
13897 cat confdefs.h
>>conftest.
$ac_ext
13898 cat >>conftest.
$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13904 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13905 ac_cv_prog_gcc_traditional
=yes
13907 ac_cv_prog_gcc_traditional
=no
13912 if test $ac_cv_prog_gcc_traditional = no
; then
13913 cat >conftest.
$ac_ext <<_ACEOF
13916 cat confdefs.h
>>conftest.
$ac_ext
13917 cat >>conftest.
$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 #include <termio.h>
13922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13923 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13924 ac_cv_prog_gcc_traditional
=yes
13930 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13931 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13932 if test $ac_cv_prog_gcc_traditional = yes; then
13933 CC
="$CC -traditional"
13939 ac_cpp
='$CXXCPP $CPPFLAGS'
13940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13945 CXXFLAGS
=${CXXFLAGS:=}
13950 ac_cpp
='$CXXCPP $CPPFLAGS'
13951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13954 if test -n "$ac_tool_prefix"; then
13955 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13958 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13959 echo "$as_me:$LINENO: checking for $ac_word" >&5
13960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13961 if test "${ac_cv_prog_CXX+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 if test -n "$CXX"; then
13965 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13968 for as_dir
in $PATH
13971 test -z "$as_dir" && as_dir
=.
13972 for ac_exec_ext
in '' $ac_executable_extensions; do
13973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13974 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13983 CXX
=$ac_cv_prog_CXX
13984 if test -n "$CXX"; then
13985 echo "$as_me:$LINENO: result: $CXX" >&5
13986 echo "${ECHO_T}$CXX" >&6
13988 echo "$as_me:$LINENO: result: no" >&5
13989 echo "${ECHO_T}no" >&6
13992 test -n "$CXX" && break
13995 if test -z "$CXX"; then
13997 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13999 # Extract the first word of "$ac_prog", so it can be a program name with args.
14000 set dummy
$ac_prog; ac_word
=$2
14001 echo "$as_me:$LINENO: checking for $ac_word" >&5
14002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14003 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14004 echo $ECHO_N "(cached) $ECHO_C" >&6
14006 if test -n "$ac_ct_CXX"; then
14007 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14010 for as_dir
in $PATH
14013 test -z "$as_dir" && as_dir
=.
14014 for ac_exec_ext
in '' $ac_executable_extensions; do
14015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14016 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14025 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14026 if test -n "$ac_ct_CXX"; then
14027 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14028 echo "${ECHO_T}$ac_ct_CXX" >&6
14030 echo "$as_me:$LINENO: result: no" >&5
14031 echo "${ECHO_T}no" >&6
14034 test -n "$ac_ct_CXX" && break
14036 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14042 # Provide some information about the compiler.
14043 echo "$as_me:$LINENO:" \
14044 "checking for C++ compiler version" >&5
14045 ac_compiler
=`set X $ac_compile; echo $2`
14046 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14047 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }
14051 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14052 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }
14056 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14057 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }
14062 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14063 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14064 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14065 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 cat >conftest.
$ac_ext <<_ACEOF
14070 cat confdefs.h
>>conftest.
$ac_ext
14071 cat >>conftest.
$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14085 rm -f conftest.
$ac_objext
14086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14087 (eval $ac_compile) 2>conftest.er1
14089 grep -v '^ *+' conftest.er1
>conftest.err
14091 cat conftest.err
>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); } &&
14094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14096 (eval $ac_try) 2>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }; } &&
14100 { ac_try
='test -s conftest.$ac_objext'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; }; then
14106 ac_compiler_gnu
=yes
14108 echo "$as_me: failed program was:" >&5
14109 sed 's/^/| /' conftest.
$ac_ext >&5
14113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14114 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14117 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14118 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14119 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14120 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14121 ac_save_CXXFLAGS
=$CXXFLAGS
14123 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14124 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14125 if test "${ac_cv_prog_cxx_g+set}" = set; then
14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14128 cat >conftest.
$ac_ext <<_ACEOF
14131 cat confdefs.h
>>conftest.
$ac_ext
14132 cat >>conftest.
$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14143 rm -f conftest.
$ac_objext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14145 (eval $ac_compile) 2>conftest.er1
14147 grep -v '^ *+' conftest.er1
>conftest.err
14149 cat conftest.err
>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; } &&
14158 { ac_try
='test -s conftest.$ac_objext'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; }; then
14164 ac_cv_prog_cxx_g
=yes
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.
$ac_ext >&5
14169 ac_cv_prog_cxx_g
=no
14171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14173 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14174 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14175 if test "$ac_test_CXXFLAGS" = set; then
14176 CXXFLAGS
=$ac_save_CXXFLAGS
14177 elif test $ac_cv_prog_cxx_g = yes; then
14178 if test "$GXX" = yes; then
14184 if test "$GXX" = yes; then
14190 for ac_declaration
in \
14192 'extern "C" void std::exit (int) throw (); using std::exit;' \
14193 'extern "C" void std::exit (int); using std::exit;' \
14194 'extern "C" void exit (int) throw ();' \
14195 'extern "C" void exit (int);' \
14198 cat >conftest.
$ac_ext <<_ACEOF
14201 cat confdefs.h
>>conftest.
$ac_ext
14202 cat >>conftest.
$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14205 #include <stdlib.h>
14214 rm -f conftest.
$ac_objext
14215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14216 (eval $ac_compile) 2>conftest.er1
14218 grep -v '^ *+' conftest.er1
>conftest.err
14220 cat conftest.err
>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } &&
14223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; } &&
14229 { ac_try
='test -s conftest.$ac_objext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14237 echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.
$ac_ext >&5
14242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14243 cat >conftest.
$ac_ext <<_ACEOF
14246 cat confdefs.h
>>conftest.
$ac_ext
14247 cat >>conftest.
$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14258 rm -f conftest.
$ac_objext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>conftest.er1
14262 grep -v '^ *+' conftest.er1
>conftest.err
14264 cat conftest.err
>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try
='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.
$ac_ext >&5
14285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14288 if test -n "$ac_declaration"; then
14289 echo '#ifdef __cplusplus' >>confdefs.h
14290 echo $ac_declaration >>confdefs.h
14291 echo '#endif' >>confdefs.h
14295 ac_cpp
='$CXXCPP $CPPFLAGS'
14296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14303 ac_cpp
='$CXXCPP $CPPFLAGS'
14304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14308 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14309 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14310 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 cat >conftest.
$ac_ext <<_ACEOF
14316 cat confdefs.h
>>conftest.
$ac_ext
14317 cat >>conftest.
$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14324 #ifndef __INTEL_COMPILER
14332 rm -f conftest.
$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>conftest.er1
14336 grep -v '^ *+' conftest.er1
>conftest.err
14338 cat conftest.err
>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); } &&
14341 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try
='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14355 echo "$as_me: failed program was:" >&5
14356 sed 's/^/| /' conftest.
$ac_ext >&5
14358 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14365 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14366 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14368 ac_cpp
='$CXXCPP $CPPFLAGS'
14369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14373 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14380 if test "x$GCXX" != "xyes"; then
14381 if test "xCXX" = "xC"; then
14382 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14383 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14384 if test "${bakefile_cv_cxx_exto+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 cat >conftest.
$ac_ext <<_ACEOF
14390 cat confdefs.h
>>conftest.
$ac_ext
14391 cat >>conftest.
$ac_ext <<_ACEOF
14392 /* end confdefs.h. */
14402 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14404 (eval $ac_compile) 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; then
14408 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14410 conftest.
$ac_ext.o
)
14411 bakefile_cv_cxx_exto
="-ext o"
14418 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14419 See \`config.log' for more details." >&5
14420 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14421 See \`config.log' for more details." >&2;}
14422 { (exit 1); exit 1; }; }
14426 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14429 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14430 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14431 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14432 if test "cxx" = "c"; then
14433 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14435 if test "cxx" = "cxx"; then
14436 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14440 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14441 unset ac_cv_prog_cc_g
14442 ac_test_CFLAGS
=${CFLAGS+set}
14443 ac_save_CFLAGS
=$CFLAGS
14445 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14446 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14447 if test "${ac_cv_prog_cc_g+set}" = set; then
14448 echo $ECHO_N "(cached) $ECHO_C" >&6
14450 cat >conftest.
$ac_ext <<_ACEOF
14453 cat confdefs.h
>>conftest.
$ac_ext
14454 cat >>conftest.
$ac_ext <<_ACEOF
14455 /* end confdefs.h. */
14465 rm -f conftest.
$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>conftest.er1
14469 grep -v '^ *+' conftest.er1
>conftest.err
14471 cat conftest.err
>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
14480 { ac_try
='test -s conftest.$ac_objext'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 ac_cv_prog_cc_g
=yes
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.
$ac_ext >&5
14493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14495 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14496 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14497 if test "$ac_test_CFLAGS" = set; then
14498 CFLAGS
=$ac_save_CFLAGS
14499 elif test $ac_cv_prog_cc_g = yes; then
14500 if test "$GCC" = yes; then
14506 if test "$GCC" = yes; then
14518 ac_cpp
='$CXXCPP $CPPFLAGS'
14519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14523 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14524 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14525 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 cat >conftest.
$ac_ext <<_ACEOF
14531 cat confdefs.h
>>conftest.
$ac_ext
14532 cat >>conftest.
$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14546 rm -f conftest.
$ac_objext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14548 (eval $ac_compile) 2>conftest.er1
14550 grep -v '^ *+' conftest.er1
>conftest.err
14552 cat conftest.err
>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; } &&
14561 { ac_try
='test -s conftest.$ac_objext'
14562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14563 (eval $ac_try) 2>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); }; }; then
14567 bakefile_compiler_xlc
=yes
14569 echo "$as_me: failed program was:" >&5
14570 sed 's/^/| /' conftest.
$ac_ext >&5
14572 bakefile_compiler_xlc
=no
14574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14575 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14578 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14579 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14581 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14583 ac_cpp
='$CXXCPP $CPPFLAGS'
14584 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14585 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14586 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14593 ac_cpp
='$CXXCPP $CPPFLAGS'
14594 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14595 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14596 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14598 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14599 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14600 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 cat >conftest.
$ac_ext <<_ACEOF
14606 cat confdefs.h
>>conftest.
$ac_ext
14607 cat >>conftest.
$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14621 rm -f conftest.
$ac_objext
14622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14623 (eval $ac_compile) 2>conftest.er1
14625 grep -v '^ *+' conftest.er1
>conftest.err
14627 cat conftest.err
>&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; } &&
14636 { ac_try
='test -s conftest.$ac_objext'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; }; then
14642 bakefile_compiler_mwerks
=yes
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.
$ac_ext >&5
14647 bakefile_compiler_mwerks
=no
14649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14650 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14653 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14654 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14656 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14658 ac_cpp
='$CXXCPP $CPPFLAGS'
14659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14665 ac_cpp
='$CXXCPP $CPPFLAGS'
14666 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14667 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14668 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14670 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14671 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14672 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14675 cat >conftest.
$ac_ext <<_ACEOF
14678 cat confdefs.h
>>conftest.
$ac_ext
14679 cat >>conftest.
$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14693 rm -f conftest.
$ac_objext
14694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14695 (eval $ac_compile) 2>conftest.er1
14697 grep -v '^ *+' conftest.er1
>conftest.err
14699 cat conftest.err
>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); } &&
14702 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; } &&
14708 { ac_try
='test -s conftest.$ac_objext'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; }; then
14714 bakefile_compiler_xlc
=yes
14716 echo "$as_me: failed program was:" >&5
14717 sed 's/^/| /' conftest.
$ac_ext >&5
14719 bakefile_compiler_xlc
=no
14721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14722 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14725 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14726 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14728 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14730 ac_cpp
='$CXXCPP $CPPFLAGS'
14731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14742 ac_cpp
='$CXXCPP $CPPFLAGS'
14743 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14744 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14745 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14747 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14748 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14749 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 cat >conftest.
$ac_ext <<_ACEOF
14755 cat confdefs.h
>>conftest.
$ac_ext
14756 cat >>conftest.
$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14763 #ifndef _SGI_COMPILER_VERSION
14771 rm -f conftest.
$ac_objext
14772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14773 (eval $ac_compile) 2>conftest.er1
14775 grep -v '^ *+' conftest.er1
>conftest.err
14777 cat conftest.err
>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); } &&
14780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782 (eval $ac_try) 2>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); }; } &&
14786 { ac_try
='test -s conftest.$ac_objext'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; }; then
14792 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.
$ac_ext >&5
14797 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14804 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14805 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14807 ac_cpp
='$CXXCPP $CPPFLAGS'
14808 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14809 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14810 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14812 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14825 ac_cpp
='$CXXCPP $CPPFLAGS'
14826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14830 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14831 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14832 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 cat >conftest.
$ac_ext <<_ACEOF
14838 cat confdefs.h
>>conftest.
$ac_ext
14839 cat >>conftest.
$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14854 rm -f conftest.
$ac_objext
14855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14856 (eval $ac_compile) 2>conftest.er1
14858 grep -v '^ *+' conftest.er1
>conftest.err
14860 cat conftest.err
>&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); } &&
14863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14865 (eval $ac_try) 2>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; } &&
14869 { ac_try
='test -s conftest.$ac_objext'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; }; then
14875 bakefile_cv_cxx_compiler___HP_aCC
=yes
14877 echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.
$ac_ext >&5
14880 bakefile_cv_cxx_compiler___HP_aCC
=no
14883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14887 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14888 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14890 ac_cpp
='$CXXCPP $CPPFLAGS'
14891 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14892 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14893 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14895 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14908 ac_cpp
='$CXXCPP $CPPFLAGS'
14909 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14910 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14911 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14913 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14914 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14915 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14918 cat >conftest.
$ac_ext <<_ACEOF
14921 cat confdefs.h
>>conftest.
$ac_ext
14922 cat >>conftest.
$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14937 rm -f conftest.
$ac_objext
14938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>conftest.er1
14941 grep -v '^ *+' conftest.er1
>conftest.err
14943 cat conftest.err
>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; } &&
14952 { ac_try
='test -s conftest.$ac_objext'
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 bakefile_cv_cxx_compiler___DECCXX
=yes
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.
$ac_ext >&5
14963 bakefile_cv_cxx_compiler___DECCXX
=no
14966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14970 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14973 ac_cpp
='$CXXCPP $CPPFLAGS'
14974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14978 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14991 ac_cpp
='$CXXCPP $CPPFLAGS'
14992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14996 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14997 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14998 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 cat >conftest.
$ac_ext <<_ACEOF
15004 cat confdefs.h
>>conftest.
$ac_ext
15005 cat >>conftest.
$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15012 #ifndef __SUNPRO_CC
15020 rm -f conftest.
$ac_objext
15021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15022 (eval $ac_compile) 2>conftest.er1
15024 grep -v '^ *+' conftest.er1
>conftest.err
15026 cat conftest.err
>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try
='test -s conftest.$ac_objext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.
$ac_ext >&5
15046 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15053 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15054 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15056 ac_cpp
='$CXXCPP $CPPFLAGS'
15057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15061 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15074 if test -n "$ac_tool_prefix"; then
15075 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15076 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15077 echo "$as_me:$LINENO: checking for $ac_word" >&5
15078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15079 if test "${ac_cv_prog_RANLIB+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 if test -n "$RANLIB"; then
15083 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15086 for as_dir
in $PATH
15089 test -z "$as_dir" && as_dir
=.
15090 for ac_exec_ext
in '' $ac_executable_extensions; do
15091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15092 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15101 RANLIB
=$ac_cv_prog_RANLIB
15102 if test -n "$RANLIB"; then
15103 echo "$as_me:$LINENO: result: $RANLIB" >&5
15104 echo "${ECHO_T}$RANLIB" >&6
15106 echo "$as_me:$LINENO: result: no" >&5
15107 echo "${ECHO_T}no" >&6
15111 if test -z "$ac_cv_prog_RANLIB"; then
15112 ac_ct_RANLIB
=$RANLIB
15113 # Extract the first word of "ranlib", so it can be a program name with args.
15114 set dummy ranlib
; ac_word
=$2
15115 echo "$as_me:$LINENO: checking for $ac_word" >&5
15116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15117 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 if test -n "$ac_ct_RANLIB"; then
15121 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15124 for as_dir
in $PATH
15127 test -z "$as_dir" && as_dir
=.
15128 for ac_exec_ext
in '' $ac_executable_extensions; do
15129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15130 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15137 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15140 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15141 if test -n "$ac_ct_RANLIB"; then
15142 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15143 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15145 echo "$as_me:$LINENO: result: no" >&5
15146 echo "${ECHO_T}no" >&6
15149 RANLIB
=$ac_ct_RANLIB
15151 RANLIB
="$ac_cv_prog_RANLIB"
15155 if test -n "$ac_tool_prefix"; then
15156 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15157 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15158 echo "$as_me:$LINENO: checking for $ac_word" >&5
15159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15160 if test "${ac_cv_prog_AR+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 if test -n "$AR"; then
15164 ac_cv_prog_AR
="$AR" # Let the user override the test.
15166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15167 for as_dir
in $PATH
15170 test -z "$as_dir" && as_dir
=.
15171 for ac_exec_ext
in '' $ac_executable_extensions; do
15172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15173 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15183 if test -n "$AR"; then
15184 echo "$as_me:$LINENO: result: $AR" >&5
15185 echo "${ECHO_T}$AR" >&6
15187 echo "$as_me:$LINENO: result: no" >&5
15188 echo "${ECHO_T}no" >&6
15192 if test -z "$ac_cv_prog_AR"; then
15194 # Extract the first word of "ar", so it can be a program name with args.
15195 set dummy
ar; ac_word
=$2
15196 echo "$as_me:$LINENO: checking for $ac_word" >&5
15197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15198 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15201 if test -n "$ac_ct_AR"; then
15202 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15205 for as_dir
in $PATH
15208 test -z "$as_dir" && as_dir
=.
15209 for ac_exec_ext
in '' $ac_executable_extensions; do
15210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15211 ac_cv_prog_ac_ct_AR
="ar"
15212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15220 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15221 if test -n "$ac_ct_AR"; then
15222 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15223 echo "${ECHO_T}$ac_ct_AR" >&6
15225 echo "$as_me:$LINENO: result: no" >&5
15226 echo "${ECHO_T}no" >&6
15231 AR
="$ac_cv_prog_AR"
15234 if test "x$AR" = "x" ; then
15235 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15236 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15237 { (exit 1); exit 1; }; }
15240 # Find a good install program. We prefer a C program (faster),
15241 # so one script is as good as another. But avoid the broken or
15242 # incompatible versions:
15243 # SysV /etc/install, /usr/sbin/install
15244 # SunOS /usr/etc/install
15245 # IRIX /sbin/install
15247 # AmigaOS /C/install, which installs bootblocks on floppy discs
15248 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15249 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15250 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15251 # OS/2's system install, which has a completely different semantic
15252 # ./install, which can be erroneously created by make from ./install.sh.
15253 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15254 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15255 if test -z "$INSTALL"; then
15256 if test "${ac_cv_path_install+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15260 for as_dir
in $PATH
15263 test -z "$as_dir" && as_dir
=.
15264 # Account for people who put trailing slashes in PATH elements.
15266 .
/ | .
// | /cC
/* | \
15267 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15268 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15271 # OSF1 and SCO ODT 3.0 have their own names for install.
15272 # Don't use installbsd from OSF since it installs stuff as root
15274 for ac_prog
in ginstall scoinst
install; do
15275 for ac_exec_ext
in '' $ac_executable_extensions; do
15276 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15277 if test $ac_prog = install &&
15278 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15279 # AIX install. It has an incompatible calling convention.
15281 elif test $ac_prog = install &&
15282 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15283 # program-specific install script used by HP pwplus--don't use.
15286 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15298 if test "${ac_cv_path_install+set}" = set; then
15299 INSTALL
=$ac_cv_path_install
15301 # As a last resort, use the slow shell script. We don't cache a
15302 # path for INSTALL within a source directory, because that will
15303 # break other packages using the cache if that directory is
15304 # removed, or if the path is relative.
15305 INSTALL
=$ac_install_sh
15308 echo "$as_me:$LINENO: result: $INSTALL" >&5
15309 echo "${ECHO_T}$INSTALL" >&6
15311 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15312 # It thinks the first close brace ends the variable substitution.
15313 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15315 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15317 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15323 ?
:* ) # Drive letter, considered as absolute.
15326 INSTALL
=`pwd`/${INSTALL} ;;
15333 INSTALL_PROGRAM
="cp -fp"
15334 INSTALL_DATA
="cp -fp"
15340 if test -n "$ac_tool_prefix"; then
15341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15342 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15343 echo "$as_me:$LINENO: checking for $ac_word" >&5
15344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15345 if test "${ac_cv_prog_STRIP+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 if test -n "$STRIP"; then
15349 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15352 for as_dir
in $PATH
15355 test -z "$as_dir" && as_dir
=.
15356 for ac_exec_ext
in '' $ac_executable_extensions; do
15357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15358 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15367 STRIP
=$ac_cv_prog_STRIP
15368 if test -n "$STRIP"; then
15369 echo "$as_me:$LINENO: result: $STRIP" >&5
15370 echo "${ECHO_T}$STRIP" >&6
15372 echo "$as_me:$LINENO: result: no" >&5
15373 echo "${ECHO_T}no" >&6
15377 if test -z "$ac_cv_prog_STRIP"; then
15379 # Extract the first word of "strip", so it can be a program name with args.
15380 set dummy strip
; ac_word
=$2
15381 echo "$as_me:$LINENO: checking for $ac_word" >&5
15382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15383 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 if test -n "$ac_ct_STRIP"; then
15387 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15390 for as_dir
in $PATH
15393 test -z "$as_dir" && as_dir
=.
15394 for ac_exec_ext
in '' $ac_executable_extensions; do
15395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15396 ac_cv_prog_ac_ct_STRIP
="strip"
15397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15403 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15406 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15407 if test -n "$ac_ct_STRIP"; then
15408 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15409 echo "${ECHO_T}$ac_ct_STRIP" >&6
15411 echo "$as_me:$LINENO: result: no" >&5
15412 echo "${ECHO_T}no" >&6
15417 STRIP
="$ac_cv_prog_STRIP"
15421 if test "$wxUSE_WINE" = "yes"; then
15422 if test -n "$ac_tool_prefix"; then
15423 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15424 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15425 echo "$as_me:$LINENO: checking for $ac_word" >&5
15426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15427 if test "${ac_cv_prog_WINDRES+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15430 if test -n "$WINDRES"; then
15431 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15434 for as_dir
in $PATH
15437 test -z "$as_dir" && as_dir
=.
15438 for ac_exec_ext
in '' $ac_executable_extensions; do
15439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15440 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15449 WINDRES
=$ac_cv_prog_WINDRES
15450 if test -n "$WINDRES"; then
15451 echo "$as_me:$LINENO: result: $WINDRES" >&5
15452 echo "${ECHO_T}$WINDRES" >&6
15454 echo "$as_me:$LINENO: result: no" >&5
15455 echo "${ECHO_T}no" >&6
15459 if test -z "$ac_cv_prog_WINDRES"; then
15460 ac_ct_WINDRES
=$WINDRES
15461 # Extract the first word of "wrc", so it can be a program name with args.
15462 set dummy wrc
; ac_word
=$2
15463 echo "$as_me:$LINENO: checking for $ac_word" >&5
15464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15465 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 if test -n "$ac_ct_WINDRES"; then
15469 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15472 for as_dir
in $PATH
15475 test -z "$as_dir" && as_dir
=.
15476 for ac_exec_ext
in '' $ac_executable_extensions; do
15477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15478 ac_cv_prog_ac_ct_WINDRES
="wrc"
15479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15487 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15488 if test -n "$ac_ct_WINDRES"; then
15489 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15490 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15492 echo "$as_me:$LINENO: result: no" >&5
15493 echo "${ECHO_T}no" >&6
15496 WINDRES
=$ac_ct_WINDRES
15498 WINDRES
="$ac_cv_prog_WINDRES"
15504 *-*-cygwin* | *-*-mingw32* )
15505 if test -n "$ac_tool_prefix"; then
15506 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15507 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15508 echo "$as_me:$LINENO: checking for $ac_word" >&5
15509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15510 if test "${ac_cv_prog_WINDRES+set}" = set; then
15511 echo $ECHO_N "(cached) $ECHO_C" >&6
15513 if test -n "$WINDRES"; then
15514 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15517 for as_dir
in $PATH
15520 test -z "$as_dir" && as_dir
=.
15521 for ac_exec_ext
in '' $ac_executable_extensions; do
15522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15523 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15532 WINDRES
=$ac_cv_prog_WINDRES
15533 if test -n "$WINDRES"; then
15534 echo "$as_me:$LINENO: result: $WINDRES" >&5
15535 echo "${ECHO_T}$WINDRES" >&6
15537 echo "$as_me:$LINENO: result: no" >&5
15538 echo "${ECHO_T}no" >&6
15542 if test -z "$ac_cv_prog_WINDRES"; then
15543 ac_ct_WINDRES
=$WINDRES
15544 # Extract the first word of "windres", so it can be a program name with args.
15545 set dummy windres
; ac_word
=$2
15546 echo "$as_me:$LINENO: checking for $ac_word" >&5
15547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15548 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 if test -n "$ac_ct_WINDRES"; then
15552 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15555 for as_dir
in $PATH
15558 test -z "$as_dir" && as_dir
=.
15559 for ac_exec_ext
in '' $ac_executable_extensions; do
15560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15561 ac_cv_prog_ac_ct_WINDRES
="windres"
15562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15570 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15571 if test -n "$ac_ct_WINDRES"; then
15572 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15573 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15575 echo "$as_me:$LINENO: result: no" >&5
15576 echo "${ECHO_T}no" >&6
15579 WINDRES
=$ac_ct_WINDRES
15581 WINDRES
="$ac_cv_prog_WINDRES"
15585 if test -n "$ac_tool_prefix"; then
15586 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15587 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15588 echo "$as_me:$LINENO: checking for $ac_word" >&5
15589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15590 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15591 echo $ECHO_N "(cached) $ECHO_C" >&6
15593 if test -n "$DLLTOOL"; then
15594 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15597 for as_dir
in $PATH
15600 test -z "$as_dir" && as_dir
=.
15601 for ac_exec_ext
in '' $ac_executable_extensions; do
15602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15603 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15612 DLLTOOL
=$ac_cv_prog_DLLTOOL
15613 if test -n "$DLLTOOL"; then
15614 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15615 echo "${ECHO_T}$DLLTOOL" >&6
15617 echo "$as_me:$LINENO: result: no" >&5
15618 echo "${ECHO_T}no" >&6
15622 if test -z "$ac_cv_prog_DLLTOOL"; then
15623 ac_ct_DLLTOOL
=$DLLTOOL
15624 # Extract the first word of "dlltool", so it can be a program name with args.
15625 set dummy dlltool
; ac_word
=$2
15626 echo "$as_me:$LINENO: checking for $ac_word" >&5
15627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15628 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 if test -n "$ac_ct_DLLTOOL"; then
15632 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15635 for as_dir
in $PATH
15638 test -z "$as_dir" && as_dir
=.
15639 for ac_exec_ext
in '' $ac_executable_extensions; do
15640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15641 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15650 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15651 if test -n "$ac_ct_DLLTOOL"; then
15652 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15653 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15655 echo "$as_me:$LINENO: result: no" >&5
15656 echo "${ECHO_T}no" >&6
15659 DLLTOOL
=$ac_ct_DLLTOOL
15661 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15668 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15669 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15670 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15675 egrep -s GNU
> /dev
/null
); then
15676 wx_cv_prog_makeisgnu
="yes"
15678 wx_cv_prog_makeisgnu
="no"
15682 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15683 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15685 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15693 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15694 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15695 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15696 if test "${wx_cv_prog_makevpath+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 cat - << EOF > confMake
15706 if test ! -d sub
; then
15709 echo dummy
> sub
/file
15710 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15712 rm -f sub
/file check final_file confMake
15714 if test "$RESULT" = 0; then
15715 wx_cv_prog_makevpath
="yes"
15717 wx_cv_prog_makevpath
="no"
15721 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15722 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15724 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15725 { { echo "$as_me:$LINENO: error:
15726 You need a make-utility that is able to use the variable
15728 If your version of make does not support VPATH correctly,
15729 please install GNU-make (possibly as gmake), and start
15730 configure with the following command:
15731 export MAKE=gmake; ./configure for sh-type shells
15732 setenv MAKE gmake; ./configure for csh-type shells
15733 Also please do remember to use gmake in this case every time
15734 you are trying to compile.
15736 echo "$as_me: error:
15737 You need a make-utility that is able to use the variable
15739 If your version of make does not support VPATH correctly,
15740 please install GNU-make (possibly as gmake), and start
15741 configure with the following command:
15742 export MAKE=gmake; ./configure for sh-type shells
15743 setenv MAKE gmake; ./configure for csh-type shells
15744 Also please do remember to use gmake in this case every time
15745 you are trying to compile.
15747 { (exit 1); exit 1; }; }
15749 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15750 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15752 if test "$LN_S" = "ln -s"; then
15753 echo "$as_me:$LINENO: result: yes" >&5
15754 echo "${ECHO_T}yes" >&6
15756 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15757 echo "${ECHO_T}no, using $LN_S" >&6
15763 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15764 CXXFLAGS
="-qunique $CXXFLAGS"
15768 powerpc
-*-darwin* )
15769 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15770 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15771 cat >conftest.
$ac_ext <<_ACEOF
15774 cat confdefs.h
>>conftest.
$ac_ext
15775 cat >>conftest.
$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15781 #ifndef __POWERPC__
15782 choke me for lack of PowerPC
15789 rm -f conftest.
$ac_objext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15791 (eval $ac_compile) 2>conftest.er1
15793 grep -v '^ *+' conftest.er1
>conftest.err
15795 cat conftest.err
>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; } &&
15804 { ac_try
='test -s conftest.$ac_objext'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; }; then
15810 echo "$as_me:$LINENO: result: yes" >&5
15811 echo "${ECHO_T}yes" >&6
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.
$ac_ext >&5
15816 echo "$as_me:$LINENO: result: no" >&5
15817 echo "${ECHO_T}no" >&6
15818 cat >>confdefs.h
<<\_ACEOF
15819 #define __POWERPC__ 1
15824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15830 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15831 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15832 cat >conftest.
$ac_ext <<_ACEOF
15835 cat confdefs.h
>>conftest.
$ac_ext
15836 cat >>conftest.
$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15838 #include <CoreFoundation/CFBase.h>
15848 rm -f conftest.
$ac_objext
15849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15850 (eval $ac_compile) 2>conftest.er1
15852 grep -v '^ *+' conftest.er1
>conftest.err
15854 cat conftest.err
>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; } &&
15863 { ac_try
='test -s conftest.$ac_objext'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; }; then
15869 echo "$as_me:$LINENO: result: yes" >&5
15870 echo "${ECHO_T}yes" >&6
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.
$ac_ext >&5
15875 echo "$as_me:$LINENO: result: no" >&5
15876 echo "${ECHO_T}no" >&6
15877 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15878 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15879 cat >conftest.
$ac_ext <<_ACEOF
15882 cat confdefs.h
>>conftest.
$ac_ext
15883 cat >>conftest.
$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15885 #define __CF_USE_FRAMEWORK_INCLUDES__
15886 #include <CoreFoundation/CFBase.h>
15896 rm -f conftest.
$ac_objext
15897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15898 (eval $ac_compile) 2>conftest.er1
15900 grep -v '^ *+' conftest.er1
>conftest.err
15902 cat conftest.err
>&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } &&
15905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; } &&
15911 { ac_try
='test -s conftest.$ac_objext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15917 echo "$as_me:$LINENO: result: yes" >&5
15918 echo "${ECHO_T}yes" >&6
15919 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.
$ac_ext >&5
15924 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15925 See \`config.log' for more details." >&5
15926 echo "$as_me: error: no. CoreFoundation not available.
15927 See \`config.log' for more details." >&2;}
15928 { (exit 1); exit 1; }; }
15931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15940 *-pc-os2_emx | *-pc-os2-emx )
15942 ac_cpp
='$CPP $CPPFLAGS'
15943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15947 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15948 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15949 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15950 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15951 echo $ECHO_N "(cached) $ECHO_C" >&6
15953 ac_check_lib_save_LIBS
=$LIBS
15954 LIBS
="-lcExt $LIBS"
15955 cat >conftest.
$ac_ext <<_ACEOF
15958 cat confdefs.h
>>conftest.
$ac_ext
15959 cat >>conftest.
$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15962 /* Override any gcc2 internal prototype to avoid an error. */
15966 /* We use char because int might match the return type of a gcc2
15967 builtin and then its argument prototype would still apply. */
15977 rm -f conftest.
$ac_objext conftest
$ac_exeext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15979 (eval $ac_link) 2>conftest.er1
15981 grep -v '^ *+' conftest.er1
>conftest.err
15983 cat conftest.err
>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try
='test -s conftest$ac_exeext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_cv_lib_cExt_drand48
=yes
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.
$ac_ext >&5
16003 ac_cv_lib_cExt_drand48
=no
16005 rm -f conftest.err conftest.
$ac_objext \
16006 conftest
$ac_exeext conftest.
$ac_ext
16007 LIBS
=$ac_check_lib_save_LIBS
16009 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16010 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16011 if test $ac_cv_lib_cExt_drand48 = yes; then
16012 LIBS
="$LIBS -lcExt"
16016 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16018 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16019 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16020 if test "${wx_cv_gccversion+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16024 if test "$cross_compiling" = yes; then
16025 wx_cv_gccversion
="EMX2"
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16039 FILE *f=fopen("conftestval", "w");
16044 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16046 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16056 rm -f conftest
$ac_exeext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16058 (eval $ac_link) 2>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16067 wx_cv_gccversion
=`cat conftestval`
16069 echo "$as_me: program exited with status $ac_status" >&5
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.
$ac_ext >&5
16073 ( exit $ac_status )
16074 wx_cv_gccversion
="EMX2"
16076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16080 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16081 echo "${ECHO_T}$wx_cv_gccversion" >&6
16083 ac_cpp
='$CXXCPP $CPPFLAGS'
16084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16088 if test "$wx_cv_gccversion" = "EMX2"; then
16089 LIBS
="$LIBS -lstdcpp"
16090 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16092 if test "$wx_cv_gccversion" = "EMX3"; then
16093 LIBS
="$LIBS -lstdcxx -lgcc"
16094 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16096 LIBS
="$LIBS -lstdc++"
16099 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16100 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16101 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16108 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16109 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16110 if test "${ac_cv_string_strcasecmp+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16121 #include <string.h>
16127 strcasecmp("foo", "bar");
16133 rm -f conftest.
$ac_objext conftest
$ac_exeext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16135 (eval $ac_link) 2>conftest.er1
16137 grep -v '^ *+' conftest.er1
>conftest.err
16139 cat conftest.err
>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } &&
16142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; } &&
16148 { ac_try
='test -s conftest$ac_exeext'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; }; then
16154 ac_cv_string_strcasecmp
=yes
16156 echo "$as_me: failed program was:" >&5
16157 sed 's/^/| /' conftest.
$ac_ext >&5
16159 ac_cv_string_strcasecmp
=no
16162 rm -f conftest.err conftest.
$ac_objext \
16163 conftest
$ac_exeext conftest.
$ac_ext
16166 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16167 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16169 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16170 cat >>confdefs.h
<<\_ACEOF
16171 #define HAVE_STRCASECMP_IN_STRING_H 1
16175 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16176 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16177 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16181 cat >conftest.
$ac_ext <<_ACEOF
16184 cat confdefs.h
>>conftest.
$ac_ext
16185 cat >>conftest.
$ac_ext <<_ACEOF
16186 /* end confdefs.h. */
16188 #include <strings.h>
16194 strcasecmp("foo", "bar");
16200 rm -f conftest.
$ac_objext conftest
$ac_exeext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16202 (eval $ac_link) 2>conftest.er1
16204 grep -v '^ *+' conftest.er1
>conftest.err
16206 cat conftest.err
>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; } &&
16215 { ac_try
='test -s conftest$ac_exeext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 ac_cv_strings_strcasecmp
=yes
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.
$ac_ext >&5
16226 ac_cv_strings_strcasecmp
=no
16229 rm -f conftest.err conftest.
$ac_objext \
16230 conftest
$ac_exeext conftest.
$ac_ext
16233 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16234 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16236 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16237 cat >>confdefs.h
<<\_ACEOF
16238 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16242 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16243 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16244 { (exit 1); exit 1; }; }
16253 ac_cpp
='$CXXCPP $CPPFLAGS'
16254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16257 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16258 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16259 if test -z "$CXXCPP"; then
16260 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 # Double quotes because CXXCPP needs to be expanded
16264 for CXXCPP
in "$CXX -E" "/lib/cpp"
16266 ac_preproc_ok
=false
16267 for ac_cxx_preproc_warn_flag
in '' yes
16269 # Use a header file that comes with gcc, so configuring glibc
16270 # with a fresh cross-compiler works.
16271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16272 # <limits.h> exists even on freestanding compilers.
16273 # On the NeXT, cc -E runs the code through the compiler's parser,
16274 # not just through cpp. "Syntax error" is here to catch this case.
16275 cat >conftest.
$ac_ext <<_ACEOF
16278 cat confdefs.h
>>conftest.
$ac_ext
16279 cat >>conftest.
$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16282 # include <limits.h>
16284 # include <assert.h>
16288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16291 grep -v '^ *+' conftest.er1
>conftest.err
16293 cat conftest.err
>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } >/dev
/null
; then
16296 if test -s conftest.err
; then
16297 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16298 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16305 if test -z "$ac_cpp_err"; then
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.
$ac_ext >&5
16311 # Broken: fails on valid input.
16314 rm -f conftest.err conftest.
$ac_ext
16316 # OK, works on sane cases. Now check whether non-existent headers
16317 # can be detected and how.
16318 cat >conftest.
$ac_ext <<_ACEOF
16321 cat confdefs.h
>>conftest.
$ac_ext
16322 cat >>conftest.
$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 #include <ac_nonexistent.h>
16326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16329 grep -v '^ *+' conftest.er1
>conftest.err
16331 cat conftest.err
>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); } >/dev
/null
; then
16334 if test -s conftest.err
; then
16335 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16336 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16343 if test -z "$ac_cpp_err"; then
16344 # Broken: success on invalid input.
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.
$ac_ext >&5
16350 # Passes both tests.
16354 rm -f conftest.err conftest.
$ac_ext
16357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16358 rm -f conftest.err conftest.
$ac_ext
16359 if $ac_preproc_ok; then
16364 ac_cv_prog_CXXCPP
=$CXXCPP
16367 CXXCPP
=$ac_cv_prog_CXXCPP
16369 ac_cv_prog_CXXCPP
=$CXXCPP
16371 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16372 echo "${ECHO_T}$CXXCPP" >&6
16373 ac_preproc_ok
=false
16374 for ac_cxx_preproc_warn_flag
in '' yes
16376 # Use a header file that comes with gcc, so configuring glibc
16377 # with a fresh cross-compiler works.
16378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16379 # <limits.h> exists even on freestanding compilers.
16380 # On the NeXT, cc -E runs the code through the compiler's parser,
16381 # not just through cpp. "Syntax error" is here to catch this case.
16382 cat >conftest.
$ac_ext <<_ACEOF
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16389 # include <limits.h>
16391 # include <assert.h>
16395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16398 grep -v '^ *+' conftest.er1
>conftest.err
16400 cat conftest.err
>&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); } >/dev
/null
; then
16403 if test -s conftest.err
; then
16404 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16405 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16412 if test -z "$ac_cpp_err"; then
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.
$ac_ext >&5
16418 # Broken: fails on valid input.
16421 rm -f conftest.err conftest.
$ac_ext
16423 # OK, works on sane cases. Now check whether non-existent headers
16424 # can be detected and how.
16425 cat >conftest.
$ac_ext <<_ACEOF
16428 cat confdefs.h
>>conftest.
$ac_ext
16429 cat >>conftest.
$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 #include <ac_nonexistent.h>
16433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16436 grep -v '^ *+' conftest.er1
>conftest.err
16438 cat conftest.err
>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } >/dev
/null
; then
16441 if test -s conftest.err
; then
16442 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16443 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16450 if test -z "$ac_cpp_err"; then
16451 # Broken: success on invalid input.
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.
$ac_ext >&5
16457 # Passes both tests.
16461 rm -f conftest.err conftest.
$ac_ext
16464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16465 rm -f conftest.err conftest.
$ac_ext
16466 if $ac_preproc_ok; then
16469 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16470 See \`config.log' for more details." >&5
16471 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16472 See \`config.log' for more details." >&2;}
16473 { (exit 1); exit 1; }; }
16477 ac_cpp
='$CXXCPP $CPPFLAGS'
16478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16483 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16484 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16485 if test "${ac_cv_header_stdc+set}" = set; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 cat >conftest.
$ac_ext <<_ACEOF
16491 cat confdefs.h
>>conftest.
$ac_ext
16492 cat >>conftest.
$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <stdlib.h>
16495 #include <stdarg.h>
16496 #include <string.h>
16507 rm -f conftest.
$ac_objext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16509 (eval $ac_compile) 2>conftest.er1
16511 grep -v '^ *+' conftest.er1
>conftest.err
16513 cat conftest.err
>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } &&
16516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try
='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_cv_header_stdc
=yes
16530 echo "$as_me: failed program was:" >&5
16531 sed 's/^/| /' conftest.
$ac_ext >&5
16533 ac_cv_header_stdc
=no
16535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16537 if test $ac_cv_header_stdc = yes; then
16538 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16539 cat >conftest.
$ac_ext <<_ACEOF
16542 cat confdefs.h
>>conftest.
$ac_ext
16543 cat >>conftest.
$ac_ext <<_ACEOF
16544 /* end confdefs.h. */
16545 #include <string.h>
16548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16549 $EGREP "memchr" >/dev
/null
2>&1; then
16552 ac_cv_header_stdc
=no
16558 if test $ac_cv_header_stdc = yes; then
16559 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16560 cat >conftest.
$ac_ext <<_ACEOF
16563 cat confdefs.h
>>conftest.
$ac_ext
16564 cat >>conftest.
$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 #include <stdlib.h>
16569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16570 $EGREP "free" >/dev
/null
2>&1; then
16573 ac_cv_header_stdc
=no
16579 if test $ac_cv_header_stdc = yes; then
16580 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16581 if test "$cross_compiling" = yes; then
16584 cat >conftest.
$ac_ext <<_ACEOF
16587 cat confdefs.h
>>conftest.
$ac_ext
16588 cat >>conftest.
$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16591 #if ((' ' & 0x0FF) == 0x020)
16592 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16593 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16595 # define ISLOWER(c) \
16596 (('a' <= (c) && (c) <= 'i') \
16597 || ('j' <= (c) && (c) <= 'r') \
16598 || ('s' <= (c) && (c) <= 'z'))
16599 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16602 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16607 for (i = 0; i < 256; i++)
16608 if (XOR (islower (i), ISLOWER (i))
16609 || toupper (i) != TOUPPER (i))
16614 rm -f conftest
$ac_exeext
16615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16616 (eval $ac_link) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16627 echo "$as_me: program exited with status $ac_status" >&5
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.
$ac_ext >&5
16631 ( exit $ac_status )
16632 ac_cv_header_stdc
=no
16634 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16638 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16639 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16640 if test $ac_cv_header_stdc = yes; then
16642 cat >>confdefs.h
<<\_ACEOF
16643 #define STDC_HEADERS 1
16648 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16658 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16659 inttypes.h stdint.h unistd.h
16661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16662 echo "$as_me:$LINENO: checking for $ac_header" >&5
16663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 cat >conftest.
$ac_ext <<_ACEOF
16670 cat confdefs.h
>>conftest.
$ac_ext
16671 cat >>conftest.
$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16673 $ac_includes_default
16675 #include <$ac_header>
16677 rm -f conftest.
$ac_objext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16679 (eval $ac_compile) 2>conftest.er1
16681 grep -v '^ *+' conftest.er1
>conftest.err
16683 cat conftest.err
>&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16688 (eval $ac_try) 2>&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); }; } &&
16692 { ac_try
='test -s conftest.$ac_objext'
16693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16694 (eval $ac_try) 2>&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }; }; then
16698 eval "$as_ac_Header=yes"
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.
$ac_ext >&5
16703 eval "$as_ac_Header=no"
16705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16710 cat >>confdefs.h
<<_ACEOF
16711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16720 for ac_header
in stdlib.h
16722 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16724 echo "$as_me:$LINENO: checking for $ac_header" >&5
16725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16727 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16732 # Is the header compilable?
16733 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16735 cat >conftest.
$ac_ext <<_ACEOF
16738 cat confdefs.h
>>conftest.
$ac_ext
16739 cat >>conftest.
$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16742 #include <$ac_header>
16744 rm -f conftest.
$ac_objext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16746 (eval $ac_compile) 2>conftest.er1
16748 grep -v '^ *+' conftest.er1
>conftest.err
16750 cat conftest.err
>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } &&
16753 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; } &&
16759 { ac_try
='test -s conftest.$ac_objext'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; }; then
16765 ac_header_compiler
=yes
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.
$ac_ext >&5
16770 ac_header_compiler
=no
16772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16774 echo "${ECHO_T}$ac_header_compiler" >&6
16776 # Is the header present?
16777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16779 cat >conftest.
$ac_ext <<_ACEOF
16782 cat confdefs.h
>>conftest.
$ac_ext
16783 cat >>conftest.
$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 #include <$ac_header>
16787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16790 grep -v '^ *+' conftest.er1
>conftest.err
16792 cat conftest.err
>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } >/dev
/null
; then
16795 if test -s conftest.err
; then
16796 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16797 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16804 if test -z "$ac_cpp_err"; then
16805 ac_header_preproc
=yes
16807 echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.
$ac_ext >&5
16810 ac_header_preproc
=no
16812 rm -f conftest.err conftest.
$ac_ext
16813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16814 echo "${ECHO_T}$ac_header_preproc" >&6
16816 # So? What about this header?
16817 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16823 ac_header_preproc
=yes
16826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16840 ## ----------------------------------------- ##
16841 ## Report this to wx-dev@lists.wxwidgets.org ##
16842 ## ----------------------------------------- ##
16845 sed "s/^/$as_me: WARNING: /" >&2
16848 echo "$as_me:$LINENO: checking for $ac_header" >&5
16849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 eval "$as_ac_Header=\$ac_header_preproc"
16855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16860 cat >>confdefs.h
<<_ACEOF
16861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16869 for ac_header
in malloc.h
16871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16873 echo "$as_me:$LINENO: checking for $ac_header" >&5
16874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16881 # Is the header compilable?
16882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16884 cat >conftest.
$ac_ext <<_ACEOF
16887 cat confdefs.h
>>conftest.
$ac_ext
16888 cat >>conftest.
$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 $ac_includes_default
16891 #include <$ac_header>
16893 rm -f conftest.
$ac_objext
16894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>conftest.er1
16897 grep -v '^ *+' conftest.er1
>conftest.err
16899 cat conftest.err
>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } &&
16902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16904 (eval $ac_try) 2>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; } &&
16908 { ac_try
='test -s conftest.$ac_objext'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; }; then
16914 ac_header_compiler
=yes
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.
$ac_ext >&5
16919 ac_header_compiler
=no
16921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16923 echo "${ECHO_T}$ac_header_compiler" >&6
16925 # Is the header present?
16926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 #include <$ac_header>
16936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16939 grep -v '^ *+' conftest.er1
>conftest.err
16941 cat conftest.err
>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); } >/dev
/null
; then
16944 if test -s conftest.err
; then
16945 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16946 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16953 if test -z "$ac_cpp_err"; then
16954 ac_header_preproc
=yes
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.
$ac_ext >&5
16959 ac_header_preproc
=no
16961 rm -f conftest.err conftest.
$ac_ext
16962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16963 echo "${ECHO_T}$ac_header_preproc" >&6
16965 # So? What about this header?
16966 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16971 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16972 ac_header_preproc
=yes
16975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16979 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16980 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16982 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16986 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16989 ## ----------------------------------------- ##
16990 ## Report this to wx-dev@lists.wxwidgets.org ##
16991 ## ----------------------------------------- ##
16994 sed "s/^/$as_me: WARNING: /" >&2
16997 echo "$as_me:$LINENO: checking for $ac_header" >&5
16998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17000 echo $ECHO_N "(cached) $ECHO_C" >&6
17002 eval "$as_ac_Header=\$ac_header_preproc"
17004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17009 cat >>confdefs.h
<<_ACEOF
17010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17018 for ac_header
in unistd.h
17020 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17022 echo "$as_me:$LINENO: checking for $ac_header" >&5
17023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17030 # Is the header compilable?
17031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17033 cat >conftest.
$ac_ext <<_ACEOF
17036 cat confdefs.h
>>conftest.
$ac_ext
17037 cat >>conftest.
$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 $ac_includes_default
17040 #include <$ac_header>
17042 rm -f conftest.
$ac_objext
17043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17044 (eval $ac_compile) 2>conftest.er1
17046 grep -v '^ *+' conftest.er1
>conftest.err
17048 cat conftest.err
>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } &&
17051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } &&
17057 { ac_try
='test -s conftest.$ac_objext'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; }; then
17063 ac_header_compiler
=yes
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.
$ac_ext >&5
17068 ac_header_compiler
=no
17070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17072 echo "${ECHO_T}$ac_header_compiler" >&6
17074 # Is the header present?
17075 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17077 cat >conftest.
$ac_ext <<_ACEOF
17080 cat confdefs.h
>>conftest.
$ac_ext
17081 cat >>conftest.
$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17083 #include <$ac_header>
17085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17088 grep -v '^ *+' conftest.er1
>conftest.err
17090 cat conftest.err
>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } >/dev
/null
; then
17093 if test -s conftest.err
; then
17094 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17095 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17102 if test -z "$ac_cpp_err"; then
17103 ac_header_preproc
=yes
17105 echo "$as_me: failed program was:" >&5
17106 sed 's/^/| /' conftest.
$ac_ext >&5
17108 ac_header_preproc
=no
17110 rm -f conftest.err conftest.
$ac_ext
17111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17112 echo "${ECHO_T}$ac_header_preproc" >&6
17114 # So? What about this header?
17115 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17121 ac_header_preproc
=yes
17124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17138 ## ----------------------------------------- ##
17139 ## Report this to wx-dev@lists.wxwidgets.org ##
17140 ## ----------------------------------------- ##
17143 sed "s/^/$as_me: WARNING: /" >&2
17146 echo "$as_me:$LINENO: checking for $ac_header" >&5
17147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 eval "$as_ac_Header=\$ac_header_preproc"
17153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17158 cat >>confdefs.h
<<_ACEOF
17159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17167 for ac_header
in wchar.h
17169 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17171 echo "$as_me:$LINENO: checking for $ac_header" >&5
17172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17179 # Is the header compilable?
17180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17182 cat >conftest.
$ac_ext <<_ACEOF
17185 cat confdefs.h
>>conftest.
$ac_ext
17186 cat >>conftest.
$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 $ac_includes_default
17189 #include <$ac_header>
17191 rm -f conftest.
$ac_objext
17192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17193 (eval $ac_compile) 2>conftest.er1
17195 grep -v '^ *+' conftest.er1
>conftest.err
17197 cat conftest.err
>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); } &&
17200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; } &&
17206 { ac_try
='test -s conftest.$ac_objext'
17207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 (eval $ac_try) 2>&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); }; }; then
17212 ac_header_compiler
=yes
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.
$ac_ext >&5
17217 ac_header_compiler
=no
17219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17221 echo "${ECHO_T}$ac_header_compiler" >&6
17223 # Is the header present?
17224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #include <$ac_header>
17234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17235 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17237 grep -v '^ *+' conftest.er1
>conftest.err
17239 cat conftest.err
>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } >/dev
/null
; then
17242 if test -s conftest.err
; then
17243 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17244 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17251 if test -z "$ac_cpp_err"; then
17252 ac_header_preproc
=yes
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.
$ac_ext >&5
17257 ac_header_preproc
=no
17259 rm -f conftest.err conftest.
$ac_ext
17260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17261 echo "${ECHO_T}$ac_header_preproc" >&6
17263 # So? What about this header?
17264 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17270 ac_header_preproc
=yes
17273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17277 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17280 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17283 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17287 ## ----------------------------------------- ##
17288 ## Report this to wx-dev@lists.wxwidgets.org ##
17289 ## ----------------------------------------- ##
17292 sed "s/^/$as_me: WARNING: /" >&2
17295 echo "$as_me:$LINENO: checking for $ac_header" >&5
17296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 eval "$as_ac_Header=\$ac_header_preproc"
17302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17307 cat >>confdefs.h
<<_ACEOF
17308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17316 if test "$ac_cv_header_wchar_h" != "yes"; then
17318 for ac_header
in wcstr.h
17320 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17322 echo "$as_me:$LINENO: checking for $ac_header" >&5
17323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17325 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17330 # Is the header compilable?
17331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17333 cat >conftest.
$ac_ext <<_ACEOF
17336 cat confdefs.h
>>conftest.
$ac_ext
17337 cat >>conftest.
$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 $ac_includes_default
17340 #include <$ac_header>
17342 rm -f conftest.
$ac_objext
17343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17344 (eval $ac_compile) 2>conftest.er1
17346 grep -v '^ *+' conftest.er1
>conftest.err
17348 cat conftest.err
>&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } &&
17351 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17353 (eval $ac_try) 2>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); }; } &&
17357 { ac_try
='test -s conftest.$ac_objext'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; }; then
17363 ac_header_compiler
=yes
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.
$ac_ext >&5
17368 ac_header_compiler
=no
17370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17372 echo "${ECHO_T}$ac_header_compiler" >&6
17374 # Is the header present?
17375 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17376 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17377 cat >conftest.
$ac_ext <<_ACEOF
17380 cat confdefs.h
>>conftest.
$ac_ext
17381 cat >>conftest.
$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 #include <$ac_header>
17385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17388 grep -v '^ *+' conftest.er1
>conftest.err
17390 cat conftest.err
>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } >/dev
/null
; then
17393 if test -s conftest.err
; then
17394 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17395 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17402 if test -z "$ac_cpp_err"; then
17403 ac_header_preproc
=yes
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.
$ac_ext >&5
17408 ac_header_preproc
=no
17410 rm -f conftest.err conftest.
$ac_ext
17411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17412 echo "${ECHO_T}$ac_header_preproc" >&6
17414 # So? What about this header?
17415 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17417 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17418 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17420 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17421 ac_header_preproc
=yes
17424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17425 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17427 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17428 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17429 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17430 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17431 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17434 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17435 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17438 ## ----------------------------------------- ##
17439 ## Report this to wx-dev@lists.wxwidgets.org ##
17440 ## ----------------------------------------- ##
17443 sed "s/^/$as_me: WARNING: /" >&2
17446 echo "$as_me:$LINENO: checking for $ac_header" >&5
17447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17449 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 eval "$as_ac_Header=\$ac_header_preproc"
17453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17458 cat >>confdefs.h
<<_ACEOF
17459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17469 for ac_header
in fnmatch.h
17471 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17473 echo "$as_me:$LINENO: checking for $ac_header" >&5
17474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17481 # Is the header compilable?
17482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17484 cat >conftest.
$ac_ext <<_ACEOF
17487 cat confdefs.h
>>conftest.
$ac_ext
17488 cat >>conftest.
$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490 $ac_includes_default
17491 #include <$ac_header>
17493 rm -f conftest.
$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1
>conftest.err
17499 cat conftest.err
>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try
='test -s conftest.$ac_objext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 ac_header_compiler
=yes
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 ac_header_compiler
=no
17521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17523 echo "${ECHO_T}$ac_header_compiler" >&6
17525 # Is the header present?
17526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17528 cat >conftest.
$ac_ext <<_ACEOF
17531 cat confdefs.h
>>conftest.
$ac_ext
17532 cat >>conftest.
$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 #include <$ac_header>
17536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17539 grep -v '^ *+' conftest.er1
>conftest.err
17541 cat conftest.err
>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } >/dev
/null
; then
17544 if test -s conftest.err
; then
17545 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17546 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17553 if test -z "$ac_cpp_err"; then
17554 ac_header_preproc
=yes
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.
$ac_ext >&5
17559 ac_header_preproc
=no
17561 rm -f conftest.err conftest.
$ac_ext
17562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17563 echo "${ECHO_T}$ac_header_preproc" >&6
17565 # So? What about this header?
17566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17572 ac_header_preproc
=yes
17575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17589 ## ----------------------------------------- ##
17590 ## Report this to wx-dev@lists.wxwidgets.org ##
17591 ## ----------------------------------------- ##
17594 sed "s/^/$as_me: WARNING: /" >&2
17597 echo "$as_me:$LINENO: checking for $ac_header" >&5
17598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 eval "$as_ac_Header=\$ac_header_preproc"
17604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17609 cat >>confdefs.h
<<_ACEOF
17610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17619 for ac_header
in langinfo.h
17621 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17623 echo "$as_me:$LINENO: checking for $ac_header" >&5
17624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17631 # Is the header compilable?
17632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17634 cat >conftest.
$ac_ext <<_ACEOF
17637 cat confdefs.h
>>conftest.
$ac_ext
17638 cat >>conftest.
$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 $ac_includes_default
17641 #include <$ac_header>
17643 rm -f conftest.
$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17647 grep -v '^ *+' conftest.er1
>conftest.err
17649 cat conftest.err
>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try
='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_header_compiler
=yes
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.
$ac_ext >&5
17669 ac_header_compiler
=no
17671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17673 echo "${ECHO_T}$ac_header_compiler" >&6
17675 # Is the header present?
17676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17678 cat >conftest.
$ac_ext <<_ACEOF
17681 cat confdefs.h
>>conftest.
$ac_ext
17682 cat >>conftest.
$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 #include <$ac_header>
17686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17687 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17689 grep -v '^ *+' conftest.er1
>conftest.err
17691 cat conftest.err
>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } >/dev
/null
; then
17694 if test -s conftest.err
; then
17695 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17696 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17703 if test -z "$ac_cpp_err"; then
17704 ac_header_preproc
=yes
17706 echo "$as_me: failed program was:" >&5
17707 sed 's/^/| /' conftest.
$ac_ext >&5
17709 ac_header_preproc
=no
17711 rm -f conftest.err conftest.
$ac_ext
17712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17713 echo "${ECHO_T}$ac_header_preproc" >&6
17715 # So? What about this header?
17716 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17722 ac_header_preproc
=yes
17725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17739 ## ----------------------------------------- ##
17740 ## Report this to wx-dev@lists.wxwidgets.org ##
17741 ## ----------------------------------------- ##
17744 sed "s/^/$as_me: WARNING: /" >&2
17747 echo "$as_me:$LINENO: checking for $ac_header" >&5
17748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17750 echo $ECHO_N "(cached) $ECHO_C" >&6
17752 eval "$as_ac_Header=\$ac_header_preproc"
17754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17759 cat >>confdefs.h
<<_ACEOF
17760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17769 *-pc-os2_emx | *-pc-os2-emx )
17770 if test $ac_cv_header_langinfo_h = "yes" \
17771 -a \
( "$wx_cv_gccversion" = "EMX2" \
17772 -o "$wx_cv_gccversion" = "EMX3" \
17773 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17774 LIBS
="$LIBS -lintl"
17779 if test "$USE_UNIX" = 1 ; then
17781 for ac_header
in sys
/select.h
17783 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17785 echo "$as_me:$LINENO: checking for $ac_header" >&5
17786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17793 # Is the header compilable?
17794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17796 cat >conftest.
$ac_ext <<_ACEOF
17799 cat confdefs.h
>>conftest.
$ac_ext
17800 cat >>conftest.
$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 $ac_includes_default
17803 #include <$ac_header>
17805 rm -f conftest.
$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>conftest.er1
17809 grep -v '^ *+' conftest.er1
>conftest.err
17811 cat conftest.err
>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try
='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_header_compiler
=yes
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.
$ac_ext >&5
17831 ac_header_compiler
=no
17833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17835 echo "${ECHO_T}$ac_header_compiler" >&6
17837 # Is the header present?
17838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17840 cat >conftest.
$ac_ext <<_ACEOF
17843 cat confdefs.h
>>conftest.
$ac_ext
17844 cat >>conftest.
$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 #include <$ac_header>
17848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17851 grep -v '^ *+' conftest.er1
>conftest.err
17853 cat conftest.err
>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } >/dev
/null
; then
17856 if test -s conftest.err
; then
17857 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17858 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17865 if test -z "$ac_cpp_err"; then
17866 ac_header_preproc
=yes
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.
$ac_ext >&5
17871 ac_header_preproc
=no
17873 rm -f conftest.err conftest.
$ac_ext
17874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17875 echo "${ECHO_T}$ac_header_preproc" >&6
17877 # So? What about this header?
17878 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17884 ac_header_preproc
=yes
17887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17901 ## ----------------------------------------- ##
17902 ## Report this to wx-dev@lists.wxwidgets.org ##
17903 ## ----------------------------------------- ##
17906 sed "s/^/$as_me: WARNING: /" >&2
17909 echo "$as_me:$LINENO: checking for $ac_header" >&5
17910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17912 echo $ECHO_N "(cached) $ECHO_C" >&6
17914 eval "$as_ac_Header=\$ac_header_preproc"
17916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17921 cat >>confdefs.h
<<_ACEOF
17922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17932 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17933 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17934 if test "${ac_cv_c_const+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17937 cat >conftest.
$ac_ext <<_ACEOF
17940 cat confdefs.h
>>conftest.
$ac_ext
17941 cat >>conftest.
$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17947 /* FIXME: Include the comments suggested by Paul. */
17948 #ifndef __cplusplus
17949 /* Ultrix mips cc rejects this. */
17950 typedef int charset[2];
17952 /* SunOS 4.1.1 cc rejects this. */
17953 char const *const *ccp;
17955 /* NEC SVR4.0.2 mips cc rejects this. */
17956 struct point {int x, y;};
17957 static struct point const zero = {0,0};
17958 /* AIX XL C 1.02.0.0 rejects this.
17959 It does not let you subtract one const X* pointer from another in
17960 an arm of an if-expression whose if-part is not a constant
17962 const char *g = "string";
17963 ccp = &g + (g ? g-g : 0);
17964 /* HPUX 7.0 cc rejects these. */
17967 ccp = (char const *const *) p;
17968 { /* SCO 3.2v4 cc rejects this. */
17970 char const *s = 0 ? (char *) 0 : (char const *) 0;
17974 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17975 int x[] = {25, 17};
17976 const int *foo = &x[0];
17979 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17980 typedef const int *iptr;
17984 { /* AIX XL C 1.02.0.0 rejects this saying
17985 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17986 struct s { int j; const int *ap[3]; };
17987 struct s *b; b->j = 5;
17989 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17990 const int foo = 10;
17998 rm -f conftest.
$ac_objext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18000 (eval $ac_compile) 2>conftest.er1
18002 grep -v '^ *+' conftest.er1
>conftest.err
18004 cat conftest.err
>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; } &&
18013 { ac_try
='test -s conftest.$ac_objext'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; }; then
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.
$ac_ext >&5
18026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18028 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18029 echo "${ECHO_T}$ac_cv_c_const" >&6
18030 if test $ac_cv_c_const = no
; then
18032 cat >>confdefs.h
<<\_ACEOF
18038 echo "$as_me:$LINENO: checking for inline" >&5
18039 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18040 if test "${ac_cv_c_inline+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 for ac_kw
in inline __inline__ __inline
; do
18045 cat >conftest.
$ac_ext <<_ACEOF
18048 cat confdefs.h
>>conftest.
$ac_ext
18049 cat >>conftest.
$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #ifndef __cplusplus
18053 static $ac_kw foo_t static_foo () {return 0; }
18054 $ac_kw foo_t foo () {return 0; }
18058 rm -f conftest.
$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1
>conftest.err
18064 cat conftest.err
>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try
='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_cv_c_inline
=$ac_kw; break
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.
$ac_ext >&5
18085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18089 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18090 echo "${ECHO_T}$ac_cv_c_inline" >&6
18093 case $ac_cv_c_inline in
18096 case $ac_cv_c_inline in
18098 *) ac_val
=$ac_cv_c_inline;;
18100 cat >>confdefs.h
<<_ACEOF
18101 #ifndef __cplusplus
18102 #define inline $ac_val
18109 echo "$as_me:$LINENO: checking for char" >&5
18110 echo $ECHO_N "checking for char... $ECHO_C" >&6
18111 if test "${ac_cv_type_char+set}" = set; then
18112 echo $ECHO_N "(cached) $ECHO_C" >&6
18114 cat >conftest.
$ac_ext <<_ACEOF
18117 cat confdefs.h
>>conftest.
$ac_ext
18118 cat >>conftest.
$ac_ext <<_ACEOF
18119 /* end confdefs.h. */
18120 $ac_includes_default
18132 rm -f conftest.
$ac_objext
18133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18134 (eval $ac_compile) 2>conftest.er1
18136 grep -v '^ *+' conftest.er1
>conftest.err
18138 cat conftest.err
>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } &&
18141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; } &&
18147 { ac_try
='test -s conftest.$ac_objext'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; }; then
18153 ac_cv_type_char
=yes
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.
$ac_ext >&5
18160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18162 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18163 echo "${ECHO_T}$ac_cv_type_char" >&6
18165 echo "$as_me:$LINENO: checking size of char" >&5
18166 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18167 if test "${ac_cv_sizeof_char+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 if test "$ac_cv_type_char" = yes; then
18171 # The cast to unsigned long works around a bug in the HP C Compiler
18172 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18174 # This bug is HP SR number 8606223364.
18175 if test "$cross_compiling" = yes; then
18176 # Depending upon the size, compute the lo and hi bounds.
18177 cat >conftest.
$ac_ext <<_ACEOF
18180 cat confdefs.h
>>conftest.
$ac_ext
18181 cat >>conftest.
$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 $ac_includes_default
18187 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18194 rm -f conftest.
$ac_objext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18196 (eval $ac_compile) 2>conftest.er1
18198 grep -v '^ *+' conftest.er1
>conftest.err
18200 cat conftest.err
>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; } &&
18209 { ac_try
='test -s conftest.$ac_objext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18217 cat >conftest.
$ac_ext <<_ACEOF
18220 cat confdefs.h
>>conftest.
$ac_ext
18221 cat >>conftest.
$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223 $ac_includes_default
18227 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18234 rm -f conftest.
$ac_objext
18235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18236 (eval $ac_compile) 2>conftest.er1
18238 grep -v '^ *+' conftest.er1
>conftest.err
18240 cat conftest.err
>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }; } &&
18249 { ac_try
='test -s conftest.$ac_objext'
18250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18251 (eval $ac_try) 2>&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); }; }; then
18255 ac_hi
=$ac_mid; break
18257 echo "$as_me: failed program was:" >&5
18258 sed 's/^/| /' conftest.
$ac_ext >&5
18260 ac_lo
=`expr $ac_mid + 1`
18261 if test $ac_lo -le $ac_mid; then
18265 ac_mid
=`expr 2 '*' $ac_mid + 1`
18267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.
$ac_ext >&5
18273 cat >conftest.
$ac_ext <<_ACEOF
18276 cat confdefs.h
>>conftest.
$ac_ext
18277 cat >>conftest.
$ac_ext <<_ACEOF
18278 /* end confdefs.h. */
18279 $ac_includes_default
18283 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18290 rm -f conftest.
$ac_objext
18291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18292 (eval $ac_compile) 2>conftest.er1
18294 grep -v '^ *+' conftest.er1
>conftest.err
18296 cat conftest.err
>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } &&
18299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18301 (eval $ac_try) 2>&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); }; } &&
18305 { ac_try
='test -s conftest.$ac_objext'
18306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18307 (eval $ac_try) 2>&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); }; }; then
18313 cat >conftest.
$ac_ext <<_ACEOF
18316 cat confdefs.h
>>conftest.
$ac_ext
18317 cat >>conftest.
$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 $ac_includes_default
18323 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18330 rm -f conftest.
$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>conftest.er1
18334 grep -v '^ *+' conftest.er1
>conftest.err
18336 cat conftest.err
>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; } &&
18345 { ac_try
='test -s conftest.$ac_objext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 ac_lo
=$ac_mid; break
18353 echo "$as_me: failed program was:" >&5
18354 sed 's/^/| /' conftest.
$ac_ext >&5
18356 ac_hi
=`expr '(' $ac_mid ')' - 1`
18357 if test $ac_mid -le $ac_hi; then
18361 ac_mid
=`expr 2 '*' $ac_mid`
18363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.
$ac_ext >&5
18371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18374 # Binary search between lo and hi bounds.
18375 while test "x$ac_lo" != "x$ac_hi"; do
18376 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18377 cat >conftest.
$ac_ext <<_ACEOF
18380 cat confdefs.h
>>conftest.
$ac_ext
18381 cat >>conftest.
$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 $ac_includes_default
18387 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18394 rm -f conftest.
$ac_objext
18395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18396 (eval $ac_compile) 2>conftest.er1
18398 grep -v '^ *+' conftest.er1
>conftest.err
18400 cat conftest.err
>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } &&
18403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; } &&
18409 { ac_try
='test -s conftest.$ac_objext'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; }; then
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.
$ac_ext >&5
18420 ac_lo
=`expr '(' $ac_mid ')' + 1`
18422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18425 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18426 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18427 See \`config.log' for more details." >&5
18428 echo "$as_me: error: cannot compute sizeof (char), 77
18429 See \`config.log' for more details." >&2;}
18430 { (exit 1); exit 1; }; } ;;
18433 if test "$cross_compiling" = yes; then
18434 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18435 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18436 { (exit 1); exit 1; }; }
18438 cat >conftest.
$ac_ext <<_ACEOF
18441 cat confdefs.h
>>conftest.
$ac_ext
18442 cat >>conftest.
$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444 $ac_includes_default
18445 long longval () { return (long) (sizeof (char)); }
18446 unsigned long ulongval () { return (long) (sizeof (char)); }
18448 #include <stdlib.h>
18453 FILE *f = fopen ("conftest.val", "w");
18456 if (((long) (sizeof (char))) < 0)
18458 long i = longval ();
18459 if (i != ((long) (sizeof (char))))
18461 fprintf (f, "%ld\n", i);
18465 unsigned long i = ulongval ();
18466 if (i != ((long) (sizeof (char))))
18468 fprintf (f, "%lu\n", i);
18470 exit (ferror (f) || fclose (f) != 0);
18476 rm -f conftest
$ac_exeext
18477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18478 (eval $ac_link) 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_cv_sizeof_char
=`cat conftest.val`
18489 echo "$as_me: program exited with status $ac_status" >&5
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.
$ac_ext >&5
18493 ( exit $ac_status )
18494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18495 See \`config.log' for more details." >&5
18496 echo "$as_me: error: cannot compute sizeof (char), 77
18497 See \`config.log' for more details." >&2;}
18498 { (exit 1); exit 1; }; }
18500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18505 ac_cv_sizeof_char
=0
18508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18509 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18510 cat >>confdefs.h
<<_ACEOF
18511 #define SIZEOF_CHAR $ac_cv_sizeof_char
18515 echo "$as_me:$LINENO: checking for short" >&5
18516 echo $ECHO_N "checking for short... $ECHO_C" >&6
18517 if test "${ac_cv_type_short+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 cat >conftest.
$ac_ext <<_ACEOF
18523 cat confdefs.h
>>conftest.
$ac_ext
18524 cat >>conftest.
$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526 $ac_includes_default
18532 if (sizeof (short))
18538 rm -f conftest.
$ac_objext
18539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18540 (eval $ac_compile) 2>conftest.er1
18542 grep -v '^ *+' conftest.er1
>conftest.err
18544 cat conftest.err
>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } &&
18547 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; } &&
18553 { ac_try
='test -s conftest.$ac_objext'
18554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18555 (eval $ac_try) 2>&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); }; }; then
18559 ac_cv_type_short
=yes
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.
$ac_ext >&5
18564 ac_cv_type_short
=no
18566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18568 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18569 echo "${ECHO_T}$ac_cv_type_short" >&6
18571 echo "$as_me:$LINENO: checking size of short" >&5
18572 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18573 if test "${ac_cv_sizeof_short+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 if test "$ac_cv_type_short" = yes; then
18577 # The cast to unsigned long works around a bug in the HP C Compiler
18578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18580 # This bug is HP SR number 8606223364.
18581 if test "$cross_compiling" = yes; then
18582 # Depending upon the size, compute the lo and hi bounds.
18583 cat >conftest.
$ac_ext <<_ACEOF
18586 cat confdefs.h
>>conftest.
$ac_ext
18587 cat >>conftest.
$ac_ext <<_ACEOF
18588 /* end confdefs.h. */
18589 $ac_includes_default
18593 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18600 rm -f conftest.
$ac_objext
18601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18602 (eval $ac_compile) 2>conftest.er1
18604 grep -v '^ *+' conftest.er1
>conftest.err
18606 cat conftest.err
>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); } &&
18609 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; } &&
18615 { ac_try
='test -s conftest.$ac_objext'
18616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617 (eval $ac_try) 2>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); }; }; then
18623 cat >conftest.
$ac_ext <<_ACEOF
18626 cat confdefs.h
>>conftest.
$ac_ext
18627 cat >>conftest.
$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18629 $ac_includes_default
18633 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18640 rm -f conftest.
$ac_objext
18641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18642 (eval $ac_compile) 2>conftest.er1
18644 grep -v '^ *+' conftest.er1
>conftest.err
18646 cat conftest.err
>&5
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); } &&
18649 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18651 (eval $ac_try) 2>&5
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); }; } &&
18655 { ac_try
='test -s conftest.$ac_objext'
18656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18657 (eval $ac_try) 2>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); }; }; then
18661 ac_hi
=$ac_mid; break
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.
$ac_ext >&5
18666 ac_lo
=`expr $ac_mid + 1`
18667 if test $ac_lo -le $ac_mid; then
18671 ac_mid
=`expr 2 '*' $ac_mid + 1`
18673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.
$ac_ext >&5
18679 cat >conftest.
$ac_ext <<_ACEOF
18682 cat confdefs.h
>>conftest.
$ac_ext
18683 cat >>conftest.
$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18685 $ac_includes_default
18689 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18696 rm -f conftest.
$ac_objext
18697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18698 (eval $ac_compile) 2>conftest.er1
18700 grep -v '^ *+' conftest.er1
>conftest.err
18702 cat conftest.err
>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; } &&
18711 { ac_try
='test -s conftest.$ac_objext'
18712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18713 (eval $ac_try) 2>&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; }; then
18719 cat >conftest.
$ac_ext <<_ACEOF
18722 cat confdefs.h
>>conftest.
$ac_ext
18723 cat >>conftest.
$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 $ac_includes_default
18729 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18736 rm -f conftest.
$ac_objext
18737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18738 (eval $ac_compile) 2>conftest.er1
18740 grep -v '^ *+' conftest.er1
>conftest.err
18742 cat conftest.err
>&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } &&
18745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18747 (eval $ac_try) 2>&5
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); }; } &&
18751 { ac_try
='test -s conftest.$ac_objext'
18752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18753 (eval $ac_try) 2>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); }; }; then
18757 ac_lo
=$ac_mid; break
18759 echo "$as_me: failed program was:" >&5
18760 sed 's/^/| /' conftest.
$ac_ext >&5
18762 ac_hi
=`expr '(' $ac_mid ')' - 1`
18763 if test $ac_mid -le $ac_hi; then
18767 ac_mid
=`expr 2 '*' $ac_mid`
18769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18780 # Binary search between lo and hi bounds.
18781 while test "x$ac_lo" != "x$ac_hi"; do
18782 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18783 cat >conftest.
$ac_ext <<_ACEOF
18786 cat confdefs.h
>>conftest.
$ac_ext
18787 cat >>conftest.
$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18789 $ac_includes_default
18793 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18800 rm -f conftest.
$ac_objext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18802 (eval $ac_compile) 2>conftest.er1
18804 grep -v '^ *+' conftest.er1
>conftest.err
18806 cat conftest.err
>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; } &&
18815 { ac_try
='test -s conftest.$ac_objext'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.
$ac_ext >&5
18826 ac_lo
=`expr '(' $ac_mid ')' + 1`
18828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18831 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18832 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18833 See \`config.log' for more details." >&5
18834 echo "$as_me: error: cannot compute sizeof (short), 77
18835 See \`config.log' for more details." >&2;}
18836 { (exit 1); exit 1; }; } ;;
18839 if test "$cross_compiling" = yes; then
18840 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18841 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18842 { (exit 1); exit 1; }; }
18844 cat >conftest.
$ac_ext <<_ACEOF
18847 cat confdefs.h
>>conftest.
$ac_ext
18848 cat >>conftest.
$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 $ac_includes_default
18851 long longval () { return (long) (sizeof (short)); }
18852 unsigned long ulongval () { return (long) (sizeof (short)); }
18854 #include <stdlib.h>
18859 FILE *f = fopen ("conftest.val", "w");
18862 if (((long) (sizeof (short))) < 0)
18864 long i = longval ();
18865 if (i != ((long) (sizeof (short))))
18867 fprintf (f, "%ld\n", i);
18871 unsigned long i = ulongval ();
18872 if (i != ((long) (sizeof (short))))
18874 fprintf (f, "%lu\n", i);
18876 exit (ferror (f) || fclose (f) != 0);
18882 rm -f conftest
$ac_exeext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18884 (eval $ac_link) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; }; then
18893 ac_cv_sizeof_short
=`cat conftest.val`
18895 echo "$as_me: program exited with status $ac_status" >&5
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.
$ac_ext >&5
18899 ( exit $ac_status )
18900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18901 See \`config.log' for more details." >&5
18902 echo "$as_me: error: cannot compute sizeof (short), 77
18903 See \`config.log' for more details." >&2;}
18904 { (exit 1); exit 1; }; }
18906 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18911 ac_cv_sizeof_short
=0
18914 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18915 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18916 cat >>confdefs.h
<<_ACEOF
18917 #define SIZEOF_SHORT $ac_cv_sizeof_short
18921 echo "$as_me:$LINENO: checking for void *" >&5
18922 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18923 if test "${ac_cv_type_void_p+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 cat >conftest.
$ac_ext <<_ACEOF
18929 cat confdefs.h
>>conftest.
$ac_ext
18930 cat >>conftest.
$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 $ac_includes_default
18938 if (sizeof (void *))
18944 rm -f conftest.
$ac_objext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18946 (eval $ac_compile) 2>conftest.er1
18948 grep -v '^ *+' conftest.er1
>conftest.err
18950 cat conftest.err
>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; } &&
18959 { ac_try
='test -s conftest.$ac_objext'
18960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18961 (eval $ac_try) 2>&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); }; }; then
18965 ac_cv_type_void_p
=yes
18967 echo "$as_me: failed program was:" >&5
18968 sed 's/^/| /' conftest.
$ac_ext >&5
18970 ac_cv_type_void_p
=no
18972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18974 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18975 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18977 echo "$as_me:$LINENO: checking size of void *" >&5
18978 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18979 if test "${ac_cv_sizeof_void_p+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 if test "$ac_cv_type_void_p" = yes; then
18983 # The cast to unsigned long works around a bug in the HP C Compiler
18984 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18985 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18986 # This bug is HP SR number 8606223364.
18987 if test "$cross_compiling" = yes; then
18988 # Depending upon the size, compute the lo and hi bounds.
18989 cat >conftest.
$ac_ext <<_ACEOF
18992 cat confdefs.h
>>conftest.
$ac_ext
18993 cat >>conftest.
$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 $ac_includes_default
18999 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19006 rm -f conftest.
$ac_objext
19007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19008 (eval $ac_compile) 2>conftest.er1
19010 grep -v '^ *+' conftest.er1
>conftest.err
19012 cat conftest.err
>&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } &&
19015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; } &&
19021 { ac_try
='test -s conftest.$ac_objext'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; }; then
19029 cat >conftest.
$ac_ext <<_ACEOF
19032 cat confdefs.h
>>conftest.
$ac_ext
19033 cat >>conftest.
$ac_ext <<_ACEOF
19034 /* end confdefs.h. */
19035 $ac_includes_default
19039 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19046 rm -f conftest.
$ac_objext
19047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19048 (eval $ac_compile) 2>conftest.er1
19050 grep -v '^ *+' conftest.er1
>conftest.err
19052 cat conftest.err
>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } &&
19055 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; } &&
19061 { ac_try
='test -s conftest.$ac_objext'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; }; then
19067 ac_hi
=$ac_mid; break
19069 echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.
$ac_ext >&5
19072 ac_lo
=`expr $ac_mid + 1`
19073 if test $ac_lo -le $ac_mid; then
19077 ac_mid
=`expr 2 '*' $ac_mid + 1`
19079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.
$ac_ext >&5
19085 cat >conftest.
$ac_ext <<_ACEOF
19088 cat confdefs.h
>>conftest.
$ac_ext
19089 cat >>conftest.
$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19091 $ac_includes_default
19095 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19102 rm -f conftest.
$ac_objext
19103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19104 (eval $ac_compile) 2>conftest.er1
19106 grep -v '^ *+' conftest.er1
>conftest.err
19108 cat conftest.err
>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } &&
19111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; } &&
19117 { ac_try
='test -s conftest.$ac_objext'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19125 cat >conftest.
$ac_ext <<_ACEOF
19128 cat confdefs.h
>>conftest.
$ac_ext
19129 cat >>conftest.
$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 $ac_includes_default
19135 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19142 rm -f conftest.
$ac_objext
19143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144 (eval $ac_compile) 2>conftest.er1
19146 grep -v '^ *+' conftest.er1
>conftest.err
19148 cat conftest.err
>&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } &&
19151 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19153 (eval $ac_try) 2>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; } &&
19157 { ac_try
='test -s conftest.$ac_objext'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; }; then
19163 ac_lo
=$ac_mid; break
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.
$ac_ext >&5
19168 ac_hi
=`expr '(' $ac_mid ')' - 1`
19169 if test $ac_mid -le $ac_hi; then
19173 ac_mid
=`expr 2 '*' $ac_mid`
19175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.
$ac_ext >&5
19183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19186 # Binary search between lo and hi bounds.
19187 while test "x$ac_lo" != "x$ac_hi"; do
19188 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19189 cat >conftest.
$ac_ext <<_ACEOF
19192 cat confdefs.h
>>conftest.
$ac_ext
19193 cat >>conftest.
$ac_ext <<_ACEOF
19194 /* end confdefs.h. */
19195 $ac_includes_default
19199 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19206 rm -f conftest.
$ac_objext
19207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19208 (eval $ac_compile) 2>conftest.er1
19210 grep -v '^ *+' conftest.er1
>conftest.err
19212 cat conftest.err
>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } &&
19215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try
='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.
$ac_ext >&5
19232 ac_lo
=`expr '(' $ac_mid ')' + 1`
19234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19237 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19239 See \`config.log' for more details." >&5
19240 echo "$as_me: error: cannot compute sizeof (void *), 77
19241 See \`config.log' for more details." >&2;}
19242 { (exit 1); exit 1; }; } ;;
19245 if test "$cross_compiling" = yes; then
19246 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19247 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19248 { (exit 1); exit 1; }; }
19250 cat >conftest.
$ac_ext <<_ACEOF
19253 cat confdefs.h
>>conftest.
$ac_ext
19254 cat >>conftest.
$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19256 $ac_includes_default
19257 long longval () { return (long) (sizeof (void *)); }
19258 unsigned long ulongval () { return (long) (sizeof (void *)); }
19260 #include <stdlib.h>
19265 FILE *f = fopen ("conftest.val", "w");
19268 if (((long) (sizeof (void *))) < 0)
19270 long i = longval ();
19271 if (i != ((long) (sizeof (void *))))
19273 fprintf (f, "%ld\n", i);
19277 unsigned long i = ulongval ();
19278 if (i != ((long) (sizeof (void *))))
19280 fprintf (f, "%lu\n", i);
19282 exit (ferror (f) || fclose (f) != 0);
19288 rm -f conftest
$ac_exeext
19289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19290 (eval $ac_link) 2>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; }; then
19299 ac_cv_sizeof_void_p
=`cat conftest.val`
19301 echo "$as_me: program exited with status $ac_status" >&5
19302 echo "$as_me: failed program was:" >&5
19303 sed 's/^/| /' conftest.
$ac_ext >&5
19305 ( exit $ac_status )
19306 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19307 See \`config.log' for more details." >&5
19308 echo "$as_me: error: cannot compute sizeof (void *), 77
19309 See \`config.log' for more details." >&2;}
19310 { (exit 1); exit 1; }; }
19312 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19317 ac_cv_sizeof_void_p
=0
19320 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19321 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19322 cat >>confdefs.h
<<_ACEOF
19323 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19327 echo "$as_me:$LINENO: checking for int" >&5
19328 echo $ECHO_N "checking for int... $ECHO_C" >&6
19329 if test "${ac_cv_type_int+set}" = set; then
19330 echo $ECHO_N "(cached) $ECHO_C" >&6
19332 cat >conftest.
$ac_ext <<_ACEOF
19335 cat confdefs.h
>>conftest.
$ac_ext
19336 cat >>conftest.
$ac_ext <<_ACEOF
19337 /* end confdefs.h. */
19338 $ac_includes_default
19350 rm -f conftest.
$ac_objext
19351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19352 (eval $ac_compile) 2>conftest.er1
19354 grep -v '^ *+' conftest.er1
>conftest.err
19356 cat conftest.err
>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); } &&
19359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try
='test -s conftest.$ac_objext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.
$ac_ext >&5
19378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19380 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19381 echo "${ECHO_T}$ac_cv_type_int" >&6
19383 echo "$as_me:$LINENO: checking size of int" >&5
19384 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19385 if test "${ac_cv_sizeof_int+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19388 if test "$ac_cv_type_int" = yes; then
19389 # The cast to unsigned long works around a bug in the HP C Compiler
19390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19392 # This bug is HP SR number 8606223364.
19393 if test "$cross_compiling" = yes; then
19394 # Depending upon the size, compute the lo and hi bounds.
19395 cat >conftest.
$ac_ext <<_ACEOF
19398 cat confdefs.h
>>conftest.
$ac_ext
19399 cat >>conftest.
$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401 $ac_includes_default
19405 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19412 rm -f conftest.
$ac_objext
19413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19414 (eval $ac_compile) 2>conftest.er1
19416 grep -v '^ *+' conftest.er1
>conftest.err
19418 cat conftest.err
>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } &&
19421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; } &&
19427 { ac_try
='test -s conftest.$ac_objext'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; }; then
19435 cat >conftest.
$ac_ext <<_ACEOF
19438 cat confdefs.h
>>conftest.
$ac_ext
19439 cat >>conftest.
$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 $ac_includes_default
19445 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19452 rm -f conftest.
$ac_objext
19453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19454 (eval $ac_compile) 2>conftest.er1
19456 grep -v '^ *+' conftest.er1
>conftest.err
19458 cat conftest.err
>&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); } &&
19461 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; } &&
19467 { ac_try
='test -s conftest.$ac_objext'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; }; then
19473 ac_hi
=$ac_mid; break
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.
$ac_ext >&5
19478 ac_lo
=`expr $ac_mid + 1`
19479 if test $ac_lo -le $ac_mid; then
19483 ac_mid
=`expr 2 '*' $ac_mid + 1`
19485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.
$ac_ext >&5
19491 cat >conftest.
$ac_ext <<_ACEOF
19494 cat confdefs.h
>>conftest.
$ac_ext
19495 cat >>conftest.
$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 $ac_includes_default
19501 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19508 rm -f conftest.
$ac_objext
19509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19510 (eval $ac_compile) 2>conftest.er1
19512 grep -v '^ *+' conftest.er1
>conftest.err
19514 cat conftest.err
>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } &&
19517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; } &&
19523 { ac_try
='test -s conftest.$ac_objext'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; }; then
19531 cat >conftest.
$ac_ext <<_ACEOF
19534 cat confdefs.h
>>conftest.
$ac_ext
19535 cat >>conftest.
$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 $ac_includes_default
19541 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19548 rm -f conftest.
$ac_objext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19550 (eval $ac_compile) 2>conftest.er1
19552 grep -v '^ *+' conftest.er1
>conftest.err
19554 cat conftest.err
>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } &&
19557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; } &&
19563 { ac_try
='test -s conftest.$ac_objext'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; }; then
19569 ac_lo
=$ac_mid; break
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.
$ac_ext >&5
19574 ac_hi
=`expr '(' $ac_mid ')' - 1`
19575 if test $ac_mid -le $ac_hi; then
19579 ac_mid
=`expr 2 '*' $ac_mid`
19581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.
$ac_ext >&5
19589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19592 # Binary search between lo and hi bounds.
19593 while test "x$ac_lo" != "x$ac_hi"; do
19594 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19595 cat >conftest.
$ac_ext <<_ACEOF
19598 cat confdefs.h
>>conftest.
$ac_ext
19599 cat >>conftest.
$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 $ac_includes_default
19605 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19612 rm -f conftest.
$ac_objext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614 (eval $ac_compile) 2>conftest.er1
19616 grep -v '^ *+' conftest.er1
>conftest.err
19618 cat conftest.err
>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } &&
19621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; } &&
19627 { ac_try
='test -s conftest.$ac_objext'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; }; then
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.
$ac_ext >&5
19638 ac_lo
=`expr '(' $ac_mid ')' + 1`
19640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19643 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19644 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19645 See \`config.log' for more details." >&5
19646 echo "$as_me: error: cannot compute sizeof (int), 77
19647 See \`config.log' for more details." >&2;}
19648 { (exit 1); exit 1; }; } ;;
19651 if test "$cross_compiling" = yes; then
19652 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19653 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19654 { (exit 1); exit 1; }; }
19656 cat >conftest.
$ac_ext <<_ACEOF
19659 cat confdefs.h
>>conftest.
$ac_ext
19660 cat >>conftest.
$ac_ext <<_ACEOF
19661 /* end confdefs.h. */
19662 $ac_includes_default
19663 long longval () { return (long) (sizeof (int)); }
19664 unsigned long ulongval () { return (long) (sizeof (int)); }
19666 #include <stdlib.h>
19671 FILE *f = fopen ("conftest.val", "w");
19674 if (((long) (sizeof (int))) < 0)
19676 long i = longval ();
19677 if (i != ((long) (sizeof (int))))
19679 fprintf (f, "%ld\n", i);
19683 unsigned long i = ulongval ();
19684 if (i != ((long) (sizeof (int))))
19686 fprintf (f, "%lu\n", i);
19688 exit (ferror (f) || fclose (f) != 0);
19694 rm -f conftest
$ac_exeext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19696 (eval $ac_link) 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701 (eval $ac_try) 2>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); }; }; then
19705 ac_cv_sizeof_int
=`cat conftest.val`
19707 echo "$as_me: program exited with status $ac_status" >&5
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.
$ac_ext >&5
19711 ( exit $ac_status )
19712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19713 See \`config.log' for more details." >&5
19714 echo "$as_me: error: cannot compute sizeof (int), 77
19715 See \`config.log' for more details." >&2;}
19716 { (exit 1); exit 1; }; }
19718 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19726 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19727 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19728 cat >>confdefs.h
<<_ACEOF
19729 #define SIZEOF_INT $ac_cv_sizeof_int
19733 echo "$as_me:$LINENO: checking for long" >&5
19734 echo $ECHO_N "checking for long... $ECHO_C" >&6
19735 if test "${ac_cv_type_long+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 cat >conftest.
$ac_ext <<_ACEOF
19741 cat confdefs.h
>>conftest.
$ac_ext
19742 cat >>conftest.
$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 $ac_includes_default
19756 rm -f conftest.
$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>conftest.er1
19760 grep -v '^ *+' conftest.er1
>conftest.err
19762 cat conftest.err
>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; } &&
19771 { ac_try
='test -s conftest.$ac_objext'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 ac_cv_type_long
=yes
19779 echo "$as_me: failed program was:" >&5
19780 sed 's/^/| /' conftest.
$ac_ext >&5
19784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19786 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19787 echo "${ECHO_T}$ac_cv_type_long" >&6
19789 echo "$as_me:$LINENO: checking size of long" >&5
19790 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19791 if test "${ac_cv_sizeof_long+set}" = set; then
19792 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 if test "$ac_cv_type_long" = yes; then
19795 # The cast to unsigned long works around a bug in the HP C Compiler
19796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19798 # This bug is HP SR number 8606223364.
19799 if test "$cross_compiling" = yes; then
19800 # Depending upon the size, compute the lo and hi bounds.
19801 cat >conftest.
$ac_ext <<_ACEOF
19804 cat confdefs.h
>>conftest.
$ac_ext
19805 cat >>conftest.
$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 $ac_includes_default
19811 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19818 rm -f conftest.
$ac_objext
19819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19820 (eval $ac_compile) 2>conftest.er1
19822 grep -v '^ *+' conftest.er1
>conftest.err
19824 cat conftest.err
>&5
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); } &&
19827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19829 (eval $ac_try) 2>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; } &&
19833 { ac_try
='test -s conftest.$ac_objext'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; }; then
19841 cat >conftest.
$ac_ext <<_ACEOF
19844 cat confdefs.h
>>conftest.
$ac_ext
19845 cat >>conftest.
$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 $ac_includes_default
19851 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19858 rm -f conftest.
$ac_objext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19860 (eval $ac_compile) 2>conftest.er1
19862 grep -v '^ *+' conftest.er1
>conftest.err
19864 cat conftest.err
>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; } &&
19873 { ac_try
='test -s conftest.$ac_objext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 ac_hi
=$ac_mid; break
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.
$ac_ext >&5
19884 ac_lo
=`expr $ac_mid + 1`
19885 if test $ac_lo -le $ac_mid; then
19889 ac_mid
=`expr 2 '*' $ac_mid + 1`
19891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.
$ac_ext >&5
19897 cat >conftest.
$ac_ext <<_ACEOF
19900 cat confdefs.h
>>conftest.
$ac_ext
19901 cat >>conftest.
$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 $ac_includes_default
19907 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19914 rm -f conftest.
$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19918 grep -v '^ *+' conftest.er1
>conftest.err
19920 cat conftest.err
>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; } &&
19929 { ac_try
='test -s conftest.$ac_objext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19937 cat >conftest.
$ac_ext <<_ACEOF
19940 cat confdefs.h
>>conftest.
$ac_ext
19941 cat >>conftest.
$ac_ext <<_ACEOF
19942 /* end confdefs.h. */
19943 $ac_includes_default
19947 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19954 rm -f conftest.
$ac_objext
19955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19956 (eval $ac_compile) 2>conftest.er1
19958 grep -v '^ *+' conftest.er1
>conftest.err
19960 cat conftest.err
>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } &&
19963 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try
='test -s conftest.$ac_objext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 ac_lo
=$ac_mid; break
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.
$ac_ext >&5
19980 ac_hi
=`expr '(' $ac_mid ')' - 1`
19981 if test $ac_mid -le $ac_hi; then
19985 ac_mid
=`expr 2 '*' $ac_mid`
19987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.
$ac_ext >&5
19995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19998 # Binary search between lo and hi bounds.
19999 while test "x$ac_lo" != "x$ac_hi"; do
20000 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20001 cat >conftest.
$ac_ext <<_ACEOF
20004 cat confdefs.h
>>conftest.
$ac_ext
20005 cat >>conftest.
$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 $ac_includes_default
20011 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20018 rm -f conftest.
$ac_objext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20020 (eval $ac_compile) 2>conftest.er1
20022 grep -v '^ *+' conftest.er1
>conftest.err
20024 cat conftest.err
>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; } &&
20033 { ac_try
='test -s conftest.$ac_objext'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; }; then
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.
$ac_ext >&5
20044 ac_lo
=`expr '(' $ac_mid ')' + 1`
20046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20049 ?
*) ac_cv_sizeof_long
=$ac_lo;;
20050 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20051 See \`config.log' for more details." >&5
20052 echo "$as_me: error: cannot compute sizeof (long), 77
20053 See \`config.log' for more details." >&2;}
20054 { (exit 1); exit 1; }; } ;;
20057 if test "$cross_compiling" = yes; then
20058 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20059 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20060 { (exit 1); exit 1; }; }
20062 cat >conftest.
$ac_ext <<_ACEOF
20065 cat confdefs.h
>>conftest.
$ac_ext
20066 cat >>conftest.
$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20068 $ac_includes_default
20069 long longval () { return (long) (sizeof (long)); }
20070 unsigned long ulongval () { return (long) (sizeof (long)); }
20072 #include <stdlib.h>
20077 FILE *f = fopen ("conftest.val", "w");
20080 if (((long) (sizeof (long))) < 0)
20082 long i = longval ();
20083 if (i != ((long) (sizeof (long))))
20085 fprintf (f, "%ld\n", i);
20089 unsigned long i = ulongval ();
20090 if (i != ((long) (sizeof (long))))
20092 fprintf (f, "%lu\n", i);
20094 exit (ferror (f) || fclose (f) != 0);
20100 rm -f conftest
$ac_exeext
20101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20102 (eval $ac_link) 2>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 ac_cv_sizeof_long
=`cat conftest.val`
20113 echo "$as_me: program exited with status $ac_status" >&5
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.
$ac_ext >&5
20117 ( exit $ac_status )
20118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20119 See \`config.log' for more details." >&5
20120 echo "$as_me: error: cannot compute sizeof (long), 77
20121 See \`config.log' for more details." >&2;}
20122 { (exit 1); exit 1; }; }
20124 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20129 ac_cv_sizeof_long
=0
20132 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20133 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20134 cat >>confdefs.h
<<_ACEOF
20135 #define SIZEOF_LONG $ac_cv_sizeof_long
20139 echo "$as_me:$LINENO: checking for size_t" >&5
20140 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20141 if test "${ac_cv_type_size_t+set}" = set; then
20142 echo $ECHO_N "(cached) $ECHO_C" >&6
20144 cat >conftest.
$ac_ext <<_ACEOF
20147 cat confdefs.h
>>conftest.
$ac_ext
20148 cat >>conftest.
$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20150 $ac_includes_default
20156 if (sizeof (size_t))
20162 rm -f conftest.
$ac_objext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20164 (eval $ac_compile) 2>conftest.er1
20166 grep -v '^ *+' conftest.er1
>conftest.err
20168 cat conftest.err
>&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } &&
20171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; } &&
20177 { ac_try
='test -s conftest.$ac_objext'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; }; then
20183 ac_cv_type_size_t
=yes
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.
$ac_ext >&5
20188 ac_cv_type_size_t
=no
20190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20192 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20193 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20195 echo "$as_me:$LINENO: checking size of size_t" >&5
20196 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20197 if test "${ac_cv_sizeof_size_t+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 if test "$ac_cv_type_size_t" = yes; then
20201 # The cast to unsigned long works around a bug in the HP C Compiler
20202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20204 # This bug is HP SR number 8606223364.
20205 if test "$cross_compiling" = yes; then
20206 # Depending upon the size, compute the lo and hi bounds.
20207 cat >conftest.
$ac_ext <<_ACEOF
20210 cat confdefs.h
>>conftest.
$ac_ext
20211 cat >>conftest.
$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20217 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20224 rm -f conftest.
$ac_objext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20226 (eval $ac_compile) 2>conftest.er1
20228 grep -v '^ *+' conftest.er1
>conftest.err
20230 cat conftest.err
>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; } &&
20239 { ac_try
='test -s conftest.$ac_objext'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; }; then
20247 cat >conftest.
$ac_ext <<_ACEOF
20250 cat confdefs.h
>>conftest.
$ac_ext
20251 cat >>conftest.
$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20257 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20264 rm -f conftest.
$ac_objext
20265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20266 (eval $ac_compile) 2>conftest.er1
20268 grep -v '^ *+' conftest.er1
>conftest.err
20270 cat conftest.err
>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } &&
20273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; } &&
20279 { ac_try
='test -s conftest.$ac_objext'
20280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281 (eval $ac_try) 2>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 ac_hi
=$ac_mid; break
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.
$ac_ext >&5
20290 ac_lo
=`expr $ac_mid + 1`
20291 if test $ac_lo -le $ac_mid; then
20295 ac_mid
=`expr 2 '*' $ac_mid + 1`
20297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.
$ac_ext >&5
20303 cat >conftest.
$ac_ext <<_ACEOF
20306 cat confdefs.h
>>conftest.
$ac_ext
20307 cat >>conftest.
$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20313 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20320 rm -f conftest.
$ac_objext
20321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20322 (eval $ac_compile) 2>conftest.er1
20324 grep -v '^ *+' conftest.er1
>conftest.err
20326 cat conftest.err
>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } &&
20329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; } &&
20335 { ac_try
='test -s conftest.$ac_objext'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; }; then
20343 cat >conftest.
$ac_ext <<_ACEOF
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 $ac_includes_default
20353 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20360 rm -f conftest.
$ac_objext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20362 (eval $ac_compile) 2>conftest.er1
20364 grep -v '^ *+' conftest.er1
>conftest.err
20366 cat conftest.err
>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } &&
20369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20371 (eval $ac_try) 2>&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; } &&
20375 { ac_try
='test -s conftest.$ac_objext'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 ac_lo
=$ac_mid; break
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.
$ac_ext >&5
20386 ac_hi
=`expr '(' $ac_mid ')' - 1`
20387 if test $ac_mid -le $ac_hi; then
20391 ac_mid
=`expr 2 '*' $ac_mid`
20393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20396 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.
$ac_ext >&5
20401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20404 # Binary search between lo and hi bounds.
20405 while test "x$ac_lo" != "x$ac_hi"; do
20406 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20407 cat >conftest.
$ac_ext <<_ACEOF
20410 cat confdefs.h
>>conftest.
$ac_ext
20411 cat >>conftest.
$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20417 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20424 rm -f conftest.
$ac_objext
20425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20426 (eval $ac_compile) 2>conftest.er1
20428 grep -v '^ *+' conftest.er1
>conftest.err
20430 cat conftest.err
>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } &&
20433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; } &&
20439 { ac_try
='test -s conftest.$ac_objext'
20440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441 (eval $ac_try) 2>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.
$ac_ext >&5
20450 ac_lo
=`expr '(' $ac_mid ')' + 1`
20452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20455 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20456 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20457 See \`config.log' for more details." >&5
20458 echo "$as_me: error: cannot compute sizeof (size_t), 77
20459 See \`config.log' for more details." >&2;}
20460 { (exit 1); exit 1; }; } ;;
20463 if test "$cross_compiling" = yes; then
20464 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20465 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20466 { (exit 1); exit 1; }; }
20468 cat >conftest.
$ac_ext <<_ACEOF
20471 cat confdefs.h
>>conftest.
$ac_ext
20472 cat >>conftest.
$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20474 $ac_includes_default
20475 long longval () { return (long) (sizeof (size_t)); }
20476 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20478 #include <stdlib.h>
20483 FILE *f = fopen ("conftest.val", "w");
20486 if (((long) (sizeof (size_t))) < 0)
20488 long i = longval ();
20489 if (i != ((long) (sizeof (size_t))))
20491 fprintf (f, "%ld\n", i);
20495 unsigned long i = ulongval ();
20496 if (i != ((long) (sizeof (size_t))))
20498 fprintf (f, "%lu\n", i);
20500 exit (ferror (f) || fclose (f) != 0);
20506 rm -f conftest
$ac_exeext
20507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20508 (eval $ac_link) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_cv_sizeof_size_t
=`cat conftest.val`
20519 echo "$as_me: program exited with status $ac_status" >&5
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.
$ac_ext >&5
20523 ( exit $ac_status )
20524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20525 See \`config.log' for more details." >&5
20526 echo "$as_me: error: cannot compute sizeof (size_t), 77
20527 See \`config.log' for more details." >&2;}
20528 { (exit 1); exit 1; }; }
20530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20535 ac_cv_sizeof_size_t
=0
20538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20539 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20540 cat >>confdefs.h
<<_ACEOF
20541 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20548 echo "$as_me:$LINENO: checking for long long" >&5
20549 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20550 if test "${ac_cv_type_long_long+set}" = set; then
20551 echo $ECHO_N "(cached) $ECHO_C" >&6
20553 cat >conftest.
$ac_ext <<_ACEOF
20556 cat confdefs.h
>>conftest.
$ac_ext
20557 cat >>conftest.
$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 $ac_includes_default
20563 if ((long long *) 0)
20565 if (sizeof (long long))
20571 rm -f conftest.
$ac_objext
20572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20573 (eval $ac_compile) 2>conftest.er1
20575 grep -v '^ *+' conftest.er1
>conftest.err
20577 cat conftest.err
>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); } &&
20580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20582 (eval $ac_try) 2>&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; } &&
20586 { ac_try
='test -s conftest.$ac_objext'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; }; then
20592 ac_cv_type_long_long
=yes
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.
$ac_ext >&5
20597 ac_cv_type_long_long
=no
20599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20601 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20602 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20604 echo "$as_me:$LINENO: checking size of long long" >&5
20605 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20606 if test "${ac_cv_sizeof_long_long+set}" = set; then
20607 echo $ECHO_N "(cached) $ECHO_C" >&6
20609 if test "$ac_cv_type_long_long" = yes; then
20610 # The cast to unsigned long works around a bug in the HP C Compiler
20611 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20612 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20613 # This bug is HP SR number 8606223364.
20614 if test "$cross_compiling" = yes; then
20615 # Depending upon the size, compute the lo and hi bounds.
20616 cat >conftest.
$ac_ext <<_ACEOF
20619 cat confdefs.h
>>conftest.
$ac_ext
20620 cat >>conftest.
$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 $ac_includes_default
20626 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20633 rm -f conftest.
$ac_objext
20634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20635 (eval $ac_compile) 2>conftest.er1
20637 grep -v '^ *+' conftest.er1
>conftest.err
20639 cat conftest.err
>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); } &&
20642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; } &&
20648 { ac_try
='test -s conftest.$ac_objext'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; }; then
20656 cat >conftest.
$ac_ext <<_ACEOF
20659 cat confdefs.h
>>conftest.
$ac_ext
20660 cat >>conftest.
$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20662 $ac_includes_default
20666 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20673 rm -f conftest.
$ac_objext
20674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20675 (eval $ac_compile) 2>conftest.er1
20677 grep -v '^ *+' conftest.er1
>conftest.err
20679 cat conftest.err
>&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); } &&
20682 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; } &&
20688 { ac_try
='test -s conftest.$ac_objext'
20689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20690 (eval $ac_try) 2>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); }; }; then
20694 ac_hi
=$ac_mid; break
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.
$ac_ext >&5
20699 ac_lo
=`expr $ac_mid + 1`
20700 if test $ac_lo -le $ac_mid; then
20704 ac_mid
=`expr 2 '*' $ac_mid + 1`
20706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20709 echo "$as_me: failed program was:" >&5
20710 sed 's/^/| /' conftest.
$ac_ext >&5
20712 cat >conftest.
$ac_ext <<_ACEOF
20715 cat confdefs.h
>>conftest.
$ac_ext
20716 cat >>conftest.
$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 $ac_includes_default
20722 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20729 rm -f conftest.
$ac_objext
20730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20731 (eval $ac_compile) 2>conftest.er1
20733 grep -v '^ *+' conftest.er1
>conftest.err
20735 cat conftest.err
>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } &&
20738 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20740 (eval $ac_try) 2>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; } &&
20744 { ac_try
='test -s conftest.$ac_objext'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20752 cat >conftest.
$ac_ext <<_ACEOF
20755 cat confdefs.h
>>conftest.
$ac_ext
20756 cat >>conftest.
$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 $ac_includes_default
20762 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20769 rm -f conftest.
$ac_objext
20770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20771 (eval $ac_compile) 2>conftest.er1
20773 grep -v '^ *+' conftest.er1
>conftest.err
20775 cat conftest.err
>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; } &&
20784 { ac_try
='test -s conftest.$ac_objext'
20785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786 (eval $ac_try) 2>&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; }; then
20790 ac_lo
=$ac_mid; break
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.
$ac_ext >&5
20795 ac_hi
=`expr '(' $ac_mid ')' - 1`
20796 if test $ac_mid -le $ac_hi; then
20800 ac_mid
=`expr 2 '*' $ac_mid`
20802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20805 echo "$as_me: failed program was:" >&5
20806 sed 's/^/| /' conftest.
$ac_ext >&5
20810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20813 # Binary search between lo and hi bounds.
20814 while test "x$ac_lo" != "x$ac_hi"; do
20815 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20816 cat >conftest.
$ac_ext <<_ACEOF
20819 cat confdefs.h
>>conftest.
$ac_ext
20820 cat >>conftest.
$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 $ac_includes_default
20826 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20833 rm -f conftest.
$ac_objext
20834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20835 (eval $ac_compile) 2>conftest.er1
20837 grep -v '^ *+' conftest.er1
>conftest.err
20839 cat conftest.err
>&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } &&
20842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20844 (eval $ac_try) 2>&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; } &&
20848 { ac_try
='test -s conftest.$ac_objext'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; }; then
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.
$ac_ext >&5
20859 ac_lo
=`expr '(' $ac_mid ')' + 1`
20861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20864 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20865 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20866 See \`config.log' for more details." >&5
20867 echo "$as_me: error: cannot compute sizeof (long long), 77
20868 See \`config.log' for more details." >&2;}
20869 { (exit 1); exit 1; }; } ;;
20872 if test "$cross_compiling" = yes; then
20873 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20874 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20875 { (exit 1); exit 1; }; }
20877 cat >conftest.
$ac_ext <<_ACEOF
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 long longval () { return (long) (sizeof (long long)); }
20885 unsigned long ulongval () { return (long) (sizeof (long long)); }
20887 #include <stdlib.h>
20892 FILE *f = fopen ("conftest.val", "w");
20895 if (((long) (sizeof (long long))) < 0)
20897 long i = longval ();
20898 if (i != ((long) (sizeof (long long))))
20900 fprintf (f, "%ld\n", i);
20904 unsigned long i = ulongval ();
20905 if (i != ((long) (sizeof (long long))))
20907 fprintf (f, "%lu\n", i);
20909 exit (ferror (f) || fclose (f) != 0);
20915 rm -f conftest
$ac_exeext
20916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20917 (eval $ac_link) 2>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20922 (eval $ac_try) 2>&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); }; }; then
20926 ac_cv_sizeof_long_long
=`cat conftest.val`
20928 echo "$as_me: program exited with status $ac_status" >&5
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.
$ac_ext >&5
20932 ( exit $ac_status )
20933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20934 See \`config.log' for more details." >&5
20935 echo "$as_me: error: cannot compute sizeof (long long), 77
20936 See \`config.log' for more details." >&2;}
20937 { (exit 1); exit 1; }; }
20939 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20944 ac_cv_sizeof_long_long
=0
20947 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20948 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20949 cat >>confdefs.h
<<_ACEOF
20950 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20956 echo "$as_me:$LINENO: checking for long long" >&5
20957 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20958 if test "${ac_cv_type_long_long+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20961 cat >conftest.
$ac_ext <<_ACEOF
20964 cat confdefs.h
>>conftest.
$ac_ext
20965 cat >>conftest.
$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 $ac_includes_default
20971 if ((long long *) 0)
20973 if (sizeof (long long))
20979 rm -f conftest.
$ac_objext
20980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20981 (eval $ac_compile) 2>conftest.er1
20983 grep -v '^ *+' conftest.er1
>conftest.err
20985 cat conftest.err
>&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); } &&
20988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20990 (eval $ac_try) 2>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; } &&
20994 { ac_try
='test -s conftest.$ac_objext'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; }; then
21000 ac_cv_type_long_long
=yes
21002 echo "$as_me: failed program was:" >&5
21003 sed 's/^/| /' conftest.
$ac_ext >&5
21005 ac_cv_type_long_long
=no
21007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21009 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21010 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21012 echo "$as_me:$LINENO: checking size of long long" >&5
21013 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21014 if test "${ac_cv_sizeof_long_long+set}" = set; then
21015 echo $ECHO_N "(cached) $ECHO_C" >&6
21017 if test "$ac_cv_type_long_long" = yes; then
21018 # The cast to unsigned long works around a bug in the HP C Compiler
21019 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21020 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21021 # This bug is HP SR number 8606223364.
21022 if test "$cross_compiling" = yes; then
21023 # Depending upon the size, compute the lo and hi bounds.
21024 cat >conftest.
$ac_ext <<_ACEOF
21027 cat confdefs.h
>>conftest.
$ac_ext
21028 cat >>conftest.
$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 $ac_includes_default
21034 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21041 rm -f conftest.
$ac_objext
21042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21043 (eval $ac_compile) 2>conftest.er1
21045 grep -v '^ *+' conftest.er1
>conftest.err
21047 cat conftest.err
>&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } &&
21050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; } &&
21056 { ac_try
='test -s conftest.$ac_objext'
21057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21058 (eval $ac_try) 2>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); }; }; then
21064 cat >conftest.
$ac_ext <<_ACEOF
21067 cat confdefs.h
>>conftest.
$ac_ext
21068 cat >>conftest.
$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 $ac_includes_default
21074 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21081 rm -f conftest.
$ac_objext
21082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21083 (eval $ac_compile) 2>conftest.er1
21085 grep -v '^ *+' conftest.er1
>conftest.err
21087 cat conftest.err
>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } &&
21090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; } &&
21096 { ac_try
='test -s conftest.$ac_objext'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then
21102 ac_hi
=$ac_mid; break
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.
$ac_ext >&5
21107 ac_lo
=`expr $ac_mid + 1`
21108 if test $ac_lo -le $ac_mid; then
21112 ac_mid
=`expr 2 '*' $ac_mid + 1`
21114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.
$ac_ext >&5
21120 cat >conftest.
$ac_ext <<_ACEOF
21123 cat confdefs.h
>>conftest.
$ac_ext
21124 cat >>conftest.
$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 $ac_includes_default
21130 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21137 rm -f conftest.
$ac_objext
21138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21139 (eval $ac_compile) 2>conftest.er1
21141 grep -v '^ *+' conftest.er1
>conftest.err
21143 cat conftest.err
>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); } &&
21146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148 (eval $ac_try) 2>&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); }; } &&
21152 { ac_try
='test -s conftest.$ac_objext'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; }; then
21160 cat >conftest.
$ac_ext <<_ACEOF
21163 cat confdefs.h
>>conftest.
$ac_ext
21164 cat >>conftest.
$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21170 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21177 rm -f conftest.
$ac_objext
21178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21179 (eval $ac_compile) 2>conftest.er1
21181 grep -v '^ *+' conftest.er1
>conftest.err
21183 cat conftest.err
>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); } &&
21186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21188 (eval $ac_try) 2>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; } &&
21192 { ac_try
='test -s conftest.$ac_objext'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; }; then
21198 ac_lo
=$ac_mid; break
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.
$ac_ext >&5
21203 ac_hi
=`expr '(' $ac_mid ')' - 1`
21204 if test $ac_mid -le $ac_hi; then
21208 ac_mid
=`expr 2 '*' $ac_mid`
21210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.
$ac_ext >&5
21218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21221 # Binary search between lo and hi bounds.
21222 while test "x$ac_lo" != "x$ac_hi"; do
21223 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21224 cat >conftest.
$ac_ext <<_ACEOF
21227 cat confdefs.h
>>conftest.
$ac_ext
21228 cat >>conftest.
$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230 $ac_includes_default
21234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21241 rm -f conftest.
$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21245 grep -v '^ *+' conftest.er1
>conftest.err
21247 cat conftest.err
>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try
='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.
$ac_ext >&5
21267 ac_lo
=`expr '(' $ac_mid ')' + 1`
21269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21272 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21273 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21274 See \`config.log' for more details." >&5
21275 echo "$as_me: error: cannot compute sizeof (long long), 77
21276 See \`config.log' for more details." >&2;}
21277 { (exit 1); exit 1; }; } ;;
21280 if test "$cross_compiling" = yes; then
21281 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21282 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21283 { (exit 1); exit 1; }; }
21285 cat >conftest.
$ac_ext <<_ACEOF
21288 cat confdefs.h
>>conftest.
$ac_ext
21289 cat >>conftest.
$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 $ac_includes_default
21292 long longval () { return (long) (sizeof (long long)); }
21293 unsigned long ulongval () { return (long) (sizeof (long long)); }
21295 #include <stdlib.h>
21300 FILE *f = fopen ("conftest.val", "w");
21303 if (((long) (sizeof (long long))) < 0)
21305 long i = longval ();
21306 if (i != ((long) (sizeof (long long))))
21308 fprintf (f, "%ld\n", i);
21312 unsigned long i = ulongval ();
21313 if (i != ((long) (sizeof (long long))))
21315 fprintf (f, "%lu\n", i);
21317 exit (ferror (f) || fclose (f) != 0);
21323 rm -f conftest
$ac_exeext
21324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21325 (eval $ac_link) 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; }; then
21334 ac_cv_sizeof_long_long
=`cat conftest.val`
21336 echo "$as_me: program exited with status $ac_status" >&5
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.
$ac_ext >&5
21340 ( exit $ac_status )
21341 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21342 See \`config.log' for more details." >&5
21343 echo "$as_me: error: cannot compute sizeof (long long), 77
21344 See \`config.log' for more details." >&2;}
21345 { (exit 1); exit 1; }; }
21347 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21352 ac_cv_sizeof_long_long
=0
21355 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21356 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21357 cat >>confdefs.h
<<_ACEOF
21358 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21362 if test "$ac_cv_sizeof_long_long" != "0"; then
21363 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21367 echo "$as_me:$LINENO: checking for long long" >&5
21368 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21369 if test "${ac_cv_type_long_long+set}" = set; then
21370 echo $ECHO_N "(cached) $ECHO_C" >&6
21372 cat >conftest.
$ac_ext <<_ACEOF
21375 cat confdefs.h
>>conftest.
$ac_ext
21376 cat >>conftest.
$ac_ext <<_ACEOF
21377 /* end confdefs.h. */
21378 $ac_includes_default
21382 if ((long long *) 0)
21384 if (sizeof (long long))
21390 rm -f conftest.
$ac_objext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21392 (eval $ac_compile) 2>conftest.er1
21394 grep -v '^ *+' conftest.er1
>conftest.err
21396 cat conftest.err
>&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } &&
21399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21401 (eval $ac_try) 2>&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; } &&
21405 { ac_try
='test -s conftest.$ac_objext'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; }; then
21411 ac_cv_type_long_long
=yes
21413 echo "$as_me: failed program was:" >&5
21414 sed 's/^/| /' conftest.
$ac_ext >&5
21416 ac_cv_type_long_long
=no
21418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21420 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21421 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21423 echo "$as_me:$LINENO: checking size of long long" >&5
21424 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21425 if test "${ac_cv_sizeof_long_long+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21428 if test "$ac_cv_type_long_long" = yes; then
21429 # The cast to unsigned long works around a bug in the HP C Compiler
21430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21432 # This bug is HP SR number 8606223364.
21433 if test "$cross_compiling" = yes; then
21434 # Depending upon the size, compute the lo and hi bounds.
21435 cat >conftest.
$ac_ext <<_ACEOF
21438 cat confdefs.h
>>conftest.
$ac_ext
21439 cat >>conftest.
$ac_ext <<_ACEOF
21440 /* end confdefs.h. */
21441 $ac_includes_default
21445 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21452 rm -f conftest.
$ac_objext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21454 (eval $ac_compile) 2>conftest.er1
21456 grep -v '^ *+' conftest.er1
>conftest.err
21458 cat conftest.err
>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; } &&
21467 { ac_try
='test -s conftest.$ac_objext'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; }; then
21475 cat >conftest.
$ac_ext <<_ACEOF
21478 cat confdefs.h
>>conftest.
$ac_ext
21479 cat >>conftest.
$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481 $ac_includes_default
21485 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21492 rm -f conftest.
$ac_objext
21493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21494 (eval $ac_compile) 2>conftest.er1
21496 grep -v '^ *+' conftest.er1
>conftest.err
21498 cat conftest.err
>&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; } &&
21507 { ac_try
='test -s conftest.$ac_objext'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; }; then
21513 ac_hi
=$ac_mid; break
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.
$ac_ext >&5
21518 ac_lo
=`expr $ac_mid + 1`
21519 if test $ac_lo -le $ac_mid; then
21523 ac_mid
=`expr 2 '*' $ac_mid + 1`
21525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21528 echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.
$ac_ext >&5
21531 cat >conftest.
$ac_ext <<_ACEOF
21534 cat confdefs.h
>>conftest.
$ac_ext
21535 cat >>conftest.
$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 $ac_includes_default
21541 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21548 rm -f conftest.
$ac_objext
21549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21550 (eval $ac_compile) 2>conftest.er1
21552 grep -v '^ *+' conftest.er1
>conftest.err
21554 cat conftest.err
>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); } &&
21557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; } &&
21563 { ac_try
='test -s conftest.$ac_objext'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; }; then
21571 cat >conftest.
$ac_ext <<_ACEOF
21574 cat confdefs.h
>>conftest.
$ac_ext
21575 cat >>conftest.
$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577 $ac_includes_default
21581 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21588 rm -f conftest.
$ac_objext
21589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21590 (eval $ac_compile) 2>conftest.er1
21592 grep -v '^ *+' conftest.er1
>conftest.err
21594 cat conftest.err
>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; } &&
21603 { ac_try
='test -s conftest.$ac_objext'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; }; then
21609 ac_lo
=$ac_mid; break
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.
$ac_ext >&5
21614 ac_hi
=`expr '(' $ac_mid ')' - 1`
21615 if test $ac_mid -le $ac_hi; then
21619 ac_mid
=`expr 2 '*' $ac_mid`
21621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.
$ac_ext >&5
21629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21632 # Binary search between lo and hi bounds.
21633 while test "x$ac_lo" != "x$ac_hi"; do
21634 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21635 cat >conftest.
$ac_ext <<_ACEOF
21638 cat confdefs.h
>>conftest.
$ac_ext
21639 cat >>conftest.
$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21645 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21652 rm -f conftest.
$ac_objext
21653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21654 (eval $ac_compile) 2>conftest.er1
21656 grep -v '^ *+' conftest.er1
>conftest.err
21658 cat conftest.err
>&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } &&
21661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; } &&
21667 { ac_try
='test -s conftest.$ac_objext'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; }; then
21675 echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.
$ac_ext >&5
21678 ac_lo
=`expr '(' $ac_mid ')' + 1`
21680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21683 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21684 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21685 See \`config.log' for more details." >&5
21686 echo "$as_me: error: cannot compute sizeof (long long), 77
21687 See \`config.log' for more details." >&2;}
21688 { (exit 1); exit 1; }; } ;;
21691 if test "$cross_compiling" = yes; then
21692 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21693 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21694 { (exit 1); exit 1; }; }
21696 cat >conftest.
$ac_ext <<_ACEOF
21699 cat confdefs.h
>>conftest.
$ac_ext
21700 cat >>conftest.
$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21702 $ac_includes_default
21703 long longval () { return (long) (sizeof (long long)); }
21704 unsigned long ulongval () { return (long) (sizeof (long long)); }
21706 #include <stdlib.h>
21711 FILE *f = fopen ("conftest.val", "w");
21714 if (((long) (sizeof (long long))) < 0)
21716 long i = longval ();
21717 if (i != ((long) (sizeof (long long))))
21719 fprintf (f, "%ld\n", i);
21723 unsigned long i = ulongval ();
21724 if (i != ((long) (sizeof (long long))))
21726 fprintf (f, "%lu\n", i);
21728 exit (ferror (f) || fclose (f) != 0);
21734 rm -f conftest
$ac_exeext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21736 (eval $ac_link) 2>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21741 (eval $ac_try) 2>&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); }; }; then
21745 ac_cv_sizeof_long_long
=`cat conftest.val`
21747 echo "$as_me: program exited with status $ac_status" >&5
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.
$ac_ext >&5
21751 ( exit $ac_status )
21752 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21753 See \`config.log' for more details." >&5
21754 echo "$as_me: error: cannot compute sizeof (long long), 77
21755 See \`config.log' for more details." >&2;}
21756 { (exit 1); exit 1; }; }
21758 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21763 ac_cv_sizeof_long_long
=0
21766 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21767 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21768 cat >>confdefs.h
<<_ACEOF
21769 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21775 echo "$as_me:$LINENO: checking for wchar_t" >&5
21776 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21777 if test "${ac_cv_type_wchar_t+set}" = set; then
21778 echo $ECHO_N "(cached) $ECHO_C" >&6
21780 cat >conftest.
$ac_ext <<_ACEOF
21783 cat confdefs.h
>>conftest.
$ac_ext
21784 cat >>conftest.
$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21787 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21788 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21789 # error "fake wchar_t"
21791 #ifdef HAVE_WCHAR_H
21793 # include <stddef.h>
21795 # include <wchar.h>
21797 #ifdef HAVE_STDLIB_H
21798 # include <stdlib.h>
21809 if (sizeof (wchar_t))
21815 rm -f conftest.
$ac_objext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21817 (eval $ac_compile) 2>conftest.er1
21819 grep -v '^ *+' conftest.er1
>conftest.err
21821 cat conftest.err
>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } &&
21824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; } &&
21830 { ac_try
='test -s conftest.$ac_objext'
21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21832 (eval $ac_try) 2>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); }; }; then
21836 ac_cv_type_wchar_t
=yes
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.
$ac_ext >&5
21841 ac_cv_type_wchar_t
=no
21843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21845 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21846 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21848 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21849 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21850 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21853 if test "$ac_cv_type_wchar_t" = yes; then
21854 # The cast to unsigned long works around a bug in the HP C Compiler
21855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21857 # This bug is HP SR number 8606223364.
21858 if test "$cross_compiling" = yes; then
21859 # Depending upon the size, compute the lo and hi bounds.
21860 cat >conftest.
$ac_ext <<_ACEOF
21863 cat confdefs.h
>>conftest.
$ac_ext
21864 cat >>conftest.
$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21867 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21868 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21869 # error "fake wchar_t"
21871 #ifdef HAVE_WCHAR_H
21873 # include <stddef.h>
21875 # include <wchar.h>
21877 #ifdef HAVE_STDLIB_H
21878 # include <stdlib.h>
21887 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21894 rm -f conftest.
$ac_objext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21896 (eval $ac_compile) 2>conftest.er1
21898 grep -v '^ *+' conftest.er1
>conftest.err
21900 cat conftest.err
>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } &&
21903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; } &&
21909 { ac_try
='test -s conftest.$ac_objext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21917 cat >conftest.
$ac_ext <<_ACEOF
21920 cat confdefs.h
>>conftest.
$ac_ext
21921 cat >>conftest.
$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21924 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21925 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21926 # error "fake wchar_t"
21928 #ifdef HAVE_WCHAR_H
21930 # include <stddef.h>
21932 # include <wchar.h>
21934 #ifdef HAVE_STDLIB_H
21935 # include <stdlib.h>
21944 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21951 rm -f conftest.
$ac_objext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21953 (eval $ac_compile) 2>conftest.er1
21955 grep -v '^ *+' conftest.er1
>conftest.err
21957 cat conftest.err
>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; } &&
21966 { ac_try
='test -s conftest.$ac_objext'
21967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21968 (eval $ac_try) 2>&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); }; }; then
21972 ac_hi
=$ac_mid; break
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.
$ac_ext >&5
21977 ac_lo
=`expr $ac_mid + 1`
21978 if test $ac_lo -le $ac_mid; then
21982 ac_mid
=`expr 2 '*' $ac_mid + 1`
21984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.
$ac_ext >&5
21990 cat >conftest.
$ac_ext <<_ACEOF
21993 cat confdefs.h
>>conftest.
$ac_ext
21994 cat >>conftest.
$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21997 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21998 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21999 # error "fake wchar_t"
22001 #ifdef HAVE_WCHAR_H
22003 # include <stddef.h>
22005 # include <wchar.h>
22007 #ifdef HAVE_STDLIB_H
22008 # include <stdlib.h>
22017 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22024 rm -f conftest.
$ac_objext
22025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22026 (eval $ac_compile) 2>conftest.er1
22028 grep -v '^ *+' conftest.er1
>conftest.err
22030 cat conftest.err
>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); } &&
22033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; } &&
22039 { ac_try
='test -s conftest.$ac_objext'
22040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22041 (eval $ac_try) 2>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); }; }; then
22047 cat >conftest.
$ac_ext <<_ACEOF
22050 cat confdefs.h
>>conftest.
$ac_ext
22051 cat >>conftest.
$ac_ext <<_ACEOF
22052 /* end confdefs.h. */
22054 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22055 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22056 # error "fake wchar_t"
22058 #ifdef HAVE_WCHAR_H
22060 # include <stddef.h>
22062 # include <wchar.h>
22064 #ifdef HAVE_STDLIB_H
22065 # include <stdlib.h>
22074 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22081 rm -f conftest.
$ac_objext
22082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22083 (eval $ac_compile) 2>conftest.er1
22085 grep -v '^ *+' conftest.er1
>conftest.err
22087 cat conftest.err
>&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; } &&
22096 { ac_try
='test -s conftest.$ac_objext'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; }; then
22102 ac_lo
=$ac_mid; break
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.
$ac_ext >&5
22107 ac_hi
=`expr '(' $ac_mid ')' - 1`
22108 if test $ac_mid -le $ac_hi; then
22112 ac_mid
=`expr 2 '*' $ac_mid`
22114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.
$ac_ext >&5
22122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22125 # Binary search between lo and hi bounds.
22126 while test "x$ac_lo" != "x$ac_hi"; do
22127 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22128 cat >conftest.
$ac_ext <<_ACEOF
22131 cat confdefs.h
>>conftest.
$ac_ext
22132 cat >>conftest.
$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22135 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22137 # error "fake wchar_t"
22139 #ifdef HAVE_WCHAR_H
22141 # include <stddef.h>
22143 # include <wchar.h>
22145 #ifdef HAVE_STDLIB_H
22146 # include <stdlib.h>
22155 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22162 rm -f conftest.
$ac_objext
22163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22164 (eval $ac_compile) 2>conftest.er1
22166 grep -v '^ *+' conftest.er1
>conftest.err
22168 cat conftest.err
>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } &&
22171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; } &&
22177 { ac_try
='test -s conftest.$ac_objext'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; }; then
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.
$ac_ext >&5
22188 ac_lo
=`expr '(' $ac_mid ')' + 1`
22190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22193 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22194 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22195 See \`config.log' for more details." >&5
22196 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22197 See \`config.log' for more details." >&2;}
22198 { (exit 1); exit 1; }; } ;;
22201 if test "$cross_compiling" = yes; then
22202 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22203 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22204 { (exit 1); exit 1; }; }
22206 cat >conftest.
$ac_ext <<_ACEOF
22209 cat confdefs.h
>>conftest.
$ac_ext
22210 cat >>conftest.
$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22213 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22214 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22215 # error "fake wchar_t"
22217 #ifdef HAVE_WCHAR_H
22219 # include <stddef.h>
22221 # include <wchar.h>
22223 #ifdef HAVE_STDLIB_H
22224 # include <stdlib.h>
22230 long longval () { return (long) (sizeof (wchar_t)); }
22231 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22233 #include <stdlib.h>
22238 FILE *f = fopen ("conftest.val", "w");
22241 if (((long) (sizeof (wchar_t))) < 0)
22243 long i = longval ();
22244 if (i != ((long) (sizeof (wchar_t))))
22246 fprintf (f, "%ld\n", i);
22250 unsigned long i = ulongval ();
22251 if (i != ((long) (sizeof (wchar_t))))
22253 fprintf (f, "%lu\n", i);
22255 exit (ferror (f) || fclose (f) != 0);
22261 rm -f conftest
$ac_exeext
22262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22263 (eval $ac_link) 2>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268 (eval $ac_try) 2>&5
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); }; }; then
22272 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22274 echo "$as_me: program exited with status $ac_status" >&5
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.
$ac_ext >&5
22278 ( exit $ac_status )
22279 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22280 See \`config.log' for more details." >&5
22281 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22282 See \`config.log' for more details." >&2;}
22283 { (exit 1); exit 1; }; }
22285 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22290 ac_cv_sizeof_wchar_t
=0
22293 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22294 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22295 cat >>confdefs.h
<<_ACEOF
22296 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22300 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22306 echo "$as_me:$LINENO: checking for va_copy" >&5
22307 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22308 if test "${wx_cv_func_va_copy+set}" = set; then
22309 echo $ECHO_N "(cached) $ECHO_C" >&6
22312 cat >conftest.
$ac_ext <<_ACEOF
22314 #include <stdarg.h>
22315 void foo(char *f, ...)
22329 rm -f conftest.
$ac_objext conftest
$ac_exeext
22330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22331 (eval $ac_link) 2>conftest.er1
22333 grep -v '^ *+' conftest.er1
>conftest.err
22335 cat conftest.err
>&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); } &&
22338 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22340 (eval $ac_try) 2>&5
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); }; } &&
22344 { ac_try
='test -s conftest$ac_exeext'
22345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22346 (eval $ac_try) 2>&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); }; }; then
22350 wx_cv_func_va_copy
=yes
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.
$ac_ext >&5
22355 wx_cv_func_va_copy
=no
22358 rm -f conftest.err conftest.
$ac_objext \
22359 conftest
$ac_exeext conftest.
$ac_ext
22363 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22364 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22366 if test $wx_cv_func_va_copy = "yes"; then
22367 cat >>confdefs.h
<<\_ACEOF
22368 #define HAVE_VA_COPY 1
22372 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22373 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22374 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22375 echo $ECHO_N "(cached) $ECHO_C" >&6
22378 if test "$cross_compiling" = yes; then
22379 wx_cv_type_va_list_lvalue
=yes
22382 cat >conftest.
$ac_ext <<_ACEOF
22384 #include <stdarg.h>
22385 int foo(char *f, ...)
22390 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22398 return foo("hi", 17);
22401 rm -f conftest
$ac_exeext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22403 (eval $ac_link) 2>&5
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22408 (eval $ac_try) 2>&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); }; }; then
22412 wx_cv_type_va_list_lvalue
=yes
22414 echo "$as_me: program exited with status $ac_status" >&5
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.
$ac_ext >&5
22418 ( exit $ac_status )
22419 wx_cv_type_va_list_lvalue
=no
22421 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22426 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22427 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22429 if test $wx_cv_type_va_list_lvalue != "yes"; then
22430 cat >>confdefs.h
<<\_ACEOF
22431 #define VA_LIST_IS_ARRAY 1
22437 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22438 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22439 if test "${wx_cv_have_variadic_macros+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22443 cat >conftest.
$ac_ext <<_ACEOF
22446 cat confdefs.h
>>conftest.
$ac_ext
22447 cat >>conftest.
$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22451 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22457 test("%s %d %p", "test", 1, 0);
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_have_variadic_macros
=yes
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22490 wx_cv_have_variadic_macros
=no
22493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22497 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22498 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22500 if test $wx_cv_have_variadic_macros = "yes"; then
22501 cat >>confdefs.h
<<\_ACEOF
22502 #define HAVE_VARIADIC_MACROS 1
22507 # Check whether --enable-largefile or --disable-largefile was given.
22508 if test "${enable_largefile+set}" = set; then
22509 enableval
="$enable_largefile"
22512 if test "$enable_largefile" != no
; then
22515 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22516 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22517 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22521 cat >conftest.
$ac_ext <<_ACEOF
22524 cat confdefs.h
>>conftest.
$ac_ext
22525 cat >>conftest.
$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22527 #define _FILE_OFFSET_BITS 64
22528 #include <sys/types.h>
22533 unsigned int field: sizeof(off_t) == 8;
22540 rm -f conftest.
$ac_objext
22541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22542 (eval $ac_compile) 2>conftest.er1
22544 grep -v '^ *+' conftest.er1
>conftest.err
22546 cat conftest.err
>&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } &&
22549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22551 (eval $ac_try) 2>&5
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); }; } &&
22555 { ac_try
='test -s conftest.$ac_objext'
22556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22557 (eval $ac_try) 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22561 ac_cv_sys_file_offset_bits
=64
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.
$ac_ext >&5
22566 ac_cv_sys_file_offset_bits
=no
22568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22572 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22573 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22575 if test "$ac_cv_sys_file_offset_bits" != no
; then
22577 cat >>confdefs.h
<<_ACEOF
22578 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22583 if test "x$wx_largefile" != "xyes"; then
22585 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22586 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22587 if test "${ac_cv_sys_large_files+set}" = set; then
22588 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 cat >conftest.
$ac_ext <<_ACEOF
22594 cat confdefs.h
>>conftest.
$ac_ext
22595 cat >>conftest.
$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22597 #define _LARGE_FILES 1
22598 #include <sys/types.h>
22603 unsigned int field: sizeof(off_t) == 8;
22610 rm -f conftest.
$ac_objext
22611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22612 (eval $ac_compile) 2>conftest.er1
22614 grep -v '^ *+' conftest.er1
>conftest.err
22616 cat conftest.err
>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); } &&
22619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22621 (eval $ac_try) 2>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); }; } &&
22625 { ac_try
='test -s conftest.$ac_objext'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22631 ac_cv_sys_large_files
=1
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.
$ac_ext >&5
22636 ac_cv_sys_large_files
=no
22638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22642 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22643 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22645 if test "$ac_cv_sys_large_files" != no
; then
22647 cat >>confdefs.h
<<_ACEOF
22648 #define _LARGE_FILES $ac_cv_sys_large_files
22655 echo "$as_me:$LINENO: checking if large file support is available" >&5
22656 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22657 if test "x$wx_largefile" = "xyes"; then
22658 cat >>confdefs.h
<<\_ACEOF
22659 #define HAVE_LARGEFILE_SUPPORT 1
22663 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22664 echo "${ECHO_T}$wx_largefile" >&6
22668 if test "x$wx_largefile" = "xyes"; then
22669 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22670 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22672 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22673 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22674 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22675 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 cat >conftest.
$ac_ext <<_ACEOF
22682 cat confdefs.h
>>conftest.
$ac_ext
22683 cat >>conftest.
$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22690 #ifndef __STDC_EXT__
22698 rm -f conftest.
$ac_objext
22699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22700 (eval $ac_compile) 2>conftest.er1
22702 grep -v '^ *+' conftest.er1
>conftest.err
22704 cat conftest.err
>&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } &&
22707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; } &&
22713 { ac_try
='test -s conftest.$ac_objext'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; }; then
22719 wx_cv_STDC_EXT_required
=no
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.
$ac_ext >&5
22724 wx_cv_STDC_EXT_required
=yes
22727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22731 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22732 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22733 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22734 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22738 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22740 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22741 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22742 if test "${ac_cv_sys_largefile_source+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22746 ac_cv_sys_largefile_source
=no
22747 cat >conftest.
$ac_ext <<_ACEOF
22750 cat confdefs.h
>>conftest.
$ac_ext
22751 cat >>conftest.
$ac_ext <<_ACEOF
22752 /* end confdefs.h. */
22762 rm -f conftest.
$ac_objext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22764 (eval $ac_compile) 2>conftest.er1
22766 grep -v '^ *+' conftest.er1
>conftest.err
22768 cat conftest.err
>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try
='test -s conftest.$ac_objext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.
$ac_ext >&5
22789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22790 cat >conftest.
$ac_ext <<_ACEOF
22793 cat confdefs.h
>>conftest.
$ac_ext
22794 cat >>conftest.
$ac_ext <<_ACEOF
22795 /* end confdefs.h. */
22796 #define _LARGEFILE_SOURCE 1
22806 rm -f conftest.
$ac_objext
22807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22808 (eval $ac_compile) 2>conftest.er1
22810 grep -v '^ *+' conftest.er1
>conftest.err
22812 cat conftest.err
>&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); } &&
22815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); }; } &&
22821 { ac_try
='test -s conftest.$ac_objext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 ac_cv_sys_largefile_source
=1; break
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22837 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22838 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22839 if test "$ac_cv_sys_largefile_source" != no
; then
22841 cat >>confdefs.h
<<_ACEOF
22842 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22848 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22849 # in glibc 2.1.3, but that breaks too many other things.
22850 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22851 echo "$as_me:$LINENO: checking for fseeko" >&5
22852 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22853 if test "${ac_cv_func_fseeko+set}" = set; then
22854 echo $ECHO_N "(cached) $ECHO_C" >&6
22856 cat >conftest.
$ac_ext <<_ACEOF
22859 cat confdefs.h
>>conftest.
$ac_ext
22860 cat >>conftest.
$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22866 return fseeko && fseeko (stdin, 0, 0);
22871 rm -f conftest.
$ac_objext conftest
$ac_exeext
22872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22873 (eval $ac_link) 2>conftest.er1
22875 grep -v '^ *+' conftest.er1
>conftest.err
22877 cat conftest.err
>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); } &&
22880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; } &&
22886 { ac_try
='test -s conftest$ac_exeext'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; }; then
22892 ac_cv_func_fseeko
=yes
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.
$ac_ext >&5
22897 ac_cv_func_fseeko
=no
22899 rm -f conftest.err conftest.
$ac_objext \
22900 conftest
$ac_exeext conftest.
$ac_ext
22902 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22903 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22904 if test $ac_cv_func_fseeko = yes; then
22906 cat >>confdefs.h
<<\_ACEOF
22907 #define HAVE_FSEEKO 1
22912 if test "$ac_cv_sys_largefile_source" != no
; then
22913 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22917 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22918 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22919 if test "${ac_cv_c_bigendian+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 ac_cv_c_bigendian
=unknown
22923 # See if sys/param.h defines the BYTE_ORDER macro.
22924 cat >conftest.
$ac_ext <<_ACEOF
22927 cat confdefs.h
>>conftest.
$ac_ext
22928 cat >>conftest.
$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930 #include <sys/types.h>
22931 #include <sys/param.h>
22936 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22937 bogus endian macros
22943 rm -f conftest.
$ac_objext
22944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22945 (eval $ac_compile) 2>conftest.er1
22947 grep -v '^ *+' conftest.er1
>conftest.err
22949 cat conftest.err
>&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); } &&
22952 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954 (eval $ac_try) 2>&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; } &&
22958 { ac_try
='test -s conftest.$ac_objext'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; }; then
22964 # It does; now see whether it defined to BIG_ENDIAN or not.
22965 cat >conftest.
$ac_ext <<_ACEOF
22968 cat confdefs.h
>>conftest.
$ac_ext
22969 cat >>conftest.
$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971 #include <sys/types.h>
22972 #include <sys/param.h>
22977 #if BYTE_ORDER != BIG_ENDIAN
22984 rm -f conftest.
$ac_objext
22985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22986 (eval $ac_compile) 2>conftest.er1
22988 grep -v '^ *+' conftest.er1
>conftest.err
22990 cat conftest.err
>&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } &&
22993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995 (eval $ac_try) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); }; } &&
22999 { ac_try
='test -s conftest.$ac_objext'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 ac_cv_c_bigendian
=yes
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.
$ac_ext >&5
23010 ac_cv_c_bigendian
=no
23012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.
$ac_ext >&5
23018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23019 if test $ac_cv_c_bigendian = unknown
; then
23020 if test "$cross_compiling" = yes; then
23021 ac_cv_c_bigendian
=unknown
23023 cat >conftest.
$ac_ext <<_ACEOF
23026 cat confdefs.h
>>conftest.
$ac_ext
23027 cat >>conftest.
$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23030 /* Are we little or big endian? From Harbison&Steele. */
23034 char c[sizeof (long)];
23037 exit (u.c[sizeof (long) - 1] == 1);
23040 rm -f conftest
$ac_exeext
23041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23042 (eval $ac_link) 2>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 ac_cv_c_bigendian
=no
23053 echo "$as_me: program exited with status $ac_status" >&5
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.
$ac_ext >&5
23057 ( exit $ac_status )
23058 ac_cv_c_bigendian
=yes
23060 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23064 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23065 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23066 if test $ac_cv_c_bigendian = unknown
; then
23067 { 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
23068 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;}
23070 if test $ac_cv_c_bigendian = yes; then
23071 cat >>confdefs.h
<<\_ACEOF
23072 #define WORDS_BIGENDIAN 1
23082 ac_cpp
='$CXXCPP $CPPFLAGS'
23083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23089 for ac_header
in iostream
23091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23093 echo "$as_me:$LINENO: checking for $ac_header" >&5
23094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23096 echo $ECHO_N "(cached) $ECHO_C" >&6
23098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23101 # Is the header compilable?
23102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23104 cat >conftest.
$ac_ext <<_ACEOF
23107 cat confdefs.h
>>conftest.
$ac_ext
23108 cat >>conftest.
$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 #include <$ac_header>
23113 rm -f conftest.
$ac_objext
23114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23115 (eval $ac_compile) 2>conftest.er1
23117 grep -v '^ *+' conftest.er1
>conftest.err
23119 cat conftest.err
>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } &&
23122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124 (eval $ac_try) 2>&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; } &&
23128 { ac_try
='test -s conftest.$ac_objext'
23129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23130 (eval $ac_try) 2>&5
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); }; }; then
23134 ac_header_compiler
=yes
23136 echo "$as_me: failed program was:" >&5
23137 sed 's/^/| /' conftest.
$ac_ext >&5
23139 ac_header_compiler
=no
23141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23143 echo "${ECHO_T}$ac_header_compiler" >&6
23145 # Is the header present?
23146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23148 cat >conftest.
$ac_ext <<_ACEOF
23151 cat confdefs.h
>>conftest.
$ac_ext
23152 cat >>conftest.
$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 #include <$ac_header>
23156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23157 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23159 grep -v '^ *+' conftest.er1
>conftest.err
23161 cat conftest.err
>&5
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); } >/dev
/null
; then
23164 if test -s conftest.err
; then
23165 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23166 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23173 if test -z "$ac_cpp_err"; then
23174 ac_header_preproc
=yes
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.
$ac_ext >&5
23179 ac_header_preproc
=no
23181 rm -f conftest.err conftest.
$ac_ext
23182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23183 echo "${ECHO_T}$ac_header_preproc" >&6
23185 # So? What about this header?
23186 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23192 ac_header_preproc
=yes
23195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23209 ## ----------------------------------------- ##
23210 ## Report this to wx-dev@lists.wxwidgets.org ##
23211 ## ----------------------------------------- ##
23214 sed "s/^/$as_me: WARNING: /" >&2
23217 echo "$as_me:$LINENO: checking for $ac_header" >&5
23218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23220 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 eval "$as_ac_Header=\$ac_header_preproc"
23224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23229 cat >>confdefs.h
<<_ACEOF
23230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23238 if test "$ac_cv_header_iostream" = "yes" ; then
23241 cat >>confdefs.h
<<\_ACEOF
23242 #define wxUSE_IOSTREAMH 1
23248 ac_cpp
='$CXXCPP $CPPFLAGS'
23249 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23250 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23251 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23256 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23257 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23258 if test "${wx_cv_cpp_bool+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 ac_cpp
='$CXXCPP $CPPFLAGS'
23266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23271 cat >conftest.
$ac_ext <<_ACEOF
23274 cat confdefs.h
>>conftest.
$ac_ext
23275 cat >>conftest.
$ac_ext <<_ACEOF
23276 /* end confdefs.h. */
23291 rm -f conftest.
$ac_objext
23292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23293 (eval $ac_compile) 2>conftest.er1
23295 grep -v '^ *+' conftest.er1
>conftest.err
23297 cat conftest.err
>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } &&
23300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 (eval $ac_try) 2>&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; } &&
23306 { ac_try
='test -s conftest.$ac_objext'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.
$ac_ext >&5
23324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23327 ac_cpp
='$CXXCPP $CPPFLAGS'
23328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23334 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23335 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23337 if test "$wx_cv_cpp_bool" = "yes"; then
23338 cat >>confdefs.h
<<\_ACEOF
23339 #define HAVE_BOOL 1
23346 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23347 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23348 if test "${wx_cv_explicit+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 ac_cpp
='$CXXCPP $CPPFLAGS'
23356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23361 cat >conftest.
$ac_ext <<_ACEOF
23364 cat confdefs.h
>>conftest.
$ac_ext
23365 cat >>conftest.
$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23368 class Foo { public: explicit Foo(int) {} };
23380 rm -f conftest.
$ac_objext
23381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23382 (eval $ac_compile) 2>conftest.er1
23384 grep -v '^ *+' conftest.er1
>conftest.err
23386 cat conftest.err
>&5
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); } &&
23389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23391 (eval $ac_try) 2>&5
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; } &&
23395 { ac_try
='test -s conftest.$ac_objext'
23396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23397 (eval $ac_try) 2>&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); }; }; then
23402 cat >conftest.
$ac_ext <<_ACEOF
23405 cat confdefs.h
>>conftest.
$ac_ext
23406 cat >>conftest.
$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23409 class Foo { public: explicit Foo(int) {} };
23410 static void TakeFoo(const Foo& foo) { }
23423 rm -f conftest.
$ac_objext
23424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23425 (eval $ac_compile) 2>conftest.er1
23427 grep -v '^ *+' conftest.er1
>conftest.err
23429 cat conftest.err
>&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } &&
23432 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try
='test -s conftest.$ac_objext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.
$ac_ext >&5
23452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.
$ac_ext >&5
23461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23464 ac_cpp
='$CXXCPP $CPPFLAGS'
23465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23471 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23472 echo "${ECHO_T}$wx_cv_explicit" >&6
23474 if test "$wx_cv_explicit" = "yes"; then
23475 cat >>confdefs.h
<<\_ACEOF
23476 #define HAVE_EXPLICIT 1
23482 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23483 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23484 if test "${ac_cv_cxx_const_cast+set}" = set; then
23485 echo $ECHO_N "(cached) $ECHO_C" >&6
23490 ac_cpp
='$CXXCPP $CPPFLAGS'
23491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23495 cat >conftest.
$ac_ext <<_ACEOF
23498 cat confdefs.h
>>conftest.
$ac_ext
23499 cat >>conftest.
$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23505 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23510 rm -f conftest.
$ac_objext
23511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23512 (eval $ac_compile) 2>conftest.er1
23514 grep -v '^ *+' conftest.er1
>conftest.err
23516 cat conftest.err
>&5
23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518 (exit $ac_status); } &&
23519 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23521 (eval $ac_try) 2>&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); }; } &&
23525 { ac_try
='test -s conftest.$ac_objext'
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; }; then
23531 ac_cv_cxx_const_cast
=yes
23533 echo "$as_me: failed program was:" >&5
23534 sed 's/^/| /' conftest.
$ac_ext >&5
23536 ac_cv_cxx_const_cast
=no
23538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23540 ac_cpp
='$CXXCPP $CPPFLAGS'
23541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23547 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23548 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23549 if test "$ac_cv_cxx_const_cast" = yes; then
23551 cat >>confdefs.h
<<\_ACEOF
23552 #define HAVE_CONST_CAST
23557 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23558 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23559 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23560 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 ac_cpp
='$CXXCPP $CPPFLAGS'
23566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23570 cat >conftest.
$ac_ext <<_ACEOF
23573 cat confdefs.h
>>conftest.
$ac_ext
23574 cat >>conftest.
$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23576 #include <typeinfo>
23577 class Base { public : Base () {} virtual void f () = 0;};
23578 class Derived : public Base { public : Derived () {} virtual void f () {} };
23579 class Unrelated { public : Unrelated () {} };
23580 int g (Unrelated&) { return 0; }
23585 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23590 rm -f conftest.
$ac_objext
23591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23592 (eval $ac_compile) 2>conftest.er1
23594 grep -v '^ *+' conftest.er1
>conftest.err
23596 cat conftest.err
>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; } &&
23605 { ac_try
='test -s conftest.$ac_objext'
23606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23607 (eval $ac_try) 2>&5
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); }; }; then
23611 ac_cv_cxx_reinterpret_cast
=yes
23613 echo "$as_me: failed program was:" >&5
23614 sed 's/^/| /' conftest.
$ac_ext >&5
23616 ac_cv_cxx_reinterpret_cast
=no
23618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23620 ac_cpp
='$CXXCPP $CPPFLAGS'
23621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23627 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23628 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23629 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23631 cat >>confdefs.h
<<\_ACEOF
23632 #define HAVE_REINTERPRET_CAST
23637 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23638 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23639 if test "${ac_cv_cxx_static_cast+set}" = set; then
23640 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 ac_cpp
='$CXXCPP $CPPFLAGS'
23646 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23650 cat >conftest.
$ac_ext <<_ACEOF
23653 cat confdefs.h
>>conftest.
$ac_ext
23654 cat >>conftest.
$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656 #include <typeinfo>
23657 class Base { public : Base () {} virtual void f () = 0; };
23658 class Derived : public Base { public : Derived () {} virtual void f () {} };
23659 int g (Derived&) { return 0; }
23664 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23669 rm -f conftest.
$ac_objext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23671 (eval $ac_compile) 2>conftest.er1
23673 grep -v '^ *+' conftest.er1
>conftest.err
23675 cat conftest.err
>&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } &&
23678 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23680 (eval $ac_try) 2>&5
23682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); }; } &&
23684 { ac_try
='test -s conftest.$ac_objext'
23685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686 (eval $ac_try) 2>&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; }; then
23690 ac_cv_cxx_static_cast
=yes
23692 echo "$as_me: failed program was:" >&5
23693 sed 's/^/| /' conftest.
$ac_ext >&5
23695 ac_cv_cxx_static_cast
=no
23697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23699 ac_cpp
='$CXXCPP $CPPFLAGS'
23700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23706 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23707 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23708 if test "$ac_cv_cxx_static_cast" = yes; then
23710 cat >>confdefs.h
<<\_ACEOF
23711 #define HAVE_STATIC_CAST
23717 if test "x$SUNCXX" = xyes
; then
23718 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23721 if test "x$SUNCC" = xyes
; then
23722 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23725 if test "x$SGICC" = "xyes"; then
23726 CFLAGS
="-woff 3970 $CFLAGS"
23728 if test "x$SGICXX" = "xyes"; then
23729 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23732 if test "x$HPCC" = "xyes"; then
23733 CFLAGS
="+W 2011,2450 $CFLAGS"
23735 if test "x$HPCXX" = "xyes"; then
23736 CXXFLAGS
="+W 2340 $CXXFLAGS"
23739 if test "x$COMPAQCXX" = "xyes"; then
23740 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23743 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23744 if test "$wxUSE_UNICODE" = "yes"; then
23745 std_string
="std::wstring"
23746 char_type
="wchar_t"
23748 std_string
="std::string"
23752 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23753 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23754 cat >conftest.
$ac_ext <<_ACEOF
23757 cat confdefs.h
>>conftest.
$ac_ext
23758 cat >>conftest.
$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23769 rm -f conftest.
$ac_objext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23771 (eval $ac_compile) 2>conftest.er1
23773 grep -v '^ *+' conftest.er1
>conftest.err
23775 cat conftest.err
>&5
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); } &&
23778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; } &&
23784 { ac_try
='test -s conftest.$ac_objext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 echo "$as_me:$LINENO: result: yes" >&5
23791 echo "${ECHO_T}yes" >&6
23792 cat >>confdefs.h
<<\_ACEOF
23793 #define HAVE_STD_WSTRING 1
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.
$ac_ext >&5
23800 echo "$as_me:$LINENO: result: no" >&5
23801 echo "${ECHO_T}no" >&6
23802 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23803 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23804 cat >conftest.
$ac_ext <<_ACEOF
23807 cat confdefs.h
>>conftest.
$ac_ext
23808 cat >>conftest.
$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23811 #ifdef HAVE_WCHAR_H
23813 # include <stddef.h>
23815 # include <wchar.h>
23817 #ifdef HAVE_STDLIB_H
23818 # include <stdlib.h>
23826 std::basic_string<$char_type> foo;
23827 const $char_type* dummy = foo.c_str();
23832 rm -f conftest.
$ac_objext
23833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23834 (eval $ac_compile) 2>conftest.er1
23836 grep -v '^ *+' conftest.er1
>conftest.err
23838 cat conftest.err
>&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } &&
23841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; } &&
23847 { ac_try
='test -s conftest.$ac_objext'
23848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23849 (eval $ac_try) 2>&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; }; then
23853 echo "$as_me:$LINENO: result: yes" >&5
23854 echo "${ECHO_T}yes" >&6
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.
$ac_ext >&5
23859 echo "$as_me:$LINENO: result: no" >&5
23860 echo "${ECHO_T}no" >&6
23861 if test "$wxUSE_STL" = "yes"; then
23862 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23863 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23864 { (exit 1); exit 1; }; }
23865 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23866 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23867 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23868 { (exit 1); exit 1; }; }
23870 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23871 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23872 wxUSE_STD_STRING
=no
23877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23883 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23884 echo "$as_me:$LINENO: checking for std::istream" >&5
23885 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23886 if test "${ac_cv_type_std__istream+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 cat >conftest.
$ac_ext <<_ACEOF
23892 cat confdefs.h
>>conftest.
$ac_ext
23893 cat >>conftest.
$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895 #include <iostream>
23900 if ((std::istream *) 0)
23902 if (sizeof (std::istream))
23908 rm -f conftest.
$ac_objext
23909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23910 (eval $ac_compile) 2>conftest.er1
23912 grep -v '^ *+' conftest.er1
>conftest.err
23914 cat conftest.err
>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } &&
23917 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23919 (eval $ac_try) 2>&5
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); }; } &&
23923 { ac_try
='test -s conftest.$ac_objext'
23924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23925 (eval $ac_try) 2>&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); }; }; then
23929 ac_cv_type_std__istream
=yes
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.
$ac_ext >&5
23934 ac_cv_type_std__istream
=no
23936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23938 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23939 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23940 if test $ac_cv_type_std__istream = yes; then
23942 cat >>confdefs.h
<<_ACEOF
23943 #define HAVE_STD__ISTREAM 1
23948 wxUSE_STD_IOSTREAM
=no
23950 echo "$as_me:$LINENO: checking for std::ostream" >&5
23951 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23952 if test "${ac_cv_type_std__ostream+set}" = set; then
23953 echo $ECHO_N "(cached) $ECHO_C" >&6
23955 cat >conftest.
$ac_ext <<_ACEOF
23958 cat confdefs.h
>>conftest.
$ac_ext
23959 cat >>conftest.
$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961 #include <iostream>
23966 if ((std::ostream *) 0)
23968 if (sizeof (std::ostream))
23974 rm -f conftest.
$ac_objext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23976 (eval $ac_compile) 2>conftest.er1
23978 grep -v '^ *+' conftest.er1
>conftest.err
23980 cat conftest.err
>&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); } &&
23983 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23985 (eval $ac_try) 2>&5
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); }; } &&
23989 { ac_try
='test -s conftest.$ac_objext'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; }; then
23995 ac_cv_type_std__ostream
=yes
23997 echo "$as_me: failed program was:" >&5
23998 sed 's/^/| /' conftest.
$ac_ext >&5
24000 ac_cv_type_std__ostream
=no
24002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24004 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24005 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24006 if test $ac_cv_type_std__ostream = yes; then
24008 cat >>confdefs.h
<<_ACEOF
24009 #define HAVE_STD__OSTREAM 1
24014 wxUSE_STD_IOSTREAM
=no
24018 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24019 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24020 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24021 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24022 { (exit 1); exit 1; }; }
24024 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24025 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24030 if test "$wxUSE_STL" = "yes"; then
24031 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24032 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24033 cat >conftest.
$ac_ext <<_ACEOF
24036 cat confdefs.h
>>conftest.
$ac_ext
24037 cat >>conftest.
$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24040 #include <functional>
24041 #include <algorithm>
24047 std::vector<int> moo;
24048 std::list<int> foo;
24049 std::vector<int>::iterator it =
24050 std::find_if(moo.begin(), moo.end(),
24051 std::bind2nd(std::less<int>(), 3));
24056 rm -f conftest.
$ac_objext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24058 (eval $ac_compile) 2>conftest.er1
24060 grep -v '^ *+' conftest.er1
>conftest.err
24062 cat conftest.err
>&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); } &&
24065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24067 (eval $ac_try) 2>&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; } &&
24071 { ac_try
='test -s conftest.$ac_objext'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; }; then
24077 echo "$as_me:$LINENO: result: yes" >&5
24078 echo "${ECHO_T}yes" >&6
24080 echo "$as_me: failed program was:" >&5
24081 sed 's/^/| /' conftest.
$ac_ext >&5
24083 echo "$as_me:$LINENO: result: no" >&5
24084 echo "${ECHO_T}no" >&6
24085 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24086 echo "$as_me: error: Basic STL functionality missing" >&2;}
24087 { (exit 1); exit 1; }; }
24089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24091 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24092 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24093 cat >conftest.
$ac_ext <<_ACEOF
24096 cat confdefs.h
>>conftest.
$ac_ext
24097 cat >>conftest.
$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24103 std::string foo, bar;
24105 foo.compare(1, 1, bar);
24106 foo.compare(1, 1, bar, 1, 1);
24108 foo.compare(1, 1, "");
24109 foo.compare(1, 1, "", 2);
24114 rm -f conftest.
$ac_objext
24115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24116 (eval $ac_compile) 2>conftest.er1
24118 grep -v '^ *+' conftest.er1
>conftest.err
24120 cat conftest.err
>&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } &&
24123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125 (eval $ac_try) 2>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); }; } &&
24129 { ac_try
='test -s conftest.$ac_objext'
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; }; then
24135 echo "$as_me:$LINENO: result: yes" >&5
24136 echo "${ECHO_T}yes" >&6
24137 cat >>confdefs.h
<<\_ACEOF
24138 #define HAVE_STD_STRING_COMPARE 1
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.
$ac_ext >&5
24145 echo "$as_me:$LINENO: result: no" >&5
24146 echo "${ECHO_T}no" >&6
24148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24150 if test "${ac_cv_header_hash_map+set}" = set; then
24151 echo "$as_me:$LINENO: checking for hash_map" >&5
24152 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24153 if test "${ac_cv_header_hash_map+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24156 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24157 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24159 # Is the header compilable?
24160 echo "$as_me:$LINENO: checking hash_map usability" >&5
24161 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24162 cat >conftest.
$ac_ext <<_ACEOF
24165 cat confdefs.h
>>conftest.
$ac_ext
24166 cat >>conftest.
$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168 $ac_includes_default
24169 #include <hash_map>
24171 rm -f conftest.
$ac_objext
24172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24173 (eval $ac_compile) 2>conftest.er1
24175 grep -v '^ *+' conftest.er1
>conftest.err
24177 cat conftest.err
>&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } &&
24180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; } &&
24186 { ac_try
='test -s conftest.$ac_objext'
24187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24188 (eval $ac_try) 2>&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); }; }; then
24192 ac_header_compiler
=yes
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.
$ac_ext >&5
24197 ac_header_compiler
=no
24199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24201 echo "${ECHO_T}$ac_header_compiler" >&6
24203 # Is the header present?
24204 echo "$as_me:$LINENO: checking hash_map presence" >&5
24205 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24206 cat >conftest.
$ac_ext <<_ACEOF
24209 cat confdefs.h
>>conftest.
$ac_ext
24210 cat >>conftest.
$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 #include <hash_map>
24214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24215 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24217 grep -v '^ *+' conftest.er1
>conftest.err
24219 cat conftest.err
>&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); } >/dev
/null
; then
24222 if test -s conftest.err
; then
24223 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24224 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24231 if test -z "$ac_cpp_err"; then
24232 ac_header_preproc
=yes
24234 echo "$as_me: failed program was:" >&5
24235 sed 's/^/| /' conftest.
$ac_ext >&5
24237 ac_header_preproc
=no
24239 rm -f conftest.err conftest.
$ac_ext
24240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24241 echo "${ECHO_T}$ac_header_preproc" >&6
24243 # So? What about this header?
24244 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24246 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24247 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24248 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24249 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24250 ac_header_preproc
=yes
24253 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24254 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24255 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24256 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24257 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24258 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24259 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24260 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24261 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24262 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24263 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24264 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24267 ## ----------------------------------------- ##
24268 ## Report this to wx-dev@lists.wxwidgets.org ##
24269 ## ----------------------------------------- ##
24272 sed "s/^/$as_me: WARNING: /" >&2
24275 echo "$as_me:$LINENO: checking for hash_map" >&5
24276 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24277 if test "${ac_cv_header_hash_map+set}" = set; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 ac_cv_header_hash_map
=$ac_header_preproc
24282 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24283 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24286 if test $ac_cv_header_hash_map = yes; then
24287 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24288 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24289 cat >conftest.
$ac_ext <<_ACEOF
24292 cat confdefs.h
>>conftest.
$ac_ext
24293 cat >>conftest.
$ac_ext <<_ACEOF
24294 /* end confdefs.h. */
24295 #include <hash_map>
24296 #include <hash_set>
24300 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24301 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24306 rm -f conftest.
$ac_objext
24307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24308 (eval $ac_compile) 2>conftest.er1
24310 grep -v '^ *+' conftest.er1
>conftest.err
24312 cat conftest.err
>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } &&
24315 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; } &&
24321 { ac_try
='test -s conftest.$ac_objext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24327 echo "$as_me:$LINENO: result: yes" >&5
24328 echo "${ECHO_T}yes" >&6
24329 cat >>confdefs.h
<<\_ACEOF
24330 #define HAVE_HASH_MAP 1
24333 cat >>confdefs.h
<<\_ACEOF
24334 #define HAVE_STD_HASH_MAP 1
24338 echo "$as_me: failed program was:" >&5
24339 sed 's/^/| /' conftest.
$ac_ext >&5
24341 echo "$as_me:$LINENO: result: no" >&5
24342 echo "${ECHO_T}no" >&6
24344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24350 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24351 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24352 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24353 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24354 echo $ECHO_N "(cached) $ECHO_C" >&6
24356 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24357 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24359 # Is the header compilable?
24360 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24361 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24362 cat >conftest.
$ac_ext <<_ACEOF
24365 cat confdefs.h
>>conftest.
$ac_ext
24366 cat >>conftest.
$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368 $ac_includes_default
24369 #include <ext/hash_map>
24371 rm -f conftest.
$ac_objext
24372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24373 (eval $ac_compile) 2>conftest.er1
24375 grep -v '^ *+' conftest.er1
>conftest.err
24377 cat conftest.err
>&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } &&
24380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24382 (eval $ac_try) 2>&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; } &&
24386 { ac_try
='test -s conftest.$ac_objext'
24387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388 (eval $ac_try) 2>&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); }; }; then
24392 ac_header_compiler
=yes
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.
$ac_ext >&5
24397 ac_header_compiler
=no
24399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24401 echo "${ECHO_T}$ac_header_compiler" >&6
24403 # Is the header present?
24404 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24405 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24406 cat >conftest.
$ac_ext <<_ACEOF
24409 cat confdefs.h
>>conftest.
$ac_ext
24410 cat >>conftest.
$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24412 #include <ext/hash_map>
24414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24417 grep -v '^ *+' conftest.er1
>conftest.err
24419 cat conftest.err
>&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } >/dev
/null
; then
24422 if test -s conftest.err
; then
24423 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24424 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24431 if test -z "$ac_cpp_err"; then
24432 ac_header_preproc
=yes
24434 echo "$as_me: failed program was:" >&5
24435 sed 's/^/| /' conftest.
$ac_ext >&5
24437 ac_header_preproc
=no
24439 rm -f conftest.err conftest.
$ac_ext
24440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24441 echo "${ECHO_T}$ac_header_preproc" >&6
24443 # So? What about this header?
24444 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24446 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24447 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24448 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24449 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24450 ac_header_preproc
=yes
24453 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24454 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24455 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24456 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24457 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24458 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24459 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24460 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24461 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24462 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24464 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24467 ## ----------------------------------------- ##
24468 ## Report this to wx-dev@lists.wxwidgets.org ##
24469 ## ----------------------------------------- ##
24472 sed "s/^/$as_me: WARNING: /" >&2
24475 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24476 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24477 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24480 ac_cv_header_ext_hash_map
=$ac_header_preproc
24482 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24483 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24486 if test $ac_cv_header_ext_hash_map = yes; then
24487 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24488 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24489 cat >conftest.
$ac_ext <<_ACEOF
24492 cat confdefs.h
>>conftest.
$ac_ext
24493 cat >>conftest.
$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24495 #include <ext/hash_map>
24496 #include <ext/hash_set>
24500 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24501 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24506 rm -f conftest.
$ac_objext
24507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24508 (eval $ac_compile) 2>conftest.er1
24510 grep -v '^ *+' conftest.er1
>conftest.err
24512 cat conftest.err
>&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } &&
24515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517 (eval $ac_try) 2>&5
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); }; } &&
24521 { ac_try
='test -s conftest.$ac_objext'
24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523 (eval $ac_try) 2>&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); }; }; then
24527 echo "$as_me:$LINENO: result: yes" >&5
24528 echo "${ECHO_T}yes" >&6
24529 cat >>confdefs.h
<<\_ACEOF
24530 #define HAVE_EXT_HASH_MAP 1
24533 cat >>confdefs.h
<<\_ACEOF
24534 #define HAVE_GNU_CXX_HASH_MAP 1
24538 echo "$as_me: failed program was:" >&5
24539 sed 's/^/| /' conftest.
$ac_ext >&5
24541 echo "$as_me:$LINENO: result: no" >&5
24542 echo "${ECHO_T}no" >&6
24544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24553 /usr/local/include \
24555 /usr/Motif-2.1/include \
24556 /usr/Motif-1.2/include \
24557 /usr/include/Motif1.2 \
24560 /usr/openwin/include \
24564 /usr/X11R6/include \
24565 /usr/X11R6.4/include \
24566 /usr/X11R5/include \
24567 /usr/X11R4/include \
24569 /usr/include/X11R6 \
24570 /usr/include/X11R5 \
24571 /usr/include/X11R4 \
24573 /usr/local/X11R6/include \
24574 /usr/local/X11R5/include \
24575 /usr/local/X11R4/include \
24577 /usr/local/include/X11R6 \
24578 /usr/local/include/X11R5 \
24579 /usr/local/include/X11R4 \
24583 /usr/local/X11/include \
24584 /usr/local/include/X11 \
24586 /usr/XFree86/include/X11 \
24589 /usr/openwin/share/include"
24591 echo "$as_me:$LINENO: checking for libraries directory" >&5
24592 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24596 if test "${wx_cv_std_libpath+set}" = set; then
24597 echo $ECHO_N "(cached) $ECHO_C" >&6
24600 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24601 for e
in a so sl dylib dll.a
; do
24603 if test -f $libc; then
24606 cat >conftest.
$ac_ext <<_ACEOF
24607 int main() { return 0; }
24609 rm -f conftest.
$ac_objext conftest
$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611 (eval $ac_link) 2>conftest.er1
24613 grep -v '^ *+' conftest.er1
>conftest.err
24615 cat conftest.err
>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; } &&
24624 { ac_try
='test -s conftest$ac_exeext'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; }; then
24630 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.
$ac_ext >&5
24636 rm -f conftest.err conftest.
$ac_objext \
24637 conftest
$ac_exeext conftest.
$ac_ext
24639 if test "x$wx_cv_std_libpath" != "x"; then
24645 if test "x$wx_cv_std_libpath" = "x"; then
24646 wx_cv_std_libpath
="lib"
24655 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24656 wx_cv_std_libpath
="lib/64"
24658 wx_cv_std_libpath
="lib"
24663 if test "$ac_cv_sizeof_void_p" = 8 -a \
24664 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24665 wx_cv_std_libpath
="lib64"
24667 wx_cv_std_libpath
="lib"
24672 wx_cv_std_libpath
="lib";
24676 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24677 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24679 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24681 if test "$build" != "$host" -a "$GCC" = yes; then
24682 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24683 cross_root
=`dirname $cross_root`
24684 cross_root
=`dirname $cross_root`
24686 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24687 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24688 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24690 if test -z "$PKG_CONFIG_PATH"; then
24691 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24692 export PKG_CONFIG_PATH
24695 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24698 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24700 if test -f "$ac_dir/X11/Intrinsic.h"; then
24701 ac_find_includes
=$ac_dir
24706 x_includes
=$ac_find_includes
24708 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24711 for ac_dir
in $SEARCH_LIB;
24713 for ac_extension
in a so sl dylib dll.a
; do
24714 if test -f "$ac_dir/libXt.$ac_extension"; then
24715 ac_find_libraries
=$ac_dir
24721 x_libraries
=$ac_find_libraries
24727 cat >confcache
<<\_ACEOF
24728 # This file is a shell script that caches the results of configure
24729 # tests run on this system so they can be shared between configure
24730 # scripts and configure runs, see configure's option --config-cache.
24731 # It is not useful on other systems. If it contains results you don't
24732 # want to keep, you may remove or edit it.
24734 # config.status only pays attention to the cache file if you give it
24735 # the --recheck option to rerun configure.
24737 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24738 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24739 # following values.
24743 # The following way of writing the cache mishandles newlines in values,
24744 # but we know of no workaround that is simple, portable, and efficient.
24745 # So, don't put newlines in cache variables' values.
24746 # Ultrix sh set writes to stderr and can't be redirected directly,
24747 # and sets the high bit in the cache file unless we assign to the vars.
24750 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24752 # `set' does not quote correctly, so add quotes (double-quote
24753 # substitution turns \\\\ into \\, and sed turns \\ into \).
24756 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24759 # `set' quotes correctly as required by POSIX, so do not add quotes.
24761 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24770 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24772 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24773 if test -w $cache_file; then
24774 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24775 cat confcache
>$cache_file
24777 echo "not updating unwritable cache $cache_file"
24782 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24783 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24784 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24785 if test "${wx_cv_lib_glibc21+set}" = set; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24789 cat >conftest.
$ac_ext <<_ACEOF
24792 cat confdefs.h
>>conftest.
$ac_ext
24793 cat >>conftest.
$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24795 #include <features.h>
24800 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24808 rm -f conftest.
$ac_objext
24809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24810 (eval $ac_compile) 2>conftest.er1
24812 grep -v '^ *+' conftest.er1
>conftest.err
24814 cat conftest.err
>&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); } &&
24817 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24819 (eval $ac_try) 2>&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); }; } &&
24823 { ac_try
='test -s conftest.$ac_objext'
24824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24825 (eval $ac_try) 2>&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); }; }; then
24830 wx_cv_lib_glibc21
=yes
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.
$ac_ext >&5
24837 wx_cv_lib_glibc21
=no
24841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24844 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24845 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24846 if test "$wx_cv_lib_glibc21" = "yes"; then
24847 cat >>confdefs.h
<<\_ACEOF
24848 #define wxHAVE_GLIBC2 1
24854 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24855 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24856 cat >>confdefs.h
<<\_ACEOF
24857 #define _GNU_SOURCE 1
24868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24869 echo "$as_me:$LINENO: checking for $ac_func" >&5
24870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24871 if eval "test \"\${$as_ac_var+set}\" = set"; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 cat >conftest.
$ac_ext <<_ACEOF
24877 cat confdefs.h
>>conftest.
$ac_ext
24878 cat >>conftest.
$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24882 #define $ac_func innocuous_$ac_func
24884 /* System header to define __stub macros and hopefully few prototypes,
24885 which can conflict with char $ac_func (); below.
24886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24887 <limits.h> exists even on freestanding compilers. */
24890 # include <limits.h>
24892 # include <assert.h>
24897 /* Override any gcc2 internal prototype to avoid an error. */
24902 /* We use char because int might match the return type of a gcc2
24903 builtin and then its argument prototype would still apply. */
24905 /* The GNU C library defines this for functions which it implements
24906 to always fail with ENOSYS. Some functions are actually named
24907 something starting with __ and the normal name is an alias. */
24908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24911 char (*f) () = $ac_func;
24920 return f != $ac_func;
24925 rm -f conftest.
$ac_objext conftest
$ac_exeext
24926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24927 (eval $ac_link) 2>conftest.er1
24929 grep -v '^ *+' conftest.er1
>conftest.err
24931 cat conftest.err
>&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } &&
24934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; } &&
24940 { ac_try
='test -s conftest$ac_exeext'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; }; then
24946 eval "$as_ac_var=yes"
24948 echo "$as_me: failed program was:" >&5
24949 sed 's/^/| /' conftest.
$ac_ext >&5
24951 eval "$as_ac_var=no"
24953 rm -f conftest.err conftest.
$ac_objext \
24954 conftest
$ac_exeext conftest.
$ac_ext
24956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24958 if test `eval echo '${'$as_ac_var'}'` = yes; then
24959 cat >>confdefs.h
<<_ACEOF
24960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24967 for ac_func
in floor
24969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24970 echo "$as_me:$LINENO: checking for $ac_func" >&5
24971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24972 if eval "test \"\${$as_ac_var+set}\" = set"; then
24973 echo $ECHO_N "(cached) $ECHO_C" >&6
24975 cat >conftest.
$ac_ext <<_ACEOF
24978 cat confdefs.h
>>conftest.
$ac_ext
24979 cat >>conftest.
$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24983 #define $ac_func innocuous_$ac_func
24985 /* System header to define __stub macros and hopefully few prototypes,
24986 which can conflict with char $ac_func (); below.
24987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24988 <limits.h> exists even on freestanding compilers. */
24991 # include <limits.h>
24993 # include <assert.h>
24998 /* Override any gcc2 internal prototype to avoid an error. */
25003 /* We use char because int might match the return type of a gcc2
25004 builtin and then its argument prototype would still apply. */
25006 /* The GNU C library defines this for functions which it implements
25007 to always fail with ENOSYS. Some functions are actually named
25008 something starting with __ and the normal name is an alias. */
25009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25012 char (*f) () = $ac_func;
25021 return f != $ac_func;
25026 rm -f conftest.
$ac_objext conftest
$ac_exeext
25027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25028 (eval $ac_link) 2>conftest.er1
25030 grep -v '^ *+' conftest.er1
>conftest.err
25032 cat conftest.err
>&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); } &&
25035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; } &&
25041 { ac_try
='test -s conftest$ac_exeext'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 eval "$as_ac_var=yes"
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.
$ac_ext >&5
25052 eval "$as_ac_var=no"
25054 rm -f conftest.err conftest.
$ac_objext \
25055 conftest
$ac_exeext conftest.
$ac_ext
25057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25059 if test `eval echo '${'$as_ac_var'}'` = yes; then
25060 cat >>confdefs.h
<<_ACEOF
25061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25067 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25068 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25069 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25070 echo "$as_me:$LINENO: result: yes" >&5
25071 echo "${ECHO_T}yes" >&6
25073 echo "$as_me:$LINENO: result: no" >&5
25074 echo "${ECHO_T}no" >&6
25076 # use different functions to avoid configure caching
25082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25083 echo "$as_me:$LINENO: checking for $ac_func" >&5
25084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25085 if eval "test \"\${$as_ac_var+set}\" = set"; then
25086 echo $ECHO_N "(cached) $ECHO_C" >&6
25088 cat >conftest.
$ac_ext <<_ACEOF
25091 cat confdefs.h
>>conftest.
$ac_ext
25092 cat >>conftest.
$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25096 #define $ac_func innocuous_$ac_func
25098 /* System header to define __stub macros and hopefully few prototypes,
25099 which can conflict with char $ac_func (); below.
25100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25101 <limits.h> exists even on freestanding compilers. */
25104 # include <limits.h>
25106 # include <assert.h>
25111 /* Override any gcc2 internal prototype to avoid an error. */
25116 /* We use char because int might match the return type of a gcc2
25117 builtin and then its argument prototype would still apply. */
25119 /* The GNU C library defines this for functions which it implements
25120 to always fail with ENOSYS. Some functions are actually named
25121 something starting with __ and the normal name is an alias. */
25122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25125 char (*f) () = $ac_func;
25134 return f != $ac_func;
25139 rm -f conftest.
$ac_objext conftest
$ac_exeext
25140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25141 (eval $ac_link) 2>conftest.er1
25143 grep -v '^ *+' conftest.er1
>conftest.err
25145 cat conftest.err
>&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); } &&
25148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25150 (eval $ac_try) 2>&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); }; } &&
25154 { ac_try
='test -s conftest$ac_exeext'
25155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25156 (eval $ac_try) 2>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); }; }; then
25160 eval "$as_ac_var=yes"
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.
$ac_ext >&5
25165 eval "$as_ac_var=no"
25167 rm -f conftest.err conftest.
$ac_objext \
25168 conftest
$ac_exeext conftest.
$ac_ext
25170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25172 if test `eval echo '${'$as_ac_var'}'` = yes; then
25173 cat >>confdefs.h
<<_ACEOF
25174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25181 for ac_func
in ceil
25183 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25184 echo "$as_me:$LINENO: checking for $ac_func" >&5
25185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25186 if eval "test \"\${$as_ac_var+set}\" = set"; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25189 cat >conftest.
$ac_ext <<_ACEOF
25192 cat confdefs.h
>>conftest.
$ac_ext
25193 cat >>conftest.
$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25197 #define $ac_func innocuous_$ac_func
25199 /* System header to define __stub macros and hopefully few prototypes,
25200 which can conflict with char $ac_func (); below.
25201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25202 <limits.h> exists even on freestanding compilers. */
25205 # include <limits.h>
25207 # include <assert.h>
25212 /* Override any gcc2 internal prototype to avoid an error. */
25217 /* We use char because int might match the return type of a gcc2
25218 builtin and then its argument prototype would still apply. */
25220 /* The GNU C library defines this for functions which it implements
25221 to always fail with ENOSYS. Some functions are actually named
25222 something starting with __ and the normal name is an alias. */
25223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25226 char (*f) () = $ac_func;
25235 return f != $ac_func;
25240 rm -f conftest.
$ac_objext conftest
$ac_exeext
25241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25242 (eval $ac_link) 2>conftest.er1
25244 grep -v '^ *+' conftest.er1
>conftest.err
25246 cat conftest.err
>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } &&
25249 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25251 (eval $ac_try) 2>&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); }; } &&
25255 { ac_try
='test -s conftest$ac_exeext'
25256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25257 (eval $ac_try) 2>&5
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); }; }; then
25261 eval "$as_ac_var=yes"
25263 echo "$as_me: failed program was:" >&5
25264 sed 's/^/| /' conftest.
$ac_ext >&5
25266 eval "$as_ac_var=no"
25268 rm -f conftest.err conftest.
$ac_objext \
25269 conftest
$ac_exeext conftest.
$ac_ext
25271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25273 if test `eval echo '${'$as_ac_var'}'` = yes; then
25274 cat >>confdefs.h
<<_ACEOF
25275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25281 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25282 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25283 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25284 echo "$as_me:$LINENO: result: yes" >&5
25285 echo "${ECHO_T}yes" >&6
25287 echo "$as_me:$LINENO: result: no" >&5
25288 echo "${ECHO_T}no" >&6
25289 # not sure we should warn the user, crash, etc.
25293 if test "wxUSE_UNICODE" = "yes"; then
25295 for ac_func
in wcstoull
25297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25298 echo "$as_me:$LINENO: checking for $ac_func" >&5
25299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25300 if eval "test \"\${$as_ac_var+set}\" = set"; then
25301 echo $ECHO_N "(cached) $ECHO_C" >&6
25303 cat >conftest.
$ac_ext <<_ACEOF
25306 cat confdefs.h
>>conftest.
$ac_ext
25307 cat >>conftest.
$ac_ext <<_ACEOF
25308 /* end confdefs.h. */
25309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25311 #define $ac_func innocuous_$ac_func
25313 /* System header to define __stub macros and hopefully few prototypes,
25314 which can conflict with char $ac_func (); below.
25315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25316 <limits.h> exists even on freestanding compilers. */
25319 # include <limits.h>
25321 # include <assert.h>
25326 /* Override any gcc2 internal prototype to avoid an error. */
25331 /* We use char because int might match the return type of a gcc2
25332 builtin and then its argument prototype would still apply. */
25334 /* The GNU C library defines this for functions which it implements
25335 to always fail with ENOSYS. Some functions are actually named
25336 something starting with __ and the normal name is an alias. */
25337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25340 char (*f) () = $ac_func;
25349 return f != $ac_func;
25354 rm -f conftest.
$ac_objext conftest
$ac_exeext
25355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25356 (eval $ac_link) 2>conftest.er1
25358 grep -v '^ *+' conftest.er1
>conftest.err
25360 cat conftest.err
>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } &&
25363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; } &&
25369 { ac_try
='test -s conftest$ac_exeext'
25370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371 (eval $ac_try) 2>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); }; }; then
25375 eval "$as_ac_var=yes"
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.
$ac_ext >&5
25380 eval "$as_ac_var=no"
25382 rm -f conftest.err conftest.
$ac_objext \
25383 conftest
$ac_exeext conftest.
$ac_ext
25385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25387 if test `eval echo '${'$as_ac_var'}'` = yes; then
25388 cat >>confdefs.h
<<_ACEOF
25389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25397 for ac_func
in strtoull
25399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25400 echo "$as_me:$LINENO: checking for $ac_func" >&5
25401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25402 if eval "test \"\${$as_ac_var+set}\" = set"; then
25403 echo $ECHO_N "(cached) $ECHO_C" >&6
25405 cat >conftest.
$ac_ext <<_ACEOF
25408 cat confdefs.h
>>conftest.
$ac_ext
25409 cat >>conftest.
$ac_ext <<_ACEOF
25410 /* end confdefs.h. */
25411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25413 #define $ac_func innocuous_$ac_func
25415 /* System header to define __stub macros and hopefully few prototypes,
25416 which can conflict with char $ac_func (); below.
25417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25418 <limits.h> exists even on freestanding compilers. */
25421 # include <limits.h>
25423 # include <assert.h>
25428 /* Override any gcc2 internal prototype to avoid an error. */
25433 /* We use char because int might match the return type of a gcc2
25434 builtin and then its argument prototype would still apply. */
25436 /* The GNU C library defines this for functions which it implements
25437 to always fail with ENOSYS. Some functions are actually named
25438 something starting with __ and the normal name is an alias. */
25439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25442 char (*f) () = $ac_func;
25451 return f != $ac_func;
25456 rm -f conftest.
$ac_objext conftest
$ac_exeext
25457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25458 (eval $ac_link) 2>conftest.er1
25460 grep -v '^ *+' conftest.er1
>conftest.err
25462 cat conftest.err
>&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); } &&
25465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25467 (eval $ac_try) 2>&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); }; } &&
25471 { ac_try
='test -s conftest$ac_exeext'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; }; then
25477 eval "$as_ac_var=yes"
25479 echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.
$ac_ext >&5
25482 eval "$as_ac_var=no"
25484 rm -f conftest.err conftest.
$ac_objext \
25485 conftest
$ac_exeext conftest.
$ac_ext
25487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25489 if test `eval echo '${'$as_ac_var'}'` = yes; then
25490 cat >>confdefs.h
<<_ACEOF
25491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25501 if test "$wxUSE_REGEX" != "no"; then
25502 cat >>confdefs.h
<<\_ACEOF
25503 #define wxUSE_REGEX 1
25507 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25508 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25509 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25510 wxUSE_REGEX
=builtin
25513 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25514 if test "${ac_cv_header_regex_h+set}" = set; then
25515 echo "$as_me:$LINENO: checking for regex.h" >&5
25516 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25517 if test "${ac_cv_header_regex_h+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25521 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25523 # Is the header compilable?
25524 echo "$as_me:$LINENO: checking regex.h usability" >&5
25525 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25526 cat >conftest.
$ac_ext <<_ACEOF
25529 cat confdefs.h
>>conftest.
$ac_ext
25530 cat >>conftest.
$ac_ext <<_ACEOF
25531 /* end confdefs.h. */
25532 $ac_includes_default
25535 rm -f conftest.
$ac_objext
25536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25537 (eval $ac_compile) 2>conftest.er1
25539 grep -v '^ *+' conftest.er1
>conftest.err
25541 cat conftest.err
>&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } &&
25544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25546 (eval $ac_try) 2>&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); }; } &&
25550 { ac_try
='test -s conftest.$ac_objext'
25551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552 (eval $ac_try) 2>&5
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); }; }; then
25556 ac_header_compiler
=yes
25558 echo "$as_me: failed program was:" >&5
25559 sed 's/^/| /' conftest.
$ac_ext >&5
25561 ac_header_compiler
=no
25563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25565 echo "${ECHO_T}$ac_header_compiler" >&6
25567 # Is the header present?
25568 echo "$as_me:$LINENO: checking regex.h presence" >&5
25569 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25570 cat >conftest.
$ac_ext <<_ACEOF
25573 cat confdefs.h
>>conftest.
$ac_ext
25574 cat >>conftest.
$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25579 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25581 grep -v '^ *+' conftest.er1
>conftest.err
25583 cat conftest.err
>&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); } >/dev
/null
; then
25586 if test -s conftest.err
; then
25587 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25588 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25595 if test -z "$ac_cpp_err"; then
25596 ac_header_preproc
=yes
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.
$ac_ext >&5
25601 ac_header_preproc
=no
25603 rm -f conftest.err conftest.
$ac_ext
25604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25605 echo "${ECHO_T}$ac_header_preproc" >&6
25607 # So? What about this header?
25608 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25610 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25611 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25612 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25613 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25614 ac_header_preproc
=yes
25617 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25618 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25619 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25620 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25621 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25622 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25623 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25624 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25625 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25626 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25627 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25628 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25631 ## ----------------------------------------- ##
25632 ## Report this to wx-dev@lists.wxwidgets.org ##
25633 ## ----------------------------------------- ##
25636 sed "s/^/$as_me: WARNING: /" >&2
25639 echo "$as_me:$LINENO: checking for regex.h" >&5
25640 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25641 if test "${ac_cv_header_regex_h+set}" = set; then
25642 echo $ECHO_N "(cached) $ECHO_C" >&6
25644 ac_cv_header_regex_h
=$ac_header_preproc
25646 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25647 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25650 if test $ac_cv_header_regex_h = yes; then
25653 for ac_func
in regcomp re_search
25655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25656 echo "$as_me:$LINENO: checking for $ac_func" >&5
25657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25658 if eval "test \"\${$as_ac_var+set}\" = set"; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 cat >conftest.
$ac_ext <<_ACEOF
25664 cat confdefs.h
>>conftest.
$ac_ext
25665 cat >>conftest.
$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25669 #define $ac_func innocuous_$ac_func
25671 /* System header to define __stub macros and hopefully few prototypes,
25672 which can conflict with char $ac_func (); below.
25673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25674 <limits.h> exists even on freestanding compilers. */
25677 # include <limits.h>
25679 # include <assert.h>
25684 /* Override any gcc2 internal prototype to avoid an error. */
25689 /* We use char because int might match the return type of a gcc2
25690 builtin and then its argument prototype would still apply. */
25692 /* The GNU C library defines this for functions which it implements
25693 to always fail with ENOSYS. Some functions are actually named
25694 something starting with __ and the normal name is an alias. */
25695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25698 char (*f) () = $ac_func;
25707 return f != $ac_func;
25712 rm -f conftest.
$ac_objext conftest
$ac_exeext
25713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25714 (eval $ac_link) 2>conftest.er1
25716 grep -v '^ *+' conftest.er1
>conftest.err
25718 cat conftest.err
>&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); } &&
25721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; } &&
25727 { ac_try
='test -s conftest$ac_exeext'
25728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25729 (eval $ac_try) 2>&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); }; }; then
25733 eval "$as_ac_var=yes"
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.
$ac_ext >&5
25738 eval "$as_ac_var=no"
25740 rm -f conftest.err conftest.
$ac_objext \
25741 conftest
$ac_exeext conftest.
$ac_ext
25743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25745 if test `eval echo '${'$as_ac_var'}'` = yes; then
25746 cat >>confdefs.h
<<_ACEOF
25747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25757 if test "x$ac_cv_func_regcomp" != "xyes"; then
25758 if test "$wxUSE_REGEX" = "sys" ; then
25759 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25760 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25761 { (exit 1); exit 1; }; }
25763 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25764 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25765 wxUSE_REGEX
=builtin
25769 cat >>confdefs.h
<<\_ACEOF
25770 #define WX_NO_REGEX_ADVANCED 1
25779 if test "$wxUSE_ZLIB" != "no" ; then
25780 cat >>confdefs.h
<<\_ACEOF
25781 #define wxUSE_ZLIB 1
25785 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25786 if test "$USE_DARWIN" = 1; then
25787 system_zlib_h_ok
="yes"
25789 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25790 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25791 if test "${ac_cv_header_zlib_h+set}" = set; then
25792 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 if test "$cross_compiling" = yes; then
25795 unset ac_cv_header_zlib_h
25798 cat >conftest.
$ac_ext <<_ACEOF
25801 cat confdefs.h
>>conftest.
$ac_ext
25802 cat >>conftest.
$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25810 FILE *f=fopen("conftestval", "w");
25813 ZLIB_VERSION[0] == '1' &&
25814 (ZLIB_VERSION[2] > '1' ||
25815 (ZLIB_VERSION[2] == '1' &&
25816 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25821 rm -f conftest
$ac_exeext
25822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25823 (eval $ac_link) 2>&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25828 (eval $ac_try) 2>&5
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); }; }; then
25832 ac_cv_header_zlib_h
=`cat conftestval`
25834 echo "$as_me: program exited with status $ac_status" >&5
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.
$ac_ext >&5
25838 ( exit $ac_status )
25839 ac_cv_header_zlib_h
=no
25841 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25845 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25846 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25847 if test "${ac_cv_header_zlib_h+set}" = set; then
25848 echo "$as_me:$LINENO: checking for zlib.h" >&5
25849 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25850 if test "${ac_cv_header_zlib_h+set}" = set; then
25851 echo $ECHO_N "(cached) $ECHO_C" >&6
25853 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25854 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25856 # Is the header compilable?
25857 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25858 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25859 cat >conftest.
$ac_ext <<_ACEOF
25862 cat confdefs.h
>>conftest.
$ac_ext
25863 cat >>conftest.
$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 $ac_includes_default
25868 rm -f conftest.
$ac_objext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25870 (eval $ac_compile) 2>conftest.er1
25872 grep -v '^ *+' conftest.er1
>conftest.err
25874 cat conftest.err
>&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try
='test -s conftest.$ac_objext'
25884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885 (eval $ac_try) 2>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); }; }; then
25889 ac_header_compiler
=yes
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.
$ac_ext >&5
25894 ac_header_compiler
=no
25896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25898 echo "${ECHO_T}$ac_header_compiler" >&6
25900 # Is the header present?
25901 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25902 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25903 cat >conftest.
$ac_ext <<_ACEOF
25906 cat confdefs.h
>>conftest.
$ac_ext
25907 cat >>conftest.
$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25912 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25914 grep -v '^ *+' conftest.er1
>conftest.err
25916 cat conftest.err
>&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); } >/dev
/null
; then
25919 if test -s conftest.err
; then
25920 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25921 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25928 if test -z "$ac_cpp_err"; then
25929 ac_header_preproc
=yes
25931 echo "$as_me: failed program was:" >&5
25932 sed 's/^/| /' conftest.
$ac_ext >&5
25934 ac_header_preproc
=no
25936 rm -f conftest.err conftest.
$ac_ext
25937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25938 echo "${ECHO_T}$ac_header_preproc" >&6
25940 # So? What about this header?
25941 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25943 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25944 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25945 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25946 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25947 ac_header_preproc
=yes
25950 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25951 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25952 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25953 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25954 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25955 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25956 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25957 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25958 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25959 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25960 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25961 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25964 ## ----------------------------------------- ##
25965 ## Report this to wx-dev@lists.wxwidgets.org ##
25966 ## ----------------------------------------- ##
25969 sed "s/^/$as_me: WARNING: /" >&2
25972 echo "$as_me:$LINENO: checking for zlib.h" >&5
25973 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25974 if test "${ac_cv_header_zlib_h+set}" = set; then
25975 echo $ECHO_N "(cached) $ECHO_C" >&6
25977 ac_cv_header_zlib_h
=$ac_header_preproc
25979 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25980 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25986 system_zlib_h_ok
=$ac_cv_header_zlib_h
25989 if test "$system_zlib_h_ok" = "yes"; then
25990 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25991 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25992 if test "${ac_cv_lib_z_deflate+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 ac_check_lib_save_LIBS
=$LIBS
25997 cat >conftest.
$ac_ext <<_ACEOF
26000 cat confdefs.h
>>conftest.
$ac_ext
26001 cat >>conftest.
$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26004 /* Override any gcc2 internal prototype to avoid an error. */
26008 /* We use char because int might match the return type of a gcc2
26009 builtin and then its argument prototype would still apply. */
26019 rm -f conftest.
$ac_objext conftest
$ac_exeext
26020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26021 (eval $ac_link) 2>conftest.er1
26023 grep -v '^ *+' conftest.er1
>conftest.err
26025 cat conftest.err
>&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } &&
26028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26030 (eval $ac_try) 2>&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); }; } &&
26034 { ac_try
='test -s conftest$ac_exeext'
26035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26036 (eval $ac_try) 2>&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); }; }; then
26040 ac_cv_lib_z_deflate
=yes
26042 echo "$as_me: failed program was:" >&5
26043 sed 's/^/| /' conftest.
$ac_ext >&5
26045 ac_cv_lib_z_deflate
=no
26047 rm -f conftest.err conftest.
$ac_objext \
26048 conftest
$ac_exeext conftest.
$ac_ext
26049 LIBS
=$ac_check_lib_save_LIBS
26051 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26052 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26053 if test $ac_cv_lib_z_deflate = yes; then
26059 if test "x$ZLIB_LINK" = "x" ; then
26060 if test "$wxUSE_ZLIB" = "sys" ; then
26061 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26062 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26063 { (exit 1); exit 1; }; }
26065 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26066 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26077 if test "$wxUSE_LIBPNG" != "no" ; then
26078 cat >>confdefs.h
<<\_ACEOF
26079 #define wxUSE_LIBPNG 1
26083 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26084 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26085 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26089 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26090 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26091 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26092 wxUSE_LIBPNG
=builtin
26095 if test "$wxUSE_MGL" != 1 ; then
26096 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26097 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26098 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26099 if test "${ac_cv_header_png_h+set}" = set; then
26100 echo $ECHO_N "(cached) $ECHO_C" >&6
26102 if test "$cross_compiling" = yes; then
26103 unset ac_cv_header_png_h
26106 cat >conftest.
$ac_ext <<_ACEOF
26109 cat confdefs.h
>>conftest.
$ac_ext
26110 cat >>conftest.
$ac_ext <<_ACEOF
26111 /* end confdefs.h. */
26118 FILE *f=fopen("conftestval", "w");
26121 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26126 rm -f conftest
$ac_exeext
26127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26128 (eval $ac_link) 2>&5
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; }; then
26137 ac_cv_header_png_h
=`cat conftestval`
26139 echo "$as_me: program exited with status $ac_status" >&5
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.
$ac_ext >&5
26143 ( exit $ac_status )
26144 ac_cv_header_png_h
=no
26146 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26150 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26151 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26152 if test "${ac_cv_header_png_h+set}" = set; then
26153 echo "$as_me:$LINENO: checking for png.h" >&5
26154 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26155 if test "${ac_cv_header_png_h+set}" = set; then
26156 echo $ECHO_N "(cached) $ECHO_C" >&6
26158 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26159 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26161 # Is the header compilable?
26162 echo "$as_me:$LINENO: checking png.h usability" >&5
26163 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26164 cat >conftest.
$ac_ext <<_ACEOF
26167 cat confdefs.h
>>conftest.
$ac_ext
26168 cat >>conftest.
$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170 $ac_includes_default
26173 rm -f conftest.
$ac_objext
26174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26175 (eval $ac_compile) 2>conftest.er1
26177 grep -v '^ *+' conftest.er1
>conftest.err
26179 cat conftest.err
>&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); } &&
26182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; } &&
26188 { ac_try
='test -s conftest.$ac_objext'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; }; then
26194 ac_header_compiler
=yes
26196 echo "$as_me: failed program was:" >&5
26197 sed 's/^/| /' conftest.
$ac_ext >&5
26199 ac_header_compiler
=no
26201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26203 echo "${ECHO_T}$ac_header_compiler" >&6
26205 # Is the header present?
26206 echo "$as_me:$LINENO: checking png.h presence" >&5
26207 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26208 cat >conftest.
$ac_ext <<_ACEOF
26211 cat confdefs.h
>>conftest.
$ac_ext
26212 cat >>conftest.
$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26217 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26219 grep -v '^ *+' conftest.er1
>conftest.err
26221 cat conftest.err
>&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } >/dev
/null
; then
26224 if test -s conftest.err
; then
26225 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26226 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26233 if test -z "$ac_cpp_err"; then
26234 ac_header_preproc
=yes
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.
$ac_ext >&5
26239 ac_header_preproc
=no
26241 rm -f conftest.err conftest.
$ac_ext
26242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26243 echo "${ECHO_T}$ac_header_preproc" >&6
26245 # So? What about this header?
26246 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26248 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26249 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26250 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26251 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26252 ac_header_preproc
=yes
26255 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26256 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26257 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26258 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26259 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26260 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26261 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26262 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26263 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26264 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26265 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26266 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26269 ## ----------------------------------------- ##
26270 ## Report this to wx-dev@lists.wxwidgets.org ##
26271 ## ----------------------------------------- ##
26274 sed "s/^/$as_me: WARNING: /" >&2
26277 echo "$as_me:$LINENO: checking for png.h" >&5
26278 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26279 if test "${ac_cv_header_png_h+set}" = set; then
26280 echo $ECHO_N "(cached) $ECHO_C" >&6
26282 ac_cv_header_png_h
=$ac_header_preproc
26284 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26285 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26291 if test "$ac_cv_header_png_h" = "yes"; then
26292 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26293 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26294 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26295 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 ac_check_lib_save_LIBS
=$LIBS
26298 LIBS
="-lpng -lz -lm $LIBS"
26299 cat >conftest.
$ac_ext <<_ACEOF
26302 cat confdefs.h
>>conftest.
$ac_ext
26303 cat >>conftest.
$ac_ext <<_ACEOF
26304 /* end confdefs.h. */
26306 /* Override any gcc2 internal prototype to avoid an error. */
26310 /* We use char because int might match the return type of a gcc2
26311 builtin and then its argument prototype would still apply. */
26312 char png_check_sig ();
26321 rm -f conftest.
$ac_objext conftest
$ac_exeext
26322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26323 (eval $ac_link) 2>conftest.er1
26325 grep -v '^ *+' conftest.er1
>conftest.err
26327 cat conftest.err
>&5
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); } &&
26330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26332 (eval $ac_try) 2>&5
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); }; } &&
26336 { ac_try
='test -s conftest$ac_exeext'
26337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26338 (eval $ac_try) 2>&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); }; }; then
26342 ac_cv_lib_png_png_check_sig
=yes
26344 echo "$as_me: failed program was:" >&5
26345 sed 's/^/| /' conftest.
$ac_ext >&5
26347 ac_cv_lib_png_png_check_sig
=no
26349 rm -f conftest.err conftest.
$ac_objext \
26350 conftest
$ac_exeext conftest.
$ac_ext
26351 LIBS
=$ac_check_lib_save_LIBS
26353 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26354 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26355 if test $ac_cv_lib_png_png_check_sig = yes; then
26356 PNG_LINK
=" -lpng -lz"
26361 if test "x$PNG_LINK" = "x" ; then
26362 if test "$wxUSE_LIBPNG" = "sys" ; then
26363 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26364 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26365 { (exit 1); exit 1; }; }
26367 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26368 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26369 wxUSE_LIBPNG
=builtin
26377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26382 if test "$wxUSE_LIBJPEG" != "no" ; then
26383 cat >>confdefs.h
<<\_ACEOF
26384 #define wxUSE_LIBJPEG 1
26388 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26389 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26390 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26394 if test "$wxUSE_MGL" != 1 ; then
26395 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26396 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26397 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26398 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26399 echo $ECHO_N "(cached) $ECHO_C" >&6
26401 cat >conftest.
$ac_ext <<_ACEOF
26404 cat confdefs.h
>>conftest.
$ac_ext
26405 cat >>conftest.
$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26408 #undef HAVE_STDLIB_H
26410 #include <jpeglib.h>
26421 rm -f conftest.
$ac_objext
26422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26423 (eval $ac_compile) 2>conftest.er1
26425 grep -v '^ *+' conftest.er1
>conftest.err
26427 cat conftest.err
>&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); } &&
26430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; } &&
26436 { ac_try
='test -s conftest.$ac_objext'
26437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26438 (eval $ac_try) 2>&5
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); }; }; then
26442 ac_cv_header_jpeglib_h
=yes
26444 echo "$as_me: failed program was:" >&5
26445 sed 's/^/| /' conftest.
$ac_ext >&5
26447 ac_cv_header_jpeglib_h
=no
26450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26454 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26455 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26457 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26458 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26459 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26460 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26463 ac_check_lib_save_LIBS
=$LIBS
26464 LIBS
="-ljpeg $LIBS"
26465 cat >conftest.
$ac_ext <<_ACEOF
26468 cat confdefs.h
>>conftest.
$ac_ext
26469 cat >>conftest.
$ac_ext <<_ACEOF
26470 /* end confdefs.h. */
26472 /* Override any gcc2 internal prototype to avoid an error. */
26476 /* We use char because int might match the return type of a gcc2
26477 builtin and then its argument prototype would still apply. */
26478 char jpeg_read_header ();
26482 jpeg_read_header ();
26487 rm -f conftest.
$ac_objext conftest
$ac_exeext
26488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26489 (eval $ac_link) 2>conftest.er1
26491 grep -v '^ *+' conftest.er1
>conftest.err
26493 cat conftest.err
>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } &&
26496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26498 (eval $ac_try) 2>&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); }; } &&
26502 { ac_try
='test -s conftest$ac_exeext'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; }; then
26508 ac_cv_lib_jpeg_jpeg_read_header
=yes
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.
$ac_ext >&5
26513 ac_cv_lib_jpeg_jpeg_read_header
=no
26515 rm -f conftest.err conftest.
$ac_objext \
26516 conftest
$ac_exeext conftest.
$ac_ext
26517 LIBS
=$ac_check_lib_save_LIBS
26519 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26520 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26521 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26522 JPEG_LINK
=" -ljpeg"
26527 if test "x$JPEG_LINK" = "x" ; then
26528 if test "$wxUSE_LIBJPEG" = "sys" ; then
26529 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26530 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26531 { (exit 1); exit 1; }; }
26533 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26534 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26535 wxUSE_LIBJPEG
=builtin
26546 TIFF_PREREQ_LINKS
=-lm
26547 if test "$wxUSE_LIBTIFF" != "no" ; then
26548 cat >>confdefs.h
<<\_ACEOF
26549 #define wxUSE_LIBTIFF 1
26553 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26554 if test "$wxUSE_LIBJPEG" = "sys"; then
26555 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26557 if test "$wxUSE_ZLIB" = "sys"; then
26558 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26560 if test "${ac_cv_header_tiffio_h+set}" = set; then
26561 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26562 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26563 if test "${ac_cv_header_tiffio_h+set}" = set; then
26564 echo $ECHO_N "(cached) $ECHO_C" >&6
26566 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26567 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26569 # Is the header compilable?
26570 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26571 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26572 cat >conftest.
$ac_ext <<_ACEOF
26575 cat confdefs.h
>>conftest.
$ac_ext
26576 cat >>conftest.
$ac_ext <<_ACEOF
26577 /* end confdefs.h. */
26578 $ac_includes_default
26579 #include <tiffio.h>
26581 rm -f conftest.
$ac_objext
26582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26583 (eval $ac_compile) 2>conftest.er1
26585 grep -v '^ *+' conftest.er1
>conftest.err
26587 cat conftest.err
>&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } &&
26590 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26592 (eval $ac_try) 2>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); }; } &&
26596 { ac_try
='test -s conftest.$ac_objext'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; }; then
26602 ac_header_compiler
=yes
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.
$ac_ext >&5
26607 ac_header_compiler
=no
26609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26611 echo "${ECHO_T}$ac_header_compiler" >&6
26613 # Is the header present?
26614 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26615 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26616 cat >conftest.
$ac_ext <<_ACEOF
26619 cat confdefs.h
>>conftest.
$ac_ext
26620 cat >>conftest.
$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622 #include <tiffio.h>
26624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26627 grep -v '^ *+' conftest.er1
>conftest.err
26629 cat conftest.err
>&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); } >/dev
/null
; then
26632 if test -s conftest.err
; then
26633 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26634 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26641 if test -z "$ac_cpp_err"; then
26642 ac_header_preproc
=yes
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.
$ac_ext >&5
26647 ac_header_preproc
=no
26649 rm -f conftest.err conftest.
$ac_ext
26650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26651 echo "${ECHO_T}$ac_header_preproc" >&6
26653 # So? What about this header?
26654 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26656 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26657 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26658 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26659 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26660 ac_header_preproc
=yes
26663 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26664 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26665 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26666 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26667 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26668 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26669 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26670 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26671 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26672 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26673 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26674 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26677 ## ----------------------------------------- ##
26678 ## Report this to wx-dev@lists.wxwidgets.org ##
26679 ## ----------------------------------------- ##
26682 sed "s/^/$as_me: WARNING: /" >&2
26685 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26686 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26687 if test "${ac_cv_header_tiffio_h+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26690 ac_cv_header_tiffio_h
=$ac_header_preproc
26692 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26693 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26696 if test $ac_cv_header_tiffio_h = yes; then
26698 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26699 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26700 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26703 ac_check_lib_save_LIBS
=$LIBS
26704 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26705 cat >conftest.
$ac_ext <<_ACEOF
26708 cat confdefs.h
>>conftest.
$ac_ext
26709 cat >>conftest.
$ac_ext <<_ACEOF
26710 /* end confdefs.h. */
26712 /* Override any gcc2 internal prototype to avoid an error. */
26716 /* We use char because int might match the return type of a gcc2
26717 builtin and then its argument prototype would still apply. */
26727 rm -f conftest.
$ac_objext conftest
$ac_exeext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26729 (eval $ac_link) 2>conftest.er1
26731 grep -v '^ *+' conftest.er1
>conftest.err
26733 cat conftest.err
>&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738 (eval $ac_try) 2>&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); }; } &&
26742 { ac_try
='test -s conftest$ac_exeext'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; }; then
26748 ac_cv_lib_tiff_TIFFError
=yes
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.
$ac_ext >&5
26753 ac_cv_lib_tiff_TIFFError
=no
26755 rm -f conftest.err conftest.
$ac_objext \
26756 conftest
$ac_exeext conftest.
$ac_ext
26757 LIBS
=$ac_check_lib_save_LIBS
26759 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26760 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26761 if test $ac_cv_lib_tiff_TIFFError = yes; then
26762 TIFF_LINK
=" -ltiff"
26771 if test "x$TIFF_LINK" = "x" ; then
26772 if test "$wxUSE_LIBTIFF" = "sys" ; then
26773 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26774 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26775 { (exit 1); exit 1; }; }
26777 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26778 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26779 wxUSE_LIBTIFF
=builtin
26788 if test "$wxUSE_WCHAR_T" != "yes"; then
26789 if test "$wxUSE_EXPAT" != "no"; then
26790 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26791 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26794 if test "$wxUSE_XML" != "no"; then
26795 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26796 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26801 if test "$wxUSE_EXPAT" != "no"; then
26803 cat >>confdefs.h
<<\_ACEOF
26804 #define wxUSE_EXPAT 1
26807 cat >>confdefs.h
<<\_ACEOF
26808 #define wxUSE_XML 1
26812 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26813 if test "${ac_cv_header_expat_h+set}" = set; then
26814 echo "$as_me:$LINENO: checking for expat.h" >&5
26815 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26816 if test "${ac_cv_header_expat_h+set}" = set; then
26817 echo $ECHO_N "(cached) $ECHO_C" >&6
26819 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26820 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26822 # Is the header compilable?
26823 echo "$as_me:$LINENO: checking expat.h usability" >&5
26824 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26825 cat >conftest.
$ac_ext <<_ACEOF
26828 cat confdefs.h
>>conftest.
$ac_ext
26829 cat >>conftest.
$ac_ext <<_ACEOF
26830 /* end confdefs.h. */
26831 $ac_includes_default
26834 rm -f conftest.
$ac_objext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26836 (eval $ac_compile) 2>conftest.er1
26838 grep -v '^ *+' conftest.er1
>conftest.err
26840 cat conftest.err
>&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; } &&
26849 { ac_try
='test -s conftest.$ac_objext'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; }; then
26855 ac_header_compiler
=yes
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.
$ac_ext >&5
26860 ac_header_compiler
=no
26862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26864 echo "${ECHO_T}$ac_header_compiler" >&6
26866 # Is the header present?
26867 echo "$as_me:$LINENO: checking expat.h presence" >&5
26868 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26869 cat >conftest.
$ac_ext <<_ACEOF
26872 cat confdefs.h
>>conftest.
$ac_ext
26873 cat >>conftest.
$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26878 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26880 grep -v '^ *+' conftest.er1
>conftest.err
26882 cat conftest.err
>&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); } >/dev
/null
; then
26885 if test -s conftest.err
; then
26886 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26887 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26894 if test -z "$ac_cpp_err"; then
26895 ac_header_preproc
=yes
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.
$ac_ext >&5
26900 ac_header_preproc
=no
26902 rm -f conftest.err conftest.
$ac_ext
26903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26904 echo "${ECHO_T}$ac_header_preproc" >&6
26906 # So? What about this header?
26907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26909 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26910 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26912 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26913 ac_header_preproc
=yes
26916 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26917 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26918 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26919 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26920 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26921 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26922 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26923 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26924 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26925 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26926 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26927 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26930 ## ----------------------------------------- ##
26931 ## Report this to wx-dev@lists.wxwidgets.org ##
26932 ## ----------------------------------------- ##
26935 sed "s/^/$as_me: WARNING: /" >&2
26938 echo "$as_me:$LINENO: checking for expat.h" >&5
26939 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26940 if test "${ac_cv_header_expat_h+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26943 ac_cv_header_expat_h
=$ac_header_preproc
26945 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26946 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26949 if test $ac_cv_header_expat_h = yes; then
26954 if test "x$found_expat_h" = "x1"; then
26955 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26956 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26957 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26958 echo $ECHO_N "(cached) $ECHO_C" >&6
26961 cat >conftest.
$ac_ext <<_ACEOF
26964 cat confdefs.h
>>conftest.
$ac_ext
26965 cat >>conftest.
$ac_ext <<_ACEOF
26966 /* end confdefs.h. */
26976 rm -f conftest.
$ac_objext
26977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26978 (eval $ac_compile) 2>conftest.er1
26980 grep -v '^ *+' conftest.er1
>conftest.err
26982 cat conftest.err
>&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); } &&
26985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26987 (eval $ac_try) 2>&5
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); }; } &&
26991 { ac_try
='test -s conftest.$ac_objext'
26992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26993 (eval $ac_try) 2>&5
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); }; }; then
26997 wx_cv_expat_is_not_broken
=yes
26999 echo "$as_me: failed program was:" >&5
27000 sed 's/^/| /' conftest.
$ac_ext >&5
27002 wx_cv_expat_is_not_broken
=no
27005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27009 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27010 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27011 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27012 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27013 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27014 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27015 echo $ECHO_N "(cached) $ECHO_C" >&6
27017 ac_check_lib_save_LIBS
=$LIBS
27018 LIBS
="-lexpat $LIBS"
27019 cat >conftest.
$ac_ext <<_ACEOF
27022 cat confdefs.h
>>conftest.
$ac_ext
27023 cat >>conftest.
$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27026 /* Override any gcc2 internal prototype to avoid an error. */
27030 /* We use char because int might match the return type of a gcc2
27031 builtin and then its argument prototype would still apply. */
27032 char XML_ParserCreate ();
27036 XML_ParserCreate ();
27041 rm -f conftest.
$ac_objext conftest
$ac_exeext
27042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27043 (eval $ac_link) 2>conftest.er1
27045 grep -v '^ *+' conftest.er1
>conftest.err
27047 cat conftest.err
>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); } &&
27050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052 (eval $ac_try) 2>&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; } &&
27056 { ac_try
='test -s conftest$ac_exeext'
27057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058 (eval $ac_try) 2>&5
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); }; }; then
27062 ac_cv_lib_expat_XML_ParserCreate
=yes
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.
$ac_ext >&5
27067 ac_cv_lib_expat_XML_ParserCreate
=no
27069 rm -f conftest.err conftest.
$ac_objext \
27070 conftest
$ac_exeext conftest.
$ac_ext
27071 LIBS
=$ac_check_lib_save_LIBS
27073 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27074 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27075 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27076 EXPAT_LINK
=" -lexpat"
27081 if test "x$EXPAT_LINK" = "x" ; then
27082 if test "$wxUSE_EXPAT" = "sys" ; then
27083 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27084 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27085 { (exit 1); exit 1; }; }
27087 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27088 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27089 wxUSE_EXPAT
=builtin
27095 if test "$wxUSE_EXPAT" = "builtin" ; then
27098 subdirs
="$subdirs src/expat"
27105 if test "$wxUSE_LIBMSPACK" != "no"; then
27106 if test "${ac_cv_header_mspack_h+set}" = set; then
27107 echo "$as_me:$LINENO: checking for mspack.h" >&5
27108 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27109 if test "${ac_cv_header_mspack_h+set}" = set; then
27110 echo $ECHO_N "(cached) $ECHO_C" >&6
27112 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27113 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27115 # Is the header compilable?
27116 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27117 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27118 cat >conftest.
$ac_ext <<_ACEOF
27121 cat confdefs.h
>>conftest.
$ac_ext
27122 cat >>conftest.
$ac_ext <<_ACEOF
27123 /* end confdefs.h. */
27124 $ac_includes_default
27125 #include <mspack.h>
27127 rm -f conftest.
$ac_objext
27128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27129 (eval $ac_compile) 2>conftest.er1
27131 grep -v '^ *+' conftest.er1
>conftest.err
27133 cat conftest.err
>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); } &&
27136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27138 (eval $ac_try) 2>&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); }; } &&
27142 { ac_try
='test -s conftest.$ac_objext'
27143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 (eval $ac_try) 2>&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); }; }; then
27148 ac_header_compiler
=yes
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.
$ac_ext >&5
27153 ac_header_compiler
=no
27155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27157 echo "${ECHO_T}$ac_header_compiler" >&6
27159 # Is the header present?
27160 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27161 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27162 cat >conftest.
$ac_ext <<_ACEOF
27165 cat confdefs.h
>>conftest.
$ac_ext
27166 cat >>conftest.
$ac_ext <<_ACEOF
27167 /* end confdefs.h. */
27168 #include <mspack.h>
27170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27173 grep -v '^ *+' conftest.er1
>conftest.err
27175 cat conftest.err
>&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } >/dev
/null
; then
27178 if test -s conftest.err
; then
27179 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27180 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27187 if test -z "$ac_cpp_err"; then
27188 ac_header_preproc
=yes
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.
$ac_ext >&5
27193 ac_header_preproc
=no
27195 rm -f conftest.err conftest.
$ac_ext
27196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27197 echo "${ECHO_T}$ac_header_preproc" >&6
27199 # So? What about this header?
27200 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27202 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27203 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27204 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27205 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27206 ac_header_preproc
=yes
27209 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27210 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27211 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27212 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27213 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27214 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27215 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27216 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27217 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27218 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27219 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27220 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27223 ## ----------------------------------------- ##
27224 ## Report this to wx-dev@lists.wxwidgets.org ##
27225 ## ----------------------------------------- ##
27228 sed "s/^/$as_me: WARNING: /" >&2
27231 echo "$as_me:$LINENO: checking for mspack.h" >&5
27232 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27233 if test "${ac_cv_header_mspack_h+set}" = set; then
27234 echo $ECHO_N "(cached) $ECHO_C" >&6
27236 ac_cv_header_mspack_h
=$ac_header_preproc
27238 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27239 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27242 if test $ac_cv_header_mspack_h = yes; then
27247 if test "x$found_mspack_h" = "x1"; then
27248 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27249 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27250 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27251 echo $ECHO_N "(cached) $ECHO_C" >&6
27253 ac_check_lib_save_LIBS
=$LIBS
27254 LIBS
="-lmspack $LIBS"
27255 cat >conftest.
$ac_ext <<_ACEOF
27258 cat confdefs.h
>>conftest.
$ac_ext
27259 cat >>conftest.
$ac_ext <<_ACEOF
27260 /* end confdefs.h. */
27262 /* Override any gcc2 internal prototype to avoid an error. */
27266 /* We use char because int might match the return type of a gcc2
27267 builtin and then its argument prototype would still apply. */
27268 char mspack_create_chm_decompressor ();
27272 mspack_create_chm_decompressor ();
27277 rm -f conftest.
$ac_objext conftest
$ac_exeext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27279 (eval $ac_link) 2>conftest.er1
27281 grep -v '^ *+' conftest.er1
>conftest.err
27283 cat conftest.err
>&5
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); } &&
27286 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27288 (eval $ac_try) 2>&5
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); }; } &&
27292 { ac_try
='test -s conftest$ac_exeext'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; }; then
27298 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27300 echo "$as_me: failed program was:" >&5
27301 sed 's/^/| /' conftest.
$ac_ext >&5
27303 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27305 rm -f conftest.err conftest.
$ac_objext \
27306 conftest
$ac_exeext conftest.
$ac_ext
27307 LIBS
=$ac_check_lib_save_LIBS
27309 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27310 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27311 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27312 MSPACK_LINK
=" -lmspack"
27316 if test "x$MSPACK_LINK" = "x" ; then
27321 if test "$wxUSE_LIBMSPACK" != "no"; then
27322 cat >>confdefs.h
<<\_ACEOF
27323 #define wxUSE_LIBMSPACK 1
27337 if test "$USE_WIN32" = 1 ; then
27339 for ac_header
in w32api.h
27341 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27343 echo "$as_me:$LINENO: checking for $ac_header" >&5
27344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27346 echo $ECHO_N "(cached) $ECHO_C" >&6
27348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27351 # Is the header compilable?
27352 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27354 cat >conftest.
$ac_ext <<_ACEOF
27357 cat confdefs.h
>>conftest.
$ac_ext
27358 cat >>conftest.
$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27360 $ac_includes_default
27361 #include <$ac_header>
27363 rm -f conftest.
$ac_objext
27364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27365 (eval $ac_compile) 2>conftest.er1
27367 grep -v '^ *+' conftest.er1
>conftest.err
27369 cat conftest.err
>&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } &&
27372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27374 (eval $ac_try) 2>&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); }; } &&
27378 { ac_try
='test -s conftest.$ac_objext'
27379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27380 (eval $ac_try) 2>&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 ac_header_compiler
=yes
27386 echo "$as_me: failed program was:" >&5
27387 sed 's/^/| /' conftest.
$ac_ext >&5
27389 ac_header_compiler
=no
27391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27393 echo "${ECHO_T}$ac_header_compiler" >&6
27395 # Is the header present?
27396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27398 cat >conftest.
$ac_ext <<_ACEOF
27401 cat confdefs.h
>>conftest.
$ac_ext
27402 cat >>conftest.
$ac_ext <<_ACEOF
27403 /* end confdefs.h. */
27404 #include <$ac_header>
27406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27409 grep -v '^ *+' conftest.er1
>conftest.err
27411 cat conftest.err
>&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); } >/dev
/null
; then
27414 if test -s conftest.err
; then
27415 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27416 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27423 if test -z "$ac_cpp_err"; then
27424 ac_header_preproc
=yes
27426 echo "$as_me: failed program was:" >&5
27427 sed 's/^/| /' conftest.
$ac_ext >&5
27429 ac_header_preproc
=no
27431 rm -f conftest.err conftest.
$ac_ext
27432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27433 echo "${ECHO_T}$ac_header_preproc" >&6
27435 # So? What about this header?
27436 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27442 ac_header_preproc
=yes
27445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27459 ## ----------------------------------------- ##
27460 ## Report this to wx-dev@lists.wxwidgets.org ##
27461 ## ----------------------------------------- ##
27464 sed "s/^/$as_me: WARNING: /" >&2
27467 echo "$as_me:$LINENO: checking for $ac_header" >&5
27468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6
27472 eval "$as_ac_Header=\$ac_header_preproc"
27474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27479 cat >>confdefs.h
<<_ACEOF
27480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27487 if test "${ac_cv_header_windows_h+set}" = set; then
27488 echo "$as_me:$LINENO: checking for windows.h" >&5
27489 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27490 if test "${ac_cv_header_windows_h+set}" = set; then
27491 echo $ECHO_N "(cached) $ECHO_C" >&6
27493 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27494 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27496 # Is the header compilable?
27497 echo "$as_me:$LINENO: checking windows.h usability" >&5
27498 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27499 cat >conftest.
$ac_ext <<_ACEOF
27502 cat confdefs.h
>>conftest.
$ac_ext
27503 cat >>conftest.
$ac_ext <<_ACEOF
27504 /* end confdefs.h. */
27505 $ac_includes_default
27506 #include <windows.h>
27508 rm -f conftest.
$ac_objext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27510 (eval $ac_compile) 2>conftest.er1
27512 grep -v '^ *+' conftest.er1
>conftest.err
27514 cat conftest.err
>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; } &&
27523 { ac_try
='test -s conftest.$ac_objext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27529 ac_header_compiler
=yes
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.
$ac_ext >&5
27534 ac_header_compiler
=no
27536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27538 echo "${ECHO_T}$ac_header_compiler" >&6
27540 # Is the header present?
27541 echo "$as_me:$LINENO: checking windows.h presence" >&5
27542 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27543 cat >conftest.
$ac_ext <<_ACEOF
27546 cat confdefs.h
>>conftest.
$ac_ext
27547 cat >>conftest.
$ac_ext <<_ACEOF
27548 /* end confdefs.h. */
27549 #include <windows.h>
27551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27554 grep -v '^ *+' conftest.er1
>conftest.err
27556 cat conftest.err
>&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } >/dev
/null
; then
27559 if test -s conftest.err
; then
27560 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27561 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27568 if test -z "$ac_cpp_err"; then
27569 ac_header_preproc
=yes
27571 echo "$as_me: failed program was:" >&5
27572 sed 's/^/| /' conftest.
$ac_ext >&5
27574 ac_header_preproc
=no
27576 rm -f conftest.err conftest.
$ac_ext
27577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27578 echo "${ECHO_T}$ac_header_preproc" >&6
27580 # So? What about this header?
27581 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27583 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27584 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27585 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27586 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27587 ac_header_preproc
=yes
27590 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27591 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27592 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27593 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27594 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27595 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27596 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27597 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27598 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27599 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27600 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27601 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27604 ## ----------------------------------------- ##
27605 ## Report this to wx-dev@lists.wxwidgets.org ##
27606 ## ----------------------------------------- ##
27609 sed "s/^/$as_me: WARNING: /" >&2
27612 echo "$as_me:$LINENO: checking for windows.h" >&5
27613 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27614 if test "${ac_cv_header_windows_h+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27617 ac_cv_header_windows_h
=$ac_header_preproc
27619 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27620 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27623 if test $ac_cv_header_windows_h = yes; then
27627 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27628 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27629 { (exit 1); exit 1; }; }
27635 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27637 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27638 LIBS
="$LIBS -loleacc"
27643 LIBS
="$LIBS -lkernel32 -luser32"
27646 if test "$wxUSE_ODBC" = "sys" ; then
27649 if test "$wxUSE_ODBC" = "yes" ; then
27650 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27651 cat >>confdefs.h
<<\_ACEOF
27652 #define wxUSE_ODBC 1
27657 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27658 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27660 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27662 WIN32INSTALL
=win32install
27664 echo "$as_me:$LINENO: checking for boolean" >&5
27665 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27666 if test "${ac_cv_type_boolean+set}" = set; then
27667 echo $ECHO_N "(cached) $ECHO_C" >&6
27669 cat >conftest.
$ac_ext <<_ACEOF
27672 cat confdefs.h
>>conftest.
$ac_ext
27673 cat >>conftest.
$ac_ext <<_ACEOF
27674 /* end confdefs.h. */
27675 #include <windows.h>
27682 if (sizeof (boolean))
27688 rm -f conftest.
$ac_objext
27689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27690 (eval $ac_compile) 2>conftest.er1
27692 grep -v '^ *+' conftest.er1
>conftest.err
27694 cat conftest.err
>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); } &&
27697 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27699 (eval $ac_try) 2>&5
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); }; } &&
27703 { ac_try
='test -s conftest.$ac_objext'
27704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 (eval $ac_try) 2>&5
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27709 ac_cv_type_boolean
=yes
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.
$ac_ext >&5
27714 ac_cv_type_boolean
=no
27716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27718 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27719 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27720 if test $ac_cv_type_boolean = yes; then
27722 cat >>confdefs.h
<<_ACEOF
27723 #define HAVE_BOOLEAN 1
27731 for ac_header
in pbt.h
27733 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27735 echo "$as_me:$LINENO: checking for $ac_header" >&5
27736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27738 echo $ECHO_N "(cached) $ECHO_C" >&6
27740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27743 # Is the header compilable?
27744 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27745 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27746 cat >conftest.
$ac_ext <<_ACEOF
27749 cat confdefs.h
>>conftest.
$ac_ext
27750 cat >>conftest.
$ac_ext <<_ACEOF
27751 /* end confdefs.h. */
27752 $ac_includes_default
27753 #include <$ac_header>
27755 rm -f conftest.
$ac_objext
27756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27757 (eval $ac_compile) 2>conftest.er1
27759 grep -v '^ *+' conftest.er1
>conftest.err
27761 cat conftest.err
>&5
27762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763 (exit $ac_status); } &&
27764 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27766 (eval $ac_try) 2>&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); }; } &&
27770 { ac_try
='test -s conftest.$ac_objext'
27771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772 (eval $ac_try) 2>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); }; }; then
27776 ac_header_compiler
=yes
27778 echo "$as_me: failed program was:" >&5
27779 sed 's/^/| /' conftest.
$ac_ext >&5
27781 ac_header_compiler
=no
27783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27785 echo "${ECHO_T}$ac_header_compiler" >&6
27787 # Is the header present?
27788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27790 cat >conftest.
$ac_ext <<_ACEOF
27793 cat confdefs.h
>>conftest.
$ac_ext
27794 cat >>conftest.
$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796 #include <$ac_header>
27798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27799 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27801 grep -v '^ *+' conftest.er1
>conftest.err
27803 cat conftest.err
>&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } >/dev
/null
; then
27806 if test -s conftest.err
; then
27807 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27808 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27815 if test -z "$ac_cpp_err"; then
27816 ac_header_preproc
=yes
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.
$ac_ext >&5
27821 ac_header_preproc
=no
27823 rm -f conftest.err conftest.
$ac_ext
27824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27825 echo "${ECHO_T}$ac_header_preproc" >&6
27827 # So? What about this header?
27828 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27834 ac_header_preproc
=yes
27837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27851 ## ----------------------------------------- ##
27852 ## Report this to wx-dev@lists.wxwidgets.org ##
27853 ## ----------------------------------------- ##
27856 sed "s/^/$as_me: WARNING: /" >&2
27859 echo "$as_me:$LINENO: checking for $ac_header" >&5
27860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27862 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 eval "$as_ac_Header=\$ac_header_preproc"
27866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27871 cat >>confdefs.h
<<_ACEOF
27872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27876 cat >>confdefs.h
<<\_ACEOF
27877 #define NEED_PBT_H 1
27886 if test "$wxUSE_GUI" = "yes"; then
27896 if test "$wxUSE_COCOA" = 1 ; then
27897 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27898 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27899 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27900 wxUSE_PRINTING_ARCHITECTURE
=no
27902 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27903 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27904 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27905 wxUSE_DRAG_AND_DROP
=no
27907 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27908 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27909 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27914 if test "$wxUSE_MSW" = 1 ; then
27920 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27924 if test "$wxUSE_GTK" = 1; then
27926 ac_cpp
='$CPP $CPPFLAGS'
27927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27932 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27933 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27935 gtk_version_cached
=1
27936 if test "${wx_cv_lib_gtk+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 gtk_version_cached
=0
27941 echo "$as_me:$LINENO: result: " >&5
27942 echo "${ECHO_T}" >&6
27945 if test "$wxUSE_THREADS" = "yes"; then
27946 GTK_MODULES
=gthread
27950 if test "x$wxGTK_VERSION" != "x1"
27954 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27959 # Check whether --enable-gtktest or --disable-gtktest was given.
27960 if test "${enable_gtktest+set}" = set; then
27961 enableval
="$enable_gtktest"
27967 pkg_config_args
=gtk
+-2.0
27968 for module
in .
$GTK_MODULES
27972 pkg_config_args
="$pkg_config_args gthread-2.0"
27979 # Extract the first word of "pkg-config", so it can be a program name with args.
27980 set dummy pkg
-config; ac_word
=$2
27981 echo "$as_me:$LINENO: checking for $ac_word" >&5
27982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27983 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27986 case $PKG_CONFIG in
27988 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27992 for as_dir
in $PATH
27995 test -z "$as_dir" && as_dir
=.
27996 for ac_exec_ext
in '' $ac_executable_extensions; do
27997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27998 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28005 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28009 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28011 if test -n "$PKG_CONFIG"; then
28012 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28013 echo "${ECHO_T}$PKG_CONFIG" >&6
28015 echo "$as_me:$LINENO: result: no" >&5
28016 echo "${ECHO_T}no" >&6
28020 if test x
$PKG_CONFIG != xno
; then
28021 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
28024 echo "*** pkg-config too old; version 0.7 or better required."
28032 min_gtk_version
=2.0.0
28033 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28034 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28036 if test x
$PKG_CONFIG != xno
; then
28037 ## don't try to run the test against uninstalled libtool libs
28038 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28039 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28043 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28050 if test x
"$no_gtk" = x
; then
28051 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28052 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28053 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28055 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28057 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28059 if test "x$enable_gtktest" = "xyes" ; then
28060 ac_save_CFLAGS
="$CFLAGS"
28061 ac_save_LIBS
="$LIBS"
28062 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28063 LIBS
="$GTK_LIBS $LIBS"
28065 if test "$cross_compiling" = yes; then
28066 echo $ac_n "cross compiling; assumed OK... $ac_c"
28068 cat >conftest.
$ac_ext <<_ACEOF
28071 cat confdefs.h
>>conftest.
$ac_ext
28072 cat >>conftest.
$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28075 #include <gtk/gtk.h>
28077 #include <stdlib.h>
28082 int major, minor, micro;
28085 system ("touch conf.gtktest");
28087 /* HP/UX 9 (%@#!) writes to sscanf strings */
28088 tmp_version = g_strdup("$min_gtk_version");
28089 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28090 printf("%s, bad version string\n", "$min_gtk_version");
28094 if ((gtk_major_version != $gtk_config_major_version) ||
28095 (gtk_minor_version != $gtk_config_minor_version) ||
28096 (gtk_micro_version != $gtk_config_micro_version))
28098 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28099 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28100 gtk_major_version, gtk_minor_version, gtk_micro_version);
28101 printf ("*** was found! If pkg-config was correct, then it is best\n");
28102 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28103 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28104 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28105 printf("*** required on your system.\n");
28106 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28107 printf("*** to point to the correct configuration files\n");
28109 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28110 (gtk_minor_version != GTK_MINOR_VERSION) ||
28111 (gtk_micro_version != GTK_MICRO_VERSION))
28113 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28114 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28115 printf("*** library (version %d.%d.%d)\n",
28116 gtk_major_version, gtk_minor_version, gtk_micro_version);
28120 if ((gtk_major_version > major) ||
28121 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28122 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28128 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28129 gtk_major_version, gtk_minor_version, gtk_micro_version);
28130 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28131 major, minor, micro);
28132 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28134 printf("*** If you have already installed a sufficiently new version, this error\n");
28135 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28136 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28137 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28138 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28139 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28140 printf("*** so that the correct libraries are found at run-time))\n");
28147 rm -f conftest
$ac_exeext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28149 (eval $ac_link) 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154 (eval $ac_try) 2>&5
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); }; }; then
28160 echo "$as_me: program exited with status $ac_status" >&5
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.
$ac_ext >&5
28164 ( exit $ac_status )
28167 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28169 CFLAGS
="$ac_save_CFLAGS"
28170 LIBS
="$ac_save_LIBS"
28173 if test "x$no_gtk" = x
; then
28174 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28175 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28178 echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6
28180 if test "$PKG_CONFIG" = "no" ; then
28181 echo "*** A new enough version of pkg-config was not found."
28182 echo "*** See http://pkgconfig.sourceforge.net"
28184 if test -f conf.gtktest
; then
28187 echo "*** Could not run GTK+ test program, checking why..."
28188 ac_save_CFLAGS
="$CFLAGS"
28189 ac_save_LIBS
="$LIBS"
28190 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28191 LIBS
="$LIBS $GTK_LIBS"
28192 cat >conftest.
$ac_ext <<_ACEOF
28195 cat confdefs.h
>>conftest.
$ac_ext
28196 cat >>conftest.
$ac_ext <<_ACEOF
28197 /* end confdefs.h. */
28199 #include <gtk/gtk.h>
28205 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28210 rm -f conftest.
$ac_objext conftest
$ac_exeext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28212 (eval $ac_link) 2>conftest.er1
28214 grep -v '^ *+' conftest.er1
>conftest.err
28216 cat conftest.err
>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; } &&
28225 { ac_try
='test -s conftest$ac_exeext'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; }; then
28231 echo "*** The test program compiled, but did not run. This usually means"
28232 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28233 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28236 echo "*** is required on your system"
28238 echo "*** If you have an old version installed, it is best to remove it, although"
28239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.
$ac_ext >&5
28244 echo "*** The test program failed to compile or link. See the file config.log for the"
28245 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28247 rm -f conftest.err conftest.
$ac_objext \
28248 conftest
$ac_exeext conftest.
$ac_ext
28249 CFLAGS
="$ac_save_CFLAGS"
28250 LIBS
="$ac_save_LIBS"
28264 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28265 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28266 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28268 if test "$wxUSE_SHARED" != "yes"; then
28269 GTK_LIBS
="$GTK_LIBS -lX11"
28274 if test -z "$wx_cv_lib_gtk"; then
28275 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28277 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28278 if test "${with_gtk_prefix+set}" = set; then
28279 withval
="$with_gtk_prefix"
28280 gtk_config_prefix
="$withval"
28282 gtk_config_prefix
=""
28285 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28286 if test "${with_gtk_exec_prefix+set}" = set; then
28287 withval
="$with_gtk_exec_prefix"
28288 gtk_config_exec_prefix
="$withval"
28290 gtk_config_exec_prefix
=""
28292 # Check whether --enable-gtktest or --disable-gtktest was given.
28293 if test "${enable_gtktest+set}" = set; then
28294 enableval
="$enable_gtktest"
28300 for module
in .
$GTK_MODULES
28304 gtk_config_args
="$gtk_config_args gthread"
28309 if test x
$gtk_config_exec_prefix != x
; then
28310 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28311 if test x
${GTK_CONFIG+set} != xset
; then
28312 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28315 if test x
$gtk_config_prefix != x
; then
28316 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28317 if test x
${GTK_CONFIG+set} != xset
; then
28318 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28322 # Extract the first word of "gtk-config", so it can be a program name with args.
28323 set dummy gtk
-config; ac_word
=$2
28324 echo "$as_me:$LINENO: checking for $ac_word" >&5
28325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28326 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 case $GTK_CONFIG in
28331 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28335 for as_dir
in $PATH
28338 test -z "$as_dir" && as_dir
=.
28339 for ac_exec_ext
in '' $ac_executable_extensions; do
28340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28341 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28348 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28352 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28354 if test -n "$GTK_CONFIG"; then
28355 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28356 echo "${ECHO_T}$GTK_CONFIG" >&6
28358 echo "$as_me:$LINENO: result: no" >&5
28359 echo "${ECHO_T}no" >&6
28362 min_gtk_version
=1.2.7
28363 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28364 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28366 if test "$GTK_CONFIG" = "no" ; then
28369 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28370 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28371 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28373 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28375 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28377 if test "x$enable_gtktest" = "xyes" ; then
28378 ac_save_CFLAGS
="$CFLAGS"
28379 ac_save_LIBS
="$LIBS"
28380 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28381 LIBS
="$GTK_LIBS $LIBS"
28383 if test "$cross_compiling" = yes; then
28384 echo $ac_n "cross compiling; assumed OK... $ac_c"
28386 cat >conftest.
$ac_ext <<_ACEOF
28389 cat confdefs.h
>>conftest.
$ac_ext
28390 cat >>conftest.
$ac_ext <<_ACEOF
28391 /* end confdefs.h. */
28393 #include <gtk/gtk.h>
28395 #include <stdlib.h>
28400 int major, minor, micro;
28403 system ("touch conf.gtktest");
28405 /* HP/UX 9 (%@#!) writes to sscanf strings */
28406 tmp_version = g_strdup("$min_gtk_version");
28407 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28408 printf("%s, bad version string\n", "$min_gtk_version");
28412 if ((gtk_major_version != $gtk_config_major_version) ||
28413 (gtk_minor_version != $gtk_config_minor_version) ||
28414 (gtk_micro_version != $gtk_config_micro_version))
28416 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28417 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28418 gtk_major_version, gtk_minor_version, gtk_micro_version);
28419 printf ("*** was found! If gtk-config was correct, then it is best\n");
28420 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28421 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28422 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28423 printf("*** required on your system.\n");
28424 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28425 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28426 printf("*** before re-running configure\n");
28428 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28429 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28430 (gtk_minor_version != GTK_MINOR_VERSION) ||
28431 (gtk_micro_version != GTK_MICRO_VERSION))
28433 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28434 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28435 printf("*** library (version %d.%d.%d)\n",
28436 gtk_major_version, gtk_minor_version, gtk_micro_version);
28438 #endif /* defined (GTK_MAJOR_VERSION) ... */
28441 if ((gtk_major_version > major) ||
28442 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28443 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28449 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28450 gtk_major_version, gtk_minor_version, gtk_micro_version);
28451 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28452 major, minor, micro);
28453 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28455 printf("*** If you have already installed a sufficiently new version, this error\n");
28456 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28457 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28458 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28459 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28460 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28461 printf("*** so that the correct libraries are found at run-time))\n");
28468 rm -f conftest
$ac_exeext
28469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28470 (eval $ac_link) 2>&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; }; then
28481 echo "$as_me: program exited with status $ac_status" >&5
28482 echo "$as_me: failed program was:" >&5
28483 sed 's/^/| /' conftest.
$ac_ext >&5
28485 ( exit $ac_status )
28488 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28490 CFLAGS
="$ac_save_CFLAGS"
28491 LIBS
="$ac_save_LIBS"
28494 if test "x$no_gtk" = x
; then
28495 echo "$as_me:$LINENO: result: yes" >&5
28496 echo "${ECHO_T}yes" >&6
28497 wx_cv_lib_gtk
=1.2.7
28499 echo "$as_me:$LINENO: result: no" >&5
28500 echo "${ECHO_T}no" >&6
28501 if test "$GTK_CONFIG" = "no" ; then
28502 echo "*** The gtk-config script installed by GTK could not be found"
28503 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28504 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28505 echo "*** full path to gtk-config."
28507 if test -f conf.gtktest
; then
28510 echo "*** Could not run GTK test program, checking why..."
28511 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28512 LIBS
="$LIBS $GTK_LIBS"
28513 cat >conftest.
$ac_ext <<_ACEOF
28516 cat confdefs.h
>>conftest.
$ac_ext
28517 cat >>conftest.
$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28520 #include <gtk/gtk.h>
28526 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28531 rm -f conftest.
$ac_objext conftest
$ac_exeext
28532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28533 (eval $ac_link) 2>conftest.er1
28535 grep -v '^ *+' conftest.er1
>conftest.err
28537 cat conftest.err
>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } &&
28540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; } &&
28546 { ac_try
='test -s conftest$ac_exeext'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 echo "*** The test program compiled, but did not run. This usually means"
28553 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28554 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28555 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28556 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28557 echo "*** is required on your system"
28559 echo "*** If you have an old version installed, it is best to remove it, although"
28560 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28562 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28563 echo "*** came with the system with the command"
28565 echo "*** rpm --erase --nodeps gtk gtk-devel"
28567 echo "$as_me: failed program was:" >&5
28568 sed 's/^/| /' conftest.
$ac_ext >&5
28570 echo "*** The test program failed to compile or link. See the file config.log for the"
28571 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28572 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28573 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28575 rm -f conftest.err conftest.
$ac_objext \
28576 conftest
$ac_exeext conftest.
$ac_ext
28577 CFLAGS
="$ac_save_CFLAGS"
28578 LIBS
="$ac_save_LIBS"
28590 if test -z "$wx_cv_lib_gtk"; then
28592 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28593 if test "${with_gtk_prefix+set}" = set; then
28594 withval
="$with_gtk_prefix"
28595 gtk_config_prefix
="$withval"
28597 gtk_config_prefix
=""
28600 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28601 if test "${with_gtk_exec_prefix+set}" = set; then
28602 withval
="$with_gtk_exec_prefix"
28603 gtk_config_exec_prefix
="$withval"
28605 gtk_config_exec_prefix
=""
28607 # Check whether --enable-gtktest or --disable-gtktest was given.
28608 if test "${enable_gtktest+set}" = set; then
28609 enableval
="$enable_gtktest"
28615 for module
in .
$GTK_MODULES
28619 gtk_config_args
="$gtk_config_args gthread"
28624 if test x
$gtk_config_exec_prefix != x
; then
28625 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28626 if test x
${GTK_CONFIG+set} != xset
; then
28627 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28630 if test x
$gtk_config_prefix != x
; then
28631 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28632 if test x
${GTK_CONFIG+set} != xset
; then
28633 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28637 # Extract the first word of "gtk-config", so it can be a program name with args.
28638 set dummy gtk
-config; ac_word
=$2
28639 echo "$as_me:$LINENO: checking for $ac_word" >&5
28640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28641 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 case $GTK_CONFIG in
28646 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28650 for as_dir
in $PATH
28653 test -z "$as_dir" && as_dir
=.
28654 for ac_exec_ext
in '' $ac_executable_extensions; do
28655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28656 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28663 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28667 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28669 if test -n "$GTK_CONFIG"; then
28670 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28671 echo "${ECHO_T}$GTK_CONFIG" >&6
28673 echo "$as_me:$LINENO: result: no" >&5
28674 echo "${ECHO_T}no" >&6
28677 min_gtk_version
=1.2.3
28678 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28679 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28681 if test "$GTK_CONFIG" = "no" ; then
28684 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28685 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28686 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28688 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28690 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28692 if test "x$enable_gtktest" = "xyes" ; then
28693 ac_save_CFLAGS
="$CFLAGS"
28694 ac_save_LIBS
="$LIBS"
28695 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28696 LIBS
="$GTK_LIBS $LIBS"
28698 if test "$cross_compiling" = yes; then
28699 echo $ac_n "cross compiling; assumed OK... $ac_c"
28701 cat >conftest.
$ac_ext <<_ACEOF
28704 cat confdefs.h
>>conftest.
$ac_ext
28705 cat >>conftest.
$ac_ext <<_ACEOF
28706 /* end confdefs.h. */
28708 #include <gtk/gtk.h>
28710 #include <stdlib.h>
28715 int major, minor, micro;
28718 system ("touch conf.gtktest");
28720 /* HP/UX 9 (%@#!) writes to sscanf strings */
28721 tmp_version = g_strdup("$min_gtk_version");
28722 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28723 printf("%s, bad version string\n", "$min_gtk_version");
28727 if ((gtk_major_version != $gtk_config_major_version) ||
28728 (gtk_minor_version != $gtk_config_minor_version) ||
28729 (gtk_micro_version != $gtk_config_micro_version))
28731 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28732 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28733 gtk_major_version, gtk_minor_version, gtk_micro_version);
28734 printf ("*** was found! If gtk-config was correct, then it is best\n");
28735 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28736 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28737 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28738 printf("*** required on your system.\n");
28739 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28740 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28741 printf("*** before re-running configure\n");
28743 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28744 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28745 (gtk_minor_version != GTK_MINOR_VERSION) ||
28746 (gtk_micro_version != GTK_MICRO_VERSION))
28748 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28749 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28750 printf("*** library (version %d.%d.%d)\n",
28751 gtk_major_version, gtk_minor_version, gtk_micro_version);
28753 #endif /* defined (GTK_MAJOR_VERSION) ... */
28756 if ((gtk_major_version > major) ||
28757 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28758 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28764 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28765 gtk_major_version, gtk_minor_version, gtk_micro_version);
28766 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28767 major, minor, micro);
28768 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28770 printf("*** If you have already installed a sufficiently new version, this error\n");
28771 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28772 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28773 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28774 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28775 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28776 printf("*** so that the correct libraries are found at run-time))\n");
28783 rm -f conftest
$ac_exeext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28785 (eval $ac_link) 2>&5
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28790 (eval $ac_try) 2>&5
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; }; then
28796 echo "$as_me: program exited with status $ac_status" >&5
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.
$ac_ext >&5
28800 ( exit $ac_status )
28803 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28805 CFLAGS
="$ac_save_CFLAGS"
28806 LIBS
="$ac_save_LIBS"
28809 if test "x$no_gtk" = x
; then
28810 echo "$as_me:$LINENO: result: yes" >&5
28811 echo "${ECHO_T}yes" >&6
28812 wx_cv_lib_gtk
=1.2.3
28814 echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6
28816 if test "$GTK_CONFIG" = "no" ; then
28817 echo "*** The gtk-config script installed by GTK could not be found"
28818 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28819 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28820 echo "*** full path to gtk-config."
28822 if test -f conf.gtktest
; then
28825 echo "*** Could not run GTK test program, checking why..."
28826 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28827 LIBS
="$LIBS $GTK_LIBS"
28828 cat >conftest.
$ac_ext <<_ACEOF
28831 cat confdefs.h
>>conftest.
$ac_ext
28832 cat >>conftest.
$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28835 #include <gtk/gtk.h>
28841 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28846 rm -f conftest.
$ac_objext conftest
$ac_exeext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28848 (eval $ac_link) 2>conftest.er1
28850 grep -v '^ *+' conftest.er1
>conftest.err
28852 cat conftest.err
>&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; } &&
28861 { ac_try
='test -s conftest$ac_exeext'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 echo "*** The test program compiled, but did not run. This usually means"
28868 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28869 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28870 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28871 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28872 echo "*** is required on your system"
28874 echo "*** If you have an old version installed, it is best to remove it, although"
28875 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28877 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28878 echo "*** came with the system with the command"
28880 echo "*** rpm --erase --nodeps gtk gtk-devel"
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.
$ac_ext >&5
28885 echo "*** The test program failed to compile or link. See the file config.log for the"
28886 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28887 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28888 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28890 rm -f conftest.err conftest.
$ac_objext \
28891 conftest
$ac_exeext conftest.
$ac_ext
28892 CFLAGS
="$ac_save_CFLAGS"
28893 LIBS
="$ac_save_LIBS"
28908 if test -z "$wx_cv_lib_gtk"; then
28911 wx_cv_cflags_gtk
=$GTK_CFLAGS
28912 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28919 if test "$gtk_version_cached" = 1; then
28920 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28921 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28924 case "$wx_cv_lib_gtk" in
28933 *) { { echo "$as_me:$LINENO: error:
28934 The development files for GTK+ were not found. For GTK+ 2, please
28935 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28936 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28937 and that the version is 1.2.3 or above. Also check that the
28938 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28939 --libs' are in the LD_LIBRARY_PATH or equivalent.
28941 echo "$as_me: error:
28942 The development files for GTK+ were not found. For GTK+ 2, please
28943 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28944 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28945 and that the version is 1.2.3 or above. Also check that the
28946 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28947 --libs' are in the LD_LIBRARY_PATH or equivalent.
28949 { (exit 1); exit 1; }; }
28953 if test "$WXGTK20" = 1; then
28954 save_CFLAGS
="$CFLAGS"
28956 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28957 LIBS
="$LIBS $wx_cv_libs_gtk"
28959 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28960 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28961 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28962 echo $ECHO_N "(cached) $ECHO_C" >&6
28964 cat >conftest.
$ac_ext <<_ACEOF
28967 cat confdefs.h
>>conftest.
$ac_ext
28968 cat >>conftest.
$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 #include <gtk/gtk.h>
28975 #ifndef gtk_icon_size_lookup
28976 char *p = (char *) gtk_icon_size_lookup;
28983 rm -f conftest.
$ac_objext
28984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28985 (eval $ac_compile) 2>conftest.er1
28987 grep -v '^ *+' conftest.er1
>conftest.err
28989 cat conftest.err
>&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); } &&
28992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; } &&
28998 { ac_try
='test -s conftest.$ac_objext'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; }; then
29004 ac_cv_have_decl_gtk_icon_size_lookup
=yes
29006 echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.
$ac_ext >&5
29009 ac_cv_have_decl_gtk_icon_size_lookup
=no
29011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29013 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29014 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29015 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29017 cat >>confdefs.h
<<_ACEOF
29018 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29023 cat >>confdefs.h
<<_ACEOF
29024 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29027 cat >>confdefs.h
<<\_ACEOF
29028 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29035 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29036 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29037 cat >conftest.
$ac_ext <<_ACEOF
29040 cat confdefs.h
>>conftest.
$ac_ext
29041 cat >>conftest.
$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29044 #include <gtk/gtk.h>
29050 #if !GTK_CHECK_VERSION(2,6,0)
29058 rm -f conftest.
$ac_objext
29059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29060 (eval $ac_compile) 2>conftest.er1
29062 grep -v '^ *+' conftest.er1
>conftest.err
29064 cat conftest.err
>&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } &&
29067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29069 (eval $ac_try) 2>&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); }; } &&
29073 { ac_try
='test -s conftest.$ac_objext'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29080 cat >>confdefs.h
<<\_ACEOF
29081 #define __WXGTK26__ 1
29084 cat >>confdefs.h
<<\_ACEOF
29085 #define __WXGTK24__ 1
29088 echo "$as_me:$LINENO: result: yes" >&5
29089 echo "${ECHO_T}yes" >&6
29093 echo "$as_me: failed program was:" >&5
29094 sed 's/^/| /' conftest.
$ac_ext >&5
29097 echo "$as_me:$LINENO: result: no" >&5
29098 echo "${ECHO_T}no" >&6
29102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29104 if test "$ac_wxgtk26" = 0; then
29105 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29106 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29107 cat >conftest.
$ac_ext <<_ACEOF
29110 cat confdefs.h
>>conftest.
$ac_ext
29111 cat >>conftest.
$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29114 #include <gtk/gtk.h>
29120 #if !GTK_CHECK_VERSION(2,4,0)
29128 rm -f conftest.
$ac_objext
29129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29130 (eval $ac_compile) 2>conftest.er1
29132 grep -v '^ *+' conftest.er1
>conftest.err
29134 cat conftest.err
>&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); } &&
29137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29139 (eval $ac_try) 2>&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); }; } &&
29143 { ac_try
='test -s conftest.$ac_objext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29150 cat >>confdefs.h
<<\_ACEOF
29151 #define __WXGTK24__ 1
29154 echo "$as_me:$LINENO: result: yes" >&5
29155 echo "${ECHO_T}yes" >&6
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.
$ac_ext >&5
29162 echo "$as_me:$LINENO: result: no" >&5
29163 echo "${ECHO_T}no" >&6
29166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29169 CFLAGS
="$save_CFLAGS"
29172 if test "$wxUSE_UNICODE" = "yes"; then
29173 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29174 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29178 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29179 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29180 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29181 echo $ECHO_N "(cached) $ECHO_C" >&6
29183 ac_check_lib_save_LIBS
=$LIBS
29185 cat >conftest.
$ac_ext <<_ACEOF
29188 cat confdefs.h
>>conftest.
$ac_ext
29189 cat >>conftest.
$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29192 /* Override any gcc2 internal prototype to avoid an error. */
29196 /* We use char because int might match the return type of a gcc2
29197 builtin and then its argument prototype would still apply. */
29198 char gdk_im_open ();
29207 rm -f conftest.
$ac_objext conftest
$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>conftest.er1
29211 grep -v '^ *+' conftest.er1
>conftest.err
29213 cat conftest.err
>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; } &&
29222 { ac_try
='test -s conftest$ac_exeext'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; }; then
29228 ac_cv_lib_gdk_gdk_im_open
=yes
29230 echo "$as_me: failed program was:" >&5
29231 sed 's/^/| /' conftest.
$ac_ext >&5
29233 ac_cv_lib_gdk_gdk_im_open
=no
29235 rm -f conftest.err conftest.
$ac_objext \
29236 conftest
$ac_exeext conftest.
$ac_ext
29237 LIBS
=$ac_check_lib_save_LIBS
29239 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29240 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29241 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29242 cat >>confdefs.h
<<\_ACEOF
29251 ac_cpp
='$CXXCPP $CPPFLAGS'
29252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29257 if test "$USE_DARWIN" != 1; then
29259 for ac_func
in poll
29261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29262 echo "$as_me:$LINENO: checking for $ac_func" >&5
29263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29264 if eval "test \"\${$as_ac_var+set}\" = set"; then
29265 echo $ECHO_N "(cached) $ECHO_C" >&6
29267 cat >conftest.
$ac_ext <<_ACEOF
29270 cat confdefs.h
>>conftest.
$ac_ext
29271 cat >>conftest.
$ac_ext <<_ACEOF
29272 /* end confdefs.h. */
29273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29275 #define $ac_func innocuous_$ac_func
29277 /* System header to define __stub macros and hopefully few prototypes,
29278 which can conflict with char $ac_func (); below.
29279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29280 <limits.h> exists even on freestanding compilers. */
29283 # include <limits.h>
29285 # include <assert.h>
29290 /* Override any gcc2 internal prototype to avoid an error. */
29295 /* We use char because int might match the return type of a gcc2
29296 builtin and then its argument prototype would still apply. */
29298 /* The GNU C library defines this for functions which it implements
29299 to always fail with ENOSYS. Some functions are actually named
29300 something starting with __ and the normal name is an alias. */
29301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29304 char (*f) () = $ac_func;
29313 return f != $ac_func;
29318 rm -f conftest.
$ac_objext conftest
$ac_exeext
29319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29320 (eval $ac_link) 2>conftest.er1
29322 grep -v '^ *+' conftest.er1
>conftest.err
29324 cat conftest.err
>&5
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } &&
29327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29329 (eval $ac_try) 2>&5
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); }; } &&
29333 { ac_try
='test -s conftest$ac_exeext'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; }; then
29339 eval "$as_ac_var=yes"
29341 echo "$as_me: failed program was:" >&5
29342 sed 's/^/| /' conftest.
$ac_ext >&5
29344 eval "$as_ac_var=no"
29346 rm -f conftest.err conftest.
$ac_objext \
29347 conftest
$ac_exeext conftest.
$ac_ext
29349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29351 if test `eval echo '${'$as_ac_var'}'` = yes; then
29352 cat >>confdefs.h
<<_ACEOF
29353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29361 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29362 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29364 AFMINSTALL
=afminstall
29368 if test "$wxUSE_GPE" = "yes"; then
29369 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29370 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29373 for ac_dir
in $SEARCH_LIB;
29375 for ac_extension
in a so sl dylib dll.a
; do
29376 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29377 ac_find_libraries
=$ac_dir
29383 if test "$ac_find_libraries" != "" ; then
29385 if test "$ac_find_libraries" = "default location"; then
29388 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29390 if test $result = 0; then
29393 ac_path_to_link
=" -L$ac_find_libraries"
29397 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29399 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29400 echo "${ECHO_T}found in $ac_find_libraries" >&6
29402 echo "$as_me:$LINENO: result: not found" >&5
29403 echo "${ECHO_T}not found" >&6
29409 if test "$wxUSE_MGL" = 1; then
29410 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29411 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29412 if test "x$MGL_ROOT" = x
; then
29413 echo "$as_me:$LINENO: result: not found" >&5
29414 echo "${ECHO_T}not found" >&6
29415 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29416 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29417 { (exit 1); exit 1; }; }
29419 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29420 echo "${ECHO_T}$MGL_ROOT" >&6
29423 echo "$as_me:$LINENO: checking for libmgl location" >&5
29424 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29427 if test "x$wxUSE_SHARED" = xyes
; then
29428 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29430 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29434 mgl_os_candidates
="dos32/dj2"
29437 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29438 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29439 { (exit 1); exit 1; }; }
29445 for mgl_os_i
in $mgl_os_candidates ; do
29446 if test "x$mgl_os" = x
; then
29447 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29448 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29449 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29454 if test "x$mgl_lib_type" = x
; then
29455 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29456 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29457 mgl_lib_type
=release
29464 if test "x$mgl_os" = x
; then
29465 echo "$as_me:$LINENO: result: not found" >&5
29466 echo "${ECHO_T}not found" >&6
29467 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29468 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29469 { (exit 1); exit 1; }; }
29471 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29472 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29474 wxUSE_UNIVERSAL
="yes"
29476 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29477 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29479 AFMINSTALL
=afminstall
29484 if test "$wxUSE_DFB" = 1; then
29487 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29488 if test -n "$ac_tool_prefix"; then
29489 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29490 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29491 echo "$as_me:$LINENO: checking for $ac_word" >&5
29492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29493 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29494 echo $ECHO_N "(cached) $ECHO_C" >&6
29496 case $PKG_CONFIG in
29498 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29502 for as_dir
in $PATH
29505 test -z "$as_dir" && as_dir
=.
29506 for ac_exec_ext
in '' $ac_executable_extensions; do
29507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29508 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29518 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29520 if test -n "$PKG_CONFIG"; then
29521 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29522 echo "${ECHO_T}$PKG_CONFIG" >&6
29524 echo "$as_me:$LINENO: result: no" >&5
29525 echo "${ECHO_T}no" >&6
29529 if test -z "$ac_cv_path_PKG_CONFIG"; then
29530 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29531 # Extract the first word of "pkg-config", so it can be a program name with args.
29532 set dummy pkg
-config; ac_word
=$2
29533 echo "$as_me:$LINENO: checking for $ac_word" >&5
29534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29535 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29536 echo $ECHO_N "(cached) $ECHO_C" >&6
29538 case $ac_pt_PKG_CONFIG in
29540 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29544 for as_dir
in $PATH
29547 test -z "$as_dir" && as_dir
=.
29548 for ac_exec_ext
in '' $ac_executable_extensions; do
29549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29550 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29560 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29562 if test -n "$ac_pt_PKG_CONFIG"; then
29563 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29564 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29566 echo "$as_me:$LINENO: result: no" >&5
29567 echo "${ECHO_T}no" >&6
29570 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29572 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29576 if test -n "$PKG_CONFIG"; then
29577 _pkg_min_version
=0.9.0
29578 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29579 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29580 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29581 echo "$as_me:$LINENO: result: yes" >&5
29582 echo "${ECHO_T}yes" >&6
29584 echo "$as_me:$LINENO: result: no" >&5
29585 echo "${ECHO_T}no" >&6
29593 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29594 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29596 if test -n "$PKG_CONFIG"; then
29597 if test -n "$DIRECTFB_CFLAGS"; then
29598 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29600 if test -n "$PKG_CONFIG" && \
29601 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29602 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; then
29606 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29614 if test -n "$PKG_CONFIG"; then
29615 if test -n "$DIRECTFB_LIBS"; then
29616 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29618 if test -n "$PKG_CONFIG" && \
29619 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29620 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); }; then
29624 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29635 if test $pkg_failed = yes; then
29637 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29638 _pkg_short_errors_supported
=yes
29640 _pkg_short_errors_supported
=no
29642 if test $_pkg_short_errors_supported = yes; then
29643 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29645 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29647 # Put the nasty error message in config.log where it belongs
29648 echo "$DIRECTFB_PKG_ERRORS" >&5
29651 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29652 echo "$as_me: error: DirectFB not found." >&2;}
29653 { (exit 1); exit 1; }; }
29656 elif test $pkg_failed = untried
; then
29658 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29659 echo "$as_me: error: DirectFB not found." >&2;}
29660 { (exit 1); exit 1; }; }
29664 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29665 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29666 echo "$as_me:$LINENO: result: yes" >&5
29667 echo "${ECHO_T}yes" >&6
29669 wxUSE_UNIVERSAL
="yes"
29670 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29671 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29678 if test "$wxUSE_MICROWIN" = 1; then
29679 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29680 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29681 if test "x$MICROWINDOWS" = x
; then
29682 echo "$as_me:$LINENO: result: not found" >&5
29683 echo "${ECHO_T}not found" >&6
29684 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29685 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29686 { (exit 1); exit 1; }; }
29688 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29689 echo "${ECHO_T}$MICROWINDOWS" >&6
29692 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29693 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29694 echo "${ECHO_T}MicroWindows' libraries found." >&6
29696 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29697 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29698 { (exit 1); exit 1; }; }
29701 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29702 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29704 wxUSE_UNIVERSAL
="yes"
29706 AFMINSTALL
=afminstall
29708 GUIDIST
=MICROWIN_DIST
29710 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29713 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29715 if test "x$ac_path_x_has_been_run" != xyes
; then
29716 echo "$as_me:$LINENO: checking for X" >&5
29717 echo $ECHO_N "checking for X... $ECHO_C" >&6
29719 ac_path_x_has_been_run
=yes
29721 # Check whether --with-x or --without-x was given.
29722 if test "${with_x+set}" = set; then
29726 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29727 if test "x$with_x" = xno
; then
29728 # The user explicitly disabled X.
29731 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29732 # Both variables are already set.
29735 if test "${ac_cv_have_x+set}" = set; then
29736 echo $ECHO_N "(cached) $ECHO_C" >&6
29738 # One or both of the vars are not set, and there is no cached value.
29739 ac_x_includes
=no ac_x_libraries
=no
29740 rm -fr conftest.dir
29741 if mkdir conftest.dir
; then
29743 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29744 cat >Imakefile
<<'_ACEOF'
29746 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29748 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29749 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29750 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29751 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29752 for ac_extension
in a so sl
; do
29753 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29754 test -f $ac_im_libdir/libX11.
$ac_extension; then
29755 ac_im_usrlibdir
=$ac_im_libdir; break
29758 # Screen out bogus values from the imake configuration. They are
29759 # bogus both because they are the default anyway, and because
29760 # using them would break gcc on systems where it needs fixed includes.
29761 case $ac_im_incroot in
29763 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29765 case $ac_im_usrlibdir in
29766 /usr
/lib
| /lib
) ;;
29767 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29771 rm -fr conftest.dir
29774 # Standard set of common directories for X headers.
29775 # Check X11 before X11Rn because it is often a symlink to the current release.
29787 /usr/local/X11/include
29788 /usr/local/X11R6/include
29789 /usr/local/X11R5/include
29790 /usr/local/X11R4/include
29792 /usr/local/include/X11
29793 /usr/local/include/X11R6
29794 /usr/local/include/X11R5
29795 /usr/local/include/X11R4
29799 /usr/XFree86/include/X11
29803 /usr/unsupported/include
29804 /usr/athena/include
29805 /usr/local/x11r5/include
29806 /usr/lpp/Xamples/include
29808 /usr/openwin/include
29809 /usr/openwin/share/include'
29811 if test "$ac_x_includes" = no
; then
29812 # Guess where to find include files, by looking for a specified header file.
29813 # First, try using that file with no special directory specified.
29814 cat >conftest.
$ac_ext <<_ACEOF
29817 cat confdefs.h
>>conftest.
$ac_ext
29818 cat >>conftest.
$ac_ext <<_ACEOF
29819 /* end confdefs.h. */
29820 #include <X11/Intrinsic.h>
29822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29825 grep -v '^ *+' conftest.er1
>conftest.err
29827 cat conftest.err
>&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } >/dev
/null
; then
29830 if test -s conftest.err
; then
29831 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29832 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29839 if test -z "$ac_cpp_err"; then
29840 # We can compile using X headers with no special include directory.
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.
$ac_ext >&5
29846 for ac_dir
in $ac_x_header_dirs; do
29847 if test -r "$ac_dir/X11/Intrinsic.h"; then
29848 ac_x_includes
=$ac_dir
29853 rm -f conftest.err conftest.
$ac_ext
29854 fi # $ac_x_includes = no
29856 if test "$ac_x_libraries" = no
; then
29857 # Check for the libraries.
29858 # See if we find them without any special options.
29859 # Don't add to $LIBS permanently.
29862 cat >conftest.
$ac_ext <<_ACEOF
29865 cat confdefs.h
>>conftest.
$ac_ext
29866 cat >>conftest.
$ac_ext <<_ACEOF
29867 /* end confdefs.h. */
29868 #include <X11/Intrinsic.h>
29877 rm -f conftest.
$ac_objext conftest
$ac_exeext
29878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29879 (eval $ac_link) 2>conftest.er1
29881 grep -v '^ *+' conftest.er1
>conftest.err
29883 cat conftest.err
>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); } &&
29886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; } &&
29892 { ac_try
='test -s conftest$ac_exeext'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; }; then
29899 # We can link X programs with no special library path.
29902 echo "$as_me: failed program was:" >&5
29903 sed 's/^/| /' conftest.
$ac_ext >&5
29906 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29908 # Don't even attempt the hair of trying to link an X program!
29909 for ac_extension
in a so sl
; do
29910 if test -r $ac_dir/libXt.
$ac_extension; then
29911 ac_x_libraries
=$ac_dir
29917 rm -f conftest.err conftest.
$ac_objext \
29918 conftest
$ac_exeext conftest.
$ac_ext
29919 fi # $ac_x_libraries = no
29921 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29922 # Didn't find X anywhere. Cache the known absence of X.
29923 ac_cv_have_x
="have_x=no"
29925 # Record where we found X for the cache.
29926 ac_cv_have_x
="have_x=yes \
29927 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29932 eval "$ac_cv_have_x"
29935 if test "$have_x" != yes; then
29936 echo "$as_me:$LINENO: result: $have_x" >&5
29937 echo "${ECHO_T}$have_x" >&6
29940 # If each of the values was on the command line, it overrides each guess.
29941 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29942 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29943 # Update the cache value to reflect the command line values.
29944 ac_cv_have_x
="have_x=yes \
29945 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29946 # It might be that x_includes is empty (headers are found in the
29947 # standard search path. Then output the corresponding message
29948 ac_out_x_includes
=$x_includes
29949 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29950 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29951 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29955 if test "$no_x" = yes; then
29956 # Not all programs may use this symbol, but it does not hurt to define it.
29958 cat >>confdefs.h
<<\_ACEOF
29959 #define X_DISPLAY_MISSING 1
29962 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29964 if test -n "$x_includes"; then
29965 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29968 # It would also be nice to do this for all -L options, not just this one.
29969 if test -n "$x_libraries"; then
29970 X_LIBS
="$X_LIBS -L$x_libraries"
29971 # For Solaris; some versions of Sun CC require a space after -R and
29972 # others require no space. Words are not sufficient . . . .
29973 case `(uname -sr) 2>/dev/null` in
29975 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29976 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29977 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29978 cat >conftest.
$ac_ext <<_ACEOF
29981 cat confdefs.h
>>conftest.
$ac_ext
29982 cat >>conftest.
$ac_ext <<_ACEOF
29983 /* end confdefs.h. */
29993 rm -f conftest.
$ac_objext conftest
$ac_exeext
29994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29995 (eval $ac_link) 2>conftest.er1
29997 grep -v '^ *+' conftest.er1
>conftest.err
29999 cat conftest.err
>&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; } &&
30008 { ac_try
='test -s conftest$ac_exeext'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; }; then
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.
$ac_ext >&5
30021 rm -f conftest.err conftest.
$ac_objext \
30022 conftest
$ac_exeext conftest.
$ac_ext
30023 if test $ac_R_nospace = yes; then
30024 echo "$as_me:$LINENO: result: no" >&5
30025 echo "${ECHO_T}no" >&6
30026 X_LIBS
="$X_LIBS -R$x_libraries"
30028 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30029 cat >conftest.
$ac_ext <<_ACEOF
30032 cat confdefs.h
>>conftest.
$ac_ext
30033 cat >>conftest.
$ac_ext <<_ACEOF
30034 /* end confdefs.h. */
30044 rm -f conftest.
$ac_objext conftest
$ac_exeext
30045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30046 (eval $ac_link) 2>conftest.er1
30048 grep -v '^ *+' conftest.er1
>conftest.err
30050 cat conftest.err
>&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); } &&
30053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30055 (eval $ac_try) 2>&5
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); }; } &&
30059 { ac_try
='test -s conftest$ac_exeext'
30060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30061 (eval $ac_try) 2>&5
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); }; }; then
30067 echo "$as_me: failed program was:" >&5
30068 sed 's/^/| /' conftest.
$ac_ext >&5
30072 rm -f conftest.err conftest.
$ac_objext \
30073 conftest
$ac_exeext conftest.
$ac_ext
30074 if test $ac_R_space = yes; then
30075 echo "$as_me:$LINENO: result: yes" >&5
30076 echo "${ECHO_T}yes" >&6
30077 X_LIBS
="$X_LIBS -R $x_libraries"
30079 echo "$as_me:$LINENO: result: neither works" >&5
30080 echo "${ECHO_T}neither works" >&6
30083 LIBS
=$ac_xsave_LIBS
30087 # Check for system-dependent libraries X programs must link with.
30088 # Do this before checking for the system-independent R6 libraries
30089 # (-lICE), since we may need -lsocket or whatever for X linking.
30091 if test "$ISC" = yes; then
30092 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30094 # Martyn Johnson says this is needed for Ultrix, if the X
30095 # libraries were built with DECnet support. And Karl Berry says
30096 # the Alpha needs dnet_stub (dnet does not exist).
30097 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30098 cat >conftest.
$ac_ext <<_ACEOF
30101 cat confdefs.h
>>conftest.
$ac_ext
30102 cat >>conftest.
$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30105 /* Override any gcc2 internal prototype to avoid an error. */
30109 /* We use char because int might match the return type of a gcc2
30110 builtin and then its argument prototype would still apply. */
30111 char XOpenDisplay ();
30120 rm -f conftest.
$ac_objext conftest
$ac_exeext
30121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30122 (eval $ac_link) 2>conftest.er1
30124 grep -v '^ *+' conftest.er1
>conftest.err
30126 cat conftest.err
>&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); } &&
30129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; } &&
30135 { ac_try
='test -s conftest$ac_exeext'
30136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30137 (eval $ac_try) 2>&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); }; }; then
30143 echo "$as_me: failed program was:" >&5
30144 sed 's/^/| /' conftest.
$ac_ext >&5
30146 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30147 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30148 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30149 echo $ECHO_N "(cached) $ECHO_C" >&6
30151 ac_check_lib_save_LIBS
=$LIBS
30152 LIBS
="-ldnet $LIBS"
30153 cat >conftest.
$ac_ext <<_ACEOF
30156 cat confdefs.h
>>conftest.
$ac_ext
30157 cat >>conftest.
$ac_ext <<_ACEOF
30158 /* end confdefs.h. */
30160 /* Override any gcc2 internal prototype to avoid an error. */
30164 /* We use char because int might match the return type of a gcc2
30165 builtin and then its argument prototype would still apply. */
30175 rm -f conftest.
$ac_objext conftest
$ac_exeext
30176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30177 (eval $ac_link) 2>conftest.er1
30179 grep -v '^ *+' conftest.er1
>conftest.err
30181 cat conftest.err
>&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } &&
30184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186 (eval $ac_try) 2>&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; } &&
30190 { ac_try
='test -s conftest$ac_exeext'
30191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30192 (eval $ac_try) 2>&5
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); }; }; then
30196 ac_cv_lib_dnet_dnet_ntoa
=yes
30198 echo "$as_me: failed program was:" >&5
30199 sed 's/^/| /' conftest.
$ac_ext >&5
30201 ac_cv_lib_dnet_dnet_ntoa
=no
30203 rm -f conftest.err conftest.
$ac_objext \
30204 conftest
$ac_exeext conftest.
$ac_ext
30205 LIBS
=$ac_check_lib_save_LIBS
30207 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30208 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30209 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30210 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30213 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30214 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30215 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30216 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30217 echo $ECHO_N "(cached) $ECHO_C" >&6
30219 ac_check_lib_save_LIBS
=$LIBS
30220 LIBS
="-ldnet_stub $LIBS"
30221 cat >conftest.
$ac_ext <<_ACEOF
30224 cat confdefs.h
>>conftest.
$ac_ext
30225 cat >>conftest.
$ac_ext <<_ACEOF
30226 /* end confdefs.h. */
30228 /* Override any gcc2 internal prototype to avoid an error. */
30232 /* We use char because int might match the return type of a gcc2
30233 builtin and then its argument prototype would still apply. */
30243 rm -f conftest.
$ac_objext conftest
$ac_exeext
30244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30245 (eval $ac_link) 2>conftest.er1
30247 grep -v '^ *+' conftest.er1
>conftest.err
30249 cat conftest.err
>&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); } &&
30252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; } &&
30258 { ac_try
='test -s conftest$ac_exeext'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; }; then
30264 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.
$ac_ext >&5
30269 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30271 rm -f conftest.err conftest.
$ac_objext \
30272 conftest
$ac_exeext conftest.
$ac_ext
30273 LIBS
=$ac_check_lib_save_LIBS
30275 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30276 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30277 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30278 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30283 rm -f conftest.err conftest.
$ac_objext \
30284 conftest
$ac_exeext conftest.
$ac_ext
30285 LIBS
="$ac_xsave_LIBS"
30287 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30288 # to get the SysV transport functions.
30289 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30291 # The nsl library prevents programs from opening the X display
30292 # on Irix 5.2, according to T.E. Dickey.
30293 # The functions gethostbyname, getservbyname, and inet_addr are
30294 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30295 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30296 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30297 if test "${ac_cv_func_gethostbyname+set}" = set; then
30298 echo $ECHO_N "(cached) $ECHO_C" >&6
30300 cat >conftest.
$ac_ext <<_ACEOF
30303 cat confdefs.h
>>conftest.
$ac_ext
30304 cat >>conftest.
$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30308 #define gethostbyname innocuous_gethostbyname
30310 /* System header to define __stub macros and hopefully few prototypes,
30311 which can conflict with char gethostbyname (); below.
30312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30313 <limits.h> exists even on freestanding compilers. */
30316 # include <limits.h>
30318 # include <assert.h>
30321 #undef gethostbyname
30323 /* Override any gcc2 internal prototype to avoid an error. */
30328 /* We use char because int might match the return type of a gcc2
30329 builtin and then its argument prototype would still apply. */
30330 char gethostbyname ();
30331 /* The GNU C library defines this for functions which it implements
30332 to always fail with ENOSYS. Some functions are actually named
30333 something starting with __ and the normal name is an alias. */
30334 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30337 char (*f) () = gethostbyname;
30346 return f != gethostbyname;
30351 rm -f conftest.
$ac_objext conftest
$ac_exeext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30353 (eval $ac_link) 2>conftest.er1
30355 grep -v '^ *+' conftest.er1
>conftest.err
30357 cat conftest.err
>&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } &&
30360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; } &&
30366 { ac_try
='test -s conftest$ac_exeext'
30367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368 (eval $ac_try) 2>&5
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; }; then
30372 ac_cv_func_gethostbyname
=yes
30374 echo "$as_me: failed program was:" >&5
30375 sed 's/^/| /' conftest.
$ac_ext >&5
30377 ac_cv_func_gethostbyname
=no
30379 rm -f conftest.err conftest.
$ac_objext \
30380 conftest
$ac_exeext conftest.
$ac_ext
30382 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30383 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30385 if test $ac_cv_func_gethostbyname = no
; then
30386 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30387 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30388 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30389 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 ac_check_lib_save_LIBS
=$LIBS
30393 cat >conftest.
$ac_ext <<_ACEOF
30396 cat confdefs.h
>>conftest.
$ac_ext
30397 cat >>conftest.
$ac_ext <<_ACEOF
30398 /* end confdefs.h. */
30400 /* Override any gcc2 internal prototype to avoid an error. */
30404 /* We use char because int might match the return type of a gcc2
30405 builtin and then its argument prototype would still apply. */
30406 char gethostbyname ();
30415 rm -f conftest.
$ac_objext conftest
$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417 (eval $ac_link) 2>conftest.er1
30419 grep -v '^ *+' conftest.er1
>conftest.err
30421 cat conftest.err
>&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; } &&
30430 { ac_try
='test -s conftest$ac_exeext'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; }; then
30436 ac_cv_lib_nsl_gethostbyname
=yes
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.
$ac_ext >&5
30441 ac_cv_lib_nsl_gethostbyname
=no
30443 rm -f conftest.err conftest.
$ac_objext \
30444 conftest
$ac_exeext conftest.
$ac_ext
30445 LIBS
=$ac_check_lib_save_LIBS
30447 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30448 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30449 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30450 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30453 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30454 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30455 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30456 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 ac_check_lib_save_LIBS
=$LIBS
30461 cat >conftest.
$ac_ext <<_ACEOF
30464 cat confdefs.h
>>conftest.
$ac_ext
30465 cat >>conftest.
$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30468 /* Override any gcc2 internal prototype to avoid an error. */
30472 /* We use char because int might match the return type of a gcc2
30473 builtin and then its argument prototype would still apply. */
30474 char gethostbyname ();
30483 rm -f conftest.
$ac_objext conftest
$ac_exeext
30484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30485 (eval $ac_link) 2>conftest.er1
30487 grep -v '^ *+' conftest.er1
>conftest.err
30489 cat conftest.err
>&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); } &&
30492 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; } &&
30498 { ac_try
='test -s conftest$ac_exeext'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; }; then
30504 ac_cv_lib_bsd_gethostbyname
=yes
30506 echo "$as_me: failed program was:" >&5
30507 sed 's/^/| /' conftest.
$ac_ext >&5
30509 ac_cv_lib_bsd_gethostbyname
=no
30511 rm -f conftest.err conftest.
$ac_objext \
30512 conftest
$ac_exeext conftest.
$ac_ext
30513 LIBS
=$ac_check_lib_save_LIBS
30515 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30516 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30517 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30518 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30524 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30525 # socket/setsockopt and other routines are undefined under SCO ODT
30526 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30527 # on later versions), says Simon Leinen: it contains gethostby*
30528 # variants that don't use the name server (or something). -lsocket
30529 # must be given before -lnsl if both are needed. We assume that
30530 # if connect needs -lnsl, so does gethostbyname.
30531 echo "$as_me:$LINENO: checking for connect" >&5
30532 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30533 if test "${ac_cv_func_connect+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30536 cat >conftest.
$ac_ext <<_ACEOF
30539 cat confdefs.h
>>conftest.
$ac_ext
30540 cat >>conftest.
$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30542 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30544 #define connect innocuous_connect
30546 /* System header to define __stub macros and hopefully few prototypes,
30547 which can conflict with char connect (); below.
30548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30549 <limits.h> exists even on freestanding compilers. */
30552 # include <limits.h>
30554 # include <assert.h>
30559 /* Override any gcc2 internal prototype to avoid an error. */
30564 /* We use char because int might match the return type of a gcc2
30565 builtin and then its argument prototype would still apply. */
30567 /* The GNU C library defines this for functions which it implements
30568 to always fail with ENOSYS. Some functions are actually named
30569 something starting with __ and the normal name is an alias. */
30570 #if defined (__stub_connect) || defined (__stub___connect)
30573 char (*f) () = connect;
30582 return f != connect;
30587 rm -f conftest.
$ac_objext conftest
$ac_exeext
30588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30589 (eval $ac_link) 2>conftest.er1
30591 grep -v '^ *+' conftest.er1
>conftest.err
30593 cat conftest.err
>&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } &&
30596 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598 (eval $ac_try) 2>&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); }; } &&
30602 { ac_try
='test -s conftest$ac_exeext'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30608 ac_cv_func_connect
=yes
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.
$ac_ext >&5
30613 ac_cv_func_connect
=no
30615 rm -f conftest.err conftest.
$ac_objext \
30616 conftest
$ac_exeext conftest.
$ac_ext
30618 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30619 echo "${ECHO_T}$ac_cv_func_connect" >&6
30621 if test $ac_cv_func_connect = no
; then
30622 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30623 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30624 if test "${ac_cv_lib_socket_connect+set}" = set; then
30625 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 ac_check_lib_save_LIBS
=$LIBS
30628 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30629 cat >conftest.
$ac_ext <<_ACEOF
30632 cat confdefs.h
>>conftest.
$ac_ext
30633 cat >>conftest.
$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30636 /* Override any gcc2 internal prototype to avoid an error. */
30640 /* We use char because int might match the return type of a gcc2
30641 builtin and then its argument prototype would still apply. */
30651 rm -f conftest.
$ac_objext conftest
$ac_exeext
30652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30653 (eval $ac_link) 2>conftest.er1
30655 grep -v '^ *+' conftest.er1
>conftest.err
30657 cat conftest.err
>&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); } &&
30660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30662 (eval $ac_try) 2>&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); }; } &&
30666 { ac_try
='test -s conftest$ac_exeext'
30667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668 (eval $ac_try) 2>&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); }; }; then
30672 ac_cv_lib_socket_connect
=yes
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.
$ac_ext >&5
30677 ac_cv_lib_socket_connect
=no
30679 rm -f conftest.err conftest.
$ac_objext \
30680 conftest
$ac_exeext conftest.
$ac_ext
30681 LIBS
=$ac_check_lib_save_LIBS
30683 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30684 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30685 if test $ac_cv_lib_socket_connect = yes; then
30686 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30691 # Guillermo Gomez says -lposix is necessary on A/UX.
30692 echo "$as_me:$LINENO: checking for remove" >&5
30693 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30694 if test "${ac_cv_func_remove+set}" = set; then
30695 echo $ECHO_N "(cached) $ECHO_C" >&6
30697 cat >conftest.
$ac_ext <<_ACEOF
30700 cat confdefs.h
>>conftest.
$ac_ext
30701 cat >>conftest.
$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30703 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30705 #define remove innocuous_remove
30707 /* System header to define __stub macros and hopefully few prototypes,
30708 which can conflict with char remove (); below.
30709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30710 <limits.h> exists even on freestanding compilers. */
30713 # include <limits.h>
30715 # include <assert.h>
30720 /* Override any gcc2 internal prototype to avoid an error. */
30725 /* We use char because int might match the return type of a gcc2
30726 builtin and then its argument prototype would still apply. */
30728 /* The GNU C library defines this for functions which it implements
30729 to always fail with ENOSYS. Some functions are actually named
30730 something starting with __ and the normal name is an alias. */
30731 #if defined (__stub_remove) || defined (__stub___remove)
30734 char (*f) () = remove;
30743 return f != remove;
30748 rm -f conftest.
$ac_objext conftest
$ac_exeext
30749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30750 (eval $ac_link) 2>conftest.er1
30752 grep -v '^ *+' conftest.er1
>conftest.err
30754 cat conftest.err
>&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); } &&
30757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; } &&
30763 { ac_try
='test -s conftest$ac_exeext'
30764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30765 (eval $ac_try) 2>&5
30767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30768 (exit $ac_status); }; }; then
30769 ac_cv_func_remove
=yes
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.
$ac_ext >&5
30774 ac_cv_func_remove
=no
30776 rm -f conftest.err conftest.
$ac_objext \
30777 conftest
$ac_exeext conftest.
$ac_ext
30779 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30780 echo "${ECHO_T}$ac_cv_func_remove" >&6
30782 if test $ac_cv_func_remove = no
; then
30783 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30784 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30785 if test "${ac_cv_lib_posix_remove+set}" = set; then
30786 echo $ECHO_N "(cached) $ECHO_C" >&6
30788 ac_check_lib_save_LIBS
=$LIBS
30789 LIBS
="-lposix $LIBS"
30790 cat >conftest.
$ac_ext <<_ACEOF
30793 cat confdefs.h
>>conftest.
$ac_ext
30794 cat >>conftest.
$ac_ext <<_ACEOF
30795 /* end confdefs.h. */
30797 /* Override any gcc2 internal prototype to avoid an error. */
30801 /* We use char because int might match the return type of a gcc2
30802 builtin and then its argument prototype would still apply. */
30812 rm -f conftest.
$ac_objext conftest
$ac_exeext
30813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30814 (eval $ac_link) 2>conftest.er1
30816 grep -v '^ *+' conftest.er1
>conftest.err
30818 cat conftest.err
>&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } &&
30821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; } &&
30827 { ac_try
='test -s conftest$ac_exeext'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; }; then
30833 ac_cv_lib_posix_remove
=yes
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.
$ac_ext >&5
30838 ac_cv_lib_posix_remove
=no
30840 rm -f conftest.err conftest.
$ac_objext \
30841 conftest
$ac_exeext conftest.
$ac_ext
30842 LIBS
=$ac_check_lib_save_LIBS
30844 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30845 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30846 if test $ac_cv_lib_posix_remove = yes; then
30847 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30852 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30853 echo "$as_me:$LINENO: checking for shmat" >&5
30854 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30855 if test "${ac_cv_func_shmat+set}" = set; then
30856 echo $ECHO_N "(cached) $ECHO_C" >&6
30858 cat >conftest.
$ac_ext <<_ACEOF
30861 cat confdefs.h
>>conftest.
$ac_ext
30862 cat >>conftest.
$ac_ext <<_ACEOF
30863 /* end confdefs.h. */
30864 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30866 #define shmat innocuous_shmat
30868 /* System header to define __stub macros and hopefully few prototypes,
30869 which can conflict with char shmat (); below.
30870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30871 <limits.h> exists even on freestanding compilers. */
30874 # include <limits.h>
30876 # include <assert.h>
30881 /* Override any gcc2 internal prototype to avoid an error. */
30886 /* We use char because int might match the return type of a gcc2
30887 builtin and then its argument prototype would still apply. */
30889 /* The GNU C library defines this for functions which it implements
30890 to always fail with ENOSYS. Some functions are actually named
30891 something starting with __ and the normal name is an alias. */
30892 #if defined (__stub_shmat) || defined (__stub___shmat)
30895 char (*f) () = shmat;
30909 rm -f conftest.
$ac_objext conftest
$ac_exeext
30910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30911 (eval $ac_link) 2>conftest.er1
30913 grep -v '^ *+' conftest.er1
>conftest.err
30915 cat conftest.err
>&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } &&
30918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; } &&
30924 { ac_try
='test -s conftest$ac_exeext'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; }; then
30930 ac_cv_func_shmat
=yes
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.
$ac_ext >&5
30935 ac_cv_func_shmat
=no
30937 rm -f conftest.err conftest.
$ac_objext \
30938 conftest
$ac_exeext conftest.
$ac_ext
30940 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30941 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30943 if test $ac_cv_func_shmat = no
; then
30944 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30945 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30946 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30947 echo $ECHO_N "(cached) $ECHO_C" >&6
30949 ac_check_lib_save_LIBS
=$LIBS
30951 cat >conftest.
$ac_ext <<_ACEOF
30954 cat confdefs.h
>>conftest.
$ac_ext
30955 cat >>conftest.
$ac_ext <<_ACEOF
30956 /* end confdefs.h. */
30958 /* Override any gcc2 internal prototype to avoid an error. */
30962 /* We use char because int might match the return type of a gcc2
30963 builtin and then its argument prototype would still apply. */
30973 rm -f conftest.
$ac_objext conftest
$ac_exeext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30975 (eval $ac_link) 2>conftest.er1
30977 grep -v '^ *+' conftest.er1
>conftest.err
30979 cat conftest.err
>&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } &&
30982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; } &&
30988 { ac_try
='test -s conftest$ac_exeext'
30989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30990 (eval $ac_try) 2>&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; }; then
30994 ac_cv_lib_ipc_shmat
=yes
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.
$ac_ext >&5
30999 ac_cv_lib_ipc_shmat
=no
31001 rm -f conftest.err conftest.
$ac_objext \
31002 conftest
$ac_exeext conftest.
$ac_ext
31003 LIBS
=$ac_check_lib_save_LIBS
31005 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31006 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31007 if test $ac_cv_lib_ipc_shmat = yes; then
31008 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31014 # Check for libraries that X11R6 Xt/Xaw programs need.
31015 ac_save_LDFLAGS
=$LDFLAGS
31016 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31017 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31018 # check for ICE first), but we must link in the order -lSM -lICE or
31019 # we get undefined symbols. So assume we have SM if we have ICE.
31020 # These have to be linked with before -lX11, unlike the other
31021 # libraries we check for below, so use a different variable.
31022 # John Interrante, Karl Berry
31023 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31024 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31025 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31026 echo $ECHO_N "(cached) $ECHO_C" >&6
31028 ac_check_lib_save_LIBS
=$LIBS
31029 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31030 cat >conftest.
$ac_ext <<_ACEOF
31033 cat confdefs.h
>>conftest.
$ac_ext
31034 cat >>conftest.
$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31037 /* Override any gcc2 internal prototype to avoid an error. */
31041 /* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31043 char IceConnectionNumber ();
31047 IceConnectionNumber ();
31052 rm -f conftest.
$ac_objext conftest
$ac_exeext
31053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31054 (eval $ac_link) 2>conftest.er1
31056 grep -v '^ *+' conftest.er1
>conftest.err
31058 cat conftest.err
>&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } &&
31061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; } &&
31067 { ac_try
='test -s conftest$ac_exeext'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; }; then
31073 ac_cv_lib_ICE_IceConnectionNumber
=yes
31075 echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.
$ac_ext >&5
31078 ac_cv_lib_ICE_IceConnectionNumber
=no
31080 rm -f conftest.err conftest.
$ac_objext \
31081 conftest
$ac_exeext conftest.
$ac_ext
31082 LIBS
=$ac_check_lib_save_LIBS
31084 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31085 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31086 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31087 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31090 LDFLAGS
=$ac_save_LDFLAGS
31095 if test "$no_x" = "yes"; then
31096 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31097 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31098 { (exit 1); exit 1; }; }
31101 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31102 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31103 AFMINSTALL
=afminstall
31104 COMPILED_X_PROGRAM
=0
31108 if test "$wxUSE_X11" = 1; then
31109 if test "$wxUSE_NANOX" = "yes"; then
31110 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31111 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31112 if test "x$MICROWIN" = x
; then
31113 echo "$as_me:$LINENO: result: not found" >&5
31114 echo "${ECHO_T}not found" >&6
31115 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31116 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31117 { (exit 1); exit 1; }; }
31119 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31120 echo "${ECHO_T}$MICROWIN" >&6
31121 cat >>confdefs.h
<<\_ACEOF
31122 #define wxUSE_NANOX 1
31128 if test "$wxUSE_UNICODE" = "yes"; then
31131 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31132 if test -n "$ac_tool_prefix"; then
31133 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31134 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31135 echo "$as_me:$LINENO: checking for $ac_word" >&5
31136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31137 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31138 echo $ECHO_N "(cached) $ECHO_C" >&6
31140 case $PKG_CONFIG in
31142 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31146 for as_dir
in $PATH
31149 test -z "$as_dir" && as_dir
=.
31150 for ac_exec_ext
in '' $ac_executable_extensions; do
31151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31152 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31162 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31164 if test -n "$PKG_CONFIG"; then
31165 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31166 echo "${ECHO_T}$PKG_CONFIG" >&6
31168 echo "$as_me:$LINENO: result: no" >&5
31169 echo "${ECHO_T}no" >&6
31173 if test -z "$ac_cv_path_PKG_CONFIG"; then
31174 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31175 # Extract the first word of "pkg-config", so it can be a program name with args.
31176 set dummy pkg
-config; ac_word
=$2
31177 echo "$as_me:$LINENO: checking for $ac_word" >&5
31178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31179 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31180 echo $ECHO_N "(cached) $ECHO_C" >&6
31182 case $ac_pt_PKG_CONFIG in
31184 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31188 for as_dir
in $PATH
31191 test -z "$as_dir" && as_dir
=.
31192 for ac_exec_ext
in '' $ac_executable_extensions; do
31193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31194 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31204 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31206 if test -n "$ac_pt_PKG_CONFIG"; then
31207 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31208 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31210 echo "$as_me:$LINENO: result: no" >&5
31211 echo "${ECHO_T}no" >&6
31214 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31216 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31220 if test -n "$PKG_CONFIG"; then
31221 _pkg_min_version
=0.9.0
31222 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31223 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31224 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31225 echo "$as_me:$LINENO: result: yes" >&5
31226 echo "${ECHO_T}yes" >&6
31228 echo "$as_me:$LINENO: result: no" >&5
31229 echo "${ECHO_T}no" >&6
31237 echo "$as_me:$LINENO: checking for PANGOX" >&5
31238 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31240 if test -n "$PKG_CONFIG"; then
31241 if test -n "$PANGOX_CFLAGS"; then
31242 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31244 if test -n "$PKG_CONFIG" && \
31245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31246 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; then
31250 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31258 if test -n "$PKG_CONFIG"; then
31259 if test -n "$PANGOX_LIBS"; then
31260 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31262 if test -n "$PKG_CONFIG" && \
31263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31264 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; then
31268 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31279 if test $pkg_failed = yes; then
31281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31282 _pkg_short_errors_supported
=yes
31284 _pkg_short_errors_supported
=no
31286 if test $_pkg_short_errors_supported = yes; then
31287 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31289 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31291 # Put the nasty error message in config.log where it belongs
31292 echo "$PANGOX_PKG_ERRORS" >&5
31295 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31296 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31297 { (exit 1); exit 1; }; }
31300 elif test $pkg_failed = untried
; then
31302 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31303 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31304 { (exit 1); exit 1; }; }
31308 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31309 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31310 echo "$as_me:$LINENO: result: yes" >&5
31311 echo "${ECHO_T}yes" >&6
31313 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31314 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31319 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31320 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31322 if test -n "$PKG_CONFIG"; then
31323 if test -n "$PANGOFT2_CFLAGS"; then
31324 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31326 if test -n "$PKG_CONFIG" && \
31327 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31328 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); }; then
31332 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31340 if test -n "$PKG_CONFIG"; then
31341 if test -n "$PANGOFT2_LIBS"; then
31342 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31344 if test -n "$PKG_CONFIG" && \
31345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31346 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; then
31350 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31361 if test $pkg_failed = yes; then
31363 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31364 _pkg_short_errors_supported
=yes
31366 _pkg_short_errors_supported
=no
31368 if test $_pkg_short_errors_supported = yes; then
31369 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31371 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31373 # Put the nasty error message in config.log where it belongs
31374 echo "$PANGOFT2_PKG_ERRORS" >&5
31377 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31378 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31379 wxUSE_PRINTING_ARCHITECTURE
="no"
31382 elif test $pkg_failed = untried
; then
31384 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31385 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31386 wxUSE_PRINTING_ARCHITECTURE
="no"
31390 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31391 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31392 echo "$as_me:$LINENO: result: yes" >&5
31393 echo "${ECHO_T}yes" >&6
31395 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31396 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31401 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31402 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31404 if test -n "$PKG_CONFIG"; then
31405 if test -n "$PANGOXFT_CFLAGS"; then
31406 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31408 if test -n "$PKG_CONFIG" && \
31409 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31410 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; then
31414 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31422 if test -n "$PKG_CONFIG"; then
31423 if test -n "$PANGOXFT_LIBS"; then
31424 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31426 if test -n "$PKG_CONFIG" && \
31427 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31428 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); }; then
31432 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31443 if test $pkg_failed = yes; then
31445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31446 _pkg_short_errors_supported
=yes
31448 _pkg_short_errors_supported
=no
31450 if test $_pkg_short_errors_supported = yes; then
31451 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31453 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31455 # Put the nasty error message in config.log where it belongs
31456 echo "$PANGOXFT_PKG_ERRORS" >&5
31459 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31460 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31463 elif test $pkg_failed = untried
; then
31465 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31466 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31470 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31471 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31472 echo "$as_me:$LINENO: result: yes" >&5
31473 echo "${ECHO_T}yes" >&6
31475 cat >>confdefs.h
<<\_ACEOF
31476 #define HAVE_PANGO_XFT 1
31479 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31480 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31483 save_CXXFLAGS
="$CXXFLAGS"
31485 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31486 LIBS
="$LIBS $PANGOX_LIBS"
31488 for ac_func
in pango_font_family_is_monospace
31490 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31491 echo "$as_me:$LINENO: checking for $ac_func" >&5
31492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31493 if eval "test \"\${$as_ac_var+set}\" = set"; then
31494 echo $ECHO_N "(cached) $ECHO_C" >&6
31496 cat >conftest.
$ac_ext <<_ACEOF
31499 cat confdefs.h
>>conftest.
$ac_ext
31500 cat >>conftest.
$ac_ext <<_ACEOF
31501 /* end confdefs.h. */
31502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31504 #define $ac_func innocuous_$ac_func
31506 /* System header to define __stub macros and hopefully few prototypes,
31507 which can conflict with char $ac_func (); below.
31508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31509 <limits.h> exists even on freestanding compilers. */
31512 # include <limits.h>
31514 # include <assert.h>
31519 /* Override any gcc2 internal prototype to avoid an error. */
31524 /* We use char because int might match the return type of a gcc2
31525 builtin and then its argument prototype would still apply. */
31527 /* The GNU C library defines this for functions which it implements
31528 to always fail with ENOSYS. Some functions are actually named
31529 something starting with __ and the normal name is an alias. */
31530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31533 char (*f) () = $ac_func;
31542 return f != $ac_func;
31547 rm -f conftest.
$ac_objext conftest
$ac_exeext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31549 (eval $ac_link) 2>conftest.er1
31551 grep -v '^ *+' conftest.er1
>conftest.err
31553 cat conftest.err
>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try
='test -s conftest$ac_exeext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 eval "$as_ac_var=yes"
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.
$ac_ext >&5
31573 eval "$as_ac_var=no"
31575 rm -f conftest.err conftest.
$ac_objext \
31576 conftest
$ac_exeext conftest.
$ac_ext
31578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31580 if test `eval echo '${'$as_ac_var'}'` = yes; then
31581 cat >>confdefs.h
<<_ACEOF
31582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31588 CXXFLAGS
="$save_CXXFLAGS"
31592 wxUSE_UNIVERSAL
="yes"
31594 if test "$wxUSE_NANOX" = "yes"; then
31595 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31596 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"
31597 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31599 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31606 if test "$wxUSE_MOTIF" = 1; then
31607 if test "$wxUSE_UNICODE" = "yes"; then
31608 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31609 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31610 { (exit 1); exit 1; }; }
31613 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31614 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31617 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31619 if test -f "$ac_dir/Xm/Xm.h"; then
31620 ac_find_includes
=$ac_dir
31625 if test "$ac_find_includes" != "" ; then
31626 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31627 echo "${ECHO_T}found in $ac_find_includes" >&6
31629 if test "x$ac_find_includes" = "x/usr/include"; then
31630 ac_path_to_include
=""
31632 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31634 if test $result = 0; then
31635 ac_path_to_include
=""
31637 ac_path_to_include
=" -I$ac_find_includes"
31641 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31643 save_CXXFLAGS
=$CXXFLAGS
31644 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31646 cat >conftest.
$ac_ext <<_ACEOF
31649 cat confdefs.h
>>conftest.
$ac_ext
31650 cat >>conftest.
$ac_ext <<_ACEOF
31651 /* end confdefs.h. */
31660 version = xmUseVersion;
31666 rm -f conftest.
$ac_objext
31667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31668 (eval $ac_compile) 2>conftest.er1
31670 grep -v '^ *+' conftest.er1
>conftest.err
31672 cat conftest.err
>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); } &&
31675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; } &&
31681 { ac_try
='test -s conftest.$ac_objext'
31682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683 (eval $ac_try) 2>&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); }; }; then
31688 echo "$as_me:$LINENO: result: found in default search path" >&5
31689 echo "${ECHO_T}found in default search path" >&6
31690 COMPILED_X_PROGRAM
=1
31693 echo "$as_me: failed program was:" >&5
31694 sed 's/^/| /' conftest.
$ac_ext >&5
31697 echo "$as_me:$LINENO: result: no" >&5
31698 echo "${ECHO_T}no" >&6
31699 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31700 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31701 { (exit 1); exit 1; }; }
31705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31707 CXXFLAGS
=$save_CXXFLAGS
31711 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31712 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31715 for ac_dir
in $SEARCH_LIB;
31717 for ac_extension
in a so sl dylib dll.a
; do
31718 if test -f "$ac_dir/libXm.$ac_extension"; then
31719 ac_find_libraries
=$ac_dir
31726 if test "x$ac_find_libraries" != "x" ; then
31727 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31728 echo "${ECHO_T}found in $ac_find_libraries" >&6
31731 if test "$ac_find_libraries" = "default location"; then
31734 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31736 if test $result = 0; then
31739 ac_path_to_link
=" -L$ac_find_libraries"
31743 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31745 save_CXXFLAGS
=$CXXFLAGS
31746 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31748 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31750 cat >conftest.
$ac_ext <<_ACEOF
31753 cat confdefs.h
>>conftest.
$ac_ext
31754 cat >>conftest.
$ac_ext <<_ACEOF
31755 /* end confdefs.h. */
31764 version = xmUseVersion;
31770 rm -f conftest.
$ac_objext conftest
$ac_exeext
31771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31772 (eval $ac_link) 2>conftest.er1
31774 grep -v '^ *+' conftest.er1
>conftest.err
31776 cat conftest.err
>&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; } &&
31785 { ac_try
='test -s conftest$ac_exeext'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; }; then
31792 echo "$as_me:$LINENO: result: found in default search path" >&5
31793 echo "${ECHO_T}found in default search path" >&6
31794 COMPILED_X_PROGRAM
=1
31797 echo "$as_me: failed program was:" >&5
31798 sed 's/^/| /' conftest.
$ac_ext >&5
31801 echo "$as_me:$LINENO: result: no" >&5
31802 echo "${ECHO_T}no" >&6
31803 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31804 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31805 { (exit 1); exit 1; }; }
31809 rm -f conftest.err conftest.
$ac_objext \
31810 conftest
$ac_exeext conftest.
$ac_ext
31812 CXXFLAGS
=$save_CXXFLAGS
31816 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31817 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31821 for libp
in "" " -lXp"; do
31822 if test "$libs_found" = "0"; then
31823 for libsm_ice
in "" " -lSM -lICE"; do
31824 if test "$libs_found" = "0"; then
31826 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31827 save_CXXFLAGS
=$CXXFLAGS
31828 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31830 cat >conftest.
$ac_ext <<_ACEOF
31833 cat confdefs.h
>>conftest.
$ac_ext
31834 cat >>conftest.
$ac_ext <<_ACEOF
31835 /* end confdefs.h. */
31838 #include <Xm/List.h>
31844 XmString string = NULL;
31847 XmListAddItem(w, string, position);
31853 rm -f conftest.
$ac_objext conftest
$ac_exeext
31854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31855 (eval $ac_link) 2>conftest.er1
31857 grep -v '^ *+' conftest.er1
>conftest.err
31859 cat conftest.err
>&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); } &&
31862 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31864 (eval $ac_try) 2>&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); }; } &&
31868 { ac_try
='test -s conftest$ac_exeext'
31869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870 (eval $ac_try) 2>&5
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); }; }; then
31876 libsm_ice_link
="$libsm_ice"
31877 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31878 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.
$ac_ext >&5
31888 rm -f conftest.err conftest.
$ac_objext \
31889 conftest
$ac_exeext conftest.
$ac_ext
31892 CXXFLAGS
=$save_CXXFLAGS
31898 if test "$libs_found" = "0"; then
31899 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31900 echo "${ECHO_T}can't find the right libraries" >&6
31901 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31902 echo "$as_me: error: can't link a simple motif program" >&2;}
31903 { (exit 1); exit 1; }; }
31906 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31907 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31908 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31909 echo $ECHO_N "(cached) $ECHO_C" >&6
31911 ac_check_lib_save_LIBS
=$LIBS
31913 cat >conftest.
$ac_ext <<_ACEOF
31916 cat confdefs.h
>>conftest.
$ac_ext
31917 cat >>conftest.
$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31920 /* Override any gcc2 internal prototype to avoid an error. */
31924 /* We use char because int might match the return type of a gcc2
31925 builtin and then its argument prototype would still apply. */
31926 char SgCreateList ();
31935 rm -f conftest.
$ac_objext conftest
$ac_exeext
31936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31937 (eval $ac_link) 2>conftest.er1
31939 grep -v '^ *+' conftest.er1
>conftest.err
31941 cat conftest.err
>&5
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); } &&
31944 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31946 (eval $ac_try) 2>&5
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); }; } &&
31950 { ac_try
='test -s conftest$ac_exeext'
31951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952 (eval $ac_try) 2>&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); }; }; then
31956 ac_cv_lib_Sgm_SgCreateList
=yes
31958 echo "$as_me: failed program was:" >&5
31959 sed 's/^/| /' conftest.
$ac_ext >&5
31961 ac_cv_lib_Sgm_SgCreateList
=no
31963 rm -f conftest.err conftest.
$ac_objext \
31964 conftest
$ac_exeext conftest.
$ac_ext
31965 LIBS
=$ac_check_lib_save_LIBS
31967 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31968 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31969 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31970 libsgm_link
=" -lSgm"
31974 save_CXXFLAGS
=$CXXFLAGS
31975 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31977 echo "$as_me:$LINENO: checking for Motif 2" >&5
31978 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31979 if test "${wx_cv_lib_motif2+set}" = set; then
31980 echo $ECHO_N "(cached) $ECHO_C" >&6
31982 cat >conftest.
$ac_ext <<_ACEOF
31985 cat confdefs.h
>>conftest.
$ac_ext
31986 cat >>conftest.
$ac_ext <<_ACEOF
31987 /* end confdefs.h. */
31995 #if XmVersion < 2000
32003 rm -f conftest.
$ac_objext
32004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32005 (eval $ac_compile) 2>conftest.er1
32007 grep -v '^ *+' conftest.er1
>conftest.err
32009 cat conftest.err
>&5
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); } &&
32012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32014 (eval $ac_try) 2>&5
32016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017 (exit $ac_status); }; } &&
32018 { ac_try
='test -s conftest.$ac_objext'
32019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32020 (eval $ac_try) 2>&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; }; then
32024 wx_cv_lib_motif2
="yes"
32026 echo "$as_me: failed program was:" >&5
32027 sed 's/^/| /' conftest.
$ac_ext >&5
32029 wx_cv_lib_motif2
="no"
32031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32033 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32034 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32035 if test "$wx_cv_lib_motif2" = "yes"; then
32036 cat >>confdefs.h
<<\_ACEOF
32037 #define __WXMOTIF20__ 1
32041 cat >>confdefs.h
<<\_ACEOF
32042 #define __WXMOTIF20__ 0
32047 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32048 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32049 if test "${wx_cv_lib_lesstif+set}" = set; then
32050 echo $ECHO_N "(cached) $ECHO_C" >&6
32052 cat >conftest.
$ac_ext <<_ACEOF
32055 cat confdefs.h
>>conftest.
$ac_ext
32056 cat >>conftest.
$ac_ext <<_ACEOF
32057 /* end confdefs.h. */
32065 #if !defined(LesstifVersion) || LesstifVersion <= 0
32073 rm -f conftest.
$ac_objext
32074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32075 (eval $ac_compile) 2>conftest.er1
32077 grep -v '^ *+' conftest.er1
>conftest.err
32079 cat conftest.err
>&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } &&
32082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084 (eval $ac_try) 2>&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); }; } &&
32088 { ac_try
='test -s conftest.$ac_objext'
32089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090 (eval $ac_try) 2>&5
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); }; }; then
32094 wx_cv_lib_lesstif
="yes"
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.
$ac_ext >&5
32099 wx_cv_lib_lesstif
="no"
32101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32104 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32105 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32106 if test "$wx_cv_lib_lesstif" = "yes"; then
32107 cat >>confdefs.h
<<\_ACEOF
32108 #define __WXLESSTIF__ 1
32112 cat >>confdefs.h
<<\_ACEOF
32113 #define __WXLESSTIF__ 0
32118 CXXFLAGS
=$save_CXXFLAGS
32120 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32125 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32126 if test "$wxUSE_LIBXPM" = "sys"; then
32127 echo "$as_me:$LINENO: checking for Xpm library" >&5
32128 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32131 for ac_dir
in $SEARCH_LIB;
32133 for ac_extension
in a so sl dylib dll.a
; do
32134 if test -f "$ac_dir/libXpm.$ac_extension"; then
32135 ac_find_libraries
=$ac_dir
32141 if test "$ac_find_libraries" != "" ; then
32143 if test "$ac_find_libraries" = "default location"; then
32146 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32148 if test $result = 0; then
32151 ac_path_to_link
=" -L$ac_find_libraries"
32155 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32156 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32157 echo "${ECHO_T}found in $ac_find_libraries" >&6
32159 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32160 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32161 if test "${wx_cv_x11_xpm_h+set}" = set; then
32162 echo $ECHO_N "(cached) $ECHO_C" >&6
32165 save_CXXFLAGS
=$CXXFLAGS
32166 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32168 cat >conftest.
$ac_ext <<_ACEOF
32171 cat confdefs.h
>>conftest.
$ac_ext
32172 cat >>conftest.
$ac_ext <<_ACEOF
32173 /* end confdefs.h. */
32175 #include <X11/xpm.h>
32182 version = XpmLibraryVersion();
32188 rm -f conftest.
$ac_objext
32189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32190 (eval $ac_compile) 2>conftest.er1
32192 grep -v '^ *+' conftest.er1
>conftest.err
32194 cat conftest.err
>&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); } &&
32197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32199 (eval $ac_try) 2>&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); }; } &&
32203 { ac_try
='test -s conftest.$ac_objext'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; }; then
32209 wx_cv_x11_xpm_h
=yes
32211 echo "$as_me: failed program was:" >&5
32212 sed 's/^/| /' conftest.
$ac_ext >&5
32217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32219 CXXFLAGS
=$save_CXXFLAGS
32223 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32224 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32226 if test $wx_cv_x11_xpm_h = "yes"; then
32227 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32228 cat >>confdefs.h
<<\_ACEOF
32229 #define wxHAVE_LIB_XPM 1
32233 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32234 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32240 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32241 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32242 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32243 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 ac_check_lib_save_LIBS
=$LIBS
32246 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32247 cat >conftest.
$ac_ext <<_ACEOF
32250 cat confdefs.h
>>conftest.
$ac_ext
32251 cat >>conftest.
$ac_ext <<_ACEOF
32252 /* end confdefs.h. */
32254 /* Override any gcc2 internal prototype to avoid an error. */
32258 /* We use char because int might match the return type of a gcc2
32259 builtin and then its argument prototype would still apply. */
32260 char XShapeQueryExtension ();
32264 XShapeQueryExtension ();
32269 rm -f conftest.
$ac_objext conftest
$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271 (eval $ac_link) 2>conftest.er1
32273 grep -v '^ *+' conftest.er1
>conftest.err
32275 cat conftest.err
>&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } &&
32278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32280 (eval $ac_try) 2>&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); }; } &&
32284 { ac_try
='test -s conftest$ac_exeext'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; }; then
32290 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.
$ac_ext >&5
32295 ac_cv_lib_Xext_XShapeQueryExtension
=no
32297 rm -f conftest.err conftest.
$ac_objext \
32298 conftest
$ac_exeext conftest.
$ac_ext
32299 LIBS
=$ac_check_lib_save_LIBS
32301 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32302 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32303 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32305 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32311 if test "$wxHAVE_XEXT_LIB" = 1; then
32312 save_CXXFLAGS
="$CXXFLAGS"
32313 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32315 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32316 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32317 cat >conftest.
$ac_ext <<_ACEOF
32320 cat confdefs.h
>>conftest.
$ac_ext
32321 cat >>conftest.
$ac_ext <<_ACEOF
32322 /* end confdefs.h. */
32324 #include <X11/Xlib.h>
32325 #include <X11/extensions/shape.h>
32331 int dummy1, dummy2;
32332 XShapeQueryExtension((Display*)NULL,
32333 (int*)NULL, (int*)NULL);
32339 rm -f conftest.
$ac_objext
32340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32341 (eval $ac_compile) 2>conftest.er1
32343 grep -v '^ *+' conftest.er1
>conftest.err
32345 cat conftest.err
>&5
32346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32347 (exit $ac_status); } &&
32348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32350 (eval $ac_try) 2>&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); }; } &&
32354 { ac_try
='test -s conftest.$ac_objext'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; }; then
32361 cat >>confdefs.h
<<\_ACEOF
32362 #define HAVE_XSHAPE 1
32365 echo "$as_me:$LINENO: result: found" >&5
32366 echo "${ECHO_T}found" >&6
32369 echo "$as_me: failed program was:" >&5
32370 sed 's/^/| /' conftest.
$ac_ext >&5
32373 echo "$as_me:$LINENO: result: not found" >&5
32374 echo "${ECHO_T}not found" >&6
32377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32378 CXXFLAGS
="$save_CXXFLAGS"
32383 if test "$wxUSE_MAC" = 1; then
32384 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32385 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32386 if test "$GCC" = yes; then
32387 echo "$as_me:$LINENO: result: gcc" >&5
32388 echo "${ECHO_T}gcc" >&6
32389 CPPFLAGS_PASCAL
="-fpascal-strings"
32390 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32391 echo "$as_me:$LINENO: result: xlc" >&5
32392 echo "${ECHO_T}xlc" >&6
32393 CPPFLAGS_PASCAL
="-qmacpstr"
32395 echo "$as_me:$LINENO: result: none" >&5
32396 echo "${ECHO_T}none" >&6
32399 if test "x$wxUSE_UNIX" = "xyes"; then
32400 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32402 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32407 WXBASEPORT
="_carbon"
32410 if test "$wxUSE_COCOA" = 1; then
32415 if test "$wxUSE_PM" = 1; then
32418 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32419 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32420 if test "${wx_cv_spbcdata+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32424 cat >conftest.
$ac_ext <<_ACEOF
32427 cat confdefs.h
>>conftest.
$ac_ext
32428 cat >>conftest.
$ac_ext <<_ACEOF
32429 /* end confdefs.h. */
32444 rm -f conftest.
$ac_objext
32445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32446 (eval $ac_compile) 2>conftest.er1
32448 grep -v '^ *+' conftest.er1
>conftest.err
32450 cat conftest.err
>&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } &&
32453 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32455 (eval $ac_try) 2>&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); }; } &&
32459 { ac_try
='test -s conftest.$ac_objext'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; }; then
32467 echo "$as_me: failed program was:" >&5
32468 sed 's/^/| /' conftest.
$ac_ext >&5
32473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32477 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32478 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32480 if test $wx_cv_spbcdata = "yes"; then
32481 cat >>confdefs.h
<<\_ACEOF
32482 #define HAVE_SPBCDATA 1
32488 if test "$TOOLKIT" = "PM" ; then
32491 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32494 if test "$wxUSE_UNIVERSAL" = "yes"; then
32495 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32499 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32500 DISTDIR
="wx\$(TOOLKIT)"
32506 if test "$USE_WIN32" = 1 ; then
32510 GUIDIST
="BASE_DIST"
32515 if test "$wxUSE_GUI" = "yes"; then
32516 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32518 for ac_header
in X
11/Xlib.h
32520 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32522 echo "$as_me:$LINENO: checking for $ac_header" >&5
32523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32525 echo $ECHO_N "(cached) $ECHO_C" >&6
32527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32530 # Is the header compilable?
32531 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32532 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32533 cat >conftest.
$ac_ext <<_ACEOF
32536 cat confdefs.h
>>conftest.
$ac_ext
32537 cat >>conftest.
$ac_ext <<_ACEOF
32538 /* end confdefs.h. */
32539 $ac_includes_default
32540 #include <$ac_header>
32542 rm -f conftest.
$ac_objext
32543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32544 (eval $ac_compile) 2>conftest.er1
32546 grep -v '^ *+' conftest.er1
>conftest.err
32548 cat conftest.err
>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); } &&
32551 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32553 (eval $ac_try) 2>&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); }; } &&
32557 { ac_try
='test -s conftest.$ac_objext'
32558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32559 (eval $ac_try) 2>&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); }; }; then
32563 ac_header_compiler
=yes
32565 echo "$as_me: failed program was:" >&5
32566 sed 's/^/| /' conftest.
$ac_ext >&5
32568 ac_header_compiler
=no
32570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32572 echo "${ECHO_T}$ac_header_compiler" >&6
32574 # Is the header present?
32575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32577 cat >conftest.
$ac_ext <<_ACEOF
32580 cat confdefs.h
>>conftest.
$ac_ext
32581 cat >>conftest.
$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32583 #include <$ac_header>
32585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32588 grep -v '^ *+' conftest.er1
>conftest.err
32590 cat conftest.err
>&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); } >/dev
/null
; then
32593 if test -s conftest.err
; then
32594 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32595 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32602 if test -z "$ac_cpp_err"; then
32603 ac_header_preproc
=yes
32605 echo "$as_me: failed program was:" >&5
32606 sed 's/^/| /' conftest.
$ac_ext >&5
32608 ac_header_preproc
=no
32610 rm -f conftest.err conftest.
$ac_ext
32611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32612 echo "${ECHO_T}$ac_header_preproc" >&6
32614 # So? What about this header?
32615 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32621 ac_header_preproc
=yes
32624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32638 ## ----------------------------------------- ##
32639 ## Report this to wx-dev@lists.wxwidgets.org ##
32640 ## ----------------------------------------- ##
32643 sed "s/^/$as_me: WARNING: /" >&2
32646 echo "$as_me:$LINENO: checking for $ac_header" >&5
32647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32649 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 eval "$as_ac_Header=\$ac_header_preproc"
32653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32658 cat >>confdefs.h
<<_ACEOF
32659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32667 for ac_header
in X
11/XKBlib.h
32669 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32670 echo "$as_me:$LINENO: checking for $ac_header" >&5
32671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32673 echo $ECHO_N "(cached) $ECHO_C" >&6
32675 cat >conftest.
$ac_ext <<_ACEOF
32678 cat confdefs.h
>>conftest.
$ac_ext
32679 cat >>conftest.
$ac_ext <<_ACEOF
32680 /* end confdefs.h. */
32682 #if HAVE_X11_XLIB_H
32683 #include <X11/Xlib.h>
32687 #include <$ac_header>
32689 rm -f conftest.
$ac_objext
32690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32691 (eval $ac_compile) 2>conftest.er1
32693 grep -v '^ *+' conftest.er1
>conftest.err
32695 cat conftest.err
>&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); } &&
32698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32700 (eval $ac_try) 2>&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); }; } &&
32704 { ac_try
='test -s conftest.$ac_objext'
32705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32706 (eval $ac_try) 2>&5
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; }; then
32710 eval "$as_ac_Header=yes"
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.
$ac_ext >&5
32715 eval "$as_ac_Header=no"
32717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32722 cat >>confdefs.h
<<_ACEOF
32723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32738 if test "$TOOLKIT" != "MSW" ; then
32740 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32742 if test "${ac_cv_header_sql_h+set}" = set; then
32743 echo "$as_me:$LINENO: checking for sql.h" >&5
32744 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32745 if test "${ac_cv_header_sql_h+set}" = set; then
32746 echo $ECHO_N "(cached) $ECHO_C" >&6
32748 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32749 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32751 # Is the header compilable?
32752 echo "$as_me:$LINENO: checking sql.h usability" >&5
32753 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32754 cat >conftest.
$ac_ext <<_ACEOF
32757 cat confdefs.h
>>conftest.
$ac_ext
32758 cat >>conftest.
$ac_ext <<_ACEOF
32759 /* end confdefs.h. */
32760 $ac_includes_default
32763 rm -f conftest.
$ac_objext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32765 (eval $ac_compile) 2>conftest.er1
32767 grep -v '^ *+' conftest.er1
>conftest.err
32769 cat conftest.err
>&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; } &&
32778 { ac_try
='test -s conftest.$ac_objext'
32779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32780 (eval $ac_try) 2>&5
32782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32783 (exit $ac_status); }; }; then
32784 ac_header_compiler
=yes
32786 echo "$as_me: failed program was:" >&5
32787 sed 's/^/| /' conftest.
$ac_ext >&5
32789 ac_header_compiler
=no
32791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32792 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32793 echo "${ECHO_T}$ac_header_compiler" >&6
32795 # Is the header present?
32796 echo "$as_me:$LINENO: checking sql.h presence" >&5
32797 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32798 cat >conftest.
$ac_ext <<_ACEOF
32801 cat confdefs.h
>>conftest.
$ac_ext
32802 cat >>conftest.
$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32807 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32809 grep -v '^ *+' conftest.er1
>conftest.err
32811 cat conftest.err
>&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); } >/dev
/null
; then
32814 if test -s conftest.err
; then
32815 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32816 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32823 if test -z "$ac_cpp_err"; then
32824 ac_header_preproc
=yes
32826 echo "$as_me: failed program was:" >&5
32827 sed 's/^/| /' conftest.
$ac_ext >&5
32829 ac_header_preproc
=no
32831 rm -f conftest.err conftest.
$ac_ext
32832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32833 echo "${ECHO_T}$ac_header_preproc" >&6
32835 # So? What about this header?
32836 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32838 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32839 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32840 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32841 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32842 ac_header_preproc
=yes
32845 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32846 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32847 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32848 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32849 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32850 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32851 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32852 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32853 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32854 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32855 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32856 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32859 ## ----------------------------------------- ##
32860 ## Report this to wx-dev@lists.wxwidgets.org ##
32861 ## ----------------------------------------- ##
32864 sed "s/^/$as_me: WARNING: /" >&2
32867 echo "$as_me:$LINENO: checking for sql.h" >&5
32868 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32869 if test "${ac_cv_header_sql_h+set}" = set; then
32870 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 ac_cv_header_sql_h
=$ac_header_preproc
32874 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32875 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32878 if test $ac_cv_header_sql_h = yes; then
32883 if test "x$found_sql_h" = "x1" ; then
32884 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32885 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32886 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32887 echo $ECHO_N "(cached) $ECHO_C" >&6
32889 ac_check_lib_save_LIBS
=$LIBS
32890 LIBS
="-liodbc $LIBS"
32891 cat >conftest.
$ac_ext <<_ACEOF
32894 cat confdefs.h
>>conftest.
$ac_ext
32895 cat >>conftest.
$ac_ext <<_ACEOF
32896 /* end confdefs.h. */
32898 /* Override any gcc2 internal prototype to avoid an error. */
32902 /* We use char because int might match the return type of a gcc2
32903 builtin and then its argument prototype would still apply. */
32904 char SQLAllocEnv ();
32913 rm -f conftest.
$ac_objext conftest
$ac_exeext
32914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32915 (eval $ac_link) 2>conftest.er1
32917 grep -v '^ *+' conftest.er1
>conftest.err
32919 cat conftest.err
>&5
32920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 (exit $ac_status); } &&
32922 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32924 (eval $ac_try) 2>&5
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); }; } &&
32928 { ac_try
='test -s conftest$ac_exeext'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; }; then
32934 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32936 echo "$as_me: failed program was:" >&5
32937 sed 's/^/| /' conftest.
$ac_ext >&5
32939 ac_cv_lib_iodbc_SQLAllocEnv
=no
32941 rm -f conftest.err conftest.
$ac_objext \
32942 conftest
$ac_exeext conftest.
$ac_ext
32943 LIBS
=$ac_check_lib_save_LIBS
32945 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32946 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32947 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32948 ODBC_LINK
=" -liodbc"
32951 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32952 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32953 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32954 echo $ECHO_N "(cached) $ECHO_C" >&6
32956 ac_check_lib_save_LIBS
=$LIBS
32957 LIBS
="-lunixodbc $LIBS"
32958 cat >conftest.
$ac_ext <<_ACEOF
32961 cat confdefs.h
>>conftest.
$ac_ext
32962 cat >>conftest.
$ac_ext <<_ACEOF
32963 /* end confdefs.h. */
32965 /* Override any gcc2 internal prototype to avoid an error. */
32969 /* We use char because int might match the return type of a gcc2
32970 builtin and then its argument prototype would still apply. */
32971 char SQLAllocEnv ();
32980 rm -f conftest.
$ac_objext conftest
$ac_exeext
32981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32982 (eval $ac_link) 2>conftest.er1
32984 grep -v '^ *+' conftest.er1
>conftest.err
32986 cat conftest.err
>&5
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); } &&
32989 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991 (eval $ac_try) 2>&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); }; } &&
32995 { ac_try
='test -s conftest$ac_exeext'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; }; then
33001 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
33003 echo "$as_me: failed program was:" >&5
33004 sed 's/^/| /' conftest.
$ac_ext >&5
33006 ac_cv_lib_unixodbc_SQLAllocEnv
=no
33008 rm -f conftest.err conftest.
$ac_objext \
33009 conftest
$ac_exeext conftest.
$ac_ext
33010 LIBS
=$ac_check_lib_save_LIBS
33012 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33013 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33014 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33015 ODBC_LINK
=" -lunixodbc"
33018 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33019 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33020 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33021 echo $ECHO_N "(cached) $ECHO_C" >&6
33023 ac_check_lib_save_LIBS
=$LIBS
33024 LIBS
="-lodbc $LIBS"
33025 cat >conftest.
$ac_ext <<_ACEOF
33028 cat confdefs.h
>>conftest.
$ac_ext
33029 cat >>conftest.
$ac_ext <<_ACEOF
33030 /* end confdefs.h. */
33032 /* Override any gcc2 internal prototype to avoid an error. */
33036 /* We use char because int might match the return type of a gcc2
33037 builtin and then its argument prototype would still apply. */
33038 char SQLAllocEnv ();
33047 rm -f conftest.
$ac_objext conftest
$ac_exeext
33048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33049 (eval $ac_link) 2>conftest.er1
33051 grep -v '^ *+' conftest.er1
>conftest.err
33053 cat conftest.err
>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } &&
33056 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; } &&
33062 { ac_try
='test -s conftest$ac_exeext'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; }; then
33068 ac_cv_lib_odbc_SQLAllocEnv
=yes
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.
$ac_ext >&5
33073 ac_cv_lib_odbc_SQLAllocEnv
=no
33075 rm -f conftest.err conftest.
$ac_objext \
33076 conftest
$ac_exeext conftest.
$ac_ext
33077 LIBS
=$ac_check_lib_save_LIBS
33079 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33080 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33081 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33082 ODBC_LINK
=" -lodbc"
33092 if test "x$ODBC_LINK" = "x" ; then
33093 if test "$wxUSE_ODBC" = "sys" ; then
33094 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33095 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33096 { (exit 1); exit 1; }; }
33098 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33099 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33107 if test "$wxUSE_ODBC" = "builtin" ; then
33108 cat >>confdefs.h
<<\_ACEOF
33109 #define wxUSE_BUILTIN_IODBC 1
33115 if test "$wxUSE_ODBC" != "no" ; then
33116 cat >>confdefs.h
<<\_ACEOF
33117 #define wxUSE_ODBC 1
33120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33122 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
33126 if test "$wxUSE_DISPLAY" = "yes"; then
33127 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33128 echo "$as_me:$LINENO: checking for Xinerama" >&5
33129 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33132 for ac_dir
in $SEARCH_LIB;
33134 for ac_extension
in a so sl dylib dll.a
; do
33135 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33136 ac_find_libraries
=$ac_dir
33142 if test "$ac_find_libraries" != "" ; then
33144 if test "$ac_find_libraries" = "default location"; then
33147 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33149 if test $result = 0; then
33152 ac_path_to_link
=" -L$ac_find_libraries"
33156 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33157 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33159 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33160 echo "$as_me:$LINENO: result: yes" >&5
33161 echo "${ECHO_T}yes" >&6
33163 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33164 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33167 for ac_dir
in $SEARCH_LIB;
33169 for ac_extension
in a so sl dylib dll.a
; do
33170 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33171 ac_find_libraries
=$ac_dir
33177 if test "$ac_find_libraries" != "" ; then
33178 echo "$as_me:$LINENO: result: yes" >&5
33179 echo "${ECHO_T}yes" >&6
33181 for ac_header
in X
11/extensions
/xf86vmode.h
33183 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33184 echo "$as_me:$LINENO: checking for $ac_header" >&5
33185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 cat >conftest.
$ac_ext <<_ACEOF
33192 cat confdefs.h
>>conftest.
$ac_ext
33193 cat >>conftest.
$ac_ext <<_ACEOF
33194 /* end confdefs.h. */
33196 #if HAVE_X11_XLIB_H
33197 #include <X11/Xlib.h>
33201 #include <$ac_header>
33203 rm -f conftest.
$ac_objext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33205 (eval $ac_compile) 2>conftest.er1
33207 grep -v '^ *+' conftest.er1
>conftest.err
33209 cat conftest.err
>&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try
='test -s conftest.$ac_objext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 eval "$as_ac_Header=yes"
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.
$ac_ext >&5
33229 eval "$as_ac_Header=no"
33231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33236 cat >>confdefs.h
<<_ACEOF
33237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33240 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33247 echo "$as_me:$LINENO: result: no" >&5
33248 echo "${ECHO_T}no" >&6
33252 echo "$as_me:$LINENO: result: no" >&5
33253 echo "${ECHO_T}no" >&6
33254 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33255 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33258 elif test "$wxUSE_MSW" = 1; then
33260 for ac_header
in ddraw.h
33262 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33263 echo "$as_me:$LINENO: checking for $ac_header" >&5
33264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33266 echo $ECHO_N "(cached) $ECHO_C" >&6
33268 cat >conftest.
$ac_ext <<_ACEOF
33271 cat confdefs.h
>>conftest.
$ac_ext
33272 cat >>conftest.
$ac_ext <<_ACEOF
33273 /* end confdefs.h. */
33274 #include <windows.h>
33276 #include <$ac_header>
33278 rm -f conftest.
$ac_objext
33279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33280 (eval $ac_compile) 2>conftest.er1
33282 grep -v '^ *+' conftest.er1
>conftest.err
33284 cat conftest.err
>&5
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); } &&
33287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; } &&
33293 { ac_try
='test -s conftest.$ac_objext'
33294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33295 (eval $ac_try) 2>&5
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); }; }; then
33299 eval "$as_ac_Header=yes"
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.
$ac_ext >&5
33304 eval "$as_ac_Header=no"
33306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33311 cat >>confdefs.h
<<_ACEOF
33312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33322 if test "$wxUSE_DETECT_SM" = "yes"; then
33323 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33324 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33325 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33328 for ac_dir
in $SEARCH_LIB;
33330 for ac_extension
in a so sl dylib dll.a
; do
33331 if test -f "$ac_dir/libSM.$ac_extension"; then
33332 ac_find_libraries
=$ac_dir
33338 if test "$ac_find_libraries" != "" ; then
33340 if test "$ac_find_libraries" = "default location"; then
33343 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33345 if test $result = 0; then
33348 ac_path_to_link
=" -L$ac_find_libraries"
33352 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33353 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33355 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33356 echo "$as_me:$LINENO: result: yes" >&5
33357 echo "${ECHO_T}yes" >&6
33359 echo "$as_me:$LINENO: result: no" >&5
33360 echo "${ECHO_T}no" >&6
33361 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33362 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33363 wxUSE_DETECT_SM
="no"
33366 wxUSE_DETECT_SM
="no"
33373 if test "$wxUSE_OPENGL" = "yes"; then
33374 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33375 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33376 elif test "$wxUSE_MSW" = 1; then
33377 OPENGL_LIBS
="-lopengl32 -lglu32"
33382 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33384 if test -f "$ac_dir/GL/gl.h"; then
33385 ac_find_includes
=$ac_dir
33390 if test "$ac_find_includes" != "" ; then
33391 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33392 echo "${ECHO_T}found in $ac_find_includes" >&6
33394 if test "x$ac_find_includes" = "x/usr/include"; then
33395 ac_path_to_include
=""
33397 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33399 if test $result = 0; then
33400 ac_path_to_include
=""
33402 ac_path_to_include
=" -I$ac_find_includes"
33406 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33409 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33410 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33411 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33412 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33413 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33416 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33418 # Is the header compilable?
33419 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33420 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33421 cat >conftest.
$ac_ext <<_ACEOF
33424 cat confdefs.h
>>conftest.
$ac_ext
33425 cat >>conftest.
$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33427 $ac_includes_default
33430 rm -f conftest.
$ac_objext
33431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33432 (eval $ac_compile) 2>conftest.er1
33434 grep -v '^ *+' conftest.er1
>conftest.err
33436 cat conftest.err
>&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } &&
33439 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; } &&
33445 { ac_try
='test -s conftest.$ac_objext'
33446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33447 (eval $ac_try) 2>&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; }; then
33451 ac_header_compiler
=yes
33453 echo "$as_me: failed program was:" >&5
33454 sed 's/^/| /' conftest.
$ac_ext >&5
33456 ac_header_compiler
=no
33458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33460 echo "${ECHO_T}$ac_header_compiler" >&6
33462 # Is the header present?
33463 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33464 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33465 cat >conftest.
$ac_ext <<_ACEOF
33468 cat confdefs.h
>>conftest.
$ac_ext
33469 cat >>conftest.
$ac_ext <<_ACEOF
33470 /* end confdefs.h. */
33473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33476 grep -v '^ *+' conftest.er1
>conftest.err
33478 cat conftest.err
>&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); } >/dev
/null
; then
33481 if test -s conftest.err
; then
33482 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33483 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33490 if test -z "$ac_cpp_err"; then
33491 ac_header_preproc
=yes
33493 echo "$as_me: failed program was:" >&5
33494 sed 's/^/| /' conftest.
$ac_ext >&5
33496 ac_header_preproc
=no
33498 rm -f conftest.err conftest.
$ac_ext
33499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33500 echo "${ECHO_T}$ac_header_preproc" >&6
33502 # So? What about this header?
33503 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33505 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33506 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33507 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33508 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33509 ac_header_preproc
=yes
33512 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33513 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33514 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33515 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33516 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33517 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33518 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33519 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33520 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33521 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33522 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33523 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33526 ## ----------------------------------------- ##
33527 ## Report this to wx-dev@lists.wxwidgets.org ##
33528 ## ----------------------------------------- ##
33531 sed "s/^/$as_me: WARNING: /" >&2
33534 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33535 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33536 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33537 echo $ECHO_N "(cached) $ECHO_C" >&6
33539 ac_cv_header_GL_gl_h
=$ac_header_preproc
33541 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33542 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33545 if test $ac_cv_header_GL_gl_h = yes; then
33549 echo "$as_me:$LINENO: checking for -lGL" >&5
33550 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33553 for ac_dir
in $SEARCH_LIB;
33555 for ac_extension
in a so sl dylib dll.a
; do
33556 if test -f "$ac_dir/libGL.$ac_extension"; then
33557 ac_find_libraries
=$ac_dir
33563 if test "$ac_find_libraries" != "" ; then
33564 echo "$as_me:$LINENO: result: yes" >&5
33565 echo "${ECHO_T}yes" >&6
33568 if test "$ac_find_libraries" = "default location"; then
33571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33573 if test $result = 0; then
33576 ac_path_to_link
=" -L$ac_find_libraries"
33580 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33581 LDFLAGS_GL
="$ac_path_to_link"
33584 echo "$as_me:$LINENO: checking for -lGLU" >&5
33585 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33588 for ac_dir
in $SEARCH_LIB;
33590 for ac_extension
in a so sl dylib dll.a
; do
33591 if test -f "$ac_dir/libGLU.$ac_extension"; then
33592 ac_find_libraries
=$ac_dir
33598 if test "$ac_find_libraries" != "" ; then
33600 if test "$ac_find_libraries" = "default location"; then
33603 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33605 if test $result = 0; then
33608 ac_path_to_link
=" -L$ac_find_libraries"
33612 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33613 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33614 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33618 OPENGL_LIBS
="-lGL -lGLU"
33619 echo "$as_me:$LINENO: result: yes" >&5
33620 echo "${ECHO_T}yes" >&6
33622 echo "$as_me:$LINENO: result: no" >&5
33623 echo "${ECHO_T}no" >&6
33626 echo "$as_me:$LINENO: result: no" >&5
33627 echo "${ECHO_T}no" >&6
33630 if test "$found_gl" != 1; then
33631 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33632 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33635 for ac_dir
in $SEARCH_LIB;
33637 for ac_extension
in a so sl dylib dll.a
; do
33638 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33639 ac_find_libraries
=$ac_dir
33645 if test "$ac_find_libraries" != "" ; then
33647 if test "$ac_find_libraries" = "default location"; then
33650 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33652 if test $result = 0; then
33655 ac_path_to_link
=" -L$ac_find_libraries"
33659 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33660 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33661 echo "$as_me:$LINENO: result: yes" >&5
33662 echo "${ECHO_T}yes" >&6
33664 echo "$as_me:$LINENO: result: no" >&5
33665 echo "${ECHO_T}no" >&6
33673 if test "x$OPENGL_LIBS" = "x"; then
33674 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33675 echo "$as_me: error: OpenGL libraries not available" >&2;}
33676 { (exit 1); exit 1; }; }
33680 if test "$wxUSE_OPENGL" = "yes"; then
33682 cat >>confdefs.h
<<\_ACEOF
33683 #define wxUSE_OPENGL 1
33686 cat >>confdefs.h
<<\_ACEOF
33687 #define wxUSE_GLCANVAS 1
33690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33695 if test -n "$TOOLKIT" ; then
33696 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33701 if test "$wxUSE_SHARED" = "yes"; then
33705 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33706 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33711 if test "$wxUSE_SHARED" = "yes"; then
33714 found_versioning
=no
33717 if test $found_versioning = no
; then
33718 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33719 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33720 if test "${wx_cv_version_script+set}" = set; then
33721 echo $ECHO_N "(cached) $ECHO_C" >&6
33724 echo "VER_1 { *; };" >conftest.sym
33725 echo "int main() { return 0; }" >conftest.cpp
33728 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33729 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; } ; then
33735 if test -s conftest.stderr
; then
33736 wx_cv_version_script
=no
33738 wx_cv_version_script
=yes
33741 wx_cv_version_script
=no
33744 if test $wx_cv_version_script = yes
33746 echo "struct B { virtual ~B() { } }; \
33747 struct D : public B { }; \
33748 void F() { D d; }" > conftest.cpp
33751 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33752 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33754 (eval $ac_try) 2>&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); }; } &&
33759 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33760 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; }
33768 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33769 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33771 (eval $ac_try) 2>&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); }; }
33776 wx_cv_version_script
=yes
33778 wx_cv_version_script
=no
33783 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33784 rm -f conftest1.output conftest2.output conftest3.output
33787 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33788 echo "${ECHO_T}$wx_cv_version_script" >&6
33789 if test $wx_cv_version_script = yes ; then
33790 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33796 *-*-linux* | *-*-gnu* )
33797 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33798 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33802 if test "$GCC" = yes ; then
33803 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33805 saveLdflags
="$LDFLAGS"
33806 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33807 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33808 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33809 cat >conftest.
$ac_ext <<_ACEOF
33812 cat confdefs.h
>>conftest.
$ac_ext
33813 cat >>conftest.
$ac_ext <<_ACEOF
33814 /* end confdefs.h. */
33824 rm -f conftest.
$ac_objext conftest
$ac_exeext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33826 (eval $ac_link) 2>conftest.er1
33828 grep -v '^ *+' conftest.er1
>conftest.err
33830 cat conftest.err
>&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; } &&
33839 { ac_try
='test -s conftest$ac_exeext'
33840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33841 (eval $ac_try) 2>&5
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); }; }; then
33846 echo "$as_me:$LINENO: result: yes" >&5
33847 echo "${ECHO_T}yes" >&6
33848 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33849 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33852 echo "$as_me: failed program was:" >&5
33853 sed 's/^/| /' conftest.
$ac_ext >&5
33856 echo "$as_me:$LINENO: result: no" >&5
33857 echo "${ECHO_T}no" >&6
33858 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33859 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33860 LDFLAGS
="$saveLdflags -Wl,-R,/"
33861 cat >conftest.
$ac_ext <<_ACEOF
33864 cat confdefs.h
>>conftest.
$ac_ext
33865 cat >>conftest.
$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33876 rm -f conftest.
$ac_objext conftest
$ac_exeext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33878 (eval $ac_link) 2>conftest.er1
33880 grep -v '^ *+' conftest.er1
>conftest.err
33882 cat conftest.err
>&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } &&
33885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887 (eval $ac_try) 2>&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); }; } &&
33891 { ac_try
='test -s conftest$ac_exeext'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; }; then
33898 echo "$as_me:$LINENO: result: yes" >&5
33899 echo "${ECHO_T}yes" >&6
33900 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33901 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33904 echo "$as_me: failed program was:" >&5
33905 sed 's/^/| /' conftest.
$ac_ext >&5
33908 echo "$as_me:$LINENO: result: no" >&5
33909 echo "${ECHO_T}no" >&6
33912 rm -f conftest.err conftest.
$ac_objext \
33913 conftest
$ac_exeext conftest.
$ac_ext
33916 rm -f conftest.err conftest.
$ac_objext \
33917 conftest
$ac_exeext conftest.
$ac_ext
33918 LDFLAGS
="$saveLdflags"
33920 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33921 WXCONFIG_RPATH
="-R\$libdir"
33926 install_name_tool
=`which install_name_tool`
33927 if test "$install_name_tool" -a -x "$install_name_tool"; then
33928 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33929 cat <<EOF >change-install-names
33931 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33932 inst_cmd="install_name_tool "
33933 for i in \${libnames} ; do
33934 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33938 chmod +x change
-install-names
33942 *-*-cygwin* | *-*-mingw32* )
33943 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33947 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33948 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33953 if test $wxUSE_RPATH = "no"; then
33954 SAMPLES_RPATH_FLAG
=''
33955 SAMPLES_RPATH_POSTLINK
=''
33963 config_linkage_component
="-static"
33970 lib_unicode_suffix
=
33972 if test "$wxUSE_UNICODE" = "yes"; then
33973 lib_unicode_suffix
=u
33974 WX_CHARTYPE
="unicode"
33979 WX_DEBUGTYPE
="release"
33981 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33983 WX_DEBUGTYPE
="debug"
33987 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33988 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33991 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33995 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33997 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33999 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34001 if test "$cross_compiling" = "yes"; then
34002 HOST_SUFFIX
="-$host_alias"
34003 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34004 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34007 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34008 if test "${TOOLKIT_DIR}" = "os2"; then
34009 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34011 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34016 if test "$wxUSE_COCOA" = 1; then
34020 ac_cpp
='$CPP $CPPFLAGS'
34021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34027 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34028 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34029 cat >conftest.
$ac_ext <<_ACEOF
34032 cat confdefs.h
>>conftest.
$ac_ext
34033 cat >>conftest.
$ac_ext <<_ACEOF
34034 /* end confdefs.h. */
34035 #include <AppKit/NSEvent.h>
34036 #include <CoreFoundation/CoreFoundation.h>
34046 rm -f conftest.
$ac_objext
34047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34048 (eval $ac_compile) 2>conftest.er1
34050 grep -v '^ *+' conftest.er1
>conftest.err
34052 cat conftest.err
>&5
34053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34054 (exit $ac_status); } &&
34055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try
='test -s conftest.$ac_objext'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }; then
34067 echo "$as_me:$LINENO: result: no" >&5
34068 echo "${ECHO_T}no" >&6
34070 echo "$as_me: failed program was:" >&5
34071 sed 's/^/| /' conftest.
$ac_ext >&5
34073 echo "$as_me:$LINENO: result: yes" >&5
34074 echo "${ECHO_T}yes" >&6
34075 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34076 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34077 cat >conftest.
$ac_ext <<_ACEOF
34080 cat confdefs.h
>>conftest.
$ac_ext
34081 cat >>conftest.
$ac_ext <<_ACEOF
34082 /* end confdefs.h. */
34083 #define __Point__ 1
34084 #include <AppKit/NSEvent.h>
34085 #include <CoreFoundation/CoreFoundation.h>
34095 rm -f conftest.
$ac_objext
34096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34097 (eval $ac_compile) 2>conftest.er1
34099 grep -v '^ *+' conftest.er1
>conftest.err
34101 cat conftest.err
>&5
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); } &&
34104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34106 (eval $ac_try) 2>&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); }; } &&
34110 { ac_try
='test -s conftest.$ac_objext'
34111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34112 (eval $ac_try) 2>&5
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); }; }; then
34116 echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6
34118 cat >>confdefs.h
<<\_ACEOF
34119 #define __Point__ 1
34124 echo "$as_me: failed program was:" >&5
34125 sed 's/^/| /' conftest.
$ac_ext >&5
34127 { { echo "$as_me:$LINENO: error: no
34128 See \`config.log' for more details." >&5
34129 echo "$as_me: error: no
34130 See \`config.log' for more details." >&2;}
34131 { (exit 1); exit 1; }; }
34134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34139 ac_cpp
='$CXXCPP $CPPFLAGS'
34140 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34141 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34142 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34146 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34147 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34148 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34150 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34152 # Extract the first word of "Rez", so it can be a program name with args.
34153 set dummy Rez
; ac_word
=$2
34154 echo "$as_me:$LINENO: checking for $ac_word" >&5
34155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34156 if test "${ac_cv_prog_REZ+set}" = set; then
34157 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 if test -n "$REZ"; then
34160 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
34162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34163 for as_dir
in $PATH
34166 test -z "$as_dir" && as_dir
=.
34167 for ac_exec_ext
in '' $ac_executable_extensions; do
34168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34169 ac_cv_prog_REZ
="Rez"
34170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34176 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
34179 REZ
=$ac_cv_prog_REZ
34180 if test -n "$REZ"; then
34181 echo "$as_me:$LINENO: result: $REZ" >&5
34182 echo "${ECHO_T}$REZ" >&6
34184 echo "$as_me:$LINENO: result: no" >&5
34185 echo "${ECHO_T}no" >&6
34188 # Extract the first word of "DeRez", so it can be a program name with args.
34189 set dummy DeRez
; ac_word
=$2
34190 echo "$as_me:$LINENO: checking for $ac_word" >&5
34191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34192 if test "${ac_cv_prog_DEREZ+set}" = set; then
34193 echo $ECHO_N "(cached) $ECHO_C" >&6
34195 if test -n "$DEREZ"; then
34196 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
34198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34199 for as_dir
in $PATH
34202 test -z "$as_dir" && as_dir
=.
34203 for ac_exec_ext
in '' $ac_executable_extensions; do
34204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34205 ac_cv_prog_DEREZ
="DeRez"
34206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34212 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
34215 DEREZ
=$ac_cv_prog_DEREZ
34216 if test -n "$DEREZ"; then
34217 echo "$as_me:$LINENO: result: $DEREZ" >&5
34218 echo "${ECHO_T}$DEREZ" >&6
34220 echo "$as_me:$LINENO: result: no" >&5
34221 echo "${ECHO_T}no" >&6
34224 # Extract the first word of "SetFile", so it can be a program name with args.
34225 set dummy SetFile
; ac_word
=$2
34226 echo "$as_me:$LINENO: checking for $ac_word" >&5
34227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34228 if test "${ac_cv_prog_SETFILE+set}" = set; then
34229 echo $ECHO_N "(cached) $ECHO_C" >&6
34231 if test -n "$SETFILE"; then
34232 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34235 for as_dir
in $PATH
34238 test -z "$as_dir" && as_dir
=.
34239 for ac_exec_ext
in '' $ac_executable_extensions; do
34240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34241 ac_cv_prog_SETFILE
="SetFile"
34242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34248 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34251 SETFILE
=$ac_cv_prog_SETFILE
34252 if test -n "$SETFILE"; then
34253 echo "$as_me:$LINENO: result: $SETFILE" >&5
34254 echo "${ECHO_T}$SETFILE" >&6
34256 echo "$as_me:$LINENO: result: no" >&5
34257 echo "${ECHO_T}no" >&6
34261 MACSETFILE
="\$(SETFILE)"
34263 if test "$wxUSE_MAC" = 1; then
34264 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34266 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34268 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34269 RESCOMP
="echo -n \| $REZ"
34270 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34276 if test "$wxUSE_PM" = 1; then
34278 WXCONFIG_RESFLAGS
="-ep"
34280 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34282 POSTLINK_COMMAND
="@true"
34289 echo "$as_me:$LINENO: checking for mode_t" >&5
34290 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34291 if test "${ac_cv_type_mode_t+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34294 cat >conftest.
$ac_ext <<_ACEOF
34297 cat confdefs.h
>>conftest.
$ac_ext
34298 cat >>conftest.
$ac_ext <<_ACEOF
34299 /* end confdefs.h. */
34300 $ac_includes_default
34306 if (sizeof (mode_t))
34312 rm -f conftest.
$ac_objext
34313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34314 (eval $ac_compile) 2>conftest.er1
34316 grep -v '^ *+' conftest.er1
>conftest.err
34318 cat conftest.err
>&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); } &&
34321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34323 (eval $ac_try) 2>&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); }; } &&
34327 { ac_try
='test -s conftest.$ac_objext'
34328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34329 (eval $ac_try) 2>&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); }; }; then
34333 ac_cv_type_mode_t
=yes
34335 echo "$as_me: failed program was:" >&5
34336 sed 's/^/| /' conftest.
$ac_ext >&5
34338 ac_cv_type_mode_t
=no
34340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34342 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34343 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34344 if test $ac_cv_type_mode_t = yes; then
34348 cat >>confdefs.h
<<_ACEOF
34354 echo "$as_me:$LINENO: checking for off_t" >&5
34355 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34356 if test "${ac_cv_type_off_t+set}" = set; then
34357 echo $ECHO_N "(cached) $ECHO_C" >&6
34359 cat >conftest.
$ac_ext <<_ACEOF
34362 cat confdefs.h
>>conftest.
$ac_ext
34363 cat >>conftest.
$ac_ext <<_ACEOF
34364 /* end confdefs.h. */
34365 $ac_includes_default
34371 if (sizeof (off_t))
34377 rm -f conftest.
$ac_objext
34378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34379 (eval $ac_compile) 2>conftest.er1
34381 grep -v '^ *+' conftest.er1
>conftest.err
34383 cat conftest.err
>&5
34384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34385 (exit $ac_status); } &&
34386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34388 (eval $ac_try) 2>&5
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); }; } &&
34392 { ac_try
='test -s conftest.$ac_objext'
34393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34394 (eval $ac_try) 2>&5
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); }; }; then
34398 ac_cv_type_off_t
=yes
34400 echo "$as_me: failed program was:" >&5
34401 sed 's/^/| /' conftest.
$ac_ext >&5
34403 ac_cv_type_off_t
=no
34405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34407 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34408 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34409 if test $ac_cv_type_off_t = yes; then
34413 cat >>confdefs.h
<<_ACEOF
34419 echo "$as_me:$LINENO: checking for pid_t" >&5
34420 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34421 if test "${ac_cv_type_pid_t+set}" = set; then
34422 echo $ECHO_N "(cached) $ECHO_C" >&6
34424 cat >conftest.
$ac_ext <<_ACEOF
34427 cat confdefs.h
>>conftest.
$ac_ext
34428 cat >>conftest.
$ac_ext <<_ACEOF
34429 /* end confdefs.h. */
34430 $ac_includes_default
34436 if (sizeof (pid_t))
34442 rm -f conftest.
$ac_objext
34443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34444 (eval $ac_compile) 2>conftest.er1
34446 grep -v '^ *+' conftest.er1
>conftest.err
34448 cat conftest.err
>&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } &&
34451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34453 (eval $ac_try) 2>&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); }; } &&
34457 { ac_try
='test -s conftest.$ac_objext'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; }; then
34463 ac_cv_type_pid_t
=yes
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.
$ac_ext >&5
34468 ac_cv_type_pid_t
=no
34470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34472 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34473 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34474 if test $ac_cv_type_pid_t = yes; then
34478 cat >>confdefs.h
<<_ACEOF
34484 echo "$as_me:$LINENO: checking for size_t" >&5
34485 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34486 if test "${ac_cv_type_size_t+set}" = set; then
34487 echo $ECHO_N "(cached) $ECHO_C" >&6
34489 cat >conftest.
$ac_ext <<_ACEOF
34492 cat confdefs.h
>>conftest.
$ac_ext
34493 cat >>conftest.
$ac_ext <<_ACEOF
34494 /* end confdefs.h. */
34495 $ac_includes_default
34501 if (sizeof (size_t))
34507 rm -f conftest.
$ac_objext
34508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34509 (eval $ac_compile) 2>conftest.er1
34511 grep -v '^ *+' conftest.er1
>conftest.err
34513 cat conftest.err
>&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } &&
34516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518 (eval $ac_try) 2>&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); }; } &&
34522 { ac_try
='test -s conftest.$ac_objext'
34523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524 (eval $ac_try) 2>&5
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); }; }; then
34528 ac_cv_type_size_t
=yes
34530 echo "$as_me: failed program was:" >&5
34531 sed 's/^/| /' conftest.
$ac_ext >&5
34533 ac_cv_type_size_t
=no
34535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34537 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34538 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34539 if test $ac_cv_type_size_t = yes; then
34543 cat >>confdefs.h
<<_ACEOF
34544 #define size_t unsigned
34549 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34550 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34551 if test "${ac_cv_type_uid_t+set}" = set; then
34552 echo $ECHO_N "(cached) $ECHO_C" >&6
34554 cat >conftest.
$ac_ext <<_ACEOF
34557 cat confdefs.h
>>conftest.
$ac_ext
34558 cat >>conftest.
$ac_ext <<_ACEOF
34559 /* end confdefs.h. */
34560 #include <sys/types.h>
34563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34564 $EGREP "uid_t" >/dev
/null
2>&1; then
34565 ac_cv_type_uid_t
=yes
34567 ac_cv_type_uid_t
=no
34572 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34573 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34574 if test $ac_cv_type_uid_t = no
; then
34576 cat >>confdefs.h
<<\_ACEOF
34581 cat >>confdefs.h
<<\_ACEOF
34588 echo "$as_me:$LINENO: checking for ssize_t" >&5
34589 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34590 if test "${ac_cv_type_ssize_t+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34593 cat >conftest.
$ac_ext <<_ACEOF
34596 cat confdefs.h
>>conftest.
$ac_ext
34597 cat >>conftest.
$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 $ac_includes_default
34605 if (sizeof (ssize_t))
34611 rm -f conftest.
$ac_objext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34613 (eval $ac_compile) 2>conftest.er1
34615 grep -v '^ *+' conftest.er1
>conftest.err
34617 cat conftest.err
>&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); } &&
34620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34622 (eval $ac_try) 2>&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); }; } &&
34626 { ac_try
='test -s conftest.$ac_objext'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }; then
34632 ac_cv_type_ssize_t
=yes
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.
$ac_ext >&5
34637 ac_cv_type_ssize_t
=no
34639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34641 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34642 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34643 if test $ac_cv_type_ssize_t = yes; then
34645 cat >>confdefs.h
<<_ACEOF
34646 #define HAVE_SSIZE_T 1
34653 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34654 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34655 if test "${wx_cv_size_t_is_uint+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 cat >conftest.
$ac_ext <<_ACEOF
34662 cat confdefs.h
>>conftest.
$ac_ext
34663 cat >>conftest.
$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34665 #include <stddef.h>
34672 struct Foo { void foo(size_t); void foo(unsigned int); };
34680 rm -f conftest.
$ac_objext
34681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34682 (eval $ac_compile) 2>conftest.er1
34684 grep -v '^ *+' conftest.er1
>conftest.err
34686 cat conftest.err
>&5
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); } &&
34689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34691 (eval $ac_try) 2>&5
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); }; } &&
34695 { ac_try
='test -s conftest.$ac_objext'
34696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34697 (eval $ac_try) 2>&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); }; }; then
34701 wx_cv_size_t_is_uint
=no
34703 echo "$as_me: failed program was:" >&5
34704 sed 's/^/| /' conftest.
$ac_ext >&5
34706 wx_cv_size_t_is_uint
=yes
34709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34713 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34714 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34716 if test "$wx_cv_size_t_is_uint" = "yes"; then
34717 cat >>confdefs.h
<<\_ACEOF
34718 #define wxSIZE_T_IS_UINT 1
34722 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34723 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34724 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 cat >conftest.
$ac_ext <<_ACEOF
34730 cat confdefs.h
>>conftest.
$ac_ext
34731 cat >>conftest.
$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 #include <stddef.h>
34740 struct Foo { void foo(size_t); void foo(unsigned long); };
34748 rm -f conftest.
$ac_objext
34749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34750 (eval $ac_compile) 2>conftest.er1
34752 grep -v '^ *+' conftest.er1
>conftest.err
34754 cat conftest.err
>&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } &&
34757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759 (eval $ac_try) 2>&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; } &&
34763 { ac_try
='test -s conftest.$ac_objext'
34764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34765 (eval $ac_try) 2>&5
34767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34768 (exit $ac_status); }; }; then
34769 wx_cv_size_t_is_ulong
=no
34771 echo "$as_me: failed program was:" >&5
34772 sed 's/^/| /' conftest.
$ac_ext >&5
34774 wx_cv_size_t_is_ulong
=yes
34777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34780 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34781 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34783 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34784 cat >>confdefs.h
<<\_ACEOF
34785 #define wxSIZE_T_IS_ULONG 1
34792 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34793 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34794 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34798 cat >conftest.
$ac_ext <<_ACEOF
34801 cat confdefs.h
>>conftest.
$ac_ext
34802 cat >>conftest.
$ac_ext <<_ACEOF
34803 /* end confdefs.h. */
34817 rm -f conftest.
$ac_objext
34818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34819 (eval $ac_compile) 2>conftest.er1
34821 grep -v '^ *+' conftest.er1
>conftest.err
34823 cat conftest.err
>&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); } &&
34826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34828 (eval $ac_try) 2>&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); }; } &&
34832 { ac_try
='test -s conftest.$ac_objext'
34833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34834 (eval $ac_try) 2>&5
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); }; }; then
34839 wx_cv_struct_pw_gecos
=yes
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.
$ac_ext >&5
34846 wx_cv_struct_pw_gecos
=no
34850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34854 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34855 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34857 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34858 cat >>confdefs.h
<<\_ACEOF
34859 #define HAVE_PW_GECOS 1
34865 if test "$wxUSE_WCHAR_T" = "yes"; then
34866 cat >>confdefs.h
<<\_ACEOF
34867 #define wxUSE_WCHAR_T 1
34874 for ac_func
in wcslen
34876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34877 echo "$as_me:$LINENO: checking for $ac_func" >&5
34878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34879 if eval "test \"\${$as_ac_var+set}\" = set"; then
34880 echo $ECHO_N "(cached) $ECHO_C" >&6
34882 cat >conftest.
$ac_ext <<_ACEOF
34885 cat confdefs.h
>>conftest.
$ac_ext
34886 cat >>conftest.
$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34890 #define $ac_func innocuous_$ac_func
34892 /* System header to define __stub macros and hopefully few prototypes,
34893 which can conflict with char $ac_func (); below.
34894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34895 <limits.h> exists even on freestanding compilers. */
34898 # include <limits.h>
34900 # include <assert.h>
34905 /* Override any gcc2 internal prototype to avoid an error. */
34910 /* We use char because int might match the return type of a gcc2
34911 builtin and then its argument prototype would still apply. */
34913 /* The GNU C library defines this for functions which it implements
34914 to always fail with ENOSYS. Some functions are actually named
34915 something starting with __ and the normal name is an alias. */
34916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34919 char (*f) () = $ac_func;
34928 return f != $ac_func;
34933 rm -f conftest.
$ac_objext conftest
$ac_exeext
34934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34935 (eval $ac_link) 2>conftest.er1
34937 grep -v '^ *+' conftest.er1
>conftest.err
34939 cat conftest.err
>&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); } &&
34942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34944 (eval $ac_try) 2>&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); }; } &&
34948 { ac_try
='test -s conftest$ac_exeext'
34949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34950 (eval $ac_try) 2>&5
34952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953 (exit $ac_status); }; }; then
34954 eval "$as_ac_var=yes"
34956 echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.
$ac_ext >&5
34959 eval "$as_ac_var=no"
34961 rm -f conftest.err conftest.
$ac_objext \
34962 conftest
$ac_exeext conftest.
$ac_ext
34964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34966 if test `eval echo '${'$as_ac_var'}'` = yes; then
34967 cat >>confdefs.h
<<_ACEOF
34968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34975 if test "$WCSLEN_FOUND" = 0; then
34976 if test "$TOOLKIT" = "MSW"; then
34977 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34978 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34979 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34980 echo $ECHO_N "(cached) $ECHO_C" >&6
34982 ac_check_lib_save_LIBS
=$LIBS
34983 LIBS
="-lmsvcrt $LIBS"
34984 cat >conftest.
$ac_ext <<_ACEOF
34987 cat confdefs.h
>>conftest.
$ac_ext
34988 cat >>conftest.
$ac_ext <<_ACEOF
34989 /* end confdefs.h. */
34991 /* Override any gcc2 internal prototype to avoid an error. */
34995 /* We use char because int might match the return type of a gcc2
34996 builtin and then its argument prototype would still apply. */
35006 rm -f conftest.
$ac_objext conftest
$ac_exeext
35007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35008 (eval $ac_link) 2>conftest.er1
35010 grep -v '^ *+' conftest.er1
>conftest.err
35012 cat conftest.err
>&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); } &&
35015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35017 (eval $ac_try) 2>&5
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); }; } &&
35021 { ac_try
='test -s conftest$ac_exeext'
35022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35023 (eval $ac_try) 2>&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); }; }; then
35027 ac_cv_lib_msvcrt_wcslen
=yes
35029 echo "$as_me: failed program was:" >&5
35030 sed 's/^/| /' conftest.
$ac_ext >&5
35032 ac_cv_lib_msvcrt_wcslen
=no
35034 rm -f conftest.err conftest.
$ac_objext \
35035 conftest
$ac_exeext conftest.
$ac_ext
35036 LIBS
=$ac_check_lib_save_LIBS
35038 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35039 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35040 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35045 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35046 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35047 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35048 echo $ECHO_N "(cached) $ECHO_C" >&6
35050 ac_check_lib_save_LIBS
=$LIBS
35052 cat >conftest.
$ac_ext <<_ACEOF
35055 cat confdefs.h
>>conftest.
$ac_ext
35056 cat >>conftest.
$ac_ext <<_ACEOF
35057 /* end confdefs.h. */
35059 /* Override any gcc2 internal prototype to avoid an error. */
35063 /* We use char because int might match the return type of a gcc2
35064 builtin and then its argument prototype would still apply. */
35074 rm -f conftest.
$ac_objext conftest
$ac_exeext
35075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35076 (eval $ac_link) 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_exeext'
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 ac_cv_lib_w_wcslen
=yes
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.
$ac_ext >&5
35100 ac_cv_lib_w_wcslen
=no
35102 rm -f conftest.err conftest.
$ac_objext \
35103 conftest
$ac_exeext conftest.
$ac_ext
35104 LIBS
=$ac_check_lib_save_LIBS
35106 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35107 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35108 if test $ac_cv_lib_w_wcslen = yes; then
35118 if test "$WCSLEN_FOUND" = 1; then
35119 cat >>confdefs.h
<<\_ACEOF
35120 #define HAVE_WCSLEN 1
35125 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35126 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35129 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35130 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35131 if test "${ac_cv_type_mbstate_t+set}" = set; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 cat >conftest.
$ac_ext <<_ACEOF
35137 cat confdefs.h
>>conftest.
$ac_ext
35138 cat >>conftest.
$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35145 if ((mbstate_t *) 0)
35147 if (sizeof (mbstate_t))
35153 rm -f conftest.
$ac_objext
35154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35155 (eval $ac_compile) 2>conftest.er1
35157 grep -v '^ *+' conftest.er1
>conftest.err
35159 cat conftest.err
>&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } &&
35162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35164 (eval $ac_try) 2>&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); }; } &&
35168 { ac_try
='test -s conftest.$ac_objext'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; }; then
35174 ac_cv_type_mbstate_t
=yes
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.
$ac_ext >&5
35179 ac_cv_type_mbstate_t
=no
35181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35183 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35184 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35185 if test $ac_cv_type_mbstate_t = yes; then
35187 cat >>confdefs.h
<<_ACEOF
35188 #define HAVE_MBSTATE_T 1
35192 for ac_func
in wcsrtombs
35194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35195 echo "$as_me:$LINENO: checking for $ac_func" >&5
35196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35197 if eval "test \"\${$as_ac_var+set}\" = set"; then
35198 echo $ECHO_N "(cached) $ECHO_C" >&6
35200 cat >conftest.
$ac_ext <<_ACEOF
35203 cat confdefs.h
>>conftest.
$ac_ext
35204 cat >>conftest.
$ac_ext <<_ACEOF
35205 /* end confdefs.h. */
35206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35208 #define $ac_func innocuous_$ac_func
35210 /* System header to define __stub macros and hopefully few prototypes,
35211 which can conflict with char $ac_func (); below.
35212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35213 <limits.h> exists even on freestanding compilers. */
35216 # include <limits.h>
35218 # include <assert.h>
35223 /* Override any gcc2 internal prototype to avoid an error. */
35228 /* We use char because int might match the return type of a gcc2
35229 builtin and then its argument prototype would still apply. */
35231 /* The GNU C library defines this for functions which it implements
35232 to always fail with ENOSYS. Some functions are actually named
35233 something starting with __ and the normal name is an alias. */
35234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35237 char (*f) () = $ac_func;
35246 return f != $ac_func;
35251 rm -f conftest.
$ac_objext conftest
$ac_exeext
35252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35253 (eval $ac_link) 2>conftest.er1
35255 grep -v '^ *+' conftest.er1
>conftest.err
35257 cat conftest.err
>&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); } &&
35260 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262 (eval $ac_try) 2>&5
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); }; } &&
35266 { ac_try
='test -s conftest$ac_exeext'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; }; then
35272 eval "$as_ac_var=yes"
35274 echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.
$ac_ext >&5
35277 eval "$as_ac_var=no"
35279 rm -f conftest.err conftest.
$ac_objext \
35280 conftest
$ac_exeext conftest.
$ac_ext
35282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35284 if test `eval echo '${'$as_ac_var'}'` = yes; then
35285 cat >>confdefs.h
<<_ACEOF
35286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35295 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35296 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35301 for ac_func
in snprintf vsnprintf
35303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35304 echo "$as_me:$LINENO: checking for $ac_func" >&5
35305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35306 if eval "test \"\${$as_ac_var+set}\" = set"; then
35307 echo $ECHO_N "(cached) $ECHO_C" >&6
35309 cat >conftest.
$ac_ext <<_ACEOF
35312 cat confdefs.h
>>conftest.
$ac_ext
35313 cat >>conftest.
$ac_ext <<_ACEOF
35314 /* end confdefs.h. */
35315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35317 #define $ac_func innocuous_$ac_func
35319 /* System header to define __stub macros and hopefully few prototypes,
35320 which can conflict with char $ac_func (); below.
35321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35322 <limits.h> exists even on freestanding compilers. */
35325 # include <limits.h>
35327 # include <assert.h>
35332 /* Override any gcc2 internal prototype to avoid an error. */
35337 /* We use char because int might match the return type of a gcc2
35338 builtin and then its argument prototype would still apply. */
35340 /* The GNU C library defines this for functions which it implements
35341 to always fail with ENOSYS. Some functions are actually named
35342 something starting with __ and the normal name is an alias. */
35343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35346 char (*f) () = $ac_func;
35355 return f != $ac_func;
35360 rm -f conftest.
$ac_objext conftest
$ac_exeext
35361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35362 (eval $ac_link) 2>conftest.er1
35364 grep -v '^ *+' conftest.er1
>conftest.err
35366 cat conftest.err
>&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); } &&
35369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; } &&
35375 { ac_try
='test -s conftest$ac_exeext'
35376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377 (eval $ac_try) 2>&5
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); }; }; then
35381 eval "$as_ac_var=yes"
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.
$ac_ext >&5
35386 eval "$as_ac_var=no"
35388 rm -f conftest.err conftest.
$ac_objext \
35389 conftest
$ac_exeext conftest.
$ac_ext
35391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35393 if test `eval echo '${'$as_ac_var'}'` = yes; then
35394 cat >>confdefs.h
<<_ACEOF
35395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35402 if test "$ac_cv_func_vsnprintf" = "yes"; then
35403 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35404 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35405 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35409 cat >conftest.
$ac_ext <<_ACEOF
35412 cat confdefs.h
>>conftest.
$ac_ext
35413 cat >>conftest.
$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35417 #include <stdarg.h>
35419 #if __MSL__ >= 0x6000
35421 using namespace std;
35431 vsnprintf(buf, 10u, "%s", ap);
35437 rm -f conftest.
$ac_objext
35438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35439 (eval $ac_compile) 2>conftest.er1
35441 grep -v '^ *+' conftest.er1
>conftest.err
35443 cat conftest.err
>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); } &&
35446 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35448 (eval $ac_try) 2>&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); }; } &&
35452 { ac_try
='test -s conftest.$ac_objext'
35453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35454 (eval $ac_try) 2>&5
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); }; }; then
35458 wx_cv_func_vsnprintf_decl
=yes
35460 echo "$as_me: failed program was:" >&5
35461 sed 's/^/| /' conftest.
$ac_ext >&5
35463 wx_cv_func_vsnprintf_decl
=no
35466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35470 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35471 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35473 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35474 cat >>confdefs.h
<<\_ACEOF
35475 #define HAVE_VSNPRINTF_DECL 1
35479 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35480 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35481 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35485 cat >conftest.
$ac_ext <<_ACEOF
35488 cat confdefs.h
>>conftest.
$ac_ext
35489 cat >>conftest.
$ac_ext <<_ACEOF
35490 /* end confdefs.h. */
35493 #include <stdarg.h>
35495 #if __MSL__ >= 0x6000
35497 using namespace std;
35507 const char *fmt = "%s";
35508 vsnprintf(buf, 10u, fmt, ap);
35514 rm -f conftest.
$ac_objext
35515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35516 (eval $ac_compile) 2>conftest.er1
35518 grep -v '^ *+' conftest.er1
>conftest.err
35520 cat conftest.err
>&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } &&
35523 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35525 (eval $ac_try) 2>&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); }; } &&
35529 { ac_try
='test -s conftest.$ac_objext'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; }; then
35535 wx_cv_func_broken_vsnprintf_decl
=no
35537 echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.
$ac_ext >&5
35540 wx_cv_func_broken_vsnprintf_decl
=yes
35543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35547 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35548 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35550 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35551 cat >>confdefs.h
<<\_ACEOF
35552 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35559 if test "$ac_cv_func_snprintf" = "yes"; then
35560 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35561 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35562 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 cat >conftest.
$ac_ext <<_ACEOF
35569 cat confdefs.h
>>conftest.
$ac_ext
35570 cat >>conftest.
$ac_ext <<_ACEOF
35571 /* end confdefs.h. */
35574 #include <stdarg.h>
35576 #if __MSL__ >= 0x6000
35578 using namespace std;
35587 snprintf(buf, 10u, "%s", "wx");
35593 rm -f conftest.
$ac_objext
35594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35595 (eval $ac_compile) 2>conftest.er1
35597 grep -v '^ *+' conftest.er1
>conftest.err
35599 cat conftest.err
>&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); } &&
35602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35604 (eval $ac_try) 2>&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); }; } &&
35608 { ac_try
='test -s conftest.$ac_objext'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; }; then
35614 wx_cv_func_snprintf_decl
=yes
35616 echo "$as_me: failed program was:" >&5
35617 sed 's/^/| /' conftest.
$ac_ext >&5
35619 wx_cv_func_snprintf_decl
=no
35622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35626 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35627 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35629 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35630 cat >>confdefs.h
<<\_ACEOF
35631 #define HAVE_SNPRINTF_DECL 1
35635 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35636 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35637 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35638 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 cat >conftest.
$ac_ext <<_ACEOF
35644 cat confdefs.h
>>conftest.
$ac_ext
35645 cat >>conftest.
$ac_ext <<_ACEOF
35646 /* end confdefs.h. */
35649 #include <stdarg.h>
35651 #if __MSL__ >= 0x6000
35653 using namespace std;
35662 const char *fmt = "%s";
35663 snprintf(buf, 10u, fmt, "wx");
35669 rm -f conftest.
$ac_objext
35670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35671 (eval $ac_compile) 2>conftest.er1
35673 grep -v '^ *+' conftest.er1
>conftest.err
35675 cat conftest.err
>&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } &&
35678 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35680 (eval $ac_try) 2>&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); }; } &&
35684 { ac_try
='test -s conftest.$ac_objext'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; }; then
35690 wx_cv_func_broken_snprintf_decl
=no
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.
$ac_ext >&5
35695 wx_cv_func_broken_snprintf_decl
=yes
35698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35702 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35703 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35705 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35706 cat >>confdefs.h
<<\_ACEOF
35707 #define HAVE_BROKEN_SNPRINTF_DECL 1
35713 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35715 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35716 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35717 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35721 if test "$cross_compiling" = yes; then
35723 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35724 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35725 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35726 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35727 wx_cv_func_snprintf_pos_params
=no
35731 cat >conftest.
$ac_ext <<_ACEOF
35734 cat confdefs.h
>>conftest.
$ac_ext
35735 cat >>conftest.
$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35743 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35744 if (strcmp ("2 3 1", buffer) == 0)
35750 rm -f conftest
$ac_exeext
35751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35752 (eval $ac_link) 2>&5
35754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35755 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; }; then
35761 wx_cv_func_snprintf_pos_params
=no
35763 echo "$as_me: program exited with status $ac_status" >&5
35764 echo "$as_me: failed program was:" >&5
35765 sed 's/^/| /' conftest.
$ac_ext >&5
35767 ( exit $ac_status )
35768 wx_cv_func_snprintf_pos_params
=yes
35770 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35775 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35776 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35778 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35779 cat >>confdefs.h
<<\_ACEOF
35780 #define HAVE_UNIX98_PRINTF 1
35787 if test "$wxUSE_UNICODE" = yes; then
35790 for ac_func
in swprintf
35792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35793 echo "$as_me:$LINENO: checking for $ac_func" >&5
35794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35795 if eval "test \"\${$as_ac_var+set}\" = set"; then
35796 echo $ECHO_N "(cached) $ECHO_C" >&6
35798 cat >conftest.
$ac_ext <<_ACEOF
35801 cat confdefs.h
>>conftest.
$ac_ext
35802 cat >>conftest.
$ac_ext <<_ACEOF
35803 /* end confdefs.h. */
35804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35806 #define $ac_func innocuous_$ac_func
35808 /* System header to define __stub macros and hopefully few prototypes,
35809 which can conflict with char $ac_func (); below.
35810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35811 <limits.h> exists even on freestanding compilers. */
35814 # include <limits.h>
35816 # include <assert.h>
35821 /* Override any gcc2 internal prototype to avoid an error. */
35826 /* We use char because int might match the return type of a gcc2
35827 builtin and then its argument prototype would still apply. */
35829 /* The GNU C library defines this for functions which it implements
35830 to always fail with ENOSYS. Some functions are actually named
35831 something starting with __ and the normal name is an alias. */
35832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35835 char (*f) () = $ac_func;
35844 return f != $ac_func;
35849 rm -f conftest.
$ac_objext conftest
$ac_exeext
35850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35851 (eval $ac_link) 2>conftest.er1
35853 grep -v '^ *+' conftest.er1
>conftest.err
35855 cat conftest.err
>&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); } &&
35858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35860 (eval $ac_try) 2>&5
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); }; } &&
35864 { ac_try
='test -s conftest$ac_exeext'
35865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35866 (eval $ac_try) 2>&5
35868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35869 (exit $ac_status); }; }; then
35870 eval "$as_ac_var=yes"
35872 echo "$as_me: failed program was:" >&5
35873 sed 's/^/| /' conftest.
$ac_ext >&5
35875 eval "$as_ac_var=no"
35877 rm -f conftest.err conftest.
$ac_objext \
35878 conftest
$ac_exeext conftest.
$ac_ext
35880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35882 if test `eval echo '${'$as_ac_var'}'` = yes; then
35883 cat >>confdefs.h
<<_ACEOF
35884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35891 if test "$ac_cv_func_swprintf" = "yes"; then
35892 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35893 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35894 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35898 cat >conftest.
$ac_ext <<_ACEOF
35901 cat confdefs.h
>>conftest.
$ac_ext
35902 cat >>conftest.
$ac_ext <<_ACEOF
35903 /* end confdefs.h. */
35906 #include <stdarg.h>
35914 const wchar_t *fmt = L"test";
35915 swprintf(buf, 10u, fmt);
35921 rm -f conftest.
$ac_objext
35922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35923 (eval $ac_compile) 2>conftest.er1
35925 grep -v '^ *+' conftest.er1
>conftest.err
35927 cat conftest.err
>&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } &&
35930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35932 (eval $ac_try) 2>&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); }; } &&
35936 { ac_try
='test -s conftest.$ac_objext'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; }; then
35942 wx_cv_func_broken_swprintf_decl
=no
35944 echo "$as_me: failed program was:" >&5
35945 sed 's/^/| /' conftest.
$ac_ext >&5
35947 wx_cv_func_broken_swprintf_decl
=yes
35950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35954 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35955 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35957 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35958 cat >>confdefs.h
<<\_ACEOF
35959 #define HAVE_BROKEN_SWPRINTF_DECL 1
35971 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35974 echo "$as_me:$LINENO: checking for $ac_func" >&5
35975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35976 if eval "test \"\${$as_ac_var+set}\" = set"; then
35977 echo $ECHO_N "(cached) $ECHO_C" >&6
35979 cat >conftest.
$ac_ext <<_ACEOF
35982 cat confdefs.h
>>conftest.
$ac_ext
35983 cat >>conftest.
$ac_ext <<_ACEOF
35984 /* end confdefs.h. */
35985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35987 #define $ac_func innocuous_$ac_func
35989 /* System header to define __stub macros and hopefully few prototypes,
35990 which can conflict with char $ac_func (); below.
35991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35992 <limits.h> exists even on freestanding compilers. */
35995 # include <limits.h>
35997 # include <assert.h>
36002 /* Override any gcc2 internal prototype to avoid an error. */
36007 /* We use char because int might match the return type of a gcc2
36008 builtin and then its argument prototype would still apply. */
36010 /* The GNU C library defines this for functions which it implements
36011 to always fail with ENOSYS. Some functions are actually named
36012 something starting with __ and the normal name is an alias. */
36013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36016 char (*f) () = $ac_func;
36025 return f != $ac_func;
36030 rm -f conftest.
$ac_objext conftest
$ac_exeext
36031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36032 (eval $ac_link) 2>conftest.er1
36034 grep -v '^ *+' conftest.er1
>conftest.err
36036 cat conftest.err
>&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } &&
36039 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36041 (eval $ac_try) 2>&5
36043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044 (exit $ac_status); }; } &&
36045 { ac_try
='test -s conftest$ac_exeext'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; }; then
36051 eval "$as_ac_var=yes"
36053 echo "$as_me: failed program was:" >&5
36054 sed 's/^/| /' conftest.
$ac_ext >&5
36056 eval "$as_ac_var=no"
36058 rm -f conftest.err conftest.
$ac_objext \
36059 conftest
$ac_exeext conftest.
$ac_ext
36061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36063 if test `eval echo '${'$as_ac_var'}'` = yes; then
36064 cat >>confdefs.h
<<_ACEOF
36065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36072 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36073 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36074 cat >conftest.
$ac_ext <<_ACEOF
36077 cat confdefs.h
>>conftest.
$ac_ext
36078 cat >>conftest.
$ac_ext <<_ACEOF
36079 /* end confdefs.h. */
36089 rm -f conftest.
$ac_objext
36090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36091 (eval $ac_compile) 2>conftest.er1
36093 grep -v '^ *+' conftest.er1
>conftest.err
36095 cat conftest.err
>&5
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); } &&
36098 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
36104 { ac_try
='test -s conftest.$ac_objext'
36105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36106 (eval $ac_try) 2>&5
36108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36109 (exit $ac_status); }; }; then
36110 echo "$as_me:$LINENO: result: yes" >&5
36111 echo "${ECHO_T}yes" >&6
36112 cat >>confdefs.h
<<\_ACEOF
36113 #define HAVE__VSNWPRINTF 1
36117 echo "$as_me: failed program was:" >&5
36118 sed 's/^/| /' conftest.
$ac_ext >&5
36120 echo "$as_me:$LINENO: result: no" >&5
36121 echo "${ECHO_T}no" >&6
36123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
36126 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36128 for ac_func
in fnmatch
36130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36131 echo "$as_me:$LINENO: checking for $ac_func" >&5
36132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36133 if eval "test \"\${$as_ac_var+set}\" = set"; then
36134 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 cat >conftest.
$ac_ext <<_ACEOF
36139 cat confdefs.h
>>conftest.
$ac_ext
36140 cat >>conftest.
$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36144 #define $ac_func innocuous_$ac_func
36146 /* System header to define __stub macros and hopefully few prototypes,
36147 which can conflict with char $ac_func (); below.
36148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36149 <limits.h> exists even on freestanding compilers. */
36152 # include <limits.h>
36154 # include <assert.h>
36159 /* Override any gcc2 internal prototype to avoid an error. */
36164 /* We use char because int might match the return type of a gcc2
36165 builtin and then its argument prototype would still apply. */
36167 /* The GNU C library defines this for functions which it implements
36168 to always fail with ENOSYS. Some functions are actually named
36169 something starting with __ and the normal name is an alias. */
36170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36173 char (*f) () = $ac_func;
36182 return f != $ac_func;
36187 rm -f conftest.
$ac_objext conftest
$ac_exeext
36188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36189 (eval $ac_link) 2>conftest.er1
36191 grep -v '^ *+' conftest.er1
>conftest.err
36193 cat conftest.err
>&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } &&
36196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36198 (eval $ac_try) 2>&5
36200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201 (exit $ac_status); }; } &&
36202 { ac_try
='test -s conftest$ac_exeext'
36203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36204 (eval $ac_try) 2>&5
36206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207 (exit $ac_status); }; }; then
36208 eval "$as_ac_var=yes"
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.
$ac_ext >&5
36213 eval "$as_ac_var=no"
36215 rm -f conftest.err conftest.
$ac_objext \
36216 conftest
$ac_exeext conftest.
$ac_ext
36218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36220 if test `eval echo '${'$as_ac_var'}'` = yes; then
36221 cat >>confdefs.h
<<_ACEOF
36222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36230 if test "$wxUSE_FILE" = "yes"; then
36232 for ac_func
in fsync
36234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36235 echo "$as_me:$LINENO: checking for $ac_func" >&5
36236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36237 if eval "test \"\${$as_ac_var+set}\" = set"; then
36238 echo $ECHO_N "(cached) $ECHO_C" >&6
36240 cat >conftest.
$ac_ext <<_ACEOF
36243 cat confdefs.h
>>conftest.
$ac_ext
36244 cat >>conftest.
$ac_ext <<_ACEOF
36245 /* end confdefs.h. */
36246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36248 #define $ac_func innocuous_$ac_func
36250 /* System header to define __stub macros and hopefully few prototypes,
36251 which can conflict with char $ac_func (); below.
36252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36253 <limits.h> exists even on freestanding compilers. */
36256 # include <limits.h>
36258 # include <assert.h>
36263 /* Override any gcc2 internal prototype to avoid an error. */
36268 /* We use char because int might match the return type of a gcc2
36269 builtin and then its argument prototype would still apply. */
36271 /* The GNU C library defines this for functions which it implements
36272 to always fail with ENOSYS. Some functions are actually named
36273 something starting with __ and the normal name is an alias. */
36274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36277 char (*f) () = $ac_func;
36286 return f != $ac_func;
36291 rm -f conftest.
$ac_objext conftest
$ac_exeext
36292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36293 (eval $ac_link) 2>conftest.er1
36295 grep -v '^ *+' conftest.er1
>conftest.err
36297 cat conftest.err
>&5
36298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36299 (exit $ac_status); } &&
36300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36302 (eval $ac_try) 2>&5
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); }; } &&
36306 { ac_try
='test -s conftest$ac_exeext'
36307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36308 (eval $ac_try) 2>&5
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); }; }; then
36312 eval "$as_ac_var=yes"
36314 echo "$as_me: failed program was:" >&5
36315 sed 's/^/| /' conftest.
$ac_ext >&5
36317 eval "$as_ac_var=no"
36319 rm -f conftest.err conftest.
$ac_objext \
36320 conftest
$ac_exeext conftest.
$ac_ext
36322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36324 if test `eval echo '${'$as_ac_var'}'` = yes; then
36325 cat >>confdefs.h
<<_ACEOF
36326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36335 for ac_func
in round
36337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36338 echo "$as_me:$LINENO: checking for $ac_func" >&5
36339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36340 if eval "test \"\${$as_ac_var+set}\" = set"; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36343 cat >conftest.
$ac_ext <<_ACEOF
36346 cat confdefs.h
>>conftest.
$ac_ext
36347 cat >>conftest.
$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36351 #define $ac_func innocuous_$ac_func
36353 /* System header to define __stub macros and hopefully few prototypes,
36354 which can conflict with char $ac_func (); below.
36355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36356 <limits.h> exists even on freestanding compilers. */
36359 # include <limits.h>
36361 # include <assert.h>
36366 /* Override any gcc2 internal prototype to avoid an error. */
36371 /* We use char because int might match the return type of a gcc2
36372 builtin and then its argument prototype would still apply. */
36374 /* The GNU C library defines this for functions which it implements
36375 to always fail with ENOSYS. Some functions are actually named
36376 something starting with __ and the normal name is an alias. */
36377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36380 char (*f) () = $ac_func;
36389 return f != $ac_func;
36394 rm -f conftest.
$ac_objext conftest
$ac_exeext
36395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36396 (eval $ac_link) 2>conftest.er1
36398 grep -v '^ *+' conftest.er1
>conftest.err
36400 cat conftest.err
>&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); } &&
36403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36405 (eval $ac_try) 2>&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); }; } &&
36409 { ac_try
='test -s conftest$ac_exeext'
36410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36411 (eval $ac_try) 2>&5
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); }; }; then
36415 eval "$as_ac_var=yes"
36417 echo "$as_me: failed program was:" >&5
36418 sed 's/^/| /' conftest.
$ac_ext >&5
36420 eval "$as_ac_var=no"
36422 rm -f conftest.err conftest.
$ac_objext \
36423 conftest
$ac_exeext conftest.
$ac_ext
36425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36427 if test `eval echo '${'$as_ac_var'}'` = yes; then
36428 cat >>confdefs.h
<<_ACEOF
36429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36435 if test "$ac_cv_func_round" = yes; then
36436 echo "$as_me:$LINENO: checking whether round is declared" >&5
36437 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36438 if test "${ac_cv_have_decl_round+set}" = set; then
36439 echo $ECHO_N "(cached) $ECHO_C" >&6
36441 cat >conftest.
$ac_ext <<_ACEOF
36444 cat confdefs.h
>>conftest.
$ac_ext
36445 cat >>conftest.
$ac_ext <<_ACEOF
36446 /* end confdefs.h. */
36453 char *p = (char *) round;
36460 rm -f conftest.
$ac_objext
36461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36462 (eval $ac_compile) 2>conftest.er1
36464 grep -v '^ *+' conftest.er1
>conftest.err
36466 cat conftest.err
>&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); } &&
36469 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; } &&
36475 { ac_try
='test -s conftest.$ac_objext'
36476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36477 (eval $ac_try) 2>&5
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); }; }; then
36481 ac_cv_have_decl_round
=yes
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.
$ac_ext >&5
36486 ac_cv_have_decl_round
=no
36488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36490 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36491 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36492 if test $ac_cv_have_decl_round = yes; then
36494 cat >>confdefs.h
<<_ACEOF
36495 #define HAVE_DECL_ROUND 1
36500 cat >>confdefs.h
<<_ACEOF
36501 #define HAVE_DECL_ROUND 0
36511 if test "$TOOLKIT" != "MSW"; then
36517 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36518 if test "${with_libiconv_prefix+set}" = set; then
36519 withval
="$with_libiconv_prefix"
36521 for dir
in `echo "$withval" | tr : ' '`; do
36522 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36523 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36528 echo "$as_me:$LINENO: checking for iconv" >&5
36529 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36530 if test "${am_cv_func_iconv+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36534 am_cv_func_iconv
="no, consider installing GNU libiconv"
36536 cat >conftest.
$ac_ext <<_ACEOF
36539 cat confdefs.h
>>conftest.
$ac_ext
36540 cat >>conftest.
$ac_ext <<_ACEOF
36541 /* end confdefs.h. */
36542 #include <stdlib.h>
36547 iconv_t cd = iconv_open("","");
36548 iconv(cd,NULL,NULL,NULL,NULL);
36554 rm -f conftest.
$ac_objext conftest
$ac_exeext
36555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36556 (eval $ac_link) 2>conftest.er1
36558 grep -v '^ *+' conftest.er1
>conftest.err
36560 cat conftest.err
>&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); } &&
36563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; } &&
36569 { ac_try
='test -s conftest$ac_exeext'
36570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36571 (eval $ac_try) 2>&5
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); }; }; then
36575 am_cv_func_iconv
=yes
36577 echo "$as_me: failed program was:" >&5
36578 sed 's/^/| /' conftest.
$ac_ext >&5
36581 rm -f conftest.err conftest.
$ac_objext \
36582 conftest
$ac_exeext conftest.
$ac_ext
36583 if test "$am_cv_func_iconv" != yes; then
36584 am_save_LIBS
="$LIBS"
36585 LIBS
="$LIBS -liconv"
36586 cat >conftest.
$ac_ext <<_ACEOF
36589 cat confdefs.h
>>conftest.
$ac_ext
36590 cat >>conftest.
$ac_ext <<_ACEOF
36591 /* end confdefs.h. */
36592 #include <stdlib.h>
36597 iconv_t cd = iconv_open("","");
36598 iconv(cd,NULL,NULL,NULL,NULL);
36604 rm -f conftest.
$ac_objext conftest
$ac_exeext
36605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36606 (eval $ac_link) 2>conftest.er1
36608 grep -v '^ *+' conftest.er1
>conftest.err
36610 cat conftest.err
>&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); } &&
36613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; } &&
36619 { ac_try
='test -s conftest$ac_exeext'
36620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36621 (eval $ac_try) 2>&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); }; }; then
36625 am_cv_lib_iconv
=yes
36626 am_cv_func_iconv
=yes
36628 echo "$as_me: failed program was:" >&5
36629 sed 's/^/| /' conftest.
$ac_ext >&5
36632 rm -f conftest.err conftest.
$ac_objext \
36633 conftest
$ac_exeext conftest.
$ac_ext
36634 LIBS
="$am_save_LIBS"
36638 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36639 echo "${ECHO_T}$am_cv_func_iconv" >&6
36640 if test "$am_cv_func_iconv" = yes; then
36642 cat >>confdefs.h
<<\_ACEOF
36643 #define HAVE_ICONV 1
36646 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36647 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36648 if test "${wx_cv_func_iconv_const+set}" = set; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36651 cat >conftest.
$ac_ext <<_ACEOF
36654 cat confdefs.h
>>conftest.
$ac_ext
36655 cat >>conftest.
$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36658 #include <stdlib.h>
36664 #if defined(__STDC__) || defined(__cplusplus)
36665 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36678 rm -f conftest.
$ac_objext
36679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36680 (eval $ac_compile) 2>conftest.er1
36682 grep -v '^ *+' conftest.er1
>conftest.err
36684 cat conftest.err
>&5
36685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36686 (exit $ac_status); } &&
36687 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36689 (eval $ac_try) 2>&5
36691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36692 (exit $ac_status); }; } &&
36693 { ac_try
='test -s conftest.$ac_objext'
36694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36695 (eval $ac_try) 2>&5
36697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36698 (exit $ac_status); }; }; then
36699 wx_cv_func_iconv_const
="no"
36701 echo "$as_me: failed program was:" >&5
36702 sed 's/^/| /' conftest.
$ac_ext >&5
36704 wx_cv_func_iconv_const
="yes"
36707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36710 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36711 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36714 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36715 iconv_const
="const"
36719 cat >>confdefs.h
<<_ACEOF
36720 #define ICONV_CONST $iconv_const
36725 if test "$am_cv_lib_iconv" = yes; then
36730 LIBS
="$LIBICONV $LIBS"
36732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36734 for ac_func
in sigaction
36736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36737 echo "$as_me:$LINENO: checking for $ac_func" >&5
36738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36739 if eval "test \"\${$as_ac_var+set}\" = set"; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 cat >conftest.
$ac_ext <<_ACEOF
36745 cat confdefs.h
>>conftest.
$ac_ext
36746 cat >>conftest.
$ac_ext <<_ACEOF
36747 /* end confdefs.h. */
36748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36750 #define $ac_func innocuous_$ac_func
36752 /* System header to define __stub macros and hopefully few prototypes,
36753 which can conflict with char $ac_func (); below.
36754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36755 <limits.h> exists even on freestanding compilers. */
36758 # include <limits.h>
36760 # include <assert.h>
36765 /* Override any gcc2 internal prototype to avoid an error. */
36770 /* We use char because int might match the return type of a gcc2
36771 builtin and then its argument prototype would still apply. */
36773 /* The GNU C library defines this for functions which it implements
36774 to always fail with ENOSYS. Some functions are actually named
36775 something starting with __ and the normal name is an alias. */
36776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36779 char (*f) () = $ac_func;
36788 return f != $ac_func;
36793 rm -f conftest.
$ac_objext conftest
$ac_exeext
36794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36795 (eval $ac_link) 2>conftest.er1
36797 grep -v '^ *+' conftest.er1
>conftest.err
36799 cat conftest.err
>&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } &&
36802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36804 (eval $ac_try) 2>&5
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); }; } &&
36808 { ac_try
='test -s conftest$ac_exeext'
36809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36810 (eval $ac_try) 2>&5
36812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36813 (exit $ac_status); }; }; then
36814 eval "$as_ac_var=yes"
36816 echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.
$ac_ext >&5
36819 eval "$as_ac_var=no"
36821 rm -f conftest.err conftest.
$ac_objext \
36822 conftest
$ac_exeext conftest.
$ac_ext
36824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36826 if test `eval echo '${'$as_ac_var'}'` = yes; then
36827 cat >>confdefs.h
<<_ACEOF
36828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36835 if test "$ac_cv_func_sigaction" = "no"; then
36836 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36837 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36838 wxUSE_ON_FATAL_EXCEPTION
=no
36841 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36842 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36843 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36844 if test "${wx_cv_type_sa_handler+set}" = set; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36848 cat >conftest.
$ac_ext <<_ACEOF
36851 cat confdefs.h
>>conftest.
$ac_ext
36852 cat >>conftest.
$ac_ext <<_ACEOF
36853 /* end confdefs.h. */
36854 #include <signal.h>
36859 extern void testSigHandler(int);
36861 struct sigaction sa;
36862 sa.sa_handler = testSigHandler;
36868 rm -f conftest.
$ac_objext
36869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36870 (eval $ac_compile) 2>conftest.er1
36872 grep -v '^ *+' conftest.er1
>conftest.err
36874 cat conftest.err
>&5
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); } &&
36877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; } &&
36883 { ac_try
='test -s conftest.$ac_objext'
36884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885 (eval $ac_try) 2>&5
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); }; }; then
36890 wx_cv_type_sa_handler
=int
36893 echo "$as_me: failed program was:" >&5
36894 sed 's/^/| /' conftest.
$ac_ext >&5
36897 wx_cv_type_sa_handler
=void
36900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36903 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36904 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36906 cat >>confdefs.h
<<_ACEOF
36907 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36913 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36914 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36915 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36916 if test "${wx_cv_func_backtrace+set}" = set; then
36917 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 cat >conftest.
$ac_ext <<_ACEOF
36923 cat confdefs.h
>>conftest.
$ac_ext
36924 cat >>conftest.
$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 #include <execinfo.h>
36934 backtrace(trace, 1);
36935 messages = backtrace_symbols(trace, 1);
36941 rm -f conftest.
$ac_objext
36942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36943 (eval $ac_compile) 2>conftest.er1
36945 grep -v '^ *+' conftest.er1
>conftest.err
36947 cat conftest.err
>&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); } &&
36950 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; } &&
36956 { ac_try
='test -s conftest.$ac_objext'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; }; then
36962 wx_cv_func_backtrace
=yes
36964 echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.
$ac_ext >&5
36967 wx_cv_func_backtrace
=no
36970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36974 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36975 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36978 if test "$wx_cv_func_backtrace" = "no"; then
36979 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36980 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36981 wxUSE_STACKWALKER
=no
36983 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36984 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36985 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36989 cat >conftest.
$ac_ext <<_ACEOF
36992 cat confdefs.h
>>conftest.
$ac_ext
36993 cat >>conftest.
$ac_ext <<_ACEOF
36994 /* end confdefs.h. */
36995 #include <cxxabi.h>
37001 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37007 rm -f conftest.
$ac_objext conftest
$ac_exeext
37008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37009 (eval $ac_link) 2>conftest.er1
37011 grep -v '^ *+' conftest.er1
>conftest.err
37013 cat conftest.err
>&5
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); } &&
37016 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37018 (eval $ac_try) 2>&5
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); }; } &&
37022 { ac_try
='test -s conftest$ac_exeext'
37023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37024 (eval $ac_try) 2>&5
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); }; }; then
37028 wx_cv_func_cxa_demangle
=yes
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.
$ac_ext >&5
37033 wx_cv_func_cxa_demangle
=no
37036 rm -f conftest.err conftest.
$ac_objext \
37037 conftest
$ac_exeext conftest.
$ac_ext
37041 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37042 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37044 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37045 cat >>confdefs.h
<<\_ACEOF
37046 #define HAVE_CXA_DEMANGLE 1
37053 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37054 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37055 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37056 wxUSE_STACKWALKER
=no
37062 for ac_func
in mkstemp mktemp
37064 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37065 echo "$as_me:$LINENO: checking for $ac_func" >&5
37066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37067 if eval "test \"\${$as_ac_var+set}\" = set"; then
37068 echo $ECHO_N "(cached) $ECHO_C" >&6
37070 cat >conftest.
$ac_ext <<_ACEOF
37073 cat confdefs.h
>>conftest.
$ac_ext
37074 cat >>conftest.
$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37078 #define $ac_func innocuous_$ac_func
37080 /* System header to define __stub macros and hopefully few prototypes,
37081 which can conflict with char $ac_func (); below.
37082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37083 <limits.h> exists even on freestanding compilers. */
37086 # include <limits.h>
37088 # include <assert.h>
37093 /* Override any gcc2 internal prototype to avoid an error. */
37098 /* We use char because int might match the return type of a gcc2
37099 builtin and then its argument prototype would still apply. */
37101 /* The GNU C library defines this for functions which it implements
37102 to always fail with ENOSYS. Some functions are actually named
37103 something starting with __ and the normal name is an alias. */
37104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37107 char (*f) () = $ac_func;
37116 return f != $ac_func;
37121 rm -f conftest.
$ac_objext conftest
$ac_exeext
37122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37123 (eval $ac_link) 2>conftest.er1
37125 grep -v '^ *+' conftest.er1
>conftest.err
37127 cat conftest.err
>&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } &&
37130 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132 (eval $ac_try) 2>&5
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); }; } &&
37136 { ac_try
='test -s conftest$ac_exeext'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; }; then
37142 eval "$as_ac_var=yes"
37144 echo "$as_me: failed program was:" >&5
37145 sed 's/^/| /' conftest.
$ac_ext >&5
37147 eval "$as_ac_var=no"
37149 rm -f conftest.err conftest.
$ac_objext \
37150 conftest
$ac_exeext conftest.
$ac_ext
37152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37154 if test `eval echo '${'$as_ac_var'}'` = yes; then
37155 cat >>confdefs.h
<<_ACEOF
37156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37163 echo "$as_me:$LINENO: checking for statfs" >&5
37164 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37165 if test "${wx_cv_func_statfs+set}" = set; then
37166 echo $ECHO_N "(cached) $ECHO_C" >&6
37168 cat >conftest.
$ac_ext <<_ACEOF
37171 cat confdefs.h
>>conftest.
$ac_ext
37172 cat >>conftest.
$ac_ext <<_ACEOF
37173 /* end confdefs.h. */
37175 #if defined(__BSD__)
37176 #include <sys/param.h>
37177 #include <sys/mount.h>
37179 #include <sys/vfs.h>
37197 rm -f conftest.
$ac_objext
37198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37199 (eval $ac_compile) 2>conftest.er1
37201 grep -v '^ *+' conftest.er1
>conftest.err
37203 cat conftest.err
>&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); } &&
37206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
37212 { ac_try
='test -s conftest.$ac_objext'
37213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37214 (eval $ac_try) 2>&5
37216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37217 (exit $ac_status); }; }; then
37218 wx_cv_func_statfs
=yes
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.
$ac_ext >&5
37223 wx_cv_func_statfs
=no
37226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37229 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37230 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37232 if test "$wx_cv_func_statfs" = "yes"; then
37233 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37234 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37235 if test "${wx_cv_func_statfs_decl+set}" = set; then
37236 echo $ECHO_N "(cached) $ECHO_C" >&6
37238 cat >conftest.
$ac_ext <<_ACEOF
37241 cat confdefs.h
>>conftest.
$ac_ext
37242 cat >>conftest.
$ac_ext <<_ACEOF
37243 /* end confdefs.h. */
37245 #if defined(__BSD__)
37246 #include <sys/param.h>
37247 #include <sys/mount.h>
37249 #include <sys/vfs.h>
37263 rm -f conftest.
$ac_objext
37264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37265 (eval $ac_compile) 2>conftest.er1
37267 grep -v '^ *+' conftest.er1
>conftest.err
37269 cat conftest.err
>&5
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); } &&
37272 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37274 (eval $ac_try) 2>&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); }; } &&
37278 { ac_try
='test -s conftest.$ac_objext'
37279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37280 (eval $ac_try) 2>&5
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); }; }; then
37284 wx_cv_func_statfs_decl
=yes
37286 echo "$as_me: failed program was:" >&5
37287 sed 's/^/| /' conftest.
$ac_ext >&5
37289 wx_cv_func_statfs_decl
=no
37292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37295 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37296 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37298 if test "$wx_cv_func_statfs_decl" = "yes"; then
37299 cat >>confdefs.h
<<\_ACEOF
37300 #define HAVE_STATFS_DECL 1
37305 wx_cv_type_statvfs_t
="struct statfs"
37306 cat >>confdefs.h
<<\_ACEOF
37307 #define HAVE_STATFS 1
37311 echo "$as_me:$LINENO: checking for statvfs" >&5
37312 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37313 if test "${wx_cv_func_statvfs+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37316 cat >conftest.
$ac_ext <<_ACEOF
37319 cat confdefs.h
>>conftest.
$ac_ext
37320 cat >>conftest.
$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37323 #include <stddef.h>
37324 #include <sys/statvfs.h>
37330 statvfs("/", NULL);
37336 rm -f conftest.
$ac_objext
37337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37338 (eval $ac_compile) 2>conftest.er1
37340 grep -v '^ *+' conftest.er1
>conftest.err
37342 cat conftest.err
>&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); } &&
37345 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347 (eval $ac_try) 2>&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); }; } &&
37351 { ac_try
='test -s conftest.$ac_objext'
37352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37353 (eval $ac_try) 2>&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); }; }; then
37357 wx_cv_func_statvfs
=yes
37359 echo "$as_me: failed program was:" >&5
37360 sed 's/^/| /' conftest.
$ac_ext >&5
37362 wx_cv_func_statvfs
=no
37365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37368 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37369 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37371 if test "$wx_cv_func_statvfs" = "yes"; then
37372 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37373 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37374 if test "${wx_cv_type_statvfs_t+set}" = set; then
37375 echo $ECHO_N "(cached) $ECHO_C" >&6
37377 cat >conftest.
$ac_ext <<_ACEOF
37380 cat confdefs.h
>>conftest.
$ac_ext
37381 cat >>conftest.
$ac_ext <<_ACEOF
37382 /* end confdefs.h. */
37384 #include <sys/statvfs.h>
37401 rm -f conftest.
$ac_objext
37402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37403 (eval $ac_compile) 2>conftest.er1
37405 grep -v '^ *+' conftest.er1
>conftest.err
37407 cat conftest.err
>&5
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); } &&
37410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; } &&
37416 { ac_try
='test -s conftest.$ac_objext'
37417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37418 (eval $ac_try) 2>&5
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); }; }; then
37422 wx_cv_type_statvfs_t
=statvfs_t
37424 echo "$as_me: failed program was:" >&5
37425 sed 's/^/| /' conftest.
$ac_ext >&5
37428 cat >conftest.
$ac_ext <<_ACEOF
37431 cat confdefs.h
>>conftest.
$ac_ext
37432 cat >>conftest.
$ac_ext <<_ACEOF
37433 /* end confdefs.h. */
37435 #include <sys/statvfs.h>
37452 rm -f conftest.
$ac_objext
37453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37454 (eval $ac_compile) 2>conftest.er1
37456 grep -v '^ *+' conftest.er1
>conftest.err
37458 cat conftest.err
>&5
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); } &&
37461 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37463 (eval $ac_try) 2>&5
37465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466 (exit $ac_status); }; } &&
37467 { ac_try
='test -s conftest.$ac_objext'
37468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37469 (eval $ac_try) 2>&5
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); }; }; then
37473 wx_cv_type_statvfs_t
="struct statvfs"
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.
$ac_ext >&5
37478 wx_cv_type_statvfs_t
="unknown"
37481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37488 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37489 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37491 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37492 cat >>confdefs.h
<<\_ACEOF
37493 #define HAVE_STATVFS 1
37498 wx_cv_type_statvfs_t
="unknown"
37502 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37503 cat >>confdefs.h
<<_ACEOF
37504 #define WX_STATFS_T $wx_cv_type_statvfs_t
37508 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37509 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37512 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37515 for ac_func
in fcntl flock
37517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37518 echo "$as_me:$LINENO: checking for $ac_func" >&5
37519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37520 if eval "test \"\${$as_ac_var+set}\" = set"; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 cat >conftest.
$ac_ext <<_ACEOF
37526 cat confdefs.h
>>conftest.
$ac_ext
37527 cat >>conftest.
$ac_ext <<_ACEOF
37528 /* end confdefs.h. */
37529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37531 #define $ac_func innocuous_$ac_func
37533 /* System header to define __stub macros and hopefully few prototypes,
37534 which can conflict with char $ac_func (); below.
37535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37536 <limits.h> exists even on freestanding compilers. */
37539 # include <limits.h>
37541 # include <assert.h>
37546 /* Override any gcc2 internal prototype to avoid an error. */
37551 /* We use char because int might match the return type of a gcc2
37552 builtin and then its argument prototype would still apply. */
37554 /* The GNU C library defines this for functions which it implements
37555 to always fail with ENOSYS. Some functions are actually named
37556 something starting with __ and the normal name is an alias. */
37557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37560 char (*f) () = $ac_func;
37569 return f != $ac_func;
37574 rm -f conftest.
$ac_objext conftest
$ac_exeext
37575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37576 (eval $ac_link) 2>conftest.er1
37578 grep -v '^ *+' conftest.er1
>conftest.err
37580 cat conftest.err
>&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } &&
37583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37585 (eval $ac_try) 2>&5
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); }; } &&
37589 { ac_try
='test -s conftest$ac_exeext'
37590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37591 (eval $ac_try) 2>&5
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); }; }; then
37595 eval "$as_ac_var=yes"
37597 echo "$as_me: failed program was:" >&5
37598 sed 's/^/| /' conftest.
$ac_ext >&5
37600 eval "$as_ac_var=no"
37602 rm -f conftest.err conftest.
$ac_objext \
37603 conftest
$ac_exeext conftest.
$ac_ext
37605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37607 if test `eval echo '${'$as_ac_var'}'` = yes; then
37608 cat >>confdefs.h
<<_ACEOF
37609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37616 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37617 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37618 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37619 wxUSE_SNGLINST_CHECKER
=no
37624 for ac_func
in timegm
37626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37627 echo "$as_me:$LINENO: checking for $ac_func" >&5
37628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37629 if eval "test \"\${$as_ac_var+set}\" = set"; then
37630 echo $ECHO_N "(cached) $ECHO_C" >&6
37632 cat >conftest.
$ac_ext <<_ACEOF
37635 cat confdefs.h
>>conftest.
$ac_ext
37636 cat >>conftest.
$ac_ext <<_ACEOF
37637 /* end confdefs.h. */
37638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37640 #define $ac_func innocuous_$ac_func
37642 /* System header to define __stub macros and hopefully few prototypes,
37643 which can conflict with char $ac_func (); below.
37644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37645 <limits.h> exists even on freestanding compilers. */
37648 # include <limits.h>
37650 # include <assert.h>
37655 /* Override any gcc2 internal prototype to avoid an error. */
37660 /* We use char because int might match the return type of a gcc2
37661 builtin and then its argument prototype would still apply. */
37663 /* The GNU C library defines this for functions which it implements
37664 to always fail with ENOSYS. Some functions are actually named
37665 something starting with __ and the normal name is an alias. */
37666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37669 char (*f) () = $ac_func;
37678 return f != $ac_func;
37683 rm -f conftest.
$ac_objext conftest
$ac_exeext
37684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37685 (eval $ac_link) 2>conftest.er1
37687 grep -v '^ *+' conftest.er1
>conftest.err
37689 cat conftest.err
>&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); } &&
37692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37694 (eval $ac_try) 2>&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); }; } &&
37698 { ac_try
='test -s conftest$ac_exeext'
37699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700 (eval $ac_try) 2>&5
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); }; }; then
37704 eval "$as_ac_var=yes"
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.
$ac_ext >&5
37709 eval "$as_ac_var=no"
37711 rm -f conftest.err conftest.
$ac_objext \
37712 conftest
$ac_exeext conftest.
$ac_ext
37714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37716 if test `eval echo '${'$as_ac_var'}'` = yes; then
37717 cat >>confdefs.h
<<_ACEOF
37718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37727 for ac_func
in putenv setenv
37729 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37730 echo "$as_me:$LINENO: checking for $ac_func" >&5
37731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37732 if eval "test \"\${$as_ac_var+set}\" = set"; then
37733 echo $ECHO_N "(cached) $ECHO_C" >&6
37735 cat >conftest.
$ac_ext <<_ACEOF
37738 cat confdefs.h
>>conftest.
$ac_ext
37739 cat >>conftest.
$ac_ext <<_ACEOF
37740 /* end confdefs.h. */
37741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37743 #define $ac_func innocuous_$ac_func
37745 /* System header to define __stub macros and hopefully few prototypes,
37746 which can conflict with char $ac_func (); below.
37747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37748 <limits.h> exists even on freestanding compilers. */
37751 # include <limits.h>
37753 # include <assert.h>
37758 /* Override any gcc2 internal prototype to avoid an error. */
37763 /* We use char because int might match the return type of a gcc2
37764 builtin and then its argument prototype would still apply. */
37766 /* The GNU C library defines this for functions which it implements
37767 to always fail with ENOSYS. Some functions are actually named
37768 something starting with __ and the normal name is an alias. */
37769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37772 char (*f) () = $ac_func;
37781 return f != $ac_func;
37786 rm -f conftest.
$ac_objext conftest
$ac_exeext
37787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37788 (eval $ac_link) 2>conftest.er1
37790 grep -v '^ *+' conftest.er1
>conftest.err
37792 cat conftest.err
>&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); } &&
37795 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37797 (eval $ac_try) 2>&5
37799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37800 (exit $ac_status); }; } &&
37801 { ac_try
='test -s conftest$ac_exeext'
37802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37803 (eval $ac_try) 2>&5
37805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37806 (exit $ac_status); }; }; then
37807 eval "$as_ac_var=yes"
37809 echo "$as_me: failed program was:" >&5
37810 sed 's/^/| /' conftest.
$ac_ext >&5
37812 eval "$as_ac_var=no"
37814 rm -f conftest.err conftest.
$ac_objext \
37815 conftest
$ac_exeext conftest.
$ac_ext
37817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37819 if test `eval echo '${'$as_ac_var'}'` = yes; then
37820 cat >>confdefs.h
<<_ACEOF
37821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37828 HAVE_SOME_SLEEP_FUNC
=0
37829 if test "$USE_BEOS" = 1; then
37830 cat >>confdefs.h
<<\_ACEOF
37831 #define HAVE_SLEEP 1
37834 HAVE_SOME_SLEEP_FUNC
=1
37837 if test "$USE_DARWIN" = 1; then
37838 cat >>confdefs.h
<<\_ACEOF
37839 #define HAVE_USLEEP 1
37842 HAVE_SOME_SLEEP_FUNC
=1
37845 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37848 for ac_func
in nanosleep
37850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37851 echo "$as_me:$LINENO: checking for $ac_func" >&5
37852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37853 if eval "test \"\${$as_ac_var+set}\" = set"; then
37854 echo $ECHO_N "(cached) $ECHO_C" >&6
37856 cat >conftest.
$ac_ext <<_ACEOF
37859 cat confdefs.h
>>conftest.
$ac_ext
37860 cat >>conftest.
$ac_ext <<_ACEOF
37861 /* end confdefs.h. */
37862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37864 #define $ac_func innocuous_$ac_func
37866 /* System header to define __stub macros and hopefully few prototypes,
37867 which can conflict with char $ac_func (); below.
37868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37869 <limits.h> exists even on freestanding compilers. */
37872 # include <limits.h>
37874 # include <assert.h>
37879 /* Override any gcc2 internal prototype to avoid an error. */
37884 /* We use char because int might match the return type of a gcc2
37885 builtin and then its argument prototype would still apply. */
37887 /* The GNU C library defines this for functions which it implements
37888 to always fail with ENOSYS. Some functions are actually named
37889 something starting with __ and the normal name is an alias. */
37890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37893 char (*f) () = $ac_func;
37902 return f != $ac_func;
37907 rm -f conftest.
$ac_objext conftest
$ac_exeext
37908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37909 (eval $ac_link) 2>conftest.er1
37911 grep -v '^ *+' conftest.er1
>conftest.err
37913 cat conftest.err
>&5
37914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915 (exit $ac_status); } &&
37916 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37918 (eval $ac_try) 2>&5
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); }; } &&
37922 { ac_try
='test -s conftest$ac_exeext'
37923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37924 (eval $ac_try) 2>&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); }; }; then
37928 eval "$as_ac_var=yes"
37930 echo "$as_me: failed program was:" >&5
37931 sed 's/^/| /' conftest.
$ac_ext >&5
37933 eval "$as_ac_var=no"
37935 rm -f conftest.err conftest.
$ac_objext \
37936 conftest
$ac_exeext conftest.
$ac_ext
37938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37940 if test `eval echo '${'$as_ac_var'}'` = yes; then
37941 cat >>confdefs.h
<<_ACEOF
37942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37944 cat >>confdefs.h
<<\_ACEOF
37945 #define HAVE_NANOSLEEP 1
37950 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37951 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37952 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37955 ac_check_lib_save_LIBS
=$LIBS
37956 LIBS
="-lposix4 $LIBS"
37957 cat >conftest.
$ac_ext <<_ACEOF
37960 cat confdefs.h
>>conftest.
$ac_ext
37961 cat >>conftest.
$ac_ext <<_ACEOF
37962 /* end confdefs.h. */
37964 /* Override any gcc2 internal prototype to avoid an error. */
37968 /* We use char because int might match the return type of a gcc2
37969 builtin and then its argument prototype would still apply. */
37979 rm -f conftest.
$ac_objext conftest
$ac_exeext
37980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37981 (eval $ac_link) 2>conftest.er1
37983 grep -v '^ *+' conftest.er1
>conftest.err
37985 cat conftest.err
>&5
37986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987 (exit $ac_status); } &&
37988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990 (eval $ac_try) 2>&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; } &&
37994 { ac_try
='test -s conftest$ac_exeext'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; }; then
38000 ac_cv_lib_posix4_nanosleep
=yes
38002 echo "$as_me: failed program was:" >&5
38003 sed 's/^/| /' conftest.
$ac_ext >&5
38005 ac_cv_lib_posix4_nanosleep
=no
38007 rm -f conftest.err conftest.
$ac_objext \
38008 conftest
$ac_exeext conftest.
$ac_ext
38009 LIBS
=$ac_check_lib_save_LIBS
38011 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38012 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38013 if test $ac_cv_lib_posix4_nanosleep = yes; then
38015 cat >>confdefs.h
<<\_ACEOF
38016 #define HAVE_NANOSLEEP 1
38019 POSIX4_LINK
=" -lposix4"
38024 for ac_func
in usleep
38026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38027 echo "$as_me:$LINENO: checking for $ac_func" >&5
38028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38029 if eval "test \"\${$as_ac_var+set}\" = set"; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 cat >conftest.
$ac_ext <<_ACEOF
38035 cat confdefs.h
>>conftest.
$ac_ext
38036 cat >>conftest.
$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38040 #define $ac_func innocuous_$ac_func
38042 /* System header to define __stub macros and hopefully few prototypes,
38043 which can conflict with char $ac_func (); below.
38044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38045 <limits.h> exists even on freestanding compilers. */
38048 # include <limits.h>
38050 # include <assert.h>
38055 /* Override any gcc2 internal prototype to avoid an error. */
38060 /* We use char because int might match the return type of a gcc2
38061 builtin and then its argument prototype would still apply. */
38063 /* The GNU C library defines this for functions which it implements
38064 to always fail with ENOSYS. Some functions are actually named
38065 something starting with __ and the normal name is an alias. */
38066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38069 char (*f) () = $ac_func;
38078 return f != $ac_func;
38083 rm -f conftest.
$ac_objext conftest
$ac_exeext
38084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38085 (eval $ac_link) 2>conftest.er1
38087 grep -v '^ *+' conftest.er1
>conftest.err
38089 cat conftest.err
>&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); } &&
38092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38094 (eval $ac_try) 2>&5
38096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38097 (exit $ac_status); }; } &&
38098 { ac_try
='test -s conftest$ac_exeext'
38099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38100 (eval $ac_try) 2>&5
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); }; }; then
38104 eval "$as_ac_var=yes"
38106 echo "$as_me: failed program was:" >&5
38107 sed 's/^/| /' conftest.
$ac_ext >&5
38109 eval "$as_ac_var=no"
38111 rm -f conftest.err conftest.
$ac_objext \
38112 conftest
$ac_exeext conftest.
$ac_ext
38114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38116 if test `eval echo '${'$as_ac_var'}'` = yes; then
38117 cat >>confdefs.h
<<_ACEOF
38118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38120 cat >>confdefs.h
<<\_ACEOF
38121 #define HAVE_USLEEP 1
38125 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38126 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38144 for ac_func
in uname gethostname
38146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38147 echo "$as_me:$LINENO: checking for $ac_func" >&5
38148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38149 if eval "test \"\${$as_ac_var+set}\" = set"; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 cat >conftest.
$ac_ext <<_ACEOF
38155 cat confdefs.h
>>conftest.
$ac_ext
38156 cat >>conftest.
$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38160 #define $ac_func innocuous_$ac_func
38162 /* System header to define __stub macros and hopefully few prototypes,
38163 which can conflict with char $ac_func (); below.
38164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38165 <limits.h> exists even on freestanding compilers. */
38168 # include <limits.h>
38170 # include <assert.h>
38175 /* Override any gcc2 internal prototype to avoid an error. */
38180 /* We use char because int might match the return type of a gcc2
38181 builtin and then its argument prototype would still apply. */
38183 /* The GNU C library defines this for functions which it implements
38184 to always fail with ENOSYS. Some functions are actually named
38185 something starting with __ and the normal name is an alias. */
38186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38189 char (*f) () = $ac_func;
38198 return f != $ac_func;
38203 rm -f conftest.
$ac_objext conftest
$ac_exeext
38204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38205 (eval $ac_link) 2>conftest.er1
38207 grep -v '^ *+' conftest.er1
>conftest.err
38209 cat conftest.err
>&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } &&
38212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38214 (eval $ac_try) 2>&5
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); }; } &&
38218 { ac_try
='test -s conftest$ac_exeext'
38219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38220 (eval $ac_try) 2>&5
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); }; }; then
38224 eval "$as_ac_var=yes"
38226 echo "$as_me: failed program was:" >&5
38227 sed 's/^/| /' conftest.
$ac_ext >&5
38229 eval "$as_ac_var=no"
38231 rm -f conftest.err conftest.
$ac_objext \
38232 conftest
$ac_exeext conftest.
$ac_ext
38234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38236 if test `eval echo '${'$as_ac_var'}'` = yes; then
38237 cat >>confdefs.h
<<_ACEOF
38238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38246 for wx_func
in strtok_r
38248 echo "$as_me:$LINENO: checking for $wx_func" >&5
38249 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38250 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38251 echo $ECHO_N "(cached) $ECHO_C" >&6
38254 cat >conftest.
$ac_ext <<_ACEOF
38258 cat confdefs.h
>>conftest.
$ac_ext
38259 cat >>conftest.
$ac_ext <<_ACEOF
38260 /* end confdefs.h. */
38263 $ac_includes_default
38279 rm -f conftest.
$ac_objext conftest
$ac_exeext
38280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38281 (eval $ac_link) 2>conftest.er1
38283 grep -v '^ *+' conftest.er1
>conftest.err
38285 cat conftest.err
>&5
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); } &&
38288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38290 (eval $ac_try) 2>&5
38292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38293 (exit $ac_status); }; } &&
38294 { ac_try
='test -s conftest$ac_exeext'
38295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38296 (eval $ac_try) 2>&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); }; }; then
38300 eval wx_cv_func_
$wx_func=yes
38302 echo "$as_me: failed program was:" >&5
38303 sed 's/^/| /' conftest.
$ac_ext >&5
38305 eval wx_cv_func_
$wx_func=no
38307 rm -f conftest.err conftest.
$ac_objext \
38308 conftest
$ac_exeext conftest.
$ac_ext
38311 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38312 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38314 if eval test \
$wx_cv_func_$wx_func = yes
38316 cat >>confdefs.h
<<_ACEOF
38317 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38330 for ac_func
in inet_addr
38332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38333 echo "$as_me:$LINENO: checking for $ac_func" >&5
38334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38335 if eval "test \"\${$as_ac_var+set}\" = set"; then
38336 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 cat >conftest.
$ac_ext <<_ACEOF
38341 cat confdefs.h
>>conftest.
$ac_ext
38342 cat >>conftest.
$ac_ext <<_ACEOF
38343 /* end confdefs.h. */
38344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38346 #define $ac_func innocuous_$ac_func
38348 /* System header to define __stub macros and hopefully few prototypes,
38349 which can conflict with char $ac_func (); below.
38350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38351 <limits.h> exists even on freestanding compilers. */
38354 # include <limits.h>
38356 # include <assert.h>
38361 /* Override any gcc2 internal prototype to avoid an error. */
38366 /* We use char because int might match the return type of a gcc2
38367 builtin and then its argument prototype would still apply. */
38369 /* The GNU C library defines this for functions which it implements
38370 to always fail with ENOSYS. Some functions are actually named
38371 something starting with __ and the normal name is an alias. */
38372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38375 char (*f) () = $ac_func;
38384 return f != $ac_func;
38389 rm -f conftest.
$ac_objext conftest
$ac_exeext
38390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38391 (eval $ac_link) 2>conftest.er1
38393 grep -v '^ *+' conftest.er1
>conftest.err
38395 cat conftest.err
>&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } &&
38398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38400 (eval $ac_try) 2>&5
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); }; } &&
38404 { ac_try
='test -s conftest$ac_exeext'
38405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38406 (eval $ac_try) 2>&5
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); }; }; then
38410 eval "$as_ac_var=yes"
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.
$ac_ext >&5
38415 eval "$as_ac_var=no"
38417 rm -f conftest.err conftest.
$ac_objext \
38418 conftest
$ac_exeext conftest.
$ac_ext
38420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38422 if test `eval echo '${'$as_ac_var'}'` = yes; then
38423 cat >>confdefs.h
<<_ACEOF
38424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38426 cat >>confdefs.h
<<\_ACEOF
38427 #define HAVE_INET_ADDR 1
38432 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38433 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38434 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38435 echo $ECHO_N "(cached) $ECHO_C" >&6
38437 ac_check_lib_save_LIBS
=$LIBS
38439 cat >conftest.
$ac_ext <<_ACEOF
38442 cat confdefs.h
>>conftest.
$ac_ext
38443 cat >>conftest.
$ac_ext <<_ACEOF
38444 /* end confdefs.h. */
38446 /* Override any gcc2 internal prototype to avoid an error. */
38450 /* We use char because int might match the return type of a gcc2
38451 builtin and then its argument prototype would still apply. */
38461 rm -f conftest.
$ac_objext conftest
$ac_exeext
38462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38463 (eval $ac_link) 2>conftest.er1
38465 grep -v '^ *+' conftest.er1
>conftest.err
38467 cat conftest.err
>&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } &&
38470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38472 (eval $ac_try) 2>&5
38474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38475 (exit $ac_status); }; } &&
38476 { ac_try
='test -s conftest$ac_exeext'
38477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38478 (eval $ac_try) 2>&5
38480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481 (exit $ac_status); }; }; then
38482 ac_cv_lib_nsl_inet_addr
=yes
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.
$ac_ext >&5
38487 ac_cv_lib_nsl_inet_addr
=no
38489 rm -f conftest.err conftest.
$ac_objext \
38490 conftest
$ac_exeext conftest.
$ac_ext
38491 LIBS
=$ac_check_lib_save_LIBS
38493 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38494 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38495 if test $ac_cv_lib_nsl_inet_addr = yes; then
38499 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38500 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38501 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38502 echo $ECHO_N "(cached) $ECHO_C" >&6
38504 ac_check_lib_save_LIBS
=$LIBS
38505 LIBS
="-lresolv $LIBS"
38506 cat >conftest.
$ac_ext <<_ACEOF
38509 cat confdefs.h
>>conftest.
$ac_ext
38510 cat >>conftest.
$ac_ext <<_ACEOF
38511 /* end confdefs.h. */
38513 /* Override any gcc2 internal prototype to avoid an error. */
38517 /* We use char because int might match the return type of a gcc2
38518 builtin and then its argument prototype would still apply. */
38528 rm -f conftest.
$ac_objext conftest
$ac_exeext
38529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38530 (eval $ac_link) 2>conftest.er1
38532 grep -v '^ *+' conftest.er1
>conftest.err
38534 cat conftest.err
>&5
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); } &&
38537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38539 (eval $ac_try) 2>&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); }; } &&
38543 { ac_try
='test -s conftest$ac_exeext'
38544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38545 (eval $ac_try) 2>&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); }; }; then
38549 ac_cv_lib_resolv_inet_addr
=yes
38551 echo "$as_me: failed program was:" >&5
38552 sed 's/^/| /' conftest.
$ac_ext >&5
38554 ac_cv_lib_resolv_inet_addr
=no
38556 rm -f conftest.err conftest.
$ac_objext \
38557 conftest
$ac_exeext conftest.
$ac_ext
38558 LIBS
=$ac_check_lib_save_LIBS
38560 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38561 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38562 if test $ac_cv_lib_resolv_inet_addr = yes; then
38566 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38567 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38568 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38571 ac_check_lib_save_LIBS
=$LIBS
38572 LIBS
="-lsocket $LIBS"
38573 cat >conftest.
$ac_ext <<_ACEOF
38576 cat confdefs.h
>>conftest.
$ac_ext
38577 cat >>conftest.
$ac_ext <<_ACEOF
38578 /* end confdefs.h. */
38580 /* Override any gcc2 internal prototype to avoid an error. */
38584 /* We use char because int might match the return type of a gcc2
38585 builtin and then its argument prototype would still apply. */
38595 rm -f conftest.
$ac_objext conftest
$ac_exeext
38596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38597 (eval $ac_link) 2>conftest.er1
38599 grep -v '^ *+' conftest.er1
>conftest.err
38601 cat conftest.err
>&5
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); } &&
38604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; } &&
38610 { ac_try
='test -s conftest$ac_exeext'
38611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38612 (eval $ac_try) 2>&5
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); }; }; then
38616 ac_cv_lib_socket_inet_addr
=yes
38618 echo "$as_me: failed program was:" >&5
38619 sed 's/^/| /' conftest.
$ac_ext >&5
38621 ac_cv_lib_socket_inet_addr
=no
38623 rm -f conftest.err conftest.
$ac_objext \
38624 conftest
$ac_exeext conftest.
$ac_ext
38625 LIBS
=$ac_check_lib_save_LIBS
38627 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38628 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38629 if test $ac_cv_lib_socket_inet_addr = yes; then
38649 for ac_func
in inet_aton
38651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38652 echo "$as_me:$LINENO: checking for $ac_func" >&5
38653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38654 if eval "test \"\${$as_ac_var+set}\" = set"; then
38655 echo $ECHO_N "(cached) $ECHO_C" >&6
38657 cat >conftest.
$ac_ext <<_ACEOF
38660 cat confdefs.h
>>conftest.
$ac_ext
38661 cat >>conftest.
$ac_ext <<_ACEOF
38662 /* end confdefs.h. */
38663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38665 #define $ac_func innocuous_$ac_func
38667 /* System header to define __stub macros and hopefully few prototypes,
38668 which can conflict with char $ac_func (); below.
38669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38670 <limits.h> exists even on freestanding compilers. */
38673 # include <limits.h>
38675 # include <assert.h>
38680 /* Override any gcc2 internal prototype to avoid an error. */
38685 /* We use char because int might match the return type of a gcc2
38686 builtin and then its argument prototype would still apply. */
38688 /* The GNU C library defines this for functions which it implements
38689 to always fail with ENOSYS. Some functions are actually named
38690 something starting with __ and the normal name is an alias. */
38691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38694 char (*f) () = $ac_func;
38703 return f != $ac_func;
38708 rm -f conftest.
$ac_objext conftest
$ac_exeext
38709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38710 (eval $ac_link) 2>conftest.er1
38712 grep -v '^ *+' conftest.er1
>conftest.err
38714 cat conftest.err
>&5
38715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38716 (exit $ac_status); } &&
38717 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; } &&
38723 { ac_try
='test -s conftest$ac_exeext'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; }; then
38729 eval "$as_ac_var=yes"
38731 echo "$as_me: failed program was:" >&5
38732 sed 's/^/| /' conftest.
$ac_ext >&5
38734 eval "$as_ac_var=no"
38736 rm -f conftest.err conftest.
$ac_objext \
38737 conftest
$ac_exeext conftest.
$ac_ext
38739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38741 if test `eval echo '${'$as_ac_var'}'` = yes; then
38742 cat >>confdefs.h
<<_ACEOF
38743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38745 cat >>confdefs.h
<<\_ACEOF
38746 #define HAVE_INET_ATON 1
38751 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38752 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38753 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38754 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38755 echo $ECHO_N "(cached) $ECHO_C" >&6
38757 ac_check_lib_save_LIBS
=$LIBS
38758 LIBS
="-l$INET_LINK $LIBS"
38759 cat >conftest.
$ac_ext <<_ACEOF
38762 cat confdefs.h
>>conftest.
$ac_ext
38763 cat >>conftest.
$ac_ext <<_ACEOF
38764 /* end confdefs.h. */
38766 /* Override any gcc2 internal prototype to avoid an error. */
38770 /* We use char because int might match the return type of a gcc2
38771 builtin and then its argument prototype would still apply. */
38781 rm -f conftest.
$ac_objext conftest
$ac_exeext
38782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38783 (eval $ac_link) 2>conftest.er1
38785 grep -v '^ *+' conftest.er1
>conftest.err
38787 cat conftest.err
>&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } &&
38790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38792 (eval $ac_try) 2>&5
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); }; } &&
38796 { ac_try
='test -s conftest$ac_exeext'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; }; then
38802 eval "$as_ac_Lib=yes"
38804 echo "$as_me: failed program was:" >&5
38805 sed 's/^/| /' conftest.
$ac_ext >&5
38807 eval "$as_ac_Lib=no"
38809 rm -f conftest.err conftest.
$ac_objext \
38810 conftest
$ac_exeext conftest.
$ac_ext
38811 LIBS
=$ac_check_lib_save_LIBS
38813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38814 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38815 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38816 cat >>confdefs.h
<<\_ACEOF
38817 #define HAVE_INET_ATON 1
38827 if test "x$INET_LINK" != "x"; then
38828 cat >>confdefs.h
<<\_ACEOF
38829 #define HAVE_INET_ADDR 1
38832 INET_LINK
=" -l$INET_LINK"
38836 for wx_func
in fdopen
38838 echo "$as_me:$LINENO: checking for $wx_func" >&5
38839 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38840 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38841 echo $ECHO_N "(cached) $ECHO_C" >&6
38844 cat >conftest.
$ac_ext <<_ACEOF
38848 cat confdefs.h
>>conftest.
$ac_ext
38849 cat >>conftest.
$ac_ext <<_ACEOF
38850 /* end confdefs.h. */
38853 $ac_includes_default
38869 rm -f conftest.
$ac_objext conftest
$ac_exeext
38870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38871 (eval $ac_link) 2>conftest.er1
38873 grep -v '^ *+' conftest.er1
>conftest.err
38875 cat conftest.err
>&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); } &&
38878 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38880 (eval $ac_try) 2>&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); }; } &&
38884 { ac_try
='test -s conftest$ac_exeext'
38885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38886 (eval $ac_try) 2>&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); }; }; then
38890 eval wx_cv_func_
$wx_func=yes
38892 echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.
$ac_ext >&5
38895 eval wx_cv_func_
$wx_func=no
38897 rm -f conftest.err conftest.
$ac_objext \
38898 conftest
$ac_exeext conftest.
$ac_ext
38901 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38902 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38904 if eval test \
$wx_cv_func_$wx_func = yes
38906 cat >>confdefs.h
<<_ACEOF
38907 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38924 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38925 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38926 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38927 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 ac_check_lib_save_LIBS
=$LIBS
38931 cat >conftest.
$ac_ext <<_ACEOF
38934 cat confdefs.h
>>conftest.
$ac_ext
38935 cat >>conftest.
$ac_ext <<_ACEOF
38936 /* end confdefs.h. */
38938 /* Override any gcc2 internal prototype to avoid an error. */
38942 /* We use char because int might match the return type of a gcc2
38943 builtin and then its argument prototype would still apply. */
38953 rm -f conftest.
$ac_objext conftest
$ac_exeext
38954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38955 (eval $ac_link) 2>conftest.er1
38957 grep -v '^ *+' conftest.er1
>conftest.err
38959 cat conftest.err
>&5
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); } &&
38962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38964 (eval $ac_try) 2>&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); }; } &&
38968 { ac_try
='test -s conftest$ac_exeext'
38969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38970 (eval $ac_try) 2>&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); }; }; then
38974 ac_cv_lib_esd_esd_close
=yes
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.
$ac_ext >&5
38979 ac_cv_lib_esd_esd_close
=no
38981 rm -f conftest.err conftest.
$ac_objext \
38982 conftest
$ac_exeext conftest.
$ac_ext
38983 LIBS
=$ac_check_lib_save_LIBS
38985 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38986 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38987 if test $ac_cv_lib_esd_esd_close = yes; then
38990 for ac_header
in esd.h
38992 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38994 echo "$as_me:$LINENO: checking for $ac_header" >&5
38995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38997 echo $ECHO_N "(cached) $ECHO_C" >&6
38999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39002 # Is the header compilable?
39003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39005 cat >conftest.
$ac_ext <<_ACEOF
39008 cat confdefs.h
>>conftest.
$ac_ext
39009 cat >>conftest.
$ac_ext <<_ACEOF
39010 /* end confdefs.h. */
39011 $ac_includes_default
39012 #include <$ac_header>
39014 rm -f conftest.
$ac_objext
39015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39016 (eval $ac_compile) 2>conftest.er1
39018 grep -v '^ *+' conftest.er1
>conftest.err
39020 cat conftest.err
>&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); } &&
39023 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025 (eval $ac_try) 2>&5
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; } &&
39029 { ac_try
='test -s conftest.$ac_objext'
39030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39031 (eval $ac_try) 2>&5
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); }; }; then
39035 ac_header_compiler
=yes
39037 echo "$as_me: failed program was:" >&5
39038 sed 's/^/| /' conftest.
$ac_ext >&5
39040 ac_header_compiler
=no
39042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39044 echo "${ECHO_T}$ac_header_compiler" >&6
39046 # Is the header present?
39047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39049 cat >conftest.
$ac_ext <<_ACEOF
39052 cat confdefs.h
>>conftest.
$ac_ext
39053 cat >>conftest.
$ac_ext <<_ACEOF
39054 /* end confdefs.h. */
39055 #include <$ac_header>
39057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39060 grep -v '^ *+' conftest.er1
>conftest.err
39062 cat conftest.err
>&5
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); } >/dev
/null
; then
39065 if test -s conftest.err
; then
39066 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39067 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39074 if test -z "$ac_cpp_err"; then
39075 ac_header_preproc
=yes
39077 echo "$as_me: failed program was:" >&5
39078 sed 's/^/| /' conftest.
$ac_ext >&5
39080 ac_header_preproc
=no
39082 rm -f conftest.err conftest.
$ac_ext
39083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39084 echo "${ECHO_T}$ac_header_preproc" >&6
39086 # So? What about this header?
39087 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39093 ac_header_preproc
=yes
39096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39110 ## ----------------------------------------- ##
39111 ## Report this to wx-dev@lists.wxwidgets.org ##
39112 ## ----------------------------------------- ##
39115 sed "s/^/$as_me: WARNING: /" >&2
39118 echo "$as_me:$LINENO: checking for $ac_header" >&5
39119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39121 echo $ECHO_N "(cached) $ECHO_C" >&6
39123 eval "$as_ac_Header=\$ac_header_preproc"
39125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39130 cat >>confdefs.h
<<_ACEOF
39131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39134 EXTRALIBS_ESD
="-lesd"
39145 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39146 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39147 cat >conftest.
$ac_ext <<_ACEOF
39150 cat confdefs.h
>>conftest.
$ac_ext
39151 cat >>conftest.
$ac_ext <<_ACEOF
39152 /* end confdefs.h. */
39154 #include <linux/cdrom.h>
39157 #include <sys/cdio.h>
39163 struct cdrom_tocentry entry, old_entry;
39168 rm -f conftest.
$ac_objext
39169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39170 (eval $ac_compile) 2>conftest.er1
39172 grep -v '^ *+' conftest.er1
>conftest.err
39174 cat conftest.err
>&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } &&
39177 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39179 (eval $ac_try) 2>&5
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); }; } &&
39183 { ac_try
='test -s conftest.$ac_objext'
39184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39185 (eval $ac_try) 2>&5
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); }; }; then
39189 echo "$as_me:$LINENO: result: yes" >&5
39190 echo "${ECHO_T}yes" >&6
39191 cat >>confdefs.h
<<\_ACEOF
39192 #define HAVE_KNOWN_CDROM_INTERFACE 1
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.
$ac_ext >&5
39199 echo "$as_me:$LINENO: result: no" >&5
39200 echo "${ECHO_T}no" >&6
39202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39205 cat >confcache
<<\_ACEOF
39206 # This file is a shell script that caches the results of configure
39207 # tests run on this system so they can be shared between configure
39208 # scripts and configure runs, see configure's option --config-cache.
39209 # It is not useful on other systems. If it contains results you don't
39210 # want to keep, you may remove or edit it.
39212 # config.status only pays attention to the cache file if you give it
39213 # the --recheck option to rerun configure.
39215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39217 # following values.
39221 # The following way of writing the cache mishandles newlines in values,
39222 # but we know of no workaround that is simple, portable, and efficient.
39223 # So, don't put newlines in cache variables' values.
39224 # Ultrix sh set writes to stderr and can't be redirected directly,
39225 # and sets the high bit in the cache file unless we assign to the vars.
39228 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39230 # `set' does not quote correctly, so add quotes (double-quote
39231 # substitution turns \\\\ into \\, and sed turns \\ into \).
39234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39237 # `set' quotes correctly as required by POSIX, so do not add quotes.
39239 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39246 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39248 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39250 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39251 if test -w $cache_file; then
39252 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39253 cat confcache
>$cache_file
39255 echo "not updating unwritable cache $cache_file"
39261 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39267 if test "$wxUSE_THREADS" = "yes" ; then
39268 if test "$USE_BEOS" = 1; then
39269 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39270 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39275 if test "$wxUSE_THREADS" = "yes" ; then
39278 THREAD_OPTS
="-pthread"
39280 *-*-solaris2* | *-*-sunos4* )
39281 if test "x$GCC" = "xyes"; then
39282 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39284 THREAD_OPTS
="-mt $THREAD_OPTS"
39288 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39290 *-*-darwin* | *-*-cygwin* )
39294 THREAD_OPTS
="pthreads"
39297 if test "x$GCC" = "xyes"; then
39298 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39306 if test "x$GCC" = "xyes"; then
39312 if test "x$GCC" != "xyes"; then
39313 THREAD_OPTS
="-Ethread"
39318 THREAD_OPTS
="$THREAD_OPTS pthread none"
39321 for flag
in $THREAD_OPTS; do
39324 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39325 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39329 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39330 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39331 THREADS_CXXFLAGS
="$flag"
39335 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39336 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39337 THREADS_LINK
="-l$flag"
39342 save_CXXFLAGS
="$CXXFLAGS"
39343 LIBS
="$THREADS_LINK $LIBS"
39344 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
39346 cat >conftest.
$ac_ext <<_ACEOF
39349 cat confdefs.h
>>conftest.
$ac_ext
39350 cat >>conftest.
$ac_ext <<_ACEOF
39351 /* end confdefs.h. */
39352 #include <pthread.h>
39356 pthread_create(0,0,0,0);
39361 rm -f conftest.
$ac_objext conftest
$ac_exeext
39362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39363 (eval $ac_link) 2>conftest.er1
39365 grep -v '^ *+' conftest.er1
>conftest.err
39367 cat conftest.err
>&5
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); } &&
39370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39372 (eval $ac_try) 2>&5
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); }; } &&
39376 { ac_try
='test -s conftest$ac_exeext'
39377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39378 (eval $ac_try) 2>&5
39380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39381 (exit $ac_status); }; }; then
39384 echo "$as_me: failed program was:" >&5
39385 sed 's/^/| /' conftest.
$ac_ext >&5
39388 rm -f conftest.err conftest.
$ac_objext \
39389 conftest
$ac_exeext conftest.
$ac_ext
39392 CXXFLAGS
="$save_CXXFLAGS"
39394 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39395 echo "${ECHO_T}$THREADS_OK" >&6
39396 if test "x$THREADS_OK" = "xyes"; then
39401 THREADS_CXXFLAGS
=""
39404 if test "x$THREADS_OK" != "xyes"; then
39406 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39407 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39409 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39410 LIBS
="$THREADS_LINK $LIBS"
39412 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39413 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39417 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39418 flag
="-D_THREAD_SAFE"
39421 flag
="-D_THREAD_SAFE"
39424 flag
="-D_REENTRANT"
39425 if test "x$GCC" != "xyes"; then
39426 flag
="$flag -D_RWSTD_MULTI_THREAD"
39429 *solaris
* | alpha
*-osf*)
39430 flag
="-D_REENTRANT"
39433 echo "$as_me:$LINENO: result: ${flag}" >&5
39434 echo "${ECHO_T}${flag}" >&6
39435 if test "x$flag" != xno
; then
39436 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39439 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39443 if test "$wxUSE_THREADS" = "yes" ; then
39445 for ac_func
in thr_setconcurrency
39447 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39448 echo "$as_me:$LINENO: checking for $ac_func" >&5
39449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39450 if eval "test \"\${$as_ac_var+set}\" = set"; then
39451 echo $ECHO_N "(cached) $ECHO_C" >&6
39453 cat >conftest.
$ac_ext <<_ACEOF
39456 cat confdefs.h
>>conftest.
$ac_ext
39457 cat >>conftest.
$ac_ext <<_ACEOF
39458 /* end confdefs.h. */
39459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39461 #define $ac_func innocuous_$ac_func
39463 /* System header to define __stub macros and hopefully few prototypes,
39464 which can conflict with char $ac_func (); below.
39465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39466 <limits.h> exists even on freestanding compilers. */
39469 # include <limits.h>
39471 # include <assert.h>
39476 /* Override any gcc2 internal prototype to avoid an error. */
39481 /* We use char because int might match the return type of a gcc2
39482 builtin and then its argument prototype would still apply. */
39484 /* The GNU C library defines this for functions which it implements
39485 to always fail with ENOSYS. Some functions are actually named
39486 something starting with __ and the normal name is an alias. */
39487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39490 char (*f) () = $ac_func;
39499 return f != $ac_func;
39504 rm -f conftest.
$ac_objext conftest
$ac_exeext
39505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39506 (eval $ac_link) 2>conftest.er1
39508 grep -v '^ *+' conftest.er1
>conftest.err
39510 cat conftest.err
>&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } &&
39513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515 (eval $ac_try) 2>&5
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); }; } &&
39519 { ac_try
='test -s conftest$ac_exeext'
39520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39521 (eval $ac_try) 2>&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); }; }; then
39525 eval "$as_ac_var=yes"
39527 echo "$as_me: failed program was:" >&5
39528 sed 's/^/| /' conftest.
$ac_ext >&5
39530 eval "$as_ac_var=no"
39532 rm -f conftest.err conftest.
$ac_objext \
39533 conftest
$ac_exeext conftest.
$ac_ext
39535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39537 if test `eval echo '${'$as_ac_var'}'` = yes; then
39538 cat >>confdefs.h
<<_ACEOF
39539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39546 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39547 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39548 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39549 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 cat >conftest.
$ac_ext <<_ACEOF
39555 cat confdefs.h
>>conftest.
$ac_ext
39556 cat >>conftest.
$ac_ext <<_ACEOF
39557 /* end confdefs.h. */
39558 #include <pthread.h>
39559 void ThreadCleanupFunc(void *p);
39566 pthread_cleanup_push(ThreadCleanupFunc, p);
39567 pthread_cleanup_pop(0);
39573 rm -f conftest.
$ac_objext
39574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39575 (eval $ac_compile) 2>conftest.er1
39577 grep -v '^ *+' conftest.er1
>conftest.err
39579 cat conftest.err
>&5
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); } &&
39582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
39588 { ac_try
='test -s conftest.$ac_objext'
39589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39590 (eval $ac_try) 2>&5
39592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593 (exit $ac_status); }; }; then
39595 wx_cv_func_pthread_cleanup
=yes
39598 echo "$as_me: failed program was:" >&5
39599 sed 's/^/| /' conftest.
$ac_ext >&5
39602 wx_cv_func_pthread_cleanup
=no
39606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39609 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39610 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39611 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39612 cat >>confdefs.h
<<\_ACEOF
39613 #define wxHAVE_PTHREAD_CLEANUP 1
39619 for ac_header
in sched.h
39621 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39623 echo "$as_me:$LINENO: checking for $ac_header" >&5
39624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39626 echo $ECHO_N "(cached) $ECHO_C" >&6
39628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39631 # Is the header compilable?
39632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39634 cat >conftest.
$ac_ext <<_ACEOF
39637 cat confdefs.h
>>conftest.
$ac_ext
39638 cat >>conftest.
$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640 $ac_includes_default
39641 #include <$ac_header>
39643 rm -f conftest.
$ac_objext
39644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39645 (eval $ac_compile) 2>conftest.er1
39647 grep -v '^ *+' conftest.er1
>conftest.err
39649 cat conftest.err
>&5
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); } &&
39652 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; } &&
39658 { ac_try
='test -s conftest.$ac_objext'
39659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660 (eval $ac_try) 2>&5
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); }; }; then
39664 ac_header_compiler
=yes
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.
$ac_ext >&5
39669 ac_header_compiler
=no
39671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39673 echo "${ECHO_T}$ac_header_compiler" >&6
39675 # Is the header present?
39676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39678 cat >conftest.
$ac_ext <<_ACEOF
39681 cat confdefs.h
>>conftest.
$ac_ext
39682 cat >>conftest.
$ac_ext <<_ACEOF
39683 /* end confdefs.h. */
39684 #include <$ac_header>
39686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39687 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39689 grep -v '^ *+' conftest.er1
>conftest.err
39691 cat conftest.err
>&5
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); } >/dev
/null
; then
39694 if test -s conftest.err
; then
39695 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39696 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39703 if test -z "$ac_cpp_err"; then
39704 ac_header_preproc
=yes
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.
$ac_ext >&5
39709 ac_header_preproc
=no
39711 rm -f conftest.err conftest.
$ac_ext
39712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39713 echo "${ECHO_T}$ac_header_preproc" >&6
39715 # So? What about this header?
39716 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39722 ac_header_preproc
=yes
39725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39739 ## ----------------------------------------- ##
39740 ## Report this to wx-dev@lists.wxwidgets.org ##
39741 ## ----------------------------------------- ##
39744 sed "s/^/$as_me: WARNING: /" >&2
39747 echo "$as_me:$LINENO: checking for $ac_header" >&5
39748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39750 echo $ECHO_N "(cached) $ECHO_C" >&6
39752 eval "$as_ac_Header=\$ac_header_preproc"
39754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39759 cat >>confdefs.h
<<_ACEOF
39760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39767 if test "$ac_cv_header_sched_h" = "yes"; then
39768 echo "$as_me:$LINENO: checking for sched_yield" >&5
39769 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39770 if test "${ac_cv_func_sched_yield+set}" = set; then
39771 echo $ECHO_N "(cached) $ECHO_C" >&6
39773 cat >conftest.
$ac_ext <<_ACEOF
39776 cat confdefs.h
>>conftest.
$ac_ext
39777 cat >>conftest.
$ac_ext <<_ACEOF
39778 /* end confdefs.h. */
39779 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39781 #define sched_yield innocuous_sched_yield
39783 /* System header to define __stub macros and hopefully few prototypes,
39784 which can conflict with char sched_yield (); below.
39785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39786 <limits.h> exists even on freestanding compilers. */
39789 # include <limits.h>
39791 # include <assert.h>
39796 /* Override any gcc2 internal prototype to avoid an error. */
39801 /* We use char because int might match the return type of a gcc2
39802 builtin and then its argument prototype would still apply. */
39803 char sched_yield ();
39804 /* The GNU C library defines this for functions which it implements
39805 to always fail with ENOSYS. Some functions are actually named
39806 something starting with __ and the normal name is an alias. */
39807 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39810 char (*f) () = sched_yield;
39819 return f != sched_yield;
39824 rm -f conftest.
$ac_objext conftest
$ac_exeext
39825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39826 (eval $ac_link) 2>conftest.er1
39828 grep -v '^ *+' conftest.er1
>conftest.err
39830 cat conftest.err
>&5
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); } &&
39833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39835 (eval $ac_try) 2>&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); }; } &&
39839 { ac_try
='test -s conftest$ac_exeext'
39840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39841 (eval $ac_try) 2>&5
39843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844 (exit $ac_status); }; }; then
39845 ac_cv_func_sched_yield
=yes
39847 echo "$as_me: failed program was:" >&5
39848 sed 's/^/| /' conftest.
$ac_ext >&5
39850 ac_cv_func_sched_yield
=no
39852 rm -f conftest.err conftest.
$ac_objext \
39853 conftest
$ac_exeext conftest.
$ac_ext
39855 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39856 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39857 if test $ac_cv_func_sched_yield = yes; then
39858 cat >>confdefs.h
<<\_ACEOF
39859 #define HAVE_SCHED_YIELD 1
39864 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39865 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39866 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39867 echo $ECHO_N "(cached) $ECHO_C" >&6
39869 ac_check_lib_save_LIBS
=$LIBS
39870 LIBS
="-lposix4 $LIBS"
39871 cat >conftest.
$ac_ext <<_ACEOF
39874 cat confdefs.h
>>conftest.
$ac_ext
39875 cat >>conftest.
$ac_ext <<_ACEOF
39876 /* end confdefs.h. */
39878 /* Override any gcc2 internal prototype to avoid an error. */
39882 /* We use char because int might match the return type of a gcc2
39883 builtin and then its argument prototype would still apply. */
39884 char sched_yield ();
39893 rm -f conftest.
$ac_objext conftest
$ac_exeext
39894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39895 (eval $ac_link) 2>conftest.er1
39897 grep -v '^ *+' conftest.er1
>conftest.err
39899 cat conftest.err
>&5
39900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39901 (exit $ac_status); } &&
39902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39904 (eval $ac_try) 2>&5
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); }; } &&
39908 { ac_try
='test -s conftest$ac_exeext'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; }; then
39914 ac_cv_lib_posix4_sched_yield
=yes
39916 echo "$as_me: failed program was:" >&5
39917 sed 's/^/| /' conftest.
$ac_ext >&5
39919 ac_cv_lib_posix4_sched_yield
=no
39921 rm -f conftest.err conftest.
$ac_objext \
39922 conftest
$ac_exeext conftest.
$ac_ext
39923 LIBS
=$ac_check_lib_save_LIBS
39925 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39926 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39927 if test $ac_cv_lib_posix4_sched_yield = yes; then
39928 cat >>confdefs.h
<<\_ACEOF
39929 #define HAVE_SCHED_YIELD 1
39931 POSIX4_LINK
=" -lposix4"
39933 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39934 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39945 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39946 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39947 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39950 cat >conftest.
$ac_ext <<_ACEOF
39953 cat confdefs.h
>>conftest.
$ac_ext
39954 cat >>conftest.
$ac_ext <<_ACEOF
39955 /* end confdefs.h. */
39956 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39958 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39960 /* System header to define __stub macros and hopefully few prototypes,
39961 which can conflict with char pthread_attr_getschedpolicy (); below.
39962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39963 <limits.h> exists even on freestanding compilers. */
39966 # include <limits.h>
39968 # include <assert.h>
39971 #undef pthread_attr_getschedpolicy
39973 /* Override any gcc2 internal prototype to avoid an error. */
39978 /* We use char because int might match the return type of a gcc2
39979 builtin and then its argument prototype would still apply. */
39980 char pthread_attr_getschedpolicy ();
39981 /* The GNU C library defines this for functions which it implements
39982 to always fail with ENOSYS. Some functions are actually named
39983 something starting with __ and the normal name is an alias. */
39984 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39987 char (*f) () = pthread_attr_getschedpolicy;
39996 return f != pthread_attr_getschedpolicy;
40001 rm -f conftest.
$ac_objext conftest
$ac_exeext
40002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40003 (eval $ac_link) 2>conftest.er1
40005 grep -v '^ *+' conftest.er1
>conftest.err
40007 cat conftest.err
>&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } &&
40010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40012 (eval $ac_try) 2>&5
40014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015 (exit $ac_status); }; } &&
40016 { ac_try
='test -s conftest$ac_exeext'
40017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40018 (eval $ac_try) 2>&5
40020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40021 (exit $ac_status); }; }; then
40022 ac_cv_func_pthread_attr_getschedpolicy
=yes
40024 echo "$as_me: failed program was:" >&5
40025 sed 's/^/| /' conftest.
$ac_ext >&5
40027 ac_cv_func_pthread_attr_getschedpolicy
=no
40029 rm -f conftest.err conftest.
$ac_objext \
40030 conftest
$ac_exeext conftest.
$ac_ext
40032 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40033 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40034 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40035 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40036 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40037 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40038 echo $ECHO_N "(cached) $ECHO_C" >&6
40040 cat >conftest.
$ac_ext <<_ACEOF
40043 cat confdefs.h
>>conftest.
$ac_ext
40044 cat >>conftest.
$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40046 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40048 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40050 /* System header to define __stub macros and hopefully few prototypes,
40051 which can conflict with char pthread_attr_setschedparam (); below.
40052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40053 <limits.h> exists even on freestanding compilers. */
40056 # include <limits.h>
40058 # include <assert.h>
40061 #undef pthread_attr_setschedparam
40063 /* Override any gcc2 internal prototype to avoid an error. */
40068 /* We use char because int might match the return type of a gcc2
40069 builtin and then its argument prototype would still apply. */
40070 char pthread_attr_setschedparam ();
40071 /* The GNU C library defines this for functions which it implements
40072 to always fail with ENOSYS. Some functions are actually named
40073 something starting with __ and the normal name is an alias. */
40074 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40077 char (*f) () = pthread_attr_setschedparam;
40086 return f != pthread_attr_setschedparam;
40091 rm -f conftest.
$ac_objext conftest
$ac_exeext
40092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40093 (eval $ac_link) 2>conftest.er1
40095 grep -v '^ *+' conftest.er1
>conftest.err
40097 cat conftest.err
>&5
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); } &&
40100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; } &&
40106 { ac_try
='test -s conftest$ac_exeext'
40107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40108 (eval $ac_try) 2>&5
40110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40111 (exit $ac_status); }; }; then
40112 ac_cv_func_pthread_attr_setschedparam
=yes
40114 echo "$as_me: failed program was:" >&5
40115 sed 's/^/| /' conftest.
$ac_ext >&5
40117 ac_cv_func_pthread_attr_setschedparam
=no
40119 rm -f conftest.err conftest.
$ac_objext \
40120 conftest
$ac_exeext conftest.
$ac_ext
40122 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40123 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40124 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40125 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40126 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40127 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40128 echo $ECHO_N "(cached) $ECHO_C" >&6
40130 cat >conftest.
$ac_ext <<_ACEOF
40133 cat confdefs.h
>>conftest.
$ac_ext
40134 cat >>conftest.
$ac_ext <<_ACEOF
40135 /* end confdefs.h. */
40136 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40138 #define sched_get_priority_max innocuous_sched_get_priority_max
40140 /* System header to define __stub macros and hopefully few prototypes,
40141 which can conflict with char sched_get_priority_max (); below.
40142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40143 <limits.h> exists even on freestanding compilers. */
40146 # include <limits.h>
40148 # include <assert.h>
40151 #undef sched_get_priority_max
40153 /* Override any gcc2 internal prototype to avoid an error. */
40158 /* We use char because int might match the return type of a gcc2
40159 builtin and then its argument prototype would still apply. */
40160 char sched_get_priority_max ();
40161 /* The GNU C library defines this for functions which it implements
40162 to always fail with ENOSYS. Some functions are actually named
40163 something starting with __ and the normal name is an alias. */
40164 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40167 char (*f) () = sched_get_priority_max;
40176 return f != sched_get_priority_max;
40181 rm -f conftest.
$ac_objext conftest
$ac_exeext
40182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40183 (eval $ac_link) 2>conftest.er1
40185 grep -v '^ *+' conftest.er1
>conftest.err
40187 cat conftest.err
>&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } &&
40190 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40192 (eval $ac_try) 2>&5
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); }; } &&
40196 { ac_try
='test -s conftest$ac_exeext'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; }; then
40202 ac_cv_func_sched_get_priority_max
=yes
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.
$ac_ext >&5
40207 ac_cv_func_sched_get_priority_max
=no
40209 rm -f conftest.err conftest.
$ac_objext \
40210 conftest
$ac_exeext conftest.
$ac_ext
40212 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40213 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40214 if test $ac_cv_func_sched_get_priority_max = yes; then
40217 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40218 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40219 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40220 echo $ECHO_N "(cached) $ECHO_C" >&6
40222 ac_check_lib_save_LIBS
=$LIBS
40223 LIBS
="-lposix4 $LIBS"
40224 cat >conftest.
$ac_ext <<_ACEOF
40227 cat confdefs.h
>>conftest.
$ac_ext
40228 cat >>conftest.
$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40231 /* Override any gcc2 internal prototype to avoid an error. */
40235 /* We use char because int might match the return type of a gcc2
40236 builtin and then its argument prototype would still apply. */
40237 char sched_get_priority_max ();
40241 sched_get_priority_max ();
40246 rm -f conftest.
$ac_objext conftest
$ac_exeext
40247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40248 (eval $ac_link) 2>conftest.er1
40250 grep -v '^ *+' conftest.er1
>conftest.err
40252 cat conftest.err
>&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } &&
40255 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; } &&
40261 { ac_try
='test -s conftest$ac_exeext'
40262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40263 (eval $ac_try) 2>&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); }; }; then
40267 ac_cv_lib_posix4_sched_get_priority_max
=yes
40269 echo "$as_me: failed program was:" >&5
40270 sed 's/^/| /' conftest.
$ac_ext >&5
40272 ac_cv_lib_posix4_sched_get_priority_max
=no
40274 rm -f conftest.err conftest.
$ac_objext \
40275 conftest
$ac_exeext conftest.
$ac_ext
40276 LIBS
=$ac_check_lib_save_LIBS
40278 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40279 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40280 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40283 POSIX4_LINK
=" -lposix4"
40297 if test "$HAVE_PRIOR_FUNCS" = 1; then
40298 cat >>confdefs.h
<<\_ACEOF
40299 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40303 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40304 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40307 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40308 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40309 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 cat >conftest.
$ac_ext <<_ACEOF
40315 cat confdefs.h
>>conftest.
$ac_ext
40316 cat >>conftest.
$ac_ext <<_ACEOF
40317 /* end confdefs.h. */
40318 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40320 #define pthread_cancel innocuous_pthread_cancel
40322 /* System header to define __stub macros and hopefully few prototypes,
40323 which can conflict with char pthread_cancel (); below.
40324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40325 <limits.h> exists even on freestanding compilers. */
40328 # include <limits.h>
40330 # include <assert.h>
40333 #undef pthread_cancel
40335 /* Override any gcc2 internal prototype to avoid an error. */
40340 /* We use char because int might match the return type of a gcc2
40341 builtin and then its argument prototype would still apply. */
40342 char pthread_cancel ();
40343 /* The GNU C library defines this for functions which it implements
40344 to always fail with ENOSYS. Some functions are actually named
40345 something starting with __ and the normal name is an alias. */
40346 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40349 char (*f) () = pthread_cancel;
40358 return f != pthread_cancel;
40363 rm -f conftest.
$ac_objext conftest
$ac_exeext
40364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40365 (eval $ac_link) 2>conftest.er1
40367 grep -v '^ *+' conftest.er1
>conftest.err
40369 cat conftest.err
>&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); } &&
40372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; } &&
40378 { ac_try
='test -s conftest$ac_exeext'
40379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40380 (eval $ac_try) 2>&5
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); }; }; then
40384 ac_cv_func_pthread_cancel
=yes
40386 echo "$as_me: failed program was:" >&5
40387 sed 's/^/| /' conftest.
$ac_ext >&5
40389 ac_cv_func_pthread_cancel
=no
40391 rm -f conftest.err conftest.
$ac_objext \
40392 conftest
$ac_exeext conftest.
$ac_ext
40394 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40395 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40396 if test $ac_cv_func_pthread_cancel = yes; then
40397 cat >>confdefs.h
<<\_ACEOF
40398 #define HAVE_PTHREAD_CANCEL 1
40402 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40403 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40407 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40408 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40409 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40410 echo $ECHO_N "(cached) $ECHO_C" >&6
40412 cat >conftest.
$ac_ext <<_ACEOF
40415 cat confdefs.h
>>conftest.
$ac_ext
40416 cat >>conftest.
$ac_ext <<_ACEOF
40417 /* end confdefs.h. */
40418 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40420 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40422 /* System header to define __stub macros and hopefully few prototypes,
40423 which can conflict with char pthread_attr_setstacksize (); below.
40424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40425 <limits.h> exists even on freestanding compilers. */
40428 # include <limits.h>
40430 # include <assert.h>
40433 #undef pthread_attr_setstacksize
40435 /* Override any gcc2 internal prototype to avoid an error. */
40440 /* We use char because int might match the return type of a gcc2
40441 builtin and then its argument prototype would still apply. */
40442 char pthread_attr_setstacksize ();
40443 /* The GNU C library defines this for functions which it implements
40444 to always fail with ENOSYS. Some functions are actually named
40445 something starting with __ and the normal name is an alias. */
40446 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40449 char (*f) () = pthread_attr_setstacksize;
40458 return f != pthread_attr_setstacksize;
40463 rm -f conftest.
$ac_objext conftest
$ac_exeext
40464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40465 (eval $ac_link) 2>conftest.er1
40467 grep -v '^ *+' conftest.er1
>conftest.err
40469 cat conftest.err
>&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); } &&
40472 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40474 (eval $ac_try) 2>&5
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); }; } &&
40478 { ac_try
='test -s conftest$ac_exeext'
40479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40480 (eval $ac_try) 2>&5
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); }; }; then
40484 ac_cv_func_pthread_attr_setstacksize
=yes
40486 echo "$as_me: failed program was:" >&5
40487 sed 's/^/| /' conftest.
$ac_ext >&5
40489 ac_cv_func_pthread_attr_setstacksize
=no
40491 rm -f conftest.err conftest.
$ac_objext \
40492 conftest
$ac_exeext conftest.
$ac_ext
40494 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40495 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40496 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40497 cat >>confdefs.h
<<\_ACEOF
40498 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40505 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40506 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40507 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40508 echo $ECHO_N "(cached) $ECHO_C" >&6
40511 cat >conftest.
$ac_ext <<_ACEOF
40514 cat confdefs.h
>>conftest.
$ac_ext
40515 cat >>conftest.
$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40517 #include <pthread.h>
40522 pthread_mutexattr_t attr;
40523 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40529 rm -f conftest.
$ac_objext
40530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40531 (eval $ac_compile) 2>conftest.er1
40533 grep -v '^ *+' conftest.er1
>conftest.err
40535 cat conftest.err
>&5
40536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40537 (exit $ac_status); } &&
40538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40540 (eval $ac_try) 2>&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); }; } &&
40544 { ac_try
='test -s conftest.$ac_objext'
40545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40546 (eval $ac_try) 2>&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); }; }; then
40550 wx_cv_type_pthread_mutexattr_t
=yes
40552 echo "$as_me: failed program was:" >&5
40553 sed 's/^/| /' conftest.
$ac_ext >&5
40555 wx_cv_type_pthread_mutexattr_t
=no
40558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40561 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40562 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40564 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40565 cat >>confdefs.h
<<\_ACEOF
40566 #define HAVE_PTHREAD_MUTEXATTR_T 1
40570 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40571 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40572 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40573 echo $ECHO_N "(cached) $ECHO_C" >&6
40576 cat >conftest.
$ac_ext <<_ACEOF
40579 cat confdefs.h
>>conftest.
$ac_ext
40580 cat >>conftest.
$ac_ext <<_ACEOF
40581 /* end confdefs.h. */
40582 #include <pthread.h>
40587 pthread_mutexattr_t attr;
40588 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40594 rm -f conftest.
$ac_objext
40595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40596 (eval $ac_compile) 2>conftest.er1
40598 grep -v '^ *+' conftest.er1
>conftest.err
40600 cat conftest.err
>&5
40601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602 (exit $ac_status); } &&
40603 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40605 (eval $ac_try) 2>&5
40607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40608 (exit $ac_status); }; } &&
40609 { ac_try
='test -s conftest.$ac_objext'
40610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40611 (eval $ac_try) 2>&5
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); }; }; then
40615 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40617 echo "$as_me: failed program was:" >&5
40618 sed 's/^/| /' conftest.
$ac_ext >&5
40620 wx_cv_func_pthread_mutexattr_settype_decl
=no
40623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40626 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40627 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40628 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40629 cat >>confdefs.h
<<\_ACEOF
40630 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40635 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40636 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40637 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40638 echo $ECHO_N "(cached) $ECHO_C" >&6
40641 cat >conftest.
$ac_ext <<_ACEOF
40644 cat confdefs.h
>>conftest.
$ac_ext
40645 cat >>conftest.
$ac_ext <<_ACEOF
40646 /* end confdefs.h. */
40647 #include <pthread.h>
40652 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40658 rm -f conftest.
$ac_objext
40659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40660 (eval $ac_compile) 2>conftest.er1
40662 grep -v '^ *+' conftest.er1
>conftest.err
40664 cat conftest.err
>&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } &&
40667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; } &&
40673 { ac_try
='test -s conftest.$ac_objext'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; }; then
40680 wx_cv_type_pthread_rec_mutex_init
=yes
40683 echo "$as_me: failed program was:" >&5
40684 sed 's/^/| /' conftest.
$ac_ext >&5
40687 wx_cv_type_pthread_rec_mutex_init
=no
40691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40694 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40695 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40696 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40697 cat >>confdefs.h
<<\_ACEOF
40698 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40702 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40703 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40709 if test "$wxUSE_THREADS" = "yes" ; then
40712 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40713 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40714 if test "${wx_cv_cflags_mthread+set}" = set; then
40715 echo $ECHO_N "(cached) $ECHO_C" >&6
40718 CXXFLAGS_OLD
="$CXXFLAGS"
40719 CXXFLAGS
="-mthreads $CXXFLAGS"
40720 cat >conftest.
$ac_ext <<_ACEOF
40723 cat confdefs.h
>>conftest.
$ac_ext
40724 cat >>conftest.
$ac_ext <<_ACEOF
40725 /* end confdefs.h. */
40735 rm -f conftest.
$ac_objext
40736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40737 (eval $ac_compile) 2>conftest.er1
40739 grep -v '^ *+' conftest.er1
>conftest.err
40741 cat conftest.err
>&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); } &&
40744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40746 (eval $ac_try) 2>&5
40748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40749 (exit $ac_status); }; } &&
40750 { ac_try
='test -s conftest.$ac_objext'
40751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40752 (eval $ac_try) 2>&5
40754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40755 (exit $ac_status); }; }; then
40756 wx_cv_cflags_mthread
=yes
40758 echo "$as_me: failed program was:" >&5
40759 sed 's/^/| /' conftest.
$ac_ext >&5
40761 wx_cv_cflags_mthread
=no
40764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40768 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40769 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40771 if test "$wx_cv_cflags_mthread" = "yes"; then
40772 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40773 LDFLAGS
="$LDFLAGS -mthreads"
40775 CXXFLAGS
="$CXXFLAGS_OLD"
40779 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40780 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40781 LDFLAGS
="$LDFLAGS -Zmt"
40787 echo "$as_me:$LINENO: checking for localtime_r" >&5
40788 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40789 if test "${ac_cv_func_localtime_r+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40792 cat >conftest.
$ac_ext <<_ACEOF
40795 cat confdefs.h
>>conftest.
$ac_ext
40796 cat >>conftest.
$ac_ext <<_ACEOF
40797 /* end confdefs.h. */
40798 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40800 #define localtime_r innocuous_localtime_r
40802 /* System header to define __stub macros and hopefully few prototypes,
40803 which can conflict with char localtime_r (); below.
40804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40805 <limits.h> exists even on freestanding compilers. */
40808 # include <limits.h>
40810 # include <assert.h>
40815 /* Override any gcc2 internal prototype to avoid an error. */
40820 /* We use char because int might match the return type of a gcc2
40821 builtin and then its argument prototype would still apply. */
40822 char localtime_r ();
40823 /* The GNU C library defines this for functions which it implements
40824 to always fail with ENOSYS. Some functions are actually named
40825 something starting with __ and the normal name is an alias. */
40826 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40829 char (*f) () = localtime_r;
40838 return f != localtime_r;
40843 rm -f conftest.
$ac_objext conftest
$ac_exeext
40844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40845 (eval $ac_link) 2>conftest.er1
40847 grep -v '^ *+' conftest.er1
>conftest.err
40849 cat conftest.err
>&5
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); } &&
40852 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
40858 { ac_try
='test -s conftest$ac_exeext'
40859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40860 (eval $ac_try) 2>&5
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); }; }; then
40864 ac_cv_func_localtime_r
=yes
40866 echo "$as_me: failed program was:" >&5
40867 sed 's/^/| /' conftest.
$ac_ext >&5
40869 ac_cv_func_localtime_r
=no
40871 rm -f conftest.err conftest.
$ac_objext \
40872 conftest
$ac_exeext conftest.
$ac_ext
40874 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40875 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40876 if test $ac_cv_func_localtime_r = yes; then
40877 cat >>confdefs.h
<<\_ACEOF
40878 #define HAVE_LOCALTIME_R 1
40883 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40884 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40885 if test "${ac_cv_func_gmtime_r+set}" = set; then
40886 echo $ECHO_N "(cached) $ECHO_C" >&6
40888 cat >conftest.
$ac_ext <<_ACEOF
40891 cat confdefs.h
>>conftest.
$ac_ext
40892 cat >>conftest.
$ac_ext <<_ACEOF
40893 /* end confdefs.h. */
40894 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40896 #define gmtime_r innocuous_gmtime_r
40898 /* System header to define __stub macros and hopefully few prototypes,
40899 which can conflict with char gmtime_r (); below.
40900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40901 <limits.h> exists even on freestanding compilers. */
40904 # include <limits.h>
40906 # include <assert.h>
40911 /* Override any gcc2 internal prototype to avoid an error. */
40916 /* We use char because int might match the return type of a gcc2
40917 builtin and then its argument prototype would still apply. */
40919 /* The GNU C library defines this for functions which it implements
40920 to always fail with ENOSYS. Some functions are actually named
40921 something starting with __ and the normal name is an alias. */
40922 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40925 char (*f) () = gmtime_r;
40934 return f != gmtime_r;
40939 rm -f conftest.
$ac_objext conftest
$ac_exeext
40940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40941 (eval $ac_link) 2>conftest.er1
40943 grep -v '^ *+' conftest.er1
>conftest.err
40945 cat conftest.err
>&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); } &&
40948 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40950 (eval $ac_try) 2>&5
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); }; } &&
40954 { ac_try
='test -s conftest$ac_exeext'
40955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40956 (eval $ac_try) 2>&5
40958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40959 (exit $ac_status); }; }; then
40960 ac_cv_func_gmtime_r
=yes
40962 echo "$as_me: failed program was:" >&5
40963 sed 's/^/| /' conftest.
$ac_ext >&5
40965 ac_cv_func_gmtime_r
=no
40967 rm -f conftest.err conftest.
$ac_objext \
40968 conftest
$ac_exeext conftest.
$ac_ext
40970 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40971 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40972 if test $ac_cv_func_gmtime_r = yes; then
40973 cat >>confdefs.h
<<\_ACEOF
40974 #define HAVE_GMTIME_R 1
40979 echo "$as_me:$LINENO: checking for readdir_r" >&5
40980 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40981 if test "${ac_cv_func_readdir_r+set}" = set; then
40982 echo $ECHO_N "(cached) $ECHO_C" >&6
40984 cat >conftest.
$ac_ext <<_ACEOF
40987 cat confdefs.h
>>conftest.
$ac_ext
40988 cat >>conftest.
$ac_ext <<_ACEOF
40989 /* end confdefs.h. */
40990 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40992 #define readdir_r innocuous_readdir_r
40994 /* System header to define __stub macros and hopefully few prototypes,
40995 which can conflict with char readdir_r (); below.
40996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40997 <limits.h> exists even on freestanding compilers. */
41000 # include <limits.h>
41002 # include <assert.h>
41007 /* Override any gcc2 internal prototype to avoid an error. */
41012 /* We use char because int might match the return type of a gcc2
41013 builtin and then its argument prototype would still apply. */
41015 /* The GNU C library defines this for functions which it implements
41016 to always fail with ENOSYS. Some functions are actually named
41017 something starting with __ and the normal name is an alias. */
41018 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41021 char (*f) () = readdir_r;
41030 return f != readdir_r;
41035 rm -f conftest.
$ac_objext conftest
$ac_exeext
41036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41037 (eval $ac_link) 2>conftest.er1
41039 grep -v '^ *+' conftest.er1
>conftest.err
41041 cat conftest.err
>&5
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); } &&
41044 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41046 (eval $ac_try) 2>&5
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); }; } &&
41050 { ac_try
='test -s conftest$ac_exeext'
41051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41052 (eval $ac_try) 2>&5
41054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41055 (exit $ac_status); }; }; then
41056 ac_cv_func_readdir_r
=yes
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.
$ac_ext >&5
41061 ac_cv_func_readdir_r
=no
41063 rm -f conftest.err conftest.
$ac_objext \
41064 conftest
$ac_exeext conftest.
$ac_ext
41066 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41067 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41068 if test $ac_cv_func_readdir_r = yes; then
41069 cat >>confdefs.h
<<\_ACEOF
41070 #define HAVE_READDIR_R 1
41079 ac_cpp
='$CPP $CPPFLAGS'
41080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41084 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41085 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41087 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41088 echo $ECHO_N "(cached) $ECHO_C" >&6
41092 ################################################################
41094 ac_cv_func_which_gethostbyname_r
=unknown
41097 # ONE ARGUMENT (sanity check)
41100 # This should fail, as there is no variant of gethostbyname_r() that takes
41101 # a single argument. If it actually compiles, then we can assume that
41102 # netdb.h is not declaring the function, and the compiler is thereby
41103 # assuming an implicit prototype. In which case, we're out of luck.
41105 cat >conftest.
$ac_ext <<_ACEOF
41108 cat confdefs.h
>>conftest.
$ac_ext
41109 cat >>conftest.
$ac_ext <<_ACEOF
41110 /* end confdefs.h. */
41116 char *name = "www.gnu.org";
41117 (void)gethostbyname_r(name) /* ; */
41123 rm -f conftest.
$ac_objext
41124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41125 (eval $ac_compile) 2>conftest.er1
41127 grep -v '^ *+' conftest.er1
>conftest.err
41129 cat conftest.err
>&5
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); } &&
41132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41134 (eval $ac_try) 2>&5
41136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137 (exit $ac_status); }; } &&
41138 { ac_try
='test -s conftest.$ac_objext'
41139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41140 (eval $ac_try) 2>&5
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); }; }; then
41144 ac_cv_func_which_gethostbyname_r
=no
41146 echo "$as_me: failed program was:" >&5
41147 sed 's/^/| /' conftest.
$ac_ext >&5
41150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41157 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41159 cat >conftest.
$ac_ext <<_ACEOF
41162 cat confdefs.h
>>conftest.
$ac_ext
41163 cat >>conftest.
$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41170 char *name = "www.gnu.org";
41171 struct hostent ret, *retp;
41175 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41181 rm -f conftest.
$ac_objext
41182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41183 (eval $ac_compile) 2>conftest.er1
41185 grep -v '^ *+' conftest.er1
>conftest.err
41187 cat conftest.err
>&5
41188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41189 (exit $ac_status); } &&
41190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192 (eval $ac_try) 2>&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); }; } &&
41196 { ac_try
='test -s conftest.$ac_objext'
41197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198 (eval $ac_try) 2>&5
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); }; }; then
41202 ac_cv_func_which_gethostbyname_r
=six
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.
$ac_ext >&5
41208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41217 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41219 cat >conftest.
$ac_ext <<_ACEOF
41222 cat confdefs.h
>>conftest.
$ac_ext
41223 cat >>conftest.
$ac_ext <<_ACEOF
41224 /* end confdefs.h. */
41230 char *name = "www.gnu.org";
41231 struct hostent ret;
41235 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41241 rm -f conftest.
$ac_objext
41242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41243 (eval $ac_compile) 2>conftest.er1
41245 grep -v '^ *+' conftest.er1
>conftest.err
41247 cat conftest.err
>&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); } &&
41250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41252 (eval $ac_try) 2>&5
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); }; } &&
41256 { ac_try
='test -s conftest.$ac_objext'
41257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41258 (eval $ac_try) 2>&5
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); }; }; then
41262 ac_cv_func_which_gethostbyname_r
=five
41264 echo "$as_me: failed program was:" >&5
41265 sed 's/^/| /' conftest.
$ac_ext >&5
41268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41274 # (e.g. AIX, HP-UX, Tru64)
41277 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41279 cat >conftest.
$ac_ext <<_ACEOF
41282 cat confdefs.h
>>conftest.
$ac_ext
41283 cat >>conftest.
$ac_ext <<_ACEOF
41284 /* end confdefs.h. */
41290 char *name = "www.gnu.org";
41291 struct hostent ret;
41292 struct hostent_data data;
41293 (void)gethostbyname_r(name, &ret, &data) /* ; */
41299 rm -f conftest.
$ac_objext
41300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41301 (eval $ac_compile) 2>conftest.er1
41303 grep -v '^ *+' conftest.er1
>conftest.err
41305 cat conftest.err
>&5
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); } &&
41308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41310 (eval $ac_try) 2>&5
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); }; } &&
41314 { ac_try
='test -s conftest.$ac_objext'
41315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41316 (eval $ac_try) 2>&5
41318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41319 (exit $ac_status); }; }; then
41320 ac_cv_func_which_gethostbyname_r
=three
41322 echo "$as_me: failed program was:" >&5
41323 sed 's/^/| /' conftest.
$ac_ext >&5
41326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41330 ################################################################
41335 case "$ac_cv_func_which_gethostbyname_r" in
41337 echo "$as_me:$LINENO: result: three" >&5
41338 echo "${ECHO_T}three" >&6
41339 cat >>confdefs.h
<<\_ACEOF
41340 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41346 echo "$as_me:$LINENO: result: five" >&5
41347 echo "${ECHO_T}five" >&6
41348 cat >>confdefs.h
<<\_ACEOF
41349 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41355 echo "$as_me:$LINENO: result: six" >&5
41356 echo "${ECHO_T}six" >&6
41357 cat >>confdefs.h
<<\_ACEOF
41358 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41364 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41365 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41369 echo "$as_me:$LINENO: result: can't tell" >&5
41370 echo "${ECHO_T}can't tell" >&6
41374 { { echo "$as_me:$LINENO: error: internal error" >&5
41375 echo "$as_me: error: internal error" >&2;}
41376 { (exit 1); exit 1; }; }
41381 ac_cpp
='$CXXCPP $CPPFLAGS'
41382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41388 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41389 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41390 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41391 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41392 if test "${ac_cv_func_gethostbyname+set}" = set; then
41393 echo $ECHO_N "(cached) $ECHO_C" >&6
41395 cat >conftest.
$ac_ext <<_ACEOF
41398 cat confdefs.h
>>conftest.
$ac_ext
41399 cat >>conftest.
$ac_ext <<_ACEOF
41400 /* end confdefs.h. */
41401 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41403 #define gethostbyname innocuous_gethostbyname
41405 /* System header to define __stub macros and hopefully few prototypes,
41406 which can conflict with char gethostbyname (); below.
41407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41408 <limits.h> exists even on freestanding compilers. */
41411 # include <limits.h>
41413 # include <assert.h>
41416 #undef gethostbyname
41418 /* Override any gcc2 internal prototype to avoid an error. */
41423 /* We use char because int might match the return type of a gcc2
41424 builtin and then its argument prototype would still apply. */
41425 char gethostbyname ();
41426 /* The GNU C library defines this for functions which it implements
41427 to always fail with ENOSYS. Some functions are actually named
41428 something starting with __ and the normal name is an alias. */
41429 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41432 char (*f) () = gethostbyname;
41441 return f != gethostbyname;
41446 rm -f conftest.
$ac_objext conftest
$ac_exeext
41447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41448 (eval $ac_link) 2>conftest.er1
41450 grep -v '^ *+' conftest.er1
>conftest.err
41452 cat conftest.err
>&5
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); } &&
41455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41457 (eval $ac_try) 2>&5
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); }; } &&
41461 { ac_try
='test -s conftest$ac_exeext'
41462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41463 (eval $ac_try) 2>&5
41465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466 (exit $ac_status); }; }; then
41467 ac_cv_func_gethostbyname
=yes
41469 echo "$as_me: failed program was:" >&5
41470 sed 's/^/| /' conftest.
$ac_ext >&5
41472 ac_cv_func_gethostbyname
=no
41474 rm -f conftest.err conftest.
$ac_objext \
41475 conftest
$ac_exeext conftest.
$ac_ext
41477 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41478 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41479 if test $ac_cv_func_gethostbyname = yes; then
41480 cat >>confdefs.h
<<\_ACEOF
41481 #define HAVE_GETHOSTBYNAME 1
41488 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41489 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41490 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41491 echo $ECHO_N "(cached) $ECHO_C" >&6
41494 cat >conftest.
$ac_ext <<_ACEOF
41497 cat confdefs.h
>>conftest.
$ac_ext
41498 cat >>conftest.
$ac_ext <<_ACEOF
41499 /* end confdefs.h. */
41507 struct servent *se, *res;
41510 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41516 rm -f conftest.
$ac_objext
41517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41518 (eval $ac_compile) 2>conftest.er1
41520 grep -v '^ *+' conftest.er1
>conftest.err
41522 cat conftest.err
>&5
41523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524 (exit $ac_status); } &&
41525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41527 (eval $ac_try) 2>&5
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); }; } &&
41531 { ac_try
='test -s conftest.$ac_objext'
41532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41533 (eval $ac_try) 2>&5
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); }; }; then
41537 ac_cv_func_which_getservbyname_r
=six
41539 echo "$as_me: failed program was:" >&5
41540 sed 's/^/| /' conftest.
$ac_ext >&5
41543 cat >conftest.
$ac_ext <<_ACEOF
41546 cat confdefs.h
>>conftest.
$ac_ext
41547 cat >>conftest.
$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41556 struct servent *se;
41559 (void) getservbyname_r(name, proto, se, buffer, buflen)
41565 rm -f conftest.
$ac_objext
41566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41567 (eval $ac_compile) 2>conftest.er1
41569 grep -v '^ *+' conftest.er1
>conftest.err
41571 cat conftest.err
>&5
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); } &&
41574 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41576 (eval $ac_try) 2>&5
41578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41579 (exit $ac_status); }; } &&
41580 { ac_try
='test -s conftest.$ac_objext'
41581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582 (eval $ac_try) 2>&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); }; }; then
41586 ac_cv_func_which_getservbyname_r
=five
41588 echo "$as_me: failed program was:" >&5
41589 sed 's/^/| /' conftest.
$ac_ext >&5
41592 cat >conftest.
$ac_ext <<_ACEOF
41595 cat confdefs.h
>>conftest.
$ac_ext
41596 cat >>conftest.
$ac_ext <<_ACEOF
41597 /* end confdefs.h. */
41605 struct servent *se;
41606 struct servent_data data;
41607 (void) getservbyname_r(name, proto, se, &data);
41613 rm -f conftest.
$ac_objext
41614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41615 (eval $ac_compile) 2>conftest.er1
41617 grep -v '^ *+' conftest.er1
>conftest.err
41619 cat conftest.err
>&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); } &&
41622 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41624 (eval $ac_try) 2>&5
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; } &&
41628 { ac_try
='test -s conftest.$ac_objext'
41629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41630 (eval $ac_try) 2>&5
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; }; then
41634 ac_cv_func_which_getservbyname_r
=four
41636 echo "$as_me: failed program was:" >&5
41637 sed 's/^/| /' conftest.
$ac_ext >&5
41639 ac_cv_func_which_getservbyname_r
=no
41642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41654 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41655 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41657 if test $ac_cv_func_which_getservbyname_r = six
; then
41658 cat >>confdefs.h
<<\_ACEOF
41659 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41662 elif test $ac_cv_func_which_getservbyname_r = five
; then
41663 cat >>confdefs.h
<<\_ACEOF
41664 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41667 elif test $ac_cv_func_which_getservbyname_r = four
; then
41668 cat >>confdefs.h
<<\_ACEOF
41669 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41675 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41676 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41678 for ac_func
in getservbyname
41680 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41681 echo "$as_me:$LINENO: checking for $ac_func" >&5
41682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41683 if eval "test \"\${$as_ac_var+set}\" = set"; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41686 cat >conftest.
$ac_ext <<_ACEOF
41689 cat confdefs.h
>>conftest.
$ac_ext
41690 cat >>conftest.
$ac_ext <<_ACEOF
41691 /* end confdefs.h. */
41692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41694 #define $ac_func innocuous_$ac_func
41696 /* System header to define __stub macros and hopefully few prototypes,
41697 which can conflict with char $ac_func (); below.
41698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41699 <limits.h> exists even on freestanding compilers. */
41702 # include <limits.h>
41704 # include <assert.h>
41709 /* Override any gcc2 internal prototype to avoid an error. */
41714 /* We use char because int might match the return type of a gcc2
41715 builtin and then its argument prototype would still apply. */
41717 /* The GNU C library defines this for functions which it implements
41718 to always fail with ENOSYS. Some functions are actually named
41719 something starting with __ and the normal name is an alias. */
41720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41723 char (*f) () = $ac_func;
41732 return f != $ac_func;
41737 rm -f conftest.
$ac_objext conftest
$ac_exeext
41738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41739 (eval $ac_link) 2>conftest.er1
41741 grep -v '^ *+' conftest.er1
>conftest.err
41743 cat conftest.err
>&5
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); } &&
41746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41748 (eval $ac_try) 2>&5
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); }; } &&
41752 { ac_try
='test -s conftest$ac_exeext'
41753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41754 (eval $ac_try) 2>&5
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); }; }; then
41758 eval "$as_ac_var=yes"
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.
$ac_ext >&5
41763 eval "$as_ac_var=no"
41765 rm -f conftest.err conftest.
$ac_objext \
41766 conftest
$ac_exeext conftest.
$ac_ext
41768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41770 if test `eval echo '${'$as_ac_var'}'` = yes; then
41771 cat >>confdefs.h
<<_ACEOF
41772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41774 cat >>confdefs.h
<<\_ACEOF
41775 #define HAVE_GETSERVBYNAME 1
41783 if test "$wxUSE_THREADS" = "yes"; then
41784 cat >>confdefs.h
<<\_ACEOF
41785 #define wxUSE_THREADS 1
41789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41791 if test "$wx_cv_func_strtok_r" = "yes"; then
41792 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41793 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41794 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41795 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41796 echo "$as_me:$LINENO: result: yes" >&5
41797 echo "${ECHO_T}yes" >&6
41799 echo "$as_me:$LINENO: result: no" >&5
41800 echo "${ECHO_T}no" >&6
41805 if test "$WXGTK20" = 1 ; then
41806 cat >>confdefs.h
<<_ACEOF
41807 #define __WXGTK20__ $WXGTK20
41813 if test "$WXGTK12" = 1 ; then
41814 cat >>confdefs.h
<<_ACEOF
41815 #define __WXGTK12__ $WXGTK12
41820 if test "$WXGTK127" = 1 ; then
41821 cat >>confdefs.h
<<_ACEOF
41822 #define __WXGTK127__ $WXGTK127
41827 if test "$WXGPE" = 1 ; then
41828 cat >>confdefs.h
<<_ACEOF
41829 #define __WXGPE__ $WXGPE
41835 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41840 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41841 wxUSE_DEBUG_INFO
=yes
41842 if test "$GCC" = yes; then
41843 DEBUG_CFLAGS
="-ggdb"
41847 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41848 cat >>confdefs.h
<<\_ACEOF
41852 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41854 if test "$wxUSE_GTK" = 1 ; then
41855 if test "x$wxGTK_VERSION" = "x1" ; then
41856 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41861 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41862 cat >>confdefs.h
<<\_ACEOF
41863 #define wxUSE_MEMORY_TRACING 1
41866 cat >>confdefs.h
<<\_ACEOF
41867 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41870 cat >>confdefs.h
<<\_ACEOF
41871 #define wxUSE_DEBUG_NEW_ALWAYS 1
41874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41877 if test "$wxUSE_DMALLOC" = "yes" ; then
41878 DMALLOC_LIBS
="-ldmallocthcxx"
41882 if test "$wxUSE_PROFILE" = "yes" ; then
41883 PROFILE_FLAGS
=" -pg"
41886 if test "$GCC" = "yes" ; then
41887 if test "$wxUSE_NO_RTTI" = "yes" ; then
41888 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41890 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41891 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41893 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41894 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41899 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41902 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41908 if test "$wxUSE_OPTIMISE" = "no" ; then
41909 if test "$GCC" = yes ; then
41910 OPTIMISE_CFLAGS
="-O0"
41913 if test "$GCC" = yes ; then
41915 *-pc-os2_emx | *-pc-os2-emx )
41916 OPTIMISE_CFLAGS
="-O2"
41919 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41923 OPTIMISE_CFLAGS
="-O"
41928 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41929 cat >>confdefs.h
<<\_ACEOF
41930 #define WXWIN_COMPATIBILITY_2_4 1
41934 WXWIN_COMPATIBILITY_2_6
="yes"
41937 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41938 cat >>confdefs.h
<<\_ACEOF
41939 #define WXWIN_COMPATIBILITY_2_6 1
41945 if test "$wxUSE_GUI" = "yes"; then
41946 cat >>confdefs.h
<<\_ACEOF
41947 #define wxUSE_GUI 1
41954 if test "$wxUSE_UNIX" = "yes"; then
41955 cat >>confdefs.h
<<\_ACEOF
41956 #define wxUSE_UNIX 1
41962 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41966 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41967 if test "$USE_DARWIN" = 1; then
41969 elif test "$USE_DOS" = 1; then
41973 for ac_func
in dlopen
41975 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41976 echo "$as_me:$LINENO: checking for $ac_func" >&5
41977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41978 if eval "test \"\${$as_ac_var+set}\" = set"; then
41979 echo $ECHO_N "(cached) $ECHO_C" >&6
41981 cat >conftest.
$ac_ext <<_ACEOF
41984 cat confdefs.h
>>conftest.
$ac_ext
41985 cat >>conftest.
$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41989 #define $ac_func innocuous_$ac_func
41991 /* System header to define __stub macros and hopefully few prototypes,
41992 which can conflict with char $ac_func (); below.
41993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41994 <limits.h> exists even on freestanding compilers. */
41997 # include <limits.h>
41999 # include <assert.h>
42004 /* Override any gcc2 internal prototype to avoid an error. */
42009 /* We use char because int might match the return type of a gcc2
42010 builtin and then its argument prototype would still apply. */
42012 /* The GNU C library defines this for functions which it implements
42013 to always fail with ENOSYS. Some functions are actually named
42014 something starting with __ and the normal name is an alias. */
42015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42018 char (*f) () = $ac_func;
42027 return f != $ac_func;
42032 rm -f conftest.
$ac_objext conftest
$ac_exeext
42033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42034 (eval $ac_link) 2>conftest.er1
42036 grep -v '^ *+' conftest.er1
>conftest.err
42038 cat conftest.err
>&5
42039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040 (exit $ac_status); } &&
42041 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42043 (eval $ac_try) 2>&5
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); }; } &&
42047 { ac_try
='test -s conftest$ac_exeext'
42048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049 (eval $ac_try) 2>&5
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; }; then
42053 eval "$as_ac_var=yes"
42055 echo "$as_me: failed program was:" >&5
42056 sed 's/^/| /' conftest.
$ac_ext >&5
42058 eval "$as_ac_var=no"
42060 rm -f conftest.err conftest.
$ac_objext \
42061 conftest
$ac_exeext conftest.
$ac_ext
42063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42065 if test `eval echo '${'$as_ac_var'}'` = yes; then
42066 cat >>confdefs.h
<<_ACEOF
42067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42070 cat >>confdefs.h
<<\_ACEOF
42071 #define HAVE_DLOPEN 1
42078 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42079 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42080 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42081 echo $ECHO_N "(cached) $ECHO_C" >&6
42083 ac_check_lib_save_LIBS
=$LIBS
42085 cat >conftest.
$ac_ext <<_ACEOF
42088 cat confdefs.h
>>conftest.
$ac_ext
42089 cat >>conftest.
$ac_ext <<_ACEOF
42090 /* end confdefs.h. */
42092 /* Override any gcc2 internal prototype to avoid an error. */
42096 /* We use char because int might match the return type of a gcc2
42097 builtin and then its argument prototype would still apply. */
42107 rm -f conftest.
$ac_objext conftest
$ac_exeext
42108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42109 (eval $ac_link) 2>conftest.er1
42111 grep -v '^ *+' conftest.er1
>conftest.err
42113 cat conftest.err
>&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } &&
42116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42118 (eval $ac_try) 2>&5
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; } &&
42122 { ac_try
='test -s conftest$ac_exeext'
42123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42124 (eval $ac_try) 2>&5
42126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42127 (exit $ac_status); }; }; then
42128 ac_cv_lib_dl_dlopen
=yes
42130 echo "$as_me: failed program was:" >&5
42131 sed 's/^/| /' conftest.
$ac_ext >&5
42133 ac_cv_lib_dl_dlopen
=no
42135 rm -f conftest.err conftest.
$ac_objext \
42136 conftest
$ac_exeext conftest.
$ac_ext
42137 LIBS
=$ac_check_lib_save_LIBS
42139 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42140 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42141 if test $ac_cv_lib_dl_dlopen = yes; then
42143 cat >>confdefs.h
<<\_ACEOF
42144 #define HAVE_DLOPEN 1
42148 DL_LINK
=" -ldl$DL_LINK"
42153 for ac_func
in shl_load
42155 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42156 echo "$as_me:$LINENO: checking for $ac_func" >&5
42157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42158 if eval "test \"\${$as_ac_var+set}\" = set"; then
42159 echo $ECHO_N "(cached) $ECHO_C" >&6
42161 cat >conftest.
$ac_ext <<_ACEOF
42164 cat confdefs.h
>>conftest.
$ac_ext
42165 cat >>conftest.
$ac_ext <<_ACEOF
42166 /* end confdefs.h. */
42167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42169 #define $ac_func innocuous_$ac_func
42171 /* System header to define __stub macros and hopefully few prototypes,
42172 which can conflict with char $ac_func (); below.
42173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42174 <limits.h> exists even on freestanding compilers. */
42177 # include <limits.h>
42179 # include <assert.h>
42184 /* Override any gcc2 internal prototype to avoid an error. */
42189 /* We use char because int might match the return type of a gcc2
42190 builtin and then its argument prototype would still apply. */
42192 /* The GNU C library defines this for functions which it implements
42193 to always fail with ENOSYS. Some functions are actually named
42194 something starting with __ and the normal name is an alias. */
42195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42198 char (*f) () = $ac_func;
42207 return f != $ac_func;
42212 rm -f conftest.
$ac_objext conftest
$ac_exeext
42213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42214 (eval $ac_link) 2>conftest.er1
42216 grep -v '^ *+' conftest.er1
>conftest.err
42218 cat conftest.err
>&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); } &&
42221 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42223 (eval $ac_try) 2>&5
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); }; } &&
42227 { ac_try
='test -s conftest$ac_exeext'
42228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42229 (eval $ac_try) 2>&5
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); }; }; then
42233 eval "$as_ac_var=yes"
42235 echo "$as_me: failed program was:" >&5
42236 sed 's/^/| /' conftest.
$ac_ext >&5
42238 eval "$as_ac_var=no"
42240 rm -f conftest.err conftest.
$ac_objext \
42241 conftest
$ac_exeext conftest.
$ac_ext
42243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42245 if test `eval echo '${'$as_ac_var'}'` = yes; then
42246 cat >>confdefs.h
<<_ACEOF
42247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42250 cat >>confdefs.h
<<\_ACEOF
42251 #define HAVE_SHL_LOAD 1
42258 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42259 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42260 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42261 echo $ECHO_N "(cached) $ECHO_C" >&6
42263 ac_check_lib_save_LIBS
=$LIBS
42264 LIBS
="-lshl_load $LIBS"
42265 cat >conftest.
$ac_ext <<_ACEOF
42268 cat confdefs.h
>>conftest.
$ac_ext
42269 cat >>conftest.
$ac_ext <<_ACEOF
42270 /* end confdefs.h. */
42272 /* Override any gcc2 internal prototype to avoid an error. */
42276 /* We use char because int might match the return type of a gcc2
42277 builtin and then its argument prototype would still apply. */
42287 rm -f conftest.
$ac_objext conftest
$ac_exeext
42288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42289 (eval $ac_link) 2>conftest.er1
42291 grep -v '^ *+' conftest.er1
>conftest.err
42293 cat conftest.err
>&5
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); } &&
42296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42298 (eval $ac_try) 2>&5
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; } &&
42302 { ac_try
='test -s conftest$ac_exeext'
42303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42304 (eval $ac_try) 2>&5
42306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307 (exit $ac_status); }; }; then
42308 ac_cv_lib_shl_load_dld
=yes
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.
$ac_ext >&5
42313 ac_cv_lib_shl_load_dld
=no
42315 rm -f conftest.err conftest.
$ac_objext \
42316 conftest
$ac_exeext conftest.
$ac_ext
42317 LIBS
=$ac_check_lib_save_LIBS
42319 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42320 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42321 if test $ac_cv_lib_shl_load_dld = yes; then
42324 DL_LINK
=" -ldld$DL_LINK"
42340 if test "$HAVE_DL_FUNCS" = 1; then
42342 for ac_func
in dlerror
42344 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42345 echo "$as_me:$LINENO: checking for $ac_func" >&5
42346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42347 if eval "test \"\${$as_ac_var+set}\" = set"; then
42348 echo $ECHO_N "(cached) $ECHO_C" >&6
42350 cat >conftest.
$ac_ext <<_ACEOF
42353 cat confdefs.h
>>conftest.
$ac_ext
42354 cat >>conftest.
$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42358 #define $ac_func innocuous_$ac_func
42360 /* System header to define __stub macros and hopefully few prototypes,
42361 which can conflict with char $ac_func (); below.
42362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42363 <limits.h> exists even on freestanding compilers. */
42366 # include <limits.h>
42368 # include <assert.h>
42373 /* Override any gcc2 internal prototype to avoid an error. */
42378 /* We use char because int might match the return type of a gcc2
42379 builtin and then its argument prototype would still apply. */
42381 /* The GNU C library defines this for functions which it implements
42382 to always fail with ENOSYS. Some functions are actually named
42383 something starting with __ and the normal name is an alias. */
42384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42387 char (*f) () = $ac_func;
42396 return f != $ac_func;
42401 rm -f conftest.
$ac_objext conftest
$ac_exeext
42402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42403 (eval $ac_link) 2>conftest.er1
42405 grep -v '^ *+' conftest.er1
>conftest.err
42407 cat conftest.err
>&5
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); } &&
42410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42412 (eval $ac_try) 2>&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); }; } &&
42416 { ac_try
='test -s conftest$ac_exeext'
42417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42418 (eval $ac_try) 2>&5
42420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42421 (exit $ac_status); }; }; then
42422 eval "$as_ac_var=yes"
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.
$ac_ext >&5
42427 eval "$as_ac_var=no"
42429 rm -f conftest.err conftest.
$ac_objext \
42430 conftest
$ac_exeext conftest.
$ac_ext
42432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42434 if test `eval echo '${'$as_ac_var'}'` = yes; then
42435 cat >>confdefs.h
<<_ACEOF
42436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42438 cat >>confdefs.h
<<\_ACEOF
42439 #define HAVE_DLERROR 1
42444 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42445 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42446 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42447 echo $ECHO_N "(cached) $ECHO_C" >&6
42449 ac_check_lib_save_LIBS
=$LIBS
42451 cat >conftest.
$ac_ext <<_ACEOF
42454 cat confdefs.h
>>conftest.
$ac_ext
42455 cat >>conftest.
$ac_ext <<_ACEOF
42456 /* end confdefs.h. */
42458 /* Override any gcc2 internal prototype to avoid an error. */
42462 /* We use char because int might match the return type of a gcc2
42463 builtin and then its argument prototype would still apply. */
42473 rm -f conftest.
$ac_objext conftest
$ac_exeext
42474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42475 (eval $ac_link) 2>conftest.er1
42477 grep -v '^ *+' conftest.er1
>conftest.err
42479 cat conftest.err
>&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } &&
42482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42484 (eval $ac_try) 2>&5
42486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42487 (exit $ac_status); }; } &&
42488 { ac_try
='test -s conftest$ac_exeext'
42489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42490 (eval $ac_try) 2>&5
42492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493 (exit $ac_status); }; }; then
42494 ac_cv_lib_dl_dlerror
=yes
42496 echo "$as_me: failed program was:" >&5
42497 sed 's/^/| /' conftest.
$ac_ext >&5
42499 ac_cv_lib_dl_dlerror
=no
42501 rm -f conftest.err conftest.
$ac_objext \
42502 conftest
$ac_exeext conftest.
$ac_ext
42503 LIBS
=$ac_check_lib_save_LIBS
42505 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42506 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42507 if test $ac_cv_lib_dl_dlerror = yes; then
42508 cat >>confdefs.h
<<\_ACEOF
42509 #define HAVE_DLERROR 1
42522 if test "$HAVE_DL_FUNCS" = 0; then
42523 if test "$HAVE_SHL_FUNCS" = 0; then
42524 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42525 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42526 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42527 wxUSE_DYNAMIC_LOADER
=no
42528 wxUSE_DYNLIB_CLASS
=no
42530 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42531 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42538 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42539 cat >>confdefs.h
<<\_ACEOF
42540 #define wxUSE_DYNAMIC_LOADER 1
42544 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42545 cat >>confdefs.h
<<\_ACEOF
42546 #define wxUSE_DYNLIB_CLASS 1
42553 if test "$wxUSE_PLUGINS" = "yes" ; then
42554 if test "$wxUSE_SHARED" = "no" ; then
42555 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42556 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42559 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42560 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42561 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42564 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42565 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42566 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42569 if test "$wxUSE_PLUGINS" = "yes" ; then
42570 cat >>confdefs.h
<<\_ACEOF
42571 #define wxUSE_PLUGINS 1
42578 if test "$wxUSE_STL" = "yes"; then
42579 cat >>confdefs.h
<<\_ACEOF
42580 #define wxUSE_STL 1
42585 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42586 cat >>confdefs.h
<<\_ACEOF
42587 #define wxUSE_APPLE_IEEE 1
42592 if test "$wxUSE_TIMER" = "yes"; then
42593 cat >>confdefs.h
<<\_ACEOF
42594 #define wxUSE_TIMER 1
42599 if test "$USE_UNIX" = "1" ; then
42600 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42601 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42602 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42603 echo $ECHO_N "(cached) $ECHO_C" >&6
42606 cat >conftest.
$ac_ext <<_ACEOF
42609 cat confdefs.h
>>conftest.
$ac_ext
42610 cat >>conftest.
$ac_ext <<_ACEOF
42611 /* end confdefs.h. */
42613 #include <sys/ioctl.h>
42614 #include <sys/soundcard.h>
42620 ioctl(0, SNDCTL_DSP_SPEED, 0);
42626 rm -f conftest.
$ac_objext conftest
$ac_exeext
42627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42628 (eval $ac_link) 2>conftest.er1
42630 grep -v '^ *+' conftest.er1
>conftest.err
42632 cat conftest.err
>&5
42633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42634 (exit $ac_status); } &&
42635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42637 (eval $ac_try) 2>&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); }; } &&
42641 { ac_try
='test -s conftest$ac_exeext'
42642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42643 (eval $ac_try) 2>&5
42645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646 (exit $ac_status); }; }; then
42647 ac_cv_header_sys_soundcard
=yes
42649 echo "$as_me: failed program was:" >&5
42650 sed 's/^/| /' conftest.
$ac_ext >&5
42654 LIBS
="$saveLibs -lossaudio"
42655 cat >conftest.
$ac_ext <<_ACEOF
42658 cat confdefs.h
>>conftest.
$ac_ext
42659 cat >>conftest.
$ac_ext <<_ACEOF
42660 /* end confdefs.h. */
42662 #include <sys/ioctl.h>
42663 #include <sys/soundcard.h>
42669 ioctl(0, SNDCTL_DSP_SPEED, 0);
42675 rm -f conftest.
$ac_objext conftest
$ac_exeext
42676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42677 (eval $ac_link) 2>conftest.er1
42679 grep -v '^ *+' conftest.er1
>conftest.err
42681 cat conftest.err
>&5
42682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42683 (exit $ac_status); } &&
42684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42686 (eval $ac_try) 2>&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); }; } &&
42690 { ac_try
='test -s conftest$ac_exeext'
42691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42692 (eval $ac_try) 2>&5
42694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695 (exit $ac_status); }; }; then
42696 ac_cv_header_sys_soundcard
=yes
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.
$ac_ext >&5
42703 ac_cv_header_sys_soundcard
=no
42707 rm -f conftest.err conftest.
$ac_objext \
42708 conftest
$ac_exeext conftest.
$ac_ext
42712 rm -f conftest.err conftest.
$ac_objext \
42713 conftest
$ac_exeext conftest.
$ac_ext
42716 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42717 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42719 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42720 cat >>confdefs.h
<<\_ACEOF
42721 #define HAVE_SYS_SOUNDCARD_H 1
42725 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42729 if test "$wxUSE_SOUND" = "yes"; then
42730 if test "$USE_UNIX" = "1" ; then
42731 if test "$wxUSE_LIBSDL" != "no"; then
42733 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42734 if test "${with_sdl_prefix+set}" = set; then
42735 withval
="$with_sdl_prefix"
42736 sdl_prefix
="$withval"
42741 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42742 if test "${with_sdl_exec_prefix+set}" = set; then
42743 withval
="$with_sdl_exec_prefix"
42744 sdl_exec_prefix
="$withval"
42748 # Check whether --enable-sdltest or --disable-sdltest was given.
42749 if test "${enable_sdltest+set}" = set; then
42750 enableval
="$enable_sdltest"
42756 if test x
$sdl_exec_prefix != x
; then
42757 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42758 if test x
${SDL_CONFIG+set} != xset
; then
42759 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42762 if test x
$sdl_prefix != x
; then
42763 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42764 if test x
${SDL_CONFIG+set} != xset
; then
42765 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42769 if test "x$prefix" != xNONE
; then
42770 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42772 # Extract the first word of "sdl-config", so it can be a program name with args.
42773 set dummy sdl
-config; ac_word
=$2
42774 echo "$as_me:$LINENO: checking for $ac_word" >&5
42775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42776 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42777 echo $ECHO_N "(cached) $ECHO_C" >&6
42779 case $SDL_CONFIG in
42781 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42785 for as_dir
in $PATH
42788 test -z "$as_dir" && as_dir
=.
42789 for ac_exec_ext
in '' $ac_executable_extensions; do
42790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42791 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42798 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42802 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42804 if test -n "$SDL_CONFIG"; then
42805 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42806 echo "${ECHO_T}$SDL_CONFIG" >&6
42808 echo "$as_me:$LINENO: result: no" >&5
42809 echo "${ECHO_T}no" >&6
42812 min_sdl_version
=1.2.0
42813 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42814 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42816 if test "$SDL_CONFIG" = "no" ; then
42819 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42820 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42822 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42823 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42824 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42825 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42826 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42828 if test "x$enable_sdltest" = "xyes" ; then
42829 ac_save_CFLAGS
="$CFLAGS"
42830 ac_save_CXXFLAGS
="$CXXFLAGS"
42831 ac_save_LIBS
="$LIBS"
42832 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42833 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42834 LIBS
="$LIBS $SDL_LIBS"
42836 if test "$cross_compiling" = yes; then
42837 echo $ac_n "cross compiling; assumed OK... $ac_c"
42839 cat >conftest.
$ac_ext <<_ACEOF
42842 cat confdefs.h
>>conftest.
$ac_ext
42843 cat >>conftest.
$ac_ext <<_ACEOF
42844 /* end confdefs.h. */
42847 #include <stdlib.h>
42848 #include <string.h>
42852 my_strdup (char *str)
42858 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42859 strcpy (new_str, str);
42867 int main (int argc, char *argv[])
42869 int major, minor, micro;
42872 /* This hangs on some systems (?)
42873 system ("touch conf.sdltest");
42875 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42877 /* HP/UX 9 (%@#!) writes to sscanf strings */
42878 tmp_version = my_strdup("$min_sdl_version");
42879 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42880 printf("%s, bad version string\n", "$min_sdl_version");
42884 if (($sdl_major_version > major) ||
42885 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42886 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42892 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42893 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42894 printf("*** best to upgrade to the required version.\n");
42895 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42896 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42897 printf("*** config.cache before re-running configure\n");
42904 rm -f conftest
$ac_exeext
42905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42906 (eval $ac_link) 2>&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42911 (eval $ac_try) 2>&5
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; }; then
42917 echo "$as_me: program exited with status $ac_status" >&5
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.
$ac_ext >&5
42921 ( exit $ac_status )
42924 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42926 CFLAGS
="$ac_save_CFLAGS"
42927 CXXFLAGS
="$ac_save_CXXFLAGS"
42928 LIBS
="$ac_save_LIBS"
42931 if test "x$no_sdl" = x
; then
42932 echo "$as_me:$LINENO: result: yes" >&5
42933 echo "${ECHO_T}yes" >&6
42935 EXTRALIBS_SDL
="$SDL_LIBS"
42936 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42937 cat >>confdefs.h
<<\_ACEOF
42938 #define wxUSE_LIBSDL 1
42943 echo "$as_me:$LINENO: result: no" >&5
42944 echo "${ECHO_T}no" >&6
42945 if test "$SDL_CONFIG" = "no" ; then
42946 echo "*** The sdl-config script installed by SDL could not be found"
42947 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42948 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42949 echo "*** full path to sdl-config."
42951 if test -f conf.sdltest
; then
42954 echo "*** Could not run SDL test program, checking why..."
42955 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42956 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42957 LIBS
="$LIBS $SDL_LIBS"
42958 cat >conftest.
$ac_ext <<_ACEOF
42961 cat confdefs.h
>>conftest.
$ac_ext
42962 cat >>conftest.
$ac_ext <<_ACEOF
42963 /* end confdefs.h. */
42968 int main(int argc, char *argv[])
42971 #define main K_and_R_C_main
42981 rm -f conftest.
$ac_objext conftest
$ac_exeext
42982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42983 (eval $ac_link) 2>conftest.er1
42985 grep -v '^ *+' conftest.er1
>conftest.err
42987 cat conftest.err
>&5
42988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989 (exit $ac_status); } &&
42990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42992 (eval $ac_try) 2>&5
42994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995 (exit $ac_status); }; } &&
42996 { ac_try
='test -s conftest$ac_exeext'
42997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998 (eval $ac_try) 2>&5
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); }; }; then
43002 echo "*** The test program compiled, but did not run. This usually means"
43003 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43004 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43005 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43006 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43007 echo "*** is required on your system"
43009 echo "*** If you have an old version installed, it is best to remove it, although"
43010 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43012 echo "$as_me: failed program was:" >&5
43013 sed 's/^/| /' conftest.
$ac_ext >&5
43015 echo "*** The test program failed to compile or link. See the file config.log for the"
43016 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43017 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43018 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43020 rm -f conftest.err conftest.
$ac_objext \
43021 conftest
$ac_exeext conftest.
$ac_ext
43022 CFLAGS
="$ac_save_CFLAGS"
43023 CXXFLAGS
="$ac_save_CXXFLAGS"
43024 LIBS
="$ac_save_LIBS"
43035 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43041 cat >>confdefs.h
<<\_ACEOF
43042 #define wxUSE_SOUND 1
43045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43048 if test "$WXGTK20" = 1; then
43049 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43050 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43054 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43055 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43057 if test -n "$PKG_CONFIG"; then
43058 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43059 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43061 if test -n "$PKG_CONFIG" && \
43062 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43063 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; then
43067 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43075 if test -n "$PKG_CONFIG"; then
43076 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43077 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43079 if test -n "$PKG_CONFIG" && \
43080 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43081 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084 (exit $ac_status); }; then
43085 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43096 if test $pkg_failed = yes; then
43098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43099 _pkg_short_errors_supported
=yes
43101 _pkg_short_errors_supported
=no
43103 if test $_pkg_short_errors_supported = yes; then
43104 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43106 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43108 # Put the nasty error message in config.log where it belongs
43109 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43112 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43113 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43114 wxUSE_LIBGNOMEPRINT
="no"
43117 elif test $pkg_failed = untried
; then
43119 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43120 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43121 wxUSE_LIBGNOMEPRINT
="no"
43125 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43126 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43127 echo "$as_me:$LINENO: result: yes" >&5
43128 echo "${ECHO_T}yes" >&6
43130 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43131 cat >>confdefs.h
<<\_ACEOF
43132 #define wxUSE_LIBGNOMEPRINT 1
43141 if test "$WXGTK20" = 1; then
43142 if test "$wxUSE_MIMETYPE" = "yes" ; then
43143 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43147 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43148 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43150 if test -n "$PKG_CONFIG"; then
43151 if test -n "$GNOMEVFS_CFLAGS"; then
43152 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43154 if test -n "$PKG_CONFIG" && \
43155 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43156 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); }; then
43160 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43168 if test -n "$PKG_CONFIG"; then
43169 if test -n "$GNOMEVFS_LIBS"; then
43170 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43172 if test -n "$PKG_CONFIG" && \
43173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43174 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43177 (exit $ac_status); }; then
43178 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43189 if test $pkg_failed = yes; then
43191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43192 _pkg_short_errors_supported
=yes
43194 _pkg_short_errors_supported
=no
43196 if test $_pkg_short_errors_supported = yes; then
43197 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43199 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43201 # Put the nasty error message in config.log where it belongs
43202 echo "$GNOMEVFS_PKG_ERRORS" >&5
43205 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43206 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43207 wxUSE_LIBGNOMEVFS
="no"
43210 elif test $pkg_failed = untried
; then
43212 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43213 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43214 wxUSE_LIBGNOMEVFS
="no"
43218 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43219 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43220 echo "$as_me:$LINENO: result: yes" >&5
43221 echo "${ECHO_T}yes" >&6
43223 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43224 cat >>confdefs.h
<<\_ACEOF
43225 #define wxUSE_LIBGNOMEVFS 1
43234 if test "$WXGTK20" = 1; then
43235 if test "$wxUSE_LIBHILDON" = "yes" ; then
43238 echo "$as_me:$LINENO: checking for HILDON" >&5
43239 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43241 if test -n "$PKG_CONFIG"; then
43242 if test -n "$HILDON_CFLAGS"; then
43243 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43245 if test -n "$PKG_CONFIG" && \
43246 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43247 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250 (exit $ac_status); }; then
43251 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43259 if test -n "$PKG_CONFIG"; then
43260 if test -n "$HILDON_LIBS"; then
43261 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43263 if test -n "$PKG_CONFIG" && \
43264 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43265 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); }; then
43269 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43280 if test $pkg_failed = yes; then
43282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43283 _pkg_short_errors_supported
=yes
43285 _pkg_short_errors_supported
=no
43287 if test $_pkg_short_errors_supported = yes; then
43288 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43290 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43292 # Put the nasty error message in config.log where it belongs
43293 echo "$HILDON_PKG_ERRORS" >&5
43296 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43297 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43298 wxUSE_LIBHILDON
="no"
43301 elif test $pkg_failed = untried
; then
43303 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43304 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43305 wxUSE_LIBHILDON
="no"
43309 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43310 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43311 echo "$as_me:$LINENO: result: yes" >&5
43312 echo "${ECHO_T}yes" >&6
43314 EXTRALIBS_HILDON
="$HILDON_LIBS"
43315 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43316 cat >>confdefs.h
<<\_ACEOF
43317 #define wxUSE_LIBHILDON 1
43325 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43326 cat >>confdefs.h
<<\_ACEOF
43327 #define wxUSE_CMDLINE_PARSER 1
43332 if test "$wxUSE_STOPWATCH" = "yes"; then
43333 cat >>confdefs.h
<<\_ACEOF
43334 #define wxUSE_STOPWATCH 1
43339 if test "$wxUSE_DATETIME" = "yes"; then
43340 cat >>confdefs.h
<<\_ACEOF
43341 #define wxUSE_DATETIME 1
43346 if test "$wxUSE_FILE" = "yes"; then
43347 cat >>confdefs.h
<<\_ACEOF
43348 #define wxUSE_FILE 1
43353 if test "$wxUSE_FFILE" = "yes"; then
43354 cat >>confdefs.h
<<\_ACEOF
43355 #define wxUSE_FFILE 1
43360 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43361 if test "$wxUSE_STREAMS" != yes; then
43362 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43363 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43364 wxUSE_ARCHIVE_STREAMS
=no
43366 cat >>confdefs.h
<<\_ACEOF
43367 #define wxUSE_ARCHIVE_STREAMS 1
43373 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43374 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43375 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43376 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43377 elif test "$wxUSE_ZLIB" = "no"; then
43378 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43379 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43381 cat >>confdefs.h
<<\_ACEOF
43382 #define wxUSE_ZIPSTREAM 1
43388 if test "$wxUSE_TARSTREAM" = "yes"; then
43389 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43390 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43391 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43393 cat >>confdefs.h
<<\_ACEOF
43394 #define wxUSE_TARSTREAM 1
43400 if test "$wxUSE_FILESYSTEM" = "yes"; then
43401 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43402 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43403 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43404 wxUSE_FILESYSTEM
=no
43406 cat >>confdefs.h
<<\_ACEOF
43407 #define wxUSE_FILESYSTEM 1
43413 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43414 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43415 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43416 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43418 cat >>confdefs.h
<<\_ACEOF
43419 #define wxUSE_FS_ARCHIVE 1
43425 if test "$wxUSE_FS_ZIP" = "yes"; then
43426 if test "$wxUSE_FS_ARCHIVE" != yes; then
43427 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43428 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43430 cat >>confdefs.h
<<\_ACEOF
43431 #define wxUSE_FS_ZIP 1
43437 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43438 if test "$USE_UNIX" != 1; then
43439 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43440 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43441 wxUSE_ON_FATAL_EXCEPTION
=no
43443 cat >>confdefs.h
<<\_ACEOF
43444 #define wxUSE_ON_FATAL_EXCEPTION 1
43450 if test "$wxUSE_STACKWALKER" = "yes"; then
43451 cat >>confdefs.h
<<\_ACEOF
43452 #define wxUSE_STACKWALKER 1
43457 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43458 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43459 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43460 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43461 wxUSE_DEBUGREPORT
=no
43463 cat >>confdefs.h
<<\_ACEOF
43464 #define wxUSE_DEBUGREPORT 1
43467 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43473 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43474 cat >>confdefs.h
<<\_ACEOF
43475 #define wxUSE_SNGLINST_CHECKER 1
43480 if test "$wxUSE_BUSYINFO" = "yes"; then
43481 cat >>confdefs.h
<<\_ACEOF
43482 #define wxUSE_BUSYINFO 1
43487 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43488 cat >>confdefs.h
<<\_ACEOF
43489 #define wxUSE_STD_IOSTREAM 1
43494 if test "$wxUSE_STD_STRING" = "yes"; then
43495 cat >>confdefs.h
<<\_ACEOF
43496 #define wxUSE_STD_STRING 1
43501 if test "$wxUSE_STDPATHS" = "yes"; then
43502 cat >>confdefs.h
<<\_ACEOF
43503 #define wxUSE_STDPATHS 1
43508 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43509 cat >>confdefs.h
<<\_ACEOF
43510 #define wxUSE_TEXTBUFFER 1
43515 if test "$wxUSE_TEXTFILE" = "yes"; then
43516 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43517 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43518 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43520 cat >>confdefs.h
<<\_ACEOF
43521 #define wxUSE_TEXTFILE 1
43527 if test "$wxUSE_CONFIG" = "yes" ; then
43528 if test "$wxUSE_TEXTFILE" != "yes"; then
43529 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43530 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43532 cat >>confdefs.h
<<\_ACEOF
43533 #define wxUSE_CONFIG 1
43536 cat >>confdefs.h
<<\_ACEOF
43537 #define wxUSE_CONFIG_NATIVE 1
43540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43544 if test "$wxUSE_INTL" = "yes" ; then
43545 if test "$wxUSE_FILE" != "yes"; then
43546 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43547 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43549 cat >>confdefs.h
<<\_ACEOF
43550 #define wxUSE_INTL 1
43553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43554 GUIDIST
="$GUIDIST INTL_DIST"
43558 if test "$wxUSE_LOG" = "yes"; then
43559 cat >>confdefs.h
<<\_ACEOF
43560 #define wxUSE_LOG 1
43564 if test "$wxUSE_LOGGUI" = "yes"; then
43565 cat >>confdefs.h
<<\_ACEOF
43566 #define wxUSE_LOGGUI 1
43571 if test "$wxUSE_LOGWINDOW" = "yes"; then
43572 cat >>confdefs.h
<<\_ACEOF
43573 #define wxUSE_LOGWINDOW 1
43578 if test "$wxUSE_LOGDIALOG" = "yes"; then
43579 cat >>confdefs.h
<<\_ACEOF
43580 #define wxUSE_LOG_DIALOG 1
43585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43588 if test "$wxUSE_LONGLONG" = "yes"; then
43589 cat >>confdefs.h
<<\_ACEOF
43590 #define wxUSE_LONGLONG 1
43595 if test "$wxUSE_GEOMETRY" = "yes"; then
43596 cat >>confdefs.h
<<\_ACEOF
43597 #define wxUSE_GEOMETRY 1
43602 if test "$wxUSE_STREAMS" = "yes" ; then
43603 cat >>confdefs.h
<<\_ACEOF
43604 #define wxUSE_STREAMS 1
43609 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43610 cat >>confdefs.h
<<\_ACEOF
43611 #define wxUSE_PRINTF_POS_PARAMS 1
43618 if test "$wxUSE_DATETIME" = "yes"; then
43620 for ac_func
in strptime
43622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43623 echo "$as_me:$LINENO: checking for $ac_func" >&5
43624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43625 if eval "test \"\${$as_ac_var+set}\" = set"; then
43626 echo $ECHO_N "(cached) $ECHO_C" >&6
43628 cat >conftest.
$ac_ext <<_ACEOF
43631 cat confdefs.h
>>conftest.
$ac_ext
43632 cat >>conftest.
$ac_ext <<_ACEOF
43633 /* end confdefs.h. */
43634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43636 #define $ac_func innocuous_$ac_func
43638 /* System header to define __stub macros and hopefully few prototypes,
43639 which can conflict with char $ac_func (); below.
43640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43641 <limits.h> exists even on freestanding compilers. */
43644 # include <limits.h>
43646 # include <assert.h>
43651 /* Override any gcc2 internal prototype to avoid an error. */
43656 /* We use char because int might match the return type of a gcc2
43657 builtin and then its argument prototype would still apply. */
43659 /* The GNU C library defines this for functions which it implements
43660 to always fail with ENOSYS. Some functions are actually named
43661 something starting with __ and the normal name is an alias. */
43662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43665 char (*f) () = $ac_func;
43674 return f != $ac_func;
43679 rm -f conftest.
$ac_objext conftest
$ac_exeext
43680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43681 (eval $ac_link) 2>conftest.er1
43683 grep -v '^ *+' conftest.er1
>conftest.err
43685 cat conftest.err
>&5
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); } &&
43688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43690 (eval $ac_try) 2>&5
43692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43693 (exit $ac_status); }; } &&
43694 { ac_try
='test -s conftest$ac_exeext'
43695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43696 (eval $ac_try) 2>&5
43698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43699 (exit $ac_status); }; }; then
43700 eval "$as_ac_var=yes"
43702 echo "$as_me: failed program was:" >&5
43703 sed 's/^/| /' conftest.
$ac_ext >&5
43705 eval "$as_ac_var=no"
43707 rm -f conftest.err conftest.
$ac_objext \
43708 conftest
$ac_exeext conftest.
$ac_ext
43710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43712 if test `eval echo '${'$as_ac_var'}'` = yes; then
43713 cat >>confdefs.h
<<_ACEOF
43714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43720 if test "$ac_cv_func_strptime" = "yes"; then
43721 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43722 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43723 if test "${wx_cv_func_strptime_decl+set}" = set; then
43724 echo $ECHO_N "(cached) $ECHO_C" >&6
43727 cat >conftest.
$ac_ext <<_ACEOF
43730 cat confdefs.h
>>conftest.
$ac_ext
43731 cat >>conftest.
$ac_ext <<_ACEOF
43732 /* end confdefs.h. */
43741 strptime("foo", "bar", &t);
43747 rm -f conftest.
$ac_objext
43748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43749 (eval $ac_compile) 2>conftest.er1
43751 grep -v '^ *+' conftest.er1
>conftest.err
43753 cat conftest.err
>&5
43754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43755 (exit $ac_status); } &&
43756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43758 (eval $ac_try) 2>&5
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); }; } &&
43762 { ac_try
='test -s conftest.$ac_objext'
43763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764 (eval $ac_try) 2>&5
43766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767 (exit $ac_status); }; }; then
43768 wx_cv_func_strptime_decl
=yes
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.
$ac_ext >&5
43773 wx_cv_func_strptime_decl
=no
43776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43780 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43781 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43783 if test "$wx_cv_func_strptime_decl" = "yes"; then
43784 cat >>confdefs.h
<<\_ACEOF
43785 #define HAVE_STRPTIME_DECL 1
43790 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43791 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43792 if test "${wx_cv_var_timezone+set}" = set; then
43793 echo $ECHO_N "(cached) $ECHO_C" >&6
43796 cat >conftest.
$ac_ext <<_ACEOF
43799 cat confdefs.h
>>conftest.
$ac_ext
43800 cat >>conftest.
$ac_ext <<_ACEOF
43801 /* end confdefs.h. */
43816 rm -f conftest.
$ac_objext
43817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43818 (eval $ac_compile) 2>conftest.er1
43820 grep -v '^ *+' conftest.er1
>conftest.err
43822 cat conftest.err
>&5
43823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43824 (exit $ac_status); } &&
43825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43827 (eval $ac_try) 2>&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); }; } &&
43831 { ac_try
='test -s conftest.$ac_objext'
43832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43833 (eval $ac_try) 2>&5
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; }; then
43838 wx_cv_var_timezone
=timezone
43841 echo "$as_me: failed program was:" >&5
43842 sed 's/^/| /' conftest.
$ac_ext >&5
43845 cat >conftest.
$ac_ext <<_ACEOF
43848 cat confdefs.h
>>conftest.
$ac_ext
43849 cat >>conftest.
$ac_ext <<_ACEOF
43850 /* end confdefs.h. */
43865 rm -f conftest.
$ac_objext
43866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43867 (eval $ac_compile) 2>conftest.er1
43869 grep -v '^ *+' conftest.er1
>conftest.err
43871 cat conftest.err
>&5
43872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43873 (exit $ac_status); } &&
43874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43876 (eval $ac_try) 2>&5
43878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43879 (exit $ac_status); }; } &&
43880 { ac_try
='test -s conftest.$ac_objext'
43881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43882 (eval $ac_try) 2>&5
43884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43885 (exit $ac_status); }; }; then
43887 wx_cv_var_timezone
=_timezone
43890 echo "$as_me: failed program was:" >&5
43891 sed 's/^/| /' conftest.
$ac_ext >&5
43894 cat >conftest.
$ac_ext <<_ACEOF
43897 cat confdefs.h
>>conftest.
$ac_ext
43898 cat >>conftest.
$ac_ext <<_ACEOF
43899 /* end confdefs.h. */
43914 rm -f conftest.
$ac_objext
43915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43916 (eval $ac_compile) 2>conftest.er1
43918 grep -v '^ *+' conftest.er1
>conftest.err
43920 cat conftest.err
>&5
43921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43922 (exit $ac_status); } &&
43923 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43925 (eval $ac_try) 2>&5
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); }; } &&
43929 { ac_try
='test -s conftest.$ac_objext'
43930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43931 (eval $ac_try) 2>&5
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); }; }; then
43936 wx_cv_var_timezone
=__timezone
43939 echo "$as_me: failed program was:" >&5
43940 sed 's/^/| /' conftest.
$ac_ext >&5
43943 if test "$USE_DOS" = 0 ; then
43944 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43945 echo "$as_me: WARNING: no timezone variable" >&2;}
43950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43962 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43963 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43965 if test "x$wx_cv_var_timezone" != x
; then
43966 cat >>confdefs.h
<<_ACEOF
43967 #define WX_TIMEZONE $wx_cv_var_timezone
43973 for ac_func
in localtime
43975 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43976 echo "$as_me:$LINENO: checking for $ac_func" >&5
43977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43978 if eval "test \"\${$as_ac_var+set}\" = set"; then
43979 echo $ECHO_N "(cached) $ECHO_C" >&6
43981 cat >conftest.
$ac_ext <<_ACEOF
43984 cat confdefs.h
>>conftest.
$ac_ext
43985 cat >>conftest.
$ac_ext <<_ACEOF
43986 /* end confdefs.h. */
43987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43989 #define $ac_func innocuous_$ac_func
43991 /* System header to define __stub macros and hopefully few prototypes,
43992 which can conflict with char $ac_func (); below.
43993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43994 <limits.h> exists even on freestanding compilers. */
43997 # include <limits.h>
43999 # include <assert.h>
44004 /* Override any gcc2 internal prototype to avoid an error. */
44009 /* We use char because int might match the return type of a gcc2
44010 builtin and then its argument prototype would still apply. */
44012 /* The GNU C library defines this for functions which it implements
44013 to always fail with ENOSYS. Some functions are actually named
44014 something starting with __ and the normal name is an alias. */
44015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44018 char (*f) () = $ac_func;
44027 return f != $ac_func;
44032 rm -f conftest.
$ac_objext conftest
$ac_exeext
44033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44034 (eval $ac_link) 2>conftest.er1
44036 grep -v '^ *+' conftest.er1
>conftest.err
44038 cat conftest.err
>&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); } &&
44041 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043 (eval $ac_try) 2>&5
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; } &&
44047 { ac_try
='test -s conftest$ac_exeext'
44048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44049 (eval $ac_try) 2>&5
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); }; }; then
44053 eval "$as_ac_var=yes"
44055 echo "$as_me: failed program was:" >&5
44056 sed 's/^/| /' conftest.
$ac_ext >&5
44058 eval "$as_ac_var=no"
44060 rm -f conftest.err conftest.
$ac_objext \
44061 conftest
$ac_exeext conftest.
$ac_ext
44063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44065 if test `eval echo '${'$as_ac_var'}'` = yes; then
44066 cat >>confdefs.h
<<_ACEOF
44067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44074 if test "$ac_cv_func_localtime" = "yes"; then
44075 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44076 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44077 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44078 echo $ECHO_N "(cached) $ECHO_C" >&6
44081 cat >conftest.
$ac_ext <<_ACEOF
44084 cat confdefs.h
>>conftest.
$ac_ext
44085 cat >>conftest.
$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44101 rm -f conftest.
$ac_objext
44102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44103 (eval $ac_compile) 2>conftest.er1
44105 grep -v '^ *+' conftest.er1
>conftest.err
44107 cat conftest.err
>&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } &&
44110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; } &&
44116 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
44123 wx_cv_struct_tm_has_gmtoff
=yes
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.
$ac_ext >&5
44129 wx_cv_struct_tm_has_gmtoff
=no
44132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44135 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44136 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44139 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44140 cat >>confdefs.h
<<\_ACEOF
44141 #define WX_GMTOFF_IN_TM 1
44148 for ac_func
in gettimeofday ftime
44150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44151 echo "$as_me:$LINENO: checking for $ac_func" >&5
44152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44153 if eval "test \"\${$as_ac_var+set}\" = set"; then
44154 echo $ECHO_N "(cached) $ECHO_C" >&6
44156 cat >conftest.
$ac_ext <<_ACEOF
44159 cat confdefs.h
>>conftest.
$ac_ext
44160 cat >>conftest.
$ac_ext <<_ACEOF
44161 /* end confdefs.h. */
44162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44164 #define $ac_func innocuous_$ac_func
44166 /* System header to define __stub macros and hopefully few prototypes,
44167 which can conflict with char $ac_func (); below.
44168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44169 <limits.h> exists even on freestanding compilers. */
44172 # include <limits.h>
44174 # include <assert.h>
44179 /* Override any gcc2 internal prototype to avoid an error. */
44184 /* We use char because int might match the return type of a gcc2
44185 builtin and then its argument prototype would still apply. */
44187 /* The GNU C library defines this for functions which it implements
44188 to always fail with ENOSYS. Some functions are actually named
44189 something starting with __ and the normal name is an alias. */
44190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44193 char (*f) () = $ac_func;
44202 return f != $ac_func;
44207 rm -f conftest.
$ac_objext conftest
$ac_exeext
44208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44209 (eval $ac_link) 2>conftest.er1
44211 grep -v '^ *+' conftest.er1
>conftest.err
44213 cat conftest.err
>&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } &&
44216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44218 (eval $ac_try) 2>&5
44220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44221 (exit $ac_status); }; } &&
44222 { ac_try
='test -s conftest$ac_exeext'
44223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44224 (eval $ac_try) 2>&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; }; then
44228 eval "$as_ac_var=yes"
44230 echo "$as_me: failed program was:" >&5
44231 sed 's/^/| /' conftest.
$ac_ext >&5
44233 eval "$as_ac_var=no"
44235 rm -f conftest.err conftest.
$ac_objext \
44236 conftest
$ac_exeext conftest.
$ac_ext
44238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44240 if test `eval echo '${'$as_ac_var'}'` = yes; then
44241 cat >>confdefs.h
<<_ACEOF
44242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44249 if test "$ac_cv_func_gettimeofday" = "yes"; then
44250 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44251 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44252 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44253 echo $ECHO_N "(cached) $ECHO_C" >&6
44256 cat >conftest.
$ac_ext <<_ACEOF
44259 cat confdefs.h
>>conftest.
$ac_ext
44260 cat >>conftest.
$ac_ext <<_ACEOF
44261 /* end confdefs.h. */
44263 #include <sys/time.h>
44264 #include <unistd.h>
44271 gettimeofday(&tv, NULL);
44277 rm -f conftest.
$ac_objext
44278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44279 (eval $ac_compile) 2>conftest.er1
44281 grep -v '^ *+' conftest.er1
>conftest.err
44283 cat conftest.err
>&5
44284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44285 (exit $ac_status); } &&
44286 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44288 (eval $ac_try) 2>&5
44290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44291 (exit $ac_status); }; } &&
44292 { ac_try
='test -s conftest.$ac_objext'
44293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44294 (eval $ac_try) 2>&5
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); }; }; then
44298 wx_cv_func_gettimeofday_has_2_args
=yes
44300 echo "$as_me: failed program was:" >&5
44301 sed 's/^/| /' conftest.
$ac_ext >&5
44303 cat >conftest.
$ac_ext <<_ACEOF
44306 cat confdefs.h
>>conftest.
$ac_ext
44307 cat >>conftest.
$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44310 #include <sys/time.h>
44311 #include <unistd.h>
44324 rm -f conftest.
$ac_objext
44325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44326 (eval $ac_compile) 2>conftest.er1
44328 grep -v '^ *+' conftest.er1
>conftest.err
44330 cat conftest.err
>&5
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); } &&
44333 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44335 (eval $ac_try) 2>&5
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); }; } &&
44339 { ac_try
='test -s conftest.$ac_objext'
44340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44341 (eval $ac_try) 2>&5
44343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44344 (exit $ac_status); }; }; then
44345 wx_cv_func_gettimeofday_has_2_args
=no
44347 echo "$as_me: failed program was:" >&5
44348 sed 's/^/| /' conftest.
$ac_ext >&5
44351 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44352 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44353 wx_cv_func_gettimeofday_has_2_args
=unknown
44357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44363 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44364 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44366 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44367 cat >>confdefs.h
<<\_ACEOF
44368 #define WX_GETTIMEOFDAY_NO_TZ 1
44374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44378 if test "$wxUSE_SOCKETS" = "yes"; then
44379 if test "$wxUSE_MGL" = "1"; then
44380 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44381 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44386 if test "$wxUSE_SOCKETS" = "yes"; then
44387 if test "$TOOLKIT" != "MSW"; then
44388 echo "$as_me:$LINENO: checking for socket" >&5
44389 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44390 if test "${ac_cv_func_socket+set}" = set; then
44391 echo $ECHO_N "(cached) $ECHO_C" >&6
44393 cat >conftest.
$ac_ext <<_ACEOF
44396 cat confdefs.h
>>conftest.
$ac_ext
44397 cat >>conftest.
$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44399 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44401 #define socket innocuous_socket
44403 /* System header to define __stub macros and hopefully few prototypes,
44404 which can conflict with char socket (); below.
44405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44406 <limits.h> exists even on freestanding compilers. */
44409 # include <limits.h>
44411 # include <assert.h>
44416 /* Override any gcc2 internal prototype to avoid an error. */
44421 /* We use char because int might match the return type of a gcc2
44422 builtin and then its argument prototype would still apply. */
44424 /* The GNU C library defines this for functions which it implements
44425 to always fail with ENOSYS. Some functions are actually named
44426 something starting with __ and the normal name is an alias. */
44427 #if defined (__stub_socket) || defined (__stub___socket)
44430 char (*f) () = socket;
44439 return f != socket;
44444 rm -f conftest.
$ac_objext conftest
$ac_exeext
44445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44446 (eval $ac_link) 2>conftest.er1
44448 grep -v '^ *+' conftest.er1
>conftest.err
44450 cat conftest.err
>&5
44451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44452 (exit $ac_status); } &&
44453 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44455 (eval $ac_try) 2>&5
44457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44458 (exit $ac_status); }; } &&
44459 { ac_try
='test -s conftest$ac_exeext'
44460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44461 (eval $ac_try) 2>&5
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); }; }; then
44465 ac_cv_func_socket
=yes
44467 echo "$as_me: failed program was:" >&5
44468 sed 's/^/| /' conftest.
$ac_ext >&5
44470 ac_cv_func_socket
=no
44472 rm -f conftest.err conftest.
$ac_objext \
44473 conftest
$ac_exeext conftest.
$ac_ext
44475 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44476 echo "${ECHO_T}$ac_cv_func_socket" >&6
44477 if test $ac_cv_func_socket = yes; then
44481 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44482 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44483 if test "${ac_cv_lib_socket_socket+set}" = set; then
44484 echo $ECHO_N "(cached) $ECHO_C" >&6
44486 ac_check_lib_save_LIBS
=$LIBS
44487 LIBS
="-lsocket $LIBS"
44488 cat >conftest.
$ac_ext <<_ACEOF
44491 cat confdefs.h
>>conftest.
$ac_ext
44492 cat >>conftest.
$ac_ext <<_ACEOF
44493 /* end confdefs.h. */
44495 /* Override any gcc2 internal prototype to avoid an error. */
44499 /* We use char because int might match the return type of a gcc2
44500 builtin and then its argument prototype would still apply. */
44510 rm -f conftest.
$ac_objext conftest
$ac_exeext
44511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44512 (eval $ac_link) 2>conftest.er1
44514 grep -v '^ *+' conftest.er1
>conftest.err
44516 cat conftest.err
>&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); } &&
44519 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; } &&
44525 { ac_try
='test -s conftest$ac_exeext'
44526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44527 (eval $ac_try) 2>&5
44529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44530 (exit $ac_status); }; }; then
44531 ac_cv_lib_socket_socket
=yes
44533 echo "$as_me: failed program was:" >&5
44534 sed 's/^/| /' conftest.
$ac_ext >&5
44536 ac_cv_lib_socket_socket
=no
44538 rm -f conftest.err conftest.
$ac_objext \
44539 conftest
$ac_exeext conftest.
$ac_ext
44540 LIBS
=$ac_check_lib_save_LIBS
44542 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44543 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44544 if test $ac_cv_lib_socket_socket = yes; then
44545 if test "$INET_LINK" != " -lsocket"; then
44546 INET_LINK
="$INET_LINK -lsocket"
44550 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44551 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44564 if test "$wxUSE_SOCKETS" = "yes" ; then
44565 if test "$TOOLKIT" != "MSW"; then
44566 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44567 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44568 if test "${wx_cv_type_getsockname3+set}" = set; then
44569 echo $ECHO_N "(cached) $ECHO_C" >&6
44572 cat >conftest.
$ac_ext <<_ACEOF
44575 cat confdefs.h
>>conftest.
$ac_ext
44576 cat >>conftest.
$ac_ext <<_ACEOF
44577 /* end confdefs.h. */
44579 #include <sys/types.h>
44580 #include <sys/socket.h>
44587 getsockname(0, 0, &len);
44593 rm -f conftest.
$ac_objext
44594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44595 (eval $ac_compile) 2>conftest.er1
44597 grep -v '^ *+' conftest.er1
>conftest.err
44599 cat conftest.err
>&5
44600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44601 (exit $ac_status); } &&
44602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44604 (eval $ac_try) 2>&5
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); }; } &&
44608 { ac_try
='test -s conftest.$ac_objext'
44609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44610 (eval $ac_try) 2>&5
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); }; }; then
44614 wx_cv_type_getsockname3
=socklen_t
44616 echo "$as_me: failed program was:" >&5
44617 sed 's/^/| /' conftest.
$ac_ext >&5
44620 CXXFLAGS_OLD
="$CXXFLAGS"
44621 if test "$GCC" = yes ; then
44622 CXXFLAGS
="-Werror $CXXFLAGS"
44625 cat >conftest.
$ac_ext <<_ACEOF
44628 cat confdefs.h
>>conftest.
$ac_ext
44629 cat >>conftest.
$ac_ext <<_ACEOF
44630 /* end confdefs.h. */
44632 #include <sys/types.h>
44633 #include <sys/socket.h>
44640 getsockname(0, 0, &len);
44646 rm -f conftest.
$ac_objext
44647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44648 (eval $ac_compile) 2>conftest.er1
44650 grep -v '^ *+' conftest.er1
>conftest.err
44652 cat conftest.err
>&5
44653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44654 (exit $ac_status); } &&
44655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44657 (eval $ac_try) 2>&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); }; } &&
44661 { ac_try
='test -s conftest.$ac_objext'
44662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44663 (eval $ac_try) 2>&5
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); }; }; then
44667 wx_cv_type_getsockname3
=size_t
44669 echo "$as_me: failed program was:" >&5
44670 sed 's/^/| /' conftest.
$ac_ext >&5
44672 cat >conftest.
$ac_ext <<_ACEOF
44675 cat confdefs.h
>>conftest.
$ac_ext
44676 cat >>conftest.
$ac_ext <<_ACEOF
44677 /* end confdefs.h. */
44679 #include <sys/types.h>
44680 #include <sys/socket.h>
44687 getsockname(0, 0, &len);
44693 rm -f conftest.
$ac_objext
44694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44695 (eval $ac_compile) 2>conftest.er1
44697 grep -v '^ *+' conftest.er1
>conftest.err
44699 cat conftest.err
>&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); } &&
44702 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44704 (eval $ac_try) 2>&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); }; } &&
44708 { ac_try
='test -s conftest.$ac_objext'
44709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44710 (eval $ac_try) 2>&5
44712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44713 (exit $ac_status); }; }; then
44714 wx_cv_type_getsockname3
=int
44716 echo "$as_me: failed program was:" >&5
44717 sed 's/^/| /' conftest.
$ac_ext >&5
44719 wx_cv_type_getsockname3
=unknown
44722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44727 CXXFLAGS
="$CXXFLAGS_OLD"
44731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44734 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44735 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44737 if test "$wx_cv_type_getsockname3" = "unknown"; then
44739 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44740 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44742 cat >>confdefs.h
<<_ACEOF
44743 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44747 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44748 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44749 if test "${wx_cv_type_getsockopt5+set}" = set; then
44750 echo $ECHO_N "(cached) $ECHO_C" >&6
44753 cat >conftest.
$ac_ext <<_ACEOF
44756 cat confdefs.h
>>conftest.
$ac_ext
44757 cat >>conftest.
$ac_ext <<_ACEOF
44758 /* end confdefs.h. */
44760 #include <sys/types.h>
44761 #include <sys/socket.h>
44768 getsockopt(0, 0, 0, 0, &len);
44774 rm -f conftest.
$ac_objext
44775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44776 (eval $ac_compile) 2>conftest.er1
44778 grep -v '^ *+' conftest.er1
>conftest.err
44780 cat conftest.err
>&5
44781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44782 (exit $ac_status); } &&
44783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44785 (eval $ac_try) 2>&5
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); }; } &&
44789 { ac_try
='test -s conftest.$ac_objext'
44790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44791 (eval $ac_try) 2>&5
44793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44794 (exit $ac_status); }; }; then
44795 wx_cv_type_getsockopt5
=socklen_t
44797 echo "$as_me: failed program was:" >&5
44798 sed 's/^/| /' conftest.
$ac_ext >&5
44801 CXXFLAGS_OLD
="$CXXFLAGS"
44802 if test "$GCC" = yes ; then
44803 CXXFLAGS
="-Werror $CXXFLAGS"
44806 cat >conftest.
$ac_ext <<_ACEOF
44809 cat confdefs.h
>>conftest.
$ac_ext
44810 cat >>conftest.
$ac_ext <<_ACEOF
44811 /* end confdefs.h. */
44813 #include <sys/types.h>
44814 #include <sys/socket.h>
44821 getsockopt(0, 0, 0, 0, &len);
44827 rm -f conftest.
$ac_objext
44828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44829 (eval $ac_compile) 2>conftest.er1
44831 grep -v '^ *+' conftest.er1
>conftest.err
44833 cat conftest.err
>&5
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); } &&
44836 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44838 (eval $ac_try) 2>&5
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); }; } &&
44842 { ac_try
='test -s conftest.$ac_objext'
44843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44844 (eval $ac_try) 2>&5
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); }; }; then
44848 wx_cv_type_getsockopt5
=size_t
44850 echo "$as_me: failed program was:" >&5
44851 sed 's/^/| /' conftest.
$ac_ext >&5
44853 cat >conftest.
$ac_ext <<_ACEOF
44856 cat confdefs.h
>>conftest.
$ac_ext
44857 cat >>conftest.
$ac_ext <<_ACEOF
44858 /* end confdefs.h. */
44860 #include <sys/types.h>
44861 #include <sys/socket.h>
44868 getsockopt(0, 0, 0, 0, &len);
44874 rm -f conftest.
$ac_objext
44875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44876 (eval $ac_compile) 2>conftest.er1
44878 grep -v '^ *+' conftest.er1
>conftest.err
44880 cat conftest.err
>&5
44881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882 (exit $ac_status); } &&
44883 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44885 (eval $ac_try) 2>&5
44887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44888 (exit $ac_status); }; } &&
44889 { ac_try
='test -s conftest.$ac_objext'
44890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44891 (eval $ac_try) 2>&5
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); }; }; then
44895 wx_cv_type_getsockopt5
=int
44897 echo "$as_me: failed program was:" >&5
44898 sed 's/^/| /' conftest.
$ac_ext >&5
44900 wx_cv_type_getsockopt5
=unknown
44903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44908 CXXFLAGS
="$CXXFLAGS_OLD"
44912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44915 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44916 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44918 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44920 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44921 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44923 cat >>confdefs.h
<<_ACEOF
44924 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44931 if test "$wxUSE_SOCKETS" = "yes" ; then
44932 cat >>confdefs.h
<<\_ACEOF
44933 #define wxUSE_SOCKETS 1
44936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44939 if test "$wxUSE_PROTOCOL" = "yes"; then
44940 if test "$wxUSE_SOCKETS" != "yes"; then
44941 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44942 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44947 if test "$wxUSE_PROTOCOL" = "yes"; then
44948 cat >>confdefs.h
<<\_ACEOF
44949 #define wxUSE_PROTOCOL 1
44953 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44954 cat >>confdefs.h
<<\_ACEOF
44955 #define wxUSE_PROTOCOL_HTTP 1
44959 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44960 cat >>confdefs.h
<<\_ACEOF
44961 #define wxUSE_PROTOCOL_FTP 1
44965 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44966 cat >>confdefs.h
<<\_ACEOF
44967 #define wxUSE_PROTOCOL_FILE 1
44972 if test "$wxUSE_FS_INET" = "yes"; then
44973 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44974 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44979 if test "$wxUSE_URL" = "yes"; then
44980 if test "$wxUSE_PROTOCOL" != "yes"; then
44981 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44982 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44985 if test "$wxUSE_URL" = "yes"; then
44986 cat >>confdefs.h
<<\_ACEOF
44987 #define wxUSE_URL 1
44993 if test "$wxUSE_VARIANT" = "yes"; then
44994 cat >>confdefs.h
<<\_ACEOF
44995 #define wxUSE_VARIANT 1
45000 if test "$wxUSE_FS_INET" = "yes"; then
45001 cat >>confdefs.h
<<\_ACEOF
45002 #define wxUSE_FS_INET 1
45008 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45011 if test "$TOOLKIT" = "MSW"; then
45014 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45015 if test "$USE_DARWIN" = 1; then
45016 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45017 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45018 cat >conftest.
$ac_ext <<_ACEOF
45021 cat confdefs.h
>>conftest.
$ac_ext
45022 cat >>conftest.
$ac_ext <<_ACEOF
45023 /* end confdefs.h. */
45024 #include <IOKit/hid/IOHIDLib.h>
45028 IOHIDQueueInterface *qi = NULL;
45029 IOHIDCallbackFunction cb = NULL;
45030 qi->setEventCallout(NULL, cb, NULL, NULL);
45035 rm -f conftest.
$ac_objext
45036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45037 (eval $ac_compile) 2>conftest.er1
45039 grep -v '^ *+' conftest.er1
>conftest.err
45041 cat conftest.err
>&5
45042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45043 (exit $ac_status); } &&
45044 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45046 (eval $ac_try) 2>&5
45048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45049 (exit $ac_status); }; } &&
45050 { ac_try
='test -s conftest.$ac_objext'
45051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45052 (eval $ac_try) 2>&5
45054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45055 (exit $ac_status); }; }; then
45059 echo "$as_me: failed program was:" >&5
45060 sed 's/^/| /' conftest.
$ac_ext >&5
45063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45064 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45065 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45070 for ac_header
in linux
/joystick.h
45072 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45074 echo "$as_me:$LINENO: checking for $ac_header" >&5
45075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45077 echo $ECHO_N "(cached) $ECHO_C" >&6
45079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45082 # Is the header compilable?
45083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45085 cat >conftest.
$ac_ext <<_ACEOF
45088 cat confdefs.h
>>conftest.
$ac_ext
45089 cat >>conftest.
$ac_ext <<_ACEOF
45090 /* end confdefs.h. */
45091 $ac_includes_default
45092 #include <$ac_header>
45094 rm -f conftest.
$ac_objext
45095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45096 (eval $ac_compile) 2>conftest.er1
45098 grep -v '^ *+' conftest.er1
>conftest.err
45100 cat conftest.err
>&5
45101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45102 (exit $ac_status); } &&
45103 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45105 (eval $ac_try) 2>&5
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); }; } &&
45109 { ac_try
='test -s conftest.$ac_objext'
45110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45111 (eval $ac_try) 2>&5
45113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45114 (exit $ac_status); }; }; then
45115 ac_header_compiler
=yes
45117 echo "$as_me: failed program was:" >&5
45118 sed 's/^/| /' conftest.
$ac_ext >&5
45120 ac_header_compiler
=no
45122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45124 echo "${ECHO_T}$ac_header_compiler" >&6
45126 # Is the header present?
45127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45129 cat >conftest.
$ac_ext <<_ACEOF
45132 cat confdefs.h
>>conftest.
$ac_ext
45133 cat >>conftest.
$ac_ext <<_ACEOF
45134 /* end confdefs.h. */
45135 #include <$ac_header>
45137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45140 grep -v '^ *+' conftest.er1
>conftest.err
45142 cat conftest.err
>&5
45143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45144 (exit $ac_status); } >/dev
/null
; then
45145 if test -s conftest.err
; then
45146 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45147 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45154 if test -z "$ac_cpp_err"; then
45155 ac_header_preproc
=yes
45157 echo "$as_me: failed program was:" >&5
45158 sed 's/^/| /' conftest.
$ac_ext >&5
45160 ac_header_preproc
=no
45162 rm -f conftest.err conftest.
$ac_ext
45163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45164 echo "${ECHO_T}$ac_header_preproc" >&6
45166 # So? What about this header?
45167 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45173 ac_header_preproc
=yes
45176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45190 ## ----------------------------------------- ##
45191 ## Report this to wx-dev@lists.wxwidgets.org ##
45192 ## ----------------------------------------- ##
45195 sed "s/^/$as_me: WARNING: /" >&2
45198 echo "$as_me:$LINENO: checking for $ac_header" >&5
45199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45201 echo $ECHO_N "(cached) $ECHO_C" >&6
45203 eval "$as_ac_Header=\$ac_header_preproc"
45205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45210 cat >>confdefs.h
<<_ACEOF
45211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45220 if test "$wxUSE_JOYSTICK" = "yes"; then
45221 cat >>confdefs.h
<<\_ACEOF
45222 #define wxUSE_JOYSTICK 1
45225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45227 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45228 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45234 if test "$wxUSE_FONTMAP" = "yes" ; then
45235 cat >>confdefs.h
<<\_ACEOF
45236 #define wxUSE_FONTMAP 1
45241 if test "$wxUSE_UNICODE" = "yes" ; then
45242 cat >>confdefs.h
<<\_ACEOF
45243 #define wxUSE_UNICODE 1
45247 if test "$USE_WIN32" != 1; then
45248 wxUSE_UNICODE_MSLU
=no
45251 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45252 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45253 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45254 if test "${ac_cv_lib_unicows_main+set}" = set; then
45255 echo $ECHO_N "(cached) $ECHO_C" >&6
45257 ac_check_lib_save_LIBS
=$LIBS
45258 LIBS
="-lunicows $LIBS"
45259 cat >conftest.
$ac_ext <<_ACEOF
45262 cat confdefs.h
>>conftest.
$ac_ext
45263 cat >>conftest.
$ac_ext <<_ACEOF
45264 /* end confdefs.h. */
45275 rm -f conftest.
$ac_objext conftest
$ac_exeext
45276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45277 (eval $ac_link) 2>conftest.er1
45279 grep -v '^ *+' conftest.er1
>conftest.err
45281 cat conftest.err
>&5
45282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283 (exit $ac_status); } &&
45284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45286 (eval $ac_try) 2>&5
45288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45289 (exit $ac_status); }; } &&
45290 { ac_try
='test -s conftest$ac_exeext'
45291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45292 (eval $ac_try) 2>&5
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); }; }; then
45296 ac_cv_lib_unicows_main
=yes
45298 echo "$as_me: failed program was:" >&5
45299 sed 's/^/| /' conftest.
$ac_ext >&5
45301 ac_cv_lib_unicows_main
=no
45303 rm -f conftest.err conftest.
$ac_objext \
45304 conftest
$ac_exeext conftest.
$ac_ext
45305 LIBS
=$ac_check_lib_save_LIBS
45307 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45308 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45309 if test $ac_cv_lib_unicows_main = yes; then
45311 cat >>confdefs.h
<<\_ACEOF
45312 #define wxUSE_UNICODE_MSLU 1
45318 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45319 Applications will only run on Windows NT/2000/XP!" >&5
45320 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45321 Applications will only run on Windows NT/2000/XP!" >&2;}
45322 wxUSE_UNICODE_MSLU
=no
45329 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45330 cat >>confdefs.h
<<\_ACEOF
45331 #define wxUSE_EXPERIMENTAL_PRINTF 1
45337 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45338 cat >>confdefs.h
<<\_ACEOF
45339 #define wxUSE_POSTSCRIPT 1
45344 cat >>confdefs.h
<<\_ACEOF
45345 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45349 cat >>confdefs.h
<<\_ACEOF
45350 #define wxUSE_NORMALIZED_PS_FONTS 1
45355 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45356 cat >>confdefs.h
<<\_ACEOF
45357 #define wxUSE_CONSTRAINTS 1
45360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45363 if test "$wxUSE_MDI" = "yes"; then
45364 cat >>confdefs.h
<<\_ACEOF
45365 #define wxUSE_MDI 1
45369 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45370 cat >>confdefs.h
<<\_ACEOF
45371 #define wxUSE_MDI_ARCHITECTURE 1
45374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45378 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45379 cat >>confdefs.h
<<\_ACEOF
45380 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45384 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45389 if test "$wxUSE_HELP" = "yes"; then
45390 cat >>confdefs.h
<<\_ACEOF
45391 #define wxUSE_HELP 1
45394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45396 if test "$wxUSE_MSW" = 1; then
45397 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45398 cat >>confdefs.h
<<\_ACEOF
45399 #define wxUSE_MS_HTML_HELP 1
45405 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45406 if test "$wxUSE_HTML" = "yes"; then
45407 cat >>confdefs.h
<<\_ACEOF
45408 #define wxUSE_WXHTML_HELP 1
45412 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45413 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45414 wxUSE_WXHTML_HELP
=no
45419 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45420 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45421 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45422 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45424 cat >>confdefs.h
<<\_ACEOF
45425 #define wxUSE_PRINTING_ARCHITECTURE 1
45429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45432 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45433 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45434 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45435 { (exit 1); exit 1; }; }
45439 if test "$wxUSE_METAFILE" = "yes"; then
45440 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45441 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45442 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45448 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45449 -o "$wxUSE_CLIPBOARD" = "yes" \
45450 -o "$wxUSE_OLE" = "yes" \
45451 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45453 for ac_header
in ole2.h
45455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45457 echo "$as_me:$LINENO: checking for $ac_header" >&5
45458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45460 echo $ECHO_N "(cached) $ECHO_C" >&6
45462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45465 # Is the header compilable?
45466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45468 cat >conftest.
$ac_ext <<_ACEOF
45471 cat confdefs.h
>>conftest.
$ac_ext
45472 cat >>conftest.
$ac_ext <<_ACEOF
45473 /* end confdefs.h. */
45474 $ac_includes_default
45475 #include <$ac_header>
45477 rm -f conftest.
$ac_objext
45478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45479 (eval $ac_compile) 2>conftest.er1
45481 grep -v '^ *+' conftest.er1
>conftest.err
45483 cat conftest.err
>&5
45484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45485 (exit $ac_status); } &&
45486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45488 (eval $ac_try) 2>&5
45490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45491 (exit $ac_status); }; } &&
45492 { ac_try
='test -s conftest.$ac_objext'
45493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45494 (eval $ac_try) 2>&5
45496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45497 (exit $ac_status); }; }; then
45498 ac_header_compiler
=yes
45500 echo "$as_me: failed program was:" >&5
45501 sed 's/^/| /' conftest.
$ac_ext >&5
45503 ac_header_compiler
=no
45505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45507 echo "${ECHO_T}$ac_header_compiler" >&6
45509 # Is the header present?
45510 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45512 cat >conftest.
$ac_ext <<_ACEOF
45515 cat confdefs.h
>>conftest.
$ac_ext
45516 cat >>conftest.
$ac_ext <<_ACEOF
45517 /* end confdefs.h. */
45518 #include <$ac_header>
45520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45523 grep -v '^ *+' conftest.er1
>conftest.err
45525 cat conftest.err
>&5
45526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45527 (exit $ac_status); } >/dev
/null
; then
45528 if test -s conftest.err
; then
45529 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45530 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45537 if test -z "$ac_cpp_err"; then
45538 ac_header_preproc
=yes
45540 echo "$as_me: failed program was:" >&5
45541 sed 's/^/| /' conftest.
$ac_ext >&5
45543 ac_header_preproc
=no
45545 rm -f conftest.err conftest.
$ac_ext
45546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45547 echo "${ECHO_T}$ac_header_preproc" >&6
45549 # So? What about this header?
45550 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45553 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45555 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45556 ac_header_preproc
=yes
45559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45560 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45562 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45563 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45564 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45565 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45566 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45569 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45570 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45573 ## ----------------------------------------- ##
45574 ## Report this to wx-dev@lists.wxwidgets.org ##
45575 ## ----------------------------------------- ##
45578 sed "s/^/$as_me: WARNING: /" >&2
45581 echo "$as_me:$LINENO: checking for $ac_header" >&5
45582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45584 echo $ECHO_N "(cached) $ECHO_C" >&6
45586 eval "$as_ac_Header=\$ac_header_preproc"
45588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45593 cat >>confdefs.h
<<_ACEOF
45594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45602 if test "$ac_cv_header_ole2_h" = "yes" ; then
45603 if test "$GCC" = yes ; then
45604 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45605 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45606 cat >conftest.
$ac_ext <<_ACEOF
45609 cat confdefs.h
>>conftest.
$ac_ext
45610 cat >>conftest.
$ac_ext <<_ACEOF
45611 /* end confdefs.h. */
45612 #include <windows.h>
45622 rm -f conftest.
$ac_objext
45623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45624 (eval $ac_compile) 2>conftest.er1
45626 grep -v '^ *+' conftest.er1
>conftest.err
45628 cat conftest.err
>&5
45629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630 (exit $ac_status); } &&
45631 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45633 (eval $ac_try) 2>&5
45635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45636 (exit $ac_status); }; } &&
45637 { ac_try
='test -s conftest.$ac_objext'
45638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45639 (eval $ac_try) 2>&5
45641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45642 (exit $ac_status); }; }; then
45643 echo "$as_me:$LINENO: result: no" >&5
45644 echo "${ECHO_T}no" >&6
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.
$ac_ext >&5
45649 echo "$as_me:$LINENO: result: yes" >&5
45650 echo "${ECHO_T}yes" >&6
45651 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45654 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45655 if test "$wxUSE_OLE" = "yes" ; then
45656 cat >>confdefs.h
<<\_ACEOF
45657 #define wxUSE_OLE 1
45660 cat >>confdefs.h
<<\_ACEOF
45661 #define wxUSE_OLE_AUTOMATION 1
45664 cat >>confdefs.h
<<\_ACEOF
45665 #define wxUSE_OLE_ACTIVEX 1
45668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45672 if test "$wxUSE_DATAOBJ" = "yes" ; then
45673 cat >>confdefs.h
<<\_ACEOF
45674 #define wxUSE_DATAOBJ 1
45679 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45680 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45683 wxUSE_DRAG_AND_DROP
=no
45688 if test "$wxUSE_METAFILE" = "yes"; then
45689 cat >>confdefs.h
<<\_ACEOF
45690 #define wxUSE_METAFILE 1
45694 cat >>confdefs.h
<<\_ACEOF
45695 #define wxUSE_ENH_METAFILE 1
45701 if test "$wxUSE_IPC" = "yes"; then
45702 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45703 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45704 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45708 if test "$wxUSE_IPC" = "yes"; then
45709 cat >>confdefs.h
<<\_ACEOF
45710 #define wxUSE_IPC 1
45713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45717 if test "$wxUSE_DATAOBJ" = "yes"; then
45718 if test "$wxUSE_MGL" = 1; then
45719 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45720 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45723 cat >>confdefs.h
<<\_ACEOF
45724 #define wxUSE_DATAOBJ 1
45729 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45730 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45732 wxUSE_DRAG_AND_DROP
=no
45735 if test "$wxUSE_CLIPBOARD" = "yes"; then
45736 if test "$wxUSE_MGL" = 1; then
45737 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45738 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45742 if test "$wxUSE_CLIPBOARD" = "yes"; then
45743 cat >>confdefs.h
<<\_ACEOF
45744 #define wxUSE_CLIPBOARD 1
45750 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45751 if test "$wxUSE_GTK" = 1; then
45752 if test "$WXGTK12" != 1; then
45753 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45754 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45755 wxUSE_DRAG_AND_DROP
=no
45759 if test "$wxUSE_MOTIF" = 1; then
45760 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45761 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45762 wxUSE_DRAG_AND_DROP
=no
45765 if test "$wxUSE_X11" = 1; then
45766 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45767 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45768 wxUSE_DRAG_AND_DROP
=no
45771 if test "$wxUSE_MGL" = 1; then
45772 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45773 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45774 wxUSE_DRAG_AND_DROP
=no
45777 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45778 cat >>confdefs.h
<<\_ACEOF
45779 #define wxUSE_DRAG_AND_DROP 1
45786 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45790 if test "$wxUSE_SPLINES" = "yes" ; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_SPLINES 1
45797 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45798 cat >>confdefs.h
<<\_ACEOF
45799 #define wxUSE_MOUSEWHEEL 1
45806 if test "$wxUSE_CONTROLS" = "yes"; then
45810 if test "$wxUSE_ACCEL" = "yes"; then
45811 cat >>confdefs.h
<<\_ACEOF
45812 #define wxUSE_ACCEL 1
45818 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_ANIMATIONCTRL 1
45824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45827 if test "$wxUSE_BUTTON" = "yes"; then
45828 cat >>confdefs.h
<<\_ACEOF
45829 #define wxUSE_BUTTON 1
45835 if test "$wxUSE_BMPBUTTON" = "yes"; then
45836 cat >>confdefs.h
<<\_ACEOF
45837 #define wxUSE_BMPBUTTON 1
45843 if test "$wxUSE_CALCTRL" = "yes"; then
45844 cat >>confdefs.h
<<\_ACEOF
45845 #define wxUSE_CALENDARCTRL 1
45849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45852 if test "$wxUSE_CARET" = "yes"; then
45853 cat >>confdefs.h
<<\_ACEOF
45854 #define wxUSE_CARET 1
45858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45861 if test "$wxUSE_COMBOBOX" = "yes"; then
45862 cat >>confdefs.h
<<\_ACEOF
45863 #define wxUSE_COMBOBOX 1
45869 if test "$wxUSE_COMBOCTRL" = "yes"; then
45870 cat >>confdefs.h
<<\_ACEOF
45871 #define wxUSE_COMBOCTRL 1
45877 if test "$wxUSE_CHOICE" = "yes"; then
45878 cat >>confdefs.h
<<\_ACEOF
45879 #define wxUSE_CHOICE 1
45885 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45886 cat >>confdefs.h
<<\_ACEOF
45887 #define wxUSE_CHOICEBOOK 1
45893 if test "$wxUSE_CHECKBOX" = "yes"; then
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_CHECKBOX 1
45901 if test "$wxUSE_CHECKLST" = "yes"; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_CHECKLISTBOX 1
45907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45910 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45911 cat >>confdefs.h
<<\_ACEOF
45912 #define wxUSE_COLOURPICKERCTRL 1
45918 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45919 cat >>confdefs.h
<<\_ACEOF
45920 #define wxUSE_DATEPICKCTRL 1
45926 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45927 cat >>confdefs.h
<<\_ACEOF
45928 #define wxUSE_DIRPICKERCTRL 1
45934 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45935 cat >>confdefs.h
<<\_ACEOF
45936 #define wxUSE_FILEPICKERCTRL 1
45942 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45943 cat >>confdefs.h
<<\_ACEOF
45944 #define wxUSE_FONTPICKERCTRL 1
45950 if test "$wxUSE_DISPLAY" = "yes"; then
45951 cat >>confdefs.h
<<\_ACEOF
45952 #define wxUSE_DISPLAY 1
45955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45958 if test "$wxUSE_DETECT_SM" = "yes"; then
45959 cat >>confdefs.h
<<\_ACEOF
45960 #define wxUSE_DETECT_SM 1
45965 if test "$wxUSE_GAUGE" = "yes"; then
45966 cat >>confdefs.h
<<\_ACEOF
45967 #define wxUSE_GAUGE 1
45973 if test "$wxUSE_GRID" = "yes"; then
45974 cat >>confdefs.h
<<\_ACEOF
45975 #define wxUSE_GRID 1
45979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45982 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45983 cat >>confdefs.h
<<\_ACEOF
45984 #define wxUSE_HYPERLINKCTRL 1
45990 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45991 cat >>confdefs.h
<<\_ACEOF
45992 #define wxUSE_BITMAPCOMBOBOX 1
45998 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45999 cat >>confdefs.h
<<\_ACEOF
46000 #define wxUSE_DATAVIEWCTRL 1
46004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46007 if test "$wxUSE_IMAGLIST" = "yes"; then
46008 cat >>confdefs.h
<<\_ACEOF
46009 #define wxUSE_IMAGLIST 1
46014 if test "$wxUSE_LISTBOOK" = "yes"; then
46015 cat >>confdefs.h
<<\_ACEOF
46016 #define wxUSE_LISTBOOK 1
46022 if test "$wxUSE_LISTBOX" = "yes"; then
46023 cat >>confdefs.h
<<\_ACEOF
46024 #define wxUSE_LISTBOX 1
46028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46031 if test "$wxUSE_LISTCTRL" = "yes"; then
46032 if test "$wxUSE_IMAGLIST" = "yes"; then
46033 cat >>confdefs.h
<<\_ACEOF
46034 #define wxUSE_LISTCTRL 1
46038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46040 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46041 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46045 if test "$wxUSE_NOTEBOOK" = "yes"; then
46046 cat >>confdefs.h
<<\_ACEOF
46047 #define wxUSE_NOTEBOOK 1
46051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46054 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46055 cat >>confdefs.h
<<\_ACEOF
46056 #define wxUSE_ODCOMBOBOX 1
46060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46064 if test "$wxUSE_RADIOBOX" = "yes"; then
46065 cat >>confdefs.h
<<\_ACEOF
46066 #define wxUSE_RADIOBOX 1
46072 if test "$wxUSE_RADIOBTN" = "yes"; then
46073 cat >>confdefs.h
<<\_ACEOF
46074 #define wxUSE_RADIOBTN 1
46080 if test "$wxUSE_SASH" = "yes"; then
46081 cat >>confdefs.h
<<\_ACEOF
46082 #define wxUSE_SASH 1
46085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46088 if test "$wxUSE_SCROLLBAR" = "yes"; then
46089 cat >>confdefs.h
<<\_ACEOF
46090 #define wxUSE_SCROLLBAR 1
46094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46097 if test "$wxUSE_SLIDER" = "yes"; then
46098 cat >>confdefs.h
<<\_ACEOF
46099 #define wxUSE_SLIDER 1
46105 if test "$wxUSE_SPINBTN" = "yes"; then
46106 cat >>confdefs.h
<<\_ACEOF
46107 #define wxUSE_SPINBTN 1
46113 if test "$wxUSE_SPINCTRL" = "yes"; then
46114 cat >>confdefs.h
<<\_ACEOF
46115 #define wxUSE_SPINCTRL 1
46121 if test "$wxUSE_SPLITTER" = "yes"; then
46122 cat >>confdefs.h
<<\_ACEOF
46123 #define wxUSE_SPLITTER 1
46126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46129 if test "$wxUSE_STATBMP" = "yes"; then
46130 cat >>confdefs.h
<<\_ACEOF
46131 #define wxUSE_STATBMP 1
46137 if test "$wxUSE_STATBOX" = "yes"; then
46138 cat >>confdefs.h
<<\_ACEOF
46139 #define wxUSE_STATBOX 1
46145 if test "$wxUSE_STATTEXT" = "yes"; then
46146 cat >>confdefs.h
<<\_ACEOF
46147 #define wxUSE_STATTEXT 1
46153 if test "$wxUSE_STATLINE" = "yes"; then
46154 cat >>confdefs.h
<<\_ACEOF
46155 #define wxUSE_STATLINE 1
46161 if test "$wxUSE_STATUSBAR" = "yes"; then
46162 cat >>confdefs.h
<<\_ACEOF
46163 #define wxUSE_NATIVE_STATUSBAR 1
46166 cat >>confdefs.h
<<\_ACEOF
46167 #define wxUSE_STATUSBAR 1
46172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46175 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46176 cat >>confdefs.h
<<\_ACEOF
46177 #define wxUSE_TAB_DIALOG 1
46182 if test "$wxUSE_TEXTCTRL" = "yes"; then
46183 cat >>confdefs.h
<<\_ACEOF
46184 #define wxUSE_TEXTCTRL 1
46188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46191 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46192 if test "$wxUSE_COCOA" = 1 ; then
46193 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46194 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46198 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46199 cat >>confdefs.h
<<\_ACEOF
46200 #define wxUSE_TOGGLEBTN 1
46207 if test "$wxUSE_TOOLBAR" = "yes"; then
46208 cat >>confdefs.h
<<\_ACEOF
46209 #define wxUSE_TOOLBAR 1
46214 if test "$wxUSE_UNIVERSAL" = "yes"; then
46215 wxUSE_TOOLBAR_NATIVE
="no"
46217 wxUSE_TOOLBAR_NATIVE
="yes"
46218 cat >>confdefs.h
<<\_ACEOF
46219 #define wxUSE_TOOLBAR_NATIVE 1
46224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46227 if test "$wxUSE_TOOLTIPS" = "yes"; then
46228 if test "$wxUSE_MOTIF" = 1; then
46229 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46230 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46232 if test "$wxUSE_UNIVERSAL" = "yes"; then
46233 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46234 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46236 cat >>confdefs.h
<<\_ACEOF
46237 #define wxUSE_TOOLTIPS 1
46244 if test "$wxUSE_TREEBOOK" = "yes"; then
46245 cat >>confdefs.h
<<\_ACEOF
46246 #define wxUSE_TREEBOOK 1
46252 if test "$wxUSE_TOOLBOOK" = "yes"; then
46253 cat >>confdefs.h
<<\_ACEOF
46254 #define wxUSE_TOOLBOOK 1
46260 if test "$wxUSE_TREECTRL" = "yes"; then
46261 if test "$wxUSE_IMAGLIST" = "yes"; then
46262 cat >>confdefs.h
<<\_ACEOF
46263 #define wxUSE_TREECTRL 1
46267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46269 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46270 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46274 if test "$wxUSE_POPUPWIN" = "yes"; then
46275 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46276 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46277 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46279 if test "$wxUSE_PM" = 1; then
46280 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46281 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46283 cat >>confdefs.h
<<\_ACEOF
46284 #define wxUSE_POPUPWIN 1
46287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46294 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46295 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46296 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46297 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46299 cat >>confdefs.h
<<\_ACEOF
46300 #define wxUSE_DIALUP_MANAGER 1
46303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46307 if test "$wxUSE_TIPWINDOW" = "yes"; then
46308 if test "$wxUSE_PM" = 1; then
46309 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46310 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46312 cat >>confdefs.h
<<\_ACEOF
46313 #define wxUSE_TIPWINDOW 1
46319 if test "$USES_CONTROLS" = 1; then
46320 cat >>confdefs.h
<<\_ACEOF
46321 #define wxUSE_CONTROLS 1
46327 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46328 cat >>confdefs.h
<<\_ACEOF
46329 #define wxUSE_ACCESSIBILITY 1
46332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46335 if test "$wxUSE_DC_CACHEING" = "yes"; then
46336 cat >>confdefs.h
<<\_ACEOF
46337 #define wxUSE_DC_CACHEING 1
46342 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46343 cat >>confdefs.h
<<\_ACEOF
46344 #define wxUSE_DRAGIMAGE 1
46347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46350 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46351 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46352 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46353 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46355 cat >>confdefs.h
<<\_ACEOF
46356 #define wxUSE_EXCEPTIONS 1
46359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46364 if test "$wxUSE_HTML" = "yes"; then
46365 cat >>confdefs.h
<<\_ACEOF
46366 #define wxUSE_HTML 1
46370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46371 if test "$wxUSE_MAC" = 1; then
46372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46375 if test "$wxUSE_WEBKIT" = "yes"; then
46376 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46377 old_CPPFLAGS
="$CPPFLAGS"
46378 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46379 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46380 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46381 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46382 echo $ECHO_N "(cached) $ECHO_C" >&6
46384 cat >conftest.
$ac_ext <<_ACEOF
46387 cat confdefs.h
>>conftest.
$ac_ext
46388 cat >>conftest.
$ac_ext <<_ACEOF
46389 /* end confdefs.h. */
46390 #include <Carbon/Carbon.h>
46392 #include <WebKit/HIWebView.h>
46394 rm -f conftest.
$ac_objext
46395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46396 (eval $ac_compile) 2>conftest.er1
46398 grep -v '^ *+' conftest.er1
>conftest.err
46400 cat conftest.err
>&5
46401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46402 (exit $ac_status); } &&
46403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46405 (eval $ac_try) 2>&5
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); }; } &&
46409 { ac_try
='test -s conftest.$ac_objext'
46410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46411 (eval $ac_try) 2>&5
46413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46414 (exit $ac_status); }; }; then
46415 ac_cv_header_WebKit_HIWebView_h
=yes
46417 echo "$as_me: failed program was:" >&5
46418 sed 's/^/| /' conftest.
$ac_ext >&5
46420 ac_cv_header_WebKit_HIWebView_h
=no
46422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46424 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46425 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46426 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46428 cat >>confdefs.h
<<\_ACEOF
46429 #define wxUSE_WEBKIT 1
46432 WEBKIT_LINK
="-framework WebKit"
46436 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46437 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46443 CPPFLAGS
="$old_CPPFLAGS"
46444 elif test "$wxUSE_COCOA" = 1; then
46445 cat >>confdefs.h
<<\_ACEOF
46446 #define wxUSE_WEBKIT 1
46455 if test "$wxUSE_XRC" = "yes"; then
46456 if test "$wxUSE_XML" != "yes"; then
46457 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46458 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46461 cat >>confdefs.h
<<\_ACEOF
46462 #define wxUSE_XRC 1
46466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46471 if test "$wxUSE_AUI" = "yes"; then
46472 cat >>confdefs.h
<<\_ACEOF
46473 #define wxUSE_AUI 1
46477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46480 if test "$wxUSE_MENUS" = "yes"; then
46481 cat >>confdefs.h
<<\_ACEOF
46482 #define wxUSE_MENUS 1
46485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46488 if test "$wxUSE_METAFILE" = "yes"; then
46489 cat >>confdefs.h
<<\_ACEOF
46490 #define wxUSE_METAFILE 1
46495 if test "$wxUSE_MIMETYPE" = "yes"; then
46496 cat >>confdefs.h
<<\_ACEOF
46497 #define wxUSE_MIMETYPE 1
46502 if test "$wxUSE_MINIFRAME" = "yes"; then
46503 cat >>confdefs.h
<<\_ACEOF
46504 #define wxUSE_MINIFRAME 1
46507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46510 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46511 cat >>confdefs.h
<<\_ACEOF
46512 #define wxUSE_SYSTEM_OPTIONS 1
46515 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46516 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46522 if test "$wxUSE_VALIDATORS" = "yes"; then
46523 cat >>confdefs.h
<<\_ACEOF
46524 #define wxUSE_VALIDATORS 1
46527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46530 if test "$wxUSE_PALETTE" = "yes" ; then
46531 cat >>confdefs.h
<<\_ACEOF
46532 #define wxUSE_PALETTE 1
46537 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46538 LIBS
=" -lunicows $LIBS"
46542 if test "$wxUSE_RICHTEXT" = "yes"; then
46543 cat >>confdefs.h
<<\_ACEOF
46544 #define wxUSE_RICHTEXT 1
46548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46552 if test "$wxUSE_IMAGE" = "yes" ; then
46553 cat >>confdefs.h
<<\_ACEOF
46554 #define wxUSE_IMAGE 1
46558 if test "$wxUSE_GIF" = "yes" ; then
46559 cat >>confdefs.h
<<\_ACEOF
46560 #define wxUSE_GIF 1
46565 if test "$wxUSE_PCX" = "yes" ; then
46566 cat >>confdefs.h
<<\_ACEOF
46567 #define wxUSE_PCX 1
46572 if test "$wxUSE_IFF" = "yes" ; then
46573 cat >>confdefs.h
<<\_ACEOF
46574 #define wxUSE_IFF 1
46579 if test "$wxUSE_PNM" = "yes" ; then
46580 cat >>confdefs.h
<<\_ACEOF
46581 #define wxUSE_PNM 1
46586 if test "$wxUSE_XPM" = "yes" ; then
46587 cat >>confdefs.h
<<\_ACEOF
46588 #define wxUSE_XPM 1
46593 if test "$wxUSE_ICO_CUR" = "yes" ; then
46594 cat >>confdefs.h
<<\_ACEOF
46595 #define wxUSE_ICO_CUR 1
46602 if test "$wxUSE_ABOUTDLG" = "yes"; then
46603 cat >>confdefs.h
<<\_ACEOF
46604 #define wxUSE_ABOUTDLG 1
46609 if test "$wxUSE_CHOICEDLG" = "yes"; then
46610 cat >>confdefs.h
<<\_ACEOF
46611 #define wxUSE_CHOICEDLG 1
46616 if test "$wxUSE_COLOURDLG" = "yes"; then
46617 cat >>confdefs.h
<<\_ACEOF
46618 #define wxUSE_COLOURDLG 1
46623 if test "$wxUSE_FILEDLG" = "yes"; then
46624 cat >>confdefs.h
<<\_ACEOF
46625 #define wxUSE_FILEDLG 1
46630 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46631 cat >>confdefs.h
<<\_ACEOF
46632 #define wxUSE_FINDREPLDLG 1
46637 if test "$wxUSE_FONTDLG" = "yes"; then
46638 cat >>confdefs.h
<<\_ACEOF
46639 #define wxUSE_FONTDLG 1
46644 if test "$wxUSE_DIRDLG" = "yes"; then
46645 if test "$wxUSE_TREECTRL" != "yes"; then
46646 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46647 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46649 cat >>confdefs.h
<<\_ACEOF
46650 #define wxUSE_DIRDLG 1
46656 if test "$wxUSE_MSGDLG" = "yes"; then
46657 cat >>confdefs.h
<<\_ACEOF
46658 #define wxUSE_MSGDLG 1
46663 if test "$wxUSE_NUMBERDLG" = "yes"; then
46664 cat >>confdefs.h
<<\_ACEOF
46665 #define wxUSE_NUMBERDLG 1
46670 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46671 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46672 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46673 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46675 cat >>confdefs.h
<<\_ACEOF
46676 #define wxUSE_PROGRESSDLG 1
46682 if test "$wxUSE_SPLASH" = "yes"; then
46683 cat >>confdefs.h
<<\_ACEOF
46684 #define wxUSE_SPLASH 1
46687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46690 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46691 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46692 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46693 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46695 cat >>confdefs.h
<<\_ACEOF
46696 #define wxUSE_STARTUP_TIPS 1
46702 if test "$wxUSE_TEXTDLG" = "yes"; then
46703 cat >>confdefs.h
<<\_ACEOF
46704 #define wxUSE_TEXTDLG 1
46709 if test "$wxUSE_WIZARDDLG" = "yes"; then
46710 cat >>confdefs.h
<<\_ACEOF
46711 #define wxUSE_WIZARDDLG 1
46714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46718 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46719 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46720 cat >>confdefs.h
<<\_ACEOF
46721 #define wxUSE_GRAPHICS_CONTEXT 1
46724 elif test "$wxUSE_GTK" != 1; then
46725 cat >>confdefs.h
<<\_ACEOF
46726 #define wxUSE_GRAPHICS_CONTEXT 1
46732 echo "$as_me:$LINENO: checking for CAIRO" >&5
46733 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46735 if test -n "$PKG_CONFIG"; then
46736 if test -n "$CAIRO_CFLAGS"; then
46737 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46739 if test -n "$PKG_CONFIG" && \
46740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46741 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46744 (exit $ac_status); }; then
46745 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46753 if test -n "$PKG_CONFIG"; then
46754 if test -n "$CAIRO_LIBS"; then
46755 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46757 if test -n "$PKG_CONFIG" && \
46758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46759 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46762 (exit $ac_status); }; then
46763 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46774 if test $pkg_failed = yes; then
46776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46777 _pkg_short_errors_supported
=yes
46779 _pkg_short_errors_supported
=no
46781 if test $_pkg_short_errors_supported = yes; then
46782 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46784 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46786 # Put the nasty error message in config.log where it belongs
46787 echo "$CAIRO_PKG_ERRORS" >&5
46789 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46790 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46792 elif test $pkg_failed = untried
; then
46793 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46794 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46797 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
46798 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
46799 echo "$as_me:$LINENO: result: yes" >&5
46800 echo "${ECHO_T}yes" >&6
46801 cat >>confdefs.h
<<\_ACEOF
46802 #define wxUSE_GRAPHICS_CONTEXT 1
46812 if test "$wxUSE_MEDIACTRL" = "yes"; then
46815 if test "$wxUSE_GTK" = 1; then
46816 wxUSE_GSTREAMER
="no"
46818 GST_VERSION_MAJOR
=0
46819 GST_VERSION_MINOR
=10
46820 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46822 if test "$wxUSE_GSTREAMER8" = "no"; then
46825 echo "$as_me:$LINENO: checking for GST" >&5
46826 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46828 if test -n "$PKG_CONFIG"; then
46829 if test -n "$GST_CFLAGS"; then
46830 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46832 if test -n "$PKG_CONFIG" && \
46833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46834 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46837 (exit $ac_status); }; then
46838 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46846 if test -n "$PKG_CONFIG"; then
46847 if test -n "$GST_LIBS"; then
46848 pkg_cv_GST_LIBS
="$GST_LIBS"
46850 if test -n "$PKG_CONFIG" && \
46851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46852 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46855 (exit $ac_status); }; then
46856 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46867 if test $pkg_failed = yes; then
46869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46870 _pkg_short_errors_supported
=yes
46872 _pkg_short_errors_supported
=no
46874 if test $_pkg_short_errors_supported = yes; then
46875 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46877 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46879 # Put the nasty error message in config.log where it belongs
46880 echo "$GST_PKG_ERRORS" >&5
46883 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46884 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46885 GST_VERSION_MINOR
=8
46888 elif test $pkg_failed = untried
; then
46890 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46891 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46892 GST_VERSION_MINOR
=8
46896 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46897 GST_LIBS
=$pkg_cv_GST_LIBS
46898 echo "$as_me:$LINENO: result: yes" >&5
46899 echo "${ECHO_T}yes" >&6
46901 wxUSE_GSTREAMER
="yes"
46902 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46906 GST_VERSION_MINOR
=8
46909 if test $GST_VERSION_MINOR = "8"; then
46910 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46913 echo "$as_me:$LINENO: checking for GST" >&5
46914 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46916 if test -n "$PKG_CONFIG"; then
46917 if test -n "$GST_CFLAGS"; then
46918 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46920 if test -n "$PKG_CONFIG" && \
46921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46922 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46925 (exit $ac_status); }; then
46926 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46934 if test -n "$PKG_CONFIG"; then
46935 if test -n "$GST_LIBS"; then
46936 pkg_cv_GST_LIBS
="$GST_LIBS"
46938 if test -n "$PKG_CONFIG" && \
46939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46940 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46943 (exit $ac_status); }; then
46944 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46955 if test $pkg_failed = yes; then
46957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46958 _pkg_short_errors_supported
=yes
46960 _pkg_short_errors_supported
=no
46962 if test $_pkg_short_errors_supported = yes; then
46963 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46965 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46967 # Put the nasty error message in config.log where it belongs
46968 echo "$GST_PKG_ERRORS" >&5
46971 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46972 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46974 elif test $pkg_failed = untried
; then
46976 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46977 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46980 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46981 GST_LIBS
=$pkg_cv_GST_LIBS
46982 echo "$as_me:$LINENO: result: yes" >&5
46983 echo "${ECHO_T}yes" >&6
46984 wxUSE_GSTREAMER
="yes"
46989 if test "$wxUSE_GSTREAMER" = "yes"; then
46992 if "$GCC" = yes; then
46993 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46994 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46998 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46999 LIBS
="$GST_LIBS $LIBS"
47001 cat >>confdefs.h
<<\_ACEOF
47002 #define wxUSE_GSTREAMER 1
47010 if test $USE_MEDIA = 1; then
47011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47012 cat >>confdefs.h
<<\_ACEOF
47013 #define wxUSE_MEDIACTRL 1
47020 if test "$cross_compiling" = "yes"; then
47023 OSINFO
=`uname -s -r -m`
47024 OSINFO
="\"$OSINFO\""
47027 cat >>confdefs.h
<<_ACEOF
47028 #define WXWIN_OS_DESCRIPTION $OSINFO
47033 if test "x$prefix" != "xNONE"; then
47036 wxPREFIX
=$ac_default_prefix
47039 cat >>confdefs.h
<<_ACEOF
47040 #define wxINSTALL_PREFIX "$wxPREFIX"
47046 CORE_BASE_LIBS
="net base"
47047 CORE_GUI_LIBS
="adv core"
47049 if test "$wxUSE_XML" = "yes" ; then
47050 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
47052 if test "$wxUSE_ODBC" != "no" ; then
47053 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
47054 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
47056 if test "$wxUSE_HTML" = "yes" ; then
47057 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
47059 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47060 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
47062 if test "$wxUSE_XRC" = "yes" ; then
47063 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
47065 if test "$wxUSE_AUI" = "yes" ; then
47066 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
47069 if test "$wxUSE_GUI" != "yes"; then
47078 ac_cpp
='$CPP $CPPFLAGS'
47079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47085 if test "$wxUSE_MAC" = 1 ; then
47086 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47087 if test "$USE_DARWIN" = 1; then
47088 LDFLAGS
="$LDFLAGS -framework QuickTime"
47090 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
47093 if test "$USE_DARWIN" = 1; then
47094 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47096 LDFLAGS
="$LDFLAGS -lCarbonLib"
47099 if test "$wxUSE_COCOA" = 1 ; then
47100 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47101 if test "$wxUSE_MEDIACTRL" = "yes"; then
47102 LDFLAGS
="$LDFLAGS -framework QuickTime"
47105 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47106 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47109 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47111 if test "$wxUSE_GUI" = "yes"; then
47114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47115 dynamic erase event exec font image minimal mobile \
47116 mobile/wxedit mobile/styles propsize render \
47117 rotate shaped vscroll widgets"
47119 if test "$wxUSE_MONOLITHIC" != "yes"; then
47120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47122 if test "$TOOLKIT" = "MSW"; then
47123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47124 if test "$wxUSE_UNIVERSAL" != "yes"; then
47125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47128 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47132 SAMPLES_SUBDIRS
="console"
47136 if test "x$INTELCC" = "xyes" ; then
47137 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
47138 elif test "$GCC" = yes ; then
47139 CWARNINGS
="-Wall -Wundef"
47142 if test "x$INTELCXX" = "xyes" ; then
47143 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
47144 elif test "$GXX" = yes ; then
47145 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
47149 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47150 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47153 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47154 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47155 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47158 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47159 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47160 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47162 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47165 if test "x$MWCC" = "xyes"; then
47167 CC
="$CC -cwd source -I-"
47168 CXX
="$CXX -cwd source -I-"
47173 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47174 EXTRALIBS_XML
="$EXPAT_LINK"
47175 EXTRALIBS_HTML
="$MSPACK_LINK"
47176 EXTRALIBS_ODBC
="$ODBC_LINK"
47177 if test "$wxUSE_GUI" = "yes"; then
47178 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47180 if test "$wxUSE_OPENGL" = "yes"; then
47181 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47184 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47186 WXCONFIG_LIBS
="$LIBS"
47188 if test "$wxUSE_REGEX" = "builtin" ; then
47189 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47191 if test "$wxUSE_EXPAT" = "builtin" ; then
47192 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47194 if test "$wxUSE_ODBC" = "builtin" ; then
47195 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47197 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47198 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47200 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47201 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47203 if test "$wxUSE_LIBPNG" = "builtin" ; then
47204 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47206 if test "$wxUSE_ZLIB" = "builtin" ; then
47207 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47210 for i
in $wxconfig_3rdparty ; do
47211 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47215 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47218 case "$wxUNIV_THEMES" in
47220 cat >>confdefs.h
<<\_ACEOF
47221 #define wxUSE_ALL_THEMES 1
47227 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47228 cat >>confdefs.h
<<_ACEOF
47229 #define wxUSE_THEME_$t 1
47246 if test $wxUSE_MONOLITHIC = "yes" ; then
47252 if test $wxUSE_PLUGINS = "yes" ; then
47258 if test $wxUSE_ODBC != "no" ; then
47264 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47270 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47300 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47311 TOOLKIT_DESC
="GTK+"
47312 if test "$WXGTK20" = 1; then
47313 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47314 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47315 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47317 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47318 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47320 if test "$wxUSE_LIBHILDON" = "yes"; then
47321 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47324 if test "$TOOLKIT_EXTRA" != ""; then
47325 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47331 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47335 TOOLKIT_DESC
="base only"
47339 if test "$wxUSE_WINE" = "yes"; then
47340 BAKEFILE_FORCE_PLATFORM
=win32
47343 if test "$wxUSE_MAC" = 1 ; then
47344 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47345 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47346 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47348 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47350 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47351 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47352 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47353 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47356 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47357 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47360 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47362 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47363 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47364 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47365 echo $ECHO_N "(cached) $ECHO_C" >&6
47368 echo '#include <stdio.h>
47369 const wchar_t test_var[] = L"awidetest";' > conftest.h
47371 echo '#include "conftest.h"
47374 printf("%ls", test_var);
47378 wx_cv_gcc_pch_bug
="pch not supported"
47380 if $CXX conftest.h
>/dev
/null
2>&1
47384 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47386 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47387 grep awidetest
>/dev
/null
47389 wx_cv_gcc_pch_bug
=no
47391 wx_cv_gcc_pch_bug
=yes
47396 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47399 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47400 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47402 if test "$wx_cv_gcc_pch_bug" = yes; then
47410 if test "x$BAKEFILE_HOST" = "x"; then
47411 if test "x${host}" = "x" ; then
47412 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47413 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47414 { (exit 1); exit 1; }; }
47417 BAKEFILE_HOST
="${host}"
47420 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47422 if test -n "$ac_tool_prefix"; then
47423 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47424 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47425 echo "$as_me:$LINENO: checking for $ac_word" >&5
47426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47427 if test "${ac_cv_prog_RANLIB+set}" = set; then
47428 echo $ECHO_N "(cached) $ECHO_C" >&6
47430 if test -n "$RANLIB"; then
47431 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47434 for as_dir
in $PATH
47437 test -z "$as_dir" && as_dir
=.
47438 for ac_exec_ext
in '' $ac_executable_extensions; do
47439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47440 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47449 RANLIB
=$ac_cv_prog_RANLIB
47450 if test -n "$RANLIB"; then
47451 echo "$as_me:$LINENO: result: $RANLIB" >&5
47452 echo "${ECHO_T}$RANLIB" >&6
47454 echo "$as_me:$LINENO: result: no" >&5
47455 echo "${ECHO_T}no" >&6
47459 if test -z "$ac_cv_prog_RANLIB"; then
47460 ac_ct_RANLIB
=$RANLIB
47461 # Extract the first word of "ranlib", so it can be a program name with args.
47462 set dummy ranlib
; ac_word
=$2
47463 echo "$as_me:$LINENO: checking for $ac_word" >&5
47464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47465 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47466 echo $ECHO_N "(cached) $ECHO_C" >&6
47468 if test -n "$ac_ct_RANLIB"; then
47469 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47472 for as_dir
in $PATH
47475 test -z "$as_dir" && as_dir
=.
47476 for ac_exec_ext
in '' $ac_executable_extensions; do
47477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47478 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47485 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47488 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47489 if test -n "$ac_ct_RANLIB"; then
47490 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47491 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47493 echo "$as_me:$LINENO: result: no" >&5
47494 echo "${ECHO_T}no" >&6
47497 RANLIB
=$ac_ct_RANLIB
47499 RANLIB
="$ac_cv_prog_RANLIB"
47502 # Find a good install program. We prefer a C program (faster),
47503 # so one script is as good as another. But avoid the broken or
47504 # incompatible versions:
47505 # SysV /etc/install, /usr/sbin/install
47506 # SunOS /usr/etc/install
47507 # IRIX /sbin/install
47509 # AmigaOS /C/install, which installs bootblocks on floppy discs
47510 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47511 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47512 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47513 # OS/2's system install, which has a completely different semantic
47514 # ./install, which can be erroneously created by make from ./install.sh.
47515 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47516 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47517 if test -z "$INSTALL"; then
47518 if test "${ac_cv_path_install+set}" = set; then
47519 echo $ECHO_N "(cached) $ECHO_C" >&6
47521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47522 for as_dir
in $PATH
47525 test -z "$as_dir" && as_dir
=.
47526 # Account for people who put trailing slashes in PATH elements.
47528 .
/ | .
// | /cC
/* | \
47529 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47530 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47533 # OSF1 and SCO ODT 3.0 have their own names for install.
47534 # Don't use installbsd from OSF since it installs stuff as root
47536 for ac_prog
in ginstall scoinst
install; do
47537 for ac_exec_ext
in '' $ac_executable_extensions; do
47538 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47539 if test $ac_prog = install &&
47540 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47541 # AIX install. It has an incompatible calling convention.
47543 elif test $ac_prog = install &&
47544 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47545 # program-specific install script used by HP pwplus--don't use.
47548 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47560 if test "${ac_cv_path_install+set}" = set; then
47561 INSTALL
=$ac_cv_path_install
47563 # As a last resort, use the slow shell script. We don't cache a
47564 # path for INSTALL within a source directory, because that will
47565 # break other packages using the cache if that directory is
47566 # removed, or if the path is relative.
47567 INSTALL
=$ac_install_sh
47570 echo "$as_me:$LINENO: result: $INSTALL" >&5
47571 echo "${ECHO_T}$INSTALL" >&6
47573 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47574 # It thinks the first close brace ends the variable substitution.
47575 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47577 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47579 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47581 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47582 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47584 if test "$LN_S" = "ln -s"; then
47585 echo "$as_me:$LINENO: result: yes" >&5
47586 echo "${ECHO_T}yes" >&6
47588 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47589 echo "${ECHO_T}no, using $LN_S" >&6
47593 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47594 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47595 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47596 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47597 echo $ECHO_N "(cached) $ECHO_C" >&6
47599 cat >conftest.
make <<\_ACEOF
47601 @
echo 'ac_maketemp="$(MAKE)"'
47603 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47604 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47605 if test -n "$ac_maketemp"; then
47606 eval ac_cv_prog_make_
${ac_make}_set
=yes
47608 eval ac_cv_prog_make_
${ac_make}_set
=no
47610 rm -f conftest.
make
47612 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47613 echo "$as_me:$LINENO: result: yes" >&5
47614 echo "${ECHO_T}yes" >&6
47617 echo "$as_me:$LINENO: result: no" >&5
47618 echo "${ECHO_T}no" >&6
47619 SET_MAKE
="MAKE=${MAKE-make}"
47624 if test -n "$ac_tool_prefix"; then
47625 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47626 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47627 echo "$as_me:$LINENO: checking for $ac_word" >&5
47628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47629 if test "${ac_cv_prog_AR+set}" = set; then
47630 echo $ECHO_N "(cached) $ECHO_C" >&6
47632 if test -n "$AR"; then
47633 ac_cv_prog_AR
="$AR" # Let the user override the test.
47635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47636 for as_dir
in $PATH
47639 test -z "$as_dir" && as_dir
=.
47640 for ac_exec_ext
in '' $ac_executable_extensions; do
47641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47642 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47652 if test -n "$AR"; then
47653 echo "$as_me:$LINENO: result: $AR" >&5
47654 echo "${ECHO_T}$AR" >&6
47656 echo "$as_me:$LINENO: result: no" >&5
47657 echo "${ECHO_T}no" >&6
47661 if test -z "$ac_cv_prog_AR"; then
47663 # Extract the first word of "ar", so it can be a program name with args.
47664 set dummy
ar; ac_word
=$2
47665 echo "$as_me:$LINENO: checking for $ac_word" >&5
47666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47667 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47668 echo $ECHO_N "(cached) $ECHO_C" >&6
47670 if test -n "$ac_ct_AR"; then
47671 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47674 for as_dir
in $PATH
47677 test -z "$as_dir" && as_dir
=.
47678 for ac_exec_ext
in '' $ac_executable_extensions; do
47679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47680 ac_cv_prog_ac_ct_AR
="ar"
47681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47687 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47690 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47691 if test -n "$ac_ct_AR"; then
47692 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47693 echo "${ECHO_T}$ac_ct_AR" >&6
47695 echo "$as_me:$LINENO: result: no" >&5
47696 echo "${ECHO_T}no" >&6
47701 AR
="$ac_cv_prog_AR"
47704 if test -n "$ac_tool_prefix"; then
47705 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47706 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47707 echo "$as_me:$LINENO: checking for $ac_word" >&5
47708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47709 if test "${ac_cv_prog_STRIP+set}" = set; then
47710 echo $ECHO_N "(cached) $ECHO_C" >&6
47712 if test -n "$STRIP"; then
47713 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47716 for as_dir
in $PATH
47719 test -z "$as_dir" && as_dir
=.
47720 for ac_exec_ext
in '' $ac_executable_extensions; do
47721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47722 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47731 STRIP
=$ac_cv_prog_STRIP
47732 if test -n "$STRIP"; then
47733 echo "$as_me:$LINENO: result: $STRIP" >&5
47734 echo "${ECHO_T}$STRIP" >&6
47736 echo "$as_me:$LINENO: result: no" >&5
47737 echo "${ECHO_T}no" >&6
47741 if test -z "$ac_cv_prog_STRIP"; then
47743 # Extract the first word of "strip", so it can be a program name with args.
47744 set dummy strip
; ac_word
=$2
47745 echo "$as_me:$LINENO: checking for $ac_word" >&5
47746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47747 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47748 echo $ECHO_N "(cached) $ECHO_C" >&6
47750 if test -n "$ac_ct_STRIP"; then
47751 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47754 for as_dir
in $PATH
47757 test -z "$as_dir" && as_dir
=.
47758 for ac_exec_ext
in '' $ac_executable_extensions; do
47759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47760 ac_cv_prog_ac_ct_STRIP
="strip"
47761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47767 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47770 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47771 if test -n "$ac_ct_STRIP"; then
47772 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47773 echo "${ECHO_T}$ac_ct_STRIP" >&6
47775 echo "$as_me:$LINENO: result: no" >&5
47776 echo "${ECHO_T}no" >&6
47781 STRIP
="$ac_cv_prog_STRIP"
47784 if test -n "$ac_tool_prefix"; then
47785 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47786 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47787 echo "$as_me:$LINENO: checking for $ac_word" >&5
47788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47789 if test "${ac_cv_prog_NM+set}" = set; then
47790 echo $ECHO_N "(cached) $ECHO_C" >&6
47792 if test -n "$NM"; then
47793 ac_cv_prog_NM
="$NM" # Let the user override the test.
47795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47796 for as_dir
in $PATH
47799 test -z "$as_dir" && as_dir
=.
47800 for ac_exec_ext
in '' $ac_executable_extensions; do
47801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47802 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47812 if test -n "$NM"; then
47813 echo "$as_me:$LINENO: result: $NM" >&5
47814 echo "${ECHO_T}$NM" >&6
47816 echo "$as_me:$LINENO: result: no" >&5
47817 echo "${ECHO_T}no" >&6
47821 if test -z "$ac_cv_prog_NM"; then
47823 # Extract the first word of "nm", so it can be a program name with args.
47824 set dummy nm
; ac_word
=$2
47825 echo "$as_me:$LINENO: checking for $ac_word" >&5
47826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47827 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47830 if test -n "$ac_ct_NM"; then
47831 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47834 for as_dir
in $PATH
47837 test -z "$as_dir" && as_dir
=.
47838 for ac_exec_ext
in '' $ac_executable_extensions; do
47839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47840 ac_cv_prog_ac_ct_NM
="nm"
47841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47847 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47850 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47851 if test -n "$ac_ct_NM"; then
47852 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47853 echo "${ECHO_T}$ac_ct_NM" >&6
47855 echo "$as_me:$LINENO: result: no" >&5
47856 echo "${ECHO_T}no" >&6
47861 NM
="$ac_cv_prog_NM"
47865 case ${BAKEFILE_HOST} in
47867 INSTALL_DIR
="mkdir -p"
47869 *) INSTALL_DIR
="$INSTALL -d"
47875 case ${BAKEFILE_HOST} in
47876 *-*-cygwin* | *-*-mingw32* )
47877 LDFLAGS_GUI
="-mwindows"
47883 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47884 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47885 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47886 echo $ECHO_N "(cached) $ECHO_C" >&6
47889 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47890 egrep -s GNU
> /dev
/null
); then
47891 bakefile_cv_prog_makeisgnu
="yes"
47893 bakefile_cv_prog_makeisgnu
="no"
47897 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47898 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47900 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47917 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47918 case "${BAKEFILE_HOST}" in
47925 *-pc-os2_emx | *-pc-os2-emx )
47935 powerpc
-apple-macos* )
47944 case "$BAKEFILE_FORCE_PLATFORM" in
47965 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47966 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47967 { (exit 1); exit 1; }; }
47982 # Check whether --enable-omf or --disable-omf was given.
47983 if test "${enable_omf+set}" = set; then
47984 enableval
="$enable_omf"
47985 bk_os2_use_omf
="$enableval"
47988 case "${BAKEFILE_HOST}" in
47990 if test "x$GCC" = "xyes"; then
47991 CFLAGS
="$CFLAGS -fno-common"
47992 CXXFLAGS
="$CXXFLAGS -fno-common"
47994 if test "x$XLCC" = "xyes"; then
47995 CFLAGS
="$CFLAGS -qnocommon"
47996 CXXFLAGS
="$CXXFLAGS -qnocommon"
48000 *-pc-os2_emx | *-pc-os2-emx )
48001 if test "x$bk_os2_use_omf" = "xyes" ; then
48004 LDFLAGS
="-Zomf $LDFLAGS"
48005 CFLAGS
="-Zomf $CFLAGS"
48006 CXXFLAGS
="-Zomf $CXXFLAGS"
48014 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48020 SO_SUFFIX_MODULE
="so"
48025 DLLPREFIX_MODULE
=""
48029 case "${BAKEFILE_HOST}" in
48032 SO_SUFFIX_MODULE
="sl"
48036 SO_SUFFIX_MODULE
="a"
48040 SO_SUFFIX_MODULE
="dll"
48041 DLLIMP_SUFFIX
="dll.a"
48048 SO_SUFFIX_MODULE
="dll"
48049 DLLIMP_SUFFIX
="dll.a"
48059 *-pc-os2_emx | *-pc-os2-emx )
48061 SO_SUFFIX_MODULE
="dll"
48062 DLLIMP_SUFFIX
=$OS2_LIBEXT
48066 LIBEXT
=".$OS2_LIBEXT"
48071 SO_SUFFIX_MODULE
="bundle"
48075 if test "x$DLLIMP_SUFFIX" = "x" ; then
48076 DLLIMP_SUFFIX
="$SO_SUFFIX"
48091 if test "x$GCC" = "xyes"; then
48095 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48096 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48099 case "${BAKEFILE_HOST}" in
48101 if test "x$GCC" != "xyes"; then
48102 LDFLAGS
="$LDFLAGS -L/usr/lib"
48104 SHARED_LD_CC
="${CC} -b -o"
48105 SHARED_LD_CXX
="${CXX} -b -o"
48111 if test "x$GCC" != "xyes"; then
48112 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48113 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48114 if test "${bakefile_cv_prog_icc+set}" = set; then
48115 echo $ECHO_N "(cached) $ECHO_C" >&6
48118 cat >conftest.
$ac_ext <<_ACEOF
48121 cat confdefs.h
>>conftest.
$ac_ext
48122 cat >>conftest.
$ac_ext <<_ACEOF
48123 /* end confdefs.h. */
48129 #ifndef __INTEL_COMPILER
48137 rm -f conftest.
$ac_objext
48138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48139 (eval $ac_compile) 2>conftest.er1
48141 grep -v '^ *+' conftest.er1
>conftest.err
48143 cat conftest.err
>&5
48144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145 (exit $ac_status); } &&
48146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48148 (eval $ac_try) 2>&5
48150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151 (exit $ac_status); }; } &&
48152 { ac_try
='test -s conftest.$ac_objext'
48153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48154 (eval $ac_try) 2>&5
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; }; then
48158 bakefile_cv_prog_icc
=yes
48160 echo "$as_me: failed program was:" >&5
48161 sed 's/^/| /' conftest.
$ac_ext >&5
48163 bakefile_cv_prog_icc
=no
48166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48169 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48170 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48171 if test "$bakefile_cv_prog_icc" = "yes"; then
48178 if test "x$GCC" != xyes
; then
48179 SHARED_LD_CC
="${CC} -G -o"
48180 SHARED_LD_CXX
="${CXX} -G -o"
48188 cat <<EOF >shared-ld-sh
48190 #-----------------------------------------------------------------------------
48191 #-- Name: distrib/mac/shared-ld-sh
48192 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48193 #-- Author: Gilles Depeyrot
48194 #-- Copyright: (c) 2002 Gilles Depeyrot
48195 #-- Licence: any use permitted
48196 #-----------------------------------------------------------------------------
48201 linking_flag="-dynamiclib"
48202 ldargs="-r -keep_private_externs -nostdlib"
48204 while test ${D}# -gt 0; do
48211 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48212 # collect these options and values
48213 args="${D}{args} ${D}1 ${D}2"
48218 # collect these load args
48219 ldargs="${D}{ldargs} ${D}1"
48222 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48223 # collect these options
48224 args="${D}{args} ${D}1"
48227 -dynamiclib|-bundle)
48228 linking_flag="${D}1"
48232 echo "shared-ld: unhandled option '${D}1'"
48236 *.o | *.a | *.dylib)
48237 # collect object files
48238 objects="${D}{objects} ${D}1"
48242 echo "shared-ld: unhandled argument '${D}1'"
48253 # Link one module containing all the others
48255 if test ${D}{verbose} = 1; then
48256 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48258 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48262 # Link the shared library from the single module created, but only if the
48263 # previous command didn't fail:
48265 if test ${D}{status} = 0; then
48266 if test ${D}{verbose} = 1; then
48267 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48269 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48274 # Remove intermediate module
48276 rm -f master.${D}${D}.o
48281 chmod +x shared
-ld-sh
48283 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48284 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48287 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48288 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48289 if test "${bakefile_cv_gcc31+set}" = set; then
48290 echo $ECHO_N "(cached) $ECHO_C" >&6
48293 cat >conftest.
$ac_ext <<_ACEOF
48296 cat confdefs.h
>>conftest.
$ac_ext
48297 cat >>conftest.
$ac_ext <<_ACEOF
48298 /* end confdefs.h. */
48304 #if (__GNUC__ < 3) || \
48305 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48313 rm -f conftest.
$ac_objext
48314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48315 (eval $ac_compile) 2>conftest.er1
48317 grep -v '^ *+' conftest.er1
>conftest.err
48319 cat conftest.err
>&5
48320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48321 (exit $ac_status); } &&
48322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48324 (eval $ac_try) 2>&5
48326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48327 (exit $ac_status); }; } &&
48328 { ac_try
='test -s conftest.$ac_objext'
48329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48330 (eval $ac_try) 2>&5
48332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48333 (exit $ac_status); }; }; then
48335 bakefile_cv_gcc31
=yes
48338 echo "$as_me: failed program was:" >&5
48339 sed 's/^/| /' conftest.
$ac_ext >&5
48342 bakefile_cv_gcc31
=no
48346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48349 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48350 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48351 if test "$bakefile_cv_gcc31" = "no"; then
48352 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48353 SHARED_LD_CXX
="$SHARED_LD_CC"
48355 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48356 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48359 if test "x$GCC" == "xyes"; then
48360 PIC_FLAG
="-dynamic -fPIC"
48362 if test "x$XLCC" = "xyes"; then
48363 PIC_FLAG
="-dynamic -DPIC"
48368 if test "x$GCC" = "xyes"; then
48371 case "${BAKEFILE_HOST}" in
48373 LD_EXPFULL
="-Wl,-bexpfull"
48377 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48378 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48380 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48381 set dummy makeC
++SharedLib
; ac_word
=$2
48382 echo "$as_me:$LINENO: checking for $ac_word" >&5
48383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48384 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48385 echo $ECHO_N "(cached) $ECHO_C" >&6
48387 if test -n "$AIX_CXX_LD"; then
48388 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48391 for as_dir
in $PATH
48394 test -z "$as_dir" && as_dir
=.
48395 for ac_exec_ext
in '' $ac_executable_extensions; do
48396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48397 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48404 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48407 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48408 if test -n "$AIX_CXX_LD"; then
48409 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48410 echo "${ECHO_T}$AIX_CXX_LD" >&6
48412 echo "$as_me:$LINENO: result: no" >&5
48413 echo "${ECHO_T}no" >&6
48416 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48417 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48422 SHARED_LD_CC
="${LD} -nostart -o"
48423 SHARED_LD_CXX
="${LD} -nostart -o"
48427 if test "x$GCC" != "xyes"; then
48432 *-*-cygwin* | *-*-mingw32* )
48434 SHARED_LD_CC
="\$(CC) -shared -o"
48435 SHARED_LD_CXX
="\$(CXX) -shared -o"
48439 *-pc-os2_emx | *-pc-os2-emx )
48440 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48441 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48445 cat <<EOF >dllar.sh
48448 # dllar - a tool to build both a .dll and an .a file
48449 # from a set of object (.o) files for EMX/OS2.
48451 # Written by Andrew Zabolotny, bit@freya.etu.ru
48452 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48454 # This script will accept a set of files on the command line.
48455 # All the public symbols from the .o files will be exported into
48456 # a .DEF file, then linker will be run (through gcc) against them to
48457 # build a shared library consisting of all given .o files. All libraries
48458 # (.a) will be first decompressed into component .o files then act as
48459 # described above. You can optionally give a description (-d "description")
48460 # which will be put into .DLL. To see the list of accepted options (as well
48461 # as command-line format) simply run this program without options. The .DLL
48462 # is built to be imported by name (there is no guarantee that new versions
48463 # of the library you build will have same ordinals for same symbols).
48465 # dllar is free software; you can redistribute it and/or modify
48466 # it under the terms of the GNU General Public License as published by
48467 # the Free Software Foundation; either version 2, or (at your option)
48468 # any later version.
48470 # dllar is distributed in the hope that it will be useful,
48471 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48472 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48473 # GNU General Public License for more details.
48475 # You should have received a copy of the GNU General Public License
48476 # along with dllar; see the file COPYING. If not, write to the Free
48477 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48480 # To successfuly run this program you will need:
48481 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48482 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48484 # (used to build the .dll)
48486 # (used to create .def file from .o files)
48488 # (used to create .a file from .def file)
48489 # - GNU text utilites (cat, sort, uniq)
48490 # used to process emxexp output
48491 # - GNU file utilities (mv, rm)
48493 # - lxlite (optional, see flag below)
48494 # (used for general .dll cleanup)
48501 # basnam, variant of basename, which does _not_ remove the path, _iff_
48502 # second argument (suffix to remove) is given
48506 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48509 echo ${D}1 | sed 's/'${D}2'${D}//'
48512 echo "error in basnam ${D}*"
48518 # Cleanup temporary files and output
48521 for i in ${D}inputFiles ; do
48524 rm -rf \`basnam ${D}i !\`
48531 # Kill result in case of failure as there is just to many stupid make/nmake
48532 # things out there which doesn't do this.
48533 if [ ${D}# -eq 0 ]; then
48534 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48538 # Print usage and exit script with rc=1.
48540 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48541 echo ' [-name-mangler-script script.sh]'
48542 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48543 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48544 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48545 echo ' [*.o] [*.a]'
48546 echo '*> "output_file" should have no extension.'
48547 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48548 echo ' The import library name is derived from this and is set to "name".a,'
48549 echo ' unless overridden by -import'
48550 echo '*> "importlib_name" should have no extension.'
48551 echo ' If it has the .o, or .a extension, it is automatically removed.'
48552 echo ' This name is used as the import library name and may be longer and'
48553 echo ' more descriptive than the DLL name which has to follow the old '
48554 echo ' 8.3 convention of FAT.'
48555 echo '*> "script.sh may be given to override the output_file name by a'
48556 echo ' different name. It is mainly useful if the regular make process'
48557 echo ' of some package does not take into account OS/2 restriction of'
48558 echo ' DLL name lengths. It takes the importlib name as input and is'
48559 echo ' supposed to procude a shorter name as output. The script should'
48560 echo ' expect to get importlib_name without extension and should produce'
48561 echo ' a (max.) 8 letter name without extension.'
48562 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48563 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48564 echo ' These flags will be put at the start of GCC command line.'
48565 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48566 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48567 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48568 echo ' If the last character of a symbol is "*", all symbols beginning'
48569 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48570 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48571 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48572 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48573 echo ' C runtime DLLs.'
48574 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48575 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48576 echo ' unchanged to GCC at the end of command line.'
48577 echo '*> If you create a DLL from a library and you do not specify -o,'
48578 echo ' the basename for DLL and import library will be set to library name,'
48579 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48580 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48581 echo ' library will be renamed into gcc_s.a.'
48584 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48585 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48590 # Execute a command.
48591 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48592 # @Uses Whatever CleanUp() uses.
48598 if [ ${D}rcCmd -ne 0 ]; then
48599 echo "command failed, exit code="${D}rcCmd
48614 CFLAGS="-s -Zcrtdll"
48616 EXPORT_BY_ORDINALS=0
48621 case ${D}curDirS in
48625 curDirS=${D}{curDirS}"/"
48628 # Parse commandline
48631 while [ ${D}1 ]; do
48634 EXPORT_BY_ORDINALS=1;
48644 -name-mangler-script)
48665 exclude_symbols=${D}{exclude_symbols}${D}1" "
48669 library_flags=${D}{library_flags}${D}1" "
48688 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48691 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48692 if [ ${D}omfLinking -eq 1 ]; then
48693 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48695 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48700 if [ ${D}libsToLink -ne 0 ]; then
48701 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48703 for file in ${D}1 ; do
48704 if [ -f ${D}file ]; then
48705 inputFiles="${D}{inputFiles} ${D}file"
48709 if [ ${D}found -eq 0 ]; then
48710 echo "ERROR: No file(s) found: "${D}1
48717 done # iterate cmdline words
48720 if [ -z "${D}inputFiles" ]; then
48721 echo "dllar: no input files"
48725 # Now extract all .o files from .a files
48727 for file in ${D}inputFiles ; do
48738 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48743 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48745 if [ ${D}? -ne 0 ]; then
48746 echo "Failed to create subdirectory ./${D}dirname"
48750 # Append '!' to indicate archive
48751 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48752 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48755 for subfile in ${D}dirname/*.o* ; do
48756 if [ -f ${D}subfile ]; then
48758 if [ -s ${D}subfile ]; then
48759 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48760 newInputFiles="${D}newInputFiles ${D}subfile"
48764 if [ ${D}found -eq 0 ]; then
48765 echo "WARNING: there are no files in archive \\'${D}file\\'"
48769 newInputFiles="${D}{newInputFiles} ${D}file"
48773 inputFiles="${D}newInputFiles"
48775 # Output filename(s).
48777 if [ -z ${D}outFile ]; then
48779 set outFile ${D}inputFiles; outFile=${D}2
48782 # If it is an archive, remove the '!' and the '_%' suffixes
48783 case ${D}outFile in
48785 outFile=\`basnam ${D}outFile _%!\`
48790 case ${D}outFile in
48792 outFile=\`basnam ${D}outFile .dll\`
48795 outFile=\`basnam ${D}outFile .DLL\`
48798 outFile=\`basnam ${D}outFile .o\`
48801 outFile=\`basnam ${D}outFile .obj\`
48804 outFile=\`basnam ${D}outFile .a\`
48807 outFile=\`basnam ${D}outFile .lib\`
48812 case ${D}outimpFile in
48814 outimpFile=\`basnam ${D}outimpFile .a\`
48817 outimpFile=\`basnam ${D}outimpFile .lib\`
48822 if [ -z ${D}outimpFile ]; then
48823 outimpFile=${D}outFile
48825 defFile="${D}{outFile}.def"
48826 arcFile="${D}{outimpFile}.a"
48827 arcFile2="${D}{outimpFile}.lib"
48829 #create ${D}dllFile as something matching 8.3 restrictions,
48830 if [ -z ${D}renameScript ] ; then
48831 dllFile="${D}outFile"
48833 dllFile=\`${D}renameScript ${D}outimpFile\`
48836 if [ ${D}do_backup -ne 0 ] ; then
48837 if [ -f ${D}arcFile ] ; then
48838 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48840 if [ -f ${D}arcFile2 ] ; then
48841 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48845 # Extract public symbols from all the object files.
48846 tmpdefFile=${D}{defFile}_%
48847 rm -f ${D}tmpdefFile
48848 for file in ${D}inputFiles ; do
48853 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48858 # Create the def file.
48860 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48861 dllFile="${D}{dllFile}.dll"
48862 if [ ! -z ${D}description ]; then
48863 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48865 echo "EXPORTS" >> ${D}defFile
48867 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48868 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48870 # Checks if the export is ok or not.
48871 for word in ${D}exclude_symbols; do
48872 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48873 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48877 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48878 sed "=" < ${D}tmpdefFile | \\
48882 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48884 ' > ${D}{tmpdefFile}%
48885 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48887 rm -f ${D}{tmpdefFile}%
48889 cat ${D}tmpdefFile >> ${D}defFile
48890 rm -f ${D}tmpdefFile
48892 # Do linking, create implib, and apply lxlite.
48894 for file in ${D}inputFiles ; do
48899 gccCmdl="${D}gccCmdl ${D}file"
48903 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48904 touch "${D}{outFile}.dll"
48906 doCommand "emximp -o ${D}arcFile ${D}defFile"
48907 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48909 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48912 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48914 doCommand "emxomf -s -l ${D}arcFile"
48924 powerpc
-apple-macos* | \
48925 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48936 if test "x$PIC_FLAG" != "x" ; then
48937 PIC_FLAG
="$PIC_FLAG -DPIC"
48940 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48941 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48943 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48944 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48963 case "${BAKEFILE_HOST}" in
48964 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48965 SONAME_FLAG
="-Wl,-soname,"
48999 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49000 if test "${enable_dependency_tracking+set}" = set; then
49001 enableval
="$enable_dependency_tracking"
49002 bk_use_trackdeps
="$enableval"
49005 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49006 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49008 if test "x$bk_use_trackdeps" = "xno" ; then
49010 echo "$as_me:$LINENO: result: disabled" >&5
49011 echo "${ECHO_T}disabled" >&6
49015 if test "x$GCC" = "xyes"; then
49017 case "${BAKEFILE_HOST}" in
49019 DEPSFLAG
="-no-cpp-precomp -MMD"
49025 echo "$as_me:$LINENO: result: gcc" >&5
49026 echo "${ECHO_T}gcc" >&6
49027 elif test "x$MWCC" = "xyes"; then
49030 echo "$as_me:$LINENO: result: mwcc" >&5
49031 echo "${ECHO_T}mwcc" >&6
49032 elif test "x$SUNCC" = "xyes"; then
49035 echo "$as_me:$LINENO: result: Sun cc" >&5
49036 echo "${ECHO_T}Sun cc" >&6
49037 elif test "x$SGICC" = "xyes"; then
49040 echo "$as_me:$LINENO: result: SGI cc" >&5
49041 echo "${ECHO_T}SGI cc" >&6
49042 elif test "x$HPCC" = "xyes"; then
49045 echo "$as_me:$LINENO: result: HP cc" >&5
49046 echo "${ECHO_T}HP cc" >&6
49047 elif test "x$COMPAQCC" = "xyes"; then
49050 echo "$as_me:$LINENO: result: Compaq cc" >&5
49051 echo "${ECHO_T}Compaq cc" >&6
49054 echo "$as_me:$LINENO: result: none" >&5
49055 echo "${ECHO_T}none" >&6
49058 if test $DEPS_TRACKING = 1 ; then
49064 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49065 # script. It is used to track C/C++ files dependencies in portable way.
49067 # Permission is given to use this file in any way.
49069 DEPSMODE=${DEPSMODE}
49071 DEPSFLAG="${DEPSFLAG}"
49073 mkdir -p ${D}DEPSDIR
49075 if test ${D}DEPSMODE = gcc ; then
49076 ${D}* ${D}{DEPSFLAG}
49078 if test ${D}{status} != 0 ; then
49081 # move created file to the location we want it in:
49082 while test ${D}# -gt 0; do
49096 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49097 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49098 if test -f ${D}depfile ; then
49099 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49102 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49103 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49104 if test ! -f ${D}depfile ; then
49105 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49106 depfile="${D}objfile.d"
49108 if test -f ${D}depfile ; then
49109 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49114 elif test ${D}DEPSMODE = mwcc ; then
49115 ${D}* || exit ${D}?
49116 # Run mwcc again with -MM and redirect into the dep file we want
49117 # NOTE: We can't use shift here because we need ${D}* to be valid
49119 for arg in ${D}* ; do
49120 if test "${D}prevarg" = "-o"; then
49133 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49135 elif test ${D}DEPSMODE = unixcc; then
49136 ${D}* || exit ${D}?
49137 # Run compiler again with deps flag and redirect into the dep file.
49138 # It doesn't work if the '-o FILE' option is used, but without it the
49139 # dependency file will contain the wrong name for the object. So it is
49140 # removed from the command line, and the dep file is fixed with sed.
49142 while test ${D}# -gt 0; do
49149 eval arg${D}#=\\${D}1
49150 cmd="${D}cmd \\${D}arg${D}#"
49155 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49170 case ${BAKEFILE_HOST} in
49171 *-*-cygwin* | *-*-mingw32* )
49172 if test -n "$ac_tool_prefix"; then
49173 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49174 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49175 echo "$as_me:$LINENO: checking for $ac_word" >&5
49176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49177 if test "${ac_cv_prog_WINDRES+set}" = set; then
49178 echo $ECHO_N "(cached) $ECHO_C" >&6
49180 if test -n "$WINDRES"; then
49181 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49184 for as_dir
in $PATH
49187 test -z "$as_dir" && as_dir
=.
49188 for ac_exec_ext
in '' $ac_executable_extensions; do
49189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49190 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49199 WINDRES
=$ac_cv_prog_WINDRES
49200 if test -n "$WINDRES"; then
49201 echo "$as_me:$LINENO: result: $WINDRES" >&5
49202 echo "${ECHO_T}$WINDRES" >&6
49204 echo "$as_me:$LINENO: result: no" >&5
49205 echo "${ECHO_T}no" >&6
49209 if test -z "$ac_cv_prog_WINDRES"; then
49210 ac_ct_WINDRES
=$WINDRES
49211 # Extract the first word of "windres", so it can be a program name with args.
49212 set dummy windres
; ac_word
=$2
49213 echo "$as_me:$LINENO: checking for $ac_word" >&5
49214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49215 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49216 echo $ECHO_N "(cached) $ECHO_C" >&6
49218 if test -n "$ac_ct_WINDRES"; then
49219 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49222 for as_dir
in $PATH
49225 test -z "$as_dir" && as_dir
=.
49226 for ac_exec_ext
in '' $ac_executable_extensions; do
49227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49228 ac_cv_prog_ac_ct_WINDRES
="windres"
49229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49237 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49238 if test -n "$ac_ct_WINDRES"; then
49239 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49240 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49242 echo "$as_me:$LINENO: result: no" >&5
49243 echo "${ECHO_T}no" >&6
49246 WINDRES
=$ac_ct_WINDRES
49248 WINDRES
="$ac_cv_prog_WINDRES"
49253 *-*-darwin* | powerpc
-apple-macos* )
49254 # Extract the first word of "Rez", so it can be a program name with args.
49255 set dummy Rez
; ac_word
=$2
49256 echo "$as_me:$LINENO: checking for $ac_word" >&5
49257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49258 if test "${ac_cv_prog_REZ+set}" = set; then
49259 echo $ECHO_N "(cached) $ECHO_C" >&6
49261 if test -n "$REZ"; then
49262 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49265 for as_dir
in $PATH
49268 test -z "$as_dir" && as_dir
=.
49269 for ac_exec_ext
in '' $ac_executable_extensions; do
49270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49271 ac_cv_prog_REZ
="Rez"
49272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49278 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49281 REZ
=$ac_cv_prog_REZ
49282 if test -n "$REZ"; then
49283 echo "$as_me:$LINENO: result: $REZ" >&5
49284 echo "${ECHO_T}$REZ" >&6
49286 echo "$as_me:$LINENO: result: no" >&5
49287 echo "${ECHO_T}no" >&6
49290 # Extract the first word of "SetFile", so it can be a program name with args.
49291 set dummy SetFile
; ac_word
=$2
49292 echo "$as_me:$LINENO: checking for $ac_word" >&5
49293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49294 if test "${ac_cv_prog_SETFILE+set}" = set; then
49295 echo $ECHO_N "(cached) $ECHO_C" >&6
49297 if test -n "$SETFILE"; then
49298 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49301 for as_dir
in $PATH
49304 test -z "$as_dir" && as_dir
=.
49305 for ac_exec_ext
in '' $ac_executable_extensions; do
49306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49307 ac_cv_prog_SETFILE
="SetFile"
49308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49314 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49317 SETFILE
=$ac_cv_prog_SETFILE
49318 if test -n "$SETFILE"; then
49319 echo "$as_me:$LINENO: result: $SETFILE" >&5
49320 echo "${ECHO_T}$SETFILE" >&6
49322 echo "$as_me:$LINENO: result: no" >&5
49323 echo "${ECHO_T}no" >&6
49334 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
49337 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
49341 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49342 if test "${enable_precomp_headers+set}" = set; then
49343 enableval
="$enable_precomp_headers"
49344 bk_use_pch
="$enableval"
49351 case ${BAKEFILE_HOST} in
49357 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49358 if test "x$GCC" = "xyes"; then
49359 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49360 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49361 cat >conftest.
$ac_ext <<_ACEOF
49364 cat confdefs.h
>>conftest.
$ac_ext
49365 cat >>conftest.
$ac_ext <<_ACEOF
49366 /* end confdefs.h. */
49372 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49373 There is no PCH support
49376 There is no PCH support
49378 #if (__GNUC__ == 3) && \
49379 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49380 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49381 ( defined(__INTEL_COMPILER) )
49382 There is no PCH support
49389 rm -f conftest.
$ac_objext
49390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49391 (eval $ac_compile) 2>conftest.er1
49393 grep -v '^ *+' conftest.er1
>conftest.err
49395 cat conftest.err
>&5
49396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49397 (exit $ac_status); } &&
49398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49400 (eval $ac_try) 2>&5
49402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49403 (exit $ac_status); }; } &&
49404 { ac_try
='test -s conftest.$ac_objext'
49405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49406 (eval $ac_try) 2>&5
49408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49409 (exit $ac_status); }; }; then
49411 echo "$as_me:$LINENO: result: yes" >&5
49412 echo "${ECHO_T}yes" >&6
49416 echo "$as_me: failed program was:" >&5
49417 sed 's/^/| /' conftest.
$ac_ext >&5
49420 cat >conftest.
$ac_ext <<_ACEOF
49423 cat confdefs.h
>>conftest.
$ac_ext
49424 cat >>conftest.
$ac_ext <<_ACEOF
49425 /* end confdefs.h. */
49431 #if !defined(__INTEL_COMPILER) || \
49432 (__INTEL_COMPILER < 800)
49433 There is no PCH support
49440 rm -f conftest.
$ac_objext
49441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49442 (eval $ac_compile) 2>conftest.er1
49444 grep -v '^ *+' conftest.er1
>conftest.err
49446 cat conftest.err
>&5
49447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49448 (exit $ac_status); } &&
49449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49451 (eval $ac_try) 2>&5
49453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49454 (exit $ac_status); }; } &&
49455 { ac_try
='test -s conftest.$ac_objext'
49456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49457 (eval $ac_try) 2>&5
49459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49460 (exit $ac_status); }; }; then
49462 echo "$as_me:$LINENO: result: yes" >&5
49463 echo "${ECHO_T}yes" >&6
49467 echo "$as_me: failed program was:" >&5
49468 sed 's/^/| /' conftest.
$ac_ext >&5
49471 echo "$as_me:$LINENO: result: no" >&5
49472 echo "${ECHO_T}no" >&6
49475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49479 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49483 cat <<EOF >bk-make-pch
49486 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49487 # script. It is used to generated precompiled headers.
49489 # Permission is given to use this file in any way.
49499 while test ${D}{#} -gt 0; do
49503 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49504 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49505 headerfile="${D}{incdir}/${D}{header}"
49508 -use-pch|-use_pch )
49513 if test ${D}add_to_cmdline = 1 ; then
49514 compiler="${D}{compiler} ${D}{1}"
49519 if test "x${D}{headerfile}" = "x" ; then
49520 echo "error: can't find header ${D}{header} in include paths" >&2
49522 if test -f ${D}{outfile} ; then
49523 rm -f ${D}{outfile}
49525 mkdir -p \`dirname ${D}{outfile}\`
49527 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49529 if test "x${GCC_PCH}" = "x1" ; then
49530 # can do this because gcc is >= 3.4:
49531 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49532 elif test "x${ICC_PCH}" = "x1" ; then
49533 filename=pch_gen-${D}${D}
49534 file=${D}{filename}.c
49535 dfile=${D}{filename}.d
49536 cat > ${D}file <<EOT
49537 #include "${D}header"
49539 # using -MF icc complains about differing command lines in creation/use
49540 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49541 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49542 rm -f ${D}file ${D}dfile ${D}{filename}.o
49548 chmod +x bk
-make-pch
49556 COND_BUILD_DEBUG
="#"
49557 if test "x$BUILD" = "xdebug" ; then
49558 COND_BUILD_DEBUG
=""
49561 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49562 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49563 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49566 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49567 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49568 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49571 COND_BUILD_DEBUG_UNICODE_0
="#"
49572 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49573 COND_BUILD_DEBUG_UNICODE_0
=""
49576 COND_BUILD_DEBUG_UNICODE_1
="#"
49577 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49578 COND_BUILD_DEBUG_UNICODE_1
=""
49581 COND_BUILD_RELEASE
="#"
49582 if test "x$BUILD" = "xrelease" ; then
49583 COND_BUILD_RELEASE
=""
49586 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49587 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49588 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49591 COND_BUILD_RELEASE_UNICODE_0
="#"
49592 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49593 COND_BUILD_RELEASE_UNICODE_0
=""
49596 COND_BUILD_RELEASE_UNICODE_1
="#"
49597 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49598 COND_BUILD_RELEASE_UNICODE_1
=""
49601 COND_DEBUG_FLAG_1
="#"
49602 if test "x$DEBUG_FLAG" = "x1" ; then
49603 COND_DEBUG_FLAG_1
=""
49606 COND_DEBUG_INFO_0
="#"
49607 if test "x$DEBUG_INFO" = "x0" ; then
49608 COND_DEBUG_INFO_0
=""
49611 COND_DEBUG_INFO_1
="#"
49612 if test "x$DEBUG_INFO" = "x1" ; then
49613 COND_DEBUG_INFO_1
=""
49616 COND_DEPS_TRACKING_0
="#"
49617 if test "x$DEPS_TRACKING" = "x0" ; then
49618 COND_DEPS_TRACKING_0
=""
49621 COND_DEPS_TRACKING_1
="#"
49622 if test "x$DEPS_TRACKING" = "x1" ; then
49623 COND_DEPS_TRACKING_1
=""
49627 if test "x$GCC_PCH" = "x1" ; then
49632 if test "x$ICC_PCH" = "x1" ; then
49636 COND_MONOLITHIC_0
="#"
49637 if test "x$MONOLITHIC" = "x0" ; then
49638 COND_MONOLITHIC_0
=""
49641 COND_MONOLITHIC_0_SHARED_0
="#"
49642 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49643 COND_MONOLITHIC_0_SHARED_0
=""
49646 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49647 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49648 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49652 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49656 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49657 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49662 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49667 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49668 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49671 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49672 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49673 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49676 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49677 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49678 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49681 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49682 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49683 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49686 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49687 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49688 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49691 COND_MONOLITHIC_0_SHARED_1
="#"
49692 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49693 COND_MONOLITHIC_0_SHARED_1
=""
49696 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49698 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49701 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49706 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49708 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49713 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49718 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49721 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49723 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49726 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49728 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49731 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49733 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49736 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49738 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49741 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49742 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49743 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49746 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49747 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49748 COND_MONOLITHIC_0_USE_ODBC_1
=""
49751 COND_MONOLITHIC_1
="#"
49752 if test "x$MONOLITHIC" = "x1" ; then
49753 COND_MONOLITHIC_1
=""
49756 COND_MONOLITHIC_1_SHARED_0
="#"
49757 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49758 COND_MONOLITHIC_1_SHARED_0
=""
49761 COND_MONOLITHIC_1_SHARED_1
="#"
49762 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49763 COND_MONOLITHIC_1_SHARED_1
=""
49766 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49767 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49768 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49771 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49772 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49773 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49776 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49777 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49778 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49781 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49782 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49783 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49786 COND_PLATFORM_MACOSX_1
="#"
49787 if test "x$PLATFORM_MACOSX" = "x1" ; then
49788 COND_PLATFORM_MACOSX_1
=""
49791 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49792 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49793 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49796 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49797 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49798 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49802 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49806 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49807 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49808 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49811 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49812 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49813 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49816 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49817 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49818 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49821 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49822 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49823 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49826 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49827 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49828 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49831 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49832 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49833 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49836 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49837 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49838 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49841 COND_PLATFORM_MACOS_1
="#"
49842 if test "x$PLATFORM_MACOS" = "x1" ; then
49843 COND_PLATFORM_MACOS_1
=""
49846 COND_PLATFORM_MAC_1
="#"
49847 if test "x$PLATFORM_MAC" = "x1" ; then
49848 COND_PLATFORM_MAC_1
=""
49851 COND_PLATFORM_MSDOS_0
="#"
49852 if test "x$PLATFORM_MSDOS" = "x0" ; then
49853 COND_PLATFORM_MSDOS_0
=""
49856 COND_PLATFORM_MSDOS_1
="#"
49857 if test "x$PLATFORM_MSDOS" = "x1" ; then
49858 COND_PLATFORM_MSDOS_1
=""
49861 COND_PLATFORM_OS2_1
="#"
49862 if test "x$PLATFORM_OS2" = "x1" ; then
49863 COND_PLATFORM_OS2_1
=""
49866 COND_PLATFORM_UNIX_0
="#"
49867 if test "x$PLATFORM_UNIX" = "x0" ; then
49868 COND_PLATFORM_UNIX_0
=""
49871 COND_PLATFORM_UNIX_1
="#"
49872 if test "x$PLATFORM_UNIX" = "x1" ; then
49873 COND_PLATFORM_UNIX_1
=""
49876 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49877 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49878 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49882 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49886 COND_PLATFORM_WIN32_0
="#"
49887 if test "x$PLATFORM_WIN32" = "x0" ; then
49888 COND_PLATFORM_WIN32_0
=""
49891 COND_PLATFORM_WIN32_1
="#"
49892 if test "x$PLATFORM_WIN32" = "x1" ; then
49893 COND_PLATFORM_WIN32_1
=""
49897 if test "x$SHARED" = "x0" ; then
49901 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49902 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49906 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49907 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49908 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49911 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49912 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49916 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49917 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49918 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49921 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49922 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49923 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49926 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49927 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49928 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49931 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49932 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49933 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49936 COND_SHARED_0_USE_XRC_1
="#"
49937 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49938 COND_SHARED_0_USE_XRC_1
=""
49941 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49942 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49943 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49946 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49947 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49948 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49951 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49952 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49953 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49956 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49957 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49958 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49962 if test "x$SHARED" = "x1" ; then
49966 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49967 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49968 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49971 COND_SHARED_1_USE_XRC_1
="#"
49972 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49973 COND_SHARED_1_USE_XRC_1
=""
49977 if test "x$TOOLKIT" = "x" ; then
49981 COND_TOOLKIT_COCOA
="#"
49982 if test "x$TOOLKIT" = "xCOCOA" ; then
49983 COND_TOOLKIT_COCOA
=""
49986 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49987 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49988 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49991 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49992 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49993 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49996 COND_TOOLKIT_DFB
="#"
49997 if test "x$TOOLKIT" = "xDFB" ; then
49998 COND_TOOLKIT_DFB
=""
50001 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50002 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50003 COND_TOOLKIT_DFB_USE_GUI_1
=""
50006 COND_TOOLKIT_GTK
="#"
50007 if test "x$TOOLKIT" = "xGTK" ; then
50008 COND_TOOLKIT_GTK
=""
50011 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50012 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50013 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50017 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50018 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50021 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50022 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50023 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50026 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50027 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50028 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50031 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50032 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50033 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50036 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50037 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50038 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50041 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50042 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50043 COND_TOOLKIT_GTK_USE_GUI_1
=""
50046 COND_TOOLKIT_MAC
="#"
50047 if test "x$TOOLKIT" = "xMAC" ; then
50048 COND_TOOLKIT_MAC
=""
50051 COND_TOOLKIT_MAC_USE_GUI_1
="#"
50052 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50053 COND_TOOLKIT_MAC_USE_GUI_1
=""
50056 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50057 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50058 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50061 COND_TOOLKIT_MGL
="#"
50062 if test "x$TOOLKIT" = "xMGL" ; then
50063 COND_TOOLKIT_MGL
=""
50066 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50067 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50068 COND_TOOLKIT_MGL_USE_GUI_1
=""
50071 COND_TOOLKIT_MOTIF
="#"
50072 if test "x$TOOLKIT" = "xMOTIF" ; then
50073 COND_TOOLKIT_MOTIF
=""
50076 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50077 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50078 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50081 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50082 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50083 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50086 COND_TOOLKIT_MSW
="#"
50087 if test "x$TOOLKIT" = "xMSW" ; then
50088 COND_TOOLKIT_MSW
=""
50091 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50092 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50093 COND_TOOLKIT_MSW_USE_GUI_1
=""
50096 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50097 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50098 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50101 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50102 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50103 COND_TOOLKIT_MSW_WXUNIV_0
=""
50106 COND_TOOLKIT_PM
="#"
50107 if test "x$TOOLKIT" = "xPM" ; then
50111 COND_TOOLKIT_PM_USE_GUI_1
="#"
50112 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50113 COND_TOOLKIT_PM_USE_GUI_1
=""
50116 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50117 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50118 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50121 COND_TOOLKIT_WINCE
="#"
50122 if test "x$TOOLKIT" = "xWINCE" ; then
50123 COND_TOOLKIT_WINCE
=""
50126 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50127 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50128 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50131 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50132 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50133 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50136 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50137 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50138 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50141 COND_TOOLKIT_X11
="#"
50142 if test "x$TOOLKIT" = "xX11" ; then
50143 COND_TOOLKIT_X11
=""
50146 COND_TOOLKIT_X11_USE_GUI_1
="#"
50147 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50148 COND_TOOLKIT_X11_USE_GUI_1
=""
50152 if test "x$UNICODE" = "x1" ; then
50156 COND_USE_EXCEPTIONS_0
="#"
50157 if test "x$USE_EXCEPTIONS" = "x0" ; then
50158 COND_USE_EXCEPTIONS_0
=""
50161 COND_USE_EXCEPTIONS_1
="#"
50162 if test "x$USE_EXCEPTIONS" = "x1" ; then
50163 COND_USE_EXCEPTIONS_1
=""
50167 if test "x$USE_GUI" = "x0" ; then
50172 if test "x$USE_GUI" = "x1" ; then
50176 COND_USE_GUI_1_WXUNIV_0
="#"
50177 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50178 COND_USE_GUI_1_WXUNIV_0
=""
50181 COND_USE_GUI_1_WXUNIV_1
="#"
50182 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50183 COND_USE_GUI_1_WXUNIV_1
=""
50186 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50187 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50188 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50191 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50192 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50193 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50196 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50197 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50198 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50201 COND_USE_ODBC_1
="#"
50202 if test "x$USE_ODBC" = "x1" ; then
50206 COND_USE_OPENGL_1
="#"
50207 if test "x$USE_OPENGL" = "x1" ; then
50208 COND_USE_OPENGL_1
=""
50212 if test "x$USE_PCH" = "x1" ; then
50216 COND_USE_PLUGINS_0
="#"
50217 if test "x$USE_PLUGINS" = "x0" ; then
50218 COND_USE_PLUGINS_0
=""
50221 COND_USE_RTTI_0
="#"
50222 if test "x$USE_RTTI" = "x0" ; then
50226 COND_USE_RTTI_1
="#"
50227 if test "x$USE_RTTI" = "x1" ; then
50231 COND_USE_SOSYMLINKS_1
="#"
50232 if test "x$USE_SOSYMLINKS" = "x1" ; then
50233 COND_USE_SOSYMLINKS_1
=""
50236 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50237 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50238 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50241 COND_USE_SOVERLINUX_1
="#"
50242 if test "x$USE_SOVERLINUX" = "x1" ; then
50243 COND_USE_SOVERLINUX_1
=""
50246 COND_USE_SOVERSION_0
="#"
50247 if test "x$USE_SOVERSION" = "x0" ; then
50248 COND_USE_SOVERSION_0
=""
50251 COND_USE_SOVERSOLARIS_1
="#"
50252 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50253 COND_USE_SOVERSOLARIS_1
=""
50256 COND_USE_THREADS_0
="#"
50257 if test "x$USE_THREADS" = "x0" ; then
50258 COND_USE_THREADS_0
=""
50261 COND_USE_THREADS_1
="#"
50262 if test "x$USE_THREADS" = "x1" ; then
50263 COND_USE_THREADS_1
=""
50267 if test "x$USE_XRC" = "x1" ; then
50271 COND_WINDOWS_IMPLIB_1
="#"
50272 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50273 COND_WINDOWS_IMPLIB_1
=""
50276 COND_WITH_PLUGIN_SDL_1
="#"
50277 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50278 COND_WITH_PLUGIN_SDL_1
=""
50282 if test "x$WXUNIV" = "x0" ; then
50287 if test "x$WXUNIV" = "x1" ; then
50291 COND_WXUSE_EXPAT_BUILTIN
="#"
50292 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50293 COND_WXUSE_EXPAT_BUILTIN
=""
50296 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50297 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50298 COND_WXUSE_LIBJPEG_BUILTIN
=""
50301 COND_WXUSE_LIBPNG_BUILTIN
="#"
50302 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50303 COND_WXUSE_LIBPNG_BUILTIN
=""
50306 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50307 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50308 COND_WXUSE_LIBTIFF_BUILTIN
=""
50311 COND_WXUSE_ODBC_BUILTIN
="#"
50312 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50313 COND_WXUSE_ODBC_BUILTIN
=""
50316 COND_WXUSE_REGEX_BUILTIN
="#"
50317 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50318 COND_WXUSE_REGEX_BUILTIN
=""
50321 COND_WXUSE_ZLIB_BUILTIN
="#"
50322 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50323 COND_WXUSE_ZLIB_BUILTIN
=""
50328 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50329 { { 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
50330 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;}
50331 { (exit 1); exit 1; }; }
50334 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50335 { { 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
50336 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;}
50337 { (exit 1); exit 1; }; }
50341 if test $GCC_PCH = 1
50343 if test "$wx_cv_gcc_pch_bug" = yes; then
50344 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50345 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50346 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50347 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50348 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50349 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50352 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50356 if test "$wxUSE_MAC" = 1 ; then
50357 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50358 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50364 if test "$wxUSE_SHARED" = "yes"; then
50366 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50367 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50370 *-pc-os2_emx | *-pc-os2-emx )
50371 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50372 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50373 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50374 cp -p ${srcdir}/src
/os
2/dllar.sh .
50379 EXE_LINKER
="$CXX -o"
50382 if test "$wxUSE_OMF" = "yes"; then
50384 *-pc-os2_emx | *-pc-os2-emx )
50385 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50386 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50387 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50392 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50394 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50456 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50457 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50458 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50459 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50460 echo $ECHO_N "(cached) $ECHO_C" >&6
50462 cat >conftest.
make <<\_ACEOF
50464 @
echo 'ac_maketemp="$(MAKE)"'
50466 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50467 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50468 if test -n "$ac_maketemp"; then
50469 eval ac_cv_prog_make_
${ac_make}_set
=yes
50471 eval ac_cv_prog_make_
${ac_make}_set
=no
50473 rm -f conftest.
make
50475 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50476 echo "$as_me:$LINENO: result: yes" >&5
50477 echo "${ECHO_T}yes" >&6
50480 echo "$as_me:$LINENO: result: no" >&5
50481 echo "${ECHO_T}no" >&6
50482 SET_MAKE
="MAKE=${MAKE-make}"
50487 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50490 if test "$USE_WIN32" = 1; then
50491 ac_config_commands
="$ac_config_commands
50497 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50500 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50503 ac_config_files
="$ac_config_files version-script Makefile"
50506 ac_config_commands
="$ac_config_commands wx-config"
50510 if test "$wxWITH_SUBDIRS" != "no"; then
50511 if test "$wxUSE_GUI" = "yes"; then
50512 SUBDIRS
="samples demos utils contrib"
50513 else SUBDIRS
="samples utils"
50518 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50519 if test "${with_cppunit_prefix+set}" = set; then
50520 withval
="$with_cppunit_prefix"
50521 cppunit_config_prefix
="$withval"
50523 cppunit_config_prefix
=""
50526 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50527 if test "${with_cppunit_exec_prefix+set}" = set; then
50528 withval
="$with_cppunit_exec_prefix"
50529 cppunit_config_exec_prefix
="$withval"
50531 cppunit_config_exec_prefix
=""
50534 if test x
$cppunit_config_exec_prefix != x
; then
50535 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50536 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50537 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50540 if test x
$cppunit_config_prefix != x
; then
50541 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50542 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50543 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50547 # Extract the first word of "cppunit-config", so it can be a program name with args.
50548 set dummy cppunit
-config; ac_word
=$2
50549 echo "$as_me:$LINENO: checking for $ac_word" >&5
50550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50551 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50552 echo $ECHO_N "(cached) $ECHO_C" >&6
50554 case $CPPUNIT_CONFIG in
50556 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50560 for as_dir
in $PATH
50563 test -z "$as_dir" && as_dir
=.
50564 for ac_exec_ext
in '' $ac_executable_extensions; do
50565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50566 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50573 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50577 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50579 if test -n "$CPPUNIT_CONFIG"; then
50580 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50581 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50583 echo "$as_me:$LINENO: result: no" >&5
50584 echo "${ECHO_T}no" >&6
50587 cppunit_version_min
=1.8.0
50589 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50590 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50592 if test "$CPPUNIT_CONFIG" = "no" ; then
50593 echo "$as_me:$LINENO: result: no" >&5
50594 echo "${ECHO_T}no" >&6
50597 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50598 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50599 cppunit_version
=`$CPPUNIT_CONFIG --version`
50601 cppunit_major_version
=`echo $cppunit_version | \
50602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50603 cppunit_minor_version
=`echo $cppunit_version | \
50604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50605 cppunit_micro_version
=`echo $cppunit_version | \
50606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50608 cppunit_major_min
=`echo $cppunit_version_min | \
50609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50610 cppunit_minor_min
=`echo $cppunit_version_min | \
50611 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50612 cppunit_micro_min
=`echo $cppunit_version_min | \
50613 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50615 cppunit_version_proper
=`expr \
50616 $cppunit_major_version \> $cppunit_major_min \| \
50617 $cppunit_major_version \= $cppunit_major_min \& \
50618 $cppunit_minor_version \> $cppunit_minor_min \| \
50619 $cppunit_major_version \= $cppunit_major_min \& \
50620 $cppunit_minor_version \= $cppunit_minor_min \& \
50621 $cppunit_micro_version \>= $cppunit_micro_min `
50623 if test "$cppunit_version_proper" = "1" ; then
50624 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50625 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50627 echo "$as_me:$LINENO: result: no" >&5
50628 echo "${ECHO_T}no" >&6
50633 if test "x$no_cppunit" = x
; then
50634 SUBDIRS
="$SUBDIRS tests"
50645 for subdir
in `echo $SUBDIRS`; do
50646 if test -d ${srcdir}/${subdir} ; then
50647 if test "$wxUSE_GUI" = "yes"; then
50648 if test ${subdir} = "samples"; then
50649 makefiles
="samples/Makefile.in $makefiles"
50650 for sample
in `echo $SAMPLES_SUBDIRS`; do
50651 if test -d $srcdir/samples
/$sample; then
50652 makefiles
="samples/$sample/Makefile.in $makefiles"
50656 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50657 eval "disabled=\$$disabled_var"
50658 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50659 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50661 else if test ${subdir} = "samples"; then
50662 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50663 elif test ${subdir} = "utils"; then
50665 for util
in HelpGen tex2rtf
; do
50666 if test -d $srcdir/utils
/$util ; then
50667 makefiles
="utils/$util/Makefile.in \
50668 utils/$util/src/Makefile.in \
50672 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50676 for mkin
in $makefiles ; do
50677 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50678 ac_config_files
="$ac_config_files $mk"
50684 cat >confcache
<<\_ACEOF
50685 # This file is a shell script that caches the results of configure
50686 # tests run on this system so they can be shared between configure
50687 # scripts and configure runs, see configure's option --config-cache.
50688 # It is not useful on other systems. If it contains results you don't
50689 # want to keep, you may remove or edit it.
50691 # config.status only pays attention to the cache file if you give it
50692 # the --recheck option to rerun configure.
50694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50696 # following values.
50700 # The following way of writing the cache mishandles newlines in values,
50701 # but we know of no workaround that is simple, portable, and efficient.
50702 # So, don't put newlines in cache variables' values.
50703 # Ultrix sh set writes to stderr and can't be redirected directly,
50704 # and sets the high bit in the cache file unless we assign to the vars.
50707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50709 # `set' does not quote correctly, so add quotes (double-quote
50710 # substitution turns \\\\ into \\, and sed turns \\ into \).
50713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50716 # `set' quotes correctly as required by POSIX, so do not add quotes.
50718 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50727 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50729 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50730 if test -w $cache_file; then
50731 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50732 cat confcache
>$cache_file
50734 echo "not updating unwritable cache $cache_file"
50739 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50740 # Let make expand exec_prefix.
50741 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50743 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50744 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50745 # trailing colons and then remove the whole line if VPATH becomes empty
50746 # (actually we leave an empty line to preserve line numbers).
50747 if test "x$srcdir" = x.
; then
50748 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50749 s/:*\$(srcdir):*/:/;
50750 s/:*\${srcdir}:*/:/;
50752 s/^\([^=]*=[ ]*\):*/\1/;
50758 DEFS
=-DHAVE_CONFIG_H
50762 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50763 # 1. Remove the extension, and $U if already installed.
50764 ac_i
=`echo "$ac_i" |
50765 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50767 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50768 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50770 LIBOBJS
=$ac_libobjs
50772 LTLIBOBJS
=$ac_ltlibobjs
50776 : ${CONFIG_STATUS=./config.status}
50777 ac_clean_files_save
=$ac_clean_files
50778 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50779 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50780 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50781 cat >$CONFIG_STATUS <<_ACEOF
50783 # Generated by $as_me.
50784 # Run this file to recreate the current configuration.
50785 # Compiler output produced by configure, useful for debugging
50786 # configure, is in config.log if it exists.
50789 ac_cs_recheck=false
50791 SHELL=\${CONFIG_SHELL-$SHELL}
50794 cat >>$CONFIG_STATUS <<\_ACEOF
50795 ## --------------------- ##
50796 ## M4sh Initialization. ##
50797 ## --------------------- ##
50799 # Be Bourne compatible
50800 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50803 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50804 # is contrary to our usage. Disable this feature.
50805 alias -g '${1+"$@"}'='"$@"'
50806 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50809 DUALCASE
=1; export DUALCASE
# for MKS sh
50811 # Support unset when possible.
50812 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50819 # Work around bugs in pre-3.0 UWIN ksh.
50820 $as_unset ENV MAIL MAILPATH
50827 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50828 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50829 LC_TELEPHONE LC_TIME
50831 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50832 eval $as_var=C
; export $as_var
50838 # Required to use basename.
50839 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50845 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50846 as_basename
=basename
50852 # Name of the executable.
50853 as_me
=`$as_basename "$0" ||
50854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50855 X"$0" : 'X\(//\)$' \| \
50856 X"$0" : 'X\(/\)$' \| \
50857 . : '\(.\)' 2>/dev/null ||
50859 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50860 /^X\/\(\/\/\)$/{ s//\1/; q; }
50861 /^X\/\(\/\).*/{ s//\1/; q; }
50865 # PATH needs CR, and LINENO needs CR and PATH.
50866 # Avoid depending upon Character Ranges.
50867 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50868 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50869 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50870 as_cr_digits
='0123456789'
50871 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50873 # The user is always right.
50874 if test "${PATH_SEPARATOR+set}" != set; then
50875 echo "#! /bin/sh" >conf$$.sh
50876 echo "exit 0" >>conf$$.sh
50878 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50887 as_lineno_1
=$LINENO
50888 as_lineno_2
=$LINENO
50889 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50890 test "x$as_lineno_1" != "x$as_lineno_2" &&
50891 test "x$as_lineno_3" = "x$as_lineno_2" || {
50892 # Find who we are. Look in the path if we contain no path at all
50895 *[\\/]* ) as_myself
=$0 ;;
50896 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50897 for as_dir
in $PATH
50900 test -z "$as_dir" && as_dir
=.
50901 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50906 # We did not find ourselves, most probably we were run as `sh COMMAND'
50907 # in which case we are not to be found in the path.
50908 if test "x$as_myself" = x
; then
50911 if test ! -f "$as_myself"; then
50912 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50913 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50914 { (exit 1); exit 1; }; }
50916 case $CONFIG_SHELL in
50918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50919 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50922 test -z "$as_dir" && as_dir
=.
50923 for as_base
in sh bash ksh sh5
; do
50926 if ("$as_dir/$as_base" -c '
50927 as_lineno_1=$LINENO
50928 as_lineno_2=$LINENO
50929 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50930 test "x$as_lineno_1" != "x$as_lineno_2" &&
50931 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50932 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50933 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50934 CONFIG_SHELL
=$as_dir/$as_base
50935 export CONFIG_SHELL
50936 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50944 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50945 # uniformly replaced by the line number. The first 'sed' inserts a
50946 # line-number line before each line; the second 'sed' does the real
50947 # work. The second script uses 'N' to pair each line-number line
50948 # with the numbered line, and appends trailing '-' during
50949 # substitution so that $LINENO is not a special case at line end.
50950 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50951 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50952 sed '=' <$as_myself |
50957 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50960 s,^['$as_cr_digits']*\n,,
50961 ' >$as_me.lineno
&&
50962 chmod +x
$as_me.lineno
||
50963 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50964 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50965 { (exit 1); exit 1; }; }
50967 # Don't try to exec as it changes $[0], causing all sort of problems
50968 # (the dirname of $[0] is not the place where we might find the
50969 # original and so on. Autoconf is especially sensible to this).
50971 # Exit status is that of the last command.
50976 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50977 *c
*,-n*) ECHO_N
= ECHO_C
='
50979 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50980 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50983 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50989 rm -f conf$$ conf$$.exe conf$$.
file
50991 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50992 # We could just check for DJGPP; but this test a) works b) is more generic
50993 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50994 if test -f conf$$.exe
; then
50995 # Don't use ln at all; we don't have any links
51000 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51005 rm -f conf$$ conf$$.exe conf$$.
file
51007 if mkdir -p .
2>/dev
/null
; then
51010 test -d .
/-p && rmdir .
/-p
51014 as_executable_p
="test -f"
51016 # Sed expression to map a string onto a valid CPP name.
51017 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51019 # Sed expression to map a string onto a valid variable name.
51020 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51024 # We need space, tab and new line, in precisely that order.
51034 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51035 # report actual input values of CONFIG_FILES etc. instead of their
51036 # values after options handling. Logging --version etc. is OK.
51040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51041 ## Running $as_me. ##
51046 This file was extended by wxWidgets $as_me 2.7.1, which was
51047 generated by GNU Autoconf 2.59. Invocation command line was
51049 CONFIG_FILES = $CONFIG_FILES
51050 CONFIG_HEADERS = $CONFIG_HEADERS
51051 CONFIG_LINKS = $CONFIG_LINKS
51052 CONFIG_COMMANDS = $CONFIG_COMMANDS
51056 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51060 # Files that config.status was made for.
51061 if test -n "$ac_config_files"; then
51062 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51065 if test -n "$ac_config_headers"; then
51066 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51069 if test -n "$ac_config_links"; then
51070 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51073 if test -n "$ac_config_commands"; then
51074 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51077 cat >>$CONFIG_STATUS <<\_ACEOF
51080 \`$as_me' instantiates files from templates according to the
51081 current configuration.
51083 Usage: $0 [OPTIONS] [FILE]...
51085 -h, --help print this help, then exit
51086 -V, --version print version number, then exit
51087 -q, --quiet do not print progress messages
51088 -d, --debug don't remove temporary files
51089 --recheck update $as_me by reconfiguring in the same conditions
51090 --file=FILE[:TEMPLATE]
51091 instantiate the configuration file FILE
51092 --header=FILE[:TEMPLATE]
51093 instantiate the configuration header FILE
51095 Configuration files:
51098 Configuration headers:
51101 Configuration commands:
51104 Report bugs to <bug-autoconf@gnu.org>."
51107 cat >>$CONFIG_STATUS <<_ACEOF
51109 wxWidgets config.status 2.7.1
51110 configured by $0, generated by GNU Autoconf 2.59,
51111 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51113 Copyright (C) 2003 Free Software Foundation, Inc.
51114 This config.status script is free software; the Free Software Foundation
51115 gives unlimited permission to copy, distribute and modify it."
51120 cat >>$CONFIG_STATUS <<\_ACEOF
51121 # If no file are specified by the user, then we need to provide default
51122 # value. By we need to know if files were specified by the user.
51128 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
51129 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
51137 *) # This is not an option, so the user has probably given explicit
51140 ac_need_defaults
=false
;;
51144 # Handling of the options.
51146 cat >>$CONFIG_STATUS <<\_ACEOF
51147 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51149 --version | --vers* | -V )
51150 echo "$ac_cs_version"; exit 0 ;;
51152 # Conflict between --help and --header
51153 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51154 Try \`$0 --help' for more information." >&5
51155 echo "$as_me: error: ambiguous option: $1
51156 Try \`$0 --help' for more information." >&2;}
51157 { (exit 1); exit 1; }; };;
51158 --help | --hel | -h )
51159 echo "$ac_cs_usage"; exit 0 ;;
51160 --debug | --d* | -d )
51162 --file | --fil | --fi | --f )
51164 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51165 ac_need_defaults
=false
;;
51166 --header | --heade | --head | --hea )
51168 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51169 ac_need_defaults
=false
;;
51170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51171 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51174 # This is an error.
51175 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51176 Try \`$0 --help' for more information." >&5
51177 echo "$as_me: error: unrecognized option: $1
51178 Try \`$0 --help' for more information." >&2;}
51179 { (exit 1); exit 1; }; } ;;
51181 *) ac_config_targets
="$ac_config_targets $1" ;;
51187 ac_configure_extra_args
=
51189 if $ac_cs_silent; then
51191 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51195 cat >>$CONFIG_STATUS <<_ACEOF
51196 if \$ac_cs_recheck; then
51197 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51198 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51203 cat >>$CONFIG_STATUS <<_ACEOF
51205 # INIT-COMMANDS section.
51210 infile="$srcdir/include/wx/msw/genrcdefs.h"
51211 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51214 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51215 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51216 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51224 cat >>$CONFIG_STATUS <<\_ACEOF
51225 for ac_config_target
in $ac_config_targets
51227 case "$ac_config_target" in
51228 # Handling of arguments.
51229 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51230 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51231 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51232 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51233 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51234 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51235 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51236 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51237 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51238 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51239 { (exit 1); exit 1; }; };;
51243 # If the user did not use the arguments to specify the items to instantiate,
51244 # then the envvar interface is used. Set only those that are not.
51245 # We use the long form for the default assignment because of an extremely
51246 # bizarre bug on SunOS 4.1.3.
51247 if $ac_need_defaults; then
51248 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51249 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51250 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51253 # Have a temporary directory for convenience. Make it in the build tree
51254 # simply because there is no reason to put it here, and in addition,
51255 # creating and moving files from /tmp can sometimes cause problems.
51256 # Create a temporary directory, and hook for its removal unless debugging.
51259 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51260 trap '{ (exit 1); exit 1; }' 1 2 13 15
51263 # Create a (secure) tmp directory for tmp files.
51266 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51267 test -n "$tmp" && test -d "$tmp"
51270 tmp
=.
/confstat$$
-$RANDOM
51271 (umask 077 && mkdir $tmp)
51274 echo "$me: cannot create a temporary directory in ." >&2
51275 { (exit 1); exit 1; }
51280 cat >>$CONFIG_STATUS <<_ACEOF
51283 # CONFIG_FILES section.
51286 # No need to generate the scripts if there are no CONFIG_FILES.
51287 # This happens for instance when ./config.status config.h
51288 if test -n "\$CONFIG_FILES"; then
51289 # Protect against being on the right side of a sed subst in config.status.
51290 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51291 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51292 s,@SHELL@,$SHELL,;t t
51293 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51294 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51295 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51296 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51297 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51298 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51299 s,@exec_prefix@,$exec_prefix,;t t
51300 s,@prefix@,$prefix,;t t
51301 s,@program_transform_name@,$program_transform_name,;t t
51302 s,@bindir@,$bindir,;t t
51303 s,@sbindir@,$sbindir,;t t
51304 s,@libexecdir@,$libexecdir,;t t
51305 s,@datadir@,$datadir,;t t
51306 s,@sysconfdir@,$sysconfdir,;t t
51307 s,@sharedstatedir@,$sharedstatedir,;t t
51308 s,@localstatedir@,$localstatedir,;t t
51309 s,@libdir@,$libdir,;t t
51310 s,@includedir@,$includedir,;t t
51311 s,@oldincludedir@,$oldincludedir,;t t
51312 s,@infodir@,$infodir,;t t
51313 s,@mandir@,$mandir,;t t
51314 s,@build_alias@,$build_alias,;t t
51315 s,@host_alias@,$host_alias,;t t
51316 s,@target_alias@,$target_alias,;t t
51317 s,@DEFS@,$DEFS,;t t
51318 s,@ECHO_C@,$ECHO_C,;t t
51319 s,@ECHO_N@,$ECHO_N,;t t
51320 s,@ECHO_T@,$ECHO_T,;t t
51321 s,@LIBS@,$LIBS,;t t
51322 s,@build@,$build,;t t
51323 s,@build_cpu@,$build_cpu,;t t
51324 s,@build_vendor@,$build_vendor,;t t
51325 s,@build_os@,$build_os,;t t
51326 s,@host@,$host,;t t
51327 s,@host_cpu@,$host_cpu,;t t
51328 s,@host_vendor@,$host_vendor,;t t
51329 s,@host_os@,$host_os,;t t
51330 s,@target@,$target,;t t
51331 s,@target_cpu@,$target_cpu,;t t
51332 s,@target_vendor@,$target_vendor,;t t
51333 s,@target_os@,$target_os,;t t
51335 s,@CFLAGS@,$CFLAGS,;t t
51336 s,@LDFLAGS@,$LDFLAGS,;t t
51337 s,@CPPFLAGS@,$CPPFLAGS,;t t
51338 s,@ac_ct_CC@,$ac_ct_CC,;t t
51339 s,@EXEEXT@,$EXEEXT,;t t
51340 s,@OBJEXT@,$OBJEXT,;t t
51342 s,@EGREP@,$EGREP,;t t
51344 s,@CXXFLAGS@,$CXXFLAGS,;t t
51345 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51346 s,@RANLIB@,$RANLIB,;t t
51347 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51349 s,@ac_ct_AR@,$ac_ct_AR,;t t
51350 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51351 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51352 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51353 s,@STRIP@,$STRIP,;t t
51354 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51355 s,@WINDRES@,$WINDRES,;t t
51356 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51357 s,@DLLTOOL@,$DLLTOOL,;t t
51358 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51359 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51360 s,@LN_S@,$LN_S,;t t
51361 s,@CXXCPP@,$CXXCPP,;t t
51362 s,@subdirs@,$subdirs,;t t
51363 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51364 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51365 s,@GTK_LIBS@,$GTK_LIBS,;t t
51366 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51367 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51368 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51369 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51370 s,@X_CFLAGS@,$X_CFLAGS,;t t
51371 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51372 s,@X_LIBS@,$X_LIBS,;t t
51373 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51374 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51375 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51376 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51377 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51378 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51379 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51381 s,@DEREZ@,$DEREZ,;t t
51382 s,@SETFILE@,$SETFILE,;t t
51383 s,@LIBICONV@,$LIBICONV,;t t
51384 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51385 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51386 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51387 s,@SDL_LIBS@,$SDL_LIBS,;t t
51388 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51389 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51390 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51391 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51392 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51393 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51394 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51395 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51396 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51397 s,@GST_LIBS@,$GST_LIBS,;t t
51398 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51399 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51400 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51401 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51402 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51403 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51404 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51405 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51406 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51407 s,@VENDOR@,$VENDOR,;t t
51408 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51409 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51410 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51411 s,@WXUNIV@,$WXUNIV,;t t
51412 s,@MONOLITHIC@,$MONOLITHIC,;t t
51413 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51414 s,@EXTRALIBS@,$EXTRALIBS,;t t
51415 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51416 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51417 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51418 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51419 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51420 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51421 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51422 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51423 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51424 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51425 s,@UNICODE@,$UNICODE,;t t
51426 s,@BUILD@,$BUILD,;t t
51427 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51428 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51429 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51430 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51431 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51432 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51433 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51434 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51435 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51436 s,@SET_MAKE@,$SET_MAKE,;t t
51437 s,@MAKE_SET@,$MAKE_SET,;t t
51439 s,@ac_ct_NM@,$ac_ct_NM,;t t
51440 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51441 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51442 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51443 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51444 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51445 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51446 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51447 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51448 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51449 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51450 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51451 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51452 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51453 s,@LIBPREFIX@,$LIBPREFIX,;t t
51454 s,@LIBEXT@,$LIBEXT,;t t
51455 s,@DLLPREFIX@,$DLLPREFIX,;t t
51456 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51457 s,@dlldir@,$dlldir,;t t
51458 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51459 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51460 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51461 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51462 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51463 s,@PIC_FLAG@,$PIC_FLAG,;t t
51464 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51465 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51466 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51467 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51468 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51469 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51470 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51471 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51472 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51473 s,@GCC_PCH@,$GCC_PCH,;t t
51474 s,@ICC_PCH@,$ICC_PCH,;t t
51475 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51476 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51477 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51478 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51479 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51480 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51481 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51482 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51483 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51484 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51485 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51486 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51487 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51488 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51489 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51490 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51491 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51492 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51493 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51494 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51495 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
51496 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
51497 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
51498 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
51499 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51500 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51501 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51502 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51503 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51504 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51505 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
51506 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
51507 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
51508 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
51509 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51510 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51511 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51512 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51513 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51514 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51515 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51516 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51517 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51518 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51519 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51520 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51521 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51522 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51523 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51524 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51525 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51526 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51527 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
51528 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51529 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51530 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51531 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51532 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51533 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51534 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51535 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51536 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51537 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51538 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51539 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51540 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51541 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51542 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51543 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51544 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51545 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51546 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51547 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51548 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51549 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51550 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51551 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51552 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51553 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51554 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51555 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51556 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51557 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51558 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51559 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51560 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51561 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51562 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51563 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51564 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51565 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51566 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51567 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51568 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51569 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
51570 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51571 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51572 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51573 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51574 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51575 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51576 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51577 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51578 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51579 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51580 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51581 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51582 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51583 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51584 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51585 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51586 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51587 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51588 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51589 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51590 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51591 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51592 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51593 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51594 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51595 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51596 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51597 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51598 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51599 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51600 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51601 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51602 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51603 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51604 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51605 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51606 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51607 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51608 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51609 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51610 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51611 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51612 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51613 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51614 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51615 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51616 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51617 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51618 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51619 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51620 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51621 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51622 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51623 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51624 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51625 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51626 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51627 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51628 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51629 s,@SHARED@,$SHARED,;t t
51630 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51631 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51632 s,@USE_GUI@,$USE_GUI,;t t
51633 s,@AFMINSTALL@,$AFMINSTALL,;t t
51634 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51635 s,@TOOLKIT@,$TOOLKIT,;t t
51636 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51637 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51638 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51639 s,@cross_compiling@,$cross_compiling,;t t
51640 s,@WIDGET_SET@,$WIDGET_SET,;t t
51641 s,@WX_RELEASE@,$WX_RELEASE,;t t
51642 s,@WX_VERSION@,$WX_VERSION,;t t
51643 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51644 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51645 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51646 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51647 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51648 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51649 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51650 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51651 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51652 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51653 s,@EXE_LINKER@,$EXE_LINKER,;t t
51654 s,@GUIDIST@,$GUIDIST,;t t
51655 s,@DISTDIR@,$DISTDIR,;t t
51656 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51657 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51658 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51659 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51660 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51661 s,@RESCOMP@,$RESCOMP,;t t
51662 s,@RESFLAGS@,$RESFLAGS,;t t
51663 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51664 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51665 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51666 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51667 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51668 s,@MACSETFILE@,$MACSETFILE,;t t
51670 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51671 s,@LIBOBJS@,$LIBOBJS,;t t
51672 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51677 cat >>$CONFIG_STATUS <<\_ACEOF
51678 # Split the substitutions into bite-sized pieces for seds with
51679 # small command number limits, like on Digital OSF/1 and HP-UX.
51680 ac_max_sed_lines
=48
51681 ac_sed_frag
=1 # Number of current file.
51682 ac_beg
=1 # First line for current file.
51683 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51686 while $ac_more_lines; do
51687 if test $ac_beg -gt 1; then
51688 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51690 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51692 if test ! -s $tmp/subs.frag
; then
51693 ac_more_lines
=false
51695 # The purpose of the label and of the branching condition is to
51696 # speed up the sed processing (if there are no `@' at all, there
51697 # is no need to browse any of the substitutions).
51698 # These are the two extra sed commands mentioned above.
51700 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51701 if test -z "$ac_sed_cmds"; then
51702 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51704 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51706 ac_sed_frag
=`expr $ac_sed_frag + 1`
51708 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51711 if test -z "$ac_sed_cmds"; then
51714 fi # test -n "$CONFIG_FILES"
51717 cat >>$CONFIG_STATUS <<\_ACEOF
51718 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51719 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51721 - | *:- | *:-:* ) # input from stdin
51723 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51724 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51725 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51726 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51727 * ) ac_file_in
=$ac_file.
in ;;
51730 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51731 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51733 X"$ac_file" : 'X\(//\)[^/]' \| \
51734 X"$ac_file" : 'X\(//\)$' \| \
51735 X"$ac_file" : 'X\(/\)' \| \
51736 . : '\(.\)' 2>/dev/null ||
51738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51740 /^X\(\/\/\)$/{ s//\1/; q; }
51741 /^X\(\/\).*/{ s//\1/; q; }
51743 { if $as_mkdir_p; then
51748 while test ! -d "$as_dir"; do
51749 as_dirs
="$as_dir $as_dirs"
51750 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51752 X"$as_dir" : 'X\(//\)[^/]' \| \
51753 X"$as_dir" : 'X\(//\)$' \| \
51754 X"$as_dir" : 'X\(/\)' \| \
51755 . : '\(.\)' 2>/dev/null ||
51757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51759 /^X\(\/\/\)$/{ s//\1/; q; }
51760 /^X\(\/\).*/{ s//\1/; q; }
51763 test ! -n "$as_dirs" || mkdir $as_dirs
51764 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51765 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51766 { (exit 1); exit 1; }; }; }
51770 if test "$ac_dir" != .
; then
51771 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51772 # A "../" for each directory in $ac_dir_suffix.
51773 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51775 ac_dir_suffix
= ac_top_builddir
=
51779 .
) # No --srcdir option. We are building in place.
51781 if test -z "$ac_top_builddir"; then
51784 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51786 [\\/]* | ?
:[\\/]* ) # Absolute path.
51787 ac_srcdir
=$srcdir$ac_dir_suffix;
51788 ac_top_srcdir
=$srcdir ;;
51789 *) # Relative path.
51790 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51791 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51794 # Do not use `cd foo && pwd` to compute absolute paths, because
51795 # the directories may not exist.
51797 .
) ac_abs_builddir
="$ac_dir";;
51800 .
) ac_abs_builddir
=`pwd`;;
51801 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51802 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51805 case $ac_abs_builddir in
51806 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51808 case ${ac_top_builddir}.
in
51809 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51810 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51811 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51814 case $ac_abs_builddir in
51815 .
) ac_abs_srcdir
=$ac_srcdir;;
51818 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51819 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51820 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51823 case $ac_abs_builddir in
51824 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51826 case $ac_top_srcdir in
51827 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51828 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51829 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51835 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51836 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51839 # Let's still pretend it is `configure' which instantiates (i.e., don't
51840 # use $as_me), people would be surprised to read:
51841 # /* config.h. Generated by config.status. */
51842 if test x
"$ac_file" = x
-; then
51845 configure_input
="$ac_file. "
51847 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51848 sed 's,.*/,,'` by configure."
51850 # First look for the input files in the build tree, otherwise in the
51852 ac_file_inputs
=`IFS=:
51853 for f in $ac_file_in; do
51855 -) echo $tmp/stdin ;;
51857 # Absolute (can't be DOS-style, as IFS=:)
51858 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51859 echo "$as_me: error: cannot find input file: $f" >&2;}
51860 { (exit 1); exit 1; }; }
51863 if test -f "$f"; then
51866 elif test -f "$srcdir/$f"; then
51871 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51872 echo "$as_me: error: cannot find input file: $f" >&2;}
51873 { (exit 1); exit 1; }; }
51876 done` || { (exit 1); exit 1; }
51878 if test x
"$ac_file" != x
-; then
51879 { echo "$as_me:$LINENO: creating $ac_file" >&5
51880 echo "$as_me: creating $ac_file" >&6;}
51884 cat >>$CONFIG_STATUS <<_ACEOF
51888 cat >>$CONFIG_STATUS <<\_ACEOF
51890 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51891 s
,@configure_input@
,$configure_input,;t t
51892 s
,@srcdir@
,$ac_srcdir,;t t
51893 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51894 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51895 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51896 s
,@builddir@
,$ac_builddir,;t t
51897 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51898 s
,@top_builddir@
,$ac_top_builddir,;t t
51899 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51900 s
,@INSTALL@
,$ac_INSTALL,;t t
51901 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51903 if test x"$ac_file" != x-; then
51904 mv $tmp/out $ac_file
51910 # Run the commands associated with the file.
51912 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51913 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51917 cat >>$CONFIG_STATUS <<\_ACEOF
51920 # CONFIG_HEADER section.
51923 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51924 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51926 # ac_d sets the value in "#define NAME VALUE" lines.
51927 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51928 ac_dB
='[ ].*$,\1#\2'
51931 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51932 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51933 ac_uB
='$,\1#\2define\3'
51937 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51938 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51940 - | *:- | *:-:* ) # input from stdin
51942 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51943 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51944 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51945 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51946 * ) ac_file_in
=$ac_file.
in ;;
51949 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51950 echo "$as_me: creating $ac_file" >&6;}
51952 # First look for the input files in the build tree, otherwise in the
51954 ac_file_inputs
=`IFS=:
51955 for f in $ac_file_in; do
51957 -) echo $tmp/stdin ;;
51959 # Absolute (can't be DOS-style, as IFS=:)
51960 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51961 echo "$as_me: error: cannot find input file: $f" >&2;}
51962 { (exit 1); exit 1; }; }
51963 # Do quote $f, to prevent DOS paths from being IFS'd.
51966 if test -f "$f"; then
51969 elif test -f "$srcdir/$f"; then
51974 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51975 echo "$as_me: error: cannot find input file: $f" >&2;}
51976 { (exit 1); exit 1; }; }
51979 done` || { (exit 1); exit 1; }
51980 # Remove the trailing spaces.
51981 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51985 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51986 # `conftest.undefs', that substitutes the proper values into
51987 # config.h.in to produce config.h. The first handles `#define'
51988 # templates, and the second `#undef' templates.
51989 # And first: Protect against being on the right side of a sed subst in
51990 # config.status. Protect against being in an unquoted here document
51991 # in config.status.
51992 rm -f conftest.defines conftest.undefs
51993 # Using a here document instead of a string reduces the quoting nightmare.
51994 # Putting comments in sed scripts is not portable.
51996 # `end' is used to avoid that the second main sed command (meant for
51997 # 0-ary CPP macros) applies to n-ary macro definitions.
51998 # See the Autoconf documentation for `clear'.
51999 cat >confdef2sed.
sed <<\_ACEOF
52004 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52006 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52009 # If some macros were called several times there might be several times
52010 # the same #defines, which is useless. Nevertheless, we may not want to
52011 # sort them, since we want the *last* AC-DEFINE to be honored.
52012 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52013 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52014 rm -f confdef2sed.sed
52016 # This sed command replaces #undef with comments. This is necessary, for
52017 # example, in the case of _POSIX_SOURCE, which is predefined and required
52018 # on some systems where configure will not decide to define it.
52019 cat >>conftest.undefs <<\_ACEOF
52020 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52023 # Break up conftest.defines because some shells have a limit on the size
52024 # of here documents, and old seds have small limits too (100 cmds).
52025 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52026 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52027 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52028 echo ' :' >>$CONFIG_STATUS
52029 rm -f conftest.tail
52030 while grep . conftest.defines >/dev/null
52032 # Write a limited-size here document to $tmp/defines.sed.
52033 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52034 # Speed up: don't consider the non `#define' lines.
52035 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52036 # Work around the forget-to-reset-the-flag bug.
52037 echo 't clr' >>$CONFIG_STATUS
52038 echo ': clr' >>$CONFIG_STATUS
52039 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
52041 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52043 mv $tmp/out $tmp/in
52045 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
52046 rm -f conftest.defines
52047 mv conftest.
tail conftest.defines
52049 rm -f conftest.defines
52050 echo ' fi # grep' >>$CONFIG_STATUS
52051 echo >>$CONFIG_STATUS
52053 # Break up conftest.undefs because some shells have a limit on the size
52054 # of here documents, and old seds have small limits too (100 cmds).
52055 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52056 rm -f conftest.
tail
52057 while grep . conftest.undefs
>/dev
/null
52059 # Write a limited-size here document to $tmp/undefs.sed.
52060 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52061 # Speed up: don't consider the non
`#undef'
52062 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52063 # Work around the forget-to-reset-the-flag bug.
52064 echo 't clr' >>$CONFIG_STATUS
52065 echo ': clr' >>$CONFIG_STATUS
52066 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52068 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52070 mv $tmp/out $tmp/in
52072 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52073 rm -f conftest.undefs
52074 mv conftest.tail conftest.undefs
52076 rm -f conftest.undefs
52078 cat >>$CONFIG_STATUS <<\_ACEOF
52079 # Let's still pretend it is `configure
' which instantiates (i.e., don't
52080 # use $as_me), people would be surprised to read:
52081 # /* config.h. Generated by config.status. */
52082 if test x
"$ac_file" = x
-; then
52083 echo "/* Generated by configure. */" >$tmp/config.h
52085 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52087 cat $tmp/in >>$tmp/config.h
52089 if test x
"$ac_file" != x
-; then
52090 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
52091 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52092 echo "$as_me: $ac_file is unchanged" >&6;}
52094 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52096 X"$ac_file" : 'X\(//\)[^/]' \| \
52097 X"$ac_file" : 'X\(//\)$' \| \
52098 X"$ac_file" : 'X\(/\)' \| \
52099 . : '\(.\)' 2>/dev/null ||
52101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52103 /^X\(\/\/\)$/{ s//\1/; q; }
52104 /^X\(\/\).*/{ s//\1/; q; }
52106 { if $as_mkdir_p; then
52111 while test ! -d "$as_dir"; do
52112 as_dirs
="$as_dir $as_dirs"
52113 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52115 X"$as_dir" : 'X\(//\)[^/]' \| \
52116 X"$as_dir" : 'X\(//\)$' \| \
52117 X"$as_dir" : 'X\(/\)' \| \
52118 . : '\(.\)' 2>/dev/null ||
52120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52121 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52122 /^X\(\/\/\)$/{ s//\1/; q; }
52123 /^X\(\/\).*/{ s//\1/; q; }
52126 test ! -n "$as_dirs" || mkdir $as_dirs
52127 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52128 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52129 { (exit 1); exit 1; }; }; }
52132 mv $tmp/config.h
$ac_file
52136 rm -f $tmp/config.h
52140 cat >>$CONFIG_STATUS <<\_ACEOF
52143 # CONFIG_COMMANDS section.
52145 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
52146 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
52147 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52148 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
52149 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52150 X"$ac_dest" : 'X\(//\)[^/]' \| \
52151 X"$ac_dest" : 'X\(//\)$' \| \
52152 X"$ac_dest" : 'X\(/\)' \| \
52153 . : '\(.\)' 2>/dev/null ||
52155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52157 /^X\(\/\/\)$/{ s//\1/; q; }
52158 /^X\(\/\).*/{ s//\1/; q; }
52160 { if $as_mkdir_p; then
52165 while test ! -d "$as_dir"; do
52166 as_dirs
="$as_dir $as_dirs"
52167 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52169 X"$as_dir" : 'X\(//\)[^/]' \| \
52170 X"$as_dir" : 'X\(//\)$' \| \
52171 X"$as_dir" : 'X\(/\)' \| \
52172 . : '\(.\)' 2>/dev/null ||
52174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52176 /^X\(\/\/\)$/{ s//\1/; q; }
52177 /^X\(\/\).*/{ s//\1/; q; }
52180 test ! -n "$as_dirs" || mkdir $as_dirs
52181 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52183 { (exit 1); exit 1; }; }; }
52187 if test "$ac_dir" != .
; then
52188 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52189 # A "../" for each directory in $ac_dir_suffix.
52190 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52192 ac_dir_suffix
= ac_top_builddir
=
52196 .
) # No --srcdir option. We are building in place.
52198 if test -z "$ac_top_builddir"; then
52201 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52203 [\\/]* | ?
:[\\/]* ) # Absolute path.
52204 ac_srcdir
=$srcdir$ac_dir_suffix;
52205 ac_top_srcdir
=$srcdir ;;
52206 *) # Relative path.
52207 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52208 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52211 # Do not use `cd foo && pwd` to compute absolute paths, because
52212 # the directories may not exist.
52214 .
) ac_abs_builddir
="$ac_dir";;
52217 .
) ac_abs_builddir
=`pwd`;;
52218 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52219 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52222 case $ac_abs_builddir in
52223 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52225 case ${ac_top_builddir}.
in
52226 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52227 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52228 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52231 case $ac_abs_builddir in
52232 .
) ac_abs_srcdir
=$ac_srcdir;;
52235 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52236 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52237 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52240 case $ac_abs_builddir in
52241 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52243 case $ac_top_srcdir in
52244 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52245 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52246 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52251 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52252 echo "$as_me: executing $ac_dest commands" >&6;}
52255 mkdir -p $outdir &&
52256 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52258 wx
-config ) rm -f wx
-config
52259 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52265 cat >>$CONFIG_STATUS <<\_ACEOF
52267 { (exit 0); exit 0; }
52269 chmod +x
$CONFIG_STATUS
52270 ac_clean_files
=$ac_clean_files_save
52273 # configure is writing to config.log, and then calls config.status.
52274 # config.status does its own redirection, appending to config.log.
52275 # Unfortunately, on DOS this fails, as config.log is still kept open
52276 # by configure, so config.status won't be able to write to it; its
52277 # output is simply discarded. So we exec the FD to /dev/null,
52278 # effectively closing config.log, so it can be properly (re)opened and
52279 # appended to by config.status. When coming back to configure, we
52280 # need to make the FD available again.
52281 if test "$no_create" != yes; then
52283 ac_config_status_args
=
52284 test "$silent" = yes &&
52285 ac_config_status_args
="$ac_config_status_args --quiet"
52287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52290 # would make configure fail if this is the last instruction.
52291 $ac_cs_success || { (exit 1); exit 1; }
52295 # CONFIG_SUBDIRS section.
52297 if test "$no_recursion" != yes; then
52299 # Remove --cache-file and --srcdir arguments so they do not pile up.
52300 ac_sub_configure_args
=
52302 for ac_arg
in $ac_configure_args; do
52303 if test -n "$ac_prev"; then
52308 -cache-file | --cache-file | --cache-fil | --cache-fi \
52309 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52310 ac_prev
=cache_file
;;
52311 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52312 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52315 --config-cache | -C)
52317 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52319 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52321 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52323 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52325 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52329 # Always prepend --prefix to ensure using the same prefix
52330 # in subdir configurations.
52331 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52334 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52336 # Do not complain, so a configure script can configure whichever
52337 # parts of a large source tree are present.
52338 test -d $srcdir/$ac_dir || continue
52340 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52341 echo "$as_me: configuring in $ac_dir" >&6;}
52342 { if $as_mkdir_p; then
52347 while test ! -d "$as_dir"; do
52348 as_dirs
="$as_dir $as_dirs"
52349 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52351 X"$as_dir" : 'X\(//\)[^/]' \| \
52352 X"$as_dir" : 'X\(//\)$' \| \
52353 X"$as_dir" : 'X\(/\)' \| \
52354 . : '\(.\)' 2>/dev/null ||
52356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52358 /^X\(\/\/\)$/{ s//\1/; q; }
52359 /^X\(\/\).*/{ s//\1/; q; }
52362 test ! -n "$as_dirs" || mkdir $as_dirs
52363 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52364 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52365 { (exit 1); exit 1; }; }; }
52369 if test "$ac_dir" != .
; then
52370 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52371 # A "../" for each directory in $ac_dir_suffix.
52372 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52374 ac_dir_suffix
= ac_top_builddir
=
52378 .
) # No --srcdir option. We are building in place.
52380 if test -z "$ac_top_builddir"; then
52383 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52385 [\\/]* | ?
:[\\/]* ) # Absolute path.
52386 ac_srcdir
=$srcdir$ac_dir_suffix;
52387 ac_top_srcdir
=$srcdir ;;
52388 *) # Relative path.
52389 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52390 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52393 # Do not use `cd foo && pwd` to compute absolute paths, because
52394 # the directories may not exist.
52396 .
) ac_abs_builddir
="$ac_dir";;
52399 .
) ac_abs_builddir
=`pwd`;;
52400 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52401 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52404 case $ac_abs_builddir in
52405 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52407 case ${ac_top_builddir}.
in
52408 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52409 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52410 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52413 case $ac_abs_builddir in
52414 .
) ac_abs_srcdir
=$ac_srcdir;;
52417 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52418 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52419 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52422 case $ac_abs_builddir in
52423 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52425 case $ac_top_srcdir in
52426 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52427 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52428 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52435 # Check for guested configure; otherwise get Cygnus style configure.
52436 if test -f $ac_srcdir/configure.gnu
; then
52437 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52438 elif test -f $ac_srcdir/configure
; then
52439 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52440 elif test -f $ac_srcdir/configure.
in; then
52441 ac_sub_configure
=$ac_configure
52443 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52444 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52448 # The recursion is here.
52449 if test -n "$ac_sub_configure"; then
52450 # Make the cache file name correct relative to the subdirectory.
52451 case $cache_file in
52452 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52453 *) # Relative path.
52454 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52457 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52458 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52459 # The eval makes quoting arguments work.
52460 eval $ac_sub_configure $ac_sub_configure_args \
52461 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52462 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52463 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52464 { (exit 1); exit 1; }; }
52473 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52475 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52476 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52478 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52479 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52480 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52482 echo " What level of wxWidgets compatibility should be enabled?"
52483 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52484 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52486 echo " Which libraries should wxWidgets use?"
52487 echo " jpeg ${wxUSE_LIBJPEG-none}"
52488 echo " png ${wxUSE_LIBPNG-none}"
52489 echo " regex ${wxUSE_REGEX}"
52490 echo " tiff ${wxUSE_LIBTIFF-none}"
52491 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52492 echo " xpm ${wxUSE_LIBXPM-none}"
52494 echo " zlib ${wxUSE_ZLIB}"
52495 echo " odbc ${wxUSE_ODBC}"
52496 echo " expat ${wxUSE_EXPAT}"
52497 echo " libmspack ${wxUSE_LIBMSPACK}"
52498 echo " sdl ${wxUSE_LIBSDL}"