2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_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_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_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_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_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
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
893 --enable-compat24 enable wxWidgets
2.4 compatibility
894 --disable-compat26 disable wxWidgets
2.6 compatibility
895 --disable-rpath disable use of rpath
for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig
(and derived
) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP
(requires wxProtocol
900 --enable-http use wxHTTP
(requires wxProtocol
901 --enable-fileproto use wxFileProto class
(requires wxProtocol
902 --enable-sockets use socket
/network classes
903 --enable-ole use OLE classes
(Win32 only
)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication
(wxSocket etc.
)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class
for DLL loading
915 --enable-dynamicloader use
(new
) wxDynamicLibrary class
916 --enable-exceptions build exception
-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual
file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP
/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C
++ stream classes
930 --enable-std_string use standard C
++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
942 --enable-wxprintfv use wxWidgets implementation of vprintf
()
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support
in wxProtocol
947 --enable-protocol-ftp FTP support
in wxProtocol
948 --enable-protocol-file FILE support
in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use
help subsystem
952 --enable-mshtmlhelp use MS HTML Help
(win32
)
953 --enable-html use wxHTML sub
-library
954 --enable-htmlhelp use wxHTML
-based help
955 --enable-xrc use XRC resources sub
-library
956 --enable-constraints use layout
-constraints system
957 --enable-printarch use printing architecture
958 --enable-mdi use multiple document interface architecture
959 --enable-mdidoc use docview architecture with MDI
960 --enable-loggui use standard GUI logger
961 --enable-logwin use wxLogWindow
962 --enable-logdialog use wxLogDialog
963 --enable-webkit use wxWebKitCtrl
(Mac
)
964 --enable-richtext use wxRichTextCtrl
965 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
966 --enable-prologio not available
; see contrib
967 --enable-resources not available
; see contrib
968 --enable-clipboard use wxClipboard class
969 --enable-dnd use Drag
'n'Drop classes
970 --enable-metafile use win32 metafiles
971 --enable-controls use all usual controls
972 --enable-accel use accelerators
973 --enable-button use wxButton class
974 --enable-bmpbutton use wxBitmapButton class
975 --enable-calendar use wxCalendarCtrl class
976 --enable-caret use wxCaret class
977 --enable-checkbox use wxCheckBox class
978 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
979 --enable-choice use wxChoice class
980 --enable-choicebook use wxChoicebook class
981 --enable-combobox use wxComboBox class
982 --enable-datepick use wxDatePickerCtrl class
983 --enable-display use wxDisplay class
984 --enable-gauge use wxGauge class
985 --enable-grid use wxGrid class
986 --enable-dataviewctrl, use wxDataViewCtrl class
987 --enable-imaglist use wxImageList class
988 --enable-listbook use wxListbook class
989 --enable-listbox use wxListBox class
990 --enable-listctrl use wxListCtrl class
991 --enable-notebook use wxNotebook class
992 --enable-radiobox use wxRadioBox class
993 --enable-radiobtn use wxRadioButton class
994 --enable-sash use wxSashWindow class
995 --enable-scrollbar use wxScrollBar class and scrollable windows
996 --enable-slider use wxSlider class
997 --enable-spinbtn use wxSpinButton class
998 --enable-spinctrl use wxSpinCtrl class
999 --enable-splitter use wxSplitterWindow class
1000 --enable-statbmp use wxStaticBitmap class
1001 --enable-statbox use wxStaticBox class
1002 --enable-statline use wxStaticLine class
1003 --enable-stattext use wxStaticText class
1004 --enable-statusbar use wxStatusBar class
1005 --enable-tabdialog use wxTabControl class
1006 --enable-textctrl use wxTextCtrl class
1007 --enable-togglebtn use wxToggleButton class
1008 --enable-toolbar use wxToolBar class
1009 --enable-tbarnative use native wxToolBar class
1010 --enable-tbarsmpl use wxToolBarSimple class
1011 --enable-treebook use wxTreebook class
1012 --enable-toolbook use wxToolbook class
1013 --enable-treectrl use wxTreeCtrl class
1014 --enable-tipwindow use wxTipWindow class
1015 --enable-popupwin use wxPopUpWindow class
1016 --enable-commondlg use all common dialogs
1017 --enable-choicedlg use wxChoiceDialog
1018 --enable-coldlg use wxColourDialog
1019 --enable-filedlg use wxFileDialog
1020 --enable-finddlg use wxFindReplaceDialog
1021 --enable-fontdlg use wxFontDialog
1022 --enable-dirdlg use wxDirDialog
1023 --enable-msgdlg use wxMessageDialog
1024 --enable-numberdlg use wxNumberEntryDialog
1025 --enable-splash use wxSplashScreen
1026 --enable-textdlg use wxTextDialog
1027 --enable-tipdlg use startup tips
1028 --enable-progressdlg use wxProgressDialog
1029 --enable-wizarddlg use wxWizard
1030 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1031 --enable-miniframe use wxMiniFrame class
1032 --enable-tooltips use wxToolTip class
1033 --enable-splines use spline drawing code
1034 --enable-mousewheel use mousewheel
1035 --enable-validators use wxValidator and derived classes
1036 --enable-busyinfo use wxBusyInfo
1037 --enable-joystick use wxJoystick
1038 --enable-metafiles use wxMetaFile
(Win32 only
)
1039 --enable-dragimage use wxDragImage
1040 --enable-accessibility enable accessibility support
1041 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1042 --enable-palette use wxPalette class
1043 --enable-image use wxImage class
1044 --enable-gif use gif images
(GIF
file format
)
1045 --enable-pcx use pcx images
(PCX
file format
)
1046 --enable-iff use iff images
(IFF
file format
)
1047 --enable-pnm use pnm images
(PNM
file format
)
1048 --enable-xpm use xpm images
(XPM
file format
)
1049 --enable-icocur use Windows ICO and CUR formats
1050 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1051 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1052 --disable-largefile omit support
for large files
1053 --disable-gtktest do not try to compile and run a
test GTK
+ program
1054 --disable-gtktest Do not try to compile and run a
test GTK program
1055 --disable-sdltest Do not try to compile and run a
test SDL program
1056 --enable-omf use OMF object format
(OS
/2)
1057 --disable-dependency-tracking
1058 don
't use dependency tracking even if the compiler
1060 --disable-precomp-headers
1061 don't use precompiled headers even
if compiler can
1064 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1065 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1066 --without-subdirs don
't generate makefiles for samples/demos/...
1067 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1068 --with-motif use Motif/Lesstif
1069 --with-mac use Mac OS X
1070 --with-cocoa use Cocoa
1071 --with-wine use Wine
1072 --with-msw use MS-Windows
1073 --with-pm use OS/2 Presentation Manager
1074 --with-mgl use SciTech MGL
1075 --with-microwin use MicroWindows
1077 --with-libpng use libpng (PNG image format)
1078 --with-libjpeg use libjpeg (JPEG file format)
1079 --with-libtiff use libtiff (TIFF file format)
1080 --with-libxpm use libxpm (XPM file format)
1081 --with-libmspack use libmspack (CHM help files loading)
1082 --with-sdl use SDL for audio on Unix
1083 --with-gnomeprint use GNOME print for printing under GNOME
1084 --with-gnomevfs use GNOME VFS for associating MIME types
1085 --with-hildon use Hildon framework for Nokia 770
1086 --with-opengl use OpenGL (or Mesa)
1087 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1088 --with-regex enable support for wxRegEx class
1089 --with-zlib use zlib for LZW compression
1090 --with-odbc use the IODBC and wxODBC classes
1091 --with-expat enable XML support using expat parser
1092 --with-flavour=NAME specify a name to identify this build
1093 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1094 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1095 --with-x use the X Window System
1096 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1097 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1098 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1099 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1100 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1102 Some influential environment variables:
1103 CC C compiler command
1104 CFLAGS C compiler flags
1105 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1106 nonstandard directory <lib dir>
1107 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1108 headers in a nonstandard directory <include dir>
1110 CXX C++ compiler command
1111 CXXFLAGS C++ compiler flags
1112 CXXCPP C++ preprocessor
1114 Use these variables to override the choices made by `configure' or to
help
1115 it to
find libraries and programs with nonstandard names
/locations.
1117 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1121 if test "$ac_init_help" = "recursive"; then
1122 # If there are subdirs, report their specific --help.
1124 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1125 test -d $ac_dir || continue
1128 if test "$ac_dir" != .
; then
1129 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1130 # A "../" for each directory in $ac_dir_suffix.
1131 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1133 ac_dir_suffix
= ac_top_builddir
=
1137 .
) # No --srcdir option. We are building in place.
1139 if test -z "$ac_top_builddir"; then
1142 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1144 [\\/]* | ?
:[\\/]* ) # Absolute path.
1145 ac_srcdir
=$srcdir$ac_dir_suffix;
1146 ac_top_srcdir
=$srcdir ;;
1148 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1149 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1152 # Do not use `cd foo && pwd` to compute absolute paths, because
1153 # the directories may not exist.
1155 .
) ac_abs_builddir
="$ac_dir";;
1158 .
) ac_abs_builddir
=`pwd`;;
1159 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1160 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1163 case $ac_abs_builddir in
1164 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1166 case ${ac_top_builddir}.
in
1167 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1168 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1169 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1172 case $ac_abs_builddir in
1173 .
) ac_abs_srcdir
=$ac_srcdir;;
1176 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1177 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1178 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1181 case $ac_abs_builddir in
1182 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1184 case $ac_top_srcdir in
1185 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1186 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1187 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1192 # Check for guested configure; otherwise get Cygnus style configure.
1193 if test -f $ac_srcdir/configure.gnu
; then
1195 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1196 elif test -f $ac_srcdir/configure
; then
1198 $SHELL $ac_srcdir/configure
--help=recursive
1199 elif test -f $ac_srcdir/configure.ac
||
1200 test -f $ac_srcdir/configure.
in; then
1202 $ac_configure --help
1204 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1210 test -n "$ac_init_help" && exit 0
1211 if $ac_init_version; then
1213 wxWidgets configure
2.7.0
1214 generated by GNU Autoconf
2.59
1216 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1217 This configure
script is free software
; the Free Software Foundation
1218 gives unlimited permission to copy
, distribute and modify it.
1224 This file contains any messages produced by compilers while
1225 running configure, to aid debugging if configure makes a mistake.
1227 It was created by wxWidgets $as_me 2.7.0, which was
1228 generated by GNU Autoconf 2.59. Invocation command line was
1239 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1240 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1241 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1242 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1243 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1245 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1246 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1248 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1249 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1250 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1251 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1252 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1253 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1254 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1262 test -z "$as_dir" && as_dir
=.
1263 echo "PATH: $as_dir"
1278 # Keep a trace of the command line.
1279 # Strip out --no-create and --no-recursion so they do not pile up.
1280 # Strip out --silent because we don't want to record it for future runs.
1281 # Also quote any args containing shell meta-characters.
1282 # Make two passes to allow for proper duplicate-argument suppression.
1287 ac_must_keep_next
=false
1293 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1295 | -silent | --silent | --silen | --sile | --sil)
1297 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1298 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1301 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1303 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1304 if test $ac_must_keep_next = true
; then
1305 ac_must_keep_next
=false
# Got value, back to normal.
1308 *=* | --config-cache | -C | -disable-* | --disable-* \
1309 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1310 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1311 | -with-* | --with-* | -without-* | --without-* | --x)
1312 case "$ac_configure_args0 " in
1313 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1316 -* ) ac_must_keep_next
=true
;;
1319 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1320 # Get rid of the leading space.
1326 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1327 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1329 # When interrupted or exit'd, cleanup temporary files, and complete
1330 # config.log. We remove comments because anyway the quotes in there
1331 # would cause problems or look ugly.
1332 # WARNING: Be sure not to use single quotes in there, as some shells,
1333 # such as our DU 5.0 friend, will then `close' the trap.
1334 trap 'exit_status=$?
1335 # Save into config.log some information that might help in debugging.
1340 ## ---------------- ##
1341 ## Cache variables. ##
1342 ## ---------------- ##
1345 # The following way of writing the cache mishandles newlines in values,
1348 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1351 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1356 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1363 ## ----------------- ##
1364 ## Output variables. ##
1365 ## ----------------- ##
1368 for ac_var in $ac_subst_vars
1370 eval ac_val=$`echo $ac_var`
1371 echo "$ac_var='"'"'$ac_val'"'"'"
1375 if test -n "$ac_subst_files"; then
1382 for ac_var in $ac_subst_files
1384 eval ac_val=$`echo $ac_var`
1385 echo "$ac_var='"'"'$ac_val'"'"'"
1390 if test -s confdefs.h; then
1397 sed "/^$/d" confdefs.h | sort
1400 test "$ac_signal" != 0 &&
1401 echo "$as_me: caught signal $ac_signal"
1402 echo "$as_me: exit $exit_status"
1404 rm -f core *.core &&
1405 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1408 for ac_signal
in 1 2 13 15; do
1409 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1413 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1414 rm -rf conftest
* confdefs.h
1415 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1418 # Predefined preprocessor variables.
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_NAME "$PACKAGE_NAME"
1425 cat >>confdefs.h
<<_ACEOF
1426 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1430 cat >>confdefs.h
<<_ACEOF
1431 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1435 cat >>confdefs.h
<<_ACEOF
1436 #define PACKAGE_STRING "$PACKAGE_STRING"
1440 cat >>confdefs.h
<<_ACEOF
1441 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1445 # Let the site file select an alternate cache file if it wants to.
1446 # Prefer explicitly selected file to automatically selected ones.
1447 if test -z "$CONFIG_SITE"; then
1448 if test "x$prefix" != xNONE
; then
1449 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1451 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1454 for ac_site_file
in $CONFIG_SITE; do
1455 if test -r "$ac_site_file"; then
1456 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1457 echo "$as_me: loading site script $ac_site_file" >&6;}
1458 sed 's/^/| /' "$ac_site_file" >&5
1463 if test -r "$cache_file"; then
1464 # Some versions of bash will fail to source /dev/null (special
1465 # files actually), so we avoid doing that.
1466 if test -f "$cache_file"; then
1467 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1468 echo "$as_me: loading cache $cache_file" >&6;}
1470 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1471 *) . .
/$cache_file;;
1475 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1476 echo "$as_me: creating cache $cache_file" >&6;}
1480 # Check that the precious variables saved in the cache have kept the same
1482 ac_cache_corrupted
=false
1483 for ac_var
in `(set) 2>&1 |
1484 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1485 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1486 eval ac_new_set
=\
$ac_env_${ac_var}_set
1487 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1488 eval ac_new_val
="\$ac_env_${ac_var}_value"
1489 case $ac_old_set,$ac_new_set in
1491 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1492 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1493 ac_cache_corrupted
=: ;;
1495 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1496 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1497 ac_cache_corrupted
=: ;;
1500 if test "x$ac_old_val" != "x$ac_new_val"; then
1501 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1502 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1503 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1504 echo "$as_me: former value: $ac_old_val" >&2;}
1505 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1506 echo "$as_me: current value: $ac_new_val" >&2;}
1507 ac_cache_corrupted
=:
1510 # Pass precious variables to config.status.
1511 if test "$ac_new_set" = set; then
1513 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1514 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1515 *) ac_arg
=$ac_var=$ac_new_val ;;
1517 case " $ac_configure_args " in
1518 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1519 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1523 if $ac_cache_corrupted; then
1524 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1525 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1526 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1527 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1528 { (exit 1); exit 1; }; }
1532 ac_cpp
='$CPP $CPPFLAGS'
1533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1567 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1568 if test -f $ac_dir/install-sh; then
1570 ac_install_sh
="$ac_aux_dir/install-sh -c"
1572 elif test -f $ac_dir/install.sh
; then
1574 ac_install_sh
="$ac_aux_dir/install.sh -c"
1576 elif test -f $ac_dir/shtool
; then
1578 ac_install_sh
="$ac_aux_dir/shtool install -c"
1582 if test -z "$ac_aux_dir"; then
1583 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1584 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1585 { (exit 1); exit 1; }; }
1587 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1588 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1589 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1591 # Make sure we can run config.sub.
1592 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1593 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1594 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1595 { (exit 1); exit 1; }; }
1597 echo "$as_me:$LINENO: checking build system type" >&5
1598 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1599 if test "${ac_cv_build+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 ac_cv_build_alias
=$build_alias
1603 test -z "$ac_cv_build_alias" &&
1604 ac_cv_build_alias
=`$ac_config_guess`
1605 test -z "$ac_cv_build_alias" &&
1606 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1607 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1608 { (exit 1); exit 1; }; }
1609 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1616 echo "${ECHO_T}$ac_cv_build" >&6
1618 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623 echo "$as_me:$LINENO: checking host system type" >&5
1624 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1625 if test "${ac_cv_host+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_host_alias
=$host_alias
1629 test -z "$ac_cv_host_alias" &&
1630 ac_cv_host_alias
=$ac_cv_build_alias
1631 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1637 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1638 echo "${ECHO_T}$ac_cv_host" >&6
1640 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645 echo "$as_me:$LINENO: checking target system type" >&5
1646 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1647 if test "${ac_cv_target+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 ac_cv_target_alias
=$target_alias
1651 test "x$ac_cv_target_alias" = "x" &&
1652 ac_cv_target_alias
=$ac_cv_host_alias
1653 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1660 echo "${ECHO_T}$ac_cv_target" >&6
1661 target
=$ac_cv_target
1662 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1667 # The aliases save the names the user supplied, while $host etc.
1668 # will get canonicalized.
1669 test -n "$target_alias" &&
1670 test "$program_prefix$program_suffix$program_transform_name" = \
1672 program_prefix
=${target_alias}-
1676 wx_major_version_number
=2
1677 wx_minor_version_number
=7
1679 wx_subrelease_number
=0
1681 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1682 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1683 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1685 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1698 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1704 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1710 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1712 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1714 DEFAULT_wxUSE_COCOA
=0
1718 DEFAULT_wxUSE_MICROWIN
=0
1719 DEFAULT_wxUSE_MOTIF
=0
1724 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1725 DEFAULT_DEFAULT_wxUSE_GTK
=0
1726 DEFAULT_DEFAULT_wxUSE_MAC
=0
1727 DEFAULT_DEFAULT_wxUSE_MGL
=0
1728 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1729 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1730 DEFAULT_DEFAULT_wxUSE_MSW
=0
1731 DEFAULT_DEFAULT_wxUSE_PM
=0
1732 DEFAULT_DEFAULT_wxUSE_X11
=0
1737 SAMPLES_RPATH_POSTLINK
=
1739 DEFAULT_STD_FLAG
=yes
1744 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1745 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1747 cat >>confdefs.h
<<\_ACEOF
1752 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1756 cat >>confdefs.h
<<\_ACEOF
1761 if test "x$TMP" = "xalpha"; then
1763 cat >>confdefs.h
<<\_ACEOF
1768 DEFAULT_DEFAULT_wxUSE_GTK
=1
1770 *-*-gnu* | *-*-k*bsd
*-gnu )
1773 if test "x$TMP" = "xalpha"; then
1775 cat >>confdefs.h
<<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_GTK
=1
1782 *-*-irix5* | *-*-irix6* )
1785 cat >>confdefs.h
<<\_ACEOF
1789 cat >>confdefs.h
<<\_ACEOF
1793 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1799 cat >>confdefs.h
<<\_ACEOF
1803 cat >>confdefs.h
<<\_ACEOF
1804 #define __SOLARIS__ 1
1807 cat >>confdefs.h
<<\_ACEOF
1811 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1812 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1818 cat >>confdefs.h
<<\_ACEOF
1822 cat >>confdefs.h
<<\_ACEOF
1826 cat >>confdefs.h
<<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1835 cat >>confdefs.h
<<\_ACEOF
1836 #define __FREEBSD__ 1
1839 cat >>confdefs.h
<<\_ACEOF
1843 DEFAULT_DEFAULT_wxUSE_GTK
=1
1848 cat >>confdefs.h
<<\_ACEOF
1849 #define __OPENBSD__ 1
1852 cat >>confdefs.h
<<\_ACEOF
1856 DEFAULT_DEFAULT_wxUSE_GTK
=1
1861 cat >>confdefs.h
<<\_ACEOF
1862 #define __NETBSD__ 1
1865 cat >>confdefs.h
<<\_ACEOF
1869 DEFAULT_DEFAULT_wxUSE_GTK
=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1872 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1877 cat >>confdefs.h
<<\_ACEOF
1881 cat >>confdefs.h
<<\_ACEOF
1885 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1886 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1891 cat >>confdefs.h
<<\_ACEOF
1895 cat >>confdefs.h
<<\_ACEOF
1899 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1919 cat >>confdefs.h
<<\_ACEOF
1923 cat >>confdefs.h
<<\_ACEOF
1927 cat >>confdefs.h
<<\_ACEOF
1931 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1938 cat >>confdefs.h
<<\_ACEOF
1939 #define __UNIXWARE__ 1
1944 *-*-cygwin* | *-*-mingw32* )
1947 DEFAULT_DEFAULT_wxUSE_MSW
=1
1954 cat >>confdefs.h
<<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_MGL
=1
1962 *-pc-os2_emx | *-pc-os2-emx )
1963 cat >>confdefs.h
<<\_ACEOF
1968 cat >>confdefs.h
<<\_ACEOF
1973 DEFAULT_DEFAULT_wxUSE_PM
=1
1975 LDFLAGS
="$LDFLAGS -Zcrtdll"
1976 ac_executable_extensions
=".exe"
1977 export ac_executable_extensions
1981 for ac_dir
in $PATH; do
1983 if test -z "$ac_TEMP_PATH"; then
1984 ac_TEMP_PATH
="$ac_dir"
1986 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1989 export PATH
="$ac_TEMP_PATH"
1998 cat >>confdefs.h
<<\_ACEOF
2002 cat >>confdefs.h
<<\_ACEOF
2003 #define __DARWIN__ 1
2006 cat >>confdefs.h
<<\_ACEOF
2007 #define TARGET_CARBON 1
2010 DEFAULT_DEFAULT_wxUSE_MAC
=1
2013 powerpc
-apple-macos* )
2015 ac_cv_c_bigendian
=yes
2017 DEFAULT_DEFAULT_wxUSE_MAC
=1
2023 cat >>confdefs.h
<<\_ACEOF
2030 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2031 echo "$as_me: error: unknown system type ${host}." >&2;}
2032 { (exit 1); exit 1; }; }
2038 wx_arg_cache_file
="configarg.cache"
2039 echo "loading argument cache $wx_arg_cache_file"
2040 rm -f ${wx_arg_cache_file}.tmp
2041 touch ${wx_arg_cache_file}.tmp
2042 touch ${wx_arg_cache_file}
2046 if test $DEBUG_CONFIGURE = 1; then
2047 DEFAULT_wxUSE_UNIVERSAL
=no
2048 DEFAULT_wxUSE_STL
=no
2050 DEFAULT_wxUSE_NANOX
=no
2052 DEFAULT_wxUSE_THREADS
=yes
2054 DEFAULT_wxUSE_SHARED
=yes
2055 DEFAULT_wxUSE_OPTIMISE
=no
2056 DEFAULT_wxUSE_PROFILE
=no
2057 DEFAULT_wxUSE_NO_DEPS
=no
2058 DEFAULT_wxUSE_NO_RTTI
=no
2059 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2060 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2061 DEFAULT_wxUSE_RPATH
=yes
2062 DEFAULT_wxUSE_PERMISSIVE
=no
2063 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2064 DEFAULT_wxUSE_DEBUG_INFO
=yes
2065 DEFAULT_wxUSE_DEBUG_GDB
=yes
2066 DEFAULT_wxUSE_MEM_TRACING
=no
2067 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2068 DEFAULT_wxUSE_DMALLOC
=no
2069 DEFAULT_wxUSE_APPLE_IEEE
=no
2071 DEFAULT_wxUSE_EXCEPTIONS
=no
2072 DEFAULT_wxUSE_LOG
=yes
2073 DEFAULT_wxUSE_LOGWINDOW
=no
2074 DEFAULT_wxUSE_LOGGUI
=no
2075 DEFAULT_wxUSE_LOGDIALOG
=no
2077 DEFAULT_wxUSE_GUI
=yes
2078 DEFAULT_wxUSE_CONTROLS
=no
2080 DEFAULT_wxUSE_REGEX
=no
2081 DEFAULT_wxUSE_XML
=no
2082 DEFAULT_wxUSE_EXPAT
=no
2083 DEFAULT_wxUSE_ZLIB
=no
2084 DEFAULT_wxUSE_LIBPNG
=no
2085 DEFAULT_wxUSE_LIBJPEG
=no
2086 DEFAULT_wxUSE_LIBTIFF
=no
2087 DEFAULT_wxUSE_LIBXPM
=no
2088 DEFAULT_wxUSE_LIBMSPACK
=no
2089 DEFAULT_wxUSE_LIBSDL
=no
2090 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2091 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2092 DEFAULT_wxUSE_LIBHILDON
=no
2093 DEFAULT_wxUSE_ODBC
=no
2094 DEFAULT_wxUSE_OPENGL
=no
2096 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2097 DEFAULT_wxUSE_STACKWALKER
=no
2098 DEFAULT_wxUSE_DEBUGREPORT
=no
2099 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2100 DEFAULT_wxUSE_STD_IOSTREAM
=no
2101 DEFAULT_wxUSE_STD_STRING
=no
2102 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2103 DEFAULT_wxUSE_DATETIME
=no
2104 DEFAULT_wxUSE_TIMER
=no
2105 DEFAULT_wxUSE_STOPWATCH
=no
2106 DEFAULT_wxUSE_FILE
=no
2107 DEFAULT_wxUSE_FFILE
=no
2108 DEFAULT_wxUSE_STDPATHS
=no
2109 DEFAULT_wxUSE_TEXTBUFFER
=no
2110 DEFAULT_wxUSE_TEXTFILE
=no
2111 DEFAULT_wxUSE_SOUND
=no
2112 DEFAULT_wxUSE_MEDIACTRL
=no
2113 DEFAULT_wxUSE_GSTREAMER8
=no
2114 DEFAULT_wxUSE_INTL
=no
2115 DEFAULT_wxUSE_CONFIG
=no
2116 DEFAULT_wxUSE_FONTMAP
=no
2117 DEFAULT_wxUSE_STREAMS
=no
2118 DEFAULT_wxUSE_SOCKETS
=no
2119 DEFAULT_wxUSE_OLE
=no
2120 DEFAULT_wxUSE_DATAOBJ
=no
2121 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2122 DEFAULT_wxUSE_JOYSTICK
=no
2123 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2124 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2125 DEFAULT_wxUSE_LONGLONG
=no
2126 DEFAULT_wxUSE_GEOMETRY
=no
2128 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2129 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2130 DEFAULT_wxUSE_POSTSCRIPT
=no
2132 DEFAULT_wxUSE_CLIPBOARD
=no
2133 DEFAULT_wxUSE_TOOLTIPS
=no
2134 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2135 DEFAULT_wxUSE_DRAGIMAGE
=no
2136 DEFAULT_wxUSE_SPLINES
=no
2137 DEFAULT_wxUSE_MOUSEWHEEL
=no
2139 DEFAULT_wxUSE_MDI
=no
2140 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2141 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2142 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2144 DEFAULT_wxUSE_RESOURCES
=no
2145 DEFAULT_wxUSE_CONSTRAINTS
=no
2146 DEFAULT_wxUSE_IPC
=no
2147 DEFAULT_wxUSE_HELP
=no
2148 DEFAULT_wxUSE_MS_HTML_HELP
=no
2149 DEFAULT_wxUSE_WXHTML_HELP
=no
2150 DEFAULT_wxUSE_TREELAYOUT
=no
2151 DEFAULT_wxUSE_METAFILE
=no
2152 DEFAULT_wxUSE_MIMETYPE
=no
2153 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2154 DEFAULT_wxUSE_PROTOCOL
=no
2155 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2156 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2157 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2158 DEFAULT_wxUSE_URL
=no
2160 DEFAULT_wxUSE_COMMONDLGS
=no
2161 DEFAULT_wxUSE_CHOICEDLG
=no
2162 DEFAULT_wxUSE_COLOURDLG
=no
2163 DEFAULT_wxUSE_DIRDLG
=no
2164 DEFAULT_wxUSE_FILEDLG
=no
2165 DEFAULT_wxUSE_FINDREPLDLG
=no
2166 DEFAULT_wxUSE_FONTDLG
=no
2167 DEFAULT_wxUSE_MSGDLG
=no
2168 DEFAULT_wxUSE_NUMBERDLG
=no
2169 DEFAULT_wxUSE_TEXTDLG
=no
2170 DEFAULT_wxUSE_SPLASH
=no
2171 DEFAULT_wxUSE_STARTUP_TIPS
=no
2172 DEFAULT_wxUSE_PROGRESSDLG
=no
2173 DEFAULT_wxUSE_WIZARDDLG
=no
2175 DEFAULT_wxUSE_MENUS
=no
2176 DEFAULT_wxUSE_MINIFRAME
=no
2177 DEFAULT_wxUSE_HTML
=no
2178 DEFAULT_wxUSE_RICHTEXT
=no
2179 DEFAULT_wxUSE_XRC
=no
2180 DEFAULT_wxUSE_WEBKIT
=no
2181 DEFAULT_wxUSE_FILESYSTEM
=no
2182 DEFAULT_wxUSE_FS_INET
=no
2183 DEFAULT_wxUSE_FS_ZIP
=no
2184 DEFAULT_wxUSE_BUSYINFO
=no
2185 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2186 DEFAULT_wxUSE_ZIPSTREAM
=no
2187 DEFAULT_wxUSE_VALIDATORS
=no
2189 DEFAULT_wxUSE_ACCEL
=no
2190 DEFAULT_wxUSE_BUTTON
=no
2191 DEFAULT_wxUSE_BMPBUTTON
=no
2192 DEFAULT_wxUSE_CALCTRL
=no
2193 DEFAULT_wxUSE_CARET
=no
2194 DEFAULT_wxUSE_CHECKBOX
=no
2195 DEFAULT_wxUSE_CHECKLST
=no
2196 DEFAULT_wxUSE_CHOICE
=no
2197 DEFAULT_wxUSE_CHOICEBOOK
=no
2198 DEFAULT_wxUSE_COMBOBOX
=no
2199 DEFAULT_wxUSE_DATEPICKCTRL
=no
2200 DEFAULT_wxUSE_DISPLAY
=no
2201 DEFAULT_wxUSE_GAUGE
=no
2202 DEFAULT_wxUSE_GRID
=no
2203 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2204 DEFAULT_wxUSE_IMAGLIST
=no
2205 DEFAULT_wxUSE_LISTBOOK
=no
2206 DEFAULT_wxUSE_LISTBOX
=no
2207 DEFAULT_wxUSE_LISTCTRL
=no
2208 DEFAULT_wxUSE_NOTEBOOK
=no
2209 DEFAULT_wxUSE_RADIOBOX
=no
2210 DEFAULT_wxUSE_RADIOBTN
=no
2211 DEFAULT_wxUSE_SASH
=no
2212 DEFAULT_wxUSE_SCROLLBAR
=no
2213 DEFAULT_wxUSE_SLIDER
=no
2214 DEFAULT_wxUSE_SPINBTN
=no
2215 DEFAULT_wxUSE_SPINCTRL
=no
2216 DEFAULT_wxUSE_SPLITTER
=no
2217 DEFAULT_wxUSE_STATBMP
=no
2218 DEFAULT_wxUSE_STATBOX
=no
2219 DEFAULT_wxUSE_STATLINE
=no
2220 DEFAULT_wxUSE_STATTEXT
=no
2221 DEFAULT_wxUSE_STATUSBAR
=yes
2222 DEFAULT_wxUSE_TAB_DIALOG
=no
2223 DEFAULT_wxUSE_TEXTCTRL
=no
2224 DEFAULT_wxUSE_TOGGLEBTN
=no
2225 DEFAULT_wxUSE_TOOLBAR
=no
2226 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2227 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2228 DEFAULT_wxUSE_TREEBOOK
=no
2229 DEFAULT_wxUSE_TOOLBOOK
=no
2230 DEFAULT_wxUSE_TREECTRL
=no
2231 DEFAULT_wxUSE_POPUPWIN
=no
2232 DEFAULT_wxUSE_TIPWINDOW
=no
2234 DEFAULT_wxUSE_UNICODE
=no
2235 DEFAULT_wxUSE_UNICODE_MSLU
=no
2236 DEFAULT_wxUSE_WCSRTOMBS
=no
2238 DEFAULT_wxUSE_PALETTE
=no
2239 DEFAULT_wxUSE_IMAGE
=no
2240 DEFAULT_wxUSE_GIF
=no
2241 DEFAULT_wxUSE_PCX
=no
2242 DEFAULT_wxUSE_PNM
=no
2243 DEFAULT_wxUSE_IFF
=no
2244 DEFAULT_wxUSE_XPM
=no
2245 DEFAULT_wxUSE_ICO_CUR
=no
2246 DEFAULT_wxUSE_ACCESSIBILITY
=no
2248 DEFAULT_wxUSE_MONOLITHIC
=no
2249 DEFAULT_wxUSE_PLUGINS
=no
2250 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2252 DEFAULT_wxUSE_UNIVERSAL
=no
2253 DEFAULT_wxUSE_STL
=no
2255 DEFAULT_wxUSE_NANOX
=no
2257 DEFAULT_wxUSE_THREADS
=yes
2259 DEFAULT_wxUSE_SHARED
=yes
2260 DEFAULT_wxUSE_OPTIMISE
=yes
2261 DEFAULT_wxUSE_PROFILE
=no
2262 DEFAULT_wxUSE_NO_DEPS
=no
2263 DEFAULT_wxUSE_NO_RTTI
=no
2264 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2265 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2266 DEFAULT_wxUSE_RPATH
=yes
2267 DEFAULT_wxUSE_PERMISSIVE
=no
2268 DEFAULT_wxUSE_DEBUG_FLAG
=no
2269 DEFAULT_wxUSE_DEBUG_INFO
=no
2270 DEFAULT_wxUSE_DEBUG_GDB
=no
2271 DEFAULT_wxUSE_MEM_TRACING
=no
2272 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2273 DEFAULT_wxUSE_DMALLOC
=no
2274 DEFAULT_wxUSE_APPLE_IEEE
=yes
2276 DEFAULT_wxUSE_EXCEPTIONS
=yes
2277 DEFAULT_wxUSE_LOG
=yes
2278 DEFAULT_wxUSE_LOGWINDOW
=yes
2279 DEFAULT_wxUSE_LOGGUI
=yes
2280 DEFAULT_wxUSE_LOGDIALOG
=yes
2282 DEFAULT_wxUSE_GUI
=yes
2284 DEFAULT_wxUSE_REGEX
=yes
2285 DEFAULT_wxUSE_XML
=yes
2286 DEFAULT_wxUSE_EXPAT
=yes
2287 DEFAULT_wxUSE_ZLIB
=yes
2288 DEFAULT_wxUSE_LIBPNG
=yes
2289 DEFAULT_wxUSE_LIBJPEG
=yes
2290 DEFAULT_wxUSE_LIBTIFF
=yes
2291 DEFAULT_wxUSE_LIBXPM
=yes
2292 DEFAULT_wxUSE_LIBMSPACK
=yes
2293 DEFAULT_wxUSE_LIBSDL
=no
2294 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2295 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2296 DEFAULT_wxUSE_LIBHILDON
=no
2297 DEFAULT_wxUSE_ODBC
=no
2298 DEFAULT_wxUSE_OPENGL
=no
2300 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2301 DEFAULT_wxUSE_STACKWALKER
=yes
2302 DEFAULT_wxUSE_DEBUGREPORT
=yes
2303 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2304 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2305 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2306 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2307 DEFAULT_wxUSE_DATETIME
=yes
2308 DEFAULT_wxUSE_TIMER
=yes
2309 DEFAULT_wxUSE_STOPWATCH
=yes
2310 DEFAULT_wxUSE_FILE
=yes
2311 DEFAULT_wxUSE_FFILE
=yes
2312 DEFAULT_wxUSE_STDPATHS
=yes
2313 DEFAULT_wxUSE_TEXTBUFFER
=yes
2314 DEFAULT_wxUSE_TEXTFILE
=yes
2315 DEFAULT_wxUSE_SOUND
=yes
2316 DEFAULT_wxUSE_MEDIACTRL
=no
2317 DEFAULT_wxUSE_GSTREAMER8
=no
2318 DEFAULT_wxUSE_INTL
=yes
2319 DEFAULT_wxUSE_CONFIG
=yes
2320 DEFAULT_wxUSE_FONTMAP
=yes
2321 DEFAULT_wxUSE_STREAMS
=yes
2322 DEFAULT_wxUSE_SOCKETS
=yes
2323 DEFAULT_wxUSE_OLE
=yes
2324 DEFAULT_wxUSE_DATAOBJ
=yes
2325 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2326 DEFAULT_wxUSE_JOYSTICK
=yes
2327 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2328 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2329 DEFAULT_wxUSE_LONGLONG
=yes
2330 DEFAULT_wxUSE_GEOMETRY
=yes
2332 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2333 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2334 DEFAULT_wxUSE_POSTSCRIPT
=yes
2336 DEFAULT_wxUSE_CLIPBOARD
=yes
2337 DEFAULT_wxUSE_TOOLTIPS
=yes
2338 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2339 DEFAULT_wxUSE_DRAGIMAGE
=yes
2340 DEFAULT_wxUSE_SPLINES
=yes
2341 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2343 DEFAULT_wxUSE_MDI
=yes
2344 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2345 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2346 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2348 DEFAULT_wxUSE_RESOURCES
=no
2349 DEFAULT_wxUSE_CONSTRAINTS
=yes
2350 DEFAULT_wxUSE_IPC
=yes
2351 DEFAULT_wxUSE_HELP
=yes
2352 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2353 DEFAULT_wxUSE_WXHTML_HELP
=yes
2354 DEFAULT_wxUSE_TREELAYOUT
=yes
2355 DEFAULT_wxUSE_METAFILE
=yes
2356 DEFAULT_wxUSE_MIMETYPE
=yes
2357 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2358 DEFAULT_wxUSE_PROTOCOL
=yes
2359 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2360 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2361 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2362 DEFAULT_wxUSE_URL
=yes
2364 DEFAULT_wxUSE_COMMONDLGS
=yes
2365 DEFAULT_wxUSE_CHOICEDLG
=yes
2366 DEFAULT_wxUSE_COLOURDLG
=yes
2367 DEFAULT_wxUSE_DIRDLG
=yes
2368 DEFAULT_wxUSE_FILEDLG
=yes
2369 DEFAULT_wxUSE_FINDREPLDLG
=yes
2370 DEFAULT_wxUSE_FONTDLG
=yes
2371 DEFAULT_wxUSE_MSGDLG
=yes
2372 DEFAULT_wxUSE_NUMBERDLG
=yes
2373 DEFAULT_wxUSE_TEXTDLG
=yes
2374 DEFAULT_wxUSE_SPLASH
=yes
2375 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2376 DEFAULT_wxUSE_PROGRESSDLG
=yes
2377 DEFAULT_wxUSE_WIZARDDLG
=yes
2379 DEFAULT_wxUSE_MENUS
=yes
2380 DEFAULT_wxUSE_MINIFRAME
=yes
2381 DEFAULT_wxUSE_HTML
=yes
2382 DEFAULT_wxUSE_RICHTEXT
=yes
2383 DEFAULT_wxUSE_XRC
=yes
2384 DEFAULT_wxUSE_WEBKIT
=yes
2385 DEFAULT_wxUSE_FILESYSTEM
=yes
2386 DEFAULT_wxUSE_FS_INET
=yes
2387 DEFAULT_wxUSE_FS_ZIP
=yes
2388 DEFAULT_wxUSE_BUSYINFO
=yes
2389 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2390 DEFAULT_wxUSE_ZIPSTREAM
=yes
2391 DEFAULT_wxUSE_VALIDATORS
=yes
2393 DEFAULT_wxUSE_ACCEL
=yes
2394 DEFAULT_wxUSE_BUTTON
=yes
2395 DEFAULT_wxUSE_BMPBUTTON
=yes
2396 DEFAULT_wxUSE_CALCTRL
=yes
2397 DEFAULT_wxUSE_CARET
=yes
2398 DEFAULT_wxUSE_CHECKBOX
=yes
2399 DEFAULT_wxUSE_CHECKLST
=yes
2400 DEFAULT_wxUSE_CHOICE
=yes
2401 DEFAULT_wxUSE_CHOICEBOOK
=yes
2402 DEFAULT_wxUSE_COMBOBOX
=yes
2403 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2404 DEFAULT_wxUSE_DISPLAY
=yes
2405 DEFAULT_wxUSE_GAUGE
=yes
2406 DEFAULT_wxUSE_GRID
=yes
2407 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2408 DEFAULT_wxUSE_IMAGLIST
=yes
2409 DEFAULT_wxUSE_LISTBOOK
=yes
2410 DEFAULT_wxUSE_LISTBOX
=yes
2411 DEFAULT_wxUSE_LISTCTRL
=yes
2412 DEFAULT_wxUSE_NOTEBOOK
=yes
2413 DEFAULT_wxUSE_RADIOBOX
=yes
2414 DEFAULT_wxUSE_RADIOBTN
=yes
2415 DEFAULT_wxUSE_SASH
=yes
2416 DEFAULT_wxUSE_SCROLLBAR
=yes
2417 DEFAULT_wxUSE_SLIDER
=yes
2418 DEFAULT_wxUSE_SPINBTN
=yes
2419 DEFAULT_wxUSE_SPINCTRL
=yes
2420 DEFAULT_wxUSE_SPLITTER
=yes
2421 DEFAULT_wxUSE_STATBMP
=yes
2422 DEFAULT_wxUSE_STATBOX
=yes
2423 DEFAULT_wxUSE_STATLINE
=yes
2424 DEFAULT_wxUSE_STATTEXT
=yes
2425 DEFAULT_wxUSE_STATUSBAR
=yes
2426 DEFAULT_wxUSE_TAB_DIALOG
=no
2427 DEFAULT_wxUSE_TEXTCTRL
=yes
2428 DEFAULT_wxUSE_TOGGLEBTN
=yes
2429 DEFAULT_wxUSE_TOOLBAR
=yes
2430 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2431 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2432 DEFAULT_wxUSE_TREEBOOK
=yes
2433 DEFAULT_wxUSE_TOOLBOOK
=yes
2434 DEFAULT_wxUSE_TREECTRL
=yes
2435 DEFAULT_wxUSE_POPUPWIN
=yes
2436 DEFAULT_wxUSE_TIPWINDOW
=yes
2438 DEFAULT_wxUSE_UNICODE
=no
2439 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2440 DEFAULT_wxUSE_WCSRTOMBS
=no
2442 DEFAULT_wxUSE_PALETTE
=yes
2443 DEFAULT_wxUSE_IMAGE
=yes
2444 DEFAULT_wxUSE_GIF
=yes
2445 DEFAULT_wxUSE_PCX
=yes
2446 DEFAULT_wxUSE_IFF
=no
2447 DEFAULT_wxUSE_PNM
=yes
2448 DEFAULT_wxUSE_XPM
=yes
2449 DEFAULT_wxUSE_ICO_CUR
=yes
2450 DEFAULT_wxUSE_ACCESSIBILITY
=no
2452 DEFAULT_wxUSE_MONOLITHIC
=no
2453 DEFAULT_wxUSE_PLUGINS
=no
2454 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2456 DEFAULT_wxUSE_GTK2
=yes
2462 for toolkit
in `echo $ALL_TOOLKITS`; do
2463 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2464 if test "x$LINE" != "x" ; then
2465 has_toolkit_in_cache
=1
2466 eval "DEFAULT_$LINE"
2467 eval "CACHE_$toolkit=1"
2469 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2470 if test "x$LINE" != "x" ; then
2471 eval "DEFAULT_$LINE"
2479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2480 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2482 # Check whether --enable-gui or --disable-gui was given.
2483 if test "${enable_gui+set}" = set; then
2484 enableval
="$enable_gui"
2486 if test "$enableval" = yes; then
2487 ac_cv_use_gui
='wxUSE_GUI=yes'
2489 ac_cv_use_gui
='wxUSE_GUI=no'
2494 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2495 if test "x$LINE" != x
; then
2496 eval "DEFAULT_$LINE"
2501 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2505 eval "$ac_cv_use_gui"
2506 if test "$no_cache" != 1; then
2507 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2510 if test "$wxUSE_GUI" = yes; then
2511 echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2521 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2523 # Check whether --enable-monolithic or --disable-monolithic was given.
2524 if test "${enable_monolithic+set}" = set; then
2525 enableval
="$enable_monolithic"
2527 if test "$enableval" = yes; then
2528 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2530 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2535 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2536 if test "x$LINE" != x
; then
2537 eval "DEFAULT_$LINE"
2542 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2546 eval "$ac_cv_use_monolithic"
2547 if test "$no_cache" != 1; then
2548 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2551 if test "$wxUSE_MONOLITHIC" = yes; then
2552 echo "$as_me:$LINENO: result: yes" >&5
2553 echo "${ECHO_T}yes" >&6
2555 echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6
2561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2562 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2564 # Check whether --enable-plugins or --disable-plugins was given.
2565 if test "${enable_plugins+set}" = set; then
2566 enableval
="$enable_plugins"
2568 if test "$enableval" = yes; then
2569 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2571 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2576 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x
; then
2578 eval "DEFAULT_$LINE"
2583 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2587 eval "$ac_cv_use_plugins"
2588 if test "$no_cache" != 1; then
2589 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2592 if test "$wxUSE_PLUGINS" = yes; then
2593 echo "$as_me:$LINENO: result: yes" >&5
2594 echo "${ECHO_T}yes" >&6
2596 echo "$as_me:$LINENO: result: no" >&5
2597 echo "${ECHO_T}no" >&6
2602 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2603 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2606 # Check whether --with-subdirs or --without-subdirs was given.
2607 if test "${with_subdirs+set}" = set; then
2608 withval
="$with_subdirs"
2610 if test "$withval" = yes; then
2611 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2613 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2618 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2619 if test "x$LINE" != x
; then
2620 eval "DEFAULT_$LINE"
2625 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2629 eval "$ac_cv_use_subdirs"
2630 if test "$no_cache" != 1; then
2631 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2634 if test "$wxWITH_SUBDIRS" = yes; then
2635 echo "$as_me:$LINENO: result: yes" >&5
2636 echo "${ECHO_T}yes" >&6
2638 echo "$as_me:$LINENO: result: no" >&5
2639 echo "${ECHO_T}no" >&6
2643 if test "$wxUSE_GUI" = "yes"; then
2647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2648 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2650 # Check whether --enable-universal or --disable-universal was given.
2651 if test "${enable_universal+set}" = set; then
2652 enableval
="$enable_universal"
2654 if test "$enableval" = yes; then
2655 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2657 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2662 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x
; then
2664 eval "DEFAULT_$LINE"
2669 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2673 eval "$ac_cv_use_universal"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_UNIVERSAL" = yes; then
2679 echo "$as_me:$LINENO: result: yes" >&5
2680 echo "${ECHO_T}yes" >&6
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2687 # Check whether --with-gtk or --without-gtk was given.
2688 if test "${with_gtk+set}" = set; then
2690 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2693 # Check whether --with-motif or --without-motif was given.
2694 if test "${with_motif+set}" = set; then
2695 withval
="$with_motif"
2696 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2699 # Check whether --with-mac or --without-mac was given.
2700 if test "${with_mac+set}" = set; then
2702 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2705 # Check whether --with-cocoa or --without-cocoa was given.
2706 if test "${with_cocoa+set}" = set; then
2707 withval
="$with_cocoa"
2708 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2711 # Check whether --with-wine or --without-wine was given.
2712 if test "${with_wine+set}" = set; then
2713 withval
="$with_wine"
2714 wxUSE_WINE
="$withval" CACHE_WINE
=1
2717 # Check whether --with-msw or --without-msw was given.
2718 if test "${with_msw+set}" = set; then
2720 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2723 # Check whether --with-pm or --without-pm was given.
2724 if test "${with_pm+set}" = set; then
2726 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2729 # Check whether --with-mgl or --without-mgl was given.
2730 if test "${with_mgl+set}" = set; then
2732 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2735 # Check whether --with-microwin or --without-microwin was given.
2736 if test "${with_microwin+set}" = set; then
2737 withval
="$with_microwin"
2738 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2741 # Check whether --with-x11 or --without-x11 was given.
2742 if test "${with_x11+set}" = set; then
2744 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2749 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2751 # Check whether --enable-nanox or --disable-nanox was given.
2752 if test "${enable_nanox+set}" = set; then
2753 enableval
="$enable_nanox"
2755 if test "$enableval" = yes; then
2756 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2758 ac_cv_use_nanox
='wxUSE_NANOX=no'
2763 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x
; then
2765 eval "DEFAULT_$LINE"
2770 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2774 eval "$ac_cv_use_nanox"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2779 if test "$wxUSE_NANOX" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2788 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2789 if test "${enable_gtk2+set}" = set; then
2790 enableval
="$enable_gtk2"
2791 wxUSE_GTK2
="$enableval"
2795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2796 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2798 # Check whether --enable-gpe or --disable-gpe was given.
2799 if test "${enable_gpe+set}" = set; then
2800 enableval
="$enable_gpe"
2802 if test "$enableval" = yes; then
2803 ac_cv_use_gpe
='wxUSE_GPE=yes'
2805 ac_cv_use_gpe
='wxUSE_GPE=no'
2810 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x
; then
2812 eval "DEFAULT_$LINE"
2817 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2821 eval "$ac_cv_use_gpe"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2826 if test "$wxUSE_GPE" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2836 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2837 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2840 # Check whether --with-libpng or --without-libpng was given.
2841 if test "${with_libpng+set}" = set; then
2842 withval
="$with_libpng"
2844 if test "$withval" = yes; then
2845 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2846 elif test "$withval" = no
; then
2847 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2848 elif test "$withval" = sys
; then
2849 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2850 elif test "$withval" = builtin; then
2851 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2860 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x
; then
2862 eval "DEFAULT_$LINE"
2867 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2871 eval "$ac_cv_use_libpng"
2872 if test "$no_cache" != 1; then
2873 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2876 if test "$wxUSE_LIBPNG" = yes; then
2877 echo "$as_me:$LINENO: result: yes" >&5
2878 echo "${ECHO_T}yes" >&6
2879 elif test "$wxUSE_LIBPNG" = no
; then
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2882 elif test "$wxUSE_LIBPNG" = sys
; then
2883 echo "$as_me:$LINENO: result: system version" >&5
2884 echo "${ECHO_T}system version" >&6
2885 elif test "$wxUSE_LIBPNG" = builtin; then
2886 echo "$as_me:$LINENO: result: builtin version" >&5
2887 echo "${ECHO_T}builtin version" >&6
2889 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2890 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2891 { (exit 1); exit 1; }; }
2895 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2896 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2899 # Check whether --with-libjpeg or --without-libjpeg was given.
2900 if test "${with_libjpeg+set}" = set; then
2901 withval
="$with_libjpeg"
2903 if test "$withval" = yes; then
2904 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2905 elif test "$withval" = no
; then
2906 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2907 elif test "$withval" = sys
; then
2908 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2909 elif test "$withval" = builtin; then
2910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2919 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x
; then
2921 eval "DEFAULT_$LINE"
2926 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2930 eval "$ac_cv_use_libjpeg"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2935 if test "$wxUSE_LIBJPEG" = yes; then
2936 echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6
2938 elif test "$wxUSE_LIBJPEG" = no
; then
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2941 elif test "$wxUSE_LIBJPEG" = sys
; then
2942 echo "$as_me:$LINENO: result: system version" >&5
2943 echo "${ECHO_T}system version" >&6
2944 elif test "$wxUSE_LIBJPEG" = builtin; then
2945 echo "$as_me:$LINENO: result: builtin version" >&5
2946 echo "${ECHO_T}builtin version" >&6
2948 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2949 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2950 { (exit 1); exit 1; }; }
2954 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2955 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2958 # Check whether --with-libtiff or --without-libtiff was given.
2959 if test "${with_libtiff+set}" = set; then
2960 withval
="$with_libtiff"
2962 if test "$withval" = yes; then
2963 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2964 elif test "$withval" = no
; then
2965 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2966 elif test "$withval" = sys
; then
2967 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2968 elif test "$withval" = builtin; then
2969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2978 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2989 eval "$ac_cv_use_libtiff"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_LIBTIFF" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 elif test "$wxUSE_LIBTIFF" = no
; then
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 elif test "$wxUSE_LIBTIFF" = sys
; then
3001 echo "$as_me:$LINENO: result: system version" >&5
3002 echo "${ECHO_T}system version" >&6
3003 elif test "$wxUSE_LIBTIFF" = builtin; then
3004 echo "$as_me:$LINENO: result: builtin version" >&5
3005 echo "${ECHO_T}builtin version" >&6
3007 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3008 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3009 { (exit 1); exit 1; }; }
3013 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3014 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3017 # Check whether --with-libxpm or --without-libxpm was given.
3018 if test "${with_libxpm+set}" = set; then
3019 withval
="$with_libxpm"
3021 if test "$withval" = yes; then
3022 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3023 elif test "$withval" = no
; then
3024 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3025 elif test "$withval" = sys
; then
3026 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3027 elif test "$withval" = builtin; then
3028 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3030 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3031 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3032 { (exit 1); exit 1; }; }
3037 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3048 eval "$ac_cv_use_libxpm"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3053 if test "$wxUSE_LIBXPM" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 elif test "$wxUSE_LIBXPM" = no
; then
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 elif test "$wxUSE_LIBXPM" = sys
; then
3060 echo "$as_me:$LINENO: result: system version" >&5
3061 echo "${ECHO_T}system version" >&6
3062 elif test "$wxUSE_LIBXPM" = builtin; then
3063 echo "$as_me:$LINENO: result: builtin version" >&5
3064 echo "${ECHO_T}builtin version" >&6
3066 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3067 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3068 { (exit 1); exit 1; }; }
3073 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3074 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3077 # Check whether --with-libmspack or --without-libmspack was given.
3078 if test "${with_libmspack+set}" = set; then
3079 withval
="$with_libmspack"
3081 if test "$withval" = yes; then
3082 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3084 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3089 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x
; then
3091 eval "DEFAULT_$LINE"
3096 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3100 eval "$ac_cv_use_libmspack"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3105 if test "$wxUSE_LIBMSPACK" = yes; then
3106 echo "$as_me:$LINENO: result: yes" >&5
3107 echo "${ECHO_T}yes" >&6
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3115 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3116 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3119 # Check whether --with-sdl or --without-sdl was given.
3120 if test "${with_sdl+set}" = set; then
3123 if test "$withval" = yes; then
3124 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3126 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3131 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x
; then
3133 eval "DEFAULT_$LINE"
3138 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3142 eval "$ac_cv_use_sdl"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3147 if test "$wxUSE_LIBSDL" = yes; then
3148 echo "$as_me:$LINENO: result: yes" >&5
3149 echo "${ECHO_T}yes" >&6
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3157 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3158 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3161 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3162 if test "${with_gnomeprint+set}" = set; then
3163 withval
="$with_gnomeprint"
3165 if test "$withval" = yes; then
3166 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3168 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3173 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3184 eval "$ac_cv_use_gnomeprint"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3189 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3199 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3200 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3203 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3204 if test "${with_gnomevfs+set}" = set; then
3205 withval
="$with_gnomevfs"
3207 if test "$withval" = yes; then
3208 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3210 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3215 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x
; then
3217 eval "DEFAULT_$LINE"
3222 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3226 eval "$ac_cv_use_gnomevfs"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3231 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3232 echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3241 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3242 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3245 # Check whether --with-hildon or --without-hildon was given.
3246 if test "${with_hildon+set}" = set; then
3247 withval
="$with_hildon"
3249 if test "$withval" = yes; then
3250 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3252 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3257 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x
; then
3259 eval "DEFAULT_$LINE"
3264 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3268 eval "$ac_cv_use_hildon"
3269 if test "$no_cache" != 1; then
3270 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3273 if test "$wxUSE_LIBHILDON" = 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}-opengl" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3287 # Check whether --with-opengl or --without-opengl was given.
3288 if test "${with_opengl+set}" = set; then
3289 withval
="$with_opengl"
3291 if test "$withval" = yes; then
3292 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3294 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3299 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x
; then
3301 eval "DEFAULT_$LINE"
3306 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3310 eval "$ac_cv_use_opengl"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3315 if test "$wxUSE_OPENGL" = 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
3328 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3329 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3332 # Check whether --with-dmalloc or --without-dmalloc was given.
3333 if test "${with_dmalloc+set}" = set; then
3334 withval
="$with_dmalloc"
3336 if test "$withval" = yes; then
3337 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3339 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3344 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x
; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3355 eval "$ac_cv_use_dmalloc"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_DMALLOC" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3369 echo "$as_me:$LINENO: checking for --with-regex" >&5
3370 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3373 # Check whether --with-regex or --without-regex was given.
3374 if test "${with_regex+set}" = set; then
3375 withval
="$with_regex"
3377 if test "$withval" = yes; then
3378 ac_cv_use_regex
='wxUSE_REGEX=yes'
3379 elif test "$withval" = no
; then
3380 ac_cv_use_regex
='wxUSE_REGEX=no'
3381 elif test "$withval" = sys
; then
3382 ac_cv_use_regex
='wxUSE_REGEX=sys'
3383 elif test "$withval" = builtin; then
3384 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3386 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3387 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3388 { (exit 1); exit 1; }; }
3393 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x
; then
3395 eval "DEFAULT_$LINE"
3400 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3404 eval "$ac_cv_use_regex"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3409 if test "$wxUSE_REGEX" = yes; then
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3412 elif test "$wxUSE_REGEX" = no
; then
3413 echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3415 elif test "$wxUSE_REGEX" = sys
; then
3416 echo "$as_me:$LINENO: result: system version" >&5
3417 echo "${ECHO_T}system version" >&6
3418 elif test "$wxUSE_REGEX" = builtin; then
3419 echo "$as_me:$LINENO: result: builtin version" >&5
3420 echo "${ECHO_T}builtin version" >&6
3422 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3423 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3424 { (exit 1); exit 1; }; }
3428 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3429 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3432 # Check whether --with-zlib or --without-zlib was given.
3433 if test "${with_zlib+set}" = set; then
3434 withval
="$with_zlib"
3436 if test "$withval" = yes; then
3437 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3438 elif test "$withval" = no
; then
3439 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3440 elif test "$withval" = sys
; then
3441 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3442 elif test "$withval" = builtin; then
3443 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3445 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3446 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3447 { (exit 1); exit 1; }; }
3452 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x
; then
3454 eval "DEFAULT_$LINE"
3459 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3463 eval "$ac_cv_use_zlib"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3468 if test "$wxUSE_ZLIB" = yes; then
3469 echo "$as_me:$LINENO: result: yes" >&5
3470 echo "${ECHO_T}yes" >&6
3471 elif test "$wxUSE_ZLIB" = no
; then
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 elif test "$wxUSE_ZLIB" = sys
; then
3475 echo "$as_me:$LINENO: result: system version" >&5
3476 echo "${ECHO_T}system version" >&6
3477 elif test "$wxUSE_ZLIB" = builtin; then
3478 echo "$as_me:$LINENO: result: builtin version" >&5
3479 echo "${ECHO_T}builtin version" >&6
3481 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3482 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3483 { (exit 1); exit 1; }; }
3487 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3488 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3491 # Check whether --with-odbc or --without-odbc was given.
3492 if test "${with_odbc+set}" = set; then
3493 withval
="$with_odbc"
3495 if test "$withval" = yes; then
3496 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3497 elif test "$withval" = no
; then
3498 ac_cv_use_odbc
='wxUSE_ODBC=no'
3499 elif test "$withval" = sys
; then
3500 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3501 elif test "$withval" = builtin; then
3502 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3504 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3505 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3506 { (exit 1); exit 1; }; }
3511 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3512 if test "x$LINE" != x
; then
3513 eval "DEFAULT_$LINE"
3518 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3522 eval "$ac_cv_use_odbc"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3527 if test "$wxUSE_ODBC" = yes; then
3528 echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6
3530 elif test "$wxUSE_ODBC" = no
; then
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3533 elif test "$wxUSE_ODBC" = sys
; then
3534 echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6
3536 elif test "$wxUSE_ODBC" = builtin; then
3537 echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3546 echo "$as_me:$LINENO: checking for --with-expat" >&5
3547 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3550 # Check whether --with-expat or --without-expat was given.
3551 if test "${with_expat+set}" = set; then
3552 withval
="$with_expat"
3554 if test "$withval" = yes; then
3555 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3556 elif test "$withval" = no
; then
3557 ac_cv_use_expat
='wxUSE_EXPAT=no'
3558 elif test "$withval" = sys
; then
3559 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3560 elif test "$withval" = builtin; then
3561 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3570 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x
; then
3572 eval "DEFAULT_$LINE"
3577 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3581 eval "$ac_cv_use_expat"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_EXPAT" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3589 elif test "$wxUSE_EXPAT" = no
; then
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 elif test "$wxUSE_EXPAT" = sys
; then
3593 echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6
3595 elif test "$wxUSE_EXPAT" = 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-expat: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3611 # Check whether --enable-shared or --disable-shared was given.
3612 if test "${enable_shared+set}" = set; then
3613 enableval
="$enable_shared"
3615 if test "$enableval" = yes; then
3616 ac_cv_use_shared
='wxUSE_SHARED=yes'
3618 ac_cv_use_shared
='wxUSE_SHARED=no'
3623 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x
; then
3625 eval "DEFAULT_$LINE"
3630 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3634 eval "$ac_cv_use_shared"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_SHARED" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3652 # Check whether --enable-optimise or --disable-optimise was given.
3653 if test "${enable_optimise+set}" = set; then
3654 enableval
="$enable_optimise"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3659 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3664 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3675 eval "$ac_cv_use_optimise"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_OPTIMISE" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3693 # Check whether --enable-debug or --disable-debug was given.
3694 if test "${enable_debug+set}" = set; then
3695 enableval
="$enable_debug"
3697 if test "$enableval" = yes; then
3698 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3700 ac_cv_use_debug
='wxUSE_DEBUG=no'
3705 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x
; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3716 eval "$ac_cv_use_debug"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_DEBUG" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3734 # Check whether --enable-stl or --disable-stl was given.
3735 if test "${enable_stl+set}" = set; then
3736 enableval
="$enable_stl"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_stl
='wxUSE_STL=yes'
3741 ac_cv_use_stl
='wxUSE_STL=no'
3746 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x
; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3757 eval "$ac_cv_use_stl"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3762 if test "$wxUSE_STL" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3770 if test "$USE_OS2" = "1"; then
3771 DEFAULT_wxUSE_OMF
=no
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3775 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3777 # Check whether --enable-omf or --disable-omf was given.
3778 if test "${enable_omf+set}" = set; then
3779 enableval
="$enable_omf"
3781 if test "$enableval" = yes; then
3782 ac_cv_use_omf
='wxUSE_OMF=yes'
3784 ac_cv_use_omf
='wxUSE_OMF=no'
3789 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x
; then
3791 eval "DEFAULT_$LINE"
3796 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3800 eval "$ac_cv_use_omf"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3805 if test "$wxUSE_OMF" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807 echo "${ECHO_T}yes" >&6
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3815 if test "$wxUSE_DEBUG" = "yes"; then
3816 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3817 DEFAULT_wxUSE_DEBUG_INFO
=yes
3819 elif test "$wxUSE_DEBUG" = "no"; then
3820 DEFAULT_wxUSE_DEBUG_FLAG
=no
3821 DEFAULT_wxUSE_DEBUG_INFO
=no
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3830 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3831 if test "${enable_debug_flag+set}" = set; then
3832 enableval
="$enable_debug_flag"
3834 if test "$enableval" = yes; then
3835 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3837 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3842 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x
; then
3844 eval "DEFAULT_$LINE"
3849 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3853 eval "$ac_cv_use_debug_flag"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_DEBUG_FLAG" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3871 # Check whether --enable-debug_info or --disable-debug_info was given.
3872 if test "${enable_debug_info+set}" = set; then
3873 enableval
="$enable_debug_info"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3878 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3883 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3894 eval "$ac_cv_use_debug_info"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_DEBUG_INFO" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3912 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3913 if test "${enable_debug_gdb+set}" = set; then
3914 enableval
="$enable_debug_gdb"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3919 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3924 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3935 eval "$ac_cv_use_debug_gdb"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_DEBUG_GDB" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3953 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3954 if test "${enable_debug_cntxt+set}" = set; then
3955 enableval
="$enable_debug_cntxt"
3957 if test "$enableval" = yes; then
3958 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3960 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3965 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x
; then
3967 eval "DEFAULT_$LINE"
3972 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3976 eval "$ac_cv_use_debug_cntxt"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3981 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3994 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3995 if test "${enable_mem_tracing+set}" = set; then
3996 enableval
="$enable_mem_tracing"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4001 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4006 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4017 eval "$ac_cv_use_mem_tracing"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_MEM_TRACING" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4035 # Check whether --enable-profile or --disable-profile was given.
4036 if test "${enable_profile+set}" = set; then
4037 enableval
="$enable_profile"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4042 ac_cv_use_profile
='wxUSE_PROFILE=no'
4047 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4058 eval "$ac_cv_use_profile"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_PROFILE" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4074 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4076 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4077 if test "${enable_no_rtti+set}" = set; then
4078 enableval
="$enable_no_rtti"
4080 if test "$enableval" = yes; then
4081 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4083 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4088 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x
; then
4090 eval "DEFAULT_$LINE"
4095 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4099 eval "$ac_cv_use_no_rtti"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_NO_RTTI" = yes; then
4105 echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4117 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4118 if test "${enable_no_exceptions+set}" = set; then
4119 enableval
="$enable_no_exceptions"
4121 if test "$enableval" = yes; then
4122 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4124 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4129 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x
; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4140 eval "$ac_cv_use_no_exceptions"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4145 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4156 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4158 # Check whether --enable-permissive or --disable-permissive was given.
4159 if test "${enable_permissive+set}" = set; then
4160 enableval
="$enable_permissive"
4162 if test "$enableval" = yes; then
4163 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4165 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4170 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x
; then
4172 eval "DEFAULT_$LINE"
4177 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4181 eval "$ac_cv_use_permissive"
4182 if test "$no_cache" != 1; then
4183 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4186 if test "$wxUSE_PERMISSIVE" = yes; then
4187 echo "$as_me:$LINENO: result: yes" >&5
4188 echo "${ECHO_T}yes" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4197 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4199 # Check whether --enable-no_deps or --disable-no_deps was given.
4200 if test "${enable_no_deps+set}" = set; then
4201 enableval
="$enable_no_deps"
4203 if test "$enableval" = yes; then
4204 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4206 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4211 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x
; then
4213 eval "DEFAULT_$LINE"
4218 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4222 eval "$ac_cv_use_no_deps"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4227 if test "$wxUSE_NO_DEPS" = yes; then
4228 echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4238 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4240 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4241 if test "${enable_universal_binary+set}" = set; then
4242 enableval
="$enable_universal_binary"
4244 if test "$enableval" = yes; then
4245 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4247 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4252 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x
; then
4254 eval "DEFAULT_$LINE"
4259 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4263 eval "$ac_cv_use_universal_binary"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4268 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4269 echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4282 # Check whether --enable-compat24 or --disable-compat24 was given.
4283 if test "${enable_compat24+set}" = set; then
4284 enableval
="$enable_compat24"
4286 if test "$enableval" = yes; then
4287 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4289 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4294 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x
; then
4296 eval "DEFAULT_$LINE"
4301 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4305 eval "$ac_cv_use_compat24"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4310 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4319 enablestring
=disable
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4323 # Check whether --enable-compat26 or --disable-compat26 was given.
4324 if test "${enable_compat26+set}" = set; then
4325 enableval
="$enable_compat26"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4330 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4335 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4346 eval "$ac_cv_use_compat26"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4351 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4365 # Check whether --enable-rpath or --disable-rpath was given.
4366 if test "${enable_rpath+set}" = set; then
4367 enableval
="$enable_rpath"
4369 if test "$enableval" = yes; then
4370 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4372 ac_cv_use_rpath
='wxUSE_RPATH=no'
4377 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x
; then
4379 eval "DEFAULT_$LINE"
4384 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4388 eval "$ac_cv_use_rpath"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_RPATH" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4407 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4409 # Check whether --enable-intl or --disable-intl was given.
4410 if test "${enable_intl+set}" = set; then
4411 enableval
="$enable_intl"
4413 if test "$enableval" = yes; then
4414 ac_cv_use_intl
='wxUSE_INTL=yes'
4416 ac_cv_use_intl
='wxUSE_INTL=no'
4421 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4422 if test "x$LINE" != x
; then
4423 eval "DEFAULT_$LINE"
4428 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4432 eval "$ac_cv_use_intl"
4433 if test "$no_cache" != 1; then
4434 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4437 if test "$wxUSE_INTL" = yes; then
4438 echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6
4441 echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4450 # Check whether --enable-config or --disable-config was given.
4451 if test "${enable_config+set}" = set; then
4452 enableval
="$enable_config"
4454 if test "$enableval" = yes; then
4455 ac_cv_use_config
='wxUSE_CONFIG=yes'
4457 ac_cv_use_config
='wxUSE_CONFIG=no'
4462 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x
; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4473 eval "$ac_cv_use_config"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4478 if test "$wxUSE_CONFIG" = 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
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4492 # Check whether --enable-protocols or --disable-protocols was given.
4493 if test "${enable_protocols+set}" = set; then
4494 enableval
="$enable_protocols"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4499 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4504 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4515 eval "$ac_cv_use_protocols"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_PROTOCOL" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4533 # Check whether --enable-ftp or --disable-ftp was given.
4534 if test "${enable_ftp+set}" = set; then
4535 enableval
="$enable_ftp"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4540 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4545 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4556 eval "$ac_cv_use_ftp"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_PROTOCOL_FTP" = 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
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4574 # Check whether --enable-http or --disable-http was given.
4575 if test "${enable_http+set}" = set; then
4576 enableval
="$enable_http"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4581 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4586 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4597 eval "$ac_cv_use_http"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4615 # Check whether --enable-fileproto or --disable-fileproto was given.
4616 if test "${enable_fileproto+set}" = set; then
4617 enableval
="$enable_fileproto"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4622 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4627 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4638 eval "$ac_cv_use_fileproto"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4656 # Check whether --enable-sockets or --disable-sockets was given.
4657 if test "${enable_sockets+set}" = set; then
4658 enableval
="$enable_sockets"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4663 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4668 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4679 eval "$ac_cv_use_sockets"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_SOCKETS" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4697 # Check whether --enable-ole or --disable-ole was given.
4698 if test "${enable_ole+set}" = set; then
4699 enableval
="$enable_ole"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_ole
='wxUSE_OLE=yes'
4704 ac_cv_use_ole
='wxUSE_OLE=no'
4709 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4720 eval "$ac_cv_use_ole"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_OLE" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4738 # Check whether --enable-dataobj or --disable-dataobj was given.
4739 if test "${enable_dataobj+set}" = set; then
4740 enableval
="$enable_dataobj"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4745 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4750 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4761 eval "$ac_cv_use_dataobj"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_DATAOBJ" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4780 # Check whether --enable-ipc or --disable-ipc was given.
4781 if test "${enable_ipc+set}" = set; then
4782 enableval
="$enable_ipc"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_ipc
='wxUSE_IPC=yes'
4787 ac_cv_use_ipc
='wxUSE_IPC=no'
4792 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4803 eval "$ac_cv_use_ipc"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4808 if test "$wxUSE_IPC" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4822 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4823 if test "${enable_apple_ieee+set}" = set; then
4824 enableval
="$enable_apple_ieee"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4829 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4834 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4845 eval "$ac_cv_use_apple_ieee"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4850 if test "$wxUSE_APPLE_IEEE" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4863 # Check whether --enable-arcstream or --disable-arcstream was given.
4864 if test "${enable_arcstream+set}" = set; then
4865 enableval
="$enable_arcstream"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4870 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4875 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4886 eval "$ac_cv_use_arcstream"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4904 # Check whether --enable-backtrace or --disable-backtrace was given.
4905 if test "${enable_backtrace+set}" = set; then
4906 enableval
="$enable_backtrace"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4911 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4916 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4927 eval "$ac_cv_use_backtrace"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_STACKWALKER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4945 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4946 if test "${enable_catch_segvs+set}" = set; then
4947 enableval
="$enable_catch_segvs"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4952 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4957 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4968 eval "$ac_cv_use_catch_segvs"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4986 # Check whether --enable-cmdline or --disable-cmdline was given.
4987 if test "${enable_cmdline+set}" = set; then
4988 enableval
="$enable_cmdline"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4993 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4998 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5009 eval "$ac_cv_use_cmdline"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5027 # Check whether --enable-datetime or --disable-datetime was given.
5028 if test "${enable_datetime+set}" = set; then
5029 enableval
="$enable_datetime"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5034 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5039 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5050 eval "$ac_cv_use_datetime"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_DATETIME" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5068 # Check whether --enable-debugreport or --disable-debugreport was given.
5069 if test "${enable_debugreport+set}" = set; then
5070 enableval
="$enable_debugreport"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5075 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5080 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5091 eval "$ac_cv_use_debugreport"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_DEBUGREPORT" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5109 # Check whether --enable-dialupman or --disable-dialupman was given.
5110 if test "${enable_dialupman+set}" = set; then
5111 enableval
="$enable_dialupman"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5116 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5121 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5132 eval "$ac_cv_use_dialupman"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5137 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5150 # Check whether --enable-dynlib or --disable-dynlib was given.
5151 if test "${enable_dynlib+set}" = set; then
5152 enableval
="$enable_dynlib"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5157 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5162 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5173 eval "$ac_cv_use_dynlib"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5178 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5191 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5192 if test "${enable_dynamicloader+set}" = set; then
5193 enableval
="$enable_dynamicloader"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5198 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5203 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5214 eval "$ac_cv_use_dynamicloader"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5232 # Check whether --enable-exceptions or --disable-exceptions was given.
5233 if test "${enable_exceptions+set}" = set; then
5234 enableval
="$enable_exceptions"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5239 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5244 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5255 eval "$ac_cv_use_exceptions"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5260 if test "$wxUSE_EXCEPTIONS" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5273 # Check whether --enable-ffile or --disable-ffile was given.
5274 if test "${enable_ffile+set}" = set; then
5275 enableval
="$enable_ffile"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5280 ac_cv_use_ffile
='wxUSE_FFILE=no'
5285 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5296 eval "$ac_cv_use_ffile"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_FFILE" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5314 # Check whether --enable-file or --disable-file was given.
5315 if test "${enable_file+set}" = set; then
5316 enableval
="$enable_file"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_file
='wxUSE_FILE=yes'
5321 ac_cv_use_file
='wxUSE_FILE=no'
5326 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5337 eval "$ac_cv_use_file"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5342 if test "$wxUSE_FILE" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5355 # Check whether --enable-filesystem or --disable-filesystem was given.
5356 if test "${enable_filesystem+set}" = set; then
5357 enableval
="$enable_filesystem"
5359 if test "$enableval" = yes; then
5360 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5362 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5367 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5374 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5378 eval "$ac_cv_use_filesystem"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_FILESYSTEM" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5396 # Check whether --enable-fontmap or --disable-fontmap was given.
5397 if test "${enable_fontmap+set}" = set; then
5398 enableval
="$enable_fontmap"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5403 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5408 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5419 eval "$ac_cv_use_fontmap"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_FONTMAP" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5437 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5438 if test "${enable_fs_inet+set}" = set; then
5439 enableval
="$enable_fs_inet"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5444 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5449 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5460 eval "$ac_cv_use_fs_inet"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_FS_INET" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5478 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5479 if test "${enable_fs_zip+set}" = set; then
5480 enableval
="$enable_fs_zip"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5485 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5490 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5501 eval "$ac_cv_use_fs_zip"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_FS_ZIP" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5519 # Check whether --enable-geometry or --disable-geometry was given.
5520 if test "${enable_geometry+set}" = set; then
5521 enableval
="$enable_geometry"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5526 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5531 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5542 eval "$ac_cv_use_geometry"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_GEOMETRY" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5560 # Check whether --enable-log or --disable-log was given.
5561 if test "${enable_log+set}" = set; then
5562 enableval
="$enable_log"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_log
='wxUSE_LOG=yes'
5567 ac_cv_use_log
='wxUSE_LOG=no'
5572 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5583 eval "$ac_cv_use_log"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_LOG" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5601 # Check whether --enable-longlong or --disable-longlong was given.
5602 if test "${enable_longlong+set}" = set; then
5603 enableval
="$enable_longlong"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5608 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5613 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5624 eval "$ac_cv_use_longlong"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5629 if test "$wxUSE_LONGLONG" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5642 # Check whether --enable-mimetype or --disable-mimetype was given.
5643 if test "${enable_mimetype+set}" = set; then
5644 enableval
="$enable_mimetype"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5649 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5654 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5665 eval "$ac_cv_use_mimetype"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_MIMETYPE" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5683 # Check whether --enable-mslu or --disable-mslu was given.
5684 if test "${enable_mslu+set}" = set; then
5685 enableval
="$enable_mslu"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5690 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5695 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5706 eval "$ac_cv_use_mslu"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_UNICODE_MSLU" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5724 # Check whether --enable-snglinst or --disable-snglinst was given.
5725 if test "${enable_snglinst+set}" = set; then
5726 enableval
="$enable_snglinst"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5731 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5736 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5747 eval "$ac_cv_use_snglinst"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5765 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5766 if test "${enable_std_iostreams+set}" = set; then
5767 enableval
="$enable_std_iostreams"
5769 if test "$enableval" = yes; then
5770 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5772 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5777 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x
; then
5779 eval "DEFAULT_$LINE"
5784 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5788 eval "$ac_cv_use_std_iostreams"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_STD_IOSTREAM" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5806 # Check whether --enable-std_string or --disable-std_string was given.
5807 if test "${enable_std_string+set}" = set; then
5808 enableval
="$enable_std_string"
5810 if test "$enableval" = yes; then
5811 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5813 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5818 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x
; then
5820 eval "DEFAULT_$LINE"
5825 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5829 eval "$ac_cv_use_std_string"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5834 if test "$wxUSE_STD_STRING" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5847 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5848 if test "${enable_stdpaths+set}" = set; then
5849 enableval
="$enable_stdpaths"
5851 if test "$enableval" = yes; then
5852 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5854 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5859 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x
; then
5861 eval "DEFAULT_$LINE"
5866 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5870 eval "$ac_cv_use_stdpaths"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_STDPATHS" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5888 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5889 if test "${enable_stopwatch+set}" = set; then
5890 enableval
="$enable_stopwatch"
5892 if test "$enableval" = yes; then
5893 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5895 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5900 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x
; then
5902 eval "DEFAULT_$LINE"
5907 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5911 eval "$ac_cv_use_stopwatch"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5916 if test "$wxUSE_STOPWATCH" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5929 # Check whether --enable-streams or --disable-streams was given.
5930 if test "${enable_streams+set}" = set; then
5931 enableval
="$enable_streams"
5933 if test "$enableval" = yes; then
5934 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5936 ac_cv_use_streams
='wxUSE_STREAMS=no'
5941 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x
; then
5943 eval "DEFAULT_$LINE"
5948 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5952 eval "$ac_cv_use_streams"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5957 if test "$wxUSE_STREAMS" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5970 # Check whether --enable-system_options or --disable-system_options was given.
5971 if test "${enable_system_options+set}" = set; then
5972 enableval
="$enable_system_options"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5977 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5982 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5993 eval "$ac_cv_use_system_options"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5998 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6011 # Check whether --enable-textbuf or --disable-textbuf was given.
6012 if test "${enable_textbuf+set}" = set; then
6013 enableval
="$enable_textbuf"
6015 if test "$enableval" = yes; then
6016 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6018 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6023 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x
; then
6025 eval "DEFAULT_$LINE"
6030 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6034 eval "$ac_cv_use_textbuf"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_TEXTBUFFER" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6052 # Check whether --enable-textfile or --disable-textfile was given.
6053 if test "${enable_textfile+set}" = set; then
6054 enableval
="$enable_textfile"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6059 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6064 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6075 eval "$ac_cv_use_textfile"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6080 if test "$wxUSE_TEXTFILE" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6093 # Check whether --enable-timer or --disable-timer was given.
6094 if test "${enable_timer+set}" = set; then
6095 enableval
="$enable_timer"
6097 if test "$enableval" = yes; then
6098 ac_cv_use_timer
='wxUSE_TIMER=yes'
6100 ac_cv_use_timer
='wxUSE_TIMER=no'
6105 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x
; then
6107 eval "DEFAULT_$LINE"
6112 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6116 eval "$ac_cv_use_timer"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_TIMER" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6132 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6134 # Check whether --enable-unicode or --disable-unicode was given.
6135 if test "${enable_unicode+set}" = set; then
6136 enableval
="$enable_unicode"
6138 if test "$enableval" = yes; then
6139 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6141 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6146 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6147 if test "x$LINE" != x
; then
6148 eval "DEFAULT_$LINE"
6153 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6157 eval "$ac_cv_use_unicode"
6158 if test "$no_cache" != 1; then
6159 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6162 if test "$wxUSE_UNICODE" = yes; then
6163 echo "$as_me:$LINENO: result: yes" >&5
6164 echo "${ECHO_T}yes" >&6
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6173 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6175 # Check whether --enable-sound or --disable-sound was given.
6176 if test "${enable_sound+set}" = set; then
6177 enableval
="$enable_sound"
6179 if test "$enableval" = yes; then
6180 ac_cv_use_sound
='wxUSE_SOUND=yes'
6182 ac_cv_use_sound
='wxUSE_SOUND=no'
6187 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x
; then
6189 eval "DEFAULT_$LINE"
6194 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6198 eval "$ac_cv_use_sound"
6199 if test "$no_cache" != 1; then
6200 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6203 if test "$wxUSE_SOUND" = yes; then
6204 echo "$as_me:$LINENO: result: yes" >&5
6205 echo "${ECHO_T}yes" >&6
6207 echo "$as_me:$LINENO: result: no" >&5
6208 echo "${ECHO_T}no" >&6
6213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6216 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6217 if test "${enable_mediactrl+set}" = set; then
6218 enableval
="$enable_mediactrl"
6220 if test "$enableval" = yes; then
6221 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6223 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6228 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x
; then
6230 eval "DEFAULT_$LINE"
6235 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6239 eval "$ac_cv_use_mediactrl"
6240 if test "$no_cache" != 1; then
6241 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6244 if test "$wxUSE_MEDIACTRL" = yes; then
6245 echo "$as_me:$LINENO: result: yes" >&5
6246 echo "${ECHO_T}yes" >&6
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6257 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6258 if test "${enable_gstreamer8+set}" = set; then
6259 enableval
="$enable_gstreamer8"
6261 if test "$enableval" = yes; then
6262 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6264 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6269 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x
; then
6271 eval "DEFAULT_$LINE"
6276 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6280 eval "$ac_cv_use_gstreamer8"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6285 if test "$wxUSE_GSTREAMER8" = yes; then
6286 echo "$as_me:$LINENO: result: yes" >&5
6287 echo "${ECHO_T}yes" >&6
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6298 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6299 if test "${enable_wxprintfv+set}" = set; then
6300 enableval
="$enable_wxprintfv"
6302 if test "$enableval" = yes; then
6303 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6305 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6310 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x
; then
6312 eval "DEFAULT_$LINE"
6317 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6321 eval "$ac_cv_use_wxprintfv"
6322 if test "$no_cache" != 1; then
6323 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6326 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6327 echo "$as_me:$LINENO: result: yes" >&5
6328 echo "${ECHO_T}yes" >&6
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6339 # Check whether --enable-zipstream or --disable-zipstream was given.
6340 if test "${enable_zipstream+set}" = set; then
6341 enableval
="$enable_zipstream"
6343 if test "$enableval" = yes; then
6344 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6346 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6351 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6352 if test "x$LINE" != x
; then
6353 eval "DEFAULT_$LINE"
6358 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6362 eval "$ac_cv_use_zipstream"
6363 if test "$no_cache" != 1; then
6364 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6367 if test "$wxUSE_ZIPSTREAM" = yes; then
6368 echo "$as_me:$LINENO: result: yes" >&5
6369 echo "${ECHO_T}yes" >&6
6371 echo "$as_me:$LINENO: result: no" >&5
6372 echo "${ECHO_T}no" >&6
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6381 # Check whether --enable-url or --disable-url was given.
6382 if test "${enable_url+set}" = set; then
6383 enableval
="$enable_url"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_url
='wxUSE_URL=yes'
6388 ac_cv_use_url
='wxUSE_URL=no'
6393 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x
; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6404 eval "$ac_cv_use_url"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_URL" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6422 # Check whether --enable-protocol or --disable-protocol was given.
6423 if test "${enable_protocol+set}" = set; then
6424 enableval
="$enable_protocol"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6429 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6434 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6445 eval "$ac_cv_use_protocol"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_PROTOCOL" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6463 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6464 if test "${enable_protocol_http+set}" = set; then
6465 enableval
="$enable_protocol_http"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6470 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6475 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6486 eval "$ac_cv_use_protocol_http"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6504 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6505 if test "${enable_protocol_ftp+set}" = set; then
6506 enableval
="$enable_protocol_ftp"
6508 if test "$enableval" = yes; then
6509 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6511 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6516 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x
; then
6518 eval "DEFAULT_$LINE"
6523 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6527 eval "$ac_cv_use_protocol_ftp"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6532 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6545 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6546 if test "${enable_protocol_file+set}" = set; then
6547 enableval
="$enable_protocol_file"
6549 if test "$enableval" = yes; then
6550 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6552 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6557 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x
; then
6559 eval "DEFAULT_$LINE"
6564 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6568 eval "$ac_cv_use_protocol_file"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6573 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6589 # Check whether --enable-threads or --disable-threads was given.
6590 if test "${enable_threads+set}" = set; then
6591 enableval
="$enable_threads"
6593 if test "$enableval" = yes; then
6594 ac_cv_use_threads
='wxUSE_THREADS=yes'
6596 ac_cv_use_threads
='wxUSE_THREADS=no'
6601 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x
; then
6603 eval "DEFAULT_$LINE"
6608 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6612 eval "$ac_cv_use_threads"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_THREADS" = 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
6626 if test "$wxUSE_GUI" = "yes"; then
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6634 # Check whether --enable-docview or --disable-docview was given.
6635 if test "${enable_docview+set}" = set; then
6636 enableval
="$enable_docview"
6638 if test "$enableval" = yes; then
6639 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6641 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6646 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x
; then
6648 eval "DEFAULT_$LINE"
6653 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6657 eval "$ac_cv_use_docview"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6675 # Check whether --enable-help or --disable-help was given.
6676 if test "${enable_help+set}" = set; then
6677 enableval
="$enable_help"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_help
='wxUSE_HELP=yes'
6682 ac_cv_use_help
='wxUSE_HELP=no'
6687 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6698 eval "$ac_cv_use_help"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_HELP" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6716 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6717 if test "${enable_mshtmlhelp+set}" = set; then
6718 enableval
="$enable_mshtmlhelp"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6723 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6728 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6739 eval "$ac_cv_use_mshtmlhelp"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_MS_HTML_HELP" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6757 # Check whether --enable-html or --disable-html was given.
6758 if test "${enable_html+set}" = set; then
6759 enableval
="$enable_html"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_html
='wxUSE_HTML=yes'
6764 ac_cv_use_html
='wxUSE_HTML=no'
6769 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6780 eval "$ac_cv_use_html"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_HTML" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6798 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6799 if test "${enable_htmlhelp+set}" = set; then
6800 enableval
="$enable_htmlhelp"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6805 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6810 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6821 eval "$ac_cv_use_htmlhelp"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6826 if test "$wxUSE_WXHTML_HELP" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6839 # Check whether --enable-xrc or --disable-xrc was given.
6840 if test "${enable_xrc+set}" = set; then
6841 enableval
="$enable_xrc"
6843 if test "$enableval" = yes; then
6844 ac_cv_use_xrc
='wxUSE_XRC=yes'
6846 ac_cv_use_xrc
='wxUSE_XRC=no'
6851 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x
; then
6853 eval "DEFAULT_$LINE"
6858 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6862 eval "$ac_cv_use_xrc"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_XRC" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6880 # Check whether --enable-constraints or --disable-constraints was given.
6881 if test "${enable_constraints+set}" = set; then
6882 enableval
="$enable_constraints"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6887 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6892 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6903 eval "$ac_cv_use_constraints"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_CONSTRAINTS" = 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
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6921 # Check whether --enable-printarch or --disable-printarch was given.
6922 if test "${enable_printarch+set}" = set; then
6923 enableval
="$enable_printarch"
6925 if test "$enableval" = yes; then
6926 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6928 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6933 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x
; then
6935 eval "DEFAULT_$LINE"
6940 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6944 eval "$ac_cv_use_printarch"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6949 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6960 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6962 # Check whether --enable-mdi or --disable-mdi was given.
6963 if test "${enable_mdi+set}" = set; then
6964 enableval
="$enable_mdi"
6966 if test "$enableval" = yes; then
6967 ac_cv_use_mdi
='wxUSE_MDI=yes'
6969 ac_cv_use_mdi
='wxUSE_MDI=no'
6974 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6975 if test "x$LINE" != x
; then
6976 eval "DEFAULT_$LINE"
6981 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6985 eval "$ac_cv_use_mdi"
6986 if test "$no_cache" != 1; then
6987 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6990 if test "$wxUSE_MDI" = yes; then
6991 echo "$as_me:$LINENO: result: yes" >&5
6992 echo "${ECHO_T}yes" >&6
6994 echo "$as_me:$LINENO: result: no" >&5
6995 echo "${ECHO_T}no" >&6
7000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7003 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7004 if test "${enable_mdidoc+set}" = set; then
7005 enableval
="$enable_mdidoc"
7007 if test "$enableval" = yes; then
7008 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7010 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7015 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7016 if test "x$LINE" != x
; then
7017 eval "DEFAULT_$LINE"
7022 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7026 eval "$ac_cv_use_mdidoc"
7027 if test "$no_cache" != 1; then
7028 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7031 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7032 echo "$as_me:$LINENO: result: yes" >&5
7033 echo "${ECHO_T}yes" >&6
7035 echo "$as_me:$LINENO: result: no" >&5
7036 echo "${ECHO_T}no" >&6
7041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7044 # Check whether --enable-loggui or --disable-loggui was given.
7045 if test "${enable_loggui+set}" = set; then
7046 enableval
="$enable_loggui"
7048 if test "$enableval" = yes; then
7049 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7051 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7056 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x
; then
7058 eval "DEFAULT_$LINE"
7063 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7067 eval "$ac_cv_use_loggui"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7072 if test "$wxUSE_LOGGUI" = yes; then
7073 echo "$as_me:$LINENO: result: yes" >&5
7074 echo "${ECHO_T}yes" >&6
7076 echo "$as_me:$LINENO: result: no" >&5
7077 echo "${ECHO_T}no" >&6
7082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7085 # Check whether --enable-logwin or --disable-logwin was given.
7086 if test "${enable_logwin+set}" = set; then
7087 enableval
="$enable_logwin"
7089 if test "$enableval" = yes; then
7090 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7092 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7097 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7098 if test "x$LINE" != x
; then
7099 eval "DEFAULT_$LINE"
7104 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7108 eval "$ac_cv_use_logwin"
7109 if test "$no_cache" != 1; then
7110 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7113 if test "$wxUSE_LOGWINDOW" = yes; then
7114 echo "$as_me:$LINENO: result: yes" >&5
7115 echo "${ECHO_T}yes" >&6
7117 echo "$as_me:$LINENO: result: no" >&5
7118 echo "${ECHO_T}no" >&6
7123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7126 # Check whether --enable-logdialog or --disable-logdialog was given.
7127 if test "${enable_logdialog+set}" = set; then
7128 enableval
="$enable_logdialog"
7130 if test "$enableval" = yes; then
7131 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7133 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7138 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x
; then
7140 eval "DEFAULT_$LINE"
7145 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7149 eval "$ac_cv_use_logdialog"
7150 if test "$no_cache" != 1; then
7151 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7154 if test "$wxUSE_LOGDIALOG" = yes; then
7155 echo "$as_me:$LINENO: result: yes" >&5
7156 echo "${ECHO_T}yes" >&6
7158 echo "$as_me:$LINENO: result: no" >&5
7159 echo "${ECHO_T}no" >&6
7164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7167 # Check whether --enable-webkit or --disable-webkit was given.
7168 if test "${enable_webkit+set}" = set; then
7169 enableval
="$enable_webkit"
7171 if test "$enableval" = yes; then
7172 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7174 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7179 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7180 if test "x$LINE" != x
; then
7181 eval "DEFAULT_$LINE"
7186 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7190 eval "$ac_cv_use_webkit"
7191 if test "$no_cache" != 1; then
7192 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7195 if test "$wxUSE_WEBKIT" = yes; then
7196 echo "$as_me:$LINENO: result: yes" >&5
7197 echo "${ECHO_T}yes" >&6
7199 echo "$as_me:$LINENO: result: no" >&5
7200 echo "${ECHO_T}no" >&6
7205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7208 # Check whether --enable-html or --disable-html was given.
7209 if test "${enable_html+set}" = set; then
7210 enableval
="$enable_html"
7212 if test "$enableval" = yes; then
7213 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7215 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7220 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7221 if test "x$LINE" != x
; then
7222 eval "DEFAULT_$LINE"
7227 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7231 eval "$ac_cv_use_html"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7236 if test "$wxUSE_RICHTEXT" = yes; then
7237 echo "$as_me:$LINENO: result: yes" >&5
7238 echo "${ECHO_T}yes" >&6
7240 echo "$as_me:$LINENO: result: no" >&5
7241 echo "${ECHO_T}no" >&6
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7250 # Check whether --enable-postscript or --disable-postscript was given.
7251 if test "${enable_postscript+set}" = set; then
7252 enableval
="$enable_postscript"
7254 if test "$enableval" = yes; then
7255 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7257 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7262 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x
; then
7264 eval "DEFAULT_$LINE"
7269 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7273 eval "$ac_cv_use_postscript"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7278 if test "$wxUSE_POSTSCRIPT" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7294 # Check whether --enable-prologio or --disable-prologio was given.
7295 if test "${enable_prologio+set}" = set; then
7296 enableval
="$enable_prologio"
7298 if test "$enableval" = yes; then
7299 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7301 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7306 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x
; then
7308 eval "DEFAULT_$LINE"
7313 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7317 eval "$ac_cv_use_prologio"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_PROLOGIO" = 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}-resources" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7335 # Check whether --enable-resources or --disable-resources was given.
7336 if test "${enable_resources+set}" = set; then
7337 enableval
="$enable_resources"
7339 if test "$enableval" = yes; then
7340 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7342 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7347 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x
; then
7349 eval "DEFAULT_$LINE"
7354 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7358 eval "$ac_cv_use_resources"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_RESOURCES" = 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
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7378 # Check whether --enable-clipboard or --disable-clipboard was given.
7379 if test "${enable_clipboard+set}" = set; then
7380 enableval
="$enable_clipboard"
7382 if test "$enableval" = yes; then
7383 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7385 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7390 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x
; then
7392 eval "DEFAULT_$LINE"
7397 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7401 eval "$ac_cv_use_clipboard"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7406 if test "$wxUSE_CLIPBOARD" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7419 # Check whether --enable-dnd or --disable-dnd was given.
7420 if test "${enable_dnd+set}" = set; then
7421 enableval
="$enable_dnd"
7423 if test "$enableval" = yes; then
7424 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7426 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7431 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x
; then
7433 eval "DEFAULT_$LINE"
7438 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7442 eval "$ac_cv_use_dnd"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7460 # Check whether --enable-metafile or --disable-metafile was given.
7461 if test "${enable_metafile+set}" = set; then
7462 enableval
="$enable_metafile"
7464 if test "$enableval" = yes; then
7465 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7467 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7472 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x
; then
7474 eval "DEFAULT_$LINE"
7479 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7483 eval "$ac_cv_use_metafile"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7488 if test "$wxUSE_METAFILE" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7504 # Check whether --enable-controls or --disable-controls was given.
7505 if test "${enable_controls+set}" = set; then
7506 enableval
="$enable_controls"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7511 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7516 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7527 eval "$ac_cv_use_controls"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_CONTROLS" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7541 if test "$wxUSE_CONTROLS" = "yes"; then
7542 DEFAULT_wxUSE_ACCEL
=yes
7543 DEFAULT_wxUSE_BMPBUTTON
=yes
7544 DEFAULT_wxUSE_BUTTON
=yes
7545 DEFAULT_wxUSE_CALCTRL
=yes
7546 DEFAULT_wxUSE_CARET
=yes
7547 DEFAULT_wxUSE_COMBOBOX
=yes
7548 DEFAULT_wxUSE_CHECKBOX
=yes
7549 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7550 DEFAULT_wxUSE_CHOICE
=yes
7551 DEFAULT_wxUSE_CHOICEBOOK
=yes
7552 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7553 DEFAULT_wxUSE_GAUGE
=yes
7554 DEFAULT_wxUSE_GRID
=yes
7555 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7556 DEFAULT_wxUSE_IMAGLIST
=yes
7557 DEFAULT_wxUSE_LISTBOOK
=yes
7558 DEFAULT_wxUSE_LISTBOX
=yes
7559 DEFAULT_wxUSE_LISTCTRL
=yes
7560 DEFAULT_wxUSE_NOTEBOOK
=yes
7561 DEFAULT_wxUSE_RADIOBOX
=yes
7562 DEFAULT_wxUSE_RADIOBTN
=yes
7563 DEFAULT_wxUSE_SASH
=yes
7564 DEFAULT_wxUSE_SCROLLBAR
=yes
7565 DEFAULT_wxUSE_SLIDER
=yes
7566 DEFAULT_wxUSE_SPINBTN
=yes
7567 DEFAULT_wxUSE_SPINCTRL
=yes
7568 DEFAULT_wxUSE_SPLITTER
=yes
7569 DEFAULT_wxUSE_STATBMP
=yes
7570 DEFAULT_wxUSE_STATBOX
=yes
7571 DEFAULT_wxUSE_STATLINE
=yes
7572 DEFAULT_wxUSE_STATUSBAR
=yes
7573 DEFAULT_wxUSE_TAB_DIALOG
=yes
7574 DEFAULT_wxUSE_TOGGLEBTN
=yes
7575 DEFAULT_wxUSE_TOOLBAR
=yes
7576 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7577 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7578 DEFAULT_wxUSE_TOOLTIPS
=yes
7579 DEFAULT_wxUSE_TREEBOOK
=yes
7580 DEFAULT_wxUSE_TOOLBOOK
=yes
7581 DEFAULT_wxUSE_TREECTRL
=yes
7582 DEFAULT_wxUSE_POPUPWIN
=yes
7583 DEFAULT_wxUSE_TIPWINDOW
=yes
7584 elif test "$wxUSE_CONTROLS" = "no"; then
7585 DEFAULT_wxUSE_ACCEL
=no
7586 DEFAULT_wxUSE_BMPBUTTON
=no
7587 DEFAULT_wxUSE_BUTTON
=no
7588 DEFAULT_wxUSE_CALCTRL
=no
7589 DEFAULT_wxUSE_CARET
=no
7590 DEFAULT_wxUSE_COMBOBOX
=no
7591 DEFAULT_wxUSE_CHECKBOX
=no
7592 DEFAULT_wxUSE_CHECKLISTBOX
=no
7593 DEFAULT_wxUSE_CHOICE
=no
7594 DEFAULT_wxUSE_CHOICEBOOK
=no
7595 DEFAULT_wxUSE_DATEPICKCTRL
=no
7596 DEFAULT_wxUSE_GAUGE
=no
7597 DEFAULT_wxUSE_GRID
=no
7598 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7599 DEFAULT_wxUSE_IMAGLIST
=no
7600 DEFAULT_wxUSE_LISTBOOK
=no
7601 DEFAULT_wxUSE_LISTBOX
=no
7602 DEFAULT_wxUSE_LISTCTRL
=no
7603 DEFAULT_wxUSE_NOTEBOOK
=no
7604 DEFAULT_wxUSE_RADIOBOX
=no
7605 DEFAULT_wxUSE_RADIOBTN
=no
7606 DEFAULT_wxUSE_SASH
=no
7607 DEFAULT_wxUSE_SCROLLBAR
=no
7608 DEFAULT_wxUSE_SLIDER
=no
7609 DEFAULT_wxUSE_SPINBTN
=no
7610 DEFAULT_wxUSE_SPINCTRL
=no
7611 DEFAULT_wxUSE_SPLITTER
=no
7612 DEFAULT_wxUSE_STATBMP
=no
7613 DEFAULT_wxUSE_STATBOX
=no
7614 DEFAULT_wxUSE_STATLINE
=no
7615 DEFAULT_wxUSE_STATUSBAR
=no
7616 DEFAULT_wxUSE_TAB_DIALOG
=no
7617 DEFAULT_wxUSE_TOGGLEBTN
=no
7618 DEFAULT_wxUSE_TOOLBAR
=no
7619 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7620 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7621 DEFAULT_wxUSE_TOOLTIPS
=no
7622 DEFAULT_wxUSE_TREEBOOK
=no
7623 DEFAULT_wxUSE_TOOLBOOK
=no
7624 DEFAULT_wxUSE_TREECTRL
=no
7625 DEFAULT_wxUSE_POPUPWIN
=no
7626 DEFAULT_wxUSE_TIPWINDOW
=no
7631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7632 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7634 # Check whether --enable-accel or --disable-accel was given.
7635 if test "${enable_accel+set}" = set; then
7636 enableval
="$enable_accel"
7638 if test "$enableval" = yes; then
7639 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7641 ac_cv_use_accel
='wxUSE_ACCEL=no'
7646 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x
; then
7648 eval "DEFAULT_$LINE"
7653 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7657 eval "$ac_cv_use_accel"
7658 if test "$no_cache" != 1; then
7659 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7662 if test "$wxUSE_ACCEL" = yes; then
7663 echo "$as_me:$LINENO: result: yes" >&5
7664 echo "${ECHO_T}yes" >&6
7666 echo "$as_me:$LINENO: result: no" >&5
7667 echo "${ECHO_T}no" >&6
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7675 # Check whether --enable-button or --disable-button was given.
7676 if test "${enable_button+set}" = set; then
7677 enableval
="$enable_button"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_button
='wxUSE_BUTTON=yes'
7682 ac_cv_use_button
='wxUSE_BUTTON=no'
7687 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x
; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7698 eval "$ac_cv_use_button"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_BUTTON" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7716 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7717 if test "${enable_bmpbutton+set}" = set; then
7718 enableval
="$enable_bmpbutton"
7720 if test "$enableval" = yes; then
7721 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7723 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7728 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x
; then
7730 eval "DEFAULT_$LINE"
7735 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7739 eval "$ac_cv_use_bmpbutton"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_BMPBUTTON" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7757 # Check whether --enable-calendar or --disable-calendar was given.
7758 if test "${enable_calendar+set}" = set; then
7759 enableval
="$enable_calendar"
7761 if test "$enableval" = yes; then
7762 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7764 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7769 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x
; then
7771 eval "DEFAULT_$LINE"
7776 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7780 eval "$ac_cv_use_calendar"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7785 if test "$wxUSE_CALCTRL" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7798 # Check whether --enable-caret or --disable-caret was given.
7799 if test "${enable_caret+set}" = set; then
7800 enableval
="$enable_caret"
7802 if test "$enableval" = yes; then
7803 ac_cv_use_caret
='wxUSE_CARET=yes'
7805 ac_cv_use_caret
='wxUSE_CARET=no'
7810 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x
; then
7812 eval "DEFAULT_$LINE"
7817 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7821 eval "$ac_cv_use_caret"
7822 if test "$no_cache" != 1; then
7823 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7826 if test "$wxUSE_CARET" = yes; then
7827 echo "$as_me:$LINENO: result: yes" >&5
7828 echo "${ECHO_T}yes" >&6
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7839 # Check whether --enable-checkbox or --disable-checkbox was given.
7840 if test "${enable_checkbox+set}" = set; then
7841 enableval
="$enable_checkbox"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7846 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7851 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x
; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7862 eval "$ac_cv_use_checkbox"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7867 if test "$wxUSE_CHECKBOX" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7880 # Check whether --enable-checklst or --disable-checklst was given.
7881 if test "${enable_checklst+set}" = set; then
7882 enableval
="$enable_checklst"
7884 if test "$enableval" = yes; then
7885 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7887 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7892 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x
; then
7894 eval "DEFAULT_$LINE"
7899 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7903 eval "$ac_cv_use_checklst"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7908 if test "$wxUSE_CHECKLST" = yes; then
7909 echo "$as_me:$LINENO: result: yes" >&5
7910 echo "${ECHO_T}yes" >&6
7912 echo "$as_me:$LINENO: result: no" >&5
7913 echo "${ECHO_T}no" >&6
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7921 # Check whether --enable-choice or --disable-choice was given.
7922 if test "${enable_choice+set}" = set; then
7923 enableval
="$enable_choice"
7925 if test "$enableval" = yes; then
7926 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7928 ac_cv_use_choice
='wxUSE_CHOICE=no'
7933 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x
; then
7935 eval "DEFAULT_$LINE"
7940 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7944 eval "$ac_cv_use_choice"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_CHOICE" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7962 # Check whether --enable-choicebook or --disable-choicebook was given.
7963 if test "${enable_choicebook+set}" = set; then
7964 enableval
="$enable_choicebook"
7966 if test "$enableval" = yes; then
7967 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7969 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7974 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x
; then
7976 eval "DEFAULT_$LINE"
7981 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7985 eval "$ac_cv_use_choicebook"
7986 if test "$no_cache" != 1; then
7987 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7990 if test "$wxUSE_CHOICEBOOK" = yes; then
7991 echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
8000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8003 # Check whether --enable-combobox or --disable-combobox was given.
8004 if test "${enable_combobox+set}" = set; then
8005 enableval
="$enable_combobox"
8007 if test "$enableval" = yes; then
8008 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8010 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8015 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8016 if test "x$LINE" != x
; then
8017 eval "DEFAULT_$LINE"
8022 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8026 eval "$ac_cv_use_combobox"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8031 if test "$wxUSE_COMBOBOX" = yes; then
8032 echo "$as_me:$LINENO: result: yes" >&5
8033 echo "${ECHO_T}yes" >&6
8035 echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6
8041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8044 # Check whether --enable-datepick or --disable-datepick was given.
8045 if test "${enable_datepick+set}" = set; then
8046 enableval
="$enable_datepick"
8048 if test "$enableval" = yes; then
8049 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8051 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8056 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x
; then
8058 eval "DEFAULT_$LINE"
8063 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8067 eval "$ac_cv_use_datepick"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8072 if test "$wxUSE_DATEPICKCTRL" = yes; then
8073 echo "$as_me:$LINENO: result: yes" >&5
8074 echo "${ECHO_T}yes" >&6
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8085 # Check whether --enable-display or --disable-display was given.
8086 if test "${enable_display+set}" = set; then
8087 enableval
="$enable_display"
8089 if test "$enableval" = yes; then
8090 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8092 ac_cv_use_display
='wxUSE_DISPLAY=no'
8097 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x
; then
8099 eval "DEFAULT_$LINE"
8104 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8108 eval "$ac_cv_use_display"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8113 if test "$wxUSE_DISPLAY" = yes; then
8114 echo "$as_me:$LINENO: result: yes" >&5
8115 echo "${ECHO_T}yes" >&6
8117 echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6
8123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8126 # Check whether --enable-gauge or --disable-gauge was given.
8127 if test "${enable_gauge+set}" = set; then
8128 enableval
="$enable_gauge"
8130 if test "$enableval" = yes; then
8131 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8133 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8138 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x
; then
8140 eval "DEFAULT_$LINE"
8145 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8149 eval "$ac_cv_use_gauge"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8154 if test "$wxUSE_GAUGE" = yes; then
8155 echo "$as_me:$LINENO: result: yes" >&5
8156 echo "${ECHO_T}yes" >&6
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8167 # Check whether --enable-grid or --disable-grid was given.
8168 if test "${enable_grid+set}" = set; then
8169 enableval
="$enable_grid"
8171 if test "$enableval" = yes; then
8172 ac_cv_use_grid
='wxUSE_GRID=yes'
8174 ac_cv_use_grid
='wxUSE_GRID=no'
8179 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x
; then
8181 eval "DEFAULT_$LINE"
8186 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8190 eval "$ac_cv_use_grid"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8195 if test "$wxUSE_GRID" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8208 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8209 if test "${enable_dataviewctrl+set}" = set; then
8210 enableval
="$enable_dataviewctrl"
8212 if test "$enableval" = yes; then
8213 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8215 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8220 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x
; then
8222 eval "DEFAULT_$LINE"
8227 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8231 eval "$ac_cv_use_dataviewctrl"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8236 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8249 # Check whether --enable-imaglist or --disable-imaglist was given.
8250 if test "${enable_imaglist+set}" = set; then
8251 enableval
="$enable_imaglist"
8253 if test "$enableval" = yes; then
8254 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8256 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8261 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x
; then
8263 eval "DEFAULT_$LINE"
8268 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8272 eval "$ac_cv_use_imaglist"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8277 if test "$wxUSE_IMAGLIST" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8290 # Check whether --enable-listbook or --disable-listbook was given.
8291 if test "${enable_listbook+set}" = set; then
8292 enableval
="$enable_listbook"
8294 if test "$enableval" = yes; then
8295 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8297 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8302 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x
; then
8304 eval "DEFAULT_$LINE"
8309 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8313 eval "$ac_cv_use_listbook"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8318 if test "$wxUSE_LISTBOOK" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8331 # Check whether --enable-listbox or --disable-listbox was given.
8332 if test "${enable_listbox+set}" = set; then
8333 enableval
="$enable_listbox"
8335 if test "$enableval" = yes; then
8336 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8338 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8343 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x
; then
8345 eval "DEFAULT_$LINE"
8350 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8354 eval "$ac_cv_use_listbox"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8359 if test "$wxUSE_LISTBOX" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8372 # Check whether --enable-listctrl or --disable-listctrl was given.
8373 if test "${enable_listctrl+set}" = set; then
8374 enableval
="$enable_listctrl"
8376 if test "$enableval" = yes; then
8377 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8379 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8384 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x
; then
8386 eval "DEFAULT_$LINE"
8391 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8395 eval "$ac_cv_use_listctrl"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8400 if test "$wxUSE_LISTCTRL" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8413 # Check whether --enable-notebook or --disable-notebook was given.
8414 if test "${enable_notebook+set}" = set; then
8415 enableval
="$enable_notebook"
8417 if test "$enableval" = yes; then
8418 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8420 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8425 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x
; then
8427 eval "DEFAULT_$LINE"
8432 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8436 eval "$ac_cv_use_notebook"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8441 if test "$wxUSE_NOTEBOOK" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8454 # Check whether --enable-radiobox or --disable-radiobox was given.
8455 if test "${enable_radiobox+set}" = set; then
8456 enableval
="$enable_radiobox"
8458 if test "$enableval" = yes; then
8459 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8461 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8466 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x
; then
8468 eval "DEFAULT_$LINE"
8473 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8477 eval "$ac_cv_use_radiobox"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8482 if test "$wxUSE_RADIOBOX" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8495 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8496 if test "${enable_radiobtn+set}" = set; then
8497 enableval
="$enable_radiobtn"
8499 if test "$enableval" = yes; then
8500 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8502 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8507 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x
; then
8509 eval "DEFAULT_$LINE"
8514 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8518 eval "$ac_cv_use_radiobtn"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8523 if test "$wxUSE_RADIOBTN" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8536 # Check whether --enable-sash or --disable-sash was given.
8537 if test "${enable_sash+set}" = set; then
8538 enableval
="$enable_sash"
8540 if test "$enableval" = yes; then
8541 ac_cv_use_sash
='wxUSE_SASH=yes'
8543 ac_cv_use_sash
='wxUSE_SASH=no'
8548 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x
; then
8550 eval "DEFAULT_$LINE"
8555 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8559 eval "$ac_cv_use_sash"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8564 if test "$wxUSE_SASH" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8577 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8578 if test "${enable_scrollbar+set}" = set; then
8579 enableval
="$enable_scrollbar"
8581 if test "$enableval" = yes; then
8582 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8584 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8589 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x
; then
8591 eval "DEFAULT_$LINE"
8596 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8600 eval "$ac_cv_use_scrollbar"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8605 if test "$wxUSE_SCROLLBAR" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8618 # Check whether --enable-slider or --disable-slider was given.
8619 if test "${enable_slider+set}" = set; then
8620 enableval
="$enable_slider"
8622 if test "$enableval" = yes; then
8623 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8625 ac_cv_use_slider
='wxUSE_SLIDER=no'
8630 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x
; then
8632 eval "DEFAULT_$LINE"
8637 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8641 eval "$ac_cv_use_slider"
8642 if test "$no_cache" != 1; then
8643 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8646 if test "$wxUSE_SLIDER" = yes; then
8647 echo "$as_me:$LINENO: result: yes" >&5
8648 echo "${ECHO_T}yes" >&6
8650 echo "$as_me:$LINENO: result: no" >&5
8651 echo "${ECHO_T}no" >&6
8656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8659 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8660 if test "${enable_spinbtn+set}" = set; then
8661 enableval
="$enable_spinbtn"
8663 if test "$enableval" = yes; then
8664 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8666 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8671 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8672 if test "x$LINE" != x
; then
8673 eval "DEFAULT_$LINE"
8678 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8682 eval "$ac_cv_use_spinbtn"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8687 if test "$wxUSE_SPINBTN" = yes; then
8688 echo "$as_me:$LINENO: result: yes" >&5
8689 echo "${ECHO_T}yes" >&6
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8700 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8701 if test "${enable_spinctrl+set}" = set; then
8702 enableval
="$enable_spinctrl"
8704 if test "$enableval" = yes; then
8705 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8707 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8712 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8713 if test "x$LINE" != x
; then
8714 eval "DEFAULT_$LINE"
8719 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8723 eval "$ac_cv_use_spinctrl"
8724 if test "$no_cache" != 1; then
8725 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8728 if test "$wxUSE_SPINCTRL" = yes; then
8729 echo "$as_me:$LINENO: result: yes" >&5
8730 echo "${ECHO_T}yes" >&6
8732 echo "$as_me:$LINENO: result: no" >&5
8733 echo "${ECHO_T}no" >&6
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8741 # Check whether --enable-splitter or --disable-splitter was given.
8742 if test "${enable_splitter+set}" = set; then
8743 enableval
="$enable_splitter"
8745 if test "$enableval" = yes; then
8746 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8748 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8753 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x
; then
8755 eval "DEFAULT_$LINE"
8760 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8764 eval "$ac_cv_use_splitter"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8769 if test "$wxUSE_SPLITTER" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8782 # Check whether --enable-statbmp or --disable-statbmp was given.
8783 if test "${enable_statbmp+set}" = set; then
8784 enableval
="$enable_statbmp"
8786 if test "$enableval" = yes; then
8787 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8789 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8794 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x
; then
8796 eval "DEFAULT_$LINE"
8801 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8805 eval "$ac_cv_use_statbmp"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8810 if test "$wxUSE_STATBMP" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8823 # Check whether --enable-statbox or --disable-statbox was given.
8824 if test "${enable_statbox+set}" = set; then
8825 enableval
="$enable_statbox"
8827 if test "$enableval" = yes; then
8828 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8830 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8835 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x
; then
8837 eval "DEFAULT_$LINE"
8842 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8846 eval "$ac_cv_use_statbox"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8851 if test "$wxUSE_STATBOX" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8864 # Check whether --enable-statline or --disable-statline was given.
8865 if test "${enable_statline+set}" = set; then
8866 enableval
="$enable_statline"
8868 if test "$enableval" = yes; then
8869 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8871 ac_cv_use_statline
='wxUSE_STATLINE=no'
8876 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x
; then
8878 eval "DEFAULT_$LINE"
8883 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8887 eval "$ac_cv_use_statline"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8892 if test "$wxUSE_STATLINE" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8905 # Check whether --enable-stattext or --disable-stattext was given.
8906 if test "${enable_stattext+set}" = set; then
8907 enableval
="$enable_stattext"
8909 if test "$enableval" = yes; then
8910 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8912 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8917 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x
; then
8919 eval "DEFAULT_$LINE"
8924 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8928 eval "$ac_cv_use_stattext"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8933 if test "$wxUSE_STATTEXT" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8946 # Check whether --enable-statusbar or --disable-statusbar was given.
8947 if test "${enable_statusbar+set}" = set; then
8948 enableval
="$enable_statusbar"
8950 if test "$enableval" = yes; then
8951 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8953 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8958 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x
; then
8960 eval "DEFAULT_$LINE"
8965 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8969 eval "$ac_cv_use_statusbar"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8974 if test "$wxUSE_STATUSBAR" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8987 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8988 if test "${enable_tabdialog+set}" = set; then
8989 enableval
="$enable_tabdialog"
8991 if test "$enableval" = yes; then
8992 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
8994 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
8999 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x
; then
9001 eval "DEFAULT_$LINE"
9006 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9010 eval "$ac_cv_use_tabdialog"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9015 if test "$wxUSE_TAB_DIALOG" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9028 # Check whether --enable-textctrl or --disable-textctrl was given.
9029 if test "${enable_textctrl+set}" = set; then
9030 enableval
="$enable_textctrl"
9032 if test "$enableval" = yes; then
9033 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9035 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9040 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x
; then
9042 eval "DEFAULT_$LINE"
9047 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9051 eval "$ac_cv_use_textctrl"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9056 if test "$wxUSE_TEXTCTRL" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9069 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9070 if test "${enable_togglebtn+set}" = set; then
9071 enableval
="$enable_togglebtn"
9073 if test "$enableval" = yes; then
9074 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9076 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9081 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x
; then
9083 eval "DEFAULT_$LINE"
9088 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9092 eval "$ac_cv_use_togglebtn"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9097 if test "$wxUSE_TOGGLEBTN" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9110 # Check whether --enable-toolbar or --disable-toolbar was given.
9111 if test "${enable_toolbar+set}" = set; then
9112 enableval
="$enable_toolbar"
9114 if test "$enableval" = yes; then
9115 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9117 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9122 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x
; then
9124 eval "DEFAULT_$LINE"
9129 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9133 eval "$ac_cv_use_toolbar"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9138 if test "$wxUSE_TOOLBAR" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9151 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9152 if test "${enable_tbarnative+set}" = set; then
9153 enableval
="$enable_tbarnative"
9155 if test "$enableval" = yes; then
9156 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9158 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9163 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x
; then
9165 eval "DEFAULT_$LINE"
9170 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9174 eval "$ac_cv_use_tbarnative"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9179 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9192 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9193 if test "${enable_tbarsmpl+set}" = set; then
9194 enableval
="$enable_tbarsmpl"
9196 if test "$enableval" = yes; then
9197 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9199 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9204 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x
; then
9206 eval "DEFAULT_$LINE"
9211 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9215 eval "$ac_cv_use_tbarsmpl"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9220 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9233 # Check whether --enable-treebook or --disable-treebook was given.
9234 if test "${enable_treebook+set}" = set; then
9235 enableval
="$enable_treebook"
9237 if test "$enableval" = yes; then
9238 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9240 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9245 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x
; then
9247 eval "DEFAULT_$LINE"
9252 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9256 eval "$ac_cv_use_treebook"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9261 if test "$wxUSE_TREEBOOK" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9274 # Check whether --enable-toolbook or --disable-toolbook was given.
9275 if test "${enable_toolbook+set}" = set; then
9276 enableval
="$enable_toolbook"
9278 if test "$enableval" = yes; then
9279 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9281 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9286 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x
; then
9288 eval "DEFAULT_$LINE"
9293 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9297 eval "$ac_cv_use_toolbook"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9302 if test "$wxUSE_TOOLBOOK" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9315 # Check whether --enable-treectrl or --disable-treectrl was given.
9316 if test "${enable_treectrl+set}" = set; then
9317 enableval
="$enable_treectrl"
9319 if test "$enableval" = yes; then
9320 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9322 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9327 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x
; then
9329 eval "DEFAULT_$LINE"
9334 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9338 eval "$ac_cv_use_treectrl"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9343 if test "$wxUSE_TREECTRL" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9356 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9357 if test "${enable_tipwindow+set}" = set; then
9358 enableval
="$enable_tipwindow"
9360 if test "$enableval" = yes; then
9361 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9363 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9368 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x
; then
9370 eval "DEFAULT_$LINE"
9375 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9379 eval "$ac_cv_use_tipwindow"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9384 if test "$wxUSE_TIPWINDOW" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386 echo "${ECHO_T}yes" >&6
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9395 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9397 # Check whether --enable-popupwin or --disable-popupwin was given.
9398 if test "${enable_popupwin+set}" = set; then
9399 enableval
="$enable_popupwin"
9401 if test "$enableval" = yes; then
9402 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9404 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9409 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9410 if test "x$LINE" != x
; then
9411 eval "DEFAULT_$LINE"
9416 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9420 eval "$ac_cv_use_popupwin"
9421 if test "$no_cache" != 1; then
9422 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9425 if test "$wxUSE_POPUPWIN" = yes; then
9426 echo "$as_me:$LINENO: result: yes" >&5
9427 echo "${ECHO_T}yes" >&6
9429 echo "$as_me:$LINENO: result: no" >&5
9430 echo "${ECHO_T}no" >&6
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9440 # Check whether --enable-commondlg or --disable-commondlg was given.
9441 if test "${enable_commondlg+set}" = set; then
9442 enableval
="$enable_commondlg"
9444 if test "$enableval" = yes; then
9445 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9447 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9452 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x
; then
9454 eval "DEFAULT_$LINE"
9459 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9463 eval "$ac_cv_use_commondlg"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9468 if test "$wxUSE_COMMONDLGS" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9481 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9482 if test "${enable_choicedlg+set}" = set; then
9483 enableval
="$enable_choicedlg"
9485 if test "$enableval" = yes; then
9486 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9488 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9493 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x
; then
9495 eval "DEFAULT_$LINE"
9500 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9504 eval "$ac_cv_use_choicedlg"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9509 if test "$wxUSE_CHOICEDLG" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9522 # Check whether --enable-coldlg or --disable-coldlg was given.
9523 if test "${enable_coldlg+set}" = set; then
9524 enableval
="$enable_coldlg"
9526 if test "$enableval" = yes; then
9527 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9529 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9534 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x
; then
9536 eval "DEFAULT_$LINE"
9541 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9545 eval "$ac_cv_use_coldlg"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9550 if test "$wxUSE_COLOURDLG" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9563 # Check whether --enable-filedlg or --disable-filedlg was given.
9564 if test "${enable_filedlg+set}" = set; then
9565 enableval
="$enable_filedlg"
9567 if test "$enableval" = yes; then
9568 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9570 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9575 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x
; then
9577 eval "DEFAULT_$LINE"
9582 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9586 eval "$ac_cv_use_filedlg"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9591 if test "$wxUSE_FILEDLG" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9604 # Check whether --enable-finddlg or --disable-finddlg was given.
9605 if test "${enable_finddlg+set}" = set; then
9606 enableval
="$enable_finddlg"
9608 if test "$enableval" = yes; then
9609 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9611 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9616 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x
; then
9618 eval "DEFAULT_$LINE"
9623 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9627 eval "$ac_cv_use_finddlg"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9632 if test "$wxUSE_FINDREPLDLG" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6
9636 echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9645 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9646 if test "${enable_fontdlg+set}" = set; then
9647 enableval
="$enable_fontdlg"
9649 if test "$enableval" = yes; then
9650 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9652 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9657 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x
; then
9659 eval "DEFAULT_$LINE"
9664 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9668 eval "$ac_cv_use_fontdlg"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9673 if test "$wxUSE_FONTDLG" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9677 echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9686 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9687 if test "${enable_dirdlg+set}" = set; then
9688 enableval
="$enable_dirdlg"
9690 if test "$enableval" = yes; then
9691 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9693 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9698 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x
; then
9700 eval "DEFAULT_$LINE"
9705 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9709 eval "$ac_cv_use_dirdlg"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9714 if test "$wxUSE_DIRDLG" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9727 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9728 if test "${enable_msgdlg+set}" = set; then
9729 enableval
="$enable_msgdlg"
9731 if test "$enableval" = yes; then
9732 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9734 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9739 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x
; then
9741 eval "DEFAULT_$LINE"
9746 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9750 eval "$ac_cv_use_msgdlg"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9755 if test "$wxUSE_MSGDLG" = yes; then
9756 echo "$as_me:$LINENO: result: yes" >&5
9757 echo "${ECHO_T}yes" >&6
9759 echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6
9765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9766 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9768 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9769 if test "${enable_numberdlg+set}" = set; then
9770 enableval
="$enable_numberdlg"
9772 if test "$enableval" = yes; then
9773 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9775 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9780 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9781 if test "x$LINE" != x
; then
9782 eval "DEFAULT_$LINE"
9787 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9791 eval "$ac_cv_use_numberdlg"
9792 if test "$no_cache" != 1; then
9793 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9796 if test "$wxUSE_NUMBERDLG" = yes; then
9797 echo "$as_me:$LINENO: result: yes" >&5
9798 echo "${ECHO_T}yes" >&6
9800 echo "$as_me:$LINENO: result: no" >&5
9801 echo "${ECHO_T}no" >&6
9806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9809 # Check whether --enable-splash or --disable-splash was given.
9810 if test "${enable_splash+set}" = set; then
9811 enableval
="$enable_splash"
9813 if test "$enableval" = yes; then
9814 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9816 ac_cv_use_splash
='wxUSE_SPLASH=no'
9821 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x
; then
9823 eval "DEFAULT_$LINE"
9828 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9832 eval "$ac_cv_use_splash"
9833 if test "$no_cache" != 1; then
9834 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9837 if test "$wxUSE_SPLASH" = yes; then
9838 echo "$as_me:$LINENO: result: yes" >&5
9839 echo "${ECHO_T}yes" >&6
9841 echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6
9847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9850 # Check whether --enable-textdlg or --disable-textdlg was given.
9851 if test "${enable_textdlg+set}" = set; then
9852 enableval
="$enable_textdlg"
9854 if test "$enableval" = yes; then
9855 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9857 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9862 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x
; then
9864 eval "DEFAULT_$LINE"
9869 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9873 eval "$ac_cv_use_textdlg"
9874 if test "$no_cache" != 1; then
9875 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9878 if test "$wxUSE_TEXTDLG" = yes; then
9879 echo "$as_me:$LINENO: result: yes" >&5
9880 echo "${ECHO_T}yes" >&6
9882 echo "$as_me:$LINENO: result: no" >&5
9883 echo "${ECHO_T}no" >&6
9888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9891 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9892 if test "${enable_tipdlg+set}" = set; then
9893 enableval
="$enable_tipdlg"
9895 if test "$enableval" = yes; then
9896 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9898 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9903 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9904 if test "x$LINE" != x
; then
9905 eval "DEFAULT_$LINE"
9910 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9914 eval "$ac_cv_use_tipdlg"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9919 if test "$wxUSE_STARTUP_TIPS" = yes; then
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9932 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9933 if test "${enable_progressdlg+set}" = set; then
9934 enableval
="$enable_progressdlg"
9936 if test "$enableval" = yes; then
9937 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9939 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9944 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9945 if test "x$LINE" != x
; then
9946 eval "DEFAULT_$LINE"
9951 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9955 eval "$ac_cv_use_progressdlg"
9956 if test "$no_cache" != 1; then
9957 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9960 if test "$wxUSE_PROGRESSDLG" = yes; then
9961 echo "$as_me:$LINENO: result: yes" >&5
9962 echo "${ECHO_T}yes" >&6
9964 echo "$as_me:$LINENO: result: no" >&5
9965 echo "${ECHO_T}no" >&6
9970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9973 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9974 if test "${enable_wizarddlg+set}" = set; then
9975 enableval
="$enable_wizarddlg"
9977 if test "$enableval" = yes; then
9978 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9980 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9985 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9986 if test "x$LINE" != x
; then
9987 eval "DEFAULT_$LINE"
9992 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9996 eval "$ac_cv_use_wizarddlg"
9997 if test "$no_cache" != 1; then
9998 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10001 if test "$wxUSE_WIZARDDLG" = yes; then
10002 echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6
10005 echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6
10013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10016 # Check whether --enable-menus or --disable-menus was given.
10017 if test "${enable_menus+set}" = set; then
10018 enableval
="$enable_menus"
10020 if test "$enableval" = yes; then
10021 ac_cv_use_menus
='wxUSE_MENUS=yes'
10023 ac_cv_use_menus
='wxUSE_MENUS=no'
10028 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x
; then
10030 eval "DEFAULT_$LINE"
10035 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10039 eval "$ac_cv_use_menus"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10044 if test "$wxUSE_MENUS" = yes; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046 echo "${ECHO_T}yes" >&6
10048 echo "$as_me:$LINENO: result: no" >&5
10049 echo "${ECHO_T}no" >&6
10054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10055 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10057 # Check whether --enable-miniframe or --disable-miniframe was given.
10058 if test "${enable_miniframe+set}" = set; then
10059 enableval
="$enable_miniframe"
10061 if test "$enableval" = yes; then
10062 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10064 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10069 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x
; then
10071 eval "DEFAULT_$LINE"
10076 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10080 eval "$ac_cv_use_miniframe"
10081 if test "$no_cache" != 1; then
10082 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10085 if test "$wxUSE_MINIFRAME" = yes; then
10086 echo "$as_me:$LINENO: result: yes" >&5
10087 echo "${ECHO_T}yes" >&6
10089 echo "$as_me:$LINENO: result: no" >&5
10090 echo "${ECHO_T}no" >&6
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10098 # Check whether --enable-tooltips or --disable-tooltips was given.
10099 if test "${enable_tooltips+set}" = set; then
10100 enableval
="$enable_tooltips"
10102 if test "$enableval" = yes; then
10103 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10105 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10110 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x
; then
10112 eval "DEFAULT_$LINE"
10117 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10121 eval "$ac_cv_use_tooltips"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10126 if test "$wxUSE_TOOLTIPS" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10139 # Check whether --enable-splines or --disable-splines was given.
10140 if test "${enable_splines+set}" = set; then
10141 enableval
="$enable_splines"
10143 if test "$enableval" = yes; then
10144 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10146 ac_cv_use_splines
='wxUSE_SPLINES=no'
10151 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x
; then
10153 eval "DEFAULT_$LINE"
10158 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10162 eval "$ac_cv_use_splines"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10167 if test "$wxUSE_SPLINES" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10180 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10181 if test "${enable_mousewheel+set}" = set; then
10182 enableval
="$enable_mousewheel"
10184 if test "$enableval" = yes; then
10185 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10187 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10192 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x
; then
10194 eval "DEFAULT_$LINE"
10199 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10203 eval "$ac_cv_use_mousewheel"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10208 if test "$wxUSE_MOUSEWHEEL" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10221 # Check whether --enable-validators or --disable-validators was given.
10222 if test "${enable_validators+set}" = set; then
10223 enableval
="$enable_validators"
10225 if test "$enableval" = yes; then
10226 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10228 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10233 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x
; then
10235 eval "DEFAULT_$LINE"
10240 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10244 eval "$ac_cv_use_validators"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10249 if test "$wxUSE_VALIDATORS" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10262 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10263 if test "${enable_busyinfo+set}" = set; then
10264 enableval
="$enable_busyinfo"
10266 if test "$enableval" = yes; then
10267 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10269 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10274 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x
; then
10276 eval "DEFAULT_$LINE"
10281 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10285 eval "$ac_cv_use_busyinfo"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10290 if test "$wxUSE_BUSYINFO" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10303 # Check whether --enable-joystick or --disable-joystick was given.
10304 if test "${enable_joystick+set}" = set; then
10305 enableval
="$enable_joystick"
10307 if test "$enableval" = yes; then
10308 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10310 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10315 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x
; then
10317 eval "DEFAULT_$LINE"
10322 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10326 eval "$ac_cv_use_joystick"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10331 if test "$wxUSE_JOYSTICK" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10344 # Check whether --enable-metafile or --disable-metafile was given.
10345 if test "${enable_metafile+set}" = set; then
10346 enableval
="$enable_metafile"
10348 if test "$enableval" = yes; then
10349 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10351 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10356 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x
; then
10358 eval "DEFAULT_$LINE"
10363 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10367 eval "$ac_cv_use_metafile"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10372 if test "$wxUSE_METAFILE" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10385 # Check whether --enable-dragimage or --disable-dragimage was given.
10386 if test "${enable_dragimage+set}" = set; then
10387 enableval
="$enable_dragimage"
10389 if test "$enableval" = yes; then
10390 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10392 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10397 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x
; then
10399 eval "DEFAULT_$LINE"
10404 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10408 eval "$ac_cv_use_dragimage"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10413 if test "$wxUSE_DRAGIMAGE" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10426 # Check whether --enable-accessibility or --disable-accessibility was given.
10427 if test "${enable_accessibility+set}" = set; then
10428 enableval
="$enable_accessibility"
10430 if test "$enableval" = yes; then
10431 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10433 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10438 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x
; then
10440 eval "DEFAULT_$LINE"
10445 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10449 eval "$ac_cv_use_accessibility"
10450 if test "$no_cache" != 1; then
10451 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10454 if test "$wxUSE_ACCESSIBILITY" = yes; then
10455 echo "$as_me:$LINENO: result: yes" >&5
10456 echo "${ECHO_T}yes" >&6
10458 echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6
10463 if test "$wxUSE_MSW" = "1"; then
10466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10469 # Check whether --enable-dccache or --disable-dccache was given.
10470 if test "${enable_dccache+set}" = set; then
10471 enableval
="$enable_dccache"
10473 if test "$enableval" = yes; then
10474 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10476 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10481 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10482 if test "x$LINE" != x
; then
10483 eval "DEFAULT_$LINE"
10488 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10492 eval "$ac_cv_use_dccache"
10493 if test "$no_cache" != 1; then
10494 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10497 if test "$wxUSE_DC_CACHEING" = yes; then
10498 echo "$as_me:$LINENO: result: yes" >&5
10499 echo "${ECHO_T}yes" >&6
10501 echo "$as_me:$LINENO: result: no" >&5
10502 echo "${ECHO_T}no" >&6
10510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10513 # Check whether --enable-palette or --disable-palette was given.
10514 if test "${enable_palette+set}" = set; then
10515 enableval
="$enable_palette"
10517 if test "$enableval" = yes; then
10518 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10520 ac_cv_use_palette
='wxUSE_PALETTE=no'
10525 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10526 if test "x$LINE" != x
; then
10527 eval "DEFAULT_$LINE"
10532 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10536 eval "$ac_cv_use_palette"
10537 if test "$no_cache" != 1; then
10538 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10541 if test "$wxUSE_PALETTE" = yes; then
10542 echo "$as_me:$LINENO: result: yes" >&5
10543 echo "${ECHO_T}yes" >&6
10545 echo "$as_me:$LINENO: result: no" >&5
10546 echo "${ECHO_T}no" >&6
10551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10554 # Check whether --enable-image or --disable-image was given.
10555 if test "${enable_image+set}" = set; then
10556 enableval
="$enable_image"
10558 if test "$enableval" = yes; then
10559 ac_cv_use_image
='wxUSE_IMAGE=yes'
10561 ac_cv_use_image
='wxUSE_IMAGE=no'
10566 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10567 if test "x$LINE" != x
; then
10568 eval "DEFAULT_$LINE"
10573 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10577 eval "$ac_cv_use_image"
10578 if test "$no_cache" != 1; then
10579 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10582 if test "$wxUSE_IMAGE" = yes; then
10583 echo "$as_me:$LINENO: result: yes" >&5
10584 echo "${ECHO_T}yes" >&6
10586 echo "$as_me:$LINENO: result: no" >&5
10587 echo "${ECHO_T}no" >&6
10592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10595 # Check whether --enable-gif or --disable-gif was given.
10596 if test "${enable_gif+set}" = set; then
10597 enableval
="$enable_gif"
10599 if test "$enableval" = yes; then
10600 ac_cv_use_gif
='wxUSE_GIF=yes'
10602 ac_cv_use_gif
='wxUSE_GIF=no'
10607 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10608 if test "x$LINE" != x
; then
10609 eval "DEFAULT_$LINE"
10614 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10618 eval "$ac_cv_use_gif"
10619 if test "$no_cache" != 1; then
10620 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10623 if test "$wxUSE_GIF" = yes; then
10624 echo "$as_me:$LINENO: result: yes" >&5
10625 echo "${ECHO_T}yes" >&6
10627 echo "$as_me:$LINENO: result: no" >&5
10628 echo "${ECHO_T}no" >&6
10633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10636 # Check whether --enable-pcx or --disable-pcx was given.
10637 if test "${enable_pcx+set}" = set; then
10638 enableval
="$enable_pcx"
10640 if test "$enableval" = yes; then
10641 ac_cv_use_pcx
='wxUSE_PCX=yes'
10643 ac_cv_use_pcx
='wxUSE_PCX=no'
10648 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10649 if test "x$LINE" != x
; then
10650 eval "DEFAULT_$LINE"
10655 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10659 eval "$ac_cv_use_pcx"
10660 if test "$no_cache" != 1; then
10661 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10664 if test "$wxUSE_PCX" = yes; then
10665 echo "$as_me:$LINENO: result: yes" >&5
10666 echo "${ECHO_T}yes" >&6
10668 echo "$as_me:$LINENO: result: no" >&5
10669 echo "${ECHO_T}no" >&6
10674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10677 # Check whether --enable-iff or --disable-iff was given.
10678 if test "${enable_iff+set}" = set; then
10679 enableval
="$enable_iff"
10681 if test "$enableval" = yes; then
10682 ac_cv_use_iff
='wxUSE_IFF=yes'
10684 ac_cv_use_iff
='wxUSE_IFF=no'
10689 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10690 if test "x$LINE" != x
; then
10691 eval "DEFAULT_$LINE"
10696 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10700 eval "$ac_cv_use_iff"
10701 if test "$no_cache" != 1; then
10702 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10705 if test "$wxUSE_IFF" = yes; then
10706 echo "$as_me:$LINENO: result: yes" >&5
10707 echo "${ECHO_T}yes" >&6
10709 echo "$as_me:$LINENO: result: no" >&5
10710 echo "${ECHO_T}no" >&6
10715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10716 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10718 # Check whether --enable-pnm or --disable-pnm was given.
10719 if test "${enable_pnm+set}" = set; then
10720 enableval
="$enable_pnm"
10722 if test "$enableval" = yes; then
10723 ac_cv_use_pnm
='wxUSE_PNM=yes'
10725 ac_cv_use_pnm
='wxUSE_PNM=no'
10730 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10731 if test "x$LINE" != x
; then
10732 eval "DEFAULT_$LINE"
10737 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10741 eval "$ac_cv_use_pnm"
10742 if test "$no_cache" != 1; then
10743 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10746 if test "$wxUSE_PNM" = yes; then
10747 echo "$as_me:$LINENO: result: yes" >&5
10748 echo "${ECHO_T}yes" >&6
10750 echo "$as_me:$LINENO: result: no" >&5
10751 echo "${ECHO_T}no" >&6
10756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10757 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10759 # Check whether --enable-xpm or --disable-xpm was given.
10760 if test "${enable_xpm+set}" = set; then
10761 enableval
="$enable_xpm"
10763 if test "$enableval" = yes; then
10764 ac_cv_use_xpm
='wxUSE_XPM=yes'
10766 ac_cv_use_xpm
='wxUSE_XPM=no'
10771 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10772 if test "x$LINE" != x
; then
10773 eval "DEFAULT_$LINE"
10778 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10782 eval "$ac_cv_use_xpm"
10783 if test "$no_cache" != 1; then
10784 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10787 if test "$wxUSE_XPM" = yes; then
10788 echo "$as_me:$LINENO: result: yes" >&5
10789 echo "${ECHO_T}yes" >&6
10791 echo "$as_me:$LINENO: result: no" >&5
10792 echo "${ECHO_T}no" >&6
10797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10798 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10800 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10801 if test "${enable_ico_cur+set}" = set; then
10802 enableval
="$enable_ico_cur"
10804 if test "$enableval" = yes; then
10805 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10807 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10812 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10813 if test "x$LINE" != x
; then
10814 eval "DEFAULT_$LINE"
10819 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10823 eval "$ac_cv_use_ico_cur"
10824 if test "$no_cache" != 1; then
10825 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10828 if test "$wxUSE_ICO_CUR" = yes; then
10829 echo "$as_me:$LINENO: result: yes" >&5
10830 echo "${ECHO_T}yes" >&6
10832 echo "$as_me:$LINENO: result: no" >&5
10833 echo "${ECHO_T}no" >&6
10841 # Check whether --with-flavour or --without-flavour was given.
10842 if test "${with_flavour+set}" = set; then
10843 withval
="$with_flavour"
10844 WX_FLAVOUR
="$withval"
10850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10853 # Check whether --enable-official_build or --disable-official_build was given.
10854 if test "${enable_official_build+set}" = set; then
10855 enableval
="$enable_official_build"
10857 if test "$enableval" = yes; then
10858 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10860 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10865 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x
; then
10867 eval "DEFAULT_$LINE"
10872 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10876 eval "$ac_cv_use_official_build"
10877 if test "$no_cache" != 1; then
10878 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10881 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10882 echo "$as_me:$LINENO: result: yes" >&5
10883 echo "${ECHO_T}yes" >&6
10885 echo "$as_me:$LINENO: result: no" >&5
10886 echo "${ECHO_T}no" >&6
10889 # Check whether --enable-vendor or --disable-vendor was given.
10890 if test "${enable_vendor+set}" = set; then
10891 enableval
="$enable_vendor"
10892 VENDOR
="$enableval"
10894 if test "x$VENDOR" = "x"; then
10901 echo "saving argument cache $wx_arg_cache_file"
10902 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10906 echo "$as_me:$LINENO: checking for toolkit" >&5
10907 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10909 # In Wine, we need to default to MSW, not GTK or MOTIF
10910 if test "$wxUSE_WINE" = "yes"; then
10911 DEFAULT_DEFAULT_wxUSE_GTK
=0
10912 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10913 DEFAULT_DEFAULT_wxUSE_MSW
=1
10918 if test "$wxUSE_GUI" = "yes"; then
10920 if test "$USE_BEOS" = 1; then
10921 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10922 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10923 { (exit 1); exit 1; }; }
10926 if test "$TOOLKIT_GIVEN" = 1; then
10927 for toolkit
in `echo $ALL_TOOLKITS`; do
10929 eval "value=\$${var}"
10930 if test "x$value" = "xno"; then
10932 elif test "x$value" != "x"; then
10936 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10937 eval "wx${toolkit}_VERSION=$value"
10941 for toolkit
in `echo $ALL_TOOLKITS`; do
10942 if test "$has_toolkit_in_cache" != 1; then
10943 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10945 var
=DEFAULT_wxUSE_
$toolkit
10947 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10948 if test "x$version" != "x"; then
10949 eval "wx${toolkit}_VERSION=$version"
10952 eval "wxUSE_$toolkit=\$${var}"
10956 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10957 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10958 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10961 *-pc-os2_emx | *-pc-os2-emx )
10962 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10965 case "$NUM_TOOLKITS" in
10969 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10970 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10971 { (exit 1); exit 1; }; }
10974 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10975 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10976 { (exit 1); exit 1; }; }
10979 # to be removed when --disable-gtk2 isn't needed
10980 if test "x$wxUSE_GTK2" = "xyes"; then
10982 elif test "x$wxUSE_GTK2" = "xno"; then
10986 for toolkit
in `echo $ALL_TOOLKITS`; do
10988 eval "value=\$${var}"
10989 if test "x$value" != x
; then
10990 cache_var
=CACHE_
$toolkit
10991 eval "cache=\$${cache_var}"
10992 if test "$cache" = 1; then
10993 echo "$var=$value" >> ${wx_arg_cache_file}
10994 eval "version=\$wx${toolkit}_VERSION"
10995 if test "x$version" != "x"; then
10996 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10999 if test "$value" = 1; then
11000 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11001 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11002 echo "${ECHO_T}$toolkit_echo" >&6
11007 if test "x$host_alias" != "x"; then
11008 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11009 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11011 echo "$as_me:$LINENO: result: base only" >&5
11012 echo "${ECHO_T}base only" >&6
11017 doesnt_want_win32
=0
11020 if test "$wxUSE_MSW" = 1 ; then
11022 BAKEFILE_FORCE_PLATFORM
=win32
11024 doesnt_want_win32
=1
11032 if test "$wxUSE_WINE" = "yes"; then
11036 LDFLAGS_GUI
="-mwindows"
11039 if test "$wants_win32" = 1 ; then
11042 cat >>confdefs.h
<<\_ACEOF
11043 #define __WIN32__ 1
11046 cat >>confdefs.h
<<\_ACEOF
11047 #define __WIN95__ 1
11050 cat >>confdefs.h
<<\_ACEOF
11051 #define __WINDOWS__ 1
11054 cat >>confdefs.h
<<\_ACEOF
11055 #define __GNUWIN32__ 1
11058 cat >>confdefs.h
<<\_ACEOF
11062 cat >>confdefs.h
<<\_ACEOF
11063 #define WINVER 0x0400
11067 if test "$doesnt_want_win32" = 1 ; then
11072 if test "$USE_UNIX" = 1 ; then
11074 cat >>confdefs.h
<<\_ACEOF
11081 cat >confcache
<<\_ACEOF
11082 # This file is a shell script that caches the results of configure
11083 # tests run on this system so they can be shared between configure
11084 # scripts and configure runs, see configure's option --config-cache.
11085 # It is not useful on other systems. If it contains results you don't
11086 # want to keep, you may remove or edit it.
11088 # config.status only pays attention to the cache file if you give it
11089 # the --recheck option to rerun configure.
11091 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11092 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11093 # following values.
11097 # The following way of writing the cache mishandles newlines in values,
11098 # but we know of no workaround that is simple, portable, and efficient.
11099 # So, don't put newlines in cache variables' values.
11100 # Ultrix sh set writes to stderr and can't be redirected directly,
11101 # and sets the high bit in the cache file unless we assign to the vars.
11104 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11106 # `set' does not quote correctly, so add quotes (double-quote
11107 # substitution turns \\\\ into \\, and sed turns \\ into \).
11110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11113 # `set' quotes correctly as required by POSIX, so do not add quotes.
11115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11124 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11126 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11127 if test -w $cache_file; then
11128 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11129 cat confcache
>$cache_file
11131 echo "not updating unwritable cache $cache_file"
11141 ac_cpp
='$CPP $CPPFLAGS'
11142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11145 if test -n "$ac_tool_prefix"; then
11146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11147 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11148 echo "$as_me:$LINENO: checking for $ac_word" >&5
11149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11150 if test "${ac_cv_prog_CC+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 if test -n "$CC"; then
11154 ac_cv_prog_CC
="$CC" # Let the user override the test.
11156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11157 for as_dir
in $PATH
11160 test -z "$as_dir" && as_dir
=.
11161 for ac_exec_ext
in '' $ac_executable_extensions; do
11162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11163 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11173 if test -n "$CC"; then
11174 echo "$as_me:$LINENO: result: $CC" >&5
11175 echo "${ECHO_T}$CC" >&6
11177 echo "$as_me:$LINENO: result: no" >&5
11178 echo "${ECHO_T}no" >&6
11182 if test -z "$ac_cv_prog_CC"; then
11184 # Extract the first word of "gcc", so it can be a program name with args.
11185 set dummy gcc
; ac_word
=$2
11186 echo "$as_me:$LINENO: checking for $ac_word" >&5
11187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 if test -n "$ac_ct_CC"; then
11192 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11195 for as_dir
in $PATH
11198 test -z "$as_dir" && as_dir
=.
11199 for ac_exec_ext
in '' $ac_executable_extensions; do
11200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11201 ac_cv_prog_ac_ct_CC
="gcc"
11202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11211 if test -n "$ac_ct_CC"; then
11212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11213 echo "${ECHO_T}$ac_ct_CC" >&6
11215 echo "$as_me:$LINENO: result: no" >&5
11216 echo "${ECHO_T}no" >&6
11221 CC
="$ac_cv_prog_CC"
11224 if test -z "$CC"; then
11225 if test -n "$ac_tool_prefix"; then
11226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11227 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11228 echo "$as_me:$LINENO: checking for $ac_word" >&5
11229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11230 if test "${ac_cv_prog_CC+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 if test -n "$CC"; then
11234 ac_cv_prog_CC
="$CC" # Let the user override the test.
11236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11237 for as_dir
in $PATH
11240 test -z "$as_dir" && as_dir
=.
11241 for ac_exec_ext
in '' $ac_executable_extensions; do
11242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11253 if test -n "$CC"; then
11254 echo "$as_me:$LINENO: result: $CC" >&5
11255 echo "${ECHO_T}$CC" >&6
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11262 if test -z "$ac_cv_prog_CC"; then
11264 # Extract the first word of "cc", so it can be a program name with args.
11265 set dummy cc
; ac_word
=$2
11266 echo "$as_me:$LINENO: checking for $ac_word" >&5
11267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 if test -n "$ac_ct_CC"; then
11272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11275 for as_dir
in $PATH
11278 test -z "$as_dir" && as_dir
=.
11279 for ac_exec_ext
in '' $ac_executable_extensions; do
11280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11281 ac_cv_prog_ac_ct_CC
="cc"
11282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11290 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11291 if test -n "$ac_ct_CC"; then
11292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11293 echo "${ECHO_T}$ac_ct_CC" >&6
11295 echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6
11301 CC
="$ac_cv_prog_CC"
11305 if test -z "$CC"; then
11306 # Extract the first word of "cc", so it can be a program name with args.
11307 set dummy cc
; ac_word
=$2
11308 echo "$as_me:$LINENO: checking for $ac_word" >&5
11309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11310 if test "${ac_cv_prog_CC+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11313 if test -n "$CC"; then
11314 ac_cv_prog_CC
="$CC" # Let the user override the test.
11316 ac_prog_rejected
=no
11317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11318 for as_dir
in $PATH
11321 test -z "$as_dir" && as_dir
=.
11322 for ac_exec_ext
in '' $ac_executable_extensions; do
11323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11325 ac_prog_rejected
=yes
11329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11335 if test $ac_prog_rejected = yes; then
11336 # We found a bogon in the path, so make sure we never use it.
11337 set dummy
$ac_cv_prog_CC
11339 if test $# != 0; then
11340 # We chose a different compiler from the bogus one.
11341 # However, it has the same basename, so the bogon will be chosen
11342 # first if we set CC to just the basename; use the full file name.
11344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11350 if test -n "$CC"; then
11351 echo "$as_me:$LINENO: result: $CC" >&5
11352 echo "${ECHO_T}$CC" >&6
11354 echo "$as_me:$LINENO: result: no" >&5
11355 echo "${ECHO_T}no" >&6
11359 if test -z "$CC"; then
11360 if test -n "$ac_tool_prefix"; then
11363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11365 echo "$as_me:$LINENO: checking for $ac_word" >&5
11366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11367 if test "${ac_cv_prog_CC+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11370 if test -n "$CC"; then
11371 ac_cv_prog_CC
="$CC" # Let the user override the test.
11373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11374 for as_dir
in $PATH
11377 test -z "$as_dir" && as_dir
=.
11378 for ac_exec_ext
in '' $ac_executable_extensions; do
11379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11390 if test -n "$CC"; then
11391 echo "$as_me:$LINENO: result: $CC" >&5
11392 echo "${ECHO_T}$CC" >&6
11394 echo "$as_me:$LINENO: result: no" >&5
11395 echo "${ECHO_T}no" >&6
11398 test -n "$CC" && break
11401 if test -z "$CC"; then
11405 # Extract the first word of "$ac_prog", so it can be a program name with args.
11406 set dummy
$ac_prog; ac_word
=$2
11407 echo "$as_me:$LINENO: checking for $ac_word" >&5
11408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 if test -n "$ac_ct_CC"; then
11413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11416 for as_dir
in $PATH
11419 test -z "$as_dir" && as_dir
=.
11420 for ac_exec_ext
in '' $ac_executable_extensions; do
11421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11422 ac_cv_prog_ac_ct_CC
="$ac_prog"
11423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11432 if test -n "$ac_ct_CC"; then
11433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11434 echo "${ECHO_T}$ac_ct_CC" >&6
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11440 test -n "$ac_ct_CC" && break
11449 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11450 See \`config.log' for more details." >&5
11451 echo "$as_me: error: no acceptable C compiler found in \$PATH
11452 See \`config.log' for more details." >&2;}
11453 { (exit 1); exit 1; }; }
11455 # Provide some information about the compiler.
11456 echo "$as_me:$LINENO:" \
11457 "checking for C compiler version" >&5
11458 ac_compiler
=`set X $ac_compile; echo $2`
11459 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11460 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }
11464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11465 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }
11469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11470 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }
11475 cat >conftest.
$ac_ext <<_ACEOF
11478 cat confdefs.h
>>conftest.
$ac_ext
11479 cat >>conftest.
$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11490 ac_clean_files_save
=$ac_clean_files
11491 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11492 # Try to create an executable without -o first, disregard a.out.
11493 # It will help us diagnose broken compilers, and finding out an intuition
11495 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11496 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11497 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11498 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11499 (eval $ac_link_default) 2>&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; then
11503 # Find the output, starting from the most likely. This scheme is
11504 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11507 # Be careful to initialize this variable, since it used to be cached.
11508 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11510 # b.out is created by i960 compilers.
11511 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11513 test -f "$ac_file" || continue
11515 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11518 # This is the source file.
11521 # We found the default executable, but exeext='' is most
11525 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11526 # FIXME: I believe we export ac_cv_exeext for Libtool,
11527 # but it would be cool to find out if it's true. Does anybody
11528 # maintain Libtool? --akim.
11529 export ac_cv_exeext
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.
$ac_ext >&5
11539 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11540 See \`config.log' for more details." >&5
11541 echo "$as_me: error: C compiler cannot create executables
11542 See \`config.log' for more details." >&2;}
11543 { (exit 77); exit 77; }; }
11546 ac_exeext
=$ac_cv_exeext
11547 echo "$as_me:$LINENO: result: $ac_file" >&5
11548 echo "${ECHO_T}$ac_file" >&6
11550 # Check the compiler produces executables we can run. If not, either
11551 # the compiler is broken, or we cross compile.
11552 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11553 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11554 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11555 # If not cross compiling, check that we can run a simple program.
11556 if test "$cross_compiling" != yes; then
11557 if { ac_try
='./$ac_file'
11558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11559 (eval $ac_try) 2>&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; }; then
11565 if test "$cross_compiling" = maybe
; then
11566 cross_compiling
=yes
11568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11569 If you meant to cross compile, use \`--host'.
11570 See \`config.log' for more details." >&5
11571 echo "$as_me: error: cannot run C compiled programs.
11572 If you meant to cross compile, use \`--host'.
11573 See \`config.log' for more details." >&2;}
11574 { (exit 1); exit 1; }; }
11578 echo "$as_me:$LINENO: result: yes" >&5
11579 echo "${ECHO_T}yes" >&6
11581 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11582 ac_clean_files
=$ac_clean_files_save
11583 # Check the compiler produces executables we can run. If not, either
11584 # the compiler is broken, or we cross compile.
11585 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11587 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11588 echo "${ECHO_T}$cross_compiling" >&6
11590 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593 (eval $ac_link) 2>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; then
11597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11599 # work properly (i.e., refer to `conftest.exe'), while it won't with
11601 for ac_file
in conftest.exe conftest conftest.
*; do
11602 test -f "$ac_file" || continue
11604 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11605 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11606 export ac_cv_exeext
11612 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11613 See \`config.log' for more details." >&5
11614 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11615 See \`config.log' for more details." >&2;}
11616 { (exit 1); exit 1; }; }
11619 rm -f conftest
$ac_cv_exeext
11620 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11621 echo "${ECHO_T}$ac_cv_exeext" >&6
11623 rm -f conftest.
$ac_ext
11624 EXEEXT
=$ac_cv_exeext
11626 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11627 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11628 if test "${ac_cv_objext+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 cat >conftest.
$ac_ext <<_ACEOF
11634 cat confdefs.h
>>conftest.
$ac_ext
11635 cat >>conftest.
$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11646 rm -f conftest.o conftest.obj
11647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11648 (eval $ac_compile) 2>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; then
11652 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11654 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11655 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11660 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.
$ac_ext >&5
11663 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11664 See \`config.log' for more details." >&5
11665 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11666 See \`config.log' for more details." >&2;}
11667 { (exit 1); exit 1; }; }
11670 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11672 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11673 echo "${ECHO_T}$ac_cv_objext" >&6
11674 OBJEXT
=$ac_cv_objext
11676 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11679 echo $ECHO_N "(cached) $ECHO_C" >&6
11681 cat >conftest.
$ac_ext <<_ACEOF
11684 cat confdefs.h
>>conftest.
$ac_ext
11685 cat >>conftest.
$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11699 rm -f conftest.
$ac_objext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11701 (eval $ac_compile) 2>conftest.er1
11703 grep -v '^ *+' conftest.er1
>conftest.err
11705 cat conftest.err
>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; } &&
11714 { ac_try
='test -s conftest.$ac_objext'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; }; then
11720 ac_compiler_gnu
=yes
11722 echo "$as_me: failed program was:" >&5
11723 sed 's/^/| /' conftest.
$ac_ext >&5
11727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11728 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11731 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11732 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11733 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11734 ac_test_CFLAGS
=${CFLAGS+set}
11735 ac_save_CFLAGS
=$CFLAGS
11737 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11738 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11739 if test "${ac_cv_prog_cc_g+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 cat >conftest.
$ac_ext <<_ACEOF
11745 cat confdefs.h
>>conftest.
$ac_ext
11746 cat >>conftest.
$ac_ext <<_ACEOF
11747 /* end confdefs.h. */
11757 rm -f conftest.
$ac_objext
11758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11759 (eval $ac_compile) 2>conftest.er1
11761 grep -v '^ *+' conftest.er1
>conftest.err
11763 cat conftest.err
>&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); } &&
11766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11768 (eval $ac_try) 2>&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); }; } &&
11772 { ac_try
='test -s conftest.$ac_objext'
11773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774 (eval $ac_try) 2>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }; }; then
11778 ac_cv_prog_cc_g
=yes
11780 echo "$as_me: failed program was:" >&5
11781 sed 's/^/| /' conftest.
$ac_ext >&5
11785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11787 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11788 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11789 if test "$ac_test_CFLAGS" = set; then
11790 CFLAGS
=$ac_save_CFLAGS
11791 elif test $ac_cv_prog_cc_g = yes; then
11792 if test "$GCC" = yes; then
11798 if test "$GCC" = yes; then
11804 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11805 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11806 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 ac_cv_prog_cc_stdc
=no
11811 cat >conftest.
$ac_ext <<_ACEOF
11814 cat confdefs.h
>>conftest.
$ac_ext
11815 cat >>conftest.
$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11817 #include <stdarg.h>
11819 #include <sys/types.h>
11820 #include <sys/stat.h>
11821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11822 struct buf { int x; };
11823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11824 static char *e (p, i)
11830 static char *f (char * (*g) (char **, int), char **p, ...)
11835 s = g (p, va_arg (v,int));
11840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11841 function prototypes and stuff, but not '\xHH' hex character constants.
11842 These don't provoke an error unfortunately, instead are silently treated
11843 as 'x'. The following induces an error, until -std1 is added to get
11844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11845 array size at least. It's necessary to write '\x00'==0 to get something
11846 that's true only with -std1. */
11847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11849 int test (int i, double x);
11850 struct s1 {int (*f) (int a);};
11851 struct s2 {int (*f) (double a);};
11852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11863 # Don't try gcc -ansi; that turns off useful extensions and
11864 # breaks some systems' header files.
11865 # AIX -qlanglvl=ansi
11866 # Ultrix and OSF/1 -std1
11867 # HP-UX 10.20 and later -Ae
11868 # HP-UX older versions -Aa -D_HPUX_SOURCE
11869 # SVR4 -Xc -D__EXTENSIONS__
11870 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11872 CC
="$ac_save_CC $ac_arg"
11873 rm -f conftest.
$ac_objext
11874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11875 (eval $ac_compile) 2>conftest.er1
11877 grep -v '^ *+' conftest.er1
>conftest.err
11879 cat conftest.err
>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } &&
11882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; } &&
11888 { ac_try
='test -s conftest.$ac_objext'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; }; then
11894 ac_cv_prog_cc_stdc
=$ac_arg
11897 echo "$as_me: failed program was:" >&5
11898 sed 's/^/| /' conftest.
$ac_ext >&5
11901 rm -f conftest.err conftest.
$ac_objext
11903 rm -f conftest.
$ac_ext conftest.
$ac_objext
11908 case "x$ac_cv_prog_cc_stdc" in
11910 echo "$as_me:$LINENO: result: none needed" >&5
11911 echo "${ECHO_T}none needed" >&6 ;;
11913 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11914 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11915 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11918 # Some people use a C++ compiler to compile C. Since we use `exit',
11919 # in C++ we need to declare it. In case someone uses the same compiler
11920 # for both compiling C and C++ we need to have the C++ compiler decide
11921 # the declaration of exit, since it's the most demanding environment.
11922 cat >conftest.
$ac_ext <<_ACEOF
11923 #ifndef __cplusplus
11927 rm -f conftest.
$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>conftest.er1
11931 grep -v '^ *+' conftest.er1
>conftest.err
11933 cat conftest.err
>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; } &&
11942 { ac_try
='test -s conftest.$ac_objext'
11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11944 (eval $ac_try) 2>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; }; then
11948 for ac_declaration
in \
11950 'extern "C" void std::exit (int) throw (); using std::exit;' \
11951 'extern "C" void std::exit (int); using std::exit;' \
11952 'extern "C" void exit (int) throw ();' \
11953 'extern "C" void exit (int);' \
11956 cat >conftest.
$ac_ext <<_ACEOF
11959 cat confdefs.h
>>conftest.
$ac_ext
11960 cat >>conftest.
$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11963 #include <stdlib.h>
11972 rm -f conftest.
$ac_objext
11973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11974 (eval $ac_compile) 2>conftest.er1
11976 grep -v '^ *+' conftest.er1
>conftest.err
11978 cat conftest.err
>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); } &&
11981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; } &&
11987 { ac_try
='test -s conftest.$ac_objext'
11988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11989 (eval $ac_try) 2>&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); }; }; then
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.
$ac_ext >&5
12000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12001 cat >conftest.
$ac_ext <<_ACEOF
12004 cat confdefs.h
>>conftest.
$ac_ext
12005 cat >>conftest.
$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12016 rm -f conftest.
$ac_objext
12017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12018 (eval $ac_compile) 2>conftest.er1
12020 grep -v '^ *+' conftest.er1
>conftest.err
12022 cat conftest.err
>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); } &&
12025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12027 (eval $ac_try) 2>&5
12029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030 (exit $ac_status); }; } &&
12031 { ac_try
='test -s conftest.$ac_objext'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; }; then
12039 echo "$as_me: failed program was:" >&5
12040 sed 's/^/| /' conftest.
$ac_ext >&5
12043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12046 if test -n "$ac_declaration"; then
12047 echo '#ifdef __cplusplus' >>confdefs.h
12048 echo $ac_declaration >>confdefs.h
12049 echo '#endif' >>confdefs.h
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.
$ac_ext >&5
12057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12059 ac_cpp
='$CPP $CPPFLAGS'
12060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12067 ac_cpp
='$CPP $CPPFLAGS'
12068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12072 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12073 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12074 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 cat >conftest.
$ac_ext <<_ACEOF
12080 cat confdefs.h
>>conftest.
$ac_ext
12081 cat >>conftest.
$ac_ext <<_ACEOF
12082 /* end confdefs.h. */
12088 #ifndef __INTEL_COMPILER
12096 rm -f conftest.
$ac_objext
12097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12098 (eval $ac_compile) 2>conftest.er1
12100 grep -v '^ *+' conftest.er1
>conftest.err
12102 cat conftest.err
>&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); } &&
12105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12107 (eval $ac_try) 2>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); }; } &&
12111 { ac_try
='test -s conftest.$ac_objext'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12117 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12119 echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.
$ac_ext >&5
12122 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12129 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12130 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12132 ac_cpp
='$CPP $CPPFLAGS'
12133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12137 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12144 if test "x$GCC" != "xyes"; then
12145 if test "xCC" = "xC"; then
12146 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12147 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12148 if test "${bakefile_cv_c_exto+set}" = set; then
12149 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 cat >conftest.
$ac_ext <<_ACEOF
12154 cat confdefs.h
>>conftest.
$ac_ext
12155 cat >>conftest.
$ac_ext <<_ACEOF
12156 /* end confdefs.h. */
12166 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12168 (eval $ac_compile) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; then
12172 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12174 conftest.
$ac_ext.o
)
12175 bakefile_cv_c_exto
="-ext o"
12182 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12183 See \`config.log' for more details." >&5
12184 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12185 See \`config.log' for more details." >&2;}
12186 { (exit 1); exit 1; }; }
12190 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12193 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12194 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12196 if test "c" = "c"; then
12197 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12199 if test "c" = "cxx"; then
12200 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12204 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12205 unset ac_cv_prog_cc_g
12206 ac_test_CFLAGS
=${CFLAGS+set}
12207 ac_save_CFLAGS
=$CFLAGS
12209 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12210 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12211 if test "${ac_cv_prog_cc_g+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12214 cat >conftest.
$ac_ext <<_ACEOF
12217 cat confdefs.h
>>conftest.
$ac_ext
12218 cat >>conftest.
$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12229 rm -f conftest.
$ac_objext
12230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12231 (eval $ac_compile) 2>conftest.er1
12233 grep -v '^ *+' conftest.er1
>conftest.err
12235 cat conftest.err
>&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } &&
12238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; } &&
12244 { ac_try
='test -s conftest.$ac_objext'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 ac_cv_prog_cc_g
=yes
12252 echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.
$ac_ext >&5
12257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12259 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12260 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12261 if test "$ac_test_CFLAGS" = set; then
12262 CFLAGS
=$ac_save_CFLAGS
12263 elif test $ac_cv_prog_cc_g = yes; then
12264 if test "$GCC" = yes; then
12270 if test "$GCC" = yes; then
12282 ac_cpp
='$CPP $CPPFLAGS'
12283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12287 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12288 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12289 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12290 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 cat >conftest.
$ac_ext <<_ACEOF
12295 cat confdefs.h
>>conftest.
$ac_ext
12296 cat >>conftest.
$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12310 rm -f conftest.
$ac_objext
12311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12312 (eval $ac_compile) 2>conftest.er1
12314 grep -v '^ *+' conftest.er1
>conftest.err
12316 cat conftest.err
>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); } &&
12319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; } &&
12325 { ac_try
='test -s conftest.$ac_objext'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; }; then
12331 bakefile_compiler_xlc
=yes
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.
$ac_ext >&5
12336 bakefile_compiler_xlc
=no
12338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12339 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12342 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12343 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12345 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12347 ac_cpp
='$CPP $CPPFLAGS'
12348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12357 ac_cpp
='$CPP $CPPFLAGS'
12358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12362 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12363 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12364 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12365 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 cat >conftest.
$ac_ext <<_ACEOF
12370 cat confdefs.h
>>conftest.
$ac_ext
12371 cat >>conftest.
$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12385 rm -f conftest.
$ac_objext
12386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12387 (eval $ac_compile) 2>conftest.er1
12389 grep -v '^ *+' conftest.er1
>conftest.err
12391 cat conftest.err
>&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); } &&
12394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; } &&
12400 { ac_try
='test -s conftest.$ac_objext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 bakefile_compiler_mwerks
=yes
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.
$ac_ext >&5
12411 bakefile_compiler_mwerks
=no
12413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12414 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12417 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12418 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12420 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12422 ac_cpp
='$CPP $CPPFLAGS'
12423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12429 ac_cpp
='$CPP $CPPFLAGS'
12430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12434 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12435 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12436 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 cat >conftest.
$ac_ext <<_ACEOF
12442 cat confdefs.h
>>conftest.
$ac_ext
12443 cat >>conftest.
$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12457 rm -f conftest.
$ac_objext
12458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12459 (eval $ac_compile) 2>conftest.er1
12461 grep -v '^ *+' conftest.er1
>conftest.err
12463 cat conftest.err
>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); } &&
12466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; } &&
12472 { ac_try
='test -s conftest.$ac_objext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 bakefile_compiler_xlc
=yes
12480 echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.
$ac_ext >&5
12483 bakefile_compiler_xlc
=no
12485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12486 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12489 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12490 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12492 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12494 ac_cpp
='$CPP $CPPFLAGS'
12495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12506 ac_cpp
='$CPP $CPPFLAGS'
12507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12511 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12512 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12513 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 cat >conftest.
$ac_ext <<_ACEOF
12519 cat confdefs.h
>>conftest.
$ac_ext
12520 cat >>conftest.
$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12527 #ifndef _SGI_COMPILER_VERSION
12535 rm -f conftest.
$ac_objext
12536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12537 (eval $ac_compile) 2>conftest.er1
12539 grep -v '^ *+' conftest.er1
>conftest.err
12541 cat conftest.err
>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } &&
12544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; } &&
12550 { ac_try
='test -s conftest.$ac_objext'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; }; then
12556 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.
$ac_ext >&5
12561 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12568 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12569 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12571 ac_cpp
='$CPP $CPPFLAGS'
12572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12576 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12589 ac_cpp
='$CPP $CPPFLAGS'
12590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12594 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12595 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12596 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12599 cat >conftest.
$ac_ext <<_ACEOF
12602 cat confdefs.h
>>conftest.
$ac_ext
12603 cat >>conftest.
$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12618 rm -f conftest.
$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>conftest.er1
12622 grep -v '^ *+' conftest.er1
>conftest.err
12624 cat conftest.err
>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; } &&
12633 { ac_try
='test -s conftest.$ac_objext'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; }; then
12639 bakefile_cv_c_compiler___HP_cc
=yes
12641 echo "$as_me: failed program was:" >&5
12642 sed 's/^/| /' conftest.
$ac_ext >&5
12644 bakefile_cv_c_compiler___HP_cc
=no
12647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12651 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12652 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12654 ac_cpp
='$CPP $CPPFLAGS'
12655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12659 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12672 ac_cpp
='$CPP $CPPFLAGS'
12673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12677 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12678 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12679 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12680 echo $ECHO_N "(cached) $ECHO_C" >&6
12682 cat >conftest.
$ac_ext <<_ACEOF
12685 cat confdefs.h
>>conftest.
$ac_ext
12686 cat >>conftest.
$ac_ext <<_ACEOF
12687 /* end confdefs.h. */
12701 rm -f conftest.
$ac_objext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>conftest.er1
12705 grep -v '^ *+' conftest.er1
>conftest.err
12707 cat conftest.err
>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; } &&
12716 { ac_try
='test -s conftest.$ac_objext'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; }; then
12722 bakefile_cv_c_compiler___DECC
=yes
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.
$ac_ext >&5
12727 bakefile_cv_c_compiler___DECC
=no
12730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12734 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12735 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12737 ac_cpp
='$CPP $CPPFLAGS'
12738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12742 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12755 ac_cpp
='$CPP $CPPFLAGS'
12756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12760 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12761 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12762 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 cat >conftest.
$ac_ext <<_ACEOF
12768 cat confdefs.h
>>conftest.
$ac_ext
12769 cat >>conftest.
$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12784 rm -f conftest.
$ac_objext
12785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12786 (eval $ac_compile) 2>conftest.er1
12788 grep -v '^ *+' conftest.er1
>conftest.err
12790 cat conftest.err
>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); } &&
12793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 (eval $ac_try) 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; } &&
12799 { ac_try
='test -s conftest.$ac_objext'
12800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12801 (eval $ac_try) 2>&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); }; }; then
12805 bakefile_cv_c_compiler___SUNPRO_C
=yes
12807 echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.
$ac_ext >&5
12810 bakefile_cv_c_compiler___SUNPRO_C
=no
12813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12817 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12818 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12820 ac_cpp
='$CPP $CPPFLAGS'
12821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12825 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12839 ac_cpp
='$CPP $CPPFLAGS'
12840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12843 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12844 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12845 # On Suns, sometimes $CPP names a directory.
12846 if test -n "$CPP" && test -d "$CPP"; then
12849 if test -z "$CPP"; then
12850 if test "${ac_cv_prog_CPP+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 # Double quotes because CPP needs to be expanded
12854 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12856 ac_preproc_ok
=false
12857 for ac_c_preproc_warn_flag
in '' yes
12859 # Use a header file that comes with gcc, so configuring glibc
12860 # with a fresh cross-compiler works.
12861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12862 # <limits.h> exists even on freestanding compilers.
12863 # On the NeXT, cc -E runs the code through the compiler's parser,
12864 # not just through cpp. "Syntax error" is here to catch this case.
12865 cat >conftest.
$ac_ext <<_ACEOF
12868 cat confdefs.h
>>conftest.
$ac_ext
12869 cat >>conftest.
$ac_ext <<_ACEOF
12870 /* end confdefs.h. */
12872 # include <limits.h>
12874 # include <assert.h>
12878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12879 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12881 grep -v '^ *+' conftest.er1
>conftest.err
12883 cat conftest.err
>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } >/dev
/null
; then
12886 if test -s conftest.err
; then
12887 ac_cpp_err
=$ac_c_preproc_warn_flag
12888 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12895 if test -z "$ac_cpp_err"; then
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.
$ac_ext >&5
12901 # Broken: fails on valid input.
12904 rm -f conftest.err conftest.
$ac_ext
12906 # OK, works on sane cases. Now check whether non-existent headers
12907 # can be detected and how.
12908 cat >conftest.
$ac_ext <<_ACEOF
12911 cat confdefs.h
>>conftest.
$ac_ext
12912 cat >>conftest.
$ac_ext <<_ACEOF
12913 /* end confdefs.h. */
12914 #include <ac_nonexistent.h>
12916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12919 grep -v '^ *+' conftest.er1
>conftest.err
12921 cat conftest.err
>&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); } >/dev
/null
; then
12924 if test -s conftest.err
; then
12925 ac_cpp_err
=$ac_c_preproc_warn_flag
12926 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12933 if test -z "$ac_cpp_err"; then
12934 # Broken: success on invalid input.
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.
$ac_ext >&5
12940 # Passes both tests.
12944 rm -f conftest.err conftest.
$ac_ext
12947 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12948 rm -f conftest.err conftest.
$ac_ext
12949 if $ac_preproc_ok; then
12954 ac_cv_prog_CPP
=$CPP
12957 CPP
=$ac_cv_prog_CPP
12959 ac_cv_prog_CPP
=$CPP
12961 echo "$as_me:$LINENO: result: $CPP" >&5
12962 echo "${ECHO_T}$CPP" >&6
12963 ac_preproc_ok
=false
12964 for ac_c_preproc_warn_flag
in '' yes
12966 # Use a header file that comes with gcc, so configuring glibc
12967 # with a fresh cross-compiler works.
12968 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12969 # <limits.h> exists even on freestanding compilers.
12970 # On the NeXT, cc -E runs the code through the compiler's parser,
12971 # not just through cpp. "Syntax error" is here to catch this case.
12972 cat >conftest.
$ac_ext <<_ACEOF
12975 cat confdefs.h
>>conftest.
$ac_ext
12976 cat >>conftest.
$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12979 # include <limits.h>
12981 # include <assert.h>
12985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12988 grep -v '^ *+' conftest.er1
>conftest.err
12990 cat conftest.err
>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } >/dev
/null
; then
12993 if test -s conftest.err
; then
12994 ac_cpp_err
=$ac_c_preproc_warn_flag
12995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13002 if test -z "$ac_cpp_err"; then
13005 echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.
$ac_ext >&5
13008 # Broken: fails on valid input.
13011 rm -f conftest.err conftest.
$ac_ext
13013 # OK, works on sane cases. Now check whether non-existent headers
13014 # can be detected and how.
13015 cat >conftest.
$ac_ext <<_ACEOF
13018 cat confdefs.h
>>conftest.
$ac_ext
13019 cat >>conftest.
$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <ac_nonexistent.h>
13023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13026 grep -v '^ *+' conftest.er1
>conftest.err
13028 cat conftest.err
>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } >/dev
/null
; then
13031 if test -s conftest.err
; then
13032 ac_cpp_err
=$ac_c_preproc_warn_flag
13033 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13040 if test -z "$ac_cpp_err"; then
13041 # Broken: success on invalid input.
13044 echo "$as_me: failed program was:" >&5
13045 sed 's/^/| /' conftest.
$ac_ext >&5
13047 # Passes both tests.
13051 rm -f conftest.err conftest.
$ac_ext
13054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13055 rm -f conftest.err conftest.
$ac_ext
13056 if $ac_preproc_ok; then
13059 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13060 See \`config.log' for more details." >&5
13061 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13062 See \`config.log' for more details." >&2;}
13063 { (exit 1); exit 1; }; }
13067 ac_cpp
='$CPP $CPPFLAGS'
13068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13073 echo "$as_me:$LINENO: checking for egrep" >&5
13074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13075 if test "${ac_cv_prog_egrep+set}" = set; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13079 then ac_cv_prog_egrep
='grep -E'
13080 else ac_cv_prog_egrep
='egrep'
13083 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13084 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13085 EGREP
=$ac_cv_prog_egrep
13088 if test $ac_cv_c_compiler_gnu = yes; then
13089 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13090 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13091 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 ac_pattern
="Autoconf.*'x'"
13095 cat >conftest.
$ac_ext <<_ACEOF
13098 cat confdefs.h
>>conftest.
$ac_ext
13099 cat >>conftest.
$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13105 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13106 ac_cv_prog_gcc_traditional
=yes
13108 ac_cv_prog_gcc_traditional
=no
13113 if test $ac_cv_prog_gcc_traditional = no
; then
13114 cat >conftest.
$ac_ext <<_ACEOF
13117 cat confdefs.h
>>conftest.
$ac_ext
13118 cat >>conftest.
$ac_ext <<_ACEOF
13119 /* end confdefs.h. */
13120 #include <termio.h>
13123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13124 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13125 ac_cv_prog_gcc_traditional
=yes
13131 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13132 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13133 if test $ac_cv_prog_gcc_traditional = yes; then
13134 CC
="$CC -traditional"
13140 ac_cpp
='$CXXCPP $CPPFLAGS'
13141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13146 CXXFLAGS
=${CXXFLAGS:=}
13151 ac_cpp
='$CXXCPP $CPPFLAGS'
13152 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13153 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13154 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13155 if test -n "$ac_tool_prefix"; then
13156 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13159 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13160 echo "$as_me:$LINENO: checking for $ac_word" >&5
13161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13162 if test "${ac_cv_prog_CXX+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 if test -n "$CXX"; then
13166 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13169 for as_dir
in $PATH
13172 test -z "$as_dir" && as_dir
=.
13173 for ac_exec_ext
in '' $ac_executable_extensions; do
13174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13175 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13184 CXX
=$ac_cv_prog_CXX
13185 if test -n "$CXX"; then
13186 echo "$as_me:$LINENO: result: $CXX" >&5
13187 echo "${ECHO_T}$CXX" >&6
13189 echo "$as_me:$LINENO: result: no" >&5
13190 echo "${ECHO_T}no" >&6
13193 test -n "$CXX" && break
13196 if test -z "$CXX"; then
13198 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13200 # Extract the first word of "$ac_prog", so it can be a program name with args.
13201 set dummy
$ac_prog; ac_word
=$2
13202 echo "$as_me:$LINENO: checking for $ac_word" >&5
13203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13204 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13207 if test -n "$ac_ct_CXX"; then
13208 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13211 for as_dir
in $PATH
13214 test -z "$as_dir" && as_dir
=.
13215 for ac_exec_ext
in '' $ac_executable_extensions; do
13216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13217 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13226 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13227 if test -n "$ac_ct_CXX"; then
13228 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13229 echo "${ECHO_T}$ac_ct_CXX" >&6
13231 echo "$as_me:$LINENO: result: no" >&5
13232 echo "${ECHO_T}no" >&6
13235 test -n "$ac_ct_CXX" && break
13237 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13243 # Provide some information about the compiler.
13244 echo "$as_me:$LINENO:" \
13245 "checking for C++ compiler version" >&5
13246 ac_compiler
=`set X $ac_compile; echo $2`
13247 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13248 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }
13252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13253 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }
13257 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13258 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }
13263 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13264 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13265 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13268 cat >conftest.
$ac_ext <<_ACEOF
13271 cat confdefs.h
>>conftest.
$ac_ext
13272 cat >>conftest.
$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13286 rm -f conftest.
$ac_objext
13287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13288 (eval $ac_compile) 2>conftest.er1
13290 grep -v '^ *+' conftest.er1
>conftest.err
13292 cat conftest.err
>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } &&
13295 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try
='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 ac_compiler_gnu
=yes
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.
$ac_ext >&5
13314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13315 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13318 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13319 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13320 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13321 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13322 ac_save_CXXFLAGS
=$CXXFLAGS
13324 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13325 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13326 if test "${ac_cv_prog_cxx_g+set}" = set; then
13327 echo $ECHO_N "(cached) $ECHO_C" >&6
13329 cat >conftest.
$ac_ext <<_ACEOF
13332 cat confdefs.h
>>conftest.
$ac_ext
13333 cat >>conftest.
$ac_ext <<_ACEOF
13334 /* end confdefs.h. */
13344 rm -f conftest.
$ac_objext
13345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13346 (eval $ac_compile) 2>conftest.er1
13348 grep -v '^ *+' conftest.er1
>conftest.err
13350 cat conftest.err
>&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } &&
13353 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13355 (eval $ac_try) 2>&5
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); }; } &&
13359 { ac_try
='test -s conftest.$ac_objext'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; }; then
13365 ac_cv_prog_cxx_g
=yes
13367 echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.
$ac_ext >&5
13370 ac_cv_prog_cxx_g
=no
13372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13374 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13375 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13376 if test "$ac_test_CXXFLAGS" = set; then
13377 CXXFLAGS
=$ac_save_CXXFLAGS
13378 elif test $ac_cv_prog_cxx_g = yes; then
13379 if test "$GXX" = yes; then
13385 if test "$GXX" = yes; then
13391 for ac_declaration
in \
13393 'extern "C" void std::exit (int) throw (); using std::exit;' \
13394 'extern "C" void std::exit (int); using std::exit;' \
13395 'extern "C" void exit (int) throw ();' \
13396 'extern "C" void exit (int);' \
13399 cat >conftest.
$ac_ext <<_ACEOF
13402 cat confdefs.h
>>conftest.
$ac_ext
13403 cat >>conftest.
$ac_ext <<_ACEOF
13404 /* end confdefs.h. */
13406 #include <stdlib.h>
13415 rm -f conftest.
$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>conftest.er1
13419 grep -v '^ *+' conftest.er1
>conftest.err
13421 cat conftest.err
>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } &&
13424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; } &&
13430 { ac_try
='test -s conftest.$ac_objext'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; }; then
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.
$ac_ext >&5
13443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13444 cat >conftest.
$ac_ext <<_ACEOF
13447 cat confdefs.h
>>conftest.
$ac_ext
13448 cat >>conftest.
$ac_ext <<_ACEOF
13449 /* end confdefs.h. */
13459 rm -f conftest.
$ac_objext
13460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13461 (eval $ac_compile) 2>conftest.er1
13463 grep -v '^ *+' conftest.er1
>conftest.err
13465 cat conftest.err
>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try
='test -s conftest.$ac_objext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.
$ac_ext >&5
13486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13489 if test -n "$ac_declaration"; then
13490 echo '#ifdef __cplusplus' >>confdefs.h
13491 echo $ac_declaration >>confdefs.h
13492 echo '#endif' >>confdefs.h
13496 ac_cpp
='$CXXCPP $CPPFLAGS'
13497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13504 ac_cpp
='$CXXCPP $CPPFLAGS'
13505 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13506 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13507 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13509 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13510 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13511 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13512 echo $ECHO_N "(cached) $ECHO_C" >&6
13514 cat >conftest.
$ac_ext <<_ACEOF
13517 cat confdefs.h
>>conftest.
$ac_ext
13518 cat >>conftest.
$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13525 #ifndef __INTEL_COMPILER
13533 rm -f conftest.
$ac_objext
13534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13535 (eval $ac_compile) 2>conftest.er1
13537 grep -v '^ *+' conftest.er1
>conftest.err
13539 cat conftest.err
>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } &&
13542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; } &&
13548 { ac_try
='test -s conftest.$ac_objext'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; }; then
13554 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.
$ac_ext >&5
13559 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13566 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13567 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13569 ac_cpp
='$CXXCPP $CPPFLAGS'
13570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13574 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13581 if test "x$GCXX" != "xyes"; then
13582 if test "xCXX" = "xC"; then
13583 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13584 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13585 if test "${bakefile_cv_cxx_exto+set}" = set; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 cat >conftest.
$ac_ext <<_ACEOF
13591 cat confdefs.h
>>conftest.
$ac_ext
13592 cat >>conftest.
$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13603 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; then
13609 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13611 conftest.
$ac_ext.o
)
13612 bakefile_cv_cxx_exto
="-ext o"
13619 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13620 See \`config.log' for more details." >&5
13621 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13622 See \`config.log' for more details." >&2;}
13623 { (exit 1); exit 1; }; }
13627 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13630 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13631 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13632 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13633 if test "cxx" = "c"; then
13634 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13636 if test "cxx" = "cxx"; then
13637 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13641 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13642 unset ac_cv_prog_cc_g
13643 ac_test_CFLAGS
=${CFLAGS+set}
13644 ac_save_CFLAGS
=$CFLAGS
13646 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13647 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13648 if test "${ac_cv_prog_cc_g+set}" = set; then
13649 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 cat >conftest.
$ac_ext <<_ACEOF
13654 cat confdefs.h
>>conftest.
$ac_ext
13655 cat >>conftest.
$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13666 rm -f conftest.
$ac_objext
13667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13668 (eval $ac_compile) 2>conftest.er1
13670 grep -v '^ *+' conftest.er1
>conftest.err
13672 cat conftest.err
>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; } &&
13681 { ac_try
='test -s conftest.$ac_objext'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; }; then
13687 ac_cv_prog_cc_g
=yes
13689 echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.
$ac_ext >&5
13694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13696 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13697 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13698 if test "$ac_test_CFLAGS" = set; then
13699 CFLAGS
=$ac_save_CFLAGS
13700 elif test $ac_cv_prog_cc_g = yes; then
13701 if test "$GCC" = yes; then
13707 if test "$GCC" = yes; then
13719 ac_cpp
='$CXXCPP $CPPFLAGS'
13720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13724 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13725 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13726 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13727 echo $ECHO_N "(cached) $ECHO_C" >&6
13729 cat >conftest.
$ac_ext <<_ACEOF
13732 cat confdefs.h
>>conftest.
$ac_ext
13733 cat >>conftest.
$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13747 rm -f conftest.
$ac_objext
13748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13749 (eval $ac_compile) 2>conftest.er1
13751 grep -v '^ *+' conftest.er1
>conftest.err
13753 cat conftest.err
>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } &&
13756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13758 (eval $ac_try) 2>&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; } &&
13762 { ac_try
='test -s conftest.$ac_objext'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; }; then
13768 bakefile_compiler_xlc
=yes
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.
$ac_ext >&5
13773 bakefile_compiler_xlc
=no
13775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13776 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13779 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13780 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13782 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13784 ac_cpp
='$CXXCPP $CPPFLAGS'
13785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13794 ac_cpp
='$CXXCPP $CPPFLAGS'
13795 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13796 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13797 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13799 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13800 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13801 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 cat >conftest.
$ac_ext <<_ACEOF
13807 cat confdefs.h
>>conftest.
$ac_ext
13808 cat >>conftest.
$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13822 rm -f conftest.
$ac_objext
13823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13824 (eval $ac_compile) 2>conftest.er1
13826 grep -v '^ *+' conftest.er1
>conftest.err
13828 cat conftest.err
>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } &&
13831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; } &&
13837 { ac_try
='test -s conftest.$ac_objext'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; }; then
13843 bakefile_compiler_mwerks
=yes
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.
$ac_ext >&5
13848 bakefile_compiler_mwerks
=no
13850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13851 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13854 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13855 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13857 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13859 ac_cpp
='$CXXCPP $CPPFLAGS'
13860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13866 ac_cpp
='$CXXCPP $CPPFLAGS'
13867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13871 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13872 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13873 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 cat >conftest.
$ac_ext <<_ACEOF
13879 cat confdefs.h
>>conftest.
$ac_ext
13880 cat >>conftest.
$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13894 rm -f conftest.
$ac_objext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13896 (eval $ac_compile) 2>conftest.er1
13898 grep -v '^ *+' conftest.er1
>conftest.err
13900 cat conftest.err
>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } &&
13903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905 (eval $ac_try) 2>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); }; } &&
13909 { ac_try
='test -s conftest.$ac_objext'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; }; then
13915 bakefile_compiler_xlc
=yes
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.
$ac_ext >&5
13920 bakefile_compiler_xlc
=no
13922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13923 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13926 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13927 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13929 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13931 ac_cpp
='$CXXCPP $CPPFLAGS'
13932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13943 ac_cpp
='$CXXCPP $CPPFLAGS'
13944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13948 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13949 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13950 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 cat >conftest.
$ac_ext <<_ACEOF
13956 cat confdefs.h
>>conftest.
$ac_ext
13957 cat >>conftest.
$ac_ext <<_ACEOF
13958 /* end confdefs.h. */
13964 #ifndef _SGI_COMPILER_VERSION
13972 rm -f conftest.
$ac_objext
13973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13974 (eval $ac_compile) 2>conftest.er1
13976 grep -v '^ *+' conftest.er1
>conftest.err
13978 cat conftest.err
>&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); } &&
13981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; } &&
13987 { ac_try
='test -s conftest.$ac_objext'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; }; then
13993 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13995 echo "$as_me: failed program was:" >&5
13996 sed 's/^/| /' conftest.
$ac_ext >&5
13998 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14005 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14006 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14008 ac_cpp
='$CXXCPP $CPPFLAGS'
14009 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14010 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14011 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14013 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14026 ac_cpp
='$CXXCPP $CPPFLAGS'
14027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14031 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14032 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14033 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 cat >conftest.
$ac_ext <<_ACEOF
14039 cat confdefs.h
>>conftest.
$ac_ext
14040 cat >>conftest.
$ac_ext <<_ACEOF
14041 /* end confdefs.h. */
14055 rm -f conftest.
$ac_objext
14056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14057 (eval $ac_compile) 2>conftest.er1
14059 grep -v '^ *+' conftest.er1
>conftest.err
14061 cat conftest.err
>&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); } &&
14064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; } &&
14070 { ac_try
='test -s conftest.$ac_objext'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; }; then
14076 bakefile_cv_cxx_compiler___HP_aCC
=yes
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.
$ac_ext >&5
14081 bakefile_cv_cxx_compiler___HP_aCC
=no
14084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14088 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14089 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14091 ac_cpp
='$CXXCPP $CPPFLAGS'
14092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14096 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14109 ac_cpp
='$CXXCPP $CPPFLAGS'
14110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14114 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14115 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14116 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 cat >conftest.
$ac_ext <<_ACEOF
14122 cat confdefs.h
>>conftest.
$ac_ext
14123 cat >>conftest.
$ac_ext <<_ACEOF
14124 /* end confdefs.h. */
14138 rm -f conftest.
$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>conftest.er1
14142 grep -v '^ *+' conftest.er1
>conftest.err
14144 cat conftest.err
>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; } &&
14153 { ac_try
='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 bakefile_cv_cxx_compiler___DECCXX
=yes
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.
$ac_ext >&5
14164 bakefile_cv_cxx_compiler___DECCXX
=no
14167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14171 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14172 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14174 ac_cpp
='$CXXCPP $CPPFLAGS'
14175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14179 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14192 ac_cpp
='$CXXCPP $CPPFLAGS'
14193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14197 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14198 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14199 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14202 cat >conftest.
$ac_ext <<_ACEOF
14205 cat confdefs.h
>>conftest.
$ac_ext
14206 cat >>conftest.
$ac_ext <<_ACEOF
14207 /* end confdefs.h. */
14213 #ifndef __SUNPRO_CC
14221 rm -f conftest.
$ac_objext
14222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14223 (eval $ac_compile) 2>conftest.er1
14225 grep -v '^ *+' conftest.er1
>conftest.err
14227 cat conftest.err
>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; } &&
14236 { ac_try
='test -s conftest.$ac_objext'
14237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 (eval $ac_try) 2>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; }; then
14242 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14244 echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.
$ac_ext >&5
14247 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14254 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14255 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14257 ac_cpp
='$CXXCPP $CPPFLAGS'
14258 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14259 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14260 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14262 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14275 if test -n "$ac_tool_prefix"; then
14276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14277 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14278 echo "$as_me:$LINENO: checking for $ac_word" >&5
14279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14280 if test "${ac_cv_prog_RANLIB+set}" = set; then
14281 echo $ECHO_N "(cached) $ECHO_C" >&6
14283 if test -n "$RANLIB"; then
14284 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14287 for as_dir
in $PATH
14290 test -z "$as_dir" && as_dir
=.
14291 for ac_exec_ext
in '' $ac_executable_extensions; do
14292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14293 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14302 RANLIB
=$ac_cv_prog_RANLIB
14303 if test -n "$RANLIB"; then
14304 echo "$as_me:$LINENO: result: $RANLIB" >&5
14305 echo "${ECHO_T}$RANLIB" >&6
14307 echo "$as_me:$LINENO: result: no" >&5
14308 echo "${ECHO_T}no" >&6
14312 if test -z "$ac_cv_prog_RANLIB"; then
14313 ac_ct_RANLIB
=$RANLIB
14314 # Extract the first word of "ranlib", so it can be a program name with args.
14315 set dummy ranlib
; ac_word
=$2
14316 echo "$as_me:$LINENO: checking for $ac_word" >&5
14317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 if test -n "$ac_ct_RANLIB"; then
14322 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14325 for as_dir
in $PATH
14328 test -z "$as_dir" && as_dir
=.
14329 for ac_exec_ext
in '' $ac_executable_extensions; do
14330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14331 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14341 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14342 if test -n "$ac_ct_RANLIB"; then
14343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14346 echo "$as_me:$LINENO: result: no" >&5
14347 echo "${ECHO_T}no" >&6
14350 RANLIB
=$ac_ct_RANLIB
14352 RANLIB
="$ac_cv_prog_RANLIB"
14356 if test -n "$ac_tool_prefix"; then
14357 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14358 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14359 echo "$as_me:$LINENO: checking for $ac_word" >&5
14360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14361 if test "${ac_cv_prog_AR+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 if test -n "$AR"; then
14365 ac_cv_prog_AR
="$AR" # Let the user override the test.
14367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14368 for as_dir
in $PATH
14371 test -z "$as_dir" && as_dir
=.
14372 for ac_exec_ext
in '' $ac_executable_extensions; do
14373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14374 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14384 if test -n "$AR"; then
14385 echo "$as_me:$LINENO: result: $AR" >&5
14386 echo "${ECHO_T}$AR" >&6
14388 echo "$as_me:$LINENO: result: no" >&5
14389 echo "${ECHO_T}no" >&6
14393 if test -z "$ac_cv_prog_AR"; then
14395 # Extract the first word of "ar", so it can be a program name with args.
14396 set dummy
ar; ac_word
=$2
14397 echo "$as_me:$LINENO: checking for $ac_word" >&5
14398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14399 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 if test -n "$ac_ct_AR"; then
14403 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14406 for as_dir
in $PATH
14409 test -z "$as_dir" && as_dir
=.
14410 for ac_exec_ext
in '' $ac_executable_extensions; do
14411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14412 ac_cv_prog_ac_ct_AR
="ar"
14413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14421 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14422 if test -n "$ac_ct_AR"; then
14423 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14424 echo "${ECHO_T}$ac_ct_AR" >&6
14426 echo "$as_me:$LINENO: result: no" >&5
14427 echo "${ECHO_T}no" >&6
14432 AR
="$ac_cv_prog_AR"
14435 if test "x$AR" = "x" ; then
14436 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14437 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14438 { (exit 1); exit 1; }; }
14441 # Find a good install program. We prefer a C program (faster),
14442 # so one script is as good as another. But avoid the broken or
14443 # incompatible versions:
14444 # SysV /etc/install, /usr/sbin/install
14445 # SunOS /usr/etc/install
14446 # IRIX /sbin/install
14448 # AmigaOS /C/install, which installs bootblocks on floppy discs
14449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14452 # OS/2's system install, which has a completely different semantic
14453 # ./install, which can be erroneously created by make from ./install.sh.
14454 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14455 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14456 if test -z "$INSTALL"; then
14457 if test "${ac_cv_path_install+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14461 for as_dir
in $PATH
14464 test -z "$as_dir" && as_dir
=.
14465 # Account for people who put trailing slashes in PATH elements.
14467 .
/ | .
// | /cC
/* | \
14468 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14469 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14472 # OSF1 and SCO ODT 3.0 have their own names for install.
14473 # Don't use installbsd from OSF since it installs stuff as root
14475 for ac_prog
in ginstall scoinst
install; do
14476 for ac_exec_ext
in '' $ac_executable_extensions; do
14477 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14478 if test $ac_prog = install &&
14479 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14480 # AIX install. It has an incompatible calling convention.
14482 elif test $ac_prog = install &&
14483 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14484 # program-specific install script used by HP pwplus--don't use.
14487 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14499 if test "${ac_cv_path_install+set}" = set; then
14500 INSTALL
=$ac_cv_path_install
14502 # As a last resort, use the slow shell script. We don't cache a
14503 # path for INSTALL within a source directory, because that will
14504 # break other packages using the cache if that directory is
14505 # removed, or if the path is relative.
14506 INSTALL
=$ac_install_sh
14509 echo "$as_me:$LINENO: result: $INSTALL" >&5
14510 echo "${ECHO_T}$INSTALL" >&6
14512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14513 # It thinks the first close brace ends the variable substitution.
14514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14518 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14524 ?
:* ) # Drive letter, considered as absolute.
14527 INSTALL
=`pwd`/${INSTALL} ;;
14534 INSTALL_PROGRAM
="cp -fp"
14535 INSTALL_DATA
="cp -fp"
14541 if test -n "$ac_tool_prefix"; then
14542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14543 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14544 echo "$as_me:$LINENO: checking for $ac_word" >&5
14545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14546 if test "${ac_cv_prog_STRIP+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14549 if test -n "$STRIP"; then
14550 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14553 for as_dir
in $PATH
14556 test -z "$as_dir" && as_dir
=.
14557 for ac_exec_ext
in '' $ac_executable_extensions; do
14558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14559 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14568 STRIP
=$ac_cv_prog_STRIP
14569 if test -n "$STRIP"; then
14570 echo "$as_me:$LINENO: result: $STRIP" >&5
14571 echo "${ECHO_T}$STRIP" >&6
14573 echo "$as_me:$LINENO: result: no" >&5
14574 echo "${ECHO_T}no" >&6
14578 if test -z "$ac_cv_prog_STRIP"; then
14580 # Extract the first word of "strip", so it can be a program name with args.
14581 set dummy strip
; ac_word
=$2
14582 echo "$as_me:$LINENO: checking for $ac_word" >&5
14583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14584 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 if test -n "$ac_ct_STRIP"; then
14588 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14591 for as_dir
in $PATH
14594 test -z "$as_dir" && as_dir
=.
14595 for ac_exec_ext
in '' $ac_executable_extensions; do
14596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14597 ac_cv_prog_ac_ct_STRIP
="strip"
14598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14604 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14607 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14608 if test -n "$ac_ct_STRIP"; then
14609 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14610 echo "${ECHO_T}$ac_ct_STRIP" >&6
14612 echo "$as_me:$LINENO: result: no" >&5
14613 echo "${ECHO_T}no" >&6
14618 STRIP
="$ac_cv_prog_STRIP"
14622 if test "$wxUSE_WINE" = "yes"; then
14623 if test -n "$ac_tool_prefix"; then
14624 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14625 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14626 echo "$as_me:$LINENO: checking for $ac_word" >&5
14627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14628 if test "${ac_cv_prog_WINDRES+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 if test -n "$WINDRES"; then
14632 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14635 for as_dir
in $PATH
14638 test -z "$as_dir" && as_dir
=.
14639 for ac_exec_ext
in '' $ac_executable_extensions; do
14640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14641 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14650 WINDRES
=$ac_cv_prog_WINDRES
14651 if test -n "$WINDRES"; then
14652 echo "$as_me:$LINENO: result: $WINDRES" >&5
14653 echo "${ECHO_T}$WINDRES" >&6
14655 echo "$as_me:$LINENO: result: no" >&5
14656 echo "${ECHO_T}no" >&6
14660 if test -z "$ac_cv_prog_WINDRES"; then
14661 ac_ct_WINDRES
=$WINDRES
14662 # Extract the first word of "wrc", so it can be a program name with args.
14663 set dummy wrc
; ac_word
=$2
14664 echo "$as_me:$LINENO: checking for $ac_word" >&5
14665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14666 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14667 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 if test -n "$ac_ct_WINDRES"; then
14670 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14673 for as_dir
in $PATH
14676 test -z "$as_dir" && as_dir
=.
14677 for ac_exec_ext
in '' $ac_executable_extensions; do
14678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14679 ac_cv_prog_ac_ct_WINDRES
="wrc"
14680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14688 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14689 if test -n "$ac_ct_WINDRES"; then
14690 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14691 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14693 echo "$as_me:$LINENO: result: no" >&5
14694 echo "${ECHO_T}no" >&6
14697 WINDRES
=$ac_ct_WINDRES
14699 WINDRES
="$ac_cv_prog_WINDRES"
14705 *-*-cygwin* | *-*-mingw32* )
14706 if test -n "$ac_tool_prefix"; then
14707 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14708 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14709 echo "$as_me:$LINENO: checking for $ac_word" >&5
14710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14711 if test "${ac_cv_prog_WINDRES+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 if test -n "$WINDRES"; then
14715 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14718 for as_dir
in $PATH
14721 test -z "$as_dir" && as_dir
=.
14722 for ac_exec_ext
in '' $ac_executable_extensions; do
14723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14724 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14733 WINDRES
=$ac_cv_prog_WINDRES
14734 if test -n "$WINDRES"; then
14735 echo "$as_me:$LINENO: result: $WINDRES" >&5
14736 echo "${ECHO_T}$WINDRES" >&6
14738 echo "$as_me:$LINENO: result: no" >&5
14739 echo "${ECHO_T}no" >&6
14743 if test -z "$ac_cv_prog_WINDRES"; then
14744 ac_ct_WINDRES
=$WINDRES
14745 # Extract the first word of "windres", so it can be a program name with args.
14746 set dummy windres
; ac_word
=$2
14747 echo "$as_me:$LINENO: checking for $ac_word" >&5
14748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14749 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 if test -n "$ac_ct_WINDRES"; then
14753 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14756 for as_dir
in $PATH
14759 test -z "$as_dir" && as_dir
=.
14760 for ac_exec_ext
in '' $ac_executable_extensions; do
14761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14762 ac_cv_prog_ac_ct_WINDRES
="windres"
14763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14771 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14772 if test -n "$ac_ct_WINDRES"; then
14773 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14774 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14776 echo "$as_me:$LINENO: result: no" >&5
14777 echo "${ECHO_T}no" >&6
14780 WINDRES
=$ac_ct_WINDRES
14782 WINDRES
="$ac_cv_prog_WINDRES"
14786 if test -n "$ac_tool_prefix"; then
14787 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14788 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14789 echo "$as_me:$LINENO: checking for $ac_word" >&5
14790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14791 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 if test -n "$DLLTOOL"; then
14795 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14798 for as_dir
in $PATH
14801 test -z "$as_dir" && as_dir
=.
14802 for ac_exec_ext
in '' $ac_executable_extensions; do
14803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14804 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14813 DLLTOOL
=$ac_cv_prog_DLLTOOL
14814 if test -n "$DLLTOOL"; then
14815 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14816 echo "${ECHO_T}$DLLTOOL" >&6
14818 echo "$as_me:$LINENO: result: no" >&5
14819 echo "${ECHO_T}no" >&6
14823 if test -z "$ac_cv_prog_DLLTOOL"; then
14824 ac_ct_DLLTOOL
=$DLLTOOL
14825 # Extract the first word of "dlltool", so it can be a program name with args.
14826 set dummy dlltool
; ac_word
=$2
14827 echo "$as_me:$LINENO: checking for $ac_word" >&5
14828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14829 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14832 if test -n "$ac_ct_DLLTOOL"; then
14833 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14836 for as_dir
in $PATH
14839 test -z "$as_dir" && as_dir
=.
14840 for ac_exec_ext
in '' $ac_executable_extensions; do
14841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14842 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14851 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14852 if test -n "$ac_ct_DLLTOOL"; then
14853 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14854 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14856 echo "$as_me:$LINENO: result: no" >&5
14857 echo "${ECHO_T}no" >&6
14860 DLLTOOL
=$ac_ct_DLLTOOL
14862 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14869 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14870 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14871 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14875 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14876 egrep -s GNU
> /dev
/null
); then
14877 wx_cv_prog_makeisgnu
="yes"
14879 wx_cv_prog_makeisgnu
="no"
14883 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14884 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14886 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14894 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14895 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14896 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14897 if test "${wx_cv_prog_makevpath+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 cat - << EOF > confMake
14907 if test ! -d sub
; then
14910 echo dummy
> sub
/file
14911 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14913 rm -f sub
/file check final_file confMake
14915 if test "$RESULT" = 0; then
14916 wx_cv_prog_makevpath
="yes"
14918 wx_cv_prog_makevpath
="no"
14922 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14923 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14925 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14926 { { echo "$as_me:$LINENO: error:
14927 You need a make-utility that is able to use the variable
14929 If your version of make does not support VPATH correctly,
14930 please install GNU-make (possibly as gmake), and start
14931 configure with the following command:
14932 export MAKE=gmake; ./configure for sh-type shells
14933 setenv MAKE gmake; ./configure for csh-type shells
14934 Also please do remember to use gmake in this case every time
14935 you are trying to compile.
14937 echo "$as_me: error:
14938 You need a make-utility that is able to use the variable
14940 If your version of make does not support VPATH correctly,
14941 please install GNU-make (possibly as gmake), and start
14942 configure with the following command:
14943 export MAKE=gmake; ./configure for sh-type shells
14944 setenv MAKE gmake; ./configure for csh-type shells
14945 Also please do remember to use gmake in this case every time
14946 you are trying to compile.
14948 { (exit 1); exit 1; }; }
14950 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14951 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14953 if test "$LN_S" = "ln -s"; then
14954 echo "$as_me:$LINENO: result: yes" >&5
14955 echo "${ECHO_T}yes" >&6
14957 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14958 echo "${ECHO_T}no, using $LN_S" >&6
14964 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14965 CXXFLAGS
="-qunique $CXXFLAGS"
14969 powerpc
-*-darwin* )
14970 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14971 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14972 cat >conftest.
$ac_ext <<_ACEOF
14975 cat confdefs.h
>>conftest.
$ac_ext
14976 cat >>conftest.
$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14982 #ifndef __POWERPC__
14983 choke me for lack of PowerPC
14990 rm -f conftest.
$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14994 grep -v '^ *+' conftest.er1
>conftest.err
14996 cat conftest.err
>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; } &&
15005 { ac_try
='test -s conftest.$ac_objext'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; }; then
15011 echo "$as_me:$LINENO: result: yes" >&5
15012 echo "${ECHO_T}yes" >&6
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.
$ac_ext >&5
15017 echo "$as_me:$LINENO: result: no" >&5
15018 echo "${ECHO_T}no" >&6
15019 cat >>confdefs.h
<<\_ACEOF
15020 #define __POWERPC__ 1
15025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15031 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15032 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15033 cat >conftest.
$ac_ext <<_ACEOF
15036 cat confdefs.h
>>conftest.
$ac_ext
15037 cat >>conftest.
$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15039 #include <CoreFoundation/CFBase.h>
15049 rm -f conftest.
$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051 (eval $ac_compile) 2>conftest.er1
15053 grep -v '^ *+' conftest.er1
>conftest.err
15055 cat conftest.err
>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; } &&
15064 { ac_try
='test -s conftest.$ac_objext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 echo "$as_me:$LINENO: result: yes" >&5
15071 echo "${ECHO_T}yes" >&6
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15076 echo "$as_me:$LINENO: result: no" >&5
15077 echo "${ECHO_T}no" >&6
15078 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15079 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15080 cat >conftest.
$ac_ext <<_ACEOF
15083 cat confdefs.h
>>conftest.
$ac_ext
15084 cat >>conftest.
$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 #define __CF_USE_FRAMEWORK_INCLUDES__
15087 #include <CoreFoundation/CFBase.h>
15097 rm -f conftest.
$ac_objext
15098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15099 (eval $ac_compile) 2>conftest.er1
15101 grep -v '^ *+' conftest.er1
>conftest.err
15103 cat conftest.err
>&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; } &&
15112 { ac_try
='test -s conftest.$ac_objext'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; }; then
15118 echo "$as_me:$LINENO: result: yes" >&5
15119 echo "${ECHO_T}yes" >&6
15120 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15122 echo "$as_me: failed program was:" >&5
15123 sed 's/^/| /' conftest.
$ac_ext >&5
15125 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15126 See \`config.log' for more details." >&5
15127 echo "$as_me: error: no. CoreFoundation not available.
15128 See \`config.log' for more details." >&2;}
15129 { (exit 1); exit 1; }; }
15132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15141 *-pc-os2_emx | *-pc-os2-emx )
15142 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15143 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15144 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15145 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 ac_check_lib_save_LIBS
=$LIBS
15149 LIBS
="-lcExt $LIBS"
15150 cat >conftest.
$ac_ext <<_ACEOF
15153 cat confdefs.h
>>conftest.
$ac_ext
15154 cat >>conftest.
$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15157 /* Override any gcc2 internal prototype to avoid an error. */
15161 /* We use char because int might match the return type of a gcc2
15162 builtin and then its argument prototype would still apply. */
15172 rm -f conftest.
$ac_objext conftest
$ac_exeext
15173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15174 (eval $ac_link) 2>conftest.er1
15176 grep -v '^ *+' conftest.er1
>conftest.err
15178 cat conftest.err
>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try
='test -s conftest$ac_exeext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 ac_cv_lib_cExt_drand48
=yes
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.
$ac_ext >&5
15198 ac_cv_lib_cExt_drand48
=no
15200 rm -f conftest.err conftest.
$ac_objext \
15201 conftest
$ac_exeext conftest.
$ac_ext
15202 LIBS
=$ac_check_lib_save_LIBS
15204 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15205 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15206 if test $ac_cv_lib_cExt_drand48 = yes; then
15207 LIBS
="$LIBS -lcExt"
15211 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15213 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15214 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15215 if test "${wx_cv_gccversion+set}" = set; then
15216 echo $ECHO_N "(cached) $ECHO_C" >&6
15219 if test "$cross_compiling" = yes; then
15220 wx_cv_gccversion
="EMX2"
15223 cat >conftest.
$ac_ext <<_ACEOF
15226 cat confdefs.h
>>conftest.
$ac_ext
15227 cat >>conftest.
$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15234 FILE *f=fopen("conftestval", "w");
15239 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15241 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15251 rm -f conftest
$ac_exeext
15252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15253 (eval $ac_link) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 wx_cv_gccversion
=`cat conftestval`
15264 echo "$as_me: program exited with status $ac_status" >&5
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.
$ac_ext >&5
15268 ( exit $ac_status )
15269 wx_cv_gccversion
="EMX2"
15271 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15275 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15276 echo "${ECHO_T}$wx_cv_gccversion" >&6
15277 if test "$wx_cv_gccversion" = "EMX2"; then
15278 LIBS
="$LIBS -lstdcpp"
15279 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15281 if test "$wx_cv_gccversion" = "EMX3"; then
15282 LIBS
="$LIBS -lstdcxx -lgcc"
15283 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15285 LIBS
="$LIBS -lstdc++"
15288 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15289 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15290 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15297 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15298 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15299 if test "${ac_cv_string_strcasecmp+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 cat >conftest.
$ac_ext <<_ACEOF
15306 cat confdefs.h
>>conftest.
$ac_ext
15307 cat >>conftest.
$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15310 #include <string.h>
15316 strcasecmp("foo", "bar");
15322 rm -f conftest.
$ac_objext conftest
$ac_exeext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15324 (eval $ac_link) 2>conftest.er1
15326 grep -v '^ *+' conftest.er1
>conftest.err
15328 cat conftest.err
>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } &&
15331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; } &&
15337 { ac_try
='test -s conftest$ac_exeext'
15338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15339 (eval $ac_try) 2>&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); }; }; then
15343 ac_cv_string_strcasecmp
=yes
15345 echo "$as_me: failed program was:" >&5
15346 sed 's/^/| /' conftest.
$ac_ext >&5
15348 ac_cv_string_strcasecmp
=no
15351 rm -f conftest.err conftest.
$ac_objext \
15352 conftest
$ac_exeext conftest.
$ac_ext
15355 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15356 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15358 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15359 cat >>confdefs.h
<<\_ACEOF
15360 #define HAVE_STRCASECMP_IN_STRING_H 1
15364 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15365 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15366 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 cat >conftest.
$ac_ext <<_ACEOF
15373 cat confdefs.h
>>conftest.
$ac_ext
15374 cat >>conftest.
$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15377 #include <strings.h>
15383 strcasecmp("foo", "bar");
15389 rm -f conftest.
$ac_objext conftest
$ac_exeext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15391 (eval $ac_link) 2>conftest.er1
15393 grep -v '^ *+' conftest.er1
>conftest.err
15395 cat conftest.err
>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; } &&
15404 { ac_try
='test -s conftest$ac_exeext'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; }; then
15410 ac_cv_strings_strcasecmp
=yes
15412 echo "$as_me: failed program was:" >&5
15413 sed 's/^/| /' conftest.
$ac_ext >&5
15415 ac_cv_strings_strcasecmp
=no
15418 rm -f conftest.err conftest.
$ac_objext \
15419 conftest
$ac_exeext conftest.
$ac_ext
15422 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15423 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15425 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15426 cat >>confdefs.h
<<\_ACEOF
15427 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15431 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15432 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15433 { (exit 1); exit 1; }; }
15442 ac_cpp
='$CXXCPP $CPPFLAGS'
15443 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15444 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15445 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15446 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15447 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15448 if test -z "$CXXCPP"; then
15449 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 # Double quotes because CXXCPP needs to be expanded
15453 for CXXCPP
in "$CXX -E" "/lib/cpp"
15455 ac_preproc_ok
=false
15456 for ac_cxx_preproc_warn_flag
in '' yes
15458 # Use a header file that comes with gcc, so configuring glibc
15459 # with a fresh cross-compiler works.
15460 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15461 # <limits.h> exists even on freestanding compilers.
15462 # On the NeXT, cc -E runs the code through the compiler's parser,
15463 # not just through cpp. "Syntax error" is here to catch this case.
15464 cat >conftest.
$ac_ext <<_ACEOF
15467 cat confdefs.h
>>conftest.
$ac_ext
15468 cat >>conftest.
$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15471 # include <limits.h>
15473 # include <assert.h>
15477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15480 grep -v '^ *+' conftest.er1
>conftest.err
15482 cat conftest.err
>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } >/dev
/null
; then
15485 if test -s conftest.err
; then
15486 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15487 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15494 if test -z "$ac_cpp_err"; then
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.
$ac_ext >&5
15500 # Broken: fails on valid input.
15503 rm -f conftest.err conftest.
$ac_ext
15505 # OK, works on sane cases. Now check whether non-existent headers
15506 # can be detected and how.
15507 cat >conftest.
$ac_ext <<_ACEOF
15510 cat confdefs.h
>>conftest.
$ac_ext
15511 cat >>conftest.
$ac_ext <<_ACEOF
15512 /* end confdefs.h. */
15513 #include <ac_nonexistent.h>
15515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15518 grep -v '^ *+' conftest.er1
>conftest.err
15520 cat conftest.err
>&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); } >/dev
/null
; then
15523 if test -s conftest.err
; then
15524 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15525 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15532 if test -z "$ac_cpp_err"; then
15533 # Broken: success on invalid input.
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.
$ac_ext >&5
15539 # Passes both tests.
15543 rm -f conftest.err conftest.
$ac_ext
15546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15547 rm -f conftest.err conftest.
$ac_ext
15548 if $ac_preproc_ok; then
15553 ac_cv_prog_CXXCPP
=$CXXCPP
15556 CXXCPP
=$ac_cv_prog_CXXCPP
15558 ac_cv_prog_CXXCPP
=$CXXCPP
15560 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15561 echo "${ECHO_T}$CXXCPP" >&6
15562 ac_preproc_ok
=false
15563 for ac_cxx_preproc_warn_flag
in '' yes
15565 # Use a header file that comes with gcc, so configuring glibc
15566 # with a fresh cross-compiler works.
15567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15568 # <limits.h> exists even on freestanding compilers.
15569 # On the NeXT, cc -E runs the code through the compiler's parser,
15570 # not just through cpp. "Syntax error" is here to catch this case.
15571 cat >conftest.
$ac_ext <<_ACEOF
15574 cat confdefs.h
>>conftest.
$ac_ext
15575 cat >>conftest.
$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15578 # include <limits.h>
15580 # include <assert.h>
15584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15585 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15587 grep -v '^ *+' conftest.er1
>conftest.err
15589 cat conftest.err
>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } >/dev
/null
; then
15592 if test -s conftest.err
; then
15593 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15594 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15601 if test -z "$ac_cpp_err"; then
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.
$ac_ext >&5
15607 # Broken: fails on valid input.
15610 rm -f conftest.err conftest.
$ac_ext
15612 # OK, works on sane cases. Now check whether non-existent headers
15613 # can be detected and how.
15614 cat >conftest.
$ac_ext <<_ACEOF
15617 cat confdefs.h
>>conftest.
$ac_ext
15618 cat >>conftest.
$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15620 #include <ac_nonexistent.h>
15622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15625 grep -v '^ *+' conftest.er1
>conftest.err
15627 cat conftest.err
>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } >/dev
/null
; then
15630 if test -s conftest.err
; then
15631 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15632 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15639 if test -z "$ac_cpp_err"; then
15640 # Broken: success on invalid input.
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.
$ac_ext >&5
15646 # Passes both tests.
15650 rm -f conftest.err conftest.
$ac_ext
15653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15654 rm -f conftest.err conftest.
$ac_ext
15655 if $ac_preproc_ok; then
15658 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15659 See \`config.log' for more details." >&5
15660 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15661 See \`config.log' for more details." >&2;}
15662 { (exit 1); exit 1; }; }
15666 ac_cpp
='$CXXCPP $CPPFLAGS'
15667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15672 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15673 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15674 if test "${ac_cv_header_stdc+set}" = set; then
15675 echo $ECHO_N "(cached) $ECHO_C" >&6
15677 cat >conftest.
$ac_ext <<_ACEOF
15680 cat confdefs.h
>>conftest.
$ac_ext
15681 cat >>conftest.
$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683 #include <stdlib.h>
15684 #include <stdarg.h>
15685 #include <string.h>
15696 rm -f conftest.
$ac_objext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15698 (eval $ac_compile) 2>conftest.er1
15700 grep -v '^ *+' conftest.er1
>conftest.err
15702 cat conftest.err
>&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; } &&
15711 { ac_try
='test -s conftest.$ac_objext'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; }; then
15717 ac_cv_header_stdc
=yes
15719 echo "$as_me: failed program was:" >&5
15720 sed 's/^/| /' conftest.
$ac_ext >&5
15722 ac_cv_header_stdc
=no
15724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15726 if test $ac_cv_header_stdc = yes; then
15727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15728 cat >conftest.
$ac_ext <<_ACEOF
15731 cat confdefs.h
>>conftest.
$ac_ext
15732 cat >>conftest.
$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 #include <string.h>
15737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15738 $EGREP "memchr" >/dev
/null
2>&1; then
15741 ac_cv_header_stdc
=no
15747 if test $ac_cv_header_stdc = yes; then
15748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15749 cat >conftest.
$ac_ext <<_ACEOF
15752 cat confdefs.h
>>conftest.
$ac_ext
15753 cat >>conftest.
$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 #include <stdlib.h>
15758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15759 $EGREP "free" >/dev
/null
2>&1; then
15762 ac_cv_header_stdc
=no
15768 if test $ac_cv_header_stdc = yes; then
15769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15770 if test "$cross_compiling" = yes; then
15773 cat >conftest.
$ac_ext <<_ACEOF
15776 cat confdefs.h
>>conftest.
$ac_ext
15777 cat >>conftest.
$ac_ext <<_ACEOF
15778 /* end confdefs.h. */
15780 #if ((' ' & 0x0FF) == 0x020)
15781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15784 # define ISLOWER(c) \
15785 (('a' <= (c) && (c) <= 'i') \
15786 || ('j' <= (c) && (c) <= 'r') \
15787 || ('s' <= (c) && (c) <= 'z'))
15788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15796 for (i = 0; i < 256; i++)
15797 if (XOR (islower (i), ISLOWER (i))
15798 || toupper (i) != TOUPPER (i))
15803 rm -f conftest
$ac_exeext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15805 (eval $ac_link) 2>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15810 (eval $ac_try) 2>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); }; }; then
15816 echo "$as_me: program exited with status $ac_status" >&5
15817 echo "$as_me: failed program was:" >&5
15818 sed 's/^/| /' conftest.
$ac_ext >&5
15820 ( exit $ac_status )
15821 ac_cv_header_stdc
=no
15823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15827 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15828 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15829 if test $ac_cv_header_stdc = yes; then
15831 cat >>confdefs.h
<<\_ACEOF
15832 #define STDC_HEADERS 1
15837 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15847 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15848 inttypes.h stdint.h unistd.h
15850 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15851 echo "$as_me:$LINENO: checking for $ac_header" >&5
15852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 cat >conftest.
$ac_ext <<_ACEOF
15859 cat confdefs.h
>>conftest.
$ac_ext
15860 cat >>conftest.
$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862 $ac_includes_default
15864 #include <$ac_header>
15866 rm -f conftest.
$ac_objext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>conftest.er1
15870 grep -v '^ *+' conftest.er1
>conftest.err
15872 cat conftest.err
>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try
='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 eval "$as_ac_Header=yes"
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.
$ac_ext >&5
15892 eval "$as_ac_Header=no"
15894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15899 cat >>confdefs.h
<<_ACEOF
15900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15909 for ac_header
in stdlib.h
15911 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15913 echo "$as_me:$LINENO: checking for $ac_header" >&5
15914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15921 # Is the header compilable?
15922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15924 cat >conftest.
$ac_ext <<_ACEOF
15927 cat confdefs.h
>>conftest.
$ac_ext
15928 cat >>conftest.
$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15930 $ac_includes_default
15931 #include <$ac_header>
15933 rm -f conftest.
$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1
>conftest.err
15939 cat conftest.err
>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try
='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_header_compiler
=yes
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.
$ac_ext >&5
15959 ac_header_compiler
=no
15961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15963 echo "${ECHO_T}$ac_header_compiler" >&6
15965 # Is the header present?
15966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15968 cat >conftest.
$ac_ext <<_ACEOF
15971 cat confdefs.h
>>conftest.
$ac_ext
15972 cat >>conftest.
$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 #include <$ac_header>
15976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1
>conftest.err
15981 cat conftest.err
>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } >/dev
/null
; then
15984 if test -s conftest.err
; then
15985 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15986 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15993 if test -z "$ac_cpp_err"; then
15994 ac_header_preproc
=yes
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.
$ac_ext >&5
15999 ac_header_preproc
=no
16001 rm -f conftest.err conftest.
$ac_ext
16002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16003 echo "${ECHO_T}$ac_header_preproc" >&6
16005 # So? What about this header?
16006 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16012 ac_header_preproc
=yes
16015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16029 ## ----------------------------------------- ##
16030 ## Report this to wx-dev@lists.wxwidgets.org ##
16031 ## ----------------------------------------- ##
16034 sed "s/^/$as_me: WARNING: /" >&2
16037 echo "$as_me:$LINENO: checking for $ac_header" >&5
16038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 eval "$as_ac_Header=\$ac_header_preproc"
16044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16049 cat >>confdefs.h
<<_ACEOF
16050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16058 for ac_header
in malloc.h
16060 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16062 echo "$as_me:$LINENO: checking for $ac_header" >&5
16063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16070 # Is the header compilable?
16071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16073 cat >conftest.
$ac_ext <<_ACEOF
16076 cat confdefs.h
>>conftest.
$ac_ext
16077 cat >>conftest.
$ac_ext <<_ACEOF
16078 /* end confdefs.h. */
16079 $ac_includes_default
16080 #include <$ac_header>
16082 rm -f conftest.
$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084 (eval $ac_compile) 2>conftest.er1
16086 grep -v '^ *+' conftest.er1
>conftest.err
16088 cat conftest.err
>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } &&
16091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; } &&
16097 { ac_try
='test -s conftest.$ac_objext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16103 ac_header_compiler
=yes
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.
$ac_ext >&5
16108 ac_header_compiler
=no
16110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16112 echo "${ECHO_T}$ac_header_compiler" >&6
16114 # Is the header present?
16115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16117 cat >conftest.
$ac_ext <<_ACEOF
16120 cat confdefs.h
>>conftest.
$ac_ext
16121 cat >>conftest.
$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 #include <$ac_header>
16125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16128 grep -v '^ *+' conftest.er1
>conftest.err
16130 cat conftest.err
>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } >/dev
/null
; then
16133 if test -s conftest.err
; then
16134 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16135 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16142 if test -z "$ac_cpp_err"; then
16143 ac_header_preproc
=yes
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.
$ac_ext >&5
16148 ac_header_preproc
=no
16150 rm -f conftest.err conftest.
$ac_ext
16151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16152 echo "${ECHO_T}$ac_header_preproc" >&6
16154 # So? What about this header?
16155 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16161 ac_header_preproc
=yes
16164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16178 ## ----------------------------------------- ##
16179 ## Report this to wx-dev@lists.wxwidgets.org ##
16180 ## ----------------------------------------- ##
16183 sed "s/^/$as_me: WARNING: /" >&2
16186 echo "$as_me:$LINENO: checking for $ac_header" >&5
16187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16191 eval "$as_ac_Header=\$ac_header_preproc"
16193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16198 cat >>confdefs.h
<<_ACEOF
16199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16207 for ac_header
in unistd.h
16209 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16211 echo "$as_me:$LINENO: checking for $ac_header" >&5
16212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16219 # Is the header compilable?
16220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16222 cat >conftest.
$ac_ext <<_ACEOF
16225 cat confdefs.h
>>conftest.
$ac_ext
16226 cat >>conftest.
$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16228 $ac_includes_default
16229 #include <$ac_header>
16231 rm -f conftest.
$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233 (eval $ac_compile) 2>conftest.er1
16235 grep -v '^ *+' conftest.er1
>conftest.err
16237 cat conftest.err
>&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } &&
16240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 (eval $ac_try) 2>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; } &&
16246 { ac_try
='test -s conftest.$ac_objext'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; }; then
16252 ac_header_compiler
=yes
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.
$ac_ext >&5
16257 ac_header_compiler
=no
16259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16261 echo "${ECHO_T}$ac_header_compiler" >&6
16263 # Is the header present?
16264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16266 cat >conftest.
$ac_ext <<_ACEOF
16269 cat confdefs.h
>>conftest.
$ac_ext
16270 cat >>conftest.
$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 #include <$ac_header>
16274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev
/null
; then
16282 if test -s conftest.err
; then
16283 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16284 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16291 if test -z "$ac_cpp_err"; then
16292 ac_header_preproc
=yes
16294 echo "$as_me: failed program was:" >&5
16295 sed 's/^/| /' conftest.
$ac_ext >&5
16297 ac_header_preproc
=no
16299 rm -f conftest.err conftest.
$ac_ext
16300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16301 echo "${ECHO_T}$ac_header_preproc" >&6
16303 # So? What about this header?
16304 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16310 ac_header_preproc
=yes
16313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16327 ## ----------------------------------------- ##
16328 ## Report this to wx-dev@lists.wxwidgets.org ##
16329 ## ----------------------------------------- ##
16332 sed "s/^/$as_me: WARNING: /" >&2
16335 echo "$as_me:$LINENO: checking for $ac_header" >&5
16336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16340 eval "$as_ac_Header=\$ac_header_preproc"
16342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16347 cat >>confdefs.h
<<_ACEOF
16348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16356 for ac_header
in wchar.h
16358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16360 echo "$as_me:$LINENO: checking for $ac_header" >&5
16361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16363 echo $ECHO_N "(cached) $ECHO_C" >&6
16365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16368 # Is the header compilable?
16369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16371 cat >conftest.
$ac_ext <<_ACEOF
16374 cat confdefs.h
>>conftest.
$ac_ext
16375 cat >>conftest.
$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 $ac_includes_default
16378 #include <$ac_header>
16380 rm -f conftest.
$ac_objext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16382 (eval $ac_compile) 2>conftest.er1
16384 grep -v '^ *+' conftest.er1
>conftest.err
16386 cat conftest.err
>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; } &&
16395 { ac_try
='test -s conftest.$ac_objext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16401 ac_header_compiler
=yes
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.
$ac_ext >&5
16406 ac_header_compiler
=no
16408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16410 echo "${ECHO_T}$ac_header_compiler" >&6
16412 # Is the header present?
16413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16415 cat >conftest.
$ac_ext <<_ACEOF
16418 cat confdefs.h
>>conftest.
$ac_ext
16419 cat >>conftest.
$ac_ext <<_ACEOF
16420 /* end confdefs.h. */
16421 #include <$ac_header>
16423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16424 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16426 grep -v '^ *+' conftest.er1
>conftest.err
16428 cat conftest.err
>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } >/dev
/null
; then
16431 if test -s conftest.err
; then
16432 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16433 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16440 if test -z "$ac_cpp_err"; then
16441 ac_header_preproc
=yes
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.
$ac_ext >&5
16446 ac_header_preproc
=no
16448 rm -f conftest.err conftest.
$ac_ext
16449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16450 echo "${ECHO_T}$ac_header_preproc" >&6
16452 # So? What about this header?
16453 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16459 ac_header_preproc
=yes
16462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16476 ## ----------------------------------------- ##
16477 ## Report this to wx-dev@lists.wxwidgets.org ##
16478 ## ----------------------------------------- ##
16481 sed "s/^/$as_me: WARNING: /" >&2
16484 echo "$as_me:$LINENO: checking for $ac_header" >&5
16485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 eval "$as_ac_Header=\$ac_header_preproc"
16491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16496 cat >>confdefs.h
<<_ACEOF
16497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16505 if test "$ac_cv_header_wchar_h" != "yes"; then
16507 for ac_header
in wcstr.h
16509 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16511 echo "$as_me:$LINENO: checking for $ac_header" >&5
16512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16514 echo $ECHO_N "(cached) $ECHO_C" >&6
16516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16519 # Is the header compilable?
16520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16522 cat >conftest.
$ac_ext <<_ACEOF
16525 cat confdefs.h
>>conftest.
$ac_ext
16526 cat >>conftest.
$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 $ac_includes_default
16529 #include <$ac_header>
16531 rm -f conftest.
$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>conftest.er1
16535 grep -v '^ *+' conftest.er1
>conftest.err
16537 cat conftest.err
>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } &&
16540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try
='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_header_compiler
=yes
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.
$ac_ext >&5
16557 ac_header_compiler
=no
16559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16561 echo "${ECHO_T}$ac_header_compiler" >&6
16563 # Is the header present?
16564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16566 cat >conftest.
$ac_ext <<_ACEOF
16569 cat confdefs.h
>>conftest.
$ac_ext
16570 cat >>conftest.
$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 #include <$ac_header>
16574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16577 grep -v '^ *+' conftest.er1
>conftest.err
16579 cat conftest.err
>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } >/dev
/null
; then
16582 if test -s conftest.err
; then
16583 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16584 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16591 if test -z "$ac_cpp_err"; then
16592 ac_header_preproc
=yes
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.
$ac_ext >&5
16597 ac_header_preproc
=no
16599 rm -f conftest.err conftest.
$ac_ext
16600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16601 echo "${ECHO_T}$ac_header_preproc" >&6
16603 # So? What about this header?
16604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16610 ac_header_preproc
=yes
16613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16627 ## ----------------------------------------- ##
16628 ## Report this to wx-dev@lists.wxwidgets.org ##
16629 ## ----------------------------------------- ##
16632 sed "s/^/$as_me: WARNING: /" >&2
16635 echo "$as_me:$LINENO: checking for $ac_header" >&5
16636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 eval "$as_ac_Header=\$ac_header_preproc"
16642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16647 cat >>confdefs.h
<<_ACEOF
16648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16658 for ac_header
in fnmatch.h
16660 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16670 # Is the header compilable?
16671 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16672 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16673 cat >conftest.
$ac_ext <<_ACEOF
16676 cat confdefs.h
>>conftest.
$ac_ext
16677 cat >>conftest.
$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 $ac_includes_default
16680 #include <$ac_header>
16682 rm -f conftest.
$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>conftest.er1
16686 grep -v '^ *+' conftest.er1
>conftest.err
16688 cat conftest.err
>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; } &&
16697 { ac_try
='test -s conftest.$ac_objext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16703 ac_header_compiler
=yes
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.
$ac_ext >&5
16708 ac_header_compiler
=no
16710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16712 echo "${ECHO_T}$ac_header_compiler" >&6
16714 # Is the header present?
16715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16717 cat >conftest.
$ac_ext <<_ACEOF
16720 cat confdefs.h
>>conftest.
$ac_ext
16721 cat >>conftest.
$ac_ext <<_ACEOF
16722 /* end confdefs.h. */
16723 #include <$ac_header>
16725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16728 grep -v '^ *+' conftest.er1
>conftest.err
16730 cat conftest.err
>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } >/dev
/null
; then
16733 if test -s conftest.err
; then
16734 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16735 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16742 if test -z "$ac_cpp_err"; then
16743 ac_header_preproc
=yes
16745 echo "$as_me: failed program was:" >&5
16746 sed 's/^/| /' conftest.
$ac_ext >&5
16748 ac_header_preproc
=no
16750 rm -f conftest.err conftest.
$ac_ext
16751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16752 echo "${ECHO_T}$ac_header_preproc" >&6
16754 # So? What about this header?
16755 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16761 ac_header_preproc
=yes
16764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16768 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16770 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16771 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16774 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16778 ## ----------------------------------------- ##
16779 ## Report this to wx-dev@lists.wxwidgets.org ##
16780 ## ----------------------------------------- ##
16783 sed "s/^/$as_me: WARNING: /" >&2
16786 echo "$as_me:$LINENO: checking for $ac_header" >&5
16787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 eval "$as_ac_Header=\$ac_header_preproc"
16793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16798 cat >>confdefs.h
<<_ACEOF
16799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16808 for ac_header
in langinfo.h
16810 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16812 echo "$as_me:$LINENO: checking for $ac_header" >&5
16813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16820 # Is the header compilable?
16821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16823 cat >conftest.
$ac_ext <<_ACEOF
16826 cat confdefs.h
>>conftest.
$ac_ext
16827 cat >>conftest.
$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 $ac_includes_default
16830 #include <$ac_header>
16832 rm -f conftest.
$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16836 grep -v '^ *+' conftest.er1
>conftest.err
16838 cat conftest.err
>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try
='test -s conftest.$ac_objext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_header_compiler
=yes
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.
$ac_ext >&5
16858 ac_header_compiler
=no
16860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16862 echo "${ECHO_T}$ac_header_compiler" >&6
16864 # Is the header present?
16865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16867 cat >conftest.
$ac_ext <<_ACEOF
16870 cat confdefs.h
>>conftest.
$ac_ext
16871 cat >>conftest.
$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873 #include <$ac_header>
16875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16878 grep -v '^ *+' conftest.er1
>conftest.err
16880 cat conftest.err
>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } >/dev
/null
; then
16883 if test -s conftest.err
; then
16884 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16885 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16892 if test -z "$ac_cpp_err"; then
16893 ac_header_preproc
=yes
16895 echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.
$ac_ext >&5
16898 ac_header_preproc
=no
16900 rm -f conftest.err conftest.
$ac_ext
16901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16902 echo "${ECHO_T}$ac_header_preproc" >&6
16904 # So? What about this header?
16905 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16911 ac_header_preproc
=yes
16914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16928 ## ----------------------------------------- ##
16929 ## Report this to wx-dev@lists.wxwidgets.org ##
16930 ## ----------------------------------------- ##
16933 sed "s/^/$as_me: WARNING: /" >&2
16936 echo "$as_me:$LINENO: checking for $ac_header" >&5
16937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 eval "$as_ac_Header=\$ac_header_preproc"
16943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16948 cat >>confdefs.h
<<_ACEOF
16949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16958 *-pc-os2_emx | *-pc-os2-emx )
16959 if test $ac_cv_header_langinfo_h = "yes" \
16960 -a \
( "$wx_cv_gccversion" = "EMX2" \
16961 -o "$wx_cv_gccversion" = "EMX3" \
16962 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16963 LIBS
="$LIBS -lintl"
16969 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16970 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16971 if test "${ac_cv_c_const+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16974 cat >conftest.
$ac_ext <<_ACEOF
16977 cat confdefs.h
>>conftest.
$ac_ext
16978 cat >>conftest.
$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16984 /* FIXME: Include the comments suggested by Paul. */
16985 #ifndef __cplusplus
16986 /* Ultrix mips cc rejects this. */
16987 typedef int charset[2];
16989 /* SunOS 4.1.1 cc rejects this. */
16990 char const *const *ccp;
16992 /* NEC SVR4.0.2 mips cc rejects this. */
16993 struct point {int x, y;};
16994 static struct point const zero = {0,0};
16995 /* AIX XL C 1.02.0.0 rejects this.
16996 It does not let you subtract one const X* pointer from another in
16997 an arm of an if-expression whose if-part is not a constant
16999 const char *g = "string";
17000 ccp = &g + (g ? g-g : 0);
17001 /* HPUX 7.0 cc rejects these. */
17004 ccp = (char const *const *) p;
17005 { /* SCO 3.2v4 cc rejects this. */
17007 char const *s = 0 ? (char *) 0 : (char const *) 0;
17011 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17012 int x[] = {25, 17};
17013 const int *foo = &x[0];
17016 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17017 typedef const int *iptr;
17021 { /* AIX XL C 1.02.0.0 rejects this saying
17022 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17023 struct s { int j; const int *ap[3]; };
17024 struct s *b; b->j = 5;
17026 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17027 const int foo = 10;
17035 rm -f conftest.
$ac_objext
17036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17037 (eval $ac_compile) 2>conftest.er1
17039 grep -v '^ *+' conftest.er1
>conftest.err
17041 cat conftest.err
>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } &&
17044 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; } &&
17050 { ac_try
='test -s conftest.$ac_objext'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; }; then
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.
$ac_ext >&5
17063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17065 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17066 echo "${ECHO_T}$ac_cv_c_const" >&6
17067 if test $ac_cv_c_const = no
; then
17069 cat >>confdefs.h
<<\_ACEOF
17075 echo "$as_me:$LINENO: checking for inline" >&5
17076 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17077 if test "${ac_cv_c_inline+set}" = set; then
17078 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 for ac_kw
in inline __inline__ __inline
; do
17082 cat >conftest.
$ac_ext <<_ACEOF
17085 cat confdefs.h
>>conftest.
$ac_ext
17086 cat >>conftest.
$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 #ifndef __cplusplus
17090 static $ac_kw foo_t static_foo () {return 0; }
17091 $ac_kw foo_t foo () {return 0; }
17095 rm -f conftest.
$ac_objext
17096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17097 (eval $ac_compile) 2>conftest.er1
17099 grep -v '^ *+' conftest.er1
>conftest.err
17101 cat conftest.err
>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } &&
17104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; } &&
17110 { ac_try
='test -s conftest.$ac_objext'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; }; then
17116 ac_cv_c_inline
=$ac_kw; break
17118 echo "$as_me: failed program was:" >&5
17119 sed 's/^/| /' conftest.
$ac_ext >&5
17122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17126 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17127 echo "${ECHO_T}$ac_cv_c_inline" >&6
17130 case $ac_cv_c_inline in
17133 case $ac_cv_c_inline in
17135 *) ac_val
=$ac_cv_c_inline;;
17137 cat >>confdefs.h
<<_ACEOF
17138 #ifndef __cplusplus
17139 #define inline $ac_val
17146 echo "$as_me:$LINENO: checking for char" >&5
17147 echo $ECHO_N "checking for char... $ECHO_C" >&6
17148 if test "${ac_cv_type_char+set}" = set; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 cat >conftest.
$ac_ext <<_ACEOF
17154 cat confdefs.h
>>conftest.
$ac_ext
17155 cat >>conftest.
$ac_ext <<_ACEOF
17156 /* end confdefs.h. */
17157 $ac_includes_default
17169 rm -f conftest.
$ac_objext
17170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17171 (eval $ac_compile) 2>conftest.er1
17173 grep -v '^ *+' conftest.er1
>conftest.err
17175 cat conftest.err
>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); } &&
17178 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17180 (eval $ac_try) 2>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); }; } &&
17184 { ac_try
='test -s conftest.$ac_objext'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; }; then
17190 ac_cv_type_char
=yes
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.
$ac_ext >&5
17197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17199 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17200 echo "${ECHO_T}$ac_cv_type_char" >&6
17202 echo "$as_me:$LINENO: checking size of char" >&5
17203 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17204 if test "${ac_cv_sizeof_char+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 if test "$ac_cv_type_char" = yes; then
17208 # The cast to unsigned long works around a bug in the HP C Compiler
17209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17211 # This bug is HP SR number 8606223364.
17212 if test "$cross_compiling" = yes; then
17213 # Depending upon the size, compute the lo and hi bounds.
17214 cat >conftest.
$ac_ext <<_ACEOF
17217 cat confdefs.h
>>conftest.
$ac_ext
17218 cat >>conftest.
$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 $ac_includes_default
17224 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17231 rm -f conftest.
$ac_objext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17233 (eval $ac_compile) 2>conftest.er1
17235 grep -v '^ *+' conftest.er1
>conftest.err
17237 cat conftest.err
>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; } &&
17246 { ac_try
='test -s conftest.$ac_objext'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; }; then
17254 cat >conftest.
$ac_ext <<_ACEOF
17257 cat confdefs.h
>>conftest.
$ac_ext
17258 cat >>conftest.
$ac_ext <<_ACEOF
17259 /* end confdefs.h. */
17260 $ac_includes_default
17264 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17271 rm -f conftest.
$ac_objext
17272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17273 (eval $ac_compile) 2>conftest.er1
17275 grep -v '^ *+' conftest.er1
>conftest.err
17277 cat conftest.err
>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } &&
17280 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; } &&
17286 { ac_try
='test -s conftest.$ac_objext'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; }; then
17292 ac_hi
=$ac_mid; break
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.
$ac_ext >&5
17297 ac_lo
=`expr $ac_mid + 1`
17298 if test $ac_lo -le $ac_mid; then
17302 ac_mid
=`expr 2 '*' $ac_mid + 1`
17304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.
$ac_ext >&5
17310 cat >conftest.
$ac_ext <<_ACEOF
17313 cat confdefs.h
>>conftest.
$ac_ext
17314 cat >>conftest.
$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 $ac_includes_default
17320 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17327 rm -f conftest.
$ac_objext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17329 (eval $ac_compile) 2>conftest.er1
17331 grep -v '^ *+' conftest.er1
>conftest.err
17333 cat conftest.err
>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } &&
17336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; } &&
17342 { ac_try
='test -s conftest.$ac_objext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17350 cat >conftest.
$ac_ext <<_ACEOF
17353 cat confdefs.h
>>conftest.
$ac_ext
17354 cat >>conftest.
$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356 $ac_includes_default
17360 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17367 rm -f conftest.
$ac_objext
17368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17369 (eval $ac_compile) 2>conftest.er1
17371 grep -v '^ *+' conftest.er1
>conftest.err
17373 cat conftest.err
>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); } &&
17376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17378 (eval $ac_try) 2>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); }; } &&
17382 { ac_try
='test -s conftest.$ac_objext'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17388 ac_lo
=$ac_mid; break
17390 echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.
$ac_ext >&5
17393 ac_hi
=`expr '(' $ac_mid ')' - 1`
17394 if test $ac_mid -le $ac_hi; then
17398 ac_mid
=`expr 2 '*' $ac_mid`
17400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.
$ac_ext >&5
17408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17411 # Binary search between lo and hi bounds.
17412 while test "x$ac_lo" != "x$ac_hi"; do
17413 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17414 cat >conftest.
$ac_ext <<_ACEOF
17417 cat confdefs.h
>>conftest.
$ac_ext
17418 cat >>conftest.
$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 $ac_includes_default
17424 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17431 rm -f conftest.
$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17435 grep -v '^ *+' conftest.er1
>conftest.err
17437 cat conftest.err
>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; } &&
17446 { ac_try
='test -s conftest.$ac_objext'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; }; then
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.
$ac_ext >&5
17457 ac_lo
=`expr '(' $ac_mid ')' + 1`
17459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17462 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17463 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17464 See \`config.log' for more details." >&5
17465 echo "$as_me: error: cannot compute sizeof (char), 77
17466 See \`config.log' for more details." >&2;}
17467 { (exit 1); exit 1; }; } ;;
17470 if test "$cross_compiling" = yes; then
17471 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17472 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17473 { (exit 1); exit 1; }; }
17475 cat >conftest.
$ac_ext <<_ACEOF
17478 cat confdefs.h
>>conftest.
$ac_ext
17479 cat >>conftest.
$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 $ac_includes_default
17482 long longval () { return (long) (sizeof (char)); }
17483 unsigned long ulongval () { return (long) (sizeof (char)); }
17485 #include <stdlib.h>
17490 FILE *f = fopen ("conftest.val", "w");
17493 if (((long) (sizeof (char))) < 0)
17495 long i = longval ();
17496 if (i != ((long) (sizeof (char))))
17498 fprintf (f, "%ld\n", i);
17502 unsigned long i = ulongval ();
17503 if (i != ((long) (sizeof (char))))
17505 fprintf (f, "%lu\n", i);
17507 exit (ferror (f) || fclose (f) != 0);
17513 rm -f conftest
$ac_exeext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17515 (eval $ac_link) 2>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; }; then
17524 ac_cv_sizeof_char
=`cat conftest.val`
17526 echo "$as_me: program exited with status $ac_status" >&5
17527 echo "$as_me: failed program was:" >&5
17528 sed 's/^/| /' conftest.
$ac_ext >&5
17530 ( exit $ac_status )
17531 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17532 See \`config.log' for more details." >&5
17533 echo "$as_me: error: cannot compute sizeof (char), 77
17534 See \`config.log' for more details." >&2;}
17535 { (exit 1); exit 1; }; }
17537 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17542 ac_cv_sizeof_char
=0
17545 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17546 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17547 cat >>confdefs.h
<<_ACEOF
17548 #define SIZEOF_CHAR $ac_cv_sizeof_char
17552 echo "$as_me:$LINENO: checking for short" >&5
17553 echo $ECHO_N "checking for short... $ECHO_C" >&6
17554 if test "${ac_cv_type_short+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 cat >conftest.
$ac_ext <<_ACEOF
17560 cat confdefs.h
>>conftest.
$ac_ext
17561 cat >>conftest.
$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 $ac_includes_default
17569 if (sizeof (short))
17575 rm -f conftest.
$ac_objext
17576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17577 (eval $ac_compile) 2>conftest.er1
17579 grep -v '^ *+' conftest.er1
>conftest.err
17581 cat conftest.err
>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); } &&
17584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try
='test -s conftest.$ac_objext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 ac_cv_type_short
=yes
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.
$ac_ext >&5
17601 ac_cv_type_short
=no
17603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17605 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17606 echo "${ECHO_T}$ac_cv_type_short" >&6
17608 echo "$as_me:$LINENO: checking size of short" >&5
17609 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17610 if test "${ac_cv_sizeof_short+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 if test "$ac_cv_type_short" = yes; then
17614 # The cast to unsigned long works around a bug in the HP C Compiler
17615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17617 # This bug is HP SR number 8606223364.
17618 if test "$cross_compiling" = yes; then
17619 # Depending upon the size, compute the lo and hi bounds.
17620 cat >conftest.
$ac_ext <<_ACEOF
17623 cat confdefs.h
>>conftest.
$ac_ext
17624 cat >>conftest.
$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 $ac_includes_default
17630 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17637 rm -f conftest.
$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>conftest.er1
17641 grep -v '^ *+' conftest.er1
>conftest.err
17643 cat conftest.err
>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } &&
17646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17660 cat >conftest.
$ac_ext <<_ACEOF
17663 cat confdefs.h
>>conftest.
$ac_ext
17664 cat >>conftest.
$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 $ac_includes_default
17670 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17677 rm -f conftest.
$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; } &&
17692 { ac_try
='test -s conftest.$ac_objext'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; }; then
17698 ac_hi
=$ac_mid; break
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.
$ac_ext >&5
17703 ac_lo
=`expr $ac_mid + 1`
17704 if test $ac_lo -le $ac_mid; then
17708 ac_mid
=`expr 2 '*' $ac_mid + 1`
17710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.
$ac_ext >&5
17716 cat >conftest.
$ac_ext <<_ACEOF
17719 cat confdefs.h
>>conftest.
$ac_ext
17720 cat >>conftest.
$ac_ext <<_ACEOF
17721 /* end confdefs.h. */
17722 $ac_includes_default
17726 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17733 rm -f conftest.
$ac_objext
17734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17735 (eval $ac_compile) 2>conftest.er1
17737 grep -v '^ *+' conftest.er1
>conftest.err
17739 cat conftest.err
>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); } &&
17742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try
='test -s conftest.$ac_objext'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; }; then
17756 cat >conftest.
$ac_ext <<_ACEOF
17759 cat confdefs.h
>>conftest.
$ac_ext
17760 cat >>conftest.
$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17762 $ac_includes_default
17766 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17773 rm -f conftest.
$ac_objext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17775 (eval $ac_compile) 2>conftest.er1
17777 grep -v '^ *+' conftest.er1
>conftest.err
17779 cat conftest.err
>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } &&
17782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try
='test -s conftest.$ac_objext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 ac_lo
=$ac_mid; break
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.
$ac_ext >&5
17799 ac_hi
=`expr '(' $ac_mid ')' - 1`
17800 if test $ac_mid -le $ac_hi; then
17804 ac_mid
=`expr 2 '*' $ac_mid`
17806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.
$ac_ext >&5
17814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17817 # Binary search between lo and hi bounds.
17818 while test "x$ac_lo" != "x$ac_hi"; do
17819 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17820 cat >conftest.
$ac_ext <<_ACEOF
17823 cat confdefs.h
>>conftest.
$ac_ext
17824 cat >>conftest.
$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 $ac_includes_default
17830 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17837 rm -f conftest.
$ac_objext
17838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17839 (eval $ac_compile) 2>conftest.er1
17841 grep -v '^ *+' conftest.er1
>conftest.err
17843 cat conftest.err
>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; } &&
17852 { ac_try
='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.
$ac_ext >&5
17863 ac_lo
=`expr '(' $ac_mid ')' + 1`
17865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17868 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17869 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17870 See \`config.log' for more details." >&5
17871 echo "$as_me: error: cannot compute sizeof (short), 77
17872 See \`config.log' for more details." >&2;}
17873 { (exit 1); exit 1; }; } ;;
17876 if test "$cross_compiling" = yes; then
17877 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17878 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17879 { (exit 1); exit 1; }; }
17881 cat >conftest.
$ac_ext <<_ACEOF
17884 cat confdefs.h
>>conftest.
$ac_ext
17885 cat >>conftest.
$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 $ac_includes_default
17888 long longval () { return (long) (sizeof (short)); }
17889 unsigned long ulongval () { return (long) (sizeof (short)); }
17891 #include <stdlib.h>
17896 FILE *f = fopen ("conftest.val", "w");
17899 if (((long) (sizeof (short))) < 0)
17901 long i = longval ();
17902 if (i != ((long) (sizeof (short))))
17904 fprintf (f, "%ld\n", i);
17908 unsigned long i = ulongval ();
17909 if (i != ((long) (sizeof (short))))
17911 fprintf (f, "%lu\n", i);
17913 exit (ferror (f) || fclose (f) != 0);
17919 rm -f conftest
$ac_exeext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17921 (eval $ac_link) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930 ac_cv_sizeof_short
=`cat conftest.val`
17932 echo "$as_me: program exited with status $ac_status" >&5
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.
$ac_ext >&5
17936 ( exit $ac_status )
17937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17938 See \`config.log' for more details." >&5
17939 echo "$as_me: error: cannot compute sizeof (short), 77
17940 See \`config.log' for more details." >&2;}
17941 { (exit 1); exit 1; }; }
17943 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17948 ac_cv_sizeof_short
=0
17951 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17952 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17953 cat >>confdefs.h
<<_ACEOF
17954 #define SIZEOF_SHORT $ac_cv_sizeof_short
17958 echo "$as_me:$LINENO: checking for void *" >&5
17959 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17960 if test "${ac_cv_type_void_p+set}" = set; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17963 cat >conftest.
$ac_ext <<_ACEOF
17966 cat confdefs.h
>>conftest.
$ac_ext
17967 cat >>conftest.
$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17975 if (sizeof (void *))
17981 rm -f conftest.
$ac_objext
17982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17983 (eval $ac_compile) 2>conftest.er1
17985 grep -v '^ *+' conftest.er1
>conftest.err
17987 cat conftest.err
>&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); } &&
17990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17992 (eval $ac_try) 2>&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); }; } &&
17996 { ac_try
='test -s conftest.$ac_objext'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; }; then
18002 ac_cv_type_void_p
=yes
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.
$ac_ext >&5
18007 ac_cv_type_void_p
=no
18009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18011 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18012 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18014 echo "$as_me:$LINENO: checking size of void *" >&5
18015 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18016 if test "${ac_cv_sizeof_void_p+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18019 if test "$ac_cv_type_void_p" = yes; then
18020 # The cast to unsigned long works around a bug in the HP C Compiler
18021 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18022 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18023 # This bug is HP SR number 8606223364.
18024 if test "$cross_compiling" = yes; then
18025 # Depending upon the size, compute the lo and hi bounds.
18026 cat >conftest.
$ac_ext <<_ACEOF
18029 cat confdefs.h
>>conftest.
$ac_ext
18030 cat >>conftest.
$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 $ac_includes_default
18036 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18043 rm -f conftest.
$ac_objext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>conftest.er1
18047 grep -v '^ *+' conftest.er1
>conftest.err
18049 cat conftest.err
>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; } &&
18058 { ac_try
='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18066 cat >conftest.
$ac_ext <<_ACEOF
18069 cat confdefs.h
>>conftest.
$ac_ext
18070 cat >>conftest.
$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 $ac_includes_default
18076 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18083 rm -f conftest.
$ac_objext
18084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18085 (eval $ac_compile) 2>conftest.er1
18087 grep -v '^ *+' conftest.er1
>conftest.err
18089 cat conftest.err
>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } &&
18092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; } &&
18098 { ac_try
='test -s conftest.$ac_objext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18104 ac_hi
=$ac_mid; break
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.
$ac_ext >&5
18109 ac_lo
=`expr $ac_mid + 1`
18110 if test $ac_lo -le $ac_mid; then
18114 ac_mid
=`expr 2 '*' $ac_mid + 1`
18116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.
$ac_ext >&5
18122 cat >conftest.
$ac_ext <<_ACEOF
18125 cat confdefs.h
>>conftest.
$ac_ext
18126 cat >>conftest.
$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 $ac_includes_default
18132 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18139 rm -f conftest.
$ac_objext
18140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18141 (eval $ac_compile) 2>conftest.er1
18143 grep -v '^ *+' conftest.er1
>conftest.err
18145 cat conftest.err
>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } &&
18148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try
='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18162 cat >conftest.
$ac_ext <<_ACEOF
18165 cat confdefs.h
>>conftest.
$ac_ext
18166 cat >>conftest.
$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168 $ac_includes_default
18172 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18179 rm -f conftest.
$ac_objext
18180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18181 (eval $ac_compile) 2>conftest.er1
18183 grep -v '^ *+' conftest.er1
>conftest.err
18185 cat conftest.err
>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } &&
18188 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; } &&
18194 { ac_try
='test -s conftest.$ac_objext'
18195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18196 (eval $ac_try) 2>&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); }; }; then
18200 ac_lo
=$ac_mid; break
18202 echo "$as_me: failed program was:" >&5
18203 sed 's/^/| /' conftest.
$ac_ext >&5
18205 ac_hi
=`expr '(' $ac_mid ')' - 1`
18206 if test $ac_mid -le $ac_hi; then
18210 ac_mid
=`expr 2 '*' $ac_mid`
18212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.
$ac_ext >&5
18220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18223 # Binary search between lo and hi bounds.
18224 while test "x$ac_lo" != "x$ac_hi"; do
18225 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18236 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18243 rm -f conftest.
$ac_objext
18244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18245 (eval $ac_compile) 2>conftest.er1
18247 grep -v '^ *+' conftest.er1
>conftest.err
18249 cat conftest.err
>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } &&
18252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; } &&
18258 { ac_try
='test -s conftest.$ac_objext'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; }; then
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.
$ac_ext >&5
18269 ac_lo
=`expr '(' $ac_mid ')' + 1`
18271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18274 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18275 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18276 See \`config.log' for more details." >&5
18277 echo "$as_me: error: cannot compute sizeof (void *), 77
18278 See \`config.log' for more details." >&2;}
18279 { (exit 1); exit 1; }; } ;;
18282 if test "$cross_compiling" = yes; then
18283 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18284 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18285 { (exit 1); exit 1; }; }
18287 cat >conftest.
$ac_ext <<_ACEOF
18290 cat confdefs.h
>>conftest.
$ac_ext
18291 cat >>conftest.
$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 long longval () { return (long) (sizeof (void *)); }
18295 unsigned long ulongval () { return (long) (sizeof (void *)); }
18297 #include <stdlib.h>
18302 FILE *f = fopen ("conftest.val", "w");
18305 if (((long) (sizeof (void *))) < 0)
18307 long i = longval ();
18308 if (i != ((long) (sizeof (void *))))
18310 fprintf (f, "%ld\n", i);
18314 unsigned long i = ulongval ();
18315 if (i != ((long) (sizeof (void *))))
18317 fprintf (f, "%lu\n", i);
18319 exit (ferror (f) || fclose (f) != 0);
18325 rm -f conftest
$ac_exeext
18326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18327 (eval $ac_link) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18336 ac_cv_sizeof_void_p
=`cat conftest.val`
18338 echo "$as_me: program exited with status $ac_status" >&5
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.
$ac_ext >&5
18342 ( exit $ac_status )
18343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18344 See \`config.log' for more details." >&5
18345 echo "$as_me: error: cannot compute sizeof (void *), 77
18346 See \`config.log' for more details." >&2;}
18347 { (exit 1); exit 1; }; }
18349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18354 ac_cv_sizeof_void_p
=0
18357 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18358 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18359 cat >>confdefs.h
<<_ACEOF
18360 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18364 echo "$as_me:$LINENO: checking for int" >&5
18365 echo $ECHO_N "checking for int... $ECHO_C" >&6
18366 if test "${ac_cv_type_int+set}" = set; then
18367 echo $ECHO_N "(cached) $ECHO_C" >&6
18369 cat >conftest.
$ac_ext <<_ACEOF
18372 cat confdefs.h
>>conftest.
$ac_ext
18373 cat >>conftest.
$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 $ac_includes_default
18387 rm -f conftest.
$ac_objext
18388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18389 (eval $ac_compile) 2>conftest.er1
18391 grep -v '^ *+' conftest.er1
>conftest.err
18393 cat conftest.err
>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } &&
18396 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18398 (eval $ac_try) 2>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); }; } &&
18402 { ac_try
='test -s conftest.$ac_objext'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; }; then
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18417 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18418 echo "${ECHO_T}$ac_cv_type_int" >&6
18420 echo "$as_me:$LINENO: checking size of int" >&5
18421 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18422 if test "${ac_cv_sizeof_int+set}" = set; then
18423 echo $ECHO_N "(cached) $ECHO_C" >&6
18425 if test "$ac_cv_type_int" = yes; then
18426 # The cast to unsigned long works around a bug in the HP C Compiler
18427 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18428 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18429 # This bug is HP SR number 8606223364.
18430 if test "$cross_compiling" = yes; then
18431 # Depending upon the size, compute the lo and hi bounds.
18432 cat >conftest.
$ac_ext <<_ACEOF
18435 cat confdefs.h
>>conftest.
$ac_ext
18436 cat >>conftest.
$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18442 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18449 rm -f conftest.
$ac_objext
18450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18451 (eval $ac_compile) 2>conftest.er1
18453 grep -v '^ *+' conftest.er1
>conftest.err
18455 cat conftest.err
>&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } &&
18458 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; } &&
18464 { ac_try
='test -s conftest.$ac_objext'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18472 cat >conftest.
$ac_ext <<_ACEOF
18475 cat confdefs.h
>>conftest.
$ac_ext
18476 cat >>conftest.
$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 $ac_includes_default
18482 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18489 rm -f conftest.
$ac_objext
18490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18491 (eval $ac_compile) 2>conftest.er1
18493 grep -v '^ *+' conftest.er1
>conftest.err
18495 cat conftest.err
>&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); } &&
18498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18500 (eval $ac_try) 2>&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; } &&
18504 { ac_try
='test -s conftest.$ac_objext'
18505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18506 (eval $ac_try) 2>&5
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); }; }; then
18510 ac_hi
=$ac_mid; break
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.
$ac_ext >&5
18515 ac_lo
=`expr $ac_mid + 1`
18516 if test $ac_lo -le $ac_mid; then
18520 ac_mid
=`expr 2 '*' $ac_mid + 1`
18522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.
$ac_ext >&5
18528 cat >conftest.
$ac_ext <<_ACEOF
18531 cat confdefs.h
>>conftest.
$ac_ext
18532 cat >>conftest.
$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 $ac_includes_default
18538 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18545 rm -f conftest.
$ac_objext
18546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18547 (eval $ac_compile) 2>conftest.er1
18549 grep -v '^ *+' conftest.er1
>conftest.err
18551 cat conftest.err
>&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } &&
18554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556 (eval $ac_try) 2>&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try
='test -s conftest.$ac_objext'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; }; then
18568 cat >conftest.
$ac_ext <<_ACEOF
18571 cat confdefs.h
>>conftest.
$ac_ext
18572 cat >>conftest.
$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18574 $ac_includes_default
18578 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18585 rm -f conftest.
$ac_objext
18586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18587 (eval $ac_compile) 2>conftest.er1
18589 grep -v '^ *+' conftest.er1
>conftest.err
18591 cat conftest.err
>&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } &&
18594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596 (eval $ac_try) 2>&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); }; } &&
18600 { ac_try
='test -s conftest.$ac_objext'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; }; then
18606 ac_lo
=$ac_mid; break
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.
$ac_ext >&5
18611 ac_hi
=`expr '(' $ac_mid ')' - 1`
18612 if test $ac_mid -le $ac_hi; then
18616 ac_mid
=`expr 2 '*' $ac_mid`
18618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.
$ac_ext >&5
18626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18629 # Binary search between lo and hi bounds.
18630 while test "x$ac_lo" != "x$ac_hi"; do
18631 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18642 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18649 rm -f conftest.
$ac_objext
18650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18651 (eval $ac_compile) 2>conftest.er1
18653 grep -v '^ *+' conftest.er1
>conftest.err
18655 cat conftest.err
>&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } &&
18658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 (eval $ac_try) 2>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); }; } &&
18664 { ac_try
='test -s conftest.$ac_objext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18675 ac_lo
=`expr '(' $ac_mid ')' + 1`
18677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18680 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18681 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18682 See \`config.log' for more details." >&5
18683 echo "$as_me: error: cannot compute sizeof (int), 77
18684 See \`config.log' for more details." >&2;}
18685 { (exit 1); exit 1; }; } ;;
18688 if test "$cross_compiling" = yes; then
18689 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18690 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18691 { (exit 1); exit 1; }; }
18693 cat >conftest.
$ac_ext <<_ACEOF
18696 cat confdefs.h
>>conftest.
$ac_ext
18697 cat >>conftest.
$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 $ac_includes_default
18700 long longval () { return (long) (sizeof (int)); }
18701 unsigned long ulongval () { return (long) (sizeof (int)); }
18703 #include <stdlib.h>
18708 FILE *f = fopen ("conftest.val", "w");
18711 if (((long) (sizeof (int))) < 0)
18713 long i = longval ();
18714 if (i != ((long) (sizeof (int))))
18716 fprintf (f, "%ld\n", i);
18720 unsigned long i = ulongval ();
18721 if (i != ((long) (sizeof (int))))
18723 fprintf (f, "%lu\n", i);
18725 exit (ferror (f) || fclose (f) != 0);
18731 rm -f conftest
$ac_exeext
18732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18733 (eval $ac_link) 2>&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 ac_cv_sizeof_int
=`cat conftest.val`
18744 echo "$as_me: program exited with status $ac_status" >&5
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.
$ac_ext >&5
18748 ( exit $ac_status )
18749 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18750 See \`config.log' for more details." >&5
18751 echo "$as_me: error: cannot compute sizeof (int), 77
18752 See \`config.log' for more details." >&2;}
18753 { (exit 1); exit 1; }; }
18755 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18763 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18764 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18765 cat >>confdefs.h
<<_ACEOF
18766 #define SIZEOF_INT $ac_cv_sizeof_int
18770 echo "$as_me:$LINENO: checking for long" >&5
18771 echo $ECHO_N "checking for long... $ECHO_C" >&6
18772 if test "${ac_cv_type_long+set}" = set; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18775 cat >conftest.
$ac_ext <<_ACEOF
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18793 rm -f conftest.
$ac_objext
18794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18795 (eval $ac_compile) 2>conftest.er1
18797 grep -v '^ *+' conftest.er1
>conftest.err
18799 cat conftest.err
>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } &&
18802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try
='test -s conftest.$ac_objext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 ac_cv_type_long
=yes
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18823 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18824 echo "${ECHO_T}$ac_cv_type_long" >&6
18826 echo "$as_me:$LINENO: checking size of long" >&5
18827 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18828 if test "${ac_cv_sizeof_long+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18831 if test "$ac_cv_type_long" = yes; then
18832 # The cast to unsigned long works around a bug in the HP C Compiler
18833 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18834 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18835 # This bug is HP SR number 8606223364.
18836 if test "$cross_compiling" = yes; then
18837 # Depending upon the size, compute the lo and hi bounds.
18838 cat >conftest.
$ac_ext <<_ACEOF
18841 cat confdefs.h
>>conftest.
$ac_ext
18842 cat >>conftest.
$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 $ac_includes_default
18848 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18855 rm -f conftest.
$ac_objext
18856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18857 (eval $ac_compile) 2>conftest.er1
18859 grep -v '^ *+' conftest.er1
>conftest.err
18861 cat conftest.err
>&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } &&
18864 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18866 (eval $ac_try) 2>&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); }; } &&
18870 { ac_try
='test -s conftest.$ac_objext'
18871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18872 (eval $ac_try) 2>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); }; }; then
18878 cat >conftest.
$ac_ext <<_ACEOF
18881 cat confdefs.h
>>conftest.
$ac_ext
18882 cat >>conftest.
$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884 $ac_includes_default
18888 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18895 rm -f conftest.
$ac_objext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18897 (eval $ac_compile) 2>conftest.er1
18899 grep -v '^ *+' conftest.er1
>conftest.err
18901 cat conftest.err
>&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; } &&
18910 { ac_try
='test -s conftest.$ac_objext'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; }; then
18916 ac_hi
=$ac_mid; break
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.
$ac_ext >&5
18921 ac_lo
=`expr $ac_mid + 1`
18922 if test $ac_lo -le $ac_mid; then
18926 ac_mid
=`expr 2 '*' $ac_mid + 1`
18928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.
$ac_ext >&5
18934 cat >conftest.
$ac_ext <<_ACEOF
18937 cat confdefs.h
>>conftest.
$ac_ext
18938 cat >>conftest.
$ac_ext <<_ACEOF
18939 /* end confdefs.h. */
18940 $ac_includes_default
18944 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18951 rm -f conftest.
$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18955 grep -v '^ *+' conftest.er1
>conftest.err
18957 cat conftest.err
>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; } &&
18966 { ac_try
='test -s conftest.$ac_objext'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; }; then
18974 cat >conftest.
$ac_ext <<_ACEOF
18977 cat confdefs.h
>>conftest.
$ac_ext
18978 cat >>conftest.
$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 $ac_includes_default
18984 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18991 rm -f conftest.
$ac_objext
18992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18993 (eval $ac_compile) 2>conftest.er1
18995 grep -v '^ *+' conftest.er1
>conftest.err
18997 cat conftest.err
>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); } &&
19000 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; } &&
19006 { ac_try
='test -s conftest.$ac_objext'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; }; then
19012 ac_lo
=$ac_mid; break
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.
$ac_ext >&5
19017 ac_hi
=`expr '(' $ac_mid ')' - 1`
19018 if test $ac_mid -le $ac_hi; then
19022 ac_mid
=`expr 2 '*' $ac_mid`
19024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.
$ac_ext >&5
19032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19035 # Binary search between lo and hi bounds.
19036 while test "x$ac_lo" != "x$ac_hi"; do
19037 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19038 cat >conftest.
$ac_ext <<_ACEOF
19041 cat confdefs.h
>>conftest.
$ac_ext
19042 cat >>conftest.
$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 $ac_includes_default
19048 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19055 rm -f conftest.
$ac_objext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19057 (eval $ac_compile) 2>conftest.er1
19059 grep -v '^ *+' conftest.er1
>conftest.err
19061 cat conftest.err
>&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } &&
19064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; } &&
19070 { ac_try
='test -s conftest.$ac_objext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.
$ac_ext >&5
19081 ac_lo
=`expr '(' $ac_mid ')' + 1`
19083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19086 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19087 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19088 See \`config.log' for more details." >&5
19089 echo "$as_me: error: cannot compute sizeof (long), 77
19090 See \`config.log' for more details." >&2;}
19091 { (exit 1); exit 1; }; } ;;
19094 if test "$cross_compiling" = yes; then
19095 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19096 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19097 { (exit 1); exit 1; }; }
19099 cat >conftest.
$ac_ext <<_ACEOF
19102 cat confdefs.h
>>conftest.
$ac_ext
19103 cat >>conftest.
$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19105 $ac_includes_default
19106 long longval () { return (long) (sizeof (long)); }
19107 unsigned long ulongval () { return (long) (sizeof (long)); }
19109 #include <stdlib.h>
19114 FILE *f = fopen ("conftest.val", "w");
19117 if (((long) (sizeof (long))) < 0)
19119 long i = longval ();
19120 if (i != ((long) (sizeof (long))))
19122 fprintf (f, "%ld\n", i);
19126 unsigned long i = ulongval ();
19127 if (i != ((long) (sizeof (long))))
19129 fprintf (f, "%lu\n", i);
19131 exit (ferror (f) || fclose (f) != 0);
19137 rm -f conftest
$ac_exeext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19139 (eval $ac_link) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; }; then
19148 ac_cv_sizeof_long
=`cat conftest.val`
19150 echo "$as_me: program exited with status $ac_status" >&5
19151 echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.
$ac_ext >&5
19154 ( exit $ac_status )
19155 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19156 See \`config.log' for more details." >&5
19157 echo "$as_me: error: cannot compute sizeof (long), 77
19158 See \`config.log' for more details." >&2;}
19159 { (exit 1); exit 1; }; }
19161 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19166 ac_cv_sizeof_long
=0
19169 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19170 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19171 cat >>confdefs.h
<<_ACEOF
19172 #define SIZEOF_LONG $ac_cv_sizeof_long
19176 echo "$as_me:$LINENO: checking for size_t" >&5
19177 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19178 if test "${ac_cv_type_size_t+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19181 cat >conftest.
$ac_ext <<_ACEOF
19184 cat confdefs.h
>>conftest.
$ac_ext
19185 cat >>conftest.
$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19193 if (sizeof (size_t))
19199 rm -f conftest.
$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>conftest.er1
19203 grep -v '^ *+' conftest.er1
>conftest.err
19205 cat conftest.err
>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; } &&
19214 { ac_try
='test -s conftest.$ac_objext'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; }; then
19220 ac_cv_type_size_t
=yes
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.
$ac_ext >&5
19225 ac_cv_type_size_t
=no
19227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19229 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19230 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19232 echo "$as_me:$LINENO: checking size of size_t" >&5
19233 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19234 if test "${ac_cv_sizeof_size_t+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19237 if test "$ac_cv_type_size_t" = yes; then
19238 # The cast to unsigned long works around a bug in the HP C Compiler
19239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19241 # This bug is HP SR number 8606223364.
19242 if test "$cross_compiling" = yes; then
19243 # Depending upon the size, compute the lo and hi bounds.
19244 cat >conftest.
$ac_ext <<_ACEOF
19247 cat confdefs.h
>>conftest.
$ac_ext
19248 cat >>conftest.
$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 $ac_includes_default
19254 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19261 rm -f conftest.
$ac_objext
19262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19263 (eval $ac_compile) 2>conftest.er1
19265 grep -v '^ *+' conftest.er1
>conftest.err
19267 cat conftest.err
>&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } &&
19270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try
='test -s conftest.$ac_objext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19284 cat >conftest.
$ac_ext <<_ACEOF
19287 cat confdefs.h
>>conftest.
$ac_ext
19288 cat >>conftest.
$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 $ac_includes_default
19294 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19301 rm -f conftest.
$ac_objext
19302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19303 (eval $ac_compile) 2>conftest.er1
19305 grep -v '^ *+' conftest.er1
>conftest.err
19307 cat conftest.err
>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } &&
19310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; } &&
19316 { ac_try
='test -s conftest.$ac_objext'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; }; then
19322 ac_hi
=$ac_mid; break
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.
$ac_ext >&5
19327 ac_lo
=`expr $ac_mid + 1`
19328 if test $ac_lo -le $ac_mid; then
19332 ac_mid
=`expr 2 '*' $ac_mid + 1`
19334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.
$ac_ext >&5
19340 cat >conftest.
$ac_ext <<_ACEOF
19343 cat confdefs.h
>>conftest.
$ac_ext
19344 cat >>conftest.
$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19346 $ac_includes_default
19350 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19357 rm -f conftest.
$ac_objext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359 (eval $ac_compile) 2>conftest.er1
19361 grep -v '^ *+' conftest.er1
>conftest.err
19363 cat conftest.err
>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } &&
19366 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try
='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19380 cat >conftest.
$ac_ext <<_ACEOF
19383 cat confdefs.h
>>conftest.
$ac_ext
19384 cat >>conftest.
$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 $ac_includes_default
19390 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19397 rm -f conftest.
$ac_objext
19398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19399 (eval $ac_compile) 2>conftest.er1
19401 grep -v '^ *+' conftest.er1
>conftest.err
19403 cat conftest.err
>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } &&
19406 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; } &&
19412 { ac_try
='test -s conftest.$ac_objext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 ac_lo
=$ac_mid; break
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.
$ac_ext >&5
19423 ac_hi
=`expr '(' $ac_mid ')' - 1`
19424 if test $ac_mid -le $ac_hi; then
19428 ac_mid
=`expr 2 '*' $ac_mid`
19430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19433 echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.
$ac_ext >&5
19438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19441 # Binary search between lo and hi bounds.
19442 while test "x$ac_lo" != "x$ac_hi"; do
19443 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19444 cat >conftest.
$ac_ext <<_ACEOF
19447 cat confdefs.h
>>conftest.
$ac_ext
19448 cat >>conftest.
$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 $ac_includes_default
19454 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19461 rm -f conftest.
$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19465 grep -v '^ *+' conftest.er1
>conftest.err
19467 cat conftest.err
>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_lo
=`expr '(' $ac_mid ')' + 1`
19489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19492 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19493 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19494 See \`config.log' for more details." >&5
19495 echo "$as_me: error: cannot compute sizeof (size_t), 77
19496 See \`config.log' for more details." >&2;}
19497 { (exit 1); exit 1; }; } ;;
19500 if test "$cross_compiling" = yes; then
19501 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19502 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19503 { (exit 1); exit 1; }; }
19505 cat >conftest.
$ac_ext <<_ACEOF
19508 cat confdefs.h
>>conftest.
$ac_ext
19509 cat >>conftest.
$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19511 $ac_includes_default
19512 long longval () { return (long) (sizeof (size_t)); }
19513 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19515 #include <stdlib.h>
19520 FILE *f = fopen ("conftest.val", "w");
19523 if (((long) (sizeof (size_t))) < 0)
19525 long i = longval ();
19526 if (i != ((long) (sizeof (size_t))))
19528 fprintf (f, "%ld\n", i);
19532 unsigned long i = ulongval ();
19533 if (i != ((long) (sizeof (size_t))))
19535 fprintf (f, "%lu\n", i);
19537 exit (ferror (f) || fclose (f) != 0);
19543 rm -f conftest
$ac_exeext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19545 (eval $ac_link) 2>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; }; then
19554 ac_cv_sizeof_size_t
=`cat conftest.val`
19556 echo "$as_me: program exited with status $ac_status" >&5
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.
$ac_ext >&5
19560 ( exit $ac_status )
19561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19562 See \`config.log' for more details." >&5
19563 echo "$as_me: error: cannot compute sizeof (size_t), 77
19564 See \`config.log' for more details." >&2;}
19565 { (exit 1); exit 1; }; }
19567 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19572 ac_cv_sizeof_size_t
=0
19575 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19576 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19577 cat >>confdefs.h
<<_ACEOF
19578 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19585 echo "$as_me:$LINENO: checking for long long" >&5
19586 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19587 if test "${ac_cv_type_long_long+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 cat >conftest.
$ac_ext <<_ACEOF
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19600 if ((long long *) 0)
19602 if (sizeof (long long))
19608 rm -f conftest.
$ac_objext
19609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19610 (eval $ac_compile) 2>conftest.er1
19612 grep -v '^ *+' conftest.er1
>conftest.err
19614 cat conftest.err
>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } &&
19617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; } &&
19623 { ac_try
='test -s conftest.$ac_objext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19629 ac_cv_type_long_long
=yes
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.
$ac_ext >&5
19634 ac_cv_type_long_long
=no
19636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19638 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19639 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19641 echo "$as_me:$LINENO: checking size of long long" >&5
19642 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19643 if test "${ac_cv_sizeof_long_long+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 if test "$ac_cv_type_long_long" = yes; then
19647 # The cast to unsigned long works around a bug in the HP C Compiler
19648 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19649 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19650 # This bug is HP SR number 8606223364.
19651 if test "$cross_compiling" = yes; then
19652 # Depending upon the size, compute the lo and hi bounds.
19653 cat >conftest.
$ac_ext <<_ACEOF
19656 cat confdefs.h
>>conftest.
$ac_ext
19657 cat >>conftest.
$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19659 $ac_includes_default
19663 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19670 rm -f conftest.
$ac_objext
19671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19672 (eval $ac_compile) 2>conftest.er1
19674 grep -v '^ *+' conftest.er1
>conftest.err
19676 cat conftest.err
>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } &&
19679 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19681 (eval $ac_try) 2>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; } &&
19685 { ac_try
='test -s conftest.$ac_objext'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19693 cat >conftest.
$ac_ext <<_ACEOF
19696 cat confdefs.h
>>conftest.
$ac_ext
19697 cat >>conftest.
$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 $ac_includes_default
19703 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19710 rm -f conftest.
$ac_objext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19712 (eval $ac_compile) 2>conftest.er1
19714 grep -v '^ *+' conftest.er1
>conftest.err
19716 cat conftest.err
>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } &&
19719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try
='test -s conftest.$ac_objext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 ac_hi
=$ac_mid; break
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.
$ac_ext >&5
19736 ac_lo
=`expr $ac_mid + 1`
19737 if test $ac_lo -le $ac_mid; then
19741 ac_mid
=`expr 2 '*' $ac_mid + 1`
19743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.
$ac_ext >&5
19749 cat >conftest.
$ac_ext <<_ACEOF
19752 cat confdefs.h
>>conftest.
$ac_ext
19753 cat >>conftest.
$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19759 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19766 rm -f conftest.
$ac_objext
19767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19768 (eval $ac_compile) 2>conftest.er1
19770 grep -v '^ *+' conftest.er1
>conftest.err
19772 cat conftest.err
>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } &&
19775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; } &&
19781 { ac_try
='test -s conftest.$ac_objext'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; }; then
19789 cat >conftest.
$ac_ext <<_ACEOF
19792 cat confdefs.h
>>conftest.
$ac_ext
19793 cat >>conftest.
$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 $ac_includes_default
19799 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19806 rm -f conftest.
$ac_objext
19807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19808 (eval $ac_compile) 2>conftest.er1
19810 grep -v '^ *+' conftest.er1
>conftest.err
19812 cat conftest.err
>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } &&
19815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; } &&
19821 { ac_try
='test -s conftest.$ac_objext'
19822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823 (eval $ac_try) 2>&5
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); }; }; then
19827 ac_lo
=$ac_mid; break
19829 echo "$as_me: failed program was:" >&5
19830 sed 's/^/| /' conftest.
$ac_ext >&5
19832 ac_hi
=`expr '(' $ac_mid ')' - 1`
19833 if test $ac_mid -le $ac_hi; then
19837 ac_mid
=`expr 2 '*' $ac_mid`
19839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.
$ac_ext >&5
19847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19850 # Binary search between lo and hi bounds.
19851 while test "x$ac_lo" != "x$ac_hi"; do
19852 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19853 cat >conftest.
$ac_ext <<_ACEOF
19856 cat confdefs.h
>>conftest.
$ac_ext
19857 cat >>conftest.
$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19863 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19870 rm -f conftest.
$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872 (eval $ac_compile) 2>conftest.er1
19874 grep -v '^ *+' conftest.er1
>conftest.err
19876 cat conftest.err
>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; } &&
19885 { ac_try
='test -s conftest.$ac_objext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.
$ac_ext >&5
19896 ac_lo
=`expr '(' $ac_mid ')' + 1`
19898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19901 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19902 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19903 See \`config.log' for more details." >&5
19904 echo "$as_me: error: cannot compute sizeof (long long), 77
19905 See \`config.log' for more details." >&2;}
19906 { (exit 1); exit 1; }; } ;;
19909 if test "$cross_compiling" = yes; then
19910 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19911 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19912 { (exit 1); exit 1; }; }
19914 cat >conftest.
$ac_ext <<_ACEOF
19917 cat confdefs.h
>>conftest.
$ac_ext
19918 cat >>conftest.
$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 $ac_includes_default
19921 long longval () { return (long) (sizeof (long long)); }
19922 unsigned long ulongval () { return (long) (sizeof (long long)); }
19924 #include <stdlib.h>
19929 FILE *f = fopen ("conftest.val", "w");
19932 if (((long) (sizeof (long long))) < 0)
19934 long i = longval ();
19935 if (i != ((long) (sizeof (long long))))
19937 fprintf (f, "%ld\n", i);
19941 unsigned long i = ulongval ();
19942 if (i != ((long) (sizeof (long long))))
19944 fprintf (f, "%lu\n", i);
19946 exit (ferror (f) || fclose (f) != 0);
19952 rm -f conftest
$ac_exeext
19953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19954 (eval $ac_link) 2>&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 ac_cv_sizeof_long_long
=`cat conftest.val`
19965 echo "$as_me: program exited with status $ac_status" >&5
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.
$ac_ext >&5
19969 ( exit $ac_status )
19970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19971 See \`config.log' for more details." >&5
19972 echo "$as_me: error: cannot compute sizeof (long long), 77
19973 See \`config.log' for more details." >&2;}
19974 { (exit 1); exit 1; }; }
19976 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19981 ac_cv_sizeof_long_long
=0
19984 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19985 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19986 cat >>confdefs.h
<<_ACEOF
19987 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19993 echo "$as_me:$LINENO: checking for long long" >&5
19994 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19995 if test "${ac_cv_type_long_long+set}" = set; then
19996 echo $ECHO_N "(cached) $ECHO_C" >&6
19998 cat >conftest.
$ac_ext <<_ACEOF
20001 cat confdefs.h
>>conftest.
$ac_ext
20002 cat >>conftest.
$ac_ext <<_ACEOF
20003 /* end confdefs.h. */
20004 $ac_includes_default
20008 if ((long long *) 0)
20010 if (sizeof (long long))
20016 rm -f conftest.
$ac_objext
20017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20018 (eval $ac_compile) 2>conftest.er1
20020 grep -v '^ *+' conftest.er1
>conftest.err
20022 cat conftest.err
>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try
='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_cv_type_long_long
=yes
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.
$ac_ext >&5
20042 ac_cv_type_long_long
=no
20044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20046 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20047 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20049 echo "$as_me:$LINENO: checking size of long long" >&5
20050 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20051 if test "${ac_cv_sizeof_long_long+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 if test "$ac_cv_type_long_long" = yes; then
20055 # The cast to unsigned long works around a bug in the HP C Compiler
20056 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20057 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20058 # This bug is HP SR number 8606223364.
20059 if test "$cross_compiling" = yes; then
20060 # Depending upon the size, compute the lo and hi bounds.
20061 cat >conftest.
$ac_ext <<_ACEOF
20064 cat confdefs.h
>>conftest.
$ac_ext
20065 cat >>conftest.
$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20071 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20078 rm -f conftest.
$ac_objext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20080 (eval $ac_compile) 2>conftest.er1
20082 grep -v '^ *+' conftest.er1
>conftest.err
20084 cat conftest.err
>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } &&
20087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try
='test -s conftest.$ac_objext'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20101 cat >conftest.
$ac_ext <<_ACEOF
20104 cat confdefs.h
>>conftest.
$ac_ext
20105 cat >>conftest.
$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 $ac_includes_default
20111 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20118 rm -f conftest.
$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20122 grep -v '^ *+' conftest.er1
>conftest.err
20124 cat conftest.err
>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; } &&
20133 { ac_try
='test -s conftest.$ac_objext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 ac_hi
=$ac_mid; break
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.
$ac_ext >&5
20144 ac_lo
=`expr $ac_mid + 1`
20145 if test $ac_lo -le $ac_mid; then
20149 ac_mid
=`expr 2 '*' $ac_mid + 1`
20151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20154 echo "$as_me: failed program was:" >&5
20155 sed 's/^/| /' conftest.
$ac_ext >&5
20157 cat >conftest.
$ac_ext <<_ACEOF
20160 cat confdefs.h
>>conftest.
$ac_ext
20161 cat >>conftest.
$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20163 $ac_includes_default
20167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20174 rm -f conftest.
$ac_objext
20175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20176 (eval $ac_compile) 2>conftest.er1
20178 grep -v '^ *+' conftest.er1
>conftest.err
20180 cat conftest.err
>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } &&
20183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try
='test -s conftest.$ac_objext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20197 cat >conftest.
$ac_ext <<_ACEOF
20200 cat confdefs.h
>>conftest.
$ac_ext
20201 cat >>conftest.
$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20207 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20214 rm -f conftest.
$ac_objext
20215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20216 (eval $ac_compile) 2>conftest.er1
20218 grep -v '^ *+' conftest.er1
>conftest.err
20220 cat conftest.err
>&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } &&
20223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; } &&
20229 { ac_try
='test -s conftest.$ac_objext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 ac_lo
=$ac_mid; break
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.
$ac_ext >&5
20240 ac_hi
=`expr '(' $ac_mid ')' - 1`
20241 if test $ac_mid -le $ac_hi; then
20245 ac_mid
=`expr 2 '*' $ac_mid`
20247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20250 echo "$as_me: failed program was:" >&5
20251 sed 's/^/| /' conftest.
$ac_ext >&5
20255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20258 # Binary search between lo and hi bounds.
20259 while test "x$ac_lo" != "x$ac_hi"; do
20260 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20261 cat >conftest.
$ac_ext <<_ACEOF
20264 cat confdefs.h
>>conftest.
$ac_ext
20265 cat >>conftest.
$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20271 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20278 rm -f conftest.
$ac_objext
20279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20280 (eval $ac_compile) 2>conftest.er1
20282 grep -v '^ *+' conftest.er1
>conftest.err
20284 cat conftest.err
>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } &&
20287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try
='test -s conftest.$ac_objext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.
$ac_ext >&5
20304 ac_lo
=`expr '(' $ac_mid ')' + 1`
20306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20309 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20310 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20311 See \`config.log' for more details." >&5
20312 echo "$as_me: error: cannot compute sizeof (long long), 77
20313 See \`config.log' for more details." >&2;}
20314 { (exit 1); exit 1; }; } ;;
20317 if test "$cross_compiling" = yes; then
20318 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20319 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20320 { (exit 1); exit 1; }; }
20322 cat >conftest.
$ac_ext <<_ACEOF
20325 cat confdefs.h
>>conftest.
$ac_ext
20326 cat >>conftest.
$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 $ac_includes_default
20329 long longval () { return (long) (sizeof (long long)); }
20330 unsigned long ulongval () { return (long) (sizeof (long long)); }
20332 #include <stdlib.h>
20337 FILE *f = fopen ("conftest.val", "w");
20340 if (((long) (sizeof (long long))) < 0)
20342 long i = longval ();
20343 if (i != ((long) (sizeof (long long))))
20345 fprintf (f, "%ld\n", i);
20349 unsigned long i = ulongval ();
20350 if (i != ((long) (sizeof (long long))))
20352 fprintf (f, "%lu\n", i);
20354 exit (ferror (f) || fclose (f) != 0);
20360 rm -f conftest
$ac_exeext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20362 (eval $ac_link) 2>&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; }; then
20371 ac_cv_sizeof_long_long
=`cat conftest.val`
20373 echo "$as_me: program exited with status $ac_status" >&5
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.
$ac_ext >&5
20377 ( exit $ac_status )
20378 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20379 See \`config.log' for more details." >&5
20380 echo "$as_me: error: cannot compute sizeof (long long), 77
20381 See \`config.log' for more details." >&2;}
20382 { (exit 1); exit 1; }; }
20384 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20389 ac_cv_sizeof_long_long
=0
20392 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20393 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20394 cat >>confdefs.h
<<_ACEOF
20395 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20399 if test "$ac_cv_sizeof_long_long" != "0"; then
20400 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20404 echo "$as_me:$LINENO: checking for long long" >&5
20405 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20406 if test "${ac_cv_type_long_long+set}" = set; then
20407 echo $ECHO_N "(cached) $ECHO_C" >&6
20409 cat >conftest.
$ac_ext <<_ACEOF
20412 cat confdefs.h
>>conftest.
$ac_ext
20413 cat >>conftest.
$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20419 if ((long long *) 0)
20421 if (sizeof (long long))
20427 rm -f conftest.
$ac_objext
20428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20429 (eval $ac_compile) 2>conftest.er1
20431 grep -v '^ *+' conftest.er1
>conftest.err
20433 cat conftest.err
>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } &&
20436 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; } &&
20442 { ac_try
='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 ac_cv_type_long_long
=yes
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 ac_cv_type_long_long
=no
20455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20457 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20458 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20460 echo "$as_me:$LINENO: checking size of long long" >&5
20461 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20462 if test "${ac_cv_sizeof_long_long+set}" = set; then
20463 echo $ECHO_N "(cached) $ECHO_C" >&6
20465 if test "$ac_cv_type_long_long" = yes; then
20466 # The cast to unsigned long works around a bug in the HP C Compiler
20467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20469 # This bug is HP SR number 8606223364.
20470 if test "$cross_compiling" = yes; then
20471 # Depending upon the size, compute the lo and hi bounds.
20472 cat >conftest.
$ac_ext <<_ACEOF
20475 cat confdefs.h
>>conftest.
$ac_ext
20476 cat >>conftest.
$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20482 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20489 rm -f conftest.
$ac_objext
20490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20491 (eval $ac_compile) 2>conftest.er1
20493 grep -v '^ *+' conftest.er1
>conftest.err
20495 cat conftest.err
>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } &&
20498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try
='test -s conftest.$ac_objext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20512 cat >conftest.
$ac_ext <<_ACEOF
20515 cat confdefs.h
>>conftest.
$ac_ext
20516 cat >>conftest.
$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20522 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20529 rm -f conftest.
$ac_objext
20530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20531 (eval $ac_compile) 2>conftest.er1
20533 grep -v '^ *+' conftest.er1
>conftest.err
20535 cat conftest.err
>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try
='test -s conftest.$ac_objext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_hi
=$ac_mid; break
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.
$ac_ext >&5
20555 ac_lo
=`expr $ac_mid + 1`
20556 if test $ac_lo -le $ac_mid; then
20560 ac_mid
=`expr 2 '*' $ac_mid + 1`
20562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20565 echo "$as_me: failed program was:" >&5
20566 sed 's/^/| /' conftest.
$ac_ext >&5
20568 cat >conftest.
$ac_ext <<_ACEOF
20571 cat confdefs.h
>>conftest.
$ac_ext
20572 cat >>conftest.
$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20578 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20585 rm -f conftest.
$ac_objext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20587 (eval $ac_compile) 2>conftest.er1
20589 grep -v '^ *+' conftest.er1
>conftest.err
20591 cat conftest.err
>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } &&
20594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; } &&
20600 { ac_try
='test -s conftest.$ac_objext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20608 cat >conftest.
$ac_ext <<_ACEOF
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 $ac_includes_default
20618 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20625 rm -f conftest.
$ac_objext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20627 (eval $ac_compile) 2>conftest.er1
20629 grep -v '^ *+' conftest.er1
>conftest.err
20631 cat conftest.err
>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } &&
20634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try
='test -s conftest.$ac_objext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 ac_lo
=$ac_mid; break
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20651 ac_hi
=`expr '(' $ac_mid ')' - 1`
20652 if test $ac_mid -le $ac_hi; then
20656 ac_mid
=`expr 2 '*' $ac_mid`
20658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.
$ac_ext >&5
20666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20669 # Binary search between lo and hi bounds.
20670 while test "x$ac_lo" != "x$ac_hi"; do
20671 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20672 cat >conftest.
$ac_ext <<_ACEOF
20675 cat confdefs.h
>>conftest.
$ac_ext
20676 cat >>conftest.
$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 $ac_includes_default
20682 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20689 rm -f conftest.
$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>conftest.er1
20693 grep -v '^ *+' conftest.er1
>conftest.err
20695 cat conftest.err
>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try
='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.
$ac_ext >&5
20715 ac_lo
=`expr '(' $ac_mid ')' + 1`
20717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20720 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20721 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20722 See \`config.log' for more details." >&5
20723 echo "$as_me: error: cannot compute sizeof (long long), 77
20724 See \`config.log' for more details." >&2;}
20725 { (exit 1); exit 1; }; } ;;
20728 if test "$cross_compiling" = yes; then
20729 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20730 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20731 { (exit 1); exit 1; }; }
20733 cat >conftest.
$ac_ext <<_ACEOF
20736 cat confdefs.h
>>conftest.
$ac_ext
20737 cat >>conftest.
$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 $ac_includes_default
20740 long longval () { return (long) (sizeof (long long)); }
20741 unsigned long ulongval () { return (long) (sizeof (long long)); }
20743 #include <stdlib.h>
20748 FILE *f = fopen ("conftest.val", "w");
20751 if (((long) (sizeof (long long))) < 0)
20753 long i = longval ();
20754 if (i != ((long) (sizeof (long long))))
20756 fprintf (f, "%ld\n", i);
20760 unsigned long i = ulongval ();
20761 if (i != ((long) (sizeof (long long))))
20763 fprintf (f, "%lu\n", i);
20765 exit (ferror (f) || fclose (f) != 0);
20771 rm -f conftest
$ac_exeext
20772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20773 (eval $ac_link) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_cv_sizeof_long_long
=`cat conftest.val`
20784 echo "$as_me: program exited with status $ac_status" >&5
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.
$ac_ext >&5
20788 ( exit $ac_status )
20789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20790 See \`config.log' for more details." >&5
20791 echo "$as_me: error: cannot compute sizeof (long long), 77
20792 See \`config.log' for more details." >&2;}
20793 { (exit 1); exit 1; }; }
20795 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20800 ac_cv_sizeof_long_long
=0
20803 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20804 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20805 cat >>confdefs.h
<<_ACEOF
20806 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20812 echo "$as_me:$LINENO: checking for wchar_t" >&5
20813 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20814 if test "${ac_cv_type_wchar_t+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 cat >conftest.
$ac_ext <<_ACEOF
20820 cat confdefs.h
>>conftest.
$ac_ext
20821 cat >>conftest.
$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20824 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20825 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20826 # error "fake wchar_t"
20828 #ifdef HAVE_WCHAR_H
20830 # include <stddef.h>
20832 # include <wchar.h>
20834 #ifdef HAVE_STDLIB_H
20835 # include <stdlib.h>
20846 if (sizeof (wchar_t))
20852 rm -f conftest.
$ac_objext
20853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20854 (eval $ac_compile) 2>conftest.er1
20856 grep -v '^ *+' conftest.er1
>conftest.err
20858 cat conftest.err
>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } &&
20861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; } &&
20867 { ac_try
='test -s conftest.$ac_objext'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; }; then
20873 ac_cv_type_wchar_t
=yes
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.
$ac_ext >&5
20878 ac_cv_type_wchar_t
=no
20880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20882 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20883 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20885 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20886 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20887 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20888 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 if test "$ac_cv_type_wchar_t" = yes; then
20891 # The cast to unsigned long works around a bug in the HP C Compiler
20892 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20893 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20894 # This bug is HP SR number 8606223364.
20895 if test "$cross_compiling" = yes; then
20896 # Depending upon the size, compute the lo and hi bounds.
20897 cat >conftest.
$ac_ext <<_ACEOF
20900 cat confdefs.h
>>conftest.
$ac_ext
20901 cat >>conftest.
$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20904 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20905 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20906 # error "fake wchar_t"
20908 #ifdef HAVE_WCHAR_H
20910 # include <stddef.h>
20912 # include <wchar.h>
20914 #ifdef HAVE_STDLIB_H
20915 # include <stdlib.h>
20924 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20931 rm -f conftest.
$ac_objext
20932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20933 (eval $ac_compile) 2>conftest.er1
20935 grep -v '^ *+' conftest.er1
>conftest.err
20937 cat conftest.err
>&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } &&
20940 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } &&
20946 { ac_try
='test -s conftest.$ac_objext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20954 cat >conftest.
$ac_ext <<_ACEOF
20957 cat confdefs.h
>>conftest.
$ac_ext
20958 cat >>conftest.
$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20961 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20962 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20963 # error "fake wchar_t"
20965 #ifdef HAVE_WCHAR_H
20967 # include <stddef.h>
20969 # include <wchar.h>
20971 #ifdef HAVE_STDLIB_H
20972 # include <stdlib.h>
20981 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20988 rm -f conftest.
$ac_objext
20989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20990 (eval $ac_compile) 2>conftest.er1
20992 grep -v '^ *+' conftest.er1
>conftest.err
20994 cat conftest.err
>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } &&
20997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; } &&
21003 { ac_try
='test -s conftest.$ac_objext'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 ac_hi
=$ac_mid; break
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.
$ac_ext >&5
21014 ac_lo
=`expr $ac_mid + 1`
21015 if test $ac_lo -le $ac_mid; then
21019 ac_mid
=`expr 2 '*' $ac_mid + 1`
21021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.
$ac_ext >&5
21027 cat >conftest.
$ac_ext <<_ACEOF
21030 cat confdefs.h
>>conftest.
$ac_ext
21031 cat >>conftest.
$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21034 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21035 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21036 # error "fake wchar_t"
21038 #ifdef HAVE_WCHAR_H
21040 # include <stddef.h>
21042 # include <wchar.h>
21044 #ifdef HAVE_STDLIB_H
21045 # include <stdlib.h>
21054 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21061 rm -f conftest.
$ac_objext
21062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21063 (eval $ac_compile) 2>conftest.er1
21065 grep -v '^ *+' conftest.er1
>conftest.err
21067 cat conftest.err
>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } &&
21070 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; } &&
21076 { ac_try
='test -s conftest.$ac_objext'
21077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21078 (eval $ac_try) 2>&5
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); }; }; then
21084 cat >conftest.
$ac_ext <<_ACEOF
21087 cat confdefs.h
>>conftest.
$ac_ext
21088 cat >>conftest.
$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21091 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21092 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21093 # error "fake wchar_t"
21095 #ifdef HAVE_WCHAR_H
21097 # include <stddef.h>
21099 # include <wchar.h>
21101 #ifdef HAVE_STDLIB_H
21102 # include <stdlib.h>
21111 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21118 rm -f conftest.
$ac_objext
21119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21120 (eval $ac_compile) 2>conftest.er1
21122 grep -v '^ *+' conftest.er1
>conftest.err
21124 cat conftest.err
>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } &&
21127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; } &&
21133 { ac_try
='test -s conftest.$ac_objext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 ac_lo
=$ac_mid; break
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.
$ac_ext >&5
21144 ac_hi
=`expr '(' $ac_mid ')' - 1`
21145 if test $ac_mid -le $ac_hi; then
21149 ac_mid
=`expr 2 '*' $ac_mid`
21151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.
$ac_ext >&5
21159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21162 # Binary search between lo and hi bounds.
21163 while test "x$ac_lo" != "x$ac_hi"; do
21164 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21165 cat >conftest.
$ac_ext <<_ACEOF
21168 cat confdefs.h
>>conftest.
$ac_ext
21169 cat >>conftest.
$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21172 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21173 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21174 # error "fake wchar_t"
21176 #ifdef HAVE_WCHAR_H
21178 # include <stddef.h>
21180 # include <wchar.h>
21182 #ifdef HAVE_STDLIB_H
21183 # include <stdlib.h>
21192 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21199 rm -f conftest.
$ac_objext
21200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21201 (eval $ac_compile) 2>conftest.er1
21203 grep -v '^ *+' conftest.er1
>conftest.err
21205 cat conftest.err
>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); } &&
21208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; } &&
21214 { ac_try
='test -s conftest.$ac_objext'
21215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21216 (eval $ac_try) 2>&5
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); }; }; then
21222 echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.
$ac_ext >&5
21225 ac_lo
=`expr '(' $ac_mid ')' + 1`
21227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21230 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21231 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21232 See \`config.log' for more details." >&5
21233 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21234 See \`config.log' for more details." >&2;}
21235 { (exit 1); exit 1; }; } ;;
21238 if test "$cross_compiling" = yes; then
21239 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21240 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21241 { (exit 1); exit 1; }; }
21243 cat >conftest.
$ac_ext <<_ACEOF
21246 cat confdefs.h
>>conftest.
$ac_ext
21247 cat >>conftest.
$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21250 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21251 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21252 # error "fake wchar_t"
21254 #ifdef HAVE_WCHAR_H
21256 # include <stddef.h>
21258 # include <wchar.h>
21260 #ifdef HAVE_STDLIB_H
21261 # include <stdlib.h>
21267 long longval () { return (long) (sizeof (wchar_t)); }
21268 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21270 #include <stdlib.h>
21275 FILE *f = fopen ("conftest.val", "w");
21278 if (((long) (sizeof (wchar_t))) < 0)
21280 long i = longval ();
21281 if (i != ((long) (sizeof (wchar_t))))
21283 fprintf (f, "%ld\n", i);
21287 unsigned long i = ulongval ();
21288 if (i != ((long) (sizeof (wchar_t))))
21290 fprintf (f, "%lu\n", i);
21292 exit (ferror (f) || fclose (f) != 0);
21298 rm -f conftest
$ac_exeext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21300 (eval $ac_link) 2>&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21311 echo "$as_me: program exited with status $ac_status" >&5
21312 echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.
$ac_ext >&5
21315 ( exit $ac_status )
21316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21317 See \`config.log' for more details." >&5
21318 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21319 See \`config.log' for more details." >&2;}
21320 { (exit 1); exit 1; }; }
21322 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21327 ac_cv_sizeof_wchar_t
=0
21330 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21331 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21332 cat >>confdefs.h
<<_ACEOF
21333 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21337 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21343 echo "$as_me:$LINENO: checking for va_copy" >&5
21344 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21345 if test "${wx_cv_func_va_copy+set}" = set; then
21346 echo $ECHO_N "(cached) $ECHO_C" >&6
21349 cat >conftest.
$ac_ext <<_ACEOF
21351 #include <stdarg.h>
21352 void foo(char *f, ...)
21366 rm -f conftest.
$ac_objext conftest
$ac_exeext
21367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21368 (eval $ac_link) 2>conftest.er1
21370 grep -v '^ *+' conftest.er1
>conftest.err
21372 cat conftest.err
>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; } &&
21381 { ac_try
='test -s conftest$ac_exeext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21387 wx_cv_func_va_copy
=yes
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.
$ac_ext >&5
21392 wx_cv_func_va_copy
=no
21395 rm -f conftest.err conftest.
$ac_objext \
21396 conftest
$ac_exeext conftest.
$ac_ext
21400 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21401 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21403 if test $wx_cv_func_va_copy = "yes"; then
21404 cat >>confdefs.h
<<\_ACEOF
21405 #define HAVE_VA_COPY 1
21409 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21410 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21411 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 if test "$cross_compiling" = yes; then
21416 wx_cv_type_va_list_lvalue
=yes
21419 cat >conftest.
$ac_ext <<_ACEOF
21421 #include <stdarg.h>
21422 int foo(char *f, ...)
21427 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21435 return foo("hi", 17);
21438 rm -f conftest
$ac_exeext
21439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21440 (eval $ac_link) 2>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; }; then
21449 wx_cv_type_va_list_lvalue
=yes
21451 echo "$as_me: program exited with status $ac_status" >&5
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.
$ac_ext >&5
21455 ( exit $ac_status )
21456 wx_cv_type_va_list_lvalue
=no
21458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21463 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21464 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21466 if test $wx_cv_type_va_list_lvalue != "yes"; then
21467 cat >>confdefs.h
<<\_ACEOF
21468 #define VA_LIST_IS_ARRAY 1
21474 # Check whether --enable-largefile or --disable-largefile was given.
21475 if test "${enable_largefile+set}" = set; then
21476 enableval
="$enable_largefile"
21479 if test "$enable_largefile" != no
; then
21482 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21483 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21484 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21485 echo $ECHO_N "(cached) $ECHO_C" >&6
21488 cat >conftest.
$ac_ext <<_ACEOF
21491 cat confdefs.h
>>conftest.
$ac_ext
21492 cat >>conftest.
$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 #define _FILE_OFFSET_BITS 64
21495 #include <sys/types.h>
21500 unsigned int field: sizeof(off_t) == 8;
21507 rm -f conftest.
$ac_objext
21508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21509 (eval $ac_compile) 2>conftest.er1
21511 grep -v '^ *+' conftest.er1
>conftest.err
21513 cat conftest.err
>&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); } &&
21516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21518 (eval $ac_try) 2>&5
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); }; } &&
21522 { ac_try
='test -s conftest.$ac_objext'
21523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21524 (eval $ac_try) 2>&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); }; }; then
21528 ac_cv_sys_file_offset_bits
=64
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.
$ac_ext >&5
21533 ac_cv_sys_file_offset_bits
=no
21535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21539 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21540 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21542 if test "$ac_cv_sys_file_offset_bits" != no
; then
21544 cat >>confdefs.h
<<_ACEOF
21545 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21550 if test "x$wx_largefile" != "xyes"; then
21552 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21553 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21554 if test "${ac_cv_sys_large_files+set}" = set; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 cat >conftest.
$ac_ext <<_ACEOF
21561 cat confdefs.h
>>conftest.
$ac_ext
21562 cat >>conftest.
$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21564 #define _LARGE_FILES 1
21565 #include <sys/types.h>
21570 unsigned int field: sizeof(off_t) == 8;
21577 rm -f conftest.
$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21581 grep -v '^ *+' conftest.er1
>conftest.err
21583 cat conftest.err
>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; } &&
21592 { ac_try
='test -s conftest.$ac_objext'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; }; then
21598 ac_cv_sys_large_files
=1
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.
$ac_ext >&5
21603 ac_cv_sys_large_files
=no
21605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21609 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21610 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21612 if test "$ac_cv_sys_large_files" != no
; then
21614 cat >>confdefs.h
<<_ACEOF
21615 #define _LARGE_FILES $ac_cv_sys_large_files
21622 echo "$as_me:$LINENO: checking if large file support is available" >&5
21623 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21624 if test "x$wx_largefile" = "xyes"; then
21625 cat >>confdefs.h
<<\_ACEOF
21626 #define HAVE_LARGEFILE_SUPPORT 1
21630 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21631 echo "${ECHO_T}$wx_largefile" >&6
21635 if test "x$wx_largefile" = "xyes"; then
21636 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21637 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21639 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21640 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21641 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21642 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21643 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 cat >conftest.
$ac_ext <<_ACEOF
21649 cat confdefs.h
>>conftest.
$ac_ext
21650 cat >>conftest.
$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21657 #ifndef __STDC_EXT__
21665 rm -f conftest.
$ac_objext
21666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21667 (eval $ac_compile) 2>conftest.er1
21669 grep -v '^ *+' conftest.er1
>conftest.err
21671 cat conftest.err
>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } &&
21674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21676 (eval $ac_try) 2>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); }; } &&
21680 { ac_try
='test -s conftest.$ac_objext'
21681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682 (eval $ac_try) 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; }; then
21686 wx_cv_STDC_EXT_required
=no
21688 echo "$as_me: failed program was:" >&5
21689 sed 's/^/| /' conftest.
$ac_ext >&5
21691 wx_cv_STDC_EXT_required
=yes
21694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21698 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21699 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21700 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21701 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21705 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21707 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21708 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21709 if test "${ac_cv_sys_largefile_source+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 ac_cv_sys_largefile_source
=no
21714 cat >conftest.
$ac_ext <<_ACEOF
21717 cat confdefs.h
>>conftest.
$ac_ext
21718 cat >>conftest.
$ac_ext <<_ACEOF
21719 /* end confdefs.h. */
21729 rm -f conftest.
$ac_objext
21730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21731 (eval $ac_compile) 2>conftest.er1
21733 grep -v '^ *+' conftest.er1
>conftest.err
21735 cat conftest.err
>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } &&
21738 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; } &&
21744 { ac_try
='test -s conftest.$ac_objext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.
$ac_ext >&5
21756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21757 cat >conftest.
$ac_ext <<_ACEOF
21760 cat confdefs.h
>>conftest.
$ac_ext
21761 cat >>conftest.
$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 #define _LARGEFILE_SOURCE 1
21773 rm -f conftest.
$ac_objext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21775 (eval $ac_compile) 2>conftest.er1
21777 grep -v '^ *+' conftest.er1
>conftest.err
21779 cat conftest.err
>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } &&
21782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try
='test -s conftest.$ac_objext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 ac_cv_sys_largefile_source
=1; break
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.
$ac_ext >&5
21800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21804 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21805 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21806 if test "$ac_cv_sys_largefile_source" != no
; then
21808 cat >>confdefs.h
<<_ACEOF
21809 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21815 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21816 # in glibc 2.1.3, but that breaks too many other things.
21817 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21818 echo "$as_me:$LINENO: checking for fseeko" >&5
21819 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21820 if test "${ac_cv_func_fseeko+set}" = set; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 cat >conftest.
$ac_ext <<_ACEOF
21826 cat confdefs.h
>>conftest.
$ac_ext
21827 cat >>conftest.
$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21833 return fseeko && fseeko (stdin, 0, 0);
21838 rm -f conftest.
$ac_objext conftest
$ac_exeext
21839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21840 (eval $ac_link) 2>conftest.er1
21842 grep -v '^ *+' conftest.er1
>conftest.err
21844 cat conftest.err
>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } &&
21847 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; } &&
21853 { ac_try
='test -s conftest$ac_exeext'
21854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21855 (eval $ac_try) 2>&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); }; }; then
21859 ac_cv_func_fseeko
=yes
21861 echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.
$ac_ext >&5
21864 ac_cv_func_fseeko
=no
21866 rm -f conftest.err conftest.
$ac_objext \
21867 conftest
$ac_exeext conftest.
$ac_ext
21869 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21870 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21871 if test $ac_cv_func_fseeko = yes; then
21873 cat >>confdefs.h
<<\_ACEOF
21874 #define HAVE_FSEEKO 1
21879 if test "$ac_cv_sys_largefile_source" != no
; then
21880 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21884 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21885 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21886 if test "${ac_cv_c_bigendian+set}" = set; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21889 ac_cv_c_bigendian
=unknown
21890 # See if sys/param.h defines the BYTE_ORDER macro.
21891 cat >conftest.
$ac_ext <<_ACEOF
21894 cat confdefs.h
>>conftest.
$ac_ext
21895 cat >>conftest.
$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897 #include <sys/types.h>
21898 #include <sys/param.h>
21903 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21904 bogus endian macros
21910 rm -f conftest.
$ac_objext
21911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21912 (eval $ac_compile) 2>conftest.er1
21914 grep -v '^ *+' conftest.er1
>conftest.err
21916 cat conftest.err
>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; } &&
21925 { ac_try
='test -s conftest.$ac_objext'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; }; then
21931 # It does; now see whether it defined to BIG_ENDIAN or not.
21932 cat >conftest.
$ac_ext <<_ACEOF
21935 cat confdefs.h
>>conftest.
$ac_ext
21936 cat >>conftest.
$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21938 #include <sys/types.h>
21939 #include <sys/param.h>
21944 #if BYTE_ORDER != BIG_ENDIAN
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_cv_c_bigendian
=yes
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.
$ac_ext >&5
21977 ac_cv_c_bigendian
=no
21979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21981 echo "$as_me: failed program was:" >&5
21982 sed 's/^/| /' conftest.
$ac_ext >&5
21985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21986 if test $ac_cv_c_bigendian = unknown
; then
21987 if test "$cross_compiling" = yes; then
21988 ac_cv_c_bigendian
=unknown
21990 cat >conftest.
$ac_ext <<_ACEOF
21993 cat confdefs.h
>>conftest.
$ac_ext
21994 cat >>conftest.
$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21997 /* Are we little or big endian? From Harbison&Steele. */
22001 char c[sizeof (long)];
22004 exit (u.c[sizeof (long) - 1] == 1);
22007 rm -f conftest
$ac_exeext
22008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22009 (eval $ac_link) 2>&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_cv_c_bigendian
=no
22020 echo "$as_me: program exited with status $ac_status" >&5
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.
$ac_ext >&5
22024 ( exit $ac_status )
22025 ac_cv_c_bigendian
=yes
22027 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22031 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22032 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22033 if test $ac_cv_c_bigendian = unknown
; then
22034 { 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
22035 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;}
22037 if test $ac_cv_c_bigendian = yes; then
22038 cat >>confdefs.h
<<\_ACEOF
22039 #define WORDS_BIGENDIAN 1
22049 ac_cpp
='$CXXCPP $CPPFLAGS'
22050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22056 for ac_header
in iostream
22058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22060 echo "$as_me:$LINENO: checking for $ac_header" >&5
22061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22068 # Is the header compilable?
22069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22071 cat >conftest.
$ac_ext <<_ACEOF
22074 cat confdefs.h
>>conftest.
$ac_ext
22075 cat >>conftest.
$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 #include <$ac_header>
22080 rm -f conftest.
$ac_objext
22081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22082 (eval $ac_compile) 2>conftest.er1
22084 grep -v '^ *+' conftest.er1
>conftest.err
22086 cat conftest.err
>&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); } &&
22089 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; } &&
22095 { ac_try
='test -s conftest.$ac_objext'
22096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22097 (eval $ac_try) 2>&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); }; }; then
22101 ac_header_compiler
=yes
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.
$ac_ext >&5
22106 ac_header_compiler
=no
22108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22109 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22110 echo "${ECHO_T}$ac_header_compiler" >&6
22112 # Is the header present?
22113 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22114 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22115 cat >conftest.
$ac_ext <<_ACEOF
22118 cat confdefs.h
>>conftest.
$ac_ext
22119 cat >>conftest.
$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 #include <$ac_header>
22123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22124 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22126 grep -v '^ *+' conftest.er1
>conftest.err
22128 cat conftest.err
>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } >/dev
/null
; then
22131 if test -s conftest.err
; then
22132 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22133 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22140 if test -z "$ac_cpp_err"; then
22141 ac_header_preproc
=yes
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.
$ac_ext >&5
22146 ac_header_preproc
=no
22148 rm -f conftest.err conftest.
$ac_ext
22149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22150 echo "${ECHO_T}$ac_header_preproc" >&6
22152 # So? What about this header?
22153 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22155 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22156 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22158 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22159 ac_header_preproc
=yes
22162 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22163 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22164 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22165 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22166 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22167 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22168 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22169 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22172 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22173 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22176 ## ----------------------------------------- ##
22177 ## Report this to wx-dev@lists.wxwidgets.org ##
22178 ## ----------------------------------------- ##
22181 sed "s/^/$as_me: WARNING: /" >&2
22184 echo "$as_me:$LINENO: checking for $ac_header" >&5
22185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22187 echo $ECHO_N "(cached) $ECHO_C" >&6
22189 eval "$as_ac_Header=\$ac_header_preproc"
22191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22196 cat >>confdefs.h
<<_ACEOF
22197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22205 if test "$ac_cv_header_iostream" = "yes" ; then
22208 cat >>confdefs.h
<<\_ACEOF
22209 #define wxUSE_IOSTREAMH 1
22215 ac_cpp
='$CXXCPP $CPPFLAGS'
22216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22223 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22224 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22225 if test "${wx_cv_cpp_bool+set}" = set; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22232 ac_cpp
='$CXXCPP $CPPFLAGS'
22233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22238 cat >conftest.
$ac_ext <<_ACEOF
22241 cat confdefs.h
>>conftest.
$ac_ext
22242 cat >>conftest.
$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22258 rm -f conftest.
$ac_objext
22259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22260 (eval $ac_compile) 2>conftest.er1
22262 grep -v '^ *+' conftest.er1
>conftest.err
22264 cat conftest.err
>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } &&
22267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; } &&
22273 { ac_try
='test -s conftest.$ac_objext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.
$ac_ext >&5
22291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22294 ac_cpp
='$CXXCPP $CPPFLAGS'
22295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22301 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22302 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22304 if test "$wx_cv_cpp_bool" = "yes"; then
22305 cat >>confdefs.h
<<\_ACEOF
22306 #define HAVE_BOOL 1
22313 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22314 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22315 if test "${wx_cv_explicit+set}" = set; then
22316 echo $ECHO_N "(cached) $ECHO_C" >&6
22322 ac_cpp
='$CXXCPP $CPPFLAGS'
22323 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22324 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22325 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22328 cat >conftest.
$ac_ext <<_ACEOF
22331 cat confdefs.h
>>conftest.
$ac_ext
22332 cat >>conftest.
$ac_ext <<_ACEOF
22333 /* end confdefs.h. */
22335 class Foo { public: explicit Foo(int) {} };
22347 rm -f conftest.
$ac_objext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22349 (eval $ac_compile) 2>conftest.er1
22351 grep -v '^ *+' conftest.er1
>conftest.err
22353 cat conftest.err
>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } &&
22356 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22358 (eval $ac_try) 2>&5
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); }; } &&
22362 { ac_try
='test -s conftest.$ac_objext'
22363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22364 (eval $ac_try) 2>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; }; then
22369 cat >conftest.
$ac_ext <<_ACEOF
22372 cat confdefs.h
>>conftest.
$ac_ext
22373 cat >>conftest.
$ac_ext <<_ACEOF
22374 /* end confdefs.h. */
22376 class Foo { public: explicit Foo(int) {} };
22377 static void TakeFoo(const Foo& foo) { }
22390 rm -f conftest.
$ac_objext
22391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22392 (eval $ac_compile) 2>conftest.er1
22394 grep -v '^ *+' conftest.er1
>conftest.err
22396 cat conftest.err
>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } &&
22399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; } &&
22405 { ac_try
='test -s conftest.$ac_objext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.
$ac_ext >&5
22419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.
$ac_ext >&5
22428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22431 ac_cpp
='$CXXCPP $CPPFLAGS'
22432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22438 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22439 echo "${ECHO_T}$wx_cv_explicit" >&6
22441 if test "$wx_cv_explicit" = "yes"; then
22442 cat >>confdefs.h
<<\_ACEOF
22443 #define HAVE_EXPLICIT 1
22449 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22450 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22451 if test "${ac_cv_cxx_const_cast+set}" = set; then
22452 echo $ECHO_N "(cached) $ECHO_C" >&6
22457 ac_cpp
='$CXXCPP $CPPFLAGS'
22458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22462 cat >conftest.
$ac_ext <<_ACEOF
22465 cat confdefs.h
>>conftest.
$ac_ext
22466 cat >>conftest.
$ac_ext <<_ACEOF
22467 /* end confdefs.h. */
22472 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22477 rm -f conftest.
$ac_objext
22478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22479 (eval $ac_compile) 2>conftest.er1
22481 grep -v '^ *+' conftest.er1
>conftest.err
22483 cat conftest.err
>&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } &&
22486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22488 (eval $ac_try) 2>&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); }; } &&
22492 { ac_try
='test -s conftest.$ac_objext'
22493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22494 (eval $ac_try) 2>&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); }; }; then
22498 ac_cv_cxx_const_cast
=yes
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.
$ac_ext >&5
22503 ac_cv_cxx_const_cast
=no
22505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22507 ac_cpp
='$CXXCPP $CPPFLAGS'
22508 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22509 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22510 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22514 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22515 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22516 if test "$ac_cv_cxx_const_cast" = yes; then
22518 cat >>confdefs.h
<<\_ACEOF
22519 #define HAVE_CONST_CAST
22524 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22525 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22526 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22532 ac_cpp
='$CXXCPP $CPPFLAGS'
22533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22537 cat >conftest.
$ac_ext <<_ACEOF
22540 cat confdefs.h
>>conftest.
$ac_ext
22541 cat >>conftest.
$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22543 #include <typeinfo>
22544 class Base { public : Base () {} virtual void f () = 0;};
22545 class Derived : public Base { public : Derived () {} virtual void f () {} };
22546 class Unrelated { public : Unrelated () {} };
22547 int g (Unrelated&) { return 0; }
22552 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22557 rm -f conftest.
$ac_objext
22558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22559 (eval $ac_compile) 2>conftest.er1
22561 grep -v '^ *+' conftest.er1
>conftest.err
22563 cat conftest.err
>&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); } &&
22566 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568 (eval $ac_try) 2>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); }; } &&
22572 { ac_try
='test -s conftest.$ac_objext'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 ac_cv_cxx_reinterpret_cast
=yes
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.
$ac_ext >&5
22583 ac_cv_cxx_reinterpret_cast
=no
22585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22587 ac_cpp
='$CXXCPP $CPPFLAGS'
22588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22594 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22595 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22596 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22598 cat >>confdefs.h
<<\_ACEOF
22599 #define HAVE_REINTERPRET_CAST
22604 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22605 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22606 if test "${ac_cv_cxx_static_cast+set}" = set; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22612 ac_cpp
='$CXXCPP $CPPFLAGS'
22613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22617 cat >conftest.
$ac_ext <<_ACEOF
22620 cat confdefs.h
>>conftest.
$ac_ext
22621 cat >>conftest.
$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623 #include <typeinfo>
22624 class Base { public : Base () {} virtual void f () = 0; };
22625 class Derived : public Base { public : Derived () {} virtual void f () {} };
22626 int g (Derived&) { return 0; }
22631 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22636 rm -f conftest.
$ac_objext
22637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22638 (eval $ac_compile) 2>conftest.er1
22640 grep -v '^ *+' conftest.er1
>conftest.err
22642 cat conftest.err
>&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } &&
22645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22647 (eval $ac_try) 2>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; } &&
22651 { ac_try
='test -s conftest.$ac_objext'
22652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22653 (eval $ac_try) 2>&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); }; }; then
22657 ac_cv_cxx_static_cast
=yes
22659 echo "$as_me: failed program was:" >&5
22660 sed 's/^/| /' conftest.
$ac_ext >&5
22662 ac_cv_cxx_static_cast
=no
22664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22666 ac_cpp
='$CXXCPP $CPPFLAGS'
22667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22673 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22674 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22675 if test "$ac_cv_cxx_static_cast" = yes; then
22677 cat >>confdefs.h
<<\_ACEOF
22678 #define HAVE_STATIC_CAST
22684 if test "x$SUNCXX" = xyes
; then
22685 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22688 if test "x$SUNCC" = xyes
; then
22689 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22692 if test "x$SGICC" = "xyes"; then
22693 CFLAGS
="-woff 3970 $CFLAGS"
22695 if test "x$SGICXX" = "xyes"; then
22696 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22699 if test "x$HPCC" = "xyes"; then
22700 CFLAGS
="+W 2011,2450 $CFLAGS"
22702 if test "x$HPCXX" = "xyes"; then
22703 CXXFLAGS
="+W 2340 $CXXFLAGS"
22706 if test "x$COMPAQCXX" = "xyes"; then
22707 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22710 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22711 if test "$wxUSE_UNICODE" = "yes"; then
22712 std_string
="std::wstring"
22713 char_type
="wchar_t"
22715 std_string
="std::string"
22719 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22720 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22721 cat >conftest.
$ac_ext <<_ACEOF
22724 cat confdefs.h
>>conftest.
$ac_ext
22725 cat >>conftest.
$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22736 rm -f conftest.
$ac_objext
22737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22738 (eval $ac_compile) 2>conftest.er1
22740 grep -v '^ *+' conftest.er1
>conftest.err
22742 cat conftest.err
>&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } &&
22745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22747 (eval $ac_try) 2>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; } &&
22751 { ac_try
='test -s conftest.$ac_objext'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; }; then
22757 echo "$as_me:$LINENO: result: yes" >&5
22758 echo "${ECHO_T}yes" >&6
22759 cat >>confdefs.h
<<\_ACEOF
22760 #define HAVE_STD_WSTRING 1
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.
$ac_ext >&5
22767 echo "$as_me:$LINENO: result: no" >&5
22768 echo "${ECHO_T}no" >&6
22769 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22770 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22771 cat >conftest.
$ac_ext <<_ACEOF
22774 cat confdefs.h
>>conftest.
$ac_ext
22775 cat >>conftest.
$ac_ext <<_ACEOF
22776 /* end confdefs.h. */
22778 #ifdef HAVE_WCHAR_H
22780 # include <stddef.h>
22782 # include <wchar.h>
22784 #ifdef HAVE_STDLIB_H
22785 # include <stdlib.h>
22793 std::basic_string<$char_type> foo;
22794 const $char_type* dummy = foo.c_str();
22799 rm -f conftest.
$ac_objext
22800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22801 (eval $ac_compile) 2>conftest.er1
22803 grep -v '^ *+' conftest.er1
>conftest.err
22805 cat conftest.err
>&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); } &&
22808 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; } &&
22814 { ac_try
='test -s conftest.$ac_objext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 echo "$as_me:$LINENO: result: yes" >&5
22821 echo "${ECHO_T}yes" >&6
22823 echo "$as_me: failed program was:" >&5
22824 sed 's/^/| /' conftest.
$ac_ext >&5
22826 echo "$as_me:$LINENO: result: no" >&5
22827 echo "${ECHO_T}no" >&6
22828 if test "$wxUSE_STL" = "yes"; then
22829 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22830 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22831 { (exit 1); exit 1; }; }
22832 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22833 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22834 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22835 { (exit 1); exit 1; }; }
22837 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22838 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22839 wxUSE_STD_STRING
=no
22844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22850 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22851 echo "$as_me:$LINENO: checking for std::istream" >&5
22852 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22853 if test "${ac_cv_type_std__istream+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. */
22862 #include <iostream>
22867 if ((std::istream *) 0)
22869 if (sizeof (std::istream))
22875 rm -f conftest.
$ac_objext
22876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22877 (eval $ac_compile) 2>conftest.er1
22879 grep -v '^ *+' conftest.er1
>conftest.err
22881 cat conftest.err
>&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } &&
22884 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22886 (eval $ac_try) 2>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); }; } &&
22890 { ac_try
='test -s conftest.$ac_objext'
22891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892 (eval $ac_try) 2>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); }; }; then
22896 ac_cv_type_std__istream
=yes
22898 echo "$as_me: failed program was:" >&5
22899 sed 's/^/| /' conftest.
$ac_ext >&5
22901 ac_cv_type_std__istream
=no
22903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22905 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22906 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22907 if test $ac_cv_type_std__istream = yes; then
22909 cat >>confdefs.h
<<_ACEOF
22910 #define HAVE_STD__ISTREAM 1
22915 wxUSE_STD_IOSTREAM
=no
22917 echo "$as_me:$LINENO: checking for std::ostream" >&5
22918 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22919 if test "${ac_cv_type_std__ostream+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 cat >conftest.
$ac_ext <<_ACEOF
22925 cat confdefs.h
>>conftest.
$ac_ext
22926 cat >>conftest.
$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22928 #include <iostream>
22933 if ((std::ostream *) 0)
22935 if (sizeof (std::ostream))
22941 rm -f conftest.
$ac_objext
22942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22943 (eval $ac_compile) 2>conftest.er1
22945 grep -v '^ *+' conftest.er1
>conftest.err
22947 cat conftest.err
>&5
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); } &&
22950 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952 (eval $ac_try) 2>&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; } &&
22956 { ac_try
='test -s conftest.$ac_objext'
22957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22958 (eval $ac_try) 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); }; }; then
22962 ac_cv_type_std__ostream
=yes
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.
$ac_ext >&5
22967 ac_cv_type_std__ostream
=no
22969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22971 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22972 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22973 if test $ac_cv_type_std__ostream = yes; then
22975 cat >>confdefs.h
<<_ACEOF
22976 #define HAVE_STD__OSTREAM 1
22981 wxUSE_STD_IOSTREAM
=no
22985 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22986 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22987 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22988 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22989 { (exit 1); exit 1; }; }
22991 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22992 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22997 if test "$wxUSE_STL" = "yes"; then
22998 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22999 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23000 cat >conftest.
$ac_ext <<_ACEOF
23003 cat confdefs.h
>>conftest.
$ac_ext
23004 cat >>conftest.
$ac_ext <<_ACEOF
23005 /* end confdefs.h. */
23007 #include <functional>
23008 #include <algorithm>
23014 std::vector<int> moo;
23015 std::list<int> foo;
23016 std::vector<int>::iterator it =
23017 std::find_if(moo.begin(), moo.end(),
23018 std::bind2nd(std::less<int>(), 3));
23023 rm -f conftest.
$ac_objext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23025 (eval $ac_compile) 2>conftest.er1
23027 grep -v '^ *+' conftest.er1
>conftest.err
23029 cat conftest.err
>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } &&
23032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; } &&
23038 { ac_try
='test -s conftest.$ac_objext'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 echo "$as_me:$LINENO: result: yes" >&5
23045 echo "${ECHO_T}yes" >&6
23047 echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.
$ac_ext >&5
23050 echo "$as_me:$LINENO: result: no" >&5
23051 echo "${ECHO_T}no" >&6
23052 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23053 echo "$as_me: error: Basic STL functionality missing" >&2;}
23054 { (exit 1); exit 1; }; }
23056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23058 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23059 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23060 cat >conftest.
$ac_ext <<_ACEOF
23063 cat confdefs.h
>>conftest.
$ac_ext
23064 cat >>conftest.
$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23070 std::string foo, bar;
23072 foo.compare(1, 1, bar);
23073 foo.compare(1, 1, bar, 1, 1);
23075 foo.compare(1, 1, "");
23076 foo.compare(1, 1, "", 2);
23081 rm -f conftest.
$ac_objext
23082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23083 (eval $ac_compile) 2>conftest.er1
23085 grep -v '^ *+' conftest.er1
>conftest.err
23087 cat conftest.err
>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } &&
23090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; } &&
23096 { ac_try
='test -s conftest.$ac_objext'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; }; then
23102 echo "$as_me:$LINENO: result: yes" >&5
23103 echo "${ECHO_T}yes" >&6
23104 cat >>confdefs.h
<<\_ACEOF
23105 #define HAVE_STD_STRING_COMPARE 1
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.
$ac_ext >&5
23112 echo "$as_me:$LINENO: result: no" >&5
23113 echo "${ECHO_T}no" >&6
23115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23117 if test "${ac_cv_header_hash_map+set}" = set; then
23118 echo "$as_me:$LINENO: checking for hash_map" >&5
23119 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23120 if test "${ac_cv_header_hash_map+set}" = set; then
23121 echo $ECHO_N "(cached) $ECHO_C" >&6
23123 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23124 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23126 # Is the header compilable?
23127 echo "$as_me:$LINENO: checking hash_map usability" >&5
23128 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23129 cat >conftest.
$ac_ext <<_ACEOF
23132 cat confdefs.h
>>conftest.
$ac_ext
23133 cat >>conftest.
$ac_ext <<_ACEOF
23134 /* end confdefs.h. */
23135 $ac_includes_default
23136 #include <hash_map>
23138 rm -f conftest.
$ac_objext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23140 (eval $ac_compile) 2>conftest.er1
23142 grep -v '^ *+' conftest.er1
>conftest.err
23144 cat conftest.err
>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23149 (eval $ac_try) 2>&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); }; } &&
23153 { ac_try
='test -s conftest.$ac_objext'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; }; then
23159 ac_header_compiler
=yes
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.
$ac_ext >&5
23164 ac_header_compiler
=no
23166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23168 echo "${ECHO_T}$ac_header_compiler" >&6
23170 # Is the header present?
23171 echo "$as_me:$LINENO: checking hash_map presence" >&5
23172 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23173 cat >conftest.
$ac_ext <<_ACEOF
23176 cat confdefs.h
>>conftest.
$ac_ext
23177 cat >>conftest.
$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179 #include <hash_map>
23181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23184 grep -v '^ *+' conftest.er1
>conftest.err
23186 cat conftest.err
>&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } >/dev
/null
; then
23189 if test -s conftest.err
; then
23190 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23191 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23198 if test -z "$ac_cpp_err"; then
23199 ac_header_preproc
=yes
23201 echo "$as_me: failed program was:" >&5
23202 sed 's/^/| /' conftest.
$ac_ext >&5
23204 ac_header_preproc
=no
23206 rm -f conftest.err conftest.
$ac_ext
23207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23208 echo "${ECHO_T}$ac_header_preproc" >&6
23210 # So? What about this header?
23211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23213 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23214 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23215 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23216 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23217 ac_header_preproc
=yes
23220 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23221 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23222 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23223 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23224 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23225 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23226 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23227 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23228 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23229 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23230 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23231 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23234 ## ----------------------------------------- ##
23235 ## Report this to wx-dev@lists.wxwidgets.org ##
23236 ## ----------------------------------------- ##
23239 sed "s/^/$as_me: WARNING: /" >&2
23242 echo "$as_me:$LINENO: checking for hash_map" >&5
23243 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23244 if test "${ac_cv_header_hash_map+set}" = set; then
23245 echo $ECHO_N "(cached) $ECHO_C" >&6
23247 ac_cv_header_hash_map
=$ac_header_preproc
23249 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23250 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23253 if test $ac_cv_header_hash_map = yes; then
23254 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23255 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23256 cat >conftest.
$ac_ext <<_ACEOF
23259 cat confdefs.h
>>conftest.
$ac_ext
23260 cat >>conftest.
$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23262 #include <hash_map>
23263 #include <hash_set>
23267 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23268 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23273 rm -f conftest.
$ac_objext
23274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23275 (eval $ac_compile) 2>conftest.er1
23277 grep -v '^ *+' conftest.er1
>conftest.err
23279 cat conftest.err
>&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); } &&
23282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23284 (eval $ac_try) 2>&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); }; } &&
23288 { ac_try
='test -s conftest.$ac_objext'
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; }; then
23294 echo "$as_me:$LINENO: result: yes" >&5
23295 echo "${ECHO_T}yes" >&6
23296 cat >>confdefs.h
<<\_ACEOF
23297 #define HAVE_HASH_MAP 1
23300 cat >>confdefs.h
<<\_ACEOF
23301 #define HAVE_STD_HASH_MAP 1
23305 echo "$as_me: failed program was:" >&5
23306 sed 's/^/| /' conftest.
$ac_ext >&5
23308 echo "$as_me:$LINENO: result: no" >&5
23309 echo "${ECHO_T}no" >&6
23311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23317 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23318 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23319 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23320 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23321 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23324 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23326 # Is the header compilable?
23327 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23328 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23329 cat >conftest.
$ac_ext <<_ACEOF
23332 cat confdefs.h
>>conftest.
$ac_ext
23333 cat >>conftest.
$ac_ext <<_ACEOF
23334 /* end confdefs.h. */
23335 $ac_includes_default
23336 #include <ext/hash_map>
23338 rm -f conftest.
$ac_objext
23339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23340 (eval $ac_compile) 2>conftest.er1
23342 grep -v '^ *+' conftest.er1
>conftest.err
23344 cat conftest.err
>&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } &&
23347 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; } &&
23353 { ac_try
='test -s conftest.$ac_objext'
23354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355 (eval $ac_try) 2>&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); }; }; then
23359 ac_header_compiler
=yes
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.
$ac_ext >&5
23364 ac_header_compiler
=no
23366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23368 echo "${ECHO_T}$ac_header_compiler" >&6
23370 # Is the header present?
23371 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23372 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23373 cat >conftest.
$ac_ext <<_ACEOF
23376 cat confdefs.h
>>conftest.
$ac_ext
23377 cat >>conftest.
$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 #include <ext/hash_map>
23381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23382 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
23389 if test -s conftest.err
; then
23390 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23391 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23398 if test -z "$ac_cpp_err"; then
23399 ac_header_preproc
=yes
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.
$ac_ext >&5
23404 ac_header_preproc
=no
23406 rm -f conftest.err conftest.
$ac_ext
23407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23408 echo "${ECHO_T}$ac_header_preproc" >&6
23410 # So? What about this header?
23411 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23413 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23414 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23415 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23416 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23417 ac_header_preproc
=yes
23420 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23421 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23422 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23423 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23424 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23425 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23426 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23427 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23428 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23429 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23430 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23431 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23434 ## ----------------------------------------- ##
23435 ## Report this to wx-dev@lists.wxwidgets.org ##
23436 ## ----------------------------------------- ##
23439 sed "s/^/$as_me: WARNING: /" >&2
23442 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23443 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23444 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23445 echo $ECHO_N "(cached) $ECHO_C" >&6
23447 ac_cv_header_ext_hash_map
=$ac_header_preproc
23449 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23450 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23453 if test $ac_cv_header_ext_hash_map = yes; then
23454 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23455 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23456 cat >conftest.
$ac_ext <<_ACEOF
23459 cat confdefs.h
>>conftest.
$ac_ext
23460 cat >>conftest.
$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23462 #include <ext/hash_map>
23463 #include <ext/hash_set>
23467 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23468 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23473 rm -f conftest.
$ac_objext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23475 (eval $ac_compile) 2>conftest.er1
23477 grep -v '^ *+' conftest.er1
>conftest.err
23479 cat conftest.err
>&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } &&
23482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; } &&
23488 { ac_try
='test -s conftest.$ac_objext'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; }; then
23494 echo "$as_me:$LINENO: result: yes" >&5
23495 echo "${ECHO_T}yes" >&6
23496 cat >>confdefs.h
<<\_ACEOF
23497 #define HAVE_EXT_HASH_MAP 1
23500 cat >>confdefs.h
<<\_ACEOF
23501 #define HAVE_GNU_CXX_HASH_MAP 1
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.
$ac_ext >&5
23508 echo "$as_me:$LINENO: result: no" >&5
23509 echo "${ECHO_T}no" >&6
23511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23520 /usr/local/include \
23522 /usr/Motif-2.1/include \
23523 /usr/Motif-1.2/include \
23524 /usr/include/Motif1.2 \
23527 /usr/openwin/include \
23531 /usr/X11R6/include \
23532 /usr/X11R6.4/include \
23533 /usr/X11R5/include \
23534 /usr/X11R4/include \
23536 /usr/include/X11R6 \
23537 /usr/include/X11R5 \
23538 /usr/include/X11R4 \
23540 /usr/local/X11R6/include \
23541 /usr/local/X11R5/include \
23542 /usr/local/X11R4/include \
23544 /usr/local/include/X11R6 \
23545 /usr/local/include/X11R5 \
23546 /usr/local/include/X11R4 \
23550 /usr/local/X11/include \
23551 /usr/local/include/X11 \
23553 /usr/XFree86/include/X11 \
23556 /usr/openwin/share/include"
23558 echo "$as_me:$LINENO: checking for libraries directory" >&5
23559 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23563 if test "${wx_cv_std_libpath+set}" = set; then
23564 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23568 for e
in a so sl dylib dll.a
; do
23570 if test -f $libc; then
23573 cat >conftest.
$ac_ext <<_ACEOF
23574 int main() { return 0; }
23576 rm -f conftest.
$ac_objext conftest
$ac_exeext
23577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23578 (eval $ac_link) 2>conftest.er1
23580 grep -v '^ *+' conftest.er1
>conftest.err
23582 cat conftest.err
>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } &&
23585 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23587 (eval $ac_try) 2>&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; } &&
23591 { ac_try
='test -s conftest$ac_exeext'
23592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593 (eval $ac_try) 2>&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); }; }; then
23597 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.
$ac_ext >&5
23603 rm -f conftest.err conftest.
$ac_objext \
23604 conftest
$ac_exeext conftest.
$ac_ext
23606 if test "x$wx_cv_std_libpath" != "x"; then
23612 if test "x$wx_cv_std_libpath" = "x"; then
23613 wx_cv_std_libpath
="lib"
23622 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23623 wx_cv_std_libpath
="lib/64"
23625 wx_cv_std_libpath
="lib"
23630 if test "$ac_cv_sizeof_void_p" = 8 -a \
23631 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23632 wx_cv_std_libpath
="lib64"
23634 wx_cv_std_libpath
="lib"
23639 wx_cv_std_libpath
="lib";
23643 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23644 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23646 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23648 if test "$build" != "$host" -a "$GCC" = yes; then
23649 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23650 cross_root
=`dirname $cross_root`
23651 cross_root
=`dirname $cross_root`
23653 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23654 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23655 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23657 if test -z "$PKG_CONFIG_PATH"; then
23658 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23659 export PKG_CONFIG_PATH
23662 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23665 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23667 if test -f "$ac_dir/X11/Intrinsic.h"; then
23668 ac_find_includes
=$ac_dir
23673 x_includes
=$ac_find_includes
23675 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23678 for ac_dir
in $SEARCH_LIB;
23680 for ac_extension
in a so sl dylib dll.a
; do
23681 if test -f "$ac_dir/libXt.$ac_extension"; then
23682 ac_find_libraries
=$ac_dir
23688 x_libraries
=$ac_find_libraries
23694 cat >confcache
<<\_ACEOF
23695 # This file is a shell script that caches the results of configure
23696 # tests run on this system so they can be shared between configure
23697 # scripts and configure runs, see configure's option --config-cache.
23698 # It is not useful on other systems. If it contains results you don't
23699 # want to keep, you may remove or edit it.
23701 # config.status only pays attention to the cache file if you give it
23702 # the --recheck option to rerun configure.
23704 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23706 # following values.
23710 # The following way of writing the cache mishandles newlines in values,
23711 # but we know of no workaround that is simple, portable, and efficient.
23712 # So, don't put newlines in cache variables' values.
23713 # Ultrix sh set writes to stderr and can't be redirected directly,
23714 # and sets the high bit in the cache file unless we assign to the vars.
23717 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23719 # `set' does not quote correctly, so add quotes (double-quote
23720 # substitution turns \\\\ into \\, and sed turns \\ into \).
23723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23726 # `set' quotes correctly as required by POSIX, so do not add quotes.
23728 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23737 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23739 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23740 if test -w $cache_file; then
23741 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23742 cat confcache
>$cache_file
23744 echo "not updating unwritable cache $cache_file"
23749 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23750 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23751 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23752 if test "${wx_cv_lib_glibc21+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 cat >conftest.
$ac_ext <<_ACEOF
23759 cat confdefs.h
>>conftest.
$ac_ext
23760 cat >>conftest.
$ac_ext <<_ACEOF
23761 /* end confdefs.h. */
23762 #include <features.h>
23767 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23775 rm -f conftest.
$ac_objext
23776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23777 (eval $ac_compile) 2>conftest.er1
23779 grep -v '^ *+' conftest.er1
>conftest.err
23781 cat conftest.err
>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } &&
23784 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23790 { ac_try
='test -s conftest.$ac_objext'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; }; then
23797 wx_cv_lib_glibc21
=yes
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.
$ac_ext >&5
23804 wx_cv_lib_glibc21
=no
23808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23811 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23812 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23813 if test "$wx_cv_lib_glibc21" = "yes"; then
23814 cat >>confdefs.h
<<\_ACEOF
23815 #define wxHAVE_GLIBC2 1
23821 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23822 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23823 cat >>confdefs.h
<<\_ACEOF
23824 #define _GNU_SOURCE 1
23835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23836 echo "$as_me:$LINENO: checking for $ac_func" >&5
23837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23838 if eval "test \"\${$as_ac_var+set}\" = set"; then
23839 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 cat >conftest.
$ac_ext <<_ACEOF
23844 cat confdefs.h
>>conftest.
$ac_ext
23845 cat >>conftest.
$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23849 #define $ac_func innocuous_$ac_func
23851 /* System header to define __stub macros and hopefully few prototypes,
23852 which can conflict with char $ac_func (); below.
23853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23854 <limits.h> exists even on freestanding compilers. */
23857 # include <limits.h>
23859 # include <assert.h>
23864 /* Override any gcc2 internal prototype to avoid an error. */
23869 /* We use char because int might match the return type of a gcc2
23870 builtin and then its argument prototype would still apply. */
23872 /* The GNU C library defines this for functions which it implements
23873 to always fail with ENOSYS. Some functions are actually named
23874 something starting with __ and the normal name is an alias. */
23875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23878 char (*f) () = $ac_func;
23887 return f != $ac_func;
23892 rm -f conftest.
$ac_objext conftest
$ac_exeext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23894 (eval $ac_link) 2>conftest.er1
23896 grep -v '^ *+' conftest.er1
>conftest.err
23898 cat conftest.err
>&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; } &&
23907 { ac_try
='test -s conftest$ac_exeext'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; }; then
23913 eval "$as_ac_var=yes"
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.
$ac_ext >&5
23918 eval "$as_ac_var=no"
23920 rm -f conftest.err conftest.
$ac_objext \
23921 conftest
$ac_exeext conftest.
$ac_ext
23923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23925 if test `eval echo '${'$as_ac_var'}'` = yes; then
23926 cat >>confdefs.h
<<_ACEOF
23927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23934 for ac_func
in floor
23936 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23937 echo "$as_me:$LINENO: checking for $ac_func" >&5
23938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23939 if eval "test \"\${$as_ac_var+set}\" = set"; then
23940 echo $ECHO_N "(cached) $ECHO_C" >&6
23942 cat >conftest.
$ac_ext <<_ACEOF
23945 cat confdefs.h
>>conftest.
$ac_ext
23946 cat >>conftest.
$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23950 #define $ac_func innocuous_$ac_func
23952 /* System header to define __stub macros and hopefully few prototypes,
23953 which can conflict with char $ac_func (); below.
23954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23955 <limits.h> exists even on freestanding compilers. */
23958 # include <limits.h>
23960 # include <assert.h>
23965 /* Override any gcc2 internal prototype to avoid an error. */
23970 /* We use char because int might match the return type of a gcc2
23971 builtin and then its argument prototype would still apply. */
23973 /* The GNU C library defines this for functions which it implements
23974 to always fail with ENOSYS. Some functions are actually named
23975 something starting with __ and the normal name is an alias. */
23976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23979 char (*f) () = $ac_func;
23988 return f != $ac_func;
23993 rm -f conftest.
$ac_objext conftest
$ac_exeext
23994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23995 (eval $ac_link) 2>conftest.er1
23997 grep -v '^ *+' conftest.er1
>conftest.err
23999 cat conftest.err
>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } &&
24002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; } &&
24008 { ac_try
='test -s conftest$ac_exeext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24014 eval "$as_ac_var=yes"
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.
$ac_ext >&5
24019 eval "$as_ac_var=no"
24021 rm -f conftest.err conftest.
$ac_objext \
24022 conftest
$ac_exeext conftest.
$ac_ext
24024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24026 if test `eval echo '${'$as_ac_var'}'` = yes; then
24027 cat >>confdefs.h
<<_ACEOF
24028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24034 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24035 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24036 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24037 echo "$as_me:$LINENO: result: yes" >&5
24038 echo "${ECHO_T}yes" >&6
24040 echo "$as_me:$LINENO: result: no" >&5
24041 echo "${ECHO_T}no" >&6
24043 # use different functions to avoid configure caching
24049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24050 echo "$as_me:$LINENO: checking for $ac_func" >&5
24051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24052 if eval "test \"\${$as_ac_var+set}\" = set"; then
24053 echo $ECHO_N "(cached) $ECHO_C" >&6
24055 cat >conftest.
$ac_ext <<_ACEOF
24058 cat confdefs.h
>>conftest.
$ac_ext
24059 cat >>conftest.
$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24063 #define $ac_func innocuous_$ac_func
24065 /* System header to define __stub macros and hopefully few prototypes,
24066 which can conflict with char $ac_func (); below.
24067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24068 <limits.h> exists even on freestanding compilers. */
24071 # include <limits.h>
24073 # include <assert.h>
24078 /* Override any gcc2 internal prototype to avoid an error. */
24083 /* We use char because int might match the return type of a gcc2
24084 builtin and then its argument prototype would still apply. */
24086 /* The GNU C library defines this for functions which it implements
24087 to always fail with ENOSYS. Some functions are actually named
24088 something starting with __ and the normal name is an alias. */
24089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24092 char (*f) () = $ac_func;
24101 return f != $ac_func;
24106 rm -f conftest.
$ac_objext conftest
$ac_exeext
24107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24108 (eval $ac_link) 2>conftest.er1
24110 grep -v '^ *+' conftest.er1
>conftest.err
24112 cat conftest.err
>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); } &&
24115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; } &&
24121 { ac_try
='test -s conftest$ac_exeext'
24122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24123 (eval $ac_try) 2>&5
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; }; then
24127 eval "$as_ac_var=yes"
24129 echo "$as_me: failed program was:" >&5
24130 sed 's/^/| /' conftest.
$ac_ext >&5
24132 eval "$as_ac_var=no"
24134 rm -f conftest.err conftest.
$ac_objext \
24135 conftest
$ac_exeext conftest.
$ac_ext
24137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24139 if test `eval echo '${'$as_ac_var'}'` = yes; then
24140 cat >>confdefs.h
<<_ACEOF
24141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24148 for ac_func
in ceil
24150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24151 echo "$as_me:$LINENO: checking for $ac_func" >&5
24152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24153 if eval "test \"\${$as_ac_var+set}\" = set"; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24156 cat >conftest.
$ac_ext <<_ACEOF
24159 cat confdefs.h
>>conftest.
$ac_ext
24160 cat >>conftest.
$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24164 #define $ac_func innocuous_$ac_func
24166 /* System header to define __stub macros and hopefully few prototypes,
24167 which can conflict with char $ac_func (); below.
24168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24169 <limits.h> exists even on freestanding compilers. */
24172 # include <limits.h>
24174 # include <assert.h>
24179 /* Override any gcc2 internal prototype to avoid an error. */
24184 /* We use char because int might match the return type of a gcc2
24185 builtin and then its argument prototype would still apply. */
24187 /* The GNU C library defines this for functions which it implements
24188 to always fail with ENOSYS. Some functions are actually named
24189 something starting with __ and the normal name is an alias. */
24190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24193 char (*f) () = $ac_func;
24202 return f != $ac_func;
24207 rm -f conftest.
$ac_objext conftest
$ac_exeext
24208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24209 (eval $ac_link) 2>conftest.er1
24211 grep -v '^ *+' conftest.er1
>conftest.err
24213 cat conftest.err
>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); } &&
24216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24218 (eval $ac_try) 2>&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); }; } &&
24222 { ac_try
='test -s conftest$ac_exeext'
24223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24224 (eval $ac_try) 2>&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); }; }; then
24228 eval "$as_ac_var=yes"
24230 echo "$as_me: failed program was:" >&5
24231 sed 's/^/| /' conftest.
$ac_ext >&5
24233 eval "$as_ac_var=no"
24235 rm -f conftest.err conftest.
$ac_objext \
24236 conftest
$ac_exeext conftest.
$ac_ext
24238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24240 if test `eval echo '${'$as_ac_var'}'` = yes; then
24241 cat >>confdefs.h
<<_ACEOF
24242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24248 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24249 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24250 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24251 echo "$as_me:$LINENO: result: yes" >&5
24252 echo "${ECHO_T}yes" >&6
24254 echo "$as_me:$LINENO: result: no" >&5
24255 echo "${ECHO_T}no" >&6
24256 # not sure we should warn the user, crash, etc.
24262 if test "$wxUSE_REGEX" != "no"; then
24263 cat >>confdefs.h
<<\_ACEOF
24264 #define wxUSE_REGEX 1
24268 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24269 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24270 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24271 wxUSE_REGEX
=builtin
24274 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24275 if test "${ac_cv_header_regex_h+set}" = set; then
24276 echo "$as_me:$LINENO: checking for regex.h" >&5
24277 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24278 if test "${ac_cv_header_regex_h+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24281 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24282 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24284 # Is the header compilable?
24285 echo "$as_me:$LINENO: checking regex.h usability" >&5
24286 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24287 cat >conftest.
$ac_ext <<_ACEOF
24290 cat confdefs.h
>>conftest.
$ac_ext
24291 cat >>conftest.
$ac_ext <<_ACEOF
24292 /* end confdefs.h. */
24293 $ac_includes_default
24296 rm -f conftest.
$ac_objext
24297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24298 (eval $ac_compile) 2>conftest.er1
24300 grep -v '^ *+' conftest.er1
>conftest.err
24302 cat conftest.err
>&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24307 (eval $ac_try) 2>&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); }; } &&
24311 { ac_try
='test -s conftest.$ac_objext'
24312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313 (eval $ac_try) 2>&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); }; }; then
24317 ac_header_compiler
=yes
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.
$ac_ext >&5
24322 ac_header_compiler
=no
24324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24326 echo "${ECHO_T}$ac_header_compiler" >&6
24328 # Is the header present?
24329 echo "$as_me:$LINENO: checking regex.h presence" >&5
24330 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24331 cat >conftest.
$ac_ext <<_ACEOF
24334 cat confdefs.h
>>conftest.
$ac_ext
24335 cat >>conftest.
$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24342 grep -v '^ *+' conftest.er1
>conftest.err
24344 cat conftest.err
>&5
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); } >/dev
/null
; then
24347 if test -s conftest.err
; then
24348 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24349 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24356 if test -z "$ac_cpp_err"; then
24357 ac_header_preproc
=yes
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.
$ac_ext >&5
24362 ac_header_preproc
=no
24364 rm -f conftest.err conftest.
$ac_ext
24365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24366 echo "${ECHO_T}$ac_header_preproc" >&6
24368 # So? What about this header?
24369 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24371 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24372 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24373 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24374 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24375 ac_header_preproc
=yes
24378 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24379 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24380 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24381 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24382 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24383 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24384 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24385 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24386 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24387 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24388 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24389 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24392 ## ----------------------------------------- ##
24393 ## Report this to wx-dev@lists.wxwidgets.org ##
24394 ## ----------------------------------------- ##
24397 sed "s/^/$as_me: WARNING: /" >&2
24400 echo "$as_me:$LINENO: checking for regex.h" >&5
24401 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24402 if test "${ac_cv_header_regex_h+set}" = set; then
24403 echo $ECHO_N "(cached) $ECHO_C" >&6
24405 ac_cv_header_regex_h
=$ac_header_preproc
24407 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24408 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24411 if test $ac_cv_header_regex_h = yes; then
24414 for ac_func
in regcomp re_search
24416 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24417 echo "$as_me:$LINENO: checking for $ac_func" >&5
24418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24419 if eval "test \"\${$as_ac_var+set}\" = set"; then
24420 echo $ECHO_N "(cached) $ECHO_C" >&6
24422 cat >conftest.
$ac_ext <<_ACEOF
24425 cat confdefs.h
>>conftest.
$ac_ext
24426 cat >>conftest.
$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24430 #define $ac_func innocuous_$ac_func
24432 /* System header to define __stub macros and hopefully few prototypes,
24433 which can conflict with char $ac_func (); below.
24434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24435 <limits.h> exists even on freestanding compilers. */
24438 # include <limits.h>
24440 # include <assert.h>
24445 /* Override any gcc2 internal prototype to avoid an error. */
24450 /* We use char because int might match the return type of a gcc2
24451 builtin and then its argument prototype would still apply. */
24453 /* The GNU C library defines this for functions which it implements
24454 to always fail with ENOSYS. Some functions are actually named
24455 something starting with __ and the normal name is an alias. */
24456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24459 char (*f) () = $ac_func;
24468 return f != $ac_func;
24473 rm -f conftest.
$ac_objext conftest
$ac_exeext
24474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24475 (eval $ac_link) 2>conftest.er1
24477 grep -v '^ *+' conftest.er1
>conftest.err
24479 cat conftest.err
>&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); } &&
24482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; } &&
24488 { ac_try
='test -s conftest$ac_exeext'
24489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24490 (eval $ac_try) 2>&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); }; }; then
24494 eval "$as_ac_var=yes"
24496 echo "$as_me: failed program was:" >&5
24497 sed 's/^/| /' conftest.
$ac_ext >&5
24499 eval "$as_ac_var=no"
24501 rm -f conftest.err conftest.
$ac_objext \
24502 conftest
$ac_exeext conftest.
$ac_ext
24504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24506 if test `eval echo '${'$as_ac_var'}'` = yes; then
24507 cat >>confdefs.h
<<_ACEOF
24508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24518 if test "x$ac_cv_func_regcomp" != "xyes"; then
24519 if test "$wxUSE_REGEX" = "sys" ; then
24520 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24521 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24522 { (exit 1); exit 1; }; }
24524 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24525 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24526 wxUSE_REGEX
=builtin
24530 cat >>confdefs.h
<<\_ACEOF
24531 #define WX_NO_REGEX_ADVANCED 1
24540 if test "$wxUSE_ZLIB" != "no" ; then
24541 cat >>confdefs.h
<<\_ACEOF
24542 #define wxUSE_ZLIB 1
24546 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24547 if test "$USE_DARWIN" = 1; then
24548 system_zlib_h_ok
="yes"
24550 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24551 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24552 if test "${ac_cv_header_zlib_h+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24555 if test "$cross_compiling" = yes; then
24556 unset ac_cv_header_zlib_h
24559 cat >conftest.
$ac_ext <<_ACEOF
24562 cat confdefs.h
>>conftest.
$ac_ext
24563 cat >>conftest.
$ac_ext <<_ACEOF
24564 /* end confdefs.h. */
24571 FILE *f=fopen("conftestval", "w");
24574 ZLIB_VERSION[0] == '1' &&
24575 (ZLIB_VERSION[2] > '1' ||
24576 (ZLIB_VERSION[2] == '1' &&
24577 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24582 rm -f conftest
$ac_exeext
24583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24584 (eval $ac_link) 2>&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589 (eval $ac_try) 2>&5
24591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592 (exit $ac_status); }; }; then
24593 ac_cv_header_zlib_h
=`cat conftestval`
24595 echo "$as_me: program exited with status $ac_status" >&5
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.
$ac_ext >&5
24599 ( exit $ac_status )
24600 ac_cv_header_zlib_h
=no
24602 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24606 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24607 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24608 if test "${ac_cv_header_zlib_h+set}" = set; then
24609 echo "$as_me:$LINENO: checking for zlib.h" >&5
24610 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24611 if test "${ac_cv_header_zlib_h+set}" = set; then
24612 echo $ECHO_N "(cached) $ECHO_C" >&6
24614 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24617 # Is the header compilable?
24618 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24619 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24620 cat >conftest.
$ac_ext <<_ACEOF
24623 cat confdefs.h
>>conftest.
$ac_ext
24624 cat >>conftest.
$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 $ac_includes_default
24629 rm -f conftest.
$ac_objext
24630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24631 (eval $ac_compile) 2>conftest.er1
24633 grep -v '^ *+' conftest.er1
>conftest.err
24635 cat conftest.err
>&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } &&
24638 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640 (eval $ac_try) 2>&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; } &&
24644 { ac_try
='test -s conftest.$ac_objext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 ac_header_compiler
=yes
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.
$ac_ext >&5
24655 ac_header_compiler
=no
24657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24659 echo "${ECHO_T}$ac_header_compiler" >&6
24661 # Is the header present?
24662 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24663 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24664 cat >conftest.
$ac_ext <<_ACEOF
24667 cat confdefs.h
>>conftest.
$ac_ext
24668 cat >>conftest.
$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24675 grep -v '^ *+' conftest.er1
>conftest.err
24677 cat conftest.err
>&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } >/dev
/null
; then
24680 if test -s conftest.err
; then
24681 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24682 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24689 if test -z "$ac_cpp_err"; then
24690 ac_header_preproc
=yes
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.
$ac_ext >&5
24695 ac_header_preproc
=no
24697 rm -f conftest.err conftest.
$ac_ext
24698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24699 echo "${ECHO_T}$ac_header_preproc" >&6
24701 # So? What about this header?
24702 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24704 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24705 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24706 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24707 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24708 ac_header_preproc
=yes
24711 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24712 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24713 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24714 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24715 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24716 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24717 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24718 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24719 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24720 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24721 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24722 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24725 ## ----------------------------------------- ##
24726 ## Report this to wx-dev@lists.wxwidgets.org ##
24727 ## ----------------------------------------- ##
24730 sed "s/^/$as_me: WARNING: /" >&2
24733 echo "$as_me:$LINENO: checking for zlib.h" >&5
24734 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24735 if test "${ac_cv_header_zlib_h+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24738 ac_cv_header_zlib_h
=$ac_header_preproc
24740 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24741 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24747 system_zlib_h_ok
=$ac_cv_header_zlib_h
24750 if test "$system_zlib_h_ok" = "yes"; then
24751 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24752 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24753 if test "${ac_cv_lib_z_deflate+set}" = set; then
24754 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 ac_check_lib_save_LIBS
=$LIBS
24758 cat >conftest.
$ac_ext <<_ACEOF
24761 cat confdefs.h
>>conftest.
$ac_ext
24762 cat >>conftest.
$ac_ext <<_ACEOF
24763 /* end confdefs.h. */
24765 /* Override any gcc2 internal prototype to avoid an error. */
24769 /* We use char because int might match the return type of a gcc2
24770 builtin and then its argument prototype would still apply. */
24780 rm -f conftest.
$ac_objext conftest
$ac_exeext
24781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24782 (eval $ac_link) 2>conftest.er1
24784 grep -v '^ *+' conftest.er1
>conftest.err
24786 cat conftest.err
>&5
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); } &&
24789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24791 (eval $ac_try) 2>&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; } &&
24795 { ac_try
='test -s conftest$ac_exeext'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; }; then
24801 ac_cv_lib_z_deflate
=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.
$ac_ext >&5
24806 ac_cv_lib_z_deflate
=no
24808 rm -f conftest.err conftest.
$ac_objext \
24809 conftest
$ac_exeext conftest.
$ac_ext
24810 LIBS
=$ac_check_lib_save_LIBS
24812 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24813 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24814 if test $ac_cv_lib_z_deflate = yes; then
24820 if test "x$ZLIB_LINK" = "x" ; then
24821 if test "$wxUSE_ZLIB" = "sys" ; then
24822 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24823 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24824 { (exit 1); exit 1; }; }
24826 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24827 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24838 if test "$wxUSE_LIBPNG" != "no" ; then
24839 cat >>confdefs.h
<<\_ACEOF
24840 #define wxUSE_LIBPNG 1
24844 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24845 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24846 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24850 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24851 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24852 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24853 wxUSE_LIBPNG
=builtin
24856 if test "$wxUSE_MGL" != 1 ; then
24857 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24858 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24859 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24860 if test "${ac_cv_header_png_h+set}" = set; then
24861 echo $ECHO_N "(cached) $ECHO_C" >&6
24863 if test "$cross_compiling" = yes; then
24864 unset ac_cv_header_png_h
24867 cat >conftest.
$ac_ext <<_ACEOF
24870 cat confdefs.h
>>conftest.
$ac_ext
24871 cat >>conftest.
$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24879 FILE *f=fopen("conftestval", "w");
24882 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24887 rm -f conftest
$ac_exeext
24888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24889 (eval $ac_link) 2>&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894 (eval $ac_try) 2>&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); }; }; then
24898 ac_cv_header_png_h
=`cat conftestval`
24900 echo "$as_me: program exited with status $ac_status" >&5
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.
$ac_ext >&5
24904 ( exit $ac_status )
24905 ac_cv_header_png_h
=no
24907 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24911 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24912 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24913 if test "${ac_cv_header_png_h+set}" = set; then
24914 echo "$as_me:$LINENO: checking for png.h" >&5
24915 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24916 if test "${ac_cv_header_png_h+set}" = set; then
24917 echo $ECHO_N "(cached) $ECHO_C" >&6
24919 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24920 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24922 # Is the header compilable?
24923 echo "$as_me:$LINENO: checking png.h usability" >&5
24924 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24925 cat >conftest.
$ac_ext <<_ACEOF
24928 cat confdefs.h
>>conftest.
$ac_ext
24929 cat >>conftest.
$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24931 $ac_includes_default
24934 rm -f conftest.
$ac_objext
24935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24936 (eval $ac_compile) 2>conftest.er1
24938 grep -v '^ *+' conftest.er1
>conftest.err
24940 cat conftest.err
>&5
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); } &&
24943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24945 (eval $ac_try) 2>&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); }; } &&
24949 { ac_try
='test -s conftest.$ac_objext'
24950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24951 (eval $ac_try) 2>&5
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); }; }; then
24955 ac_header_compiler
=yes
24957 echo "$as_me: failed program was:" >&5
24958 sed 's/^/| /' conftest.
$ac_ext >&5
24960 ac_header_compiler
=no
24962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24964 echo "${ECHO_T}$ac_header_compiler" >&6
24966 # Is the header present?
24967 echo "$as_me:$LINENO: checking png.h presence" >&5
24968 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24969 cat >conftest.
$ac_ext <<_ACEOF
24972 cat confdefs.h
>>conftest.
$ac_ext
24973 cat >>conftest.
$ac_ext <<_ACEOF
24974 /* end confdefs.h. */
24977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24980 grep -v '^ *+' conftest.er1
>conftest.err
24982 cat conftest.err
>&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } >/dev
/null
; then
24985 if test -s conftest.err
; then
24986 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24987 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24994 if test -z "$ac_cpp_err"; then
24995 ac_header_preproc
=yes
24997 echo "$as_me: failed program was:" >&5
24998 sed 's/^/| /' conftest.
$ac_ext >&5
25000 ac_header_preproc
=no
25002 rm -f conftest.err conftest.
$ac_ext
25003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25004 echo "${ECHO_T}$ac_header_preproc" >&6
25006 # So? What about this header?
25007 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25009 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25010 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25011 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25012 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25013 ac_header_preproc
=yes
25016 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25017 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25018 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25019 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25020 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25021 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25022 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25023 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25024 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25025 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25026 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25027 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25030 ## ----------------------------------------- ##
25031 ## Report this to wx-dev@lists.wxwidgets.org ##
25032 ## ----------------------------------------- ##
25035 sed "s/^/$as_me: WARNING: /" >&2
25038 echo "$as_me:$LINENO: checking for png.h" >&5
25039 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25040 if test "${ac_cv_header_png_h+set}" = set; then
25041 echo $ECHO_N "(cached) $ECHO_C" >&6
25043 ac_cv_header_png_h
=$ac_header_preproc
25045 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25046 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25052 if test "$ac_cv_header_png_h" = "yes"; then
25053 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25054 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25055 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25056 echo $ECHO_N "(cached) $ECHO_C" >&6
25058 ac_check_lib_save_LIBS
=$LIBS
25059 LIBS
="-lpng -lz -lm $LIBS"
25060 cat >conftest.
$ac_ext <<_ACEOF
25063 cat confdefs.h
>>conftest.
$ac_ext
25064 cat >>conftest.
$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25067 /* Override any gcc2 internal prototype to avoid an error. */
25071 /* We use char because int might match the return type of a gcc2
25072 builtin and then its argument prototype would still apply. */
25073 char png_check_sig ();
25082 rm -f conftest.
$ac_objext conftest
$ac_exeext
25083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25084 (eval $ac_link) 2>conftest.er1
25086 grep -v '^ *+' conftest.er1
>conftest.err
25088 cat conftest.err
>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } &&
25091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; } &&
25097 { ac_try
='test -s conftest$ac_exeext'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 ac_cv_lib_png_png_check_sig
=yes
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.
$ac_ext >&5
25108 ac_cv_lib_png_png_check_sig
=no
25110 rm -f conftest.err conftest.
$ac_objext \
25111 conftest
$ac_exeext conftest.
$ac_ext
25112 LIBS
=$ac_check_lib_save_LIBS
25114 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25115 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25116 if test $ac_cv_lib_png_png_check_sig = yes; then
25117 PNG_LINK
=" -lpng -lz"
25122 if test "x$PNG_LINK" = "x" ; then
25123 if test "$wxUSE_LIBPNG" = "sys" ; then
25124 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25125 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25126 { (exit 1); exit 1; }; }
25128 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25129 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25130 wxUSE_LIBPNG
=builtin
25138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25143 if test "$wxUSE_LIBJPEG" != "no" ; then
25144 cat >>confdefs.h
<<\_ACEOF
25145 #define wxUSE_LIBJPEG 1
25149 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25150 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25151 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25155 if test "$wxUSE_MGL" != 1 ; then
25156 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25157 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25158 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25159 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 cat >conftest.
$ac_ext <<_ACEOF
25165 cat confdefs.h
>>conftest.
$ac_ext
25166 cat >>conftest.
$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25169 #undef HAVE_STDLIB_H
25171 #include <jpeglib.h>
25182 rm -f conftest.
$ac_objext
25183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25184 (eval $ac_compile) 2>conftest.er1
25186 grep -v '^ *+' conftest.er1
>conftest.err
25188 cat conftest.err
>&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } &&
25191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try
='test -s conftest.$ac_objext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_header_jpeglib_h
=yes
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.
$ac_ext >&5
25208 ac_cv_header_jpeglib_h
=no
25211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25215 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25216 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25218 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25219 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25220 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25221 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25222 echo $ECHO_N "(cached) $ECHO_C" >&6
25224 ac_check_lib_save_LIBS
=$LIBS
25225 LIBS
="-ljpeg $LIBS"
25226 cat >conftest.
$ac_ext <<_ACEOF
25229 cat confdefs.h
>>conftest.
$ac_ext
25230 cat >>conftest.
$ac_ext <<_ACEOF
25231 /* end confdefs.h. */
25233 /* Override any gcc2 internal prototype to avoid an error. */
25237 /* We use char because int might match the return type of a gcc2
25238 builtin and then its argument prototype would still apply. */
25239 char jpeg_read_header ();
25243 jpeg_read_header ();
25248 rm -f conftest.
$ac_objext conftest
$ac_exeext
25249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25250 (eval $ac_link) 2>conftest.er1
25252 grep -v '^ *+' conftest.er1
>conftest.err
25254 cat conftest.err
>&5
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); } &&
25257 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; } &&
25263 { ac_try
='test -s conftest$ac_exeext'
25264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265 (eval $ac_try) 2>&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); }; }; then
25269 ac_cv_lib_jpeg_jpeg_read_header
=yes
25271 echo "$as_me: failed program was:" >&5
25272 sed 's/^/| /' conftest.
$ac_ext >&5
25274 ac_cv_lib_jpeg_jpeg_read_header
=no
25276 rm -f conftest.err conftest.
$ac_objext \
25277 conftest
$ac_exeext conftest.
$ac_ext
25278 LIBS
=$ac_check_lib_save_LIBS
25280 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25281 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25282 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25283 JPEG_LINK
=" -ljpeg"
25288 if test "x$JPEG_LINK" = "x" ; then
25289 if test "$wxUSE_LIBJPEG" = "sys" ; then
25290 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25291 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25292 { (exit 1); exit 1; }; }
25294 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25295 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25296 wxUSE_LIBJPEG
=builtin
25307 TIFF_PREREQ_LINKS
=-lm
25308 if test "$wxUSE_LIBTIFF" != "no" ; then
25309 cat >>confdefs.h
<<\_ACEOF
25310 #define wxUSE_LIBTIFF 1
25314 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25315 if test "$wxUSE_LIBJPEG" = "sys"; then
25316 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25318 if test "$wxUSE_ZLIB" = "sys"; then
25319 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25321 if test "${ac_cv_header_tiffio_h+set}" = set; then
25322 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25323 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25324 if test "${ac_cv_header_tiffio_h+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25327 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25328 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25330 # Is the header compilable?
25331 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25332 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25333 cat >conftest.
$ac_ext <<_ACEOF
25336 cat confdefs.h
>>conftest.
$ac_ext
25337 cat >>conftest.
$ac_ext <<_ACEOF
25338 /* end confdefs.h. */
25339 $ac_includes_default
25340 #include <tiffio.h>
25342 rm -f conftest.
$ac_objext
25343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25344 (eval $ac_compile) 2>conftest.er1
25346 grep -v '^ *+' conftest.er1
>conftest.err
25348 cat conftest.err
>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } &&
25351 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; } &&
25357 { ac_try
='test -s conftest.$ac_objext'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; }; then
25363 ac_header_compiler
=yes
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.
$ac_ext >&5
25368 ac_header_compiler
=no
25370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25372 echo "${ECHO_T}$ac_header_compiler" >&6
25374 # Is the header present?
25375 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25376 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25377 cat >conftest.
$ac_ext <<_ACEOF
25380 cat confdefs.h
>>conftest.
$ac_ext
25381 cat >>conftest.
$ac_ext <<_ACEOF
25382 /* end confdefs.h. */
25383 #include <tiffio.h>
25385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25388 grep -v '^ *+' conftest.er1
>conftest.err
25390 cat conftest.err
>&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } >/dev
/null
; then
25393 if test -s conftest.err
; then
25394 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25395 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25402 if test -z "$ac_cpp_err"; then
25403 ac_header_preproc
=yes
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.
$ac_ext >&5
25408 ac_header_preproc
=no
25410 rm -f conftest.err conftest.
$ac_ext
25411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25412 echo "${ECHO_T}$ac_header_preproc" >&6
25414 # So? What about this header?
25415 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25417 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25418 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25419 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25420 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25421 ac_header_preproc
=yes
25424 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25425 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25426 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25427 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25428 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25429 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25430 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25431 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25432 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25433 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25434 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25435 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25438 ## ----------------------------------------- ##
25439 ## Report this to wx-dev@lists.wxwidgets.org ##
25440 ## ----------------------------------------- ##
25443 sed "s/^/$as_me: WARNING: /" >&2
25446 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25447 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25448 if test "${ac_cv_header_tiffio_h+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6
25451 ac_cv_header_tiffio_h
=$ac_header_preproc
25453 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25454 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25457 if test $ac_cv_header_tiffio_h = yes; then
25459 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25460 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25461 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 ac_check_lib_save_LIBS
=$LIBS
25465 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25466 cat >conftest.
$ac_ext <<_ACEOF
25469 cat confdefs.h
>>conftest.
$ac_ext
25470 cat >>conftest.
$ac_ext <<_ACEOF
25471 /* end confdefs.h. */
25473 /* Override any gcc2 internal prototype to avoid an error. */
25477 /* We use char because int might match the return type of a gcc2
25478 builtin and then its argument prototype would still apply. */
25488 rm -f conftest.
$ac_objext conftest
$ac_exeext
25489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25490 (eval $ac_link) 2>conftest.er1
25492 grep -v '^ *+' conftest.er1
>conftest.err
25494 cat conftest.err
>&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); } &&
25497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25499 (eval $ac_try) 2>&5
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); }; } &&
25503 { ac_try
='test -s conftest$ac_exeext'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; }; then
25509 ac_cv_lib_tiff_TIFFError
=yes
25511 echo "$as_me: failed program was:" >&5
25512 sed 's/^/| /' conftest.
$ac_ext >&5
25514 ac_cv_lib_tiff_TIFFError
=no
25516 rm -f conftest.err conftest.
$ac_objext \
25517 conftest
$ac_exeext conftest.
$ac_ext
25518 LIBS
=$ac_check_lib_save_LIBS
25520 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25521 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25522 if test $ac_cv_lib_tiff_TIFFError = yes; then
25523 TIFF_LINK
=" -ltiff"
25532 if test "x$TIFF_LINK" = "x" ; then
25533 if test "$wxUSE_LIBTIFF" = "sys" ; then
25534 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25535 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25536 { (exit 1); exit 1; }; }
25538 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25539 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25540 wxUSE_LIBTIFF
=builtin
25549 if test "$wxUSE_WCHAR_T" != "yes"; then
25550 if test "$wxUSE_EXPAT" != "no"; then
25551 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25552 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25555 if test "$wxUSE_XML" != "no"; then
25556 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25557 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25562 if test "$wxUSE_EXPAT" != "no"; then
25564 cat >>confdefs.h
<<\_ACEOF
25565 #define wxUSE_EXPAT 1
25568 cat >>confdefs.h
<<\_ACEOF
25569 #define wxUSE_XML 1
25573 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25574 if test "${ac_cv_header_expat_h+set}" = set; then
25575 echo "$as_me:$LINENO: checking for expat.h" >&5
25576 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25577 if test "${ac_cv_header_expat_h+set}" = set; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25581 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25583 # Is the header compilable?
25584 echo "$as_me:$LINENO: checking expat.h usability" >&5
25585 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25586 cat >conftest.
$ac_ext <<_ACEOF
25589 cat confdefs.h
>>conftest.
$ac_ext
25590 cat >>conftest.
$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25592 $ac_includes_default
25595 rm -f conftest.
$ac_objext
25596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25597 (eval $ac_compile) 2>conftest.er1
25599 grep -v '^ *+' conftest.er1
>conftest.err
25601 cat conftest.err
>&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); } &&
25604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25606 (eval $ac_try) 2>&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); }; } &&
25610 { ac_try
='test -s conftest.$ac_objext'
25611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25612 (eval $ac_try) 2>&5
25614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25615 (exit $ac_status); }; }; then
25616 ac_header_compiler
=yes
25618 echo "$as_me: failed program was:" >&5
25619 sed 's/^/| /' conftest.
$ac_ext >&5
25621 ac_header_compiler
=no
25623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25625 echo "${ECHO_T}$ac_header_compiler" >&6
25627 # Is the header present?
25628 echo "$as_me:$LINENO: checking expat.h presence" >&5
25629 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25630 cat >conftest.
$ac_ext <<_ACEOF
25633 cat confdefs.h
>>conftest.
$ac_ext
25634 cat >>conftest.
$ac_ext <<_ACEOF
25635 /* end confdefs.h. */
25638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25641 grep -v '^ *+' conftest.er1
>conftest.err
25643 cat conftest.err
>&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); } >/dev
/null
; then
25646 if test -s conftest.err
; then
25647 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25648 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25655 if test -z "$ac_cpp_err"; then
25656 ac_header_preproc
=yes
25658 echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.
$ac_ext >&5
25661 ac_header_preproc
=no
25663 rm -f conftest.err conftest.
$ac_ext
25664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25665 echo "${ECHO_T}$ac_header_preproc" >&6
25667 # So? What about this header?
25668 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25670 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25671 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25672 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25673 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25674 ac_header_preproc
=yes
25677 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25678 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25679 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25680 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25681 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25682 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25683 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25684 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25685 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25686 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25687 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25688 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25691 ## ----------------------------------------- ##
25692 ## Report this to wx-dev@lists.wxwidgets.org ##
25693 ## ----------------------------------------- ##
25696 sed "s/^/$as_me: WARNING: /" >&2
25699 echo "$as_me:$LINENO: checking for expat.h" >&5
25700 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25701 if test "${ac_cv_header_expat_h+set}" = set; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 ac_cv_header_expat_h
=$ac_header_preproc
25706 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25707 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25710 if test $ac_cv_header_expat_h = yes; then
25715 if test "x$found_expat_h" = "x1"; then
25716 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25717 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25718 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25719 echo $ECHO_N "(cached) $ECHO_C" >&6
25722 cat >conftest.
$ac_ext <<_ACEOF
25725 cat confdefs.h
>>conftest.
$ac_ext
25726 cat >>conftest.
$ac_ext <<_ACEOF
25727 /* end confdefs.h. */
25737 rm -f conftest.
$ac_objext
25738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25739 (eval $ac_compile) 2>conftest.er1
25741 grep -v '^ *+' conftest.er1
>conftest.err
25743 cat conftest.err
>&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); } &&
25746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; } &&
25752 { ac_try
='test -s conftest.$ac_objext'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; }; then
25758 wx_cv_expat_is_not_broken
=yes
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.
$ac_ext >&5
25763 wx_cv_expat_is_not_broken
=no
25766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25770 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25771 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25772 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25773 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25774 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25775 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 ac_check_lib_save_LIBS
=$LIBS
25779 LIBS
="-lexpat $LIBS"
25780 cat >conftest.
$ac_ext <<_ACEOF
25783 cat confdefs.h
>>conftest.
$ac_ext
25784 cat >>conftest.
$ac_ext <<_ACEOF
25785 /* end confdefs.h. */
25787 /* Override any gcc2 internal prototype to avoid an error. */
25791 /* We use char because int might match the return type of a gcc2
25792 builtin and then its argument prototype would still apply. */
25793 char XML_ParserCreate ();
25797 XML_ParserCreate ();
25802 rm -f conftest.
$ac_objext conftest
$ac_exeext
25803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25804 (eval $ac_link) 2>conftest.er1
25806 grep -v '^ *+' conftest.er1
>conftest.err
25808 cat conftest.err
>&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } &&
25811 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25813 (eval $ac_try) 2>&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); }; } &&
25817 { ac_try
='test -s conftest$ac_exeext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_lib_expat_XML_ParserCreate
=yes
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.
$ac_ext >&5
25828 ac_cv_lib_expat_XML_ParserCreate
=no
25830 rm -f conftest.err conftest.
$ac_objext \
25831 conftest
$ac_exeext conftest.
$ac_ext
25832 LIBS
=$ac_check_lib_save_LIBS
25834 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25835 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25836 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25837 EXPAT_LINK
=" -lexpat"
25842 if test "x$EXPAT_LINK" = "x" ; then
25843 if test "$wxUSE_EXPAT" = "sys" ; then
25844 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25845 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25846 { (exit 1); exit 1; }; }
25848 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25849 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25850 wxUSE_EXPAT
=builtin
25856 if test "$wxUSE_EXPAT" = "builtin" ; then
25859 subdirs
="$subdirs src/expat"
25866 if test "$wxUSE_LIBMSPACK" != "no"; then
25867 if test "${ac_cv_header_mspack_h+set}" = set; then
25868 echo "$as_me:$LINENO: checking for mspack.h" >&5
25869 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25870 if test "${ac_cv_header_mspack_h+set}" = set; then
25871 echo $ECHO_N "(cached) $ECHO_C" >&6
25873 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25874 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25876 # Is the header compilable?
25877 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25878 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25879 cat >conftest.
$ac_ext <<_ACEOF
25882 cat confdefs.h
>>conftest.
$ac_ext
25883 cat >>conftest.
$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885 $ac_includes_default
25886 #include <mspack.h>
25888 rm -f conftest.
$ac_objext
25889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25890 (eval $ac_compile) 2>conftest.er1
25892 grep -v '^ *+' conftest.er1
>conftest.err
25894 cat conftest.err
>&5
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); } &&
25897 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25899 (eval $ac_try) 2>&5
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; } &&
25903 { ac_try
='test -s conftest.$ac_objext'
25904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25905 (eval $ac_try) 2>&5
25907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25908 (exit $ac_status); }; }; then
25909 ac_header_compiler
=yes
25911 echo "$as_me: failed program was:" >&5
25912 sed 's/^/| /' conftest.
$ac_ext >&5
25914 ac_header_compiler
=no
25916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25918 echo "${ECHO_T}$ac_header_compiler" >&6
25920 # Is the header present?
25921 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25922 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25923 cat >conftest.
$ac_ext <<_ACEOF
25926 cat confdefs.h
>>conftest.
$ac_ext
25927 cat >>conftest.
$ac_ext <<_ACEOF
25928 /* end confdefs.h. */
25929 #include <mspack.h>
25931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25932 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25934 grep -v '^ *+' conftest.er1
>conftest.err
25936 cat conftest.err
>&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } >/dev
/null
; then
25939 if test -s conftest.err
; then
25940 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25941 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25948 if test -z "$ac_cpp_err"; then
25949 ac_header_preproc
=yes
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.
$ac_ext >&5
25954 ac_header_preproc
=no
25956 rm -f conftest.err conftest.
$ac_ext
25957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25958 echo "${ECHO_T}$ac_header_preproc" >&6
25960 # So? What about this header?
25961 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25963 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25964 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25965 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25966 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25967 ac_header_preproc
=yes
25970 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25971 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25972 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25973 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25974 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25975 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25976 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25977 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25978 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25979 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25980 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25981 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25984 ## ----------------------------------------- ##
25985 ## Report this to wx-dev@lists.wxwidgets.org ##
25986 ## ----------------------------------------- ##
25989 sed "s/^/$as_me: WARNING: /" >&2
25992 echo "$as_me:$LINENO: checking for mspack.h" >&5
25993 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25994 if test "${ac_cv_header_mspack_h+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 ac_cv_header_mspack_h
=$ac_header_preproc
25999 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26000 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26003 if test $ac_cv_header_mspack_h = yes; then
26008 if test "x$found_mspack_h" = "x1"; then
26009 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26010 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26011 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26012 echo $ECHO_N "(cached) $ECHO_C" >&6
26014 ac_check_lib_save_LIBS
=$LIBS
26015 LIBS
="-lmspack $LIBS"
26016 cat >conftest.
$ac_ext <<_ACEOF
26019 cat confdefs.h
>>conftest.
$ac_ext
26020 cat >>conftest.
$ac_ext <<_ACEOF
26021 /* end confdefs.h. */
26023 /* Override any gcc2 internal prototype to avoid an error. */
26027 /* We use char because int might match the return type of a gcc2
26028 builtin and then its argument prototype would still apply. */
26029 char mspack_create_chm_decompressor ();
26033 mspack_create_chm_decompressor ();
26038 rm -f conftest.
$ac_objext conftest
$ac_exeext
26039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26040 (eval $ac_link) 2>conftest.er1
26042 grep -v '^ *+' conftest.er1
>conftest.err
26044 cat conftest.err
>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); } &&
26047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26049 (eval $ac_try) 2>&5
26051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); }; } &&
26053 { ac_try
='test -s conftest$ac_exeext'
26054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055 (eval $ac_try) 2>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26059 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.
$ac_ext >&5
26064 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26066 rm -f conftest.err conftest.
$ac_objext \
26067 conftest
$ac_exeext conftest.
$ac_ext
26068 LIBS
=$ac_check_lib_save_LIBS
26070 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26071 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26072 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26073 MSPACK_LINK
=" -lmspack"
26077 if test "x$MSPACK_LINK" = "x" ; then
26082 if test "$wxUSE_LIBMSPACK" != "no"; then
26083 cat >>confdefs.h
<<\_ACEOF
26084 #define wxUSE_LIBMSPACK 1
26098 if test "$USE_WIN32" = 1 ; then
26100 for ac_header
in w32api.h
26102 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26104 echo "$as_me:$LINENO: checking for $ac_header" >&5
26105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26112 # Is the header compilable?
26113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26115 cat >conftest.
$ac_ext <<_ACEOF
26118 cat confdefs.h
>>conftest.
$ac_ext
26119 cat >>conftest.
$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26121 $ac_includes_default
26122 #include <$ac_header>
26124 rm -f conftest.
$ac_objext
26125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26126 (eval $ac_compile) 2>conftest.er1
26128 grep -v '^ *+' conftest.er1
>conftest.err
26130 cat conftest.err
>&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); } &&
26133 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26135 (eval $ac_try) 2>&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); }; } &&
26139 { ac_try
='test -s conftest.$ac_objext'
26140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26141 (eval $ac_try) 2>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); }; }; then
26145 ac_header_compiler
=yes
26147 echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.
$ac_ext >&5
26150 ac_header_compiler
=no
26152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26154 echo "${ECHO_T}$ac_header_compiler" >&6
26156 # Is the header present?
26157 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26159 cat >conftest.
$ac_ext <<_ACEOF
26162 cat confdefs.h
>>conftest.
$ac_ext
26163 cat >>conftest.
$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 #include <$ac_header>
26167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26168 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26170 grep -v '^ *+' conftest.er1
>conftest.err
26172 cat conftest.err
>&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } >/dev
/null
; then
26175 if test -s conftest.err
; then
26176 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26177 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26184 if test -z "$ac_cpp_err"; then
26185 ac_header_preproc
=yes
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.
$ac_ext >&5
26190 ac_header_preproc
=no
26192 rm -f conftest.err conftest.
$ac_ext
26193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26194 echo "${ECHO_T}$ac_header_preproc" >&6
26196 # So? What about this header?
26197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26203 ac_header_preproc
=yes
26206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26220 ## ----------------------------------------- ##
26221 ## Report this to wx-dev@lists.wxwidgets.org ##
26222 ## ----------------------------------------- ##
26225 sed "s/^/$as_me: WARNING: /" >&2
26228 echo "$as_me:$LINENO: checking for $ac_header" >&5
26229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26231 echo $ECHO_N "(cached) $ECHO_C" >&6
26233 eval "$as_ac_Header=\$ac_header_preproc"
26235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26240 cat >>confdefs.h
<<_ACEOF
26241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26248 if test "${ac_cv_header_windows_h+set}" = set; then
26249 echo "$as_me:$LINENO: checking for windows.h" >&5
26250 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26251 if test "${ac_cv_header_windows_h+set}" = set; then
26252 echo $ECHO_N "(cached) $ECHO_C" >&6
26254 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26255 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26257 # Is the header compilable?
26258 echo "$as_me:$LINENO: checking windows.h usability" >&5
26259 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26260 cat >conftest.
$ac_ext <<_ACEOF
26263 cat confdefs.h
>>conftest.
$ac_ext
26264 cat >>conftest.
$ac_ext <<_ACEOF
26265 /* end confdefs.h. */
26266 $ac_includes_default
26267 #include <windows.h>
26269 rm -f conftest.
$ac_objext
26270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26271 (eval $ac_compile) 2>conftest.er1
26273 grep -v '^ *+' conftest.er1
>conftest.err
26275 cat conftest.err
>&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); } &&
26278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26280 (eval $ac_try) 2>&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); }; } &&
26284 { ac_try
='test -s conftest.$ac_objext'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; }; then
26290 ac_header_compiler
=yes
26292 echo "$as_me: failed program was:" >&5
26293 sed 's/^/| /' conftest.
$ac_ext >&5
26295 ac_header_compiler
=no
26297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26299 echo "${ECHO_T}$ac_header_compiler" >&6
26301 # Is the header present?
26302 echo "$as_me:$LINENO: checking windows.h presence" >&5
26303 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26304 cat >conftest.
$ac_ext <<_ACEOF
26307 cat confdefs.h
>>conftest.
$ac_ext
26308 cat >>conftest.
$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26310 #include <windows.h>
26312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26315 grep -v '^ *+' conftest.er1
>conftest.err
26317 cat conftest.err
>&5
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); } >/dev
/null
; then
26320 if test -s conftest.err
; then
26321 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26322 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26329 if test -z "$ac_cpp_err"; then
26330 ac_header_preproc
=yes
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.
$ac_ext >&5
26335 ac_header_preproc
=no
26337 rm -f conftest.err conftest.
$ac_ext
26338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26339 echo "${ECHO_T}$ac_header_preproc" >&6
26341 # So? What about this header?
26342 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26344 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26345 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26346 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26347 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26348 ac_header_preproc
=yes
26351 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26352 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26353 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26354 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26355 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26356 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26357 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26358 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26359 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26360 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26361 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26362 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26365 ## ----------------------------------------- ##
26366 ## Report this to wx-dev@lists.wxwidgets.org ##
26367 ## ----------------------------------------- ##
26370 sed "s/^/$as_me: WARNING: /" >&2
26373 echo "$as_me:$LINENO: checking for windows.h" >&5
26374 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26375 if test "${ac_cv_header_windows_h+set}" = set; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26378 ac_cv_header_windows_h
=$ac_header_preproc
26380 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26381 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26384 if test $ac_cv_header_windows_h = yes; then
26388 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26389 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26390 { (exit 1); exit 1; }; }
26396 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26398 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26399 LIBS
="$LIBS -loleacc"
26404 LIBS
="$LIBS -lkernel32 -luser32"
26407 if test "$wxUSE_ODBC" = "sys" ; then
26410 if test "$wxUSE_ODBC" = "yes" ; then
26411 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26412 cat >>confdefs.h
<<\_ACEOF
26413 #define wxUSE_ODBC 1
26418 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26419 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26421 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26423 WIN32INSTALL
=win32install
26426 if test "$wxUSE_GUI" = "yes"; then
26436 if test "$wxUSE_COCOA" = 1 ; then
26437 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26438 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26439 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26440 wxUSE_PRINTING_ARCHITECTURE
=no
26442 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26443 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26444 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26445 wxUSE_DRAG_AND_DROP
=no
26447 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26448 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26449 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26454 if test "$wxUSE_MSW" = 1 ; then
26460 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26464 if test "$wxUSE_GTK" = 1; then
26466 ac_cpp
='$CPP $CPPFLAGS'
26467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26472 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26473 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26475 gtk_version_cached
=1
26476 if test "${wx_cv_lib_gtk+set}" = set; then
26477 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 gtk_version_cached
=0
26481 echo "$as_me:$LINENO: result: " >&5
26482 echo "${ECHO_T}" >&6
26485 if test "$wxUSE_THREADS" = "yes"; then
26486 GTK_MODULES
=gthread
26490 if test "x$wxGTK_VERSION" != "x1"
26494 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26499 # Check whether --enable-gtktest or --disable-gtktest was given.
26500 if test "${enable_gtktest+set}" = set; then
26501 enableval
="$enable_gtktest"
26507 pkg_config_args
=gtk
+-2.0
26508 for module
in .
$GTK_MODULES
26512 pkg_config_args
="$pkg_config_args gthread-2.0"
26519 # Extract the first word of "pkg-config", so it can be a program name with args.
26520 set dummy pkg
-config; ac_word
=$2
26521 echo "$as_me:$LINENO: checking for $ac_word" >&5
26522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26523 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26526 case $PKG_CONFIG in
26528 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26532 for as_dir
in $PATH
26535 test -z "$as_dir" && as_dir
=.
26536 for ac_exec_ext
in '' $ac_executable_extensions; do
26537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26538 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26545 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26549 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26551 if test -n "$PKG_CONFIG"; then
26552 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26553 echo "${ECHO_T}$PKG_CONFIG" >&6
26555 echo "$as_me:$LINENO: result: no" >&5
26556 echo "${ECHO_T}no" >&6
26560 if test x
$PKG_CONFIG != xno
; then
26561 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26564 echo "*** pkg-config too old; version 0.7 or better required."
26572 min_gtk_version
=2.0.0
26573 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26574 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26576 if test x
$PKG_CONFIG != xno
; then
26577 ## don't try to run the test against uninstalled libtool libs
26578 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26579 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26583 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26590 if test x
"$no_gtk" = x
; then
26591 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26592 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26593 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26595 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26597 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26599 if test "x$enable_gtktest" = "xyes" ; then
26600 ac_save_CFLAGS
="$CFLAGS"
26601 ac_save_LIBS
="$LIBS"
26602 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26603 LIBS
="$GTK_LIBS $LIBS"
26605 if test "$cross_compiling" = yes; then
26606 echo $ac_n "cross compiling; assumed OK... $ac_c"
26608 cat >conftest.
$ac_ext <<_ACEOF
26611 cat confdefs.h
>>conftest.
$ac_ext
26612 cat >>conftest.
$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26615 #include <gtk/gtk.h>
26617 #include <stdlib.h>
26622 int major, minor, micro;
26625 system ("touch conf.gtktest");
26627 /* HP/UX 9 (%@#!) writes to sscanf strings */
26628 tmp_version = g_strdup("$min_gtk_version");
26629 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26630 printf("%s, bad version string\n", "$min_gtk_version");
26634 if ((gtk_major_version != $gtk_config_major_version) ||
26635 (gtk_minor_version != $gtk_config_minor_version) ||
26636 (gtk_micro_version != $gtk_config_micro_version))
26638 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26639 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26640 gtk_major_version, gtk_minor_version, gtk_micro_version);
26641 printf ("*** was found! If pkg-config was correct, then it is best\n");
26642 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26643 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26644 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26645 printf("*** required on your system.\n");
26646 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26647 printf("*** to point to the correct configuration files\n");
26649 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26650 (gtk_minor_version != GTK_MINOR_VERSION) ||
26651 (gtk_micro_version != GTK_MICRO_VERSION))
26653 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26654 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26655 printf("*** library (version %d.%d.%d)\n",
26656 gtk_major_version, gtk_minor_version, gtk_micro_version);
26660 if ((gtk_major_version > major) ||
26661 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26662 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26668 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26669 gtk_major_version, gtk_minor_version, gtk_micro_version);
26670 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26671 major, minor, micro);
26672 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26674 printf("*** If you have already installed a sufficiently new version, this error\n");
26675 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26676 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26677 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26678 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26679 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26680 printf("*** so that the correct libraries are found at run-time))\n");
26687 rm -f conftest
$ac_exeext
26688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26689 (eval $ac_link) 2>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26694 (eval $ac_try) 2>&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); }; }; then
26700 echo "$as_me: program exited with status $ac_status" >&5
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.
$ac_ext >&5
26704 ( exit $ac_status )
26707 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26709 CFLAGS
="$ac_save_CFLAGS"
26710 LIBS
="$ac_save_LIBS"
26713 if test "x$no_gtk" = x
; then
26714 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26715 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26718 echo "$as_me:$LINENO: result: no" >&5
26719 echo "${ECHO_T}no" >&6
26720 if test "$PKG_CONFIG" = "no" ; then
26721 echo "*** A new enough version of pkg-config was not found."
26722 echo "*** See http://pkgconfig.sourceforge.net"
26724 if test -f conf.gtktest
; then
26727 echo "*** Could not run GTK+ test program, checking why..."
26728 ac_save_CFLAGS
="$CFLAGS"
26729 ac_save_LIBS
="$LIBS"
26730 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26731 LIBS
="$LIBS $GTK_LIBS"
26732 cat >conftest.
$ac_ext <<_ACEOF
26735 cat confdefs.h
>>conftest.
$ac_ext
26736 cat >>conftest.
$ac_ext <<_ACEOF
26737 /* end confdefs.h. */
26739 #include <gtk/gtk.h>
26745 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26750 rm -f conftest.
$ac_objext conftest
$ac_exeext
26751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26752 (eval $ac_link) 2>conftest.er1
26754 grep -v '^ *+' conftest.er1
>conftest.err
26756 cat conftest.err
>&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); } &&
26759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26761 (eval $ac_try) 2>&5
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); }; } &&
26765 { ac_try
='test -s conftest$ac_exeext'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; }; then
26771 echo "*** The test program compiled, but did not run. This usually means"
26772 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26773 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26774 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26775 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26776 echo "*** is required on your system"
26778 echo "*** If you have an old version installed, it is best to remove it, although"
26779 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26781 echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.
$ac_ext >&5
26784 echo "*** The test program failed to compile or link. See the file config.log for the"
26785 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26787 rm -f conftest.err conftest.
$ac_objext \
26788 conftest
$ac_exeext conftest.
$ac_ext
26789 CFLAGS
="$ac_save_CFLAGS"
26790 LIBS
="$ac_save_LIBS"
26804 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26805 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26806 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26808 if test "$wxUSE_SHARED" != "yes"; then
26809 GTK_LIBS
="$GTK_LIBS -lX11"
26814 if test -z "$wx_cv_lib_gtk"; then
26815 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26817 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26818 if test "${with_gtk_prefix+set}" = set; then
26819 withval
="$with_gtk_prefix"
26820 gtk_config_prefix
="$withval"
26822 gtk_config_prefix
=""
26825 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26826 if test "${with_gtk_exec_prefix+set}" = set; then
26827 withval
="$with_gtk_exec_prefix"
26828 gtk_config_exec_prefix
="$withval"
26830 gtk_config_exec_prefix
=""
26832 # Check whether --enable-gtktest or --disable-gtktest was given.
26833 if test "${enable_gtktest+set}" = set; then
26834 enableval
="$enable_gtktest"
26840 for module
in .
$GTK_MODULES
26844 gtk_config_args
="$gtk_config_args gthread"
26849 if test x
$gtk_config_exec_prefix != x
; then
26850 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26851 if test x
${GTK_CONFIG+set} != xset
; then
26852 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26855 if test x
$gtk_config_prefix != x
; then
26856 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26857 if test x
${GTK_CONFIG+set} != xset
; then
26858 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26862 # Extract the first word of "gtk-config", so it can be a program name with args.
26863 set dummy gtk
-config; ac_word
=$2
26864 echo "$as_me:$LINENO: checking for $ac_word" >&5
26865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26866 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26869 case $GTK_CONFIG in
26871 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26875 for as_dir
in $PATH
26878 test -z "$as_dir" && as_dir
=.
26879 for ac_exec_ext
in '' $ac_executable_extensions; do
26880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26881 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26888 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26892 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26894 if test -n "$GTK_CONFIG"; then
26895 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26896 echo "${ECHO_T}$GTK_CONFIG" >&6
26898 echo "$as_me:$LINENO: result: no" >&5
26899 echo "${ECHO_T}no" >&6
26902 min_gtk_version
=1.2.7
26903 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26904 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26906 if test "$GTK_CONFIG" = "no" ; then
26909 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26910 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26911 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26913 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26915 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26917 if test "x$enable_gtktest" = "xyes" ; then
26918 ac_save_CFLAGS
="$CFLAGS"
26919 ac_save_LIBS
="$LIBS"
26920 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26921 LIBS
="$GTK_LIBS $LIBS"
26923 if test "$cross_compiling" = yes; then
26924 echo $ac_n "cross compiling; assumed OK... $ac_c"
26926 cat >conftest.
$ac_ext <<_ACEOF
26929 cat confdefs.h
>>conftest.
$ac_ext
26930 cat >>conftest.
$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26933 #include <gtk/gtk.h>
26935 #include <stdlib.h>
26940 int major, minor, micro;
26943 system ("touch conf.gtktest");
26945 /* HP/UX 9 (%@#!) writes to sscanf strings */
26946 tmp_version = g_strdup("$min_gtk_version");
26947 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26948 printf("%s, bad version string\n", "$min_gtk_version");
26952 if ((gtk_major_version != $gtk_config_major_version) ||
26953 (gtk_minor_version != $gtk_config_minor_version) ||
26954 (gtk_micro_version != $gtk_config_micro_version))
26956 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26957 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26958 gtk_major_version, gtk_minor_version, gtk_micro_version);
26959 printf ("*** was found! If gtk-config was correct, then it is best\n");
26960 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26961 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26962 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26963 printf("*** required on your system.\n");
26964 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26965 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26966 printf("*** before re-running configure\n");
26968 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26969 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26970 (gtk_minor_version != GTK_MINOR_VERSION) ||
26971 (gtk_micro_version != GTK_MICRO_VERSION))
26973 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26974 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26975 printf("*** library (version %d.%d.%d)\n",
26976 gtk_major_version, gtk_minor_version, gtk_micro_version);
26978 #endif /* defined (GTK_MAJOR_VERSION) ... */
26981 if ((gtk_major_version > major) ||
26982 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26983 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26989 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26990 gtk_major_version, gtk_minor_version, gtk_micro_version);
26991 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26992 major, minor, micro);
26993 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26995 printf("*** If you have already installed a sufficiently new version, this error\n");
26996 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26997 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26998 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26999 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27000 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27001 printf("*** so that the correct libraries are found at run-time))\n");
27008 rm -f conftest
$ac_exeext
27009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27010 (eval $ac_link) 2>&5
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015 (eval $ac_try) 2>&5
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); }; }; then
27021 echo "$as_me: program exited with status $ac_status" >&5
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.
$ac_ext >&5
27025 ( exit $ac_status )
27028 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27030 CFLAGS
="$ac_save_CFLAGS"
27031 LIBS
="$ac_save_LIBS"
27034 if test "x$no_gtk" = x
; then
27035 echo "$as_me:$LINENO: result: yes" >&5
27036 echo "${ECHO_T}yes" >&6
27037 wx_cv_lib_gtk
=1.2.7
27039 echo "$as_me:$LINENO: result: no" >&5
27040 echo "${ECHO_T}no" >&6
27041 if test "$GTK_CONFIG" = "no" ; then
27042 echo "*** The gtk-config script installed by GTK could not be found"
27043 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27044 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27045 echo "*** full path to gtk-config."
27047 if test -f conf.gtktest
; then
27050 echo "*** Could not run GTK test program, checking why..."
27051 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27052 LIBS
="$LIBS $GTK_LIBS"
27053 cat >conftest.
$ac_ext <<_ACEOF
27056 cat confdefs.h
>>conftest.
$ac_ext
27057 cat >>conftest.
$ac_ext <<_ACEOF
27058 /* end confdefs.h. */
27060 #include <gtk/gtk.h>
27066 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27071 rm -f conftest.
$ac_objext conftest
$ac_exeext
27072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27073 (eval $ac_link) 2>conftest.er1
27075 grep -v '^ *+' conftest.er1
>conftest.err
27077 cat conftest.err
>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } &&
27080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; } &&
27086 { ac_try
='test -s conftest$ac_exeext'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 echo "*** The test program compiled, but did not run. This usually means"
27093 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27094 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27095 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27096 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27097 echo "*** is required on your system"
27099 echo "*** If you have an old version installed, it is best to remove it, although"
27100 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27102 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27103 echo "*** came with the system with the command"
27105 echo "*** rpm --erase --nodeps gtk gtk-devel"
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.
$ac_ext >&5
27110 echo "*** The test program failed to compile or link. See the file config.log for the"
27111 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27112 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27113 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27115 rm -f conftest.err conftest.
$ac_objext \
27116 conftest
$ac_exeext conftest.
$ac_ext
27117 CFLAGS
="$ac_save_CFLAGS"
27118 LIBS
="$ac_save_LIBS"
27130 if test -z "$wx_cv_lib_gtk"; then
27132 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27133 if test "${with_gtk_prefix+set}" = set; then
27134 withval
="$with_gtk_prefix"
27135 gtk_config_prefix
="$withval"
27137 gtk_config_prefix
=""
27140 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27141 if test "${with_gtk_exec_prefix+set}" = set; then
27142 withval
="$with_gtk_exec_prefix"
27143 gtk_config_exec_prefix
="$withval"
27145 gtk_config_exec_prefix
=""
27147 # Check whether --enable-gtktest or --disable-gtktest was given.
27148 if test "${enable_gtktest+set}" = set; then
27149 enableval
="$enable_gtktest"
27155 for module
in .
$GTK_MODULES
27159 gtk_config_args
="$gtk_config_args gthread"
27164 if test x
$gtk_config_exec_prefix != x
; then
27165 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27166 if test x
${GTK_CONFIG+set} != xset
; then
27167 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27170 if test x
$gtk_config_prefix != x
; then
27171 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27172 if test x
${GTK_CONFIG+set} != xset
; then
27173 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27177 # Extract the first word of "gtk-config", so it can be a program name with args.
27178 set dummy gtk
-config; ac_word
=$2
27179 echo "$as_me:$LINENO: checking for $ac_word" >&5
27180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27181 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27182 echo $ECHO_N "(cached) $ECHO_C" >&6
27184 case $GTK_CONFIG in
27186 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27190 for as_dir
in $PATH
27193 test -z "$as_dir" && as_dir
=.
27194 for ac_exec_ext
in '' $ac_executable_extensions; do
27195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27196 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27203 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27207 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27209 if test -n "$GTK_CONFIG"; then
27210 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27211 echo "${ECHO_T}$GTK_CONFIG" >&6
27213 echo "$as_me:$LINENO: result: no" >&5
27214 echo "${ECHO_T}no" >&6
27217 min_gtk_version
=1.2.3
27218 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27219 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27221 if test "$GTK_CONFIG" = "no" ; then
27224 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27225 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27226 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27227 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27228 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27230 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27231 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27232 if test "x$enable_gtktest" = "xyes" ; then
27233 ac_save_CFLAGS
="$CFLAGS"
27234 ac_save_LIBS
="$LIBS"
27235 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27236 LIBS
="$GTK_LIBS $LIBS"
27238 if test "$cross_compiling" = yes; then
27239 echo $ac_n "cross compiling; assumed OK... $ac_c"
27241 cat >conftest.
$ac_ext <<_ACEOF
27244 cat confdefs.h
>>conftest.
$ac_ext
27245 cat >>conftest.
$ac_ext <<_ACEOF
27246 /* end confdefs.h. */
27248 #include <gtk/gtk.h>
27250 #include <stdlib.h>
27255 int major, minor, micro;
27258 system ("touch conf.gtktest");
27260 /* HP/UX 9 (%@#!) writes to sscanf strings */
27261 tmp_version = g_strdup("$min_gtk_version");
27262 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27263 printf("%s, bad version string\n", "$min_gtk_version");
27267 if ((gtk_major_version != $gtk_config_major_version) ||
27268 (gtk_minor_version != $gtk_config_minor_version) ||
27269 (gtk_micro_version != $gtk_config_micro_version))
27271 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27272 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27273 gtk_major_version, gtk_minor_version, gtk_micro_version);
27274 printf ("*** was found! If gtk-config was correct, then it is best\n");
27275 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27276 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27277 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27278 printf("*** required on your system.\n");
27279 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27280 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27281 printf("*** before re-running configure\n");
27283 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27284 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27285 (gtk_minor_version != GTK_MINOR_VERSION) ||
27286 (gtk_micro_version != GTK_MICRO_VERSION))
27288 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27289 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27290 printf("*** library (version %d.%d.%d)\n",
27291 gtk_major_version, gtk_minor_version, gtk_micro_version);
27293 #endif /* defined (GTK_MAJOR_VERSION) ... */
27296 if ((gtk_major_version > major) ||
27297 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27298 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27304 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27305 gtk_major_version, gtk_minor_version, gtk_micro_version);
27306 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27307 major, minor, micro);
27308 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27310 printf("*** If you have already installed a sufficiently new version, this error\n");
27311 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27312 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27313 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27314 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27315 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27316 printf("*** so that the correct libraries are found at run-time))\n");
27323 rm -f conftest
$ac_exeext
27324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27325 (eval $ac_link) 2>&5
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330 (eval $ac_try) 2>&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; }; then
27336 echo "$as_me: program exited with status $ac_status" >&5
27337 echo "$as_me: failed program was:" >&5
27338 sed 's/^/| /' conftest.
$ac_ext >&5
27340 ( exit $ac_status )
27343 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27345 CFLAGS
="$ac_save_CFLAGS"
27346 LIBS
="$ac_save_LIBS"
27349 if test "x$no_gtk" = x
; then
27350 echo "$as_me:$LINENO: result: yes" >&5
27351 echo "${ECHO_T}yes" >&6
27352 wx_cv_lib_gtk
=1.2.3
27354 echo "$as_me:$LINENO: result: no" >&5
27355 echo "${ECHO_T}no" >&6
27356 if test "$GTK_CONFIG" = "no" ; then
27357 echo "*** The gtk-config script installed by GTK could not be found"
27358 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27359 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27360 echo "*** full path to gtk-config."
27362 if test -f conf.gtktest
; then
27365 echo "*** Could not run GTK test program, checking why..."
27366 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27367 LIBS
="$LIBS $GTK_LIBS"
27368 cat >conftest.
$ac_ext <<_ACEOF
27371 cat confdefs.h
>>conftest.
$ac_ext
27372 cat >>conftest.
$ac_ext <<_ACEOF
27373 /* end confdefs.h. */
27375 #include <gtk/gtk.h>
27381 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27386 rm -f conftest.
$ac_objext conftest
$ac_exeext
27387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27388 (eval $ac_link) 2>conftest.er1
27390 grep -v '^ *+' conftest.er1
>conftest.err
27392 cat conftest.err
>&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } &&
27395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; } &&
27401 { ac_try
='test -s conftest$ac_exeext'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; }; then
27407 echo "*** The test program compiled, but did not run. This usually means"
27408 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27409 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27410 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27411 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27412 echo "*** is required on your system"
27414 echo "*** If you have an old version installed, it is best to remove it, although"
27415 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27417 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27418 echo "*** came with the system with the command"
27420 echo "*** rpm --erase --nodeps gtk gtk-devel"
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.
$ac_ext >&5
27425 echo "*** The test program failed to compile or link. See the file config.log for the"
27426 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27427 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27428 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27430 rm -f conftest.err conftest.
$ac_objext \
27431 conftest
$ac_exeext conftest.
$ac_ext
27432 CFLAGS
="$ac_save_CFLAGS"
27433 LIBS
="$ac_save_LIBS"
27448 if test -z "$wx_cv_lib_gtk"; then
27451 wx_cv_cflags_gtk
=$GTK_CFLAGS
27452 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27459 if test "$gtk_version_cached" = 1; then
27460 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27461 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27464 case "$wx_cv_lib_gtk" in
27473 *) { { echo "$as_me:$LINENO: error:
27474 The development files for GTK+ were not found. For GTK+ 2, please
27475 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27476 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27477 and that the version is 1.2.3 or above. Also check that the
27478 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27479 --libs' are in the LD_LIBRARY_PATH or equivalent.
27481 echo "$as_me: error:
27482 The development files for GTK+ were not found. For GTK+ 2, please
27483 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27484 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27485 and that the version is 1.2.3 or above. Also check that the
27486 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27487 --libs' are in the LD_LIBRARY_PATH or equivalent.
27489 { (exit 1); exit 1; }; }
27493 if test "$WXGTK20" = 1; then
27494 save_CXXFLAGS
="$CFLAGS"
27496 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27497 LIBS
="$LIBS $wx_cv_libs_gtk"
27499 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27500 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27501 cat >conftest.
$ac_ext <<_ACEOF
27504 cat confdefs.h
>>conftest.
$ac_ext
27505 cat >>conftest.
$ac_ext <<_ACEOF
27506 /* end confdefs.h. */
27508 #include <gtk/gtk.h>
27514 void *f = gtk_icon_size_lookup;
27520 rm -f conftest.
$ac_objext
27521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27522 (eval $ac_compile) 2>conftest.er1
27524 grep -v '^ *+' conftest.er1
>conftest.err
27526 cat conftest.err
>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); } &&
27529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27531 (eval $ac_try) 2>&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); }; } &&
27535 { ac_try
='test -s conftest.$ac_objext'
27536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27537 (eval $ac_try) 2>&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); }; }; then
27542 echo "$as_me:$LINENO: result: no" >&5
27543 echo "${ECHO_T}no" >&6
27546 echo "$as_me: failed program was:" >&5
27547 sed 's/^/| /' conftest.
$ac_ext >&5
27550 cat >>confdefs.h
<<\_ACEOF
27551 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27554 echo "$as_me:$LINENO: result: yes" >&5
27555 echo "${ECHO_T}yes" >&6
27558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27560 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27561 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27562 cat >conftest.
$ac_ext <<_ACEOF
27565 cat confdefs.h
>>conftest.
$ac_ext
27566 cat >>conftest.
$ac_ext <<_ACEOF
27567 /* end confdefs.h. */
27569 #include <gtk/gtk.h>
27575 #if !GTK_CHECK_VERSION(2,4,0)
27583 rm -f conftest.
$ac_objext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27585 (eval $ac_compile) 2>conftest.er1
27587 grep -v '^ *+' conftest.er1
>conftest.err
27589 cat conftest.err
>&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); } &&
27592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27594 (eval $ac_try) 2>&5
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); }; } &&
27598 { ac_try
='test -s conftest.$ac_objext'
27599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27600 (eval $ac_try) 2>&5
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); }; }; then
27605 cat >>confdefs.h
<<\_ACEOF
27606 #define __WXGTK24__ 1
27609 echo "$as_me:$LINENO: result: yes" >&5
27610 echo "${ECHO_T}yes" >&6
27613 echo "$as_me: failed program was:" >&5
27614 sed 's/^/| /' conftest.
$ac_ext >&5
27617 echo "$as_me:$LINENO: result: no" >&5
27618 echo "${ECHO_T}no" >&6
27621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27623 CFLAGS
="$save_CFLAGS"
27626 if test "$wxUSE_UNICODE" = "yes"; then
27627 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27628 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27634 ac_cpp
='$CXXCPP $CPPFLAGS'
27635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27640 if test "$USE_DARWIN" != 1; then
27642 for ac_func
in poll
27644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27645 echo "$as_me:$LINENO: checking for $ac_func" >&5
27646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27647 if eval "test \"\${$as_ac_var+set}\" = set"; then
27648 echo $ECHO_N "(cached) $ECHO_C" >&6
27650 cat >conftest.
$ac_ext <<_ACEOF
27653 cat confdefs.h
>>conftest.
$ac_ext
27654 cat >>conftest.
$ac_ext <<_ACEOF
27655 /* end confdefs.h. */
27656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27658 #define $ac_func innocuous_$ac_func
27660 /* System header to define __stub macros and hopefully few prototypes,
27661 which can conflict with char $ac_func (); below.
27662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27663 <limits.h> exists even on freestanding compilers. */
27666 # include <limits.h>
27668 # include <assert.h>
27673 /* Override any gcc2 internal prototype to avoid an error. */
27678 /* We use char because int might match the return type of a gcc2
27679 builtin and then its argument prototype would still apply. */
27681 /* The GNU C library defines this for functions which it implements
27682 to always fail with ENOSYS. Some functions are actually named
27683 something starting with __ and the normal name is an alias. */
27684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27687 char (*f) () = $ac_func;
27696 return f != $ac_func;
27701 rm -f conftest.
$ac_objext conftest
$ac_exeext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27703 (eval $ac_link) 2>conftest.er1
27705 grep -v '^ *+' conftest.er1
>conftest.err
27707 cat conftest.err
>&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27712 (eval $ac_try) 2>&5
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); }; } &&
27716 { ac_try
='test -s conftest$ac_exeext'
27717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27718 (eval $ac_try) 2>&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); }; }; then
27722 eval "$as_ac_var=yes"
27724 echo "$as_me: failed program was:" >&5
27725 sed 's/^/| /' conftest.
$ac_ext >&5
27727 eval "$as_ac_var=no"
27729 rm -f conftest.err conftest.
$ac_objext \
27730 conftest
$ac_exeext conftest.
$ac_ext
27732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27734 if test `eval echo '${'$as_ac_var'}'` = yes; then
27735 cat >>confdefs.h
<<_ACEOF
27736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27744 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27745 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27747 AFMINSTALL
=afminstall
27751 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27752 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27753 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27756 ac_check_lib_save_LIBS
=$LIBS
27758 cat >conftest.
$ac_ext <<_ACEOF
27761 cat confdefs.h
>>conftest.
$ac_ext
27762 cat >>conftest.
$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27765 /* Override any gcc2 internal prototype to avoid an error. */
27769 /* We use char because int might match the return type of a gcc2
27770 builtin and then its argument prototype would still apply. */
27771 char gdk_im_open ();
27780 rm -f conftest.
$ac_objext conftest
$ac_exeext
27781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27782 (eval $ac_link) 2>conftest.er1
27784 grep -v '^ *+' conftest.er1
>conftest.err
27786 cat conftest.err
>&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); } &&
27789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27791 (eval $ac_try) 2>&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); }; } &&
27795 { ac_try
='test -s conftest$ac_exeext'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; }; then
27801 ac_cv_lib_gdk_gdk_im_open
=yes
27803 echo "$as_me: failed program was:" >&5
27804 sed 's/^/| /' conftest.
$ac_ext >&5
27806 ac_cv_lib_gdk_gdk_im_open
=no
27808 rm -f conftest.err conftest.
$ac_objext \
27809 conftest
$ac_exeext conftest.
$ac_ext
27810 LIBS
=$ac_check_lib_save_LIBS
27812 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27813 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27814 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27815 cat >>confdefs.h
<<\_ACEOF
27823 if test "$wxUSE_GPE" = "yes"; then
27824 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27825 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27828 for ac_dir
in $SEARCH_LIB;
27830 for ac_extension
in a so sl dylib dll.a
; do
27831 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27832 ac_find_libraries
=$ac_dir
27838 if test "$ac_find_libraries" != "" ; then
27840 if test "$ac_find_libraries" = "default location"; then
27843 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27845 if test $result = 0; then
27848 ac_path_to_link
=" -L$ac_find_libraries"
27852 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27854 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27855 echo "${ECHO_T}found in $ac_find_libraries" >&6
27857 echo "$as_me:$LINENO: result: not found" >&5
27858 echo "${ECHO_T}not found" >&6
27864 if test "$wxUSE_MGL" = 1; then
27865 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27866 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27867 if test "x$MGL_ROOT" = x
; then
27868 echo "$as_me:$LINENO: result: not found" >&5
27869 echo "${ECHO_T}not found" >&6
27870 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27871 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27872 { (exit 1); exit 1; }; }
27874 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27875 echo "${ECHO_T}$MGL_ROOT" >&6
27878 echo "$as_me:$LINENO: checking for libmgl location" >&5
27879 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27882 if test "x$wxUSE_SHARED" = xyes
; then
27883 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27885 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27889 mgl_os_candidates
="dos32/dj2"
27892 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27893 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27894 { (exit 1); exit 1; }; }
27900 for mgl_os_i
in $mgl_os_candidates ; do
27901 if test "x$mgl_os" = x
; then
27902 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27903 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27904 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27909 if test "x$mgl_lib_type" = x
; then
27910 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27911 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27912 mgl_lib_type
=release
27919 if test "x$mgl_os" = x
; then
27920 echo "$as_me:$LINENO: result: not found" >&5
27921 echo "${ECHO_T}not found" >&6
27922 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27923 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27924 { (exit 1); exit 1; }; }
27926 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27927 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27929 wxUSE_UNIVERSAL
="yes"
27931 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27932 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27934 AFMINSTALL
=afminstall
27939 if test "$wxUSE_MICROWIN" = 1; then
27940 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27941 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27942 if test "x$MICROWINDOWS" = x
; then
27943 echo "$as_me:$LINENO: result: not found" >&5
27944 echo "${ECHO_T}not found" >&6
27945 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27946 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27947 { (exit 1); exit 1; }; }
27949 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27950 echo "${ECHO_T}$MICROWINDOWS" >&6
27953 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27954 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27955 echo "${ECHO_T}MicroWindows' libraries found." >&6
27957 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27958 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27959 { (exit 1); exit 1; }; }
27962 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27963 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27965 wxUSE_UNIVERSAL
="yes"
27967 AFMINSTALL
=afminstall
27969 GUIDIST
=MICROWIN_DIST
27971 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27974 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27976 if test "x$ac_path_x_has_been_run" != xyes
; then
27977 echo "$as_me:$LINENO: checking for X" >&5
27978 echo $ECHO_N "checking for X... $ECHO_C" >&6
27980 ac_path_x_has_been_run
=yes
27982 # Check whether --with-x or --without-x was given.
27983 if test "${with_x+set}" = set; then
27987 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27988 if test "x$with_x" = xno
; then
27989 # The user explicitly disabled X.
27992 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27993 # Both variables are already set.
27996 if test "${ac_cv_have_x+set}" = set; then
27997 echo $ECHO_N "(cached) $ECHO_C" >&6
27999 # One or both of the vars are not set, and there is no cached value.
28000 ac_x_includes
=no ac_x_libraries
=no
28001 rm -fr conftest.dir
28002 if mkdir conftest.dir
; then
28004 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28005 cat >Imakefile
<<'_ACEOF'
28007 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28009 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28010 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28011 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28012 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28013 for ac_extension
in a so sl
; do
28014 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28015 test -f $ac_im_libdir/libX11.
$ac_extension; then
28016 ac_im_usrlibdir
=$ac_im_libdir; break
28019 # Screen out bogus values from the imake configuration. They are
28020 # bogus both because they are the default anyway, and because
28021 # using them would break gcc on systems where it needs fixed includes.
28022 case $ac_im_incroot in
28024 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28026 case $ac_im_usrlibdir in
28027 /usr
/lib
| /lib
) ;;
28028 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28032 rm -fr conftest.dir
28035 # Standard set of common directories for X headers.
28036 # Check X11 before X11Rn because it is often a symlink to the current release.
28048 /usr/local/X11/include
28049 /usr/local/X11R6/include
28050 /usr/local/X11R5/include
28051 /usr/local/X11R4/include
28053 /usr/local/include/X11
28054 /usr/local/include/X11R6
28055 /usr/local/include/X11R5
28056 /usr/local/include/X11R4
28060 /usr/XFree86/include/X11
28064 /usr/unsupported/include
28065 /usr/athena/include
28066 /usr/local/x11r5/include
28067 /usr/lpp/Xamples/include
28069 /usr/openwin/include
28070 /usr/openwin/share/include'
28072 if test "$ac_x_includes" = no
; then
28073 # Guess where to find include files, by looking for a specified header file.
28074 # First, try using that file with no special directory specified.
28075 cat >conftest.
$ac_ext <<_ACEOF
28078 cat confdefs.h
>>conftest.
$ac_ext
28079 cat >>conftest.
$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 #include <X11/Intrinsic.h>
28083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28086 grep -v '^ *+' conftest.er1
>conftest.err
28088 cat conftest.err
>&5
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); } >/dev
/null
; then
28091 if test -s conftest.err
; then
28092 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28093 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28100 if test -z "$ac_cpp_err"; then
28101 # We can compile using X headers with no special include directory.
28104 echo "$as_me: failed program was:" >&5
28105 sed 's/^/| /' conftest.
$ac_ext >&5
28107 for ac_dir
in $ac_x_header_dirs; do
28108 if test -r "$ac_dir/X11/Intrinsic.h"; then
28109 ac_x_includes
=$ac_dir
28114 rm -f conftest.err conftest.
$ac_ext
28115 fi # $ac_x_includes = no
28117 if test "$ac_x_libraries" = no
; then
28118 # Check for the libraries.
28119 # See if we find them without any special options.
28120 # Don't add to $LIBS permanently.
28123 cat >conftest.
$ac_ext <<_ACEOF
28126 cat confdefs.h
>>conftest.
$ac_ext
28127 cat >>conftest.
$ac_ext <<_ACEOF
28128 /* end confdefs.h. */
28129 #include <X11/Intrinsic.h>
28138 rm -f conftest.
$ac_objext conftest
$ac_exeext
28139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28140 (eval $ac_link) 2>conftest.er1
28142 grep -v '^ *+' conftest.er1
>conftest.err
28144 cat conftest.err
>&5
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); } &&
28147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; } &&
28153 { ac_try
='test -s conftest$ac_exeext'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; }; then
28160 # We can link X programs with no special library path.
28163 echo "$as_me: failed program was:" >&5
28164 sed 's/^/| /' conftest.
$ac_ext >&5
28167 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28169 # Don't even attempt the hair of trying to link an X program!
28170 for ac_extension
in a so sl
; do
28171 if test -r $ac_dir/libXt.
$ac_extension; then
28172 ac_x_libraries
=$ac_dir
28178 rm -f conftest.err conftest.
$ac_objext \
28179 conftest
$ac_exeext conftest.
$ac_ext
28180 fi # $ac_x_libraries = no
28182 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28183 # Didn't find X anywhere. Cache the known absence of X.
28184 ac_cv_have_x
="have_x=no"
28186 # Record where we found X for the cache.
28187 ac_cv_have_x
="have_x=yes \
28188 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28193 eval "$ac_cv_have_x"
28196 if test "$have_x" != yes; then
28197 echo "$as_me:$LINENO: result: $have_x" >&5
28198 echo "${ECHO_T}$have_x" >&6
28201 # If each of the values was on the command line, it overrides each guess.
28202 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28203 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28204 # Update the cache value to reflect the command line values.
28205 ac_cv_have_x
="have_x=yes \
28206 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28207 # It might be that x_includes is empty (headers are found in the
28208 # standard search path. Then output the corresponding message
28209 ac_out_x_includes
=$x_includes
28210 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
28211 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28212 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28216 if test "$no_x" = yes; then
28217 # Not all programs may use this symbol, but it does not hurt to define it.
28219 cat >>confdefs.h
<<\_ACEOF
28220 #define X_DISPLAY_MISSING 1
28223 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28225 if test -n "$x_includes"; then
28226 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28229 # It would also be nice to do this for all -L options, not just this one.
28230 if test -n "$x_libraries"; then
28231 X_LIBS
="$X_LIBS -L$x_libraries"
28232 # For Solaris; some versions of Sun CC require a space after -R and
28233 # others require no space. Words are not sufficient . . . .
28234 case `(uname -sr) 2>/dev/null` in
28236 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28237 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28238 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28239 cat >conftest.
$ac_ext <<_ACEOF
28242 cat confdefs.h
>>conftest.
$ac_ext
28243 cat >>conftest.
$ac_ext <<_ACEOF
28244 /* end confdefs.h. */
28254 rm -f conftest.
$ac_objext conftest
$ac_exeext
28255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28256 (eval $ac_link) 2>conftest.er1
28258 grep -v '^ *+' conftest.er1
>conftest.err
28260 cat conftest.err
>&5
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); } &&
28263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28265 (eval $ac_try) 2>&5
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); }; } &&
28269 { ac_try
='test -s conftest$ac_exeext'
28270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28271 (eval $ac_try) 2>&5
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); }; }; then
28277 echo "$as_me: failed program was:" >&5
28278 sed 's/^/| /' conftest.
$ac_ext >&5
28282 rm -f conftest.err conftest.
$ac_objext \
28283 conftest
$ac_exeext conftest.
$ac_ext
28284 if test $ac_R_nospace = yes; then
28285 echo "$as_me:$LINENO: result: no" >&5
28286 echo "${ECHO_T}no" >&6
28287 X_LIBS
="$X_LIBS -R$x_libraries"
28289 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28290 cat >conftest.
$ac_ext <<_ACEOF
28293 cat confdefs.h
>>conftest.
$ac_ext
28294 cat >>conftest.
$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28305 rm -f conftest.
$ac_objext conftest
$ac_exeext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28307 (eval $ac_link) 2>conftest.er1
28309 grep -v '^ *+' conftest.er1
>conftest.err
28311 cat conftest.err
>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; } &&
28320 { ac_try
='test -s conftest$ac_exeext'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; }; then
28328 echo "$as_me: failed program was:" >&5
28329 sed 's/^/| /' conftest.
$ac_ext >&5
28333 rm -f conftest.err conftest.
$ac_objext \
28334 conftest
$ac_exeext conftest.
$ac_ext
28335 if test $ac_R_space = yes; then
28336 echo "$as_me:$LINENO: result: yes" >&5
28337 echo "${ECHO_T}yes" >&6
28338 X_LIBS
="$X_LIBS -R $x_libraries"
28340 echo "$as_me:$LINENO: result: neither works" >&5
28341 echo "${ECHO_T}neither works" >&6
28344 LIBS
=$ac_xsave_LIBS
28348 # Check for system-dependent libraries X programs must link with.
28349 # Do this before checking for the system-independent R6 libraries
28350 # (-lICE), since we may need -lsocket or whatever for X linking.
28352 if test "$ISC" = yes; then
28353 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28355 # Martyn Johnson says this is needed for Ultrix, if the X
28356 # libraries were built with DECnet support. And Karl Berry says
28357 # the Alpha needs dnet_stub (dnet does not exist).
28358 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28359 cat >conftest.
$ac_ext <<_ACEOF
28362 cat confdefs.h
>>conftest.
$ac_ext
28363 cat >>conftest.
$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28366 /* Override any gcc2 internal prototype to avoid an error. */
28370 /* We use char because int might match the return type of a gcc2
28371 builtin and then its argument prototype would still apply. */
28372 char XOpenDisplay ();
28381 rm -f conftest.
$ac_objext conftest
$ac_exeext
28382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28383 (eval $ac_link) 2>conftest.er1
28385 grep -v '^ *+' conftest.er1
>conftest.err
28387 cat conftest.err
>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); } &&
28390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; } &&
28396 { ac_try
='test -s conftest$ac_exeext'
28397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28398 (eval $ac_try) 2>&5
28400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401 (exit $ac_status); }; }; then
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.
$ac_ext >&5
28407 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28408 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28409 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28412 ac_check_lib_save_LIBS
=$LIBS
28413 LIBS
="-ldnet $LIBS"
28414 cat >conftest.
$ac_ext <<_ACEOF
28417 cat confdefs.h
>>conftest.
$ac_ext
28418 cat >>conftest.
$ac_ext <<_ACEOF
28419 /* end confdefs.h. */
28421 /* Override any gcc2 internal prototype to avoid an error. */
28425 /* We use char because int might match the return type of a gcc2
28426 builtin and then its argument prototype would still apply. */
28436 rm -f conftest.
$ac_objext conftest
$ac_exeext
28437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28438 (eval $ac_link) 2>conftest.er1
28440 grep -v '^ *+' conftest.er1
>conftest.err
28442 cat conftest.err
>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); } &&
28445 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; } &&
28451 { ac_try
='test -s conftest$ac_exeext'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 ac_cv_lib_dnet_dnet_ntoa
=yes
28459 echo "$as_me: failed program was:" >&5
28460 sed 's/^/| /' conftest.
$ac_ext >&5
28462 ac_cv_lib_dnet_dnet_ntoa
=no
28464 rm -f conftest.err conftest.
$ac_objext \
28465 conftest
$ac_exeext conftest.
$ac_ext
28466 LIBS
=$ac_check_lib_save_LIBS
28468 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28469 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28470 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28471 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28474 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28475 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28476 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28477 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28480 ac_check_lib_save_LIBS
=$LIBS
28481 LIBS
="-ldnet_stub $LIBS"
28482 cat >conftest.
$ac_ext <<_ACEOF
28485 cat confdefs.h
>>conftest.
$ac_ext
28486 cat >>conftest.
$ac_ext <<_ACEOF
28487 /* end confdefs.h. */
28489 /* Override any gcc2 internal prototype to avoid an error. */
28493 /* We use char because int might match the return type of a gcc2
28494 builtin and then its argument prototype would still apply. */
28504 rm -f conftest.
$ac_objext conftest
$ac_exeext
28505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28506 (eval $ac_link) 2>conftest.er1
28508 grep -v '^ *+' conftest.er1
>conftest.err
28510 cat conftest.err
>&5
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); } &&
28513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; } &&
28519 { ac_try
='test -s conftest$ac_exeext'
28520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521 (eval $ac_try) 2>&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; }; then
28525 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28527 echo "$as_me: failed program was:" >&5
28528 sed 's/^/| /' conftest.
$ac_ext >&5
28530 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28532 rm -f conftest.err conftest.
$ac_objext \
28533 conftest
$ac_exeext conftest.
$ac_ext
28534 LIBS
=$ac_check_lib_save_LIBS
28536 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28537 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28538 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28539 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28544 rm -f conftest.err conftest.
$ac_objext \
28545 conftest
$ac_exeext conftest.
$ac_ext
28546 LIBS
="$ac_xsave_LIBS"
28548 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28549 # to get the SysV transport functions.
28550 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28552 # The nsl library prevents programs from opening the X display
28553 # on Irix 5.2, according to T.E. Dickey.
28554 # The functions gethostbyname, getservbyname, and inet_addr are
28555 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28556 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28557 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28558 if test "${ac_cv_func_gethostbyname+set}" = set; then
28559 echo $ECHO_N "(cached) $ECHO_C" >&6
28561 cat >conftest.
$ac_ext <<_ACEOF
28564 cat confdefs.h
>>conftest.
$ac_ext
28565 cat >>conftest.
$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28567 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28569 #define gethostbyname innocuous_gethostbyname
28571 /* System header to define __stub macros and hopefully few prototypes,
28572 which can conflict with char gethostbyname (); below.
28573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28574 <limits.h> exists even on freestanding compilers. */
28577 # include <limits.h>
28579 # include <assert.h>
28582 #undef gethostbyname
28584 /* Override any gcc2 internal prototype to avoid an error. */
28589 /* We use char because int might match the return type of a gcc2
28590 builtin and then its argument prototype would still apply. */
28591 char gethostbyname ();
28592 /* The GNU C library defines this for functions which it implements
28593 to always fail with ENOSYS. Some functions are actually named
28594 something starting with __ and the normal name is an alias. */
28595 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28598 char (*f) () = gethostbyname;
28607 return f != gethostbyname;
28612 rm -f conftest.
$ac_objext conftest
$ac_exeext
28613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28614 (eval $ac_link) 2>conftest.er1
28616 grep -v '^ *+' conftest.er1
>conftest.err
28618 cat conftest.err
>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); } &&
28621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; } &&
28627 { ac_try
='test -s conftest$ac_exeext'
28628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28629 (eval $ac_try) 2>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; }; then
28633 ac_cv_func_gethostbyname
=yes
28635 echo "$as_me: failed program was:" >&5
28636 sed 's/^/| /' conftest.
$ac_ext >&5
28638 ac_cv_func_gethostbyname
=no
28640 rm -f conftest.err conftest.
$ac_objext \
28641 conftest
$ac_exeext conftest.
$ac_ext
28643 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28644 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28646 if test $ac_cv_func_gethostbyname = no
; then
28647 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28648 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28649 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28652 ac_check_lib_save_LIBS
=$LIBS
28654 cat >conftest.
$ac_ext <<_ACEOF
28657 cat confdefs.h
>>conftest.
$ac_ext
28658 cat >>conftest.
$ac_ext <<_ACEOF
28659 /* end confdefs.h. */
28661 /* Override any gcc2 internal prototype to avoid an error. */
28665 /* We use char because int might match the return type of a gcc2
28666 builtin and then its argument prototype would still apply. */
28667 char gethostbyname ();
28676 rm -f conftest.
$ac_objext conftest
$ac_exeext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28678 (eval $ac_link) 2>conftest.er1
28680 grep -v '^ *+' conftest.er1
>conftest.err
28682 cat conftest.err
>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } &&
28685 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28687 (eval $ac_try) 2>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); }; } &&
28691 { ac_try
='test -s conftest$ac_exeext'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; }; then
28697 ac_cv_lib_nsl_gethostbyname
=yes
28699 echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.
$ac_ext >&5
28702 ac_cv_lib_nsl_gethostbyname
=no
28704 rm -f conftest.err conftest.
$ac_objext \
28705 conftest
$ac_exeext conftest.
$ac_ext
28706 LIBS
=$ac_check_lib_save_LIBS
28708 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28709 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28710 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28711 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28714 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28715 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28716 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28717 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28718 echo $ECHO_N "(cached) $ECHO_C" >&6
28720 ac_check_lib_save_LIBS
=$LIBS
28722 cat >conftest.
$ac_ext <<_ACEOF
28725 cat confdefs.h
>>conftest.
$ac_ext
28726 cat >>conftest.
$ac_ext <<_ACEOF
28727 /* end confdefs.h. */
28729 /* Override any gcc2 internal prototype to avoid an error. */
28733 /* We use char because int might match the return type of a gcc2
28734 builtin and then its argument prototype would still apply. */
28735 char gethostbyname ();
28744 rm -f conftest.
$ac_objext conftest
$ac_exeext
28745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28746 (eval $ac_link) 2>conftest.er1
28748 grep -v '^ *+' conftest.er1
>conftest.err
28750 cat conftest.err
>&5
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); } &&
28753 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28755 (eval $ac_try) 2>&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); }; } &&
28759 { ac_try
='test -s conftest$ac_exeext'
28760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28761 (eval $ac_try) 2>&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); }; }; then
28765 ac_cv_lib_bsd_gethostbyname
=yes
28767 echo "$as_me: failed program was:" >&5
28768 sed 's/^/| /' conftest.
$ac_ext >&5
28770 ac_cv_lib_bsd_gethostbyname
=no
28772 rm -f conftest.err conftest.
$ac_objext \
28773 conftest
$ac_exeext conftest.
$ac_ext
28774 LIBS
=$ac_check_lib_save_LIBS
28776 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28777 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28778 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28779 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28785 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28786 # socket/setsockopt and other routines are undefined under SCO ODT
28787 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28788 # on later versions), says Simon Leinen: it contains gethostby*
28789 # variants that don't use the name server (or something). -lsocket
28790 # must be given before -lnsl if both are needed. We assume that
28791 # if connect needs -lnsl, so does gethostbyname.
28792 echo "$as_me:$LINENO: checking for connect" >&5
28793 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28794 if test "${ac_cv_func_connect+set}" = set; then
28795 echo $ECHO_N "(cached) $ECHO_C" >&6
28797 cat >conftest.
$ac_ext <<_ACEOF
28800 cat confdefs.h
>>conftest.
$ac_ext
28801 cat >>conftest.
$ac_ext <<_ACEOF
28802 /* end confdefs.h. */
28803 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28805 #define connect innocuous_connect
28807 /* System header to define __stub macros and hopefully few prototypes,
28808 which can conflict with char connect (); below.
28809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28810 <limits.h> exists even on freestanding compilers. */
28813 # include <limits.h>
28815 # include <assert.h>
28820 /* Override any gcc2 internal prototype to avoid an error. */
28825 /* We use char because int might match the return type of a gcc2
28826 builtin and then its argument prototype would still apply. */
28828 /* The GNU C library defines this for functions which it implements
28829 to always fail with ENOSYS. Some functions are actually named
28830 something starting with __ and the normal name is an alias. */
28831 #if defined (__stub_connect) || defined (__stub___connect)
28834 char (*f) () = connect;
28843 return f != connect;
28848 rm -f conftest.
$ac_objext conftest
$ac_exeext
28849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28850 (eval $ac_link) 2>conftest.er1
28852 grep -v '^ *+' conftest.er1
>conftest.err
28854 cat conftest.err
>&5
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); } &&
28857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; } &&
28863 { ac_try
='test -s conftest$ac_exeext'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; }; then
28869 ac_cv_func_connect
=yes
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.
$ac_ext >&5
28874 ac_cv_func_connect
=no
28876 rm -f conftest.err conftest.
$ac_objext \
28877 conftest
$ac_exeext conftest.
$ac_ext
28879 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28880 echo "${ECHO_T}$ac_cv_func_connect" >&6
28882 if test $ac_cv_func_connect = no
; then
28883 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28884 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28885 if test "${ac_cv_lib_socket_connect+set}" = set; then
28886 echo $ECHO_N "(cached) $ECHO_C" >&6
28888 ac_check_lib_save_LIBS
=$LIBS
28889 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28890 cat >conftest.
$ac_ext <<_ACEOF
28893 cat confdefs.h
>>conftest.
$ac_ext
28894 cat >>conftest.
$ac_ext <<_ACEOF
28895 /* end confdefs.h. */
28897 /* Override any gcc2 internal prototype to avoid an error. */
28901 /* We use char because int might match the return type of a gcc2
28902 builtin and then its argument prototype would still apply. */
28912 rm -f conftest.
$ac_objext conftest
$ac_exeext
28913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28914 (eval $ac_link) 2>conftest.er1
28916 grep -v '^ *+' conftest.er1
>conftest.err
28918 cat conftest.err
>&5
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); } &&
28921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28923 (eval $ac_try) 2>&5
28925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 (exit $ac_status); }; } &&
28927 { ac_try
='test -s conftest$ac_exeext'
28928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28929 (eval $ac_try) 2>&5
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); }; }; then
28933 ac_cv_lib_socket_connect
=yes
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.
$ac_ext >&5
28938 ac_cv_lib_socket_connect
=no
28940 rm -f conftest.err conftest.
$ac_objext \
28941 conftest
$ac_exeext conftest.
$ac_ext
28942 LIBS
=$ac_check_lib_save_LIBS
28944 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28945 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28946 if test $ac_cv_lib_socket_connect = yes; then
28947 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28952 # Guillermo Gomez says -lposix is necessary on A/UX.
28953 echo "$as_me:$LINENO: checking for remove" >&5
28954 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28955 if test "${ac_cv_func_remove+set}" = set; then
28956 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 cat >conftest.
$ac_ext <<_ACEOF
28961 cat confdefs.h
>>conftest.
$ac_ext
28962 cat >>conftest.
$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28964 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28966 #define remove innocuous_remove
28968 /* System header to define __stub macros and hopefully few prototypes,
28969 which can conflict with char remove (); below.
28970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28971 <limits.h> exists even on freestanding compilers. */
28974 # include <limits.h>
28976 # include <assert.h>
28981 /* Override any gcc2 internal prototype to avoid an error. */
28986 /* We use char because int might match the return type of a gcc2
28987 builtin and then its argument prototype would still apply. */
28989 /* The GNU C library defines this for functions which it implements
28990 to always fail with ENOSYS. Some functions are actually named
28991 something starting with __ and the normal name is an alias. */
28992 #if defined (__stub_remove) || defined (__stub___remove)
28995 char (*f) () = remove;
29004 return f != remove;
29009 rm -f conftest.
$ac_objext conftest
$ac_exeext
29010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29011 (eval $ac_link) 2>conftest.er1
29013 grep -v '^ *+' conftest.er1
>conftest.err
29015 cat conftest.err
>&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); } &&
29018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29020 (eval $ac_try) 2>&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); }; } &&
29024 { ac_try
='test -s conftest$ac_exeext'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; }; then
29030 ac_cv_func_remove
=yes
29032 echo "$as_me: failed program was:" >&5
29033 sed 's/^/| /' conftest.
$ac_ext >&5
29035 ac_cv_func_remove
=no
29037 rm -f conftest.err conftest.
$ac_objext \
29038 conftest
$ac_exeext conftest.
$ac_ext
29040 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29041 echo "${ECHO_T}$ac_cv_func_remove" >&6
29043 if test $ac_cv_func_remove = no
; then
29044 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29045 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29046 if test "${ac_cv_lib_posix_remove+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29049 ac_check_lib_save_LIBS
=$LIBS
29050 LIBS
="-lposix $LIBS"
29051 cat >conftest.
$ac_ext <<_ACEOF
29054 cat confdefs.h
>>conftest.
$ac_ext
29055 cat >>conftest.
$ac_ext <<_ACEOF
29056 /* end confdefs.h. */
29058 /* Override any gcc2 internal prototype to avoid an error. */
29062 /* We use char because int might match the return type of a gcc2
29063 builtin and then its argument prototype would still apply. */
29073 rm -f conftest.
$ac_objext conftest
$ac_exeext
29074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29075 (eval $ac_link) 2>conftest.er1
29077 grep -v '^ *+' conftest.er1
>conftest.err
29079 cat conftest.err
>&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } &&
29082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29084 (eval $ac_try) 2>&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); }; } &&
29088 { ac_try
='test -s conftest$ac_exeext'
29089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29090 (eval $ac_try) 2>&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); }; }; then
29094 ac_cv_lib_posix_remove
=yes
29096 echo "$as_me: failed program was:" >&5
29097 sed 's/^/| /' conftest.
$ac_ext >&5
29099 ac_cv_lib_posix_remove
=no
29101 rm -f conftest.err conftest.
$ac_objext \
29102 conftest
$ac_exeext conftest.
$ac_ext
29103 LIBS
=$ac_check_lib_save_LIBS
29105 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29106 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29107 if test $ac_cv_lib_posix_remove = yes; then
29108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29113 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29114 echo "$as_me:$LINENO: checking for shmat" >&5
29115 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29116 if test "${ac_cv_func_shmat+set}" = set; then
29117 echo $ECHO_N "(cached) $ECHO_C" >&6
29119 cat >conftest.
$ac_ext <<_ACEOF
29122 cat confdefs.h
>>conftest.
$ac_ext
29123 cat >>conftest.
$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29127 #define shmat innocuous_shmat
29129 /* System header to define __stub macros and hopefully few prototypes,
29130 which can conflict with char shmat (); below.
29131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29132 <limits.h> exists even on freestanding compilers. */
29135 # include <limits.h>
29137 # include <assert.h>
29142 /* Override any gcc2 internal prototype to avoid an error. */
29147 /* We use char because int might match the return type of a gcc2
29148 builtin and then its argument prototype would still apply. */
29150 /* The GNU C library defines this for functions which it implements
29151 to always fail with ENOSYS. Some functions are actually named
29152 something starting with __ and the normal name is an alias. */
29153 #if defined (__stub_shmat) || defined (__stub___shmat)
29156 char (*f) () = shmat;
29170 rm -f conftest.
$ac_objext conftest
$ac_exeext
29171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29172 (eval $ac_link) 2>conftest.er1
29174 grep -v '^ *+' conftest.er1
>conftest.err
29176 cat conftest.err
>&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); } &&
29179 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; } &&
29185 { ac_try
='test -s conftest$ac_exeext'
29186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29187 (eval $ac_try) 2>&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); }; }; then
29191 ac_cv_func_shmat
=yes
29193 echo "$as_me: failed program was:" >&5
29194 sed 's/^/| /' conftest.
$ac_ext >&5
29196 ac_cv_func_shmat
=no
29198 rm -f conftest.err conftest.
$ac_objext \
29199 conftest
$ac_exeext conftest.
$ac_ext
29201 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29202 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29204 if test $ac_cv_func_shmat = no
; then
29205 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29206 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29207 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29208 echo $ECHO_N "(cached) $ECHO_C" >&6
29210 ac_check_lib_save_LIBS
=$LIBS
29212 cat >conftest.
$ac_ext <<_ACEOF
29215 cat confdefs.h
>>conftest.
$ac_ext
29216 cat >>conftest.
$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29219 /* Override any gcc2 internal prototype to avoid an error. */
29223 /* We use char because int might match the return type of a gcc2
29224 builtin and then its argument prototype would still apply. */
29234 rm -f conftest.
$ac_objext conftest
$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29238 grep -v '^ *+' conftest.er1
>conftest.err
29240 cat conftest.err
>&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try
='test -s conftest$ac_exeext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29255 ac_cv_lib_ipc_shmat
=yes
29257 echo "$as_me: failed program was:" >&5
29258 sed 's/^/| /' conftest.
$ac_ext >&5
29260 ac_cv_lib_ipc_shmat
=no
29262 rm -f conftest.err conftest.
$ac_objext \
29263 conftest
$ac_exeext conftest.
$ac_ext
29264 LIBS
=$ac_check_lib_save_LIBS
29266 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29267 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29268 if test $ac_cv_lib_ipc_shmat = yes; then
29269 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29275 # Check for libraries that X11R6 Xt/Xaw programs need.
29276 ac_save_LDFLAGS
=$LDFLAGS
29277 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29278 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29279 # check for ICE first), but we must link in the order -lSM -lICE or
29280 # we get undefined symbols. So assume we have SM if we have ICE.
29281 # These have to be linked with before -lX11, unlike the other
29282 # libraries we check for below, so use a different variable.
29283 # John Interrante, Karl Berry
29284 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29285 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29286 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29287 echo $ECHO_N "(cached) $ECHO_C" >&6
29289 ac_check_lib_save_LIBS
=$LIBS
29290 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29291 cat >conftest.
$ac_ext <<_ACEOF
29294 cat confdefs.h
>>conftest.
$ac_ext
29295 cat >>conftest.
$ac_ext <<_ACEOF
29296 /* end confdefs.h. */
29298 /* Override any gcc2 internal prototype to avoid an error. */
29302 /* We use char because int might match the return type of a gcc2
29303 builtin and then its argument prototype would still apply. */
29304 char IceConnectionNumber ();
29308 IceConnectionNumber ();
29313 rm -f conftest.
$ac_objext conftest
$ac_exeext
29314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29315 (eval $ac_link) 2>conftest.er1
29317 grep -v '^ *+' conftest.er1
>conftest.err
29319 cat conftest.err
>&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); } &&
29322 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } &&
29328 { ac_try
='test -s conftest$ac_exeext'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; }; then
29334 ac_cv_lib_ICE_IceConnectionNumber
=yes
29336 echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.
$ac_ext >&5
29339 ac_cv_lib_ICE_IceConnectionNumber
=no
29341 rm -f conftest.err conftest.
$ac_objext \
29342 conftest
$ac_exeext conftest.
$ac_ext
29343 LIBS
=$ac_check_lib_save_LIBS
29345 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29346 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29347 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29348 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29351 LDFLAGS
=$ac_save_LDFLAGS
29356 if test "$no_x" = "yes"; then
29357 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29358 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29359 { (exit 1); exit 1; }; }
29362 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29363 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29364 AFMINSTALL
=afminstall
29365 COMPILED_X_PROGRAM
=0
29369 if test "$wxUSE_X11" = 1; then
29370 if test "$wxUSE_NANOX" = "yes"; then
29371 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29372 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29373 if test "x$MICROWIN" = x
; then
29374 echo "$as_me:$LINENO: result: not found" >&5
29375 echo "${ECHO_T}not found" >&6
29376 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29377 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29378 { (exit 1); exit 1; }; }
29380 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29381 echo "${ECHO_T}$MICROWIN" >&6
29382 cat >>confdefs.h
<<\_ACEOF
29383 #define wxUSE_NANOX 1
29389 if test "$wxUSE_UNICODE" = "yes"; then
29393 if test -z "$PKG_CONFIG"; then
29394 # Extract the first word of "pkg-config", so it can be a program name with args.
29395 set dummy pkg
-config; ac_word
=$2
29396 echo "$as_me:$LINENO: checking for $ac_word" >&5
29397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29399 echo $ECHO_N "(cached) $ECHO_C" >&6
29401 case $PKG_CONFIG in
29403 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29407 for as_dir
in $PATH
29410 test -z "$as_dir" && as_dir
=.
29411 for ac_exec_ext
in '' $ac_executable_extensions; do
29412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29413 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29420 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29424 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29426 if test -n "$PKG_CONFIG"; then
29427 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29428 echo "${ECHO_T}$PKG_CONFIG" >&6
29430 echo "$as_me:$LINENO: result: no" >&5
29431 echo "${ECHO_T}no" >&6
29436 if test "$PKG_CONFIG" = "no" ; then
29437 echo "*** The pkg-config script could not be found. Make sure it is"
29438 echo "*** in your path, or set the PKG_CONFIG environment variable"
29439 echo "*** to the full path to pkg-config."
29440 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29442 PKG_CONFIG_MIN_VERSION
=0.9.0
29443 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29444 echo "$as_me:$LINENO: checking for pangox" >&5
29445 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29447 if $PKG_CONFIG --exists "pangox" ; then
29448 echo "$as_me:$LINENO: result: yes" >&5
29449 echo "${ECHO_T}yes" >&6
29452 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29453 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29454 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29455 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29456 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29458 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29459 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29460 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29461 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29462 echo "${ECHO_T}$PANGOX_LIBS" >&6
29466 ## If we have a custom action on failure, don't print errors, but
29467 ## do set a variable so people can do so.
29468 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29475 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29476 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29480 if test $succeeded = yes; then
29482 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29483 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29487 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29488 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29489 { (exit 1); exit 1; }; }
29497 if test -z "$PKG_CONFIG"; then
29498 # Extract the first word of "pkg-config", so it can be a program name with args.
29499 set dummy pkg
-config; ac_word
=$2
29500 echo "$as_me:$LINENO: checking for $ac_word" >&5
29501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29502 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29505 case $PKG_CONFIG in
29507 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29511 for as_dir
in $PATH
29514 test -z "$as_dir" && as_dir
=.
29515 for ac_exec_ext
in '' $ac_executable_extensions; do
29516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29517 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29524 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29528 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29530 if test -n "$PKG_CONFIG"; then
29531 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29532 echo "${ECHO_T}$PKG_CONFIG" >&6
29534 echo "$as_me:$LINENO: result: no" >&5
29535 echo "${ECHO_T}no" >&6
29540 if test "$PKG_CONFIG" = "no" ; then
29541 echo "*** The pkg-config script could not be found. Make sure it is"
29542 echo "*** in your path, or set the PKG_CONFIG environment variable"
29543 echo "*** to the full path to pkg-config."
29544 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29546 PKG_CONFIG_MIN_VERSION
=0.9.0
29547 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29548 echo "$as_me:$LINENO: checking for pangoft2" >&5
29549 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29551 if $PKG_CONFIG --exists "pangoft2" ; then
29552 echo "$as_me:$LINENO: result: yes" >&5
29553 echo "${ECHO_T}yes" >&6
29556 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29557 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29558 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29559 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29560 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29562 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29563 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29564 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29565 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29566 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29570 ## If we have a custom action on failure, don't print errors, but
29571 ## do set a variable so people can do so.
29572 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29579 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29580 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29584 if test $succeeded = yes; then
29586 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29587 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29591 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29592 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29593 wxUSE_PRINTING_ARCHITECTURE
="no"
29601 if test -z "$PKG_CONFIG"; then
29602 # Extract the first word of "pkg-config", so it can be a program name with args.
29603 set dummy pkg
-config; ac_word
=$2
29604 echo "$as_me:$LINENO: checking for $ac_word" >&5
29605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29606 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29607 echo $ECHO_N "(cached) $ECHO_C" >&6
29609 case $PKG_CONFIG in
29611 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29615 for as_dir
in $PATH
29618 test -z "$as_dir" && as_dir
=.
29619 for ac_exec_ext
in '' $ac_executable_extensions; do
29620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29621 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29628 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29632 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29634 if test -n "$PKG_CONFIG"; then
29635 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29636 echo "${ECHO_T}$PKG_CONFIG" >&6
29638 echo "$as_me:$LINENO: result: no" >&5
29639 echo "${ECHO_T}no" >&6
29644 if test "$PKG_CONFIG" = "no" ; then
29645 echo "*** The pkg-config script could not be found. Make sure it is"
29646 echo "*** in your path, or set the PKG_CONFIG environment variable"
29647 echo "*** to the full path to pkg-config."
29648 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29650 PKG_CONFIG_MIN_VERSION
=0.9.0
29651 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29652 echo "$as_me:$LINENO: checking for pangoxft" >&5
29653 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29655 if $PKG_CONFIG --exists "pangoxft" ; then
29656 echo "$as_me:$LINENO: result: yes" >&5
29657 echo "${ECHO_T}yes" >&6
29660 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29661 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29662 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29663 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29664 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29666 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29667 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29668 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29669 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29670 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29674 ## If we have a custom action on failure, don't print errors, but
29675 ## do set a variable so people can do so.
29676 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29683 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29684 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29688 if test $succeeded = yes; then
29690 cat >>confdefs.h
<<\_ACEOF
29691 #define HAVE_PANGO_XFT 1
29694 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29695 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29699 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29700 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29705 save_CXXFLAGS
="$CXXFLAGS"
29707 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29708 LIBS
="$LIBS $PANGOX_LIBS"
29710 for ac_func
in pango_font_family_is_monospace
29712 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29713 echo "$as_me:$LINENO: checking for $ac_func" >&5
29714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29715 if eval "test \"\${$as_ac_var+set}\" = set"; then
29716 echo $ECHO_N "(cached) $ECHO_C" >&6
29718 cat >conftest.
$ac_ext <<_ACEOF
29721 cat confdefs.h
>>conftest.
$ac_ext
29722 cat >>conftest.
$ac_ext <<_ACEOF
29723 /* end confdefs.h. */
29724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29726 #define $ac_func innocuous_$ac_func
29728 /* System header to define __stub macros and hopefully few prototypes,
29729 which can conflict with char $ac_func (); below.
29730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29731 <limits.h> exists even on freestanding compilers. */
29734 # include <limits.h>
29736 # include <assert.h>
29741 /* Override any gcc2 internal prototype to avoid an error. */
29746 /* We use char because int might match the return type of a gcc2
29747 builtin and then its argument prototype would still apply. */
29749 /* The GNU C library defines this for functions which it implements
29750 to always fail with ENOSYS. Some functions are actually named
29751 something starting with __ and the normal name is an alias. */
29752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29755 char (*f) () = $ac_func;
29764 return f != $ac_func;
29769 rm -f conftest.
$ac_objext conftest
$ac_exeext
29770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29771 (eval $ac_link) 2>conftest.er1
29773 grep -v '^ *+' conftest.er1
>conftest.err
29775 cat conftest.err
>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); } &&
29778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try
='test -s conftest$ac_exeext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 eval "$as_ac_var=yes"
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.
$ac_ext >&5
29795 eval "$as_ac_var=no"
29797 rm -f conftest.err conftest.
$ac_objext \
29798 conftest
$ac_exeext conftest.
$ac_ext
29800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29802 if test `eval echo '${'$as_ac_var'}'` = yes; then
29803 cat >>confdefs.h
<<_ACEOF
29804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29810 CXXFLAGS
="$save_CXXFLAGS"
29814 wxUSE_UNIVERSAL
="yes"
29816 if test "$wxUSE_NANOX" = "yes"; then
29817 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29818 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"
29819 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29821 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29828 if test "$wxUSE_MOTIF" = 1; then
29829 if test "$wxUSE_UNICODE" = "yes"; then
29830 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29831 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29832 { (exit 1); exit 1; }; }
29835 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29836 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29839 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29841 if test -f "$ac_dir/Xm/Xm.h"; then
29842 ac_find_includes
=$ac_dir
29847 if test "$ac_find_includes" != "" ; then
29848 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29849 echo "${ECHO_T}found in $ac_find_includes" >&6
29851 if test "x$ac_find_includes" = "x/usr/include"; then
29852 ac_path_to_include
=""
29854 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29856 if test $result = 0; then
29857 ac_path_to_include
=""
29859 ac_path_to_include
=" -I$ac_find_includes"
29863 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29865 save_CXXFLAGS
=$CXXFLAGS
29866 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
29868 cat >conftest.
$ac_ext <<_ACEOF
29871 cat confdefs.h
>>conftest.
$ac_ext
29872 cat >>conftest.
$ac_ext <<_ACEOF
29873 /* end confdefs.h. */
29882 version = xmUseVersion;
29888 rm -f conftest.
$ac_objext
29889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29890 (eval $ac_compile) 2>conftest.er1
29892 grep -v '^ *+' conftest.er1
>conftest.err
29894 cat conftest.err
>&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); } &&
29897 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; } &&
29903 { ac_try
='test -s conftest.$ac_objext'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; }; then
29910 echo "$as_me:$LINENO: result: found in default search path" >&5
29911 echo "${ECHO_T}found in default search path" >&6
29912 COMPILED_X_PROGRAM
=1
29915 echo "$as_me: failed program was:" >&5
29916 sed 's/^/| /' conftest.
$ac_ext >&5
29919 echo "$as_me:$LINENO: result: no" >&5
29920 echo "${ECHO_T}no" >&6
29921 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29922 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29923 { (exit 1); exit 1; }; }
29927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29929 CXXFLAGS
=$save_CXXFLAGS
29933 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29934 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29937 for ac_dir
in $SEARCH_LIB;
29939 for ac_extension
in a so sl dylib dll.a
; do
29940 if test -f "$ac_dir/libXm.$ac_extension"; then
29941 ac_find_libraries
=$ac_dir
29948 if test "x$ac_find_libraries" != "x" ; then
29949 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29950 echo "${ECHO_T}found in $ac_find_libraries" >&6
29953 if test "$ac_find_libraries" = "default location"; then
29956 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29958 if test $result = 0; then
29961 ac_path_to_link
=" -L$ac_find_libraries"
29965 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29967 save_CXXFLAGS
=$CXXFLAGS
29968 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
29970 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29972 cat >conftest.
$ac_ext <<_ACEOF
29975 cat confdefs.h
>>conftest.
$ac_ext
29976 cat >>conftest.
$ac_ext <<_ACEOF
29977 /* end confdefs.h. */
29986 version = xmUseVersion;
29992 rm -f conftest.
$ac_objext conftest
$ac_exeext
29993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29994 (eval $ac_link) 2>conftest.er1
29996 grep -v '^ *+' conftest.er1
>conftest.err
29998 cat conftest.err
>&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); } &&
30001 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; } &&
30007 { ac_try
='test -s conftest$ac_exeext'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; }; then
30014 echo "$as_me:$LINENO: result: found in default search path" >&5
30015 echo "${ECHO_T}found in default search path" >&6
30016 COMPILED_X_PROGRAM
=1
30019 echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.
$ac_ext >&5
30023 echo "$as_me:$LINENO: result: no" >&5
30024 echo "${ECHO_T}no" >&6
30025 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30026 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30027 { (exit 1); exit 1; }; }
30031 rm -f conftest.err conftest.
$ac_objext \
30032 conftest
$ac_exeext conftest.
$ac_ext
30034 CXXFLAGS
=$save_CXXFLAGS
30038 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30039 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30043 for libp
in "" " -lXp"; do
30044 if test "$libs_found" = "0"; then
30045 for libsm_ice
in "" " -lSM -lICE"; do
30046 if test "$libs_found" = "0"; then
30048 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30049 save_CXXFLAGS
=$CXXFLAGS
30050 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30052 cat >conftest.
$ac_ext <<_ACEOF
30055 cat confdefs.h
>>conftest.
$ac_ext
30056 cat >>conftest.
$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30060 #include <Xm/List.h>
30066 XmString string = NULL;
30069 XmListAddItem(w, string, position);
30075 rm -f conftest.
$ac_objext conftest
$ac_exeext
30076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30077 (eval $ac_link) 2>conftest.er1
30079 grep -v '^ *+' conftest.er1
>conftest.err
30081 cat conftest.err
>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); } &&
30084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086 (eval $ac_try) 2>&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); }; } &&
30090 { ac_try
='test -s conftest$ac_exeext'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; }; then
30098 libsm_ice_link
="$libsm_ice"
30099 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30100 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30104 echo "$as_me: failed program was:" >&5
30105 sed 's/^/| /' conftest.
$ac_ext >&5
30110 rm -f conftest.err conftest.
$ac_objext \
30111 conftest
$ac_exeext conftest.
$ac_ext
30114 CXXFLAGS
=$save_CXXFLAGS
30120 if test "$libs_found" = "0"; then
30121 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30122 echo "${ECHO_T}can't find the right libraries" >&6
30123 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30124 echo "$as_me: error: can't link a simple motif program" >&2;}
30125 { (exit 1); exit 1; }; }
30128 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30129 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30130 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30131 echo $ECHO_N "(cached) $ECHO_C" >&6
30133 ac_check_lib_save_LIBS
=$LIBS
30135 cat >conftest.
$ac_ext <<_ACEOF
30138 cat confdefs.h
>>conftest.
$ac_ext
30139 cat >>conftest.
$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30142 /* Override any gcc2 internal prototype to avoid an error. */
30146 /* We use char because int might match the return type of a gcc2
30147 builtin and then its argument prototype would still apply. */
30148 char SgCreateList ();
30157 rm -f conftest.
$ac_objext conftest
$ac_exeext
30158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30159 (eval $ac_link) 2>conftest.er1
30161 grep -v '^ *+' conftest.er1
>conftest.err
30163 cat conftest.err
>&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } &&
30166 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; } &&
30172 { ac_try
='test -s conftest$ac_exeext'
30173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30174 (eval $ac_try) 2>&5
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); }; }; then
30178 ac_cv_lib_Sgm_SgCreateList
=yes
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.
$ac_ext >&5
30183 ac_cv_lib_Sgm_SgCreateList
=no
30185 rm -f conftest.err conftest.
$ac_objext \
30186 conftest
$ac_exeext conftest.
$ac_ext
30187 LIBS
=$ac_check_lib_save_LIBS
30189 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30190 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30191 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30192 libsgm_link
=" -lSgm"
30196 save_CXXFLAGS
=$CXXFLAGS
30197 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30199 echo "$as_me:$LINENO: checking for Motif 2" >&5
30200 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30201 if test "${wx_cv_lib_motif2+set}" = set; then
30202 echo $ECHO_N "(cached) $ECHO_C" >&6
30204 cat >conftest.
$ac_ext <<_ACEOF
30207 cat confdefs.h
>>conftest.
$ac_ext
30208 cat >>conftest.
$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30217 #if XmVersion < 2000
30225 rm -f conftest.
$ac_objext
30226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30227 (eval $ac_compile) 2>conftest.er1
30229 grep -v '^ *+' conftest.er1
>conftest.err
30231 cat conftest.err
>&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); } &&
30234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30236 (eval $ac_try) 2>&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); }; } &&
30240 { ac_try
='test -s conftest.$ac_objext'
30241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30242 (eval $ac_try) 2>&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; }; then
30246 wx_cv_lib_motif2
="yes"
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.
$ac_ext >&5
30251 wx_cv_lib_motif2
="no"
30253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30255 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30256 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30257 if test "$wx_cv_lib_motif2" = "yes"; then
30258 cat >>confdefs.h
<<\_ACEOF
30259 #define __WXMOTIF20__ 1
30263 cat >>confdefs.h
<<\_ACEOF
30264 #define __WXMOTIF20__ 0
30269 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30270 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30271 if test "${wx_cv_lib_lesstif+set}" = set; then
30272 echo $ECHO_N "(cached) $ECHO_C" >&6
30274 cat >conftest.
$ac_ext <<_ACEOF
30277 cat confdefs.h
>>conftest.
$ac_ext
30278 cat >>conftest.
$ac_ext <<_ACEOF
30279 /* end confdefs.h. */
30287 #if !defined(LesstifVersion) || LesstifVersion <= 0
30295 rm -f conftest.
$ac_objext
30296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30297 (eval $ac_compile) 2>conftest.er1
30299 grep -v '^ *+' conftest.er1
>conftest.err
30301 cat conftest.err
>&5
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); } &&
30304 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30306 (eval $ac_try) 2>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; } &&
30310 { ac_try
='test -s conftest.$ac_objext'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; }; then
30316 wx_cv_lib_lesstif
="yes"
30318 echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.
$ac_ext >&5
30321 wx_cv_lib_lesstif
="no"
30323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30326 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30327 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30328 if test "$wx_cv_lib_lesstif" = "yes"; then
30329 cat >>confdefs.h
<<\_ACEOF
30330 #define __WXLESSTIF__ 1
30334 cat >>confdefs.h
<<\_ACEOF
30335 #define __WXLESSTIF__ 0
30340 CXXFLAGS
=$save_CXXFLAGS
30342 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30347 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30348 if test "$wxUSE_LIBXPM" = "sys"; then
30349 echo "$as_me:$LINENO: checking for Xpm library" >&5
30350 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30353 for ac_dir
in $SEARCH_LIB;
30355 for ac_extension
in a so sl dylib dll.a
; do
30356 if test -f "$ac_dir/libXpm.$ac_extension"; then
30357 ac_find_libraries
=$ac_dir
30363 if test "$ac_find_libraries" != "" ; then
30365 if test "$ac_find_libraries" = "default location"; then
30368 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30370 if test $result = 0; then
30373 ac_path_to_link
=" -L$ac_find_libraries"
30377 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30378 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30379 echo "${ECHO_T}found in $ac_find_libraries" >&6
30381 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30382 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30383 if test "${wx_cv_x11_xpm_h+set}" = set; then
30384 echo $ECHO_N "(cached) $ECHO_C" >&6
30387 save_CXXFLAGS
=$CXXFLAGS
30388 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30390 cat >conftest.
$ac_ext <<_ACEOF
30393 cat confdefs.h
>>conftest.
$ac_ext
30394 cat >>conftest.
$ac_ext <<_ACEOF
30395 /* end confdefs.h. */
30397 #include <X11/xpm.h>
30404 version = XpmLibraryVersion();
30410 rm -f conftest.
$ac_objext
30411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30412 (eval $ac_compile) 2>conftest.er1
30414 grep -v '^ *+' conftest.er1
>conftest.err
30416 cat conftest.err
>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); } &&
30419 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30421 (eval $ac_try) 2>&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); }; } &&
30425 { ac_try
='test -s conftest.$ac_objext'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; }; then
30431 wx_cv_x11_xpm_h
=yes
30433 echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.
$ac_ext >&5
30439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30441 CXXFLAGS
=$save_CXXFLAGS
30445 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30446 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30448 if test $wx_cv_x11_xpm_h = "yes"; then
30449 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30450 cat >>confdefs.h
<<\_ACEOF
30451 #define wxHAVE_LIB_XPM 1
30455 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30456 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30462 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30463 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30464 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30465 echo $ECHO_N "(cached) $ECHO_C" >&6
30467 ac_check_lib_save_LIBS
=$LIBS
30468 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30469 cat >conftest.
$ac_ext <<_ACEOF
30472 cat confdefs.h
>>conftest.
$ac_ext
30473 cat >>conftest.
$ac_ext <<_ACEOF
30474 /* end confdefs.h. */
30476 /* Override any gcc2 internal prototype to avoid an error. */
30480 /* We use char because int might match the return type of a gcc2
30481 builtin and then its argument prototype would still apply. */
30482 char XShapeQueryExtension ();
30486 XShapeQueryExtension ();
30491 rm -f conftest.
$ac_objext conftest
$ac_exeext
30492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30493 (eval $ac_link) 2>conftest.er1
30495 grep -v '^ *+' conftest.er1
>conftest.err
30497 cat conftest.err
>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); } &&
30500 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30502 (eval $ac_try) 2>&5
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 (exit $ac_status); }; } &&
30506 { ac_try
='test -s conftest$ac_exeext'
30507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30508 (eval $ac_try) 2>&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); }; }; then
30512 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30514 echo "$as_me: failed program was:" >&5
30515 sed 's/^/| /' conftest.
$ac_ext >&5
30517 ac_cv_lib_Xext_XShapeQueryExtension
=no
30519 rm -f conftest.err conftest.
$ac_objext \
30520 conftest
$ac_exeext conftest.
$ac_ext
30521 LIBS
=$ac_check_lib_save_LIBS
30523 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30524 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30525 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30527 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30533 if test "$wxHAVE_XEXT_LIB" = 1; then
30534 save_CXXFLAGS
="$CXXFLAGS"
30535 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30537 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30538 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30539 cat >conftest.
$ac_ext <<_ACEOF
30542 cat confdefs.h
>>conftest.
$ac_ext
30543 cat >>conftest.
$ac_ext <<_ACEOF
30544 /* end confdefs.h. */
30546 #include <X11/Xlib.h>
30547 #include <X11/extensions/shape.h>
30553 int dummy1, dummy2;
30554 XShapeQueryExtension((Display*)NULL,
30555 (int*)NULL, (int*)NULL);
30561 rm -f conftest.
$ac_objext
30562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30563 (eval $ac_compile) 2>conftest.er1
30565 grep -v '^ *+' conftest.er1
>conftest.err
30567 cat conftest.err
>&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } &&
30570 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30572 (eval $ac_try) 2>&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); }; } &&
30576 { ac_try
='test -s conftest.$ac_objext'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; }; then
30583 cat >>confdefs.h
<<\_ACEOF
30584 #define HAVE_XSHAPE 1
30587 echo "$as_me:$LINENO: result: found" >&5
30588 echo "${ECHO_T}found" >&6
30591 echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.
$ac_ext >&5
30595 echo "$as_me:$LINENO: result: not found" >&5
30596 echo "${ECHO_T}not found" >&6
30599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30600 CXXFLAGS
="$save_CXXFLAGS"
30605 if test "$wxUSE_MAC" = 1; then
30606 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30607 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30608 if test "$GCC" = yes; then
30609 echo "$as_me:$LINENO: result: gcc" >&5
30610 echo "${ECHO_T}gcc" >&6
30611 CPPFLAGS_PASCAL
="-fpascal-strings"
30612 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30613 echo "$as_me:$LINENO: result: xlc" >&5
30614 echo "${ECHO_T}xlc" >&6
30615 CPPFLAGS_PASCAL
="-qmacpstr"
30617 echo "$as_me:$LINENO: result: none" >&5
30618 echo "${ECHO_T}none" >&6
30621 if test "x$wxUSE_UNIX" = "xyes"; then
30622 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30624 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30629 WXBASEPORT
="_carbon"
30632 if test "$wxUSE_COCOA" = 1; then
30637 if test "$wxUSE_PM" = 1; then
30640 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30641 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30642 if test "${wx_cv_spbcdata+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30646 cat >conftest.
$ac_ext <<_ACEOF
30649 cat confdefs.h
>>conftest.
$ac_ext
30650 cat >>conftest.
$ac_ext <<_ACEOF
30651 /* end confdefs.h. */
30666 rm -f conftest.
$ac_objext
30667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30668 (eval $ac_compile) 2>conftest.er1
30670 grep -v '^ *+' conftest.er1
>conftest.err
30672 cat conftest.err
>&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); } &&
30675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30677 (eval $ac_try) 2>&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); }; } &&
30681 { ac_try
='test -s conftest.$ac_objext'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; }; then
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.
$ac_ext >&5
30695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30699 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30700 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30702 if test $wx_cv_spbcdata = "yes"; then
30703 cat >>confdefs.h
<<\_ACEOF
30704 #define HAVE_SPBCDATA 1
30710 if test "$TOOLKIT" = "PM" ; then
30713 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30716 if test "$wxUSE_UNIVERSAL" = "yes"; then
30717 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30721 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30722 DISTDIR
="wx\$(TOOLKIT)"
30728 if test "$USE_WIN32" = 1 ; then
30732 GUIDIST
="BASE_DIST"
30737 if test "$wxUSE_GUI" = "yes"; then
30738 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30740 for ac_header
in X
11/Xlib.h
30742 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30744 echo "$as_me:$LINENO: checking for $ac_header" >&5
30745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30747 echo $ECHO_N "(cached) $ECHO_C" >&6
30749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30752 # Is the header compilable?
30753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30755 cat >conftest.
$ac_ext <<_ACEOF
30758 cat confdefs.h
>>conftest.
$ac_ext
30759 cat >>conftest.
$ac_ext <<_ACEOF
30760 /* end confdefs.h. */
30761 $ac_includes_default
30762 #include <$ac_header>
30764 rm -f conftest.
$ac_objext
30765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30766 (eval $ac_compile) 2>conftest.er1
30768 grep -v '^ *+' conftest.er1
>conftest.err
30770 cat conftest.err
>&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); } &&
30773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775 (eval $ac_try) 2>&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; } &&
30779 { ac_try
='test -s conftest.$ac_objext'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; }; then
30785 ac_header_compiler
=yes
30787 echo "$as_me: failed program was:" >&5
30788 sed 's/^/| /' conftest.
$ac_ext >&5
30790 ac_header_compiler
=no
30792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30794 echo "${ECHO_T}$ac_header_compiler" >&6
30796 # Is the header present?
30797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30799 cat >conftest.
$ac_ext <<_ACEOF
30802 cat confdefs.h
>>conftest.
$ac_ext
30803 cat >>conftest.
$ac_ext <<_ACEOF
30804 /* end confdefs.h. */
30805 #include <$ac_header>
30807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30810 grep -v '^ *+' conftest.er1
>conftest.err
30812 cat conftest.err
>&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } >/dev
/null
; then
30815 if test -s conftest.err
; then
30816 ac_cpp_err
=$ac_cxx_preproc_warn_flag
30817 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
30824 if test -z "$ac_cpp_err"; then
30825 ac_header_preproc
=yes
30827 echo "$as_me: failed program was:" >&5
30828 sed 's/^/| /' conftest.
$ac_ext >&5
30830 ac_header_preproc
=no
30832 rm -f conftest.err conftest.
$ac_ext
30833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30834 echo "${ECHO_T}$ac_header_preproc" >&6
30836 # So? What about this header?
30837 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30843 ac_header_preproc
=yes
30846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30860 ## ----------------------------------------- ##
30861 ## Report this to wx-dev@lists.wxwidgets.org ##
30862 ## ----------------------------------------- ##
30865 sed "s/^/$as_me: WARNING: /" >&2
30868 echo "$as_me:$LINENO: checking for $ac_header" >&5
30869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30871 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 eval "$as_ac_Header=\$ac_header_preproc"
30875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30880 cat >>confdefs.h
<<_ACEOF
30881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30889 for ac_header
in X
11/XKBlib.h
30891 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30892 echo "$as_me:$LINENO: checking for $ac_header" >&5
30893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30895 echo $ECHO_N "(cached) $ECHO_C" >&6
30897 cat >conftest.
$ac_ext <<_ACEOF
30900 cat confdefs.h
>>conftest.
$ac_ext
30901 cat >>conftest.
$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30904 #if HAVE_X11_XLIB_H
30905 #include <X11/Xlib.h>
30909 #include <$ac_header>
30911 rm -f conftest.
$ac_objext
30912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30913 (eval $ac_compile) 2>conftest.er1
30915 grep -v '^ *+' conftest.er1
>conftest.err
30917 cat conftest.err
>&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); } &&
30920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30922 (eval $ac_try) 2>&5
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); }; } &&
30926 { ac_try
='test -s conftest.$ac_objext'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; }; then
30932 eval "$as_ac_Header=yes"
30934 echo "$as_me: failed program was:" >&5
30935 sed 's/^/| /' conftest.
$ac_ext >&5
30937 eval "$as_ac_Header=no"
30939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30944 cat >>confdefs.h
<<_ACEOF
30945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30960 if test "$TOOLKIT" != "MSW" ; then
30962 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30964 if test "${ac_cv_header_sql_h+set}" = set; then
30965 echo "$as_me:$LINENO: checking for sql.h" >&5
30966 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30967 if test "${ac_cv_header_sql_h+set}" = set; then
30968 echo $ECHO_N "(cached) $ECHO_C" >&6
30970 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30971 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30973 # Is the header compilable?
30974 echo "$as_me:$LINENO: checking sql.h usability" >&5
30975 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30976 cat >conftest.
$ac_ext <<_ACEOF
30979 cat confdefs.h
>>conftest.
$ac_ext
30980 cat >>conftest.
$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30982 $ac_includes_default
30985 rm -f conftest.
$ac_objext
30986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30987 (eval $ac_compile) 2>conftest.er1
30989 grep -v '^ *+' conftest.er1
>conftest.err
30991 cat conftest.err
>&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); } &&
30994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30996 (eval $ac_try) 2>&5
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; } &&
31000 { ac_try
='test -s conftest.$ac_objext'
31001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31002 (eval $ac_try) 2>&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); }; }; then
31006 ac_header_compiler
=yes
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.
$ac_ext >&5
31011 ac_header_compiler
=no
31013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31015 echo "${ECHO_T}$ac_header_compiler" >&6
31017 # Is the header present?
31018 echo "$as_me:$LINENO: checking sql.h presence" >&5
31019 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31020 cat >conftest.
$ac_ext <<_ACEOF
31023 cat confdefs.h
>>conftest.
$ac_ext
31024 cat >>conftest.
$ac_ext <<_ACEOF
31025 /* end confdefs.h. */
31028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31031 grep -v '^ *+' conftest.er1
>conftest.err
31033 cat conftest.err
>&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } >/dev
/null
; then
31036 if test -s conftest.err
; then
31037 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31038 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31045 if test -z "$ac_cpp_err"; then
31046 ac_header_preproc
=yes
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.
$ac_ext >&5
31051 ac_header_preproc
=no
31053 rm -f conftest.err conftest.
$ac_ext
31054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31055 echo "${ECHO_T}$ac_header_preproc" >&6
31057 # So? What about this header?
31058 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31060 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31061 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31062 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31063 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31064 ac_header_preproc
=yes
31067 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31068 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31069 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31070 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31071 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31072 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31073 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31074 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31075 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31076 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31077 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31078 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31081 ## ----------------------------------------- ##
31082 ## Report this to wx-dev@lists.wxwidgets.org ##
31083 ## ----------------------------------------- ##
31086 sed "s/^/$as_me: WARNING: /" >&2
31089 echo "$as_me:$LINENO: checking for sql.h" >&5
31090 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31091 if test "${ac_cv_header_sql_h+set}" = set; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 ac_cv_header_sql_h
=$ac_header_preproc
31096 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31097 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31100 if test $ac_cv_header_sql_h = yes; then
31105 if test "x$found_sql_h" = "x1" ; then
31106 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31107 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31108 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31111 ac_check_lib_save_LIBS
=$LIBS
31112 LIBS
="-liodbc $LIBS"
31113 cat >conftest.
$ac_ext <<_ACEOF
31116 cat confdefs.h
>>conftest.
$ac_ext
31117 cat >>conftest.
$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31120 /* Override any gcc2 internal prototype to avoid an error. */
31124 /* We use char because int might match the return type of a gcc2
31125 builtin and then its argument prototype would still apply. */
31126 char SQLAllocEnv ();
31135 rm -f conftest.
$ac_objext conftest
$ac_exeext
31136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31137 (eval $ac_link) 2>conftest.er1
31139 grep -v '^ *+' conftest.er1
>conftest.err
31141 cat conftest.err
>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; } &&
31150 { ac_try
='test -s conftest$ac_exeext'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; }; then
31156 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.
$ac_ext >&5
31161 ac_cv_lib_iodbc_SQLAllocEnv
=no
31163 rm -f conftest.err conftest.
$ac_objext \
31164 conftest
$ac_exeext conftest.
$ac_ext
31165 LIBS
=$ac_check_lib_save_LIBS
31167 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31168 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31169 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31170 ODBC_LINK
=" -liodbc"
31173 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31174 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31175 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31178 ac_check_lib_save_LIBS
=$LIBS
31179 LIBS
="-lunixodbc $LIBS"
31180 cat >conftest.
$ac_ext <<_ACEOF
31183 cat confdefs.h
>>conftest.
$ac_ext
31184 cat >>conftest.
$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31187 /* Override any gcc2 internal prototype to avoid an error. */
31191 /* We use char because int might match the return type of a gcc2
31192 builtin and then its argument prototype would still apply. */
31193 char SQLAllocEnv ();
31202 rm -f conftest.
$ac_objext conftest
$ac_exeext
31203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31204 (eval $ac_link) 2>conftest.er1
31206 grep -v '^ *+' conftest.er1
>conftest.err
31208 cat conftest.err
>&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; } &&
31217 { ac_try
='test -s conftest$ac_exeext'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; }; then
31223 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31225 echo "$as_me: failed program was:" >&5
31226 sed 's/^/| /' conftest.
$ac_ext >&5
31228 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31230 rm -f conftest.err conftest.
$ac_objext \
31231 conftest
$ac_exeext conftest.
$ac_ext
31232 LIBS
=$ac_check_lib_save_LIBS
31234 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31235 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31236 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31237 ODBC_LINK
=" -lunixodbc"
31240 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31241 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31242 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31243 echo $ECHO_N "(cached) $ECHO_C" >&6
31245 ac_check_lib_save_LIBS
=$LIBS
31246 LIBS
="-lodbc $LIBS"
31247 cat >conftest.
$ac_ext <<_ACEOF
31250 cat confdefs.h
>>conftest.
$ac_ext
31251 cat >>conftest.
$ac_ext <<_ACEOF
31252 /* end confdefs.h. */
31254 /* Override any gcc2 internal prototype to avoid an error. */
31258 /* We use char because int might match the return type of a gcc2
31259 builtin and then its argument prototype would still apply. */
31260 char SQLAllocEnv ();
31269 rm -f conftest.
$ac_objext conftest
$ac_exeext
31270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31271 (eval $ac_link) 2>conftest.er1
31273 grep -v '^ *+' conftest.er1
>conftest.err
31275 cat conftest.err
>&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); } &&
31278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31280 (eval $ac_try) 2>&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); }; } &&
31284 { ac_try
='test -s conftest$ac_exeext'
31285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31286 (eval $ac_try) 2>&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); }; }; then
31290 ac_cv_lib_odbc_SQLAllocEnv
=yes
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.
$ac_ext >&5
31295 ac_cv_lib_odbc_SQLAllocEnv
=no
31297 rm -f conftest.err conftest.
$ac_objext \
31298 conftest
$ac_exeext conftest.
$ac_ext
31299 LIBS
=$ac_check_lib_save_LIBS
31301 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31302 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31303 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31304 ODBC_LINK
=" -lodbc"
31314 if test "x$ODBC_LINK" = "x" ; then
31315 if test "$wxUSE_ODBC" = "sys" ; then
31316 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31317 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31318 { (exit 1); exit 1; }; }
31320 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31321 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31329 if test "$wxUSE_ODBC" = "builtin" ; then
31330 cat >>confdefs.h
<<\_ACEOF
31331 #define wxUSE_BUILTIN_IODBC 1
31337 if test "$wxUSE_ODBC" != "no" ; then
31338 cat >>confdefs.h
<<\_ACEOF
31339 #define wxUSE_ODBC 1
31342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31344 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31348 if test "$wxUSE_DISPLAY" = "yes"; then
31349 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31350 echo "$as_me:$LINENO: checking for Xinerama" >&5
31351 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31354 for ac_dir
in $SEARCH_LIB;
31356 for ac_extension
in a so sl dylib dll.a
; do
31357 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31358 ac_find_libraries
=$ac_dir
31364 if test "$ac_find_libraries" != "" ; then
31366 if test "$ac_find_libraries" = "default location"; then
31369 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31371 if test $result = 0; then
31374 ac_path_to_link
=" -L$ac_find_libraries"
31378 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31379 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31381 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31382 echo "$as_me:$LINENO: result: yes" >&5
31383 echo "${ECHO_T}yes" >&6
31385 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31386 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31389 for ac_dir
in $SEARCH_LIB;
31391 for ac_extension
in a so sl dylib dll.a
; do
31392 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31393 ac_find_libraries
=$ac_dir
31399 if test "$ac_find_libraries" != "" ; then
31400 echo "$as_me:$LINENO: result: yes" >&5
31401 echo "${ECHO_T}yes" >&6
31403 for ac_header
in X
11/extensions
/xf86vmode.h
31405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31406 echo "$as_me:$LINENO: checking for $ac_header" >&5
31407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31409 echo $ECHO_N "(cached) $ECHO_C" >&6
31411 cat >conftest.
$ac_ext <<_ACEOF
31414 cat confdefs.h
>>conftest.
$ac_ext
31415 cat >>conftest.
$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31418 #if HAVE_X11_XLIB_H
31419 #include <X11/Xlib.h>
31423 #include <$ac_header>
31425 rm -f conftest.
$ac_objext
31426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31427 (eval $ac_compile) 2>conftest.er1
31429 grep -v '^ *+' conftest.er1
>conftest.err
31431 cat conftest.err
>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); } &&
31434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; } &&
31440 { ac_try
='test -s conftest.$ac_objext'
31441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442 (eval $ac_try) 2>&5
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; }; then
31446 eval "$as_ac_Header=yes"
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.
$ac_ext >&5
31451 eval "$as_ac_Header=no"
31453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31458 cat >>confdefs.h
<<_ACEOF
31459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31462 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31469 echo "$as_me:$LINENO: result: no" >&5
31470 echo "${ECHO_T}no" >&6
31474 echo "$as_me:$LINENO: result: no" >&5
31475 echo "${ECHO_T}no" >&6
31476 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31477 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31480 elif test "$wxUSE_MSW" = 1; then
31482 for ac_header
in ddraw.h
31484 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31485 echo "$as_me:$LINENO: checking for $ac_header" >&5
31486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31488 echo $ECHO_N "(cached) $ECHO_C" >&6
31490 cat >conftest.
$ac_ext <<_ACEOF
31493 cat confdefs.h
>>conftest.
$ac_ext
31494 cat >>conftest.
$ac_ext <<_ACEOF
31495 /* end confdefs.h. */
31496 #include <windows.h>
31498 #include <$ac_header>
31500 rm -f conftest.
$ac_objext
31501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31502 (eval $ac_compile) 2>conftest.er1
31504 grep -v '^ *+' conftest.er1
>conftest.err
31506 cat conftest.err
>&5
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); } &&
31509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511 (eval $ac_try) 2>&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; } &&
31515 { ac_try
='test -s conftest.$ac_objext'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; }; then
31521 eval "$as_ac_Header=yes"
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.
$ac_ext >&5
31526 eval "$as_ac_Header=no"
31528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31533 cat >>confdefs.h
<<_ACEOF
31534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31546 if test "$wxUSE_OPENGL" = "yes"; then
31547 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31548 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31549 elif test "$wxUSE_MSW" = 1; then
31550 OPENGL_LIBS
="-lopengl32 -lglu32"
31555 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31557 if test -f "$ac_dir/GL/gl.h"; then
31558 ac_find_includes
=$ac_dir
31563 if test "$ac_find_includes" != "" ; then
31564 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31565 echo "${ECHO_T}found in $ac_find_includes" >&6
31567 if test "x$ac_find_includes" = "x/usr/include"; then
31568 ac_path_to_include
=""
31570 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31572 if test $result = 0; then
31573 ac_path_to_include
=""
31575 ac_path_to_include
=" -I$ac_find_includes"
31579 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31582 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31583 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31584 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31585 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31586 echo $ECHO_N "(cached) $ECHO_C" >&6
31588 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31589 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31591 # Is the header compilable?
31592 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31593 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31594 cat >conftest.
$ac_ext <<_ACEOF
31597 cat confdefs.h
>>conftest.
$ac_ext
31598 cat >>conftest.
$ac_ext <<_ACEOF
31599 /* end confdefs.h. */
31600 $ac_includes_default
31603 rm -f conftest.
$ac_objext
31604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31605 (eval $ac_compile) 2>conftest.er1
31607 grep -v '^ *+' conftest.er1
>conftest.err
31609 cat conftest.err
>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } &&
31612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; } &&
31618 { ac_try
='test -s conftest.$ac_objext'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; }; then
31624 ac_header_compiler
=yes
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.
$ac_ext >&5
31629 ac_header_compiler
=no
31631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31633 echo "${ECHO_T}$ac_header_compiler" >&6
31635 # Is the header present?
31636 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31637 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31638 cat >conftest.
$ac_ext <<_ACEOF
31641 cat confdefs.h
>>conftest.
$ac_ext
31642 cat >>conftest.
$ac_ext <<_ACEOF
31643 /* end confdefs.h. */
31646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31649 grep -v '^ *+' conftest.er1
>conftest.err
31651 cat conftest.err
>&5
31652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31653 (exit $ac_status); } >/dev
/null
; then
31654 if test -s conftest.err
; then
31655 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31656 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31663 if test -z "$ac_cpp_err"; then
31664 ac_header_preproc
=yes
31666 echo "$as_me: failed program was:" >&5
31667 sed 's/^/| /' conftest.
$ac_ext >&5
31669 ac_header_preproc
=no
31671 rm -f conftest.err conftest.
$ac_ext
31672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31673 echo "${ECHO_T}$ac_header_preproc" >&6
31675 # So? What about this header?
31676 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31678 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31679 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31680 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31681 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31682 ac_header_preproc
=yes
31685 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31686 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31687 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31688 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31689 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31690 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31691 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31692 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31693 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31694 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31695 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31696 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31699 ## ----------------------------------------- ##
31700 ## Report this to wx-dev@lists.wxwidgets.org ##
31701 ## ----------------------------------------- ##
31704 sed "s/^/$as_me: WARNING: /" >&2
31707 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31708 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31709 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31710 echo $ECHO_N "(cached) $ECHO_C" >&6
31712 ac_cv_header_GL_gl_h
=$ac_header_preproc
31714 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31715 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31718 if test $ac_cv_header_GL_gl_h = yes; then
31722 echo "$as_me:$LINENO: checking for -lGL" >&5
31723 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31726 for ac_dir
in $SEARCH_LIB;
31728 for ac_extension
in a so sl dylib dll.a
; do
31729 if test -f "$ac_dir/libGL.$ac_extension"; then
31730 ac_find_libraries
=$ac_dir
31736 if test "$ac_find_libraries" != "" ; then
31737 echo "$as_me:$LINENO: result: yes" >&5
31738 echo "${ECHO_T}yes" >&6
31741 if test "$ac_find_libraries" = "default location"; then
31744 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31746 if test $result = 0; then
31749 ac_path_to_link
=" -L$ac_find_libraries"
31753 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31754 LDFLAGS_GL
="$ac_path_to_link"
31757 echo "$as_me:$LINENO: checking for -lGLU" >&5
31758 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31761 for ac_dir
in $SEARCH_LIB;
31763 for ac_extension
in a so sl dylib dll.a
; do
31764 if test -f "$ac_dir/libGLU.$ac_extension"; then
31765 ac_find_libraries
=$ac_dir
31771 if test "$ac_find_libraries" != "" ; then
31773 if test "$ac_find_libraries" = "default location"; then
31776 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31778 if test $result = 0; then
31781 ac_path_to_link
=" -L$ac_find_libraries"
31785 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31786 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31787 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31791 OPENGL_LIBS
="-lGL -lGLU"
31792 echo "$as_me:$LINENO: result: yes" >&5
31793 echo "${ECHO_T}yes" >&6
31795 echo "$as_me:$LINENO: result: no" >&5
31796 echo "${ECHO_T}no" >&6
31799 echo "$as_me:$LINENO: result: no" >&5
31800 echo "${ECHO_T}no" >&6
31803 if test "$found_gl" != 1; then
31804 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31805 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31808 for ac_dir
in $SEARCH_LIB;
31810 for ac_extension
in a so sl dylib dll.a
; do
31811 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31812 ac_find_libraries
=$ac_dir
31818 if test "$ac_find_libraries" != "" ; then
31820 if test "$ac_find_libraries" = "default location"; then
31823 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31825 if test $result = 0; then
31828 ac_path_to_link
=" -L$ac_find_libraries"
31832 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31833 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31834 echo "$as_me:$LINENO: result: yes" >&5
31835 echo "${ECHO_T}yes" >&6
31837 echo "$as_me:$LINENO: result: no" >&5
31838 echo "${ECHO_T}no" >&6
31846 if test "x$OPENGL_LIBS" = "x"; then
31847 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31848 echo "$as_me: error: OpenGL libraries not available" >&2;}
31849 { (exit 1); exit 1; }; }
31853 if test "$wxUSE_OPENGL" = "yes"; then
31855 cat >>confdefs.h
<<\_ACEOF
31856 #define wxUSE_OPENGL 1
31859 cat >>confdefs.h
<<\_ACEOF
31860 #define wxUSE_GLCANVAS 1
31863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31868 if test -n "$TOOLKIT" ; then
31869 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31874 if test "$wxUSE_SHARED" = "yes"; then
31878 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31879 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31884 if test "$wxUSE_SHARED" = "yes"; then
31887 found_versioning
=no
31890 if test $found_versioning = no
; then
31891 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31892 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31893 if test "${wx_cv_version_script+set}" = set; then
31894 echo $ECHO_N "(cached) $ECHO_C" >&6
31897 echo "VER_1 { *; };" >conftest.sym
31898 echo "int main() { return 0; }" >conftest.cpp
31901 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31902 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; } ; then
31908 if test -s conftest.stderr
; then
31909 wx_cv_version_script
=no
31911 wx_cv_version_script
=yes
31914 wx_cv_version_script
=no
31917 if test $wx_cv_version_script = yes
31919 echo "struct B { virtual ~B() { } }; \
31920 struct D : public B { }; \
31921 void F() { D d; }" > conftest.cpp
31924 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31925 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31927 (eval $ac_try) 2>&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); }; } &&
31932 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31933 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; }
31941 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31942 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }
31949 wx_cv_version_script
=yes
31951 wx_cv_version_script
=no
31956 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31957 rm -f conftest1.output conftest2.output conftest3.output
31960 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31961 echo "${ECHO_T}$wx_cv_version_script" >&6
31962 if test $wx_cv_version_script = yes ; then
31963 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31969 *-*-linux* | *-*-gnu* )
31970 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31971 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31975 if test "$GCC" = yes ; then
31976 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
31978 saveLdflags
="$LDFLAGS"
31979 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31980 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31981 echo $ECHO_N "checking if the linker accepts -rpath... $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. */
31997 rm -f conftest.
$ac_objext conftest
$ac_exeext
31998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31999 (eval $ac_link) 2>conftest.er1
32001 grep -v '^ *+' conftest.er1
>conftest.err
32003 cat conftest.err
>&5
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); } &&
32006 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008 (eval $ac_try) 2>&5
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); }; } &&
32012 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
32019 echo "$as_me:$LINENO: result: yes" >&5
32020 echo "${ECHO_T}yes" >&6
32021 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32022 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32025 echo "$as_me: failed program was:" >&5
32026 sed 's/^/| /' conftest.
$ac_ext >&5
32029 echo "$as_me:$LINENO: result: no" >&5
32030 echo "${ECHO_T}no" >&6
32031 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32032 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32033 LDFLAGS
="$saveLdflags -Wl,-R,/"
32034 cat >conftest.
$ac_ext <<_ACEOF
32037 cat confdefs.h
>>conftest.
$ac_ext
32038 cat >>conftest.
$ac_ext <<_ACEOF
32039 /* end confdefs.h. */
32049 rm -f conftest.
$ac_objext conftest
$ac_exeext
32050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32051 (eval $ac_link) 2>conftest.er1
32053 grep -v '^ *+' conftest.er1
>conftest.err
32055 cat conftest.err
>&5
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); } &&
32058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32060 (eval $ac_try) 2>&5
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; } &&
32064 { ac_try
='test -s conftest$ac_exeext'
32065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32066 (eval $ac_try) 2>&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); }; }; then
32071 echo "$as_me:$LINENO: result: yes" >&5
32072 echo "${ECHO_T}yes" >&6
32073 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32074 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.
$ac_ext >&5
32081 echo "$as_me:$LINENO: result: no" >&5
32082 echo "${ECHO_T}no" >&6
32085 rm -f conftest.err conftest.
$ac_objext \
32086 conftest
$ac_exeext conftest.
$ac_ext
32089 rm -f conftest.err conftest.
$ac_objext \
32090 conftest
$ac_exeext conftest.
$ac_ext
32091 LDFLAGS
="$saveLdflags"
32093 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32094 WXCONFIG_RPATH
="-R\$libdir"
32099 install_name_tool
=`which install_name_tool`
32100 if test "$install_name_tool" -a -x "$install_name_tool"; then
32101 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32102 cat <<EOF >change-install-names
32104 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32105 inst_cmd="install_name_tool "
32106 for i in \${libnames} ; do
32107 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32111 chmod +x change
-install-names
32115 *-*-cygwin* | *-*-mingw32* )
32116 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32120 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32121 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32126 if test $wxUSE_RPATH = "no"; then
32127 SAMPLES_RPATH_FLAG
=''
32128 SAMPLES_RPATH_POSTLINK
=''
32136 config_linkage_component
="-static"
32143 lib_unicode_suffix
=
32145 if test "$wxUSE_UNICODE" = "yes"; then
32146 lib_unicode_suffix
=u
32147 WX_CHARTYPE
="unicode"
32152 WX_DEBUGTYPE
="release"
32154 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32156 WX_DEBUGTYPE
="debug"
32160 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32161 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32164 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32168 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32170 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32172 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32174 if test "$cross_compiling" = "yes"; then
32175 HOST_SUFFIX
="-$host_alias"
32176 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32177 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32180 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32181 if test "${TOOLKIT_DIR}" = "os2"; then
32182 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32184 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32189 if test "$wxUSE_COCOA" = 1; then
32193 ac_cpp
='$CPP $CPPFLAGS'
32194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32200 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32201 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32202 cat >conftest.
$ac_ext <<_ACEOF
32205 cat confdefs.h
>>conftest.
$ac_ext
32206 cat >>conftest.
$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32208 #include <AppKit/NSEvent.h>
32209 #include <CoreFoundation/CoreFoundation.h>
32219 rm -f conftest.
$ac_objext
32220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32221 (eval $ac_compile) 2>conftest.er1
32223 grep -v '^ *+' conftest.er1
>conftest.err
32225 cat conftest.err
>&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } &&
32228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32230 (eval $ac_try) 2>&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); }; } &&
32234 { ac_try
='test -s conftest.$ac_objext'
32235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32236 (eval $ac_try) 2>&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); }; }; then
32240 echo "$as_me:$LINENO: result: no" >&5
32241 echo "${ECHO_T}no" >&6
32243 echo "$as_me: failed program was:" >&5
32244 sed 's/^/| /' conftest.
$ac_ext >&5
32246 echo "$as_me:$LINENO: result: yes" >&5
32247 echo "${ECHO_T}yes" >&6
32248 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32249 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32250 cat >conftest.
$ac_ext <<_ACEOF
32253 cat confdefs.h
>>conftest.
$ac_ext
32254 cat >>conftest.
$ac_ext <<_ACEOF
32255 /* end confdefs.h. */
32256 #define __Point__ 1
32257 #include <AppKit/NSEvent.h>
32258 #include <CoreFoundation/CoreFoundation.h>
32268 rm -f conftest.
$ac_objext
32269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32270 (eval $ac_compile) 2>conftest.er1
32272 grep -v '^ *+' conftest.er1
>conftest.err
32274 cat conftest.err
>&5
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); } &&
32277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; } &&
32283 { ac_try
='test -s conftest.$ac_objext'
32284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32285 (eval $ac_try) 2>&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; }; then
32289 echo "$as_me:$LINENO: result: yes" >&5
32290 echo "${ECHO_T}yes" >&6
32291 cat >>confdefs.h
<<\_ACEOF
32292 #define __Point__ 1
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.
$ac_ext >&5
32300 { { echo "$as_me:$LINENO: error: no
32301 See \`config.log' for more details." >&5
32302 echo "$as_me: error: no
32303 See \`config.log' for more details." >&2;}
32304 { (exit 1); exit 1; }; }
32307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32312 ac_cpp
='$CXXCPP $CPPFLAGS'
32313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32319 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32320 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32321 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32323 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32325 # Extract the first word of "Rez", so it can be a program name with args.
32326 set dummy Rez
; ac_word
=$2
32327 echo "$as_me:$LINENO: checking for $ac_word" >&5
32328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32329 if test "${ac_cv_prog_REZ+set}" = set; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 if test -n "$REZ"; then
32333 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32336 for as_dir
in $PATH
32339 test -z "$as_dir" && as_dir
=.
32340 for ac_exec_ext
in '' $ac_executable_extensions; do
32341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32342 ac_cv_prog_REZ
="Rez"
32343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32349 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32352 REZ
=$ac_cv_prog_REZ
32353 if test -n "$REZ"; then
32354 echo "$as_me:$LINENO: result: $REZ" >&5
32355 echo "${ECHO_T}$REZ" >&6
32357 echo "$as_me:$LINENO: result: no" >&5
32358 echo "${ECHO_T}no" >&6
32361 # Extract the first word of "DeRez", so it can be a program name with args.
32362 set dummy DeRez
; ac_word
=$2
32363 echo "$as_me:$LINENO: checking for $ac_word" >&5
32364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32365 if test "${ac_cv_prog_DEREZ+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32368 if test -n "$DEREZ"; then
32369 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32372 for as_dir
in $PATH
32375 test -z "$as_dir" && as_dir
=.
32376 for ac_exec_ext
in '' $ac_executable_extensions; do
32377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32378 ac_cv_prog_DEREZ
="DeRez"
32379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32385 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32388 DEREZ
=$ac_cv_prog_DEREZ
32389 if test -n "$DEREZ"; then
32390 echo "$as_me:$LINENO: result: $DEREZ" >&5
32391 echo "${ECHO_T}$DEREZ" >&6
32393 echo "$as_me:$LINENO: result: no" >&5
32394 echo "${ECHO_T}no" >&6
32397 # Extract the first word of "SetFile", so it can be a program name with args.
32398 set dummy SetFile
; ac_word
=$2
32399 echo "$as_me:$LINENO: checking for $ac_word" >&5
32400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32401 if test "${ac_cv_prog_SETFILE+set}" = set; then
32402 echo $ECHO_N "(cached) $ECHO_C" >&6
32404 if test -n "$SETFILE"; then
32405 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32408 for as_dir
in $PATH
32411 test -z "$as_dir" && as_dir
=.
32412 for ac_exec_ext
in '' $ac_executable_extensions; do
32413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32414 ac_cv_prog_SETFILE
="SetFile"
32415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32421 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32424 SETFILE
=$ac_cv_prog_SETFILE
32425 if test -n "$SETFILE"; then
32426 echo "$as_me:$LINENO: result: $SETFILE" >&5
32427 echo "${ECHO_T}$SETFILE" >&6
32429 echo "$as_me:$LINENO: result: no" >&5
32430 echo "${ECHO_T}no" >&6
32434 MACSETFILE
="\$(SETFILE)"
32436 if test "$wxUSE_MAC" = 1; then
32437 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32439 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32441 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32442 RESCOMP
="echo -n \| $REZ"
32443 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32449 if test "$wxUSE_PM" = 1; then
32451 WXCONFIG_RESFLAGS
="-ep"
32453 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32455 POSTLINK_COMMAND
="@true"
32462 echo "$as_me:$LINENO: checking for mode_t" >&5
32463 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32464 if test "${ac_cv_type_mode_t+set}" = set; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32467 cat >conftest.
$ac_ext <<_ACEOF
32470 cat confdefs.h
>>conftest.
$ac_ext
32471 cat >>conftest.
$ac_ext <<_ACEOF
32472 /* end confdefs.h. */
32473 $ac_includes_default
32479 if (sizeof (mode_t))
32485 rm -f conftest.
$ac_objext
32486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32487 (eval $ac_compile) 2>conftest.er1
32489 grep -v '^ *+' conftest.er1
>conftest.err
32491 cat conftest.err
>&5
32492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32493 (exit $ac_status); } &&
32494 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32496 (eval $ac_try) 2>&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); }; } &&
32500 { ac_try
='test -s conftest.$ac_objext'
32501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502 (eval $ac_try) 2>&5
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; }; then
32506 ac_cv_type_mode_t
=yes
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.
$ac_ext >&5
32511 ac_cv_type_mode_t
=no
32513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32515 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32516 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32517 if test $ac_cv_type_mode_t = yes; then
32521 cat >>confdefs.h
<<_ACEOF
32527 echo "$as_me:$LINENO: checking for off_t" >&5
32528 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32529 if test "${ac_cv_type_off_t+set}" = set; then
32530 echo $ECHO_N "(cached) $ECHO_C" >&6
32532 cat >conftest.
$ac_ext <<_ACEOF
32535 cat confdefs.h
>>conftest.
$ac_ext
32536 cat >>conftest.
$ac_ext <<_ACEOF
32537 /* end confdefs.h. */
32538 $ac_includes_default
32544 if (sizeof (off_t))
32550 rm -f conftest.
$ac_objext
32551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32552 (eval $ac_compile) 2>conftest.er1
32554 grep -v '^ *+' conftest.er1
>conftest.err
32556 cat conftest.err
>&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); } &&
32559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; } &&
32565 { ac_try
='test -s conftest.$ac_objext'
32566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32567 (eval $ac_try) 2>&5
32569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32570 (exit $ac_status); }; }; then
32571 ac_cv_type_off_t
=yes
32573 echo "$as_me: failed program was:" >&5
32574 sed 's/^/| /' conftest.
$ac_ext >&5
32576 ac_cv_type_off_t
=no
32578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32580 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32581 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32582 if test $ac_cv_type_off_t = yes; then
32586 cat >>confdefs.h
<<_ACEOF
32592 echo "$as_me:$LINENO: checking for pid_t" >&5
32593 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32594 if test "${ac_cv_type_pid_t+set}" = set; then
32595 echo $ECHO_N "(cached) $ECHO_C" >&6
32597 cat >conftest.
$ac_ext <<_ACEOF
32600 cat confdefs.h
>>conftest.
$ac_ext
32601 cat >>conftest.
$ac_ext <<_ACEOF
32602 /* end confdefs.h. */
32603 $ac_includes_default
32609 if (sizeof (pid_t))
32615 rm -f conftest.
$ac_objext
32616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32617 (eval $ac_compile) 2>conftest.er1
32619 grep -v '^ *+' conftest.er1
>conftest.err
32621 cat conftest.err
>&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); } &&
32624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32626 (eval $ac_try) 2>&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); }; } &&
32630 { ac_try
='test -s conftest.$ac_objext'
32631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32632 (eval $ac_try) 2>&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); }; }; then
32636 ac_cv_type_pid_t
=yes
32638 echo "$as_me: failed program was:" >&5
32639 sed 's/^/| /' conftest.
$ac_ext >&5
32641 ac_cv_type_pid_t
=no
32643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32645 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32646 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32647 if test $ac_cv_type_pid_t = yes; then
32651 cat >>confdefs.h
<<_ACEOF
32657 echo "$as_me:$LINENO: checking for size_t" >&5
32658 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32659 if test "${ac_cv_type_size_t+set}" = set; then
32660 echo $ECHO_N "(cached) $ECHO_C" >&6
32662 cat >conftest.
$ac_ext <<_ACEOF
32665 cat confdefs.h
>>conftest.
$ac_ext
32666 cat >>conftest.
$ac_ext <<_ACEOF
32667 /* end confdefs.h. */
32668 $ac_includes_default
32674 if (sizeof (size_t))
32680 rm -f conftest.
$ac_objext
32681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32682 (eval $ac_compile) 2>conftest.er1
32684 grep -v '^ *+' conftest.er1
>conftest.err
32686 cat conftest.err
>&5
32687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32688 (exit $ac_status); } &&
32689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32691 (eval $ac_try) 2>&5
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); }; } &&
32695 { ac_try
='test -s conftest.$ac_objext'
32696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32697 (eval $ac_try) 2>&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); }; }; then
32701 ac_cv_type_size_t
=yes
32703 echo "$as_me: failed program was:" >&5
32704 sed 's/^/| /' conftest.
$ac_ext >&5
32706 ac_cv_type_size_t
=no
32708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32710 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32711 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32712 if test $ac_cv_type_size_t = yes; then
32716 cat >>confdefs.h
<<_ACEOF
32717 #define size_t unsigned
32722 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32723 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32724 if test "${ac_cv_type_uid_t+set}" = set; then
32725 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 cat >conftest.
$ac_ext <<_ACEOF
32730 cat confdefs.h
>>conftest.
$ac_ext
32731 cat >>conftest.
$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32733 #include <sys/types.h>
32736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32737 $EGREP "uid_t" >/dev
/null
2>&1; then
32738 ac_cv_type_uid_t
=yes
32740 ac_cv_type_uid_t
=no
32745 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32746 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32747 if test $ac_cv_type_uid_t = no
; then
32749 cat >>confdefs.h
<<\_ACEOF
32754 cat >>confdefs.h
<<\_ACEOF
32761 echo "$as_me:$LINENO: checking for ssize_t" >&5
32762 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32763 if test "${ac_cv_type_ssize_t+set}" = set; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32766 cat >conftest.
$ac_ext <<_ACEOF
32769 cat confdefs.h
>>conftest.
$ac_ext
32770 cat >>conftest.
$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772 $ac_includes_default
32778 if (sizeof (ssize_t))
32784 rm -f conftest.
$ac_objext
32785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32786 (eval $ac_compile) 2>conftest.er1
32788 grep -v '^ *+' conftest.er1
>conftest.err
32790 cat conftest.err
>&5
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); } &&
32793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32795 (eval $ac_try) 2>&5
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); }; } &&
32799 { ac_try
='test -s conftest.$ac_objext'
32800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32801 (eval $ac_try) 2>&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); }; }; then
32805 ac_cv_type_ssize_t
=yes
32807 echo "$as_me: failed program was:" >&5
32808 sed 's/^/| /' conftest.
$ac_ext >&5
32810 ac_cv_type_ssize_t
=no
32812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32814 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32815 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32816 if test $ac_cv_type_ssize_t = yes; then
32818 cat >>confdefs.h
<<_ACEOF
32819 #define HAVE_SSIZE_T 1
32826 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32827 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32828 if test "${wx_cv_size_t_is_uint+set}" = set; then
32829 echo $ECHO_N "(cached) $ECHO_C" >&6
32832 cat >conftest.
$ac_ext <<_ACEOF
32835 cat confdefs.h
>>conftest.
$ac_ext
32836 cat >>conftest.
$ac_ext <<_ACEOF
32837 /* end confdefs.h. */
32838 #include <stddef.h>
32845 struct Foo { void foo(size_t); void foo(unsigned int); };
32853 rm -f conftest.
$ac_objext
32854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32855 (eval $ac_compile) 2>conftest.er1
32857 grep -v '^ *+' conftest.er1
>conftest.err
32859 cat conftest.err
>&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); } &&
32862 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; } &&
32868 { ac_try
='test -s conftest.$ac_objext'
32869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870 (eval $ac_try) 2>&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); }; }; then
32874 wx_cv_size_t_is_uint
=no
32876 echo "$as_me: failed program was:" >&5
32877 sed 's/^/| /' conftest.
$ac_ext >&5
32879 wx_cv_size_t_is_uint
=yes
32882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32886 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32887 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32889 if test "$wx_cv_size_t_is_uint" = "yes"; then
32890 cat >>confdefs.h
<<\_ACEOF
32891 #define wxSIZE_T_IS_UINT 1
32895 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32896 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32897 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32900 cat >conftest.
$ac_ext <<_ACEOF
32903 cat confdefs.h
>>conftest.
$ac_ext
32904 cat >>conftest.
$ac_ext <<_ACEOF
32905 /* end confdefs.h. */
32906 #include <stddef.h>
32913 struct Foo { void foo(size_t); void foo(unsigned long); };
32921 rm -f conftest.
$ac_objext
32922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32923 (eval $ac_compile) 2>conftest.er1
32925 grep -v '^ *+' conftest.er1
>conftest.err
32927 cat conftest.err
>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); } &&
32930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; } &&
32936 { ac_try
='test -s conftest.$ac_objext'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; }; then
32942 wx_cv_size_t_is_ulong
=no
32944 echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.
$ac_ext >&5
32947 wx_cv_size_t_is_ulong
=yes
32950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32953 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32954 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32956 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32957 cat >>confdefs.h
<<\_ACEOF
32958 #define wxSIZE_T_IS_ULONG 1
32965 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32966 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32967 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32968 echo $ECHO_N "(cached) $ECHO_C" >&6
32971 cat >conftest.
$ac_ext <<_ACEOF
32974 cat confdefs.h
>>conftest.
$ac_ext
32975 cat >>conftest.
$ac_ext <<_ACEOF
32976 /* end confdefs.h. */
32990 rm -f conftest.
$ac_objext
32991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32992 (eval $ac_compile) 2>conftest.er1
32994 grep -v '^ *+' conftest.er1
>conftest.err
32996 cat conftest.err
>&5
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); } &&
32999 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33001 (eval $ac_try) 2>&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); }; } &&
33005 { ac_try
='test -s conftest.$ac_objext'
33006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33007 (eval $ac_try) 2>&5
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); }; }; then
33012 wx_cv_struct_pw_gecos
=yes
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.
$ac_ext >&5
33019 wx_cv_struct_pw_gecos
=no
33023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33027 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33028 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33030 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33031 cat >>confdefs.h
<<\_ACEOF
33032 #define HAVE_PW_GECOS 1
33038 if test "$wxUSE_WCHAR_T" = "yes"; then
33039 cat >>confdefs.h
<<\_ACEOF
33040 #define wxUSE_WCHAR_T 1
33047 for ac_func
in wcslen
33049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33050 echo "$as_me:$LINENO: checking for $ac_func" >&5
33051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33052 if eval "test \"\${$as_ac_var+set}\" = set"; then
33053 echo $ECHO_N "(cached) $ECHO_C" >&6
33055 cat >conftest.
$ac_ext <<_ACEOF
33058 cat confdefs.h
>>conftest.
$ac_ext
33059 cat >>conftest.
$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33063 #define $ac_func innocuous_$ac_func
33065 /* System header to define __stub macros and hopefully few prototypes,
33066 which can conflict with char $ac_func (); below.
33067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33068 <limits.h> exists even on freestanding compilers. */
33071 # include <limits.h>
33073 # include <assert.h>
33078 /* Override any gcc2 internal prototype to avoid an error. */
33083 /* We use char because int might match the return type of a gcc2
33084 builtin and then its argument prototype would still apply. */
33086 /* The GNU C library defines this for functions which it implements
33087 to always fail with ENOSYS. Some functions are actually named
33088 something starting with __ and the normal name is an alias. */
33089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33092 char (*f) () = $ac_func;
33101 return f != $ac_func;
33106 rm -f conftest.
$ac_objext conftest
$ac_exeext
33107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33108 (eval $ac_link) 2>conftest.er1
33110 grep -v '^ *+' conftest.er1
>conftest.err
33112 cat conftest.err
>&5
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); } &&
33115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33117 (eval $ac_try) 2>&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; } &&
33121 { ac_try
='test -s conftest$ac_exeext'
33122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33123 (eval $ac_try) 2>&5
33125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126 (exit $ac_status); }; }; then
33127 eval "$as_ac_var=yes"
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.
$ac_ext >&5
33132 eval "$as_ac_var=no"
33134 rm -f conftest.err conftest.
$ac_objext \
33135 conftest
$ac_exeext conftest.
$ac_ext
33137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33139 if test `eval echo '${'$as_ac_var'}'` = yes; then
33140 cat >>confdefs.h
<<_ACEOF
33141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33148 if test "$WCSLEN_FOUND" = 0; then
33149 if test "$TOOLKIT" = "MSW"; then
33150 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33151 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33152 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33153 echo $ECHO_N "(cached) $ECHO_C" >&6
33155 ac_check_lib_save_LIBS
=$LIBS
33156 LIBS
="-lmsvcrt $LIBS"
33157 cat >conftest.
$ac_ext <<_ACEOF
33160 cat confdefs.h
>>conftest.
$ac_ext
33161 cat >>conftest.
$ac_ext <<_ACEOF
33162 /* end confdefs.h. */
33164 /* Override any gcc2 internal prototype to avoid an error. */
33168 /* We use char because int might match the return type of a gcc2
33169 builtin and then its argument prototype would still apply. */
33179 rm -f conftest.
$ac_objext conftest
$ac_exeext
33180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33181 (eval $ac_link) 2>conftest.er1
33183 grep -v '^ *+' conftest.er1
>conftest.err
33185 cat conftest.err
>&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } &&
33188 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; } &&
33194 { ac_try
='test -s conftest$ac_exeext'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; }; then
33200 ac_cv_lib_msvcrt_wcslen
=yes
33202 echo "$as_me: failed program was:" >&5
33203 sed 's/^/| /' conftest.
$ac_ext >&5
33205 ac_cv_lib_msvcrt_wcslen
=no
33207 rm -f conftest.err conftest.
$ac_objext \
33208 conftest
$ac_exeext conftest.
$ac_ext
33209 LIBS
=$ac_check_lib_save_LIBS
33211 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33212 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33213 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33218 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33219 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33220 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 ac_check_lib_save_LIBS
=$LIBS
33225 cat >conftest.
$ac_ext <<_ACEOF
33228 cat confdefs.h
>>conftest.
$ac_ext
33229 cat >>conftest.
$ac_ext <<_ACEOF
33230 /* end confdefs.h. */
33232 /* Override any gcc2 internal prototype to avoid an error. */
33236 /* We use char because int might match the return type of a gcc2
33237 builtin and then its argument prototype would still apply. */
33247 rm -f conftest.
$ac_objext conftest
$ac_exeext
33248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33249 (eval $ac_link) 2>conftest.er1
33251 grep -v '^ *+' conftest.er1
>conftest.err
33253 cat conftest.err
>&5
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); } &&
33256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33258 (eval $ac_try) 2>&5
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); }; } &&
33262 { ac_try
='test -s conftest$ac_exeext'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; }; then
33268 ac_cv_lib_w_wcslen
=yes
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.
$ac_ext >&5
33273 ac_cv_lib_w_wcslen
=no
33275 rm -f conftest.err conftest.
$ac_objext \
33276 conftest
$ac_exeext conftest.
$ac_ext
33277 LIBS
=$ac_check_lib_save_LIBS
33279 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33280 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33281 if test $ac_cv_lib_w_wcslen = yes; then
33291 if test "$WCSLEN_FOUND" = 1; then
33292 cat >>confdefs.h
<<\_ACEOF
33293 #define HAVE_WCSLEN 1
33298 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33299 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33302 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33303 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33304 if test "${ac_cv_type_mbstate_t+set}" = set; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33307 cat >conftest.
$ac_ext <<_ACEOF
33310 cat confdefs.h
>>conftest.
$ac_ext
33311 cat >>conftest.
$ac_ext <<_ACEOF
33312 /* end confdefs.h. */
33318 if ((mbstate_t *) 0)
33320 if (sizeof (mbstate_t))
33326 rm -f conftest.
$ac_objext
33327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33328 (eval $ac_compile) 2>conftest.er1
33330 grep -v '^ *+' conftest.er1
>conftest.err
33332 cat conftest.err
>&5
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); } &&
33335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33337 (eval $ac_try) 2>&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); }; } &&
33341 { ac_try
='test -s conftest.$ac_objext'
33342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33343 (eval $ac_try) 2>&5
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; }; then
33347 ac_cv_type_mbstate_t
=yes
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.
$ac_ext >&5
33352 ac_cv_type_mbstate_t
=no
33354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33356 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33357 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33358 if test $ac_cv_type_mbstate_t = yes; then
33360 cat >>confdefs.h
<<_ACEOF
33361 #define HAVE_MBSTATE_T 1
33365 for ac_func
in wcsrtombs
33367 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33368 echo "$as_me:$LINENO: checking for $ac_func" >&5
33369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33370 if eval "test \"\${$as_ac_var+set}\" = set"; then
33371 echo $ECHO_N "(cached) $ECHO_C" >&6
33373 cat >conftest.
$ac_ext <<_ACEOF
33376 cat confdefs.h
>>conftest.
$ac_ext
33377 cat >>conftest.
$ac_ext <<_ACEOF
33378 /* end confdefs.h. */
33379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33381 #define $ac_func innocuous_$ac_func
33383 /* System header to define __stub macros and hopefully few prototypes,
33384 which can conflict with char $ac_func (); below.
33385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33386 <limits.h> exists even on freestanding compilers. */
33389 # include <limits.h>
33391 # include <assert.h>
33396 /* Override any gcc2 internal prototype to avoid an error. */
33401 /* We use char because int might match the return type of a gcc2
33402 builtin and then its argument prototype would still apply. */
33404 /* The GNU C library defines this for functions which it implements
33405 to always fail with ENOSYS. Some functions are actually named
33406 something starting with __ and the normal name is an alias. */
33407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33410 char (*f) () = $ac_func;
33419 return f != $ac_func;
33424 rm -f conftest.
$ac_objext conftest
$ac_exeext
33425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33426 (eval $ac_link) 2>conftest.er1
33428 grep -v '^ *+' conftest.er1
>conftest.err
33430 cat conftest.err
>&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); } &&
33433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33435 (eval $ac_try) 2>&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); }; } &&
33439 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33445 eval "$as_ac_var=yes"
33447 echo "$as_me: failed program was:" >&5
33448 sed 's/^/| /' conftest.
$ac_ext >&5
33450 eval "$as_ac_var=no"
33452 rm -f conftest.err conftest.
$ac_objext \
33453 conftest
$ac_exeext conftest.
$ac_ext
33455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33457 if test `eval echo '${'$as_ac_var'}'` = yes; then
33458 cat >>confdefs.h
<<_ACEOF
33459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33468 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33469 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33474 for ac_func
in snprintf vsnprintf
33476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33477 echo "$as_me:$LINENO: checking for $ac_func" >&5
33478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33479 if eval "test \"\${$as_ac_var+set}\" = set"; then
33480 echo $ECHO_N "(cached) $ECHO_C" >&6
33482 cat >conftest.
$ac_ext <<_ACEOF
33485 cat confdefs.h
>>conftest.
$ac_ext
33486 cat >>conftest.
$ac_ext <<_ACEOF
33487 /* end confdefs.h. */
33488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33490 #define $ac_func innocuous_$ac_func
33492 /* System header to define __stub macros and hopefully few prototypes,
33493 which can conflict with char $ac_func (); below.
33494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33495 <limits.h> exists even on freestanding compilers. */
33498 # include <limits.h>
33500 # include <assert.h>
33505 /* Override any gcc2 internal prototype to avoid an error. */
33510 /* We use char because int might match the return type of a gcc2
33511 builtin and then its argument prototype would still apply. */
33513 /* The GNU C library defines this for functions which it implements
33514 to always fail with ENOSYS. Some functions are actually named
33515 something starting with __ and the normal name is an alias. */
33516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33519 char (*f) () = $ac_func;
33528 return f != $ac_func;
33533 rm -f conftest.
$ac_objext conftest
$ac_exeext
33534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33535 (eval $ac_link) 2>conftest.er1
33537 grep -v '^ *+' conftest.er1
>conftest.err
33539 cat conftest.err
>&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } &&
33542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33544 (eval $ac_try) 2>&5
33546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33547 (exit $ac_status); }; } &&
33548 { ac_try
='test -s conftest$ac_exeext'
33549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33550 (eval $ac_try) 2>&5
33552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553 (exit $ac_status); }; }; then
33554 eval "$as_ac_var=yes"
33556 echo "$as_me: failed program was:" >&5
33557 sed 's/^/| /' conftest.
$ac_ext >&5
33559 eval "$as_ac_var=no"
33561 rm -f conftest.err conftest.
$ac_objext \
33562 conftest
$ac_exeext conftest.
$ac_ext
33564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33566 if test `eval echo '${'$as_ac_var'}'` = yes; then
33567 cat >>confdefs.h
<<_ACEOF
33568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33575 if test "$ac_cv_func_vsnprintf" = "yes"; then
33576 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33577 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33578 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 cat >conftest.
$ac_ext <<_ACEOF
33585 cat confdefs.h
>>conftest.
$ac_ext
33586 cat >>conftest.
$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33590 #include <stdarg.h>
33592 #if __MSL__ >= 0x6000
33594 using namespace std;
33604 vsnprintf(buf, 10u, "%s", ap);
33610 rm -f conftest.
$ac_objext
33611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33612 (eval $ac_compile) 2>conftest.er1
33614 grep -v '^ *+' conftest.er1
>conftest.err
33616 cat conftest.err
>&5
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); } &&
33619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33621 (eval $ac_try) 2>&5
33623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33624 (exit $ac_status); }; } &&
33625 { ac_try
='test -s conftest.$ac_objext'
33626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627 (eval $ac_try) 2>&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); }; }; then
33631 wx_cv_func_vsnprintf_decl
=yes
33633 echo "$as_me: failed program was:" >&5
33634 sed 's/^/| /' conftest.
$ac_ext >&5
33636 wx_cv_func_vsnprintf_decl
=no
33639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33643 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33644 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33646 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33647 cat >>confdefs.h
<<\_ACEOF
33648 #define HAVE_VSNPRINTF_DECL 1
33652 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33653 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33654 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33655 echo $ECHO_N "(cached) $ECHO_C" >&6
33658 cat >conftest.
$ac_ext <<_ACEOF
33661 cat confdefs.h
>>conftest.
$ac_ext
33662 cat >>conftest.
$ac_ext <<_ACEOF
33663 /* end confdefs.h. */
33666 #include <stdarg.h>
33668 #if __MSL__ >= 0x6000
33670 using namespace std;
33680 const char *fmt = "%s";
33681 vsnprintf(buf, 10u, fmt, ap);
33687 rm -f conftest.
$ac_objext
33688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33689 (eval $ac_compile) 2>conftest.er1
33691 grep -v '^ *+' conftest.er1
>conftest.err
33693 cat conftest.err
>&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); } &&
33696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33698 (eval $ac_try) 2>&5
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); }; } &&
33702 { ac_try
='test -s conftest.$ac_objext'
33703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33704 (eval $ac_try) 2>&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); }; }; then
33708 wx_cv_func_broken_vsnprintf_decl
=no
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.
$ac_ext >&5
33713 wx_cv_func_broken_vsnprintf_decl
=yes
33716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33720 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33721 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33723 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33724 cat >>confdefs.h
<<\_ACEOF
33725 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33732 if test "$ac_cv_func_snprintf" = "yes"; then
33733 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33734 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33735 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33736 echo $ECHO_N "(cached) $ECHO_C" >&6
33739 cat >conftest.
$ac_ext <<_ACEOF
33742 cat confdefs.h
>>conftest.
$ac_ext
33743 cat >>conftest.
$ac_ext <<_ACEOF
33744 /* end confdefs.h. */
33747 #include <stdarg.h>
33749 #if __MSL__ >= 0x6000
33751 using namespace std;
33760 snprintf(buf, 10u, "%s", "wx");
33766 rm -f conftest.
$ac_objext
33767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33768 (eval $ac_compile) 2>conftest.er1
33770 grep -v '^ *+' conftest.er1
>conftest.err
33772 cat conftest.err
>&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } &&
33775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33777 (eval $ac_try) 2>&5
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); }; } &&
33781 { ac_try
='test -s conftest.$ac_objext'
33782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33783 (eval $ac_try) 2>&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); }; }; then
33787 wx_cv_func_snprintf_decl
=yes
33789 echo "$as_me: failed program was:" >&5
33790 sed 's/^/| /' conftest.
$ac_ext >&5
33792 wx_cv_func_snprintf_decl
=no
33795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33799 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33800 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33802 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33803 cat >>confdefs.h
<<\_ACEOF
33804 #define HAVE_SNPRINTF_DECL 1
33808 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33809 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33810 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33811 echo $ECHO_N "(cached) $ECHO_C" >&6
33814 cat >conftest.
$ac_ext <<_ACEOF
33817 cat confdefs.h
>>conftest.
$ac_ext
33818 cat >>conftest.
$ac_ext <<_ACEOF
33819 /* end confdefs.h. */
33822 #include <stdarg.h>
33824 #if __MSL__ >= 0x6000
33826 using namespace std;
33835 const char *fmt = "%s";
33836 snprintf(buf, 10u, fmt, "wx");
33842 rm -f conftest.
$ac_objext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33844 (eval $ac_compile) 2>conftest.er1
33846 grep -v '^ *+' conftest.er1
>conftest.err
33848 cat conftest.err
>&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } &&
33851 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33853 (eval $ac_try) 2>&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); }; } &&
33857 { ac_try
='test -s conftest.$ac_objext'
33858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33859 (eval $ac_try) 2>&5
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); }; }; then
33863 wx_cv_func_broken_snprintf_decl
=no
33865 echo "$as_me: failed program was:" >&5
33866 sed 's/^/| /' conftest.
$ac_ext >&5
33868 wx_cv_func_broken_snprintf_decl
=yes
33871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33875 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33876 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33878 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33879 cat >>confdefs.h
<<\_ACEOF
33880 #define HAVE_BROKEN_SNPRINTF_DECL 1
33887 if test "$wxUSE_UNICODE" = yes; then
33894 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33897 echo "$as_me:$LINENO: checking for $ac_func" >&5
33898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33899 if eval "test \"\${$as_ac_var+set}\" = set"; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33902 cat >conftest.
$ac_ext <<_ACEOF
33905 cat confdefs.h
>>conftest.
$ac_ext
33906 cat >>conftest.
$ac_ext <<_ACEOF
33907 /* end confdefs.h. */
33908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33910 #define $ac_func innocuous_$ac_func
33912 /* System header to define __stub macros and hopefully few prototypes,
33913 which can conflict with char $ac_func (); below.
33914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33915 <limits.h> exists even on freestanding compilers. */
33918 # include <limits.h>
33920 # include <assert.h>
33925 /* Override any gcc2 internal prototype to avoid an error. */
33930 /* We use char because int might match the return type of a gcc2
33931 builtin and then its argument prototype would still apply. */
33933 /* The GNU C library defines this for functions which it implements
33934 to always fail with ENOSYS. Some functions are actually named
33935 something starting with __ and the normal name is an alias. */
33936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33939 char (*f) () = $ac_func;
33948 return f != $ac_func;
33953 rm -f conftest.
$ac_objext conftest
$ac_exeext
33954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33955 (eval $ac_link) 2>conftest.er1
33957 grep -v '^ *+' conftest.er1
>conftest.err
33959 cat conftest.err
>&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; } &&
33968 { ac_try
='test -s conftest$ac_exeext'
33969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33970 (eval $ac_try) 2>&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; }; then
33974 eval "$as_ac_var=yes"
33976 echo "$as_me: failed program was:" >&5
33977 sed 's/^/| /' conftest.
$ac_ext >&5
33979 eval "$as_ac_var=no"
33981 rm -f conftest.err conftest.
$ac_objext \
33982 conftest
$ac_exeext conftest.
$ac_ext
33984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33986 if test `eval echo '${'$as_ac_var'}'` = yes; then
33987 cat >>confdefs.h
<<_ACEOF
33988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33995 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33996 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34012 rm -f conftest.
$ac_objext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34014 (eval $ac_compile) 2>conftest.er1
34016 grep -v '^ *+' conftest.er1
>conftest.err
34018 cat conftest.err
>&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } &&
34021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try
='test -s conftest.$ac_objext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 echo "$as_me:$LINENO: result: yes" >&5
34034 echo "${ECHO_T}yes" >&6
34035 cat >>confdefs.h
<<\_ACEOF
34036 #define HAVE__VSNWPRINTF 1
34040 echo "$as_me: failed program was:" >&5
34041 sed 's/^/| /' conftest.
$ac_ext >&5
34043 echo "$as_me:$LINENO: result: no" >&5
34044 echo "${ECHO_T}no" >&6
34046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34049 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34051 for ac_func
in fnmatch
34053 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34054 echo "$as_me:$LINENO: checking for $ac_func" >&5
34055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34056 if eval "test \"\${$as_ac_var+set}\" = set"; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34059 cat >conftest.
$ac_ext <<_ACEOF
34062 cat confdefs.h
>>conftest.
$ac_ext
34063 cat >>conftest.
$ac_ext <<_ACEOF
34064 /* end confdefs.h. */
34065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34067 #define $ac_func innocuous_$ac_func
34069 /* System header to define __stub macros and hopefully few prototypes,
34070 which can conflict with char $ac_func (); below.
34071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34072 <limits.h> exists even on freestanding compilers. */
34075 # include <limits.h>
34077 # include <assert.h>
34082 /* Override any gcc2 internal prototype to avoid an error. */
34087 /* We use char because int might match the return type of a gcc2
34088 builtin and then its argument prototype would still apply. */
34090 /* The GNU C library defines this for functions which it implements
34091 to always fail with ENOSYS. Some functions are actually named
34092 something starting with __ and the normal name is an alias. */
34093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34096 char (*f) () = $ac_func;
34105 return f != $ac_func;
34110 rm -f conftest.
$ac_objext conftest
$ac_exeext
34111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34112 (eval $ac_link) 2>conftest.er1
34114 grep -v '^ *+' conftest.er1
>conftest.err
34116 cat conftest.err
>&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } &&
34119 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; } &&
34125 { ac_try
='test -s conftest$ac_exeext'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; }; then
34131 eval "$as_ac_var=yes"
34133 echo "$as_me: failed program was:" >&5
34134 sed 's/^/| /' conftest.
$ac_ext >&5
34136 eval "$as_ac_var=no"
34138 rm -f conftest.err conftest.
$ac_objext \
34139 conftest
$ac_exeext conftest.
$ac_ext
34141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34143 if test `eval echo '${'$as_ac_var'}'` = yes; then
34144 cat >>confdefs.h
<<_ACEOF
34145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34153 if test "$wxUSE_FILE" = "yes"; then
34155 for ac_func
in fsync
34157 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34158 echo "$as_me:$LINENO: checking for $ac_func" >&5
34159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34160 if eval "test \"\${$as_ac_var+set}\" = set"; then
34161 echo $ECHO_N "(cached) $ECHO_C" >&6
34163 cat >conftest.
$ac_ext <<_ACEOF
34166 cat confdefs.h
>>conftest.
$ac_ext
34167 cat >>conftest.
$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34171 #define $ac_func innocuous_$ac_func
34173 /* System header to define __stub macros and hopefully few prototypes,
34174 which can conflict with char $ac_func (); below.
34175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34176 <limits.h> exists even on freestanding compilers. */
34179 # include <limits.h>
34181 # include <assert.h>
34186 /* Override any gcc2 internal prototype to avoid an error. */
34191 /* We use char because int might match the return type of a gcc2
34192 builtin and then its argument prototype would still apply. */
34194 /* The GNU C library defines this for functions which it implements
34195 to always fail with ENOSYS. Some functions are actually named
34196 something starting with __ and the normal name is an alias. */
34197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34200 char (*f) () = $ac_func;
34209 return f != $ac_func;
34214 rm -f conftest.
$ac_objext conftest
$ac_exeext
34215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34216 (eval $ac_link) 2>conftest.er1
34218 grep -v '^ *+' conftest.er1
>conftest.err
34220 cat conftest.err
>&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } &&
34223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; } &&
34229 { ac_try
='test -s conftest$ac_exeext'
34230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34231 (eval $ac_try) 2>&5
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); }; }; then
34235 eval "$as_ac_var=yes"
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.
$ac_ext >&5
34240 eval "$as_ac_var=no"
34242 rm -f conftest.err conftest.
$ac_objext \
34243 conftest
$ac_exeext conftest.
$ac_ext
34245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34247 if test `eval echo '${'$as_ac_var'}'` = yes; then
34248 cat >>confdefs.h
<<_ACEOF
34249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34258 if test "$TOOLKIT" != "MSW"; then
34264 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34265 if test "${with_libiconv_prefix+set}" = set; then
34266 withval
="$with_libiconv_prefix"
34268 for dir
in `echo "$withval" | tr : ' '`; do
34269 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34270 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34275 echo "$as_me:$LINENO: checking for iconv" >&5
34276 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34277 if test "${am_cv_func_iconv+set}" = set; then
34278 echo $ECHO_N "(cached) $ECHO_C" >&6
34281 am_cv_func_iconv
="no, consider installing GNU libiconv"
34283 cat >conftest.
$ac_ext <<_ACEOF
34286 cat confdefs.h
>>conftest.
$ac_ext
34287 cat >>conftest.
$ac_ext <<_ACEOF
34288 /* end confdefs.h. */
34289 #include <stdlib.h>
34294 iconv_t cd = iconv_open("","");
34295 iconv(cd,NULL,NULL,NULL,NULL);
34301 rm -f conftest.
$ac_objext conftest
$ac_exeext
34302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34303 (eval $ac_link) 2>conftest.er1
34305 grep -v '^ *+' conftest.er1
>conftest.err
34307 cat conftest.err
>&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); } &&
34310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312 (eval $ac_try) 2>&5
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); }; } &&
34316 { ac_try
='test -s conftest$ac_exeext'
34317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34318 (eval $ac_try) 2>&5
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); }; }; then
34322 am_cv_func_iconv
=yes
34324 echo "$as_me: failed program was:" >&5
34325 sed 's/^/| /' conftest.
$ac_ext >&5
34328 rm -f conftest.err conftest.
$ac_objext \
34329 conftest
$ac_exeext conftest.
$ac_ext
34330 if test "$am_cv_func_iconv" != yes; then
34331 am_save_LIBS
="$LIBS"
34332 LIBS
="$LIBS -liconv"
34333 cat >conftest.
$ac_ext <<_ACEOF
34336 cat confdefs.h
>>conftest.
$ac_ext
34337 cat >>conftest.
$ac_ext <<_ACEOF
34338 /* end confdefs.h. */
34339 #include <stdlib.h>
34344 iconv_t cd = iconv_open("","");
34345 iconv(cd,NULL,NULL,NULL,NULL);
34351 rm -f conftest.
$ac_objext conftest
$ac_exeext
34352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34353 (eval $ac_link) 2>conftest.er1
34355 grep -v '^ *+' conftest.er1
>conftest.err
34357 cat conftest.err
>&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); } &&
34360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; } &&
34366 { ac_try
='test -s conftest$ac_exeext'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; }; then
34372 am_cv_lib_iconv
=yes
34373 am_cv_func_iconv
=yes
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.
$ac_ext >&5
34379 rm -f conftest.err conftest.
$ac_objext \
34380 conftest
$ac_exeext conftest.
$ac_ext
34381 LIBS
="$am_save_LIBS"
34385 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34386 echo "${ECHO_T}$am_cv_func_iconv" >&6
34387 if test "$am_cv_func_iconv" = yes; then
34389 cat >>confdefs.h
<<\_ACEOF
34390 #define HAVE_ICONV 1
34393 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34394 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34395 if test "${wx_cv_func_iconv_const+set}" = set; then
34396 echo $ECHO_N "(cached) $ECHO_C" >&6
34398 cat >conftest.
$ac_ext <<_ACEOF
34401 cat confdefs.h
>>conftest.
$ac_ext
34402 cat >>conftest.
$ac_ext <<_ACEOF
34403 /* end confdefs.h. */
34405 #include <stdlib.h>
34411 #if defined(__STDC__) || defined(__cplusplus)
34412 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34425 rm -f conftest.
$ac_objext
34426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34427 (eval $ac_compile) 2>conftest.er1
34429 grep -v '^ *+' conftest.er1
>conftest.err
34431 cat conftest.err
>&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); } &&
34434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; } &&
34440 { ac_try
='test -s conftest.$ac_objext'
34441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442 (eval $ac_try) 2>&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); }; }; then
34446 wx_cv_func_iconv_const
="no"
34448 echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.
$ac_ext >&5
34451 wx_cv_func_iconv_const
="yes"
34454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34457 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34458 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34461 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34462 iconv_const
="const"
34466 cat >>confdefs.h
<<_ACEOF
34467 #define ICONV_CONST $iconv_const
34472 if test "$am_cv_lib_iconv" = yes; then
34477 LIBS
="$LIBICONV $LIBS"
34479 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34481 for ac_func
in sigaction
34483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34484 echo "$as_me:$LINENO: checking for $ac_func" >&5
34485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34486 if eval "test \"\${$as_ac_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34497 #define $ac_func innocuous_$ac_func
34499 /* System header to define __stub macros and hopefully few prototypes,
34500 which can conflict with char $ac_func (); below.
34501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34502 <limits.h> exists even on freestanding compilers. */
34505 # include <limits.h>
34507 # include <assert.h>
34512 /* Override any gcc2 internal prototype to avoid an error. */
34517 /* We use char because int might match the return type of a gcc2
34518 builtin and then its argument prototype would still apply. */
34520 /* The GNU C library defines this for functions which it implements
34521 to always fail with ENOSYS. Some functions are actually named
34522 something starting with __ and the normal name is an alias. */
34523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34526 char (*f) () = $ac_func;
34535 return f != $ac_func;
34540 rm -f conftest.
$ac_objext conftest
$ac_exeext
34541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34542 (eval $ac_link) 2>conftest.er1
34544 grep -v '^ *+' conftest.er1
>conftest.err
34546 cat conftest.err
>&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } &&
34549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34551 (eval $ac_try) 2>&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); }; } &&
34555 { ac_try
='test -s conftest$ac_exeext'
34556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557 (eval $ac_try) 2>&5
34559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560 (exit $ac_status); }; }; then
34561 eval "$as_ac_var=yes"
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.
$ac_ext >&5
34566 eval "$as_ac_var=no"
34568 rm -f conftest.err conftest.
$ac_objext \
34569 conftest
$ac_exeext conftest.
$ac_ext
34571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34573 if test `eval echo '${'$as_ac_var'}'` = yes; then
34574 cat >>confdefs.h
<<_ACEOF
34575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34582 if test "$ac_cv_func_sigaction" = "no"; then
34583 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34584 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34585 wxUSE_ON_FATAL_EXCEPTION
=no
34588 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34589 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34590 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34591 if test "${wx_cv_type_sa_handler+set}" = set; then
34592 echo $ECHO_N "(cached) $ECHO_C" >&6
34595 cat >conftest.
$ac_ext <<_ACEOF
34598 cat confdefs.h
>>conftest.
$ac_ext
34599 cat >>conftest.
$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 #include <signal.h>
34606 extern void testSigHandler(int);
34608 struct sigaction sa;
34609 sa.sa_handler = testSigHandler;
34615 rm -f conftest.
$ac_objext
34616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34617 (eval $ac_compile) 2>conftest.er1
34619 grep -v '^ *+' conftest.er1
>conftest.err
34621 cat conftest.err
>&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } &&
34624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; } &&
34630 { ac_try
='test -s conftest.$ac_objext'
34631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34632 (eval $ac_try) 2>&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); }; }; then
34637 wx_cv_type_sa_handler
=int
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.
$ac_ext >&5
34644 wx_cv_type_sa_handler
=void
34647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34650 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34651 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34653 cat >>confdefs.h
<<_ACEOF
34654 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34660 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34661 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34662 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34663 if test "${wx_cv_func_backtrace+set}" = set; then
34664 echo $ECHO_N "(cached) $ECHO_C" >&6
34667 cat >conftest.
$ac_ext <<_ACEOF
34670 cat confdefs.h
>>conftest.
$ac_ext
34671 cat >>conftest.
$ac_ext <<_ACEOF
34672 /* end confdefs.h. */
34673 #include <execinfo.h>
34681 backtrace(trace, 1);
34682 messages = backtrace_symbols(trace, 1);
34688 rm -f conftest.
$ac_objext
34689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34690 (eval $ac_compile) 2>conftest.er1
34692 grep -v '^ *+' conftest.er1
>conftest.err
34694 cat conftest.err
>&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); } &&
34697 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34699 (eval $ac_try) 2>&5
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); }; } &&
34703 { ac_try
='test -s conftest.$ac_objext'
34704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34705 (eval $ac_try) 2>&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); }; }; then
34709 wx_cv_func_backtrace
=yes
34711 echo "$as_me: failed program was:" >&5
34712 sed 's/^/| /' conftest.
$ac_ext >&5
34714 wx_cv_func_backtrace
=no
34717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34721 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34722 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34725 if test "$wx_cv_func_backtrace" = "no"; then
34726 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34727 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34728 wxUSE_STACKWALKER
=no
34730 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34731 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34732 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34733 echo $ECHO_N "(cached) $ECHO_C" >&6
34736 cat >conftest.
$ac_ext <<_ACEOF
34739 cat confdefs.h
>>conftest.
$ac_ext
34740 cat >>conftest.
$ac_ext <<_ACEOF
34741 /* end confdefs.h. */
34742 #include <cxxabi.h>
34748 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34754 rm -f conftest.
$ac_objext conftest
$ac_exeext
34755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34756 (eval $ac_link) 2>conftest.er1
34758 grep -v '^ *+' conftest.er1
>conftest.err
34760 cat conftest.err
>&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } &&
34763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
34769 { ac_try
='test -s conftest$ac_exeext'
34770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34771 (eval $ac_try) 2>&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); }; }; then
34775 wx_cv_func_cxa_demangle
=yes
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.
$ac_ext >&5
34780 wx_cv_func_cxa_demangle
=no
34783 rm -f conftest.err conftest.
$ac_objext \
34784 conftest
$ac_exeext conftest.
$ac_ext
34788 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34789 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34791 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34792 cat >>confdefs.h
<<\_ACEOF
34793 #define HAVE_CXA_DEMANGLE 1
34800 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34801 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34802 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34803 wxUSE_STACKWALKER
=no
34809 for ac_func
in mkstemp mktemp
34811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34812 echo "$as_me:$LINENO: checking for $ac_func" >&5
34813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34814 if eval "test \"\${$as_ac_var+set}\" = set"; then
34815 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 cat >conftest.
$ac_ext <<_ACEOF
34820 cat confdefs.h
>>conftest.
$ac_ext
34821 cat >>conftest.
$ac_ext <<_ACEOF
34822 /* end confdefs.h. */
34823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34825 #define $ac_func innocuous_$ac_func
34827 /* System header to define __stub macros and hopefully few prototypes,
34828 which can conflict with char $ac_func (); below.
34829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34830 <limits.h> exists even on freestanding compilers. */
34833 # include <limits.h>
34835 # include <assert.h>
34840 /* Override any gcc2 internal prototype to avoid an error. */
34845 /* We use char because int might match the return type of a gcc2
34846 builtin and then its argument prototype would still apply. */
34848 /* The GNU C library defines this for functions which it implements
34849 to always fail with ENOSYS. Some functions are actually named
34850 something starting with __ and the normal name is an alias. */
34851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34854 char (*f) () = $ac_func;
34863 return f != $ac_func;
34868 rm -f conftest.
$ac_objext conftest
$ac_exeext
34869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34870 (eval $ac_link) 2>conftest.er1
34872 grep -v '^ *+' conftest.er1
>conftest.err
34874 cat conftest.err
>&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } &&
34877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; } &&
34883 { ac_try
='test -s conftest$ac_exeext'
34884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34885 (eval $ac_try) 2>&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); }; }; then
34889 eval "$as_ac_var=yes"
34891 echo "$as_me: failed program was:" >&5
34892 sed 's/^/| /' conftest.
$ac_ext >&5
34894 eval "$as_ac_var=no"
34896 rm -f conftest.err conftest.
$ac_objext \
34897 conftest
$ac_exeext conftest.
$ac_ext
34899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34901 if test `eval echo '${'$as_ac_var'}'` = yes; then
34902 cat >>confdefs.h
<<_ACEOF
34903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34910 echo "$as_me:$LINENO: checking for statfs" >&5
34911 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34912 if test "${wx_cv_func_statfs+set}" = set; then
34913 echo $ECHO_N "(cached) $ECHO_C" >&6
34915 cat >conftest.
$ac_ext <<_ACEOF
34918 cat confdefs.h
>>conftest.
$ac_ext
34919 cat >>conftest.
$ac_ext <<_ACEOF
34920 /* end confdefs.h. */
34922 #if defined(__BSD__)
34923 #include <sys/param.h>
34924 #include <sys/mount.h>
34926 #include <sys/vfs.h>
34944 rm -f conftest.
$ac_objext
34945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34946 (eval $ac_compile) 2>conftest.er1
34948 grep -v '^ *+' conftest.er1
>conftest.err
34950 cat conftest.err
>&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); } &&
34953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34955 (eval $ac_try) 2>&5
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); }; } &&
34959 { ac_try
='test -s conftest.$ac_objext'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; }; then
34965 wx_cv_func_statfs
=yes
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.
$ac_ext >&5
34970 wx_cv_func_statfs
=no
34973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34976 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34977 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34979 if test "$wx_cv_func_statfs" = "yes"; then
34980 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34981 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34982 if test "${wx_cv_func_statfs_decl+set}" = set; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 cat >conftest.
$ac_ext <<_ACEOF
34988 cat confdefs.h
>>conftest.
$ac_ext
34989 cat >>conftest.
$ac_ext <<_ACEOF
34990 /* end confdefs.h. */
34992 #if defined(__BSD__)
34993 #include <sys/param.h>
34994 #include <sys/mount.h>
34996 #include <sys/vfs.h>
35010 rm -f conftest.
$ac_objext
35011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35012 (eval $ac_compile) 2>conftest.er1
35014 grep -v '^ *+' conftest.er1
>conftest.err
35016 cat conftest.err
>&5
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); } &&
35019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35021 (eval $ac_try) 2>&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); }; } &&
35025 { ac_try
='test -s conftest.$ac_objext'
35026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35027 (eval $ac_try) 2>&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); }; }; then
35031 wx_cv_func_statfs_decl
=yes
35033 echo "$as_me: failed program was:" >&5
35034 sed 's/^/| /' conftest.
$ac_ext >&5
35036 wx_cv_func_statfs_decl
=no
35039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35042 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35043 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35045 if test "$wx_cv_func_statfs_decl" = "yes"; then
35046 cat >>confdefs.h
<<\_ACEOF
35047 #define HAVE_STATFS_DECL 1
35052 wx_cv_type_statvfs_t
="struct statfs"
35053 cat >>confdefs.h
<<\_ACEOF
35054 #define HAVE_STATFS 1
35058 echo "$as_me:$LINENO: checking for statvfs" >&5
35059 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35060 if test "${wx_cv_func_statvfs+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35063 cat >conftest.
$ac_ext <<_ACEOF
35066 cat confdefs.h
>>conftest.
$ac_ext
35067 cat >>conftest.
$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35070 #include <stddef.h>
35071 #include <sys/statvfs.h>
35077 statvfs("/", NULL);
35083 rm -f conftest.
$ac_objext
35084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35085 (eval $ac_compile) 2>conftest.er1
35087 grep -v '^ *+' conftest.er1
>conftest.err
35089 cat conftest.err
>&5
35090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35091 (exit $ac_status); } &&
35092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094 (eval $ac_try) 2>&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); }; } &&
35098 { ac_try
='test -s conftest.$ac_objext'
35099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35100 (eval $ac_try) 2>&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); }; }; then
35104 wx_cv_func_statvfs
=yes
35106 echo "$as_me: failed program was:" >&5
35107 sed 's/^/| /' conftest.
$ac_ext >&5
35109 wx_cv_func_statvfs
=no
35112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35115 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35116 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35118 if test "$wx_cv_func_statvfs" = "yes"; then
35119 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35120 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35121 if test "${wx_cv_type_statvfs_t+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35124 cat >conftest.
$ac_ext <<_ACEOF
35127 cat confdefs.h
>>conftest.
$ac_ext
35128 cat >>conftest.
$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35131 #include <sys/statvfs.h>
35148 rm -f conftest.
$ac_objext
35149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35150 (eval $ac_compile) 2>conftest.er1
35152 grep -v '^ *+' conftest.er1
>conftest.err
35154 cat conftest.err
>&5
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); } &&
35157 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35159 (eval $ac_try) 2>&5
35161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162 (exit $ac_status); }; } &&
35163 { ac_try
='test -s conftest.$ac_objext'
35164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35165 (eval $ac_try) 2>&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); }; }; then
35169 wx_cv_type_statvfs_t
=statvfs_t
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.
$ac_ext >&5
35175 cat >conftest.
$ac_ext <<_ACEOF
35178 cat confdefs.h
>>conftest.
$ac_ext
35179 cat >>conftest.
$ac_ext <<_ACEOF
35180 /* end confdefs.h. */
35182 #include <sys/statvfs.h>
35199 rm -f conftest.
$ac_objext
35200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35201 (eval $ac_compile) 2>conftest.er1
35203 grep -v '^ *+' conftest.er1
>conftest.err
35205 cat conftest.err
>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); } &&
35208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35210 (eval $ac_try) 2>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; } &&
35214 { ac_try
='test -s conftest.$ac_objext'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; }; then
35220 wx_cv_type_statvfs_t
="struct statvfs"
35222 echo "$as_me: failed program was:" >&5
35223 sed 's/^/| /' conftest.
$ac_ext >&5
35225 wx_cv_type_statvfs_t
="unknown"
35228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35235 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35236 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35238 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35239 cat >>confdefs.h
<<\_ACEOF
35240 #define HAVE_STATVFS 1
35245 wx_cv_type_statvfs_t
="unknown"
35249 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35250 cat >>confdefs.h
<<_ACEOF
35251 #define WX_STATFS_T $wx_cv_type_statvfs_t
35255 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35256 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35259 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35262 for ac_func
in fcntl flock
35264 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35265 echo "$as_me:$LINENO: checking for $ac_func" >&5
35266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35267 if eval "test \"\${$as_ac_var+set}\" = set"; then
35268 echo $ECHO_N "(cached) $ECHO_C" >&6
35270 cat >conftest.
$ac_ext <<_ACEOF
35273 cat confdefs.h
>>conftest.
$ac_ext
35274 cat >>conftest.
$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35278 #define $ac_func innocuous_$ac_func
35280 /* System header to define __stub macros and hopefully few prototypes,
35281 which can conflict with char $ac_func (); below.
35282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35283 <limits.h> exists even on freestanding compilers. */
35286 # include <limits.h>
35288 # include <assert.h>
35293 /* Override any gcc2 internal prototype to avoid an error. */
35298 /* We use char because int might match the return type of a gcc2
35299 builtin and then its argument prototype would still apply. */
35301 /* The GNU C library defines this for functions which it implements
35302 to always fail with ENOSYS. Some functions are actually named
35303 something starting with __ and the normal name is an alias. */
35304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35307 char (*f) () = $ac_func;
35316 return f != $ac_func;
35321 rm -f conftest.
$ac_objext conftest
$ac_exeext
35322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35323 (eval $ac_link) 2>conftest.er1
35325 grep -v '^ *+' conftest.er1
>conftest.err
35327 cat conftest.err
>&5
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); } &&
35330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35332 (eval $ac_try) 2>&5
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); }; } &&
35336 { ac_try
='test -s conftest$ac_exeext'
35337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35338 (eval $ac_try) 2>&5
35340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35341 (exit $ac_status); }; }; then
35342 eval "$as_ac_var=yes"
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.
$ac_ext >&5
35347 eval "$as_ac_var=no"
35349 rm -f conftest.err conftest.
$ac_objext \
35350 conftest
$ac_exeext conftest.
$ac_ext
35352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35354 if test `eval echo '${'$as_ac_var'}'` = yes; then
35355 cat >>confdefs.h
<<_ACEOF
35356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35363 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35364 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35365 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35366 wxUSE_SNGLINST_CHECKER
=no
35371 for ac_func
in timegm
35373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35374 echo "$as_me:$LINENO: checking for $ac_func" >&5
35375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35376 if eval "test \"\${$as_ac_var+set}\" = set"; then
35377 echo $ECHO_N "(cached) $ECHO_C" >&6
35379 cat >conftest.
$ac_ext <<_ACEOF
35382 cat confdefs.h
>>conftest.
$ac_ext
35383 cat >>conftest.
$ac_ext <<_ACEOF
35384 /* end confdefs.h. */
35385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35387 #define $ac_func innocuous_$ac_func
35389 /* System header to define __stub macros and hopefully few prototypes,
35390 which can conflict with char $ac_func (); below.
35391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35392 <limits.h> exists even on freestanding compilers. */
35395 # include <limits.h>
35397 # include <assert.h>
35402 /* Override any gcc2 internal prototype to avoid an error. */
35407 /* We use char because int might match the return type of a gcc2
35408 builtin and then its argument prototype would still apply. */
35410 /* The GNU C library defines this for functions which it implements
35411 to always fail with ENOSYS. Some functions are actually named
35412 something starting with __ and the normal name is an alias. */
35413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35416 char (*f) () = $ac_func;
35425 return f != $ac_func;
35430 rm -f conftest.
$ac_objext conftest
$ac_exeext
35431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35432 (eval $ac_link) 2>conftest.er1
35434 grep -v '^ *+' conftest.er1
>conftest.err
35436 cat conftest.err
>&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); } &&
35439 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; } &&
35445 { ac_try
='test -s conftest$ac_exeext'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; }; then
35451 eval "$as_ac_var=yes"
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.
$ac_ext >&5
35456 eval "$as_ac_var=no"
35458 rm -f conftest.err conftest.
$ac_objext \
35459 conftest
$ac_exeext conftest.
$ac_ext
35461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35463 if test `eval echo '${'$as_ac_var'}'` = yes; then
35464 cat >>confdefs.h
<<_ACEOF
35465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35474 for ac_func
in putenv setenv
35476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35477 echo "$as_me:$LINENO: checking for $ac_func" >&5
35478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35479 if eval "test \"\${$as_ac_var+set}\" = set"; then
35480 echo $ECHO_N "(cached) $ECHO_C" >&6
35482 cat >conftest.
$ac_ext <<_ACEOF
35485 cat confdefs.h
>>conftest.
$ac_ext
35486 cat >>conftest.
$ac_ext <<_ACEOF
35487 /* end confdefs.h. */
35488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35490 #define $ac_func innocuous_$ac_func
35492 /* System header to define __stub macros and hopefully few prototypes,
35493 which can conflict with char $ac_func (); below.
35494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35495 <limits.h> exists even on freestanding compilers. */
35498 # include <limits.h>
35500 # include <assert.h>
35505 /* Override any gcc2 internal prototype to avoid an error. */
35510 /* We use char because int might match the return type of a gcc2
35511 builtin and then its argument prototype would still apply. */
35513 /* The GNU C library defines this for functions which it implements
35514 to always fail with ENOSYS. Some functions are actually named
35515 something starting with __ and the normal name is an alias. */
35516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35519 char (*f) () = $ac_func;
35528 return f != $ac_func;
35533 rm -f conftest.
$ac_objext conftest
$ac_exeext
35534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35535 (eval $ac_link) 2>conftest.er1
35537 grep -v '^ *+' conftest.er1
>conftest.err
35539 cat conftest.err
>&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); } &&
35542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35544 (eval $ac_try) 2>&5
35546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547 (exit $ac_status); }; } &&
35548 { ac_try
='test -s conftest$ac_exeext'
35549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35550 (eval $ac_try) 2>&5
35552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553 (exit $ac_status); }; }; then
35554 eval "$as_ac_var=yes"
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.
$ac_ext >&5
35559 eval "$as_ac_var=no"
35561 rm -f conftest.err conftest.
$ac_objext \
35562 conftest
$ac_exeext conftest.
$ac_ext
35564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35566 if test `eval echo '${'$as_ac_var'}'` = yes; then
35567 cat >>confdefs.h
<<_ACEOF
35568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35575 HAVE_SOME_SLEEP_FUNC
=0
35576 if test "$USE_BEOS" = 1; then
35577 cat >>confdefs.h
<<\_ACEOF
35578 #define HAVE_SLEEP 1
35581 HAVE_SOME_SLEEP_FUNC
=1
35584 if test "$USE_DARWIN" = 1; then
35585 cat >>confdefs.h
<<\_ACEOF
35586 #define HAVE_USLEEP 1
35589 HAVE_SOME_SLEEP_FUNC
=1
35592 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35595 for ac_func
in nanosleep
35597 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35598 echo "$as_me:$LINENO: checking for $ac_func" >&5
35599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35600 if eval "test \"\${$as_ac_var+set}\" = set"; then
35601 echo $ECHO_N "(cached) $ECHO_C" >&6
35603 cat >conftest.
$ac_ext <<_ACEOF
35606 cat confdefs.h
>>conftest.
$ac_ext
35607 cat >>conftest.
$ac_ext <<_ACEOF
35608 /* end confdefs.h. */
35609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35611 #define $ac_func innocuous_$ac_func
35613 /* System header to define __stub macros and hopefully few prototypes,
35614 which can conflict with char $ac_func (); below.
35615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35616 <limits.h> exists even on freestanding compilers. */
35619 # include <limits.h>
35621 # include <assert.h>
35626 /* Override any gcc2 internal prototype to avoid an error. */
35631 /* We use char because int might match the return type of a gcc2
35632 builtin and then its argument prototype would still apply. */
35634 /* The GNU C library defines this for functions which it implements
35635 to always fail with ENOSYS. Some functions are actually named
35636 something starting with __ and the normal name is an alias. */
35637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35640 char (*f) () = $ac_func;
35649 return f != $ac_func;
35654 rm -f conftest.
$ac_objext conftest
$ac_exeext
35655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35656 (eval $ac_link) 2>conftest.er1
35658 grep -v '^ *+' conftest.er1
>conftest.err
35660 cat conftest.err
>&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } &&
35663 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35665 (eval $ac_try) 2>&5
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); }; } &&
35669 { ac_try
='test -s conftest$ac_exeext'
35670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35671 (eval $ac_try) 2>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 eval "$as_ac_var=yes"
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.
$ac_ext >&5
35680 eval "$as_ac_var=no"
35682 rm -f conftest.err conftest.
$ac_objext \
35683 conftest
$ac_exeext conftest.
$ac_ext
35685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35687 if test `eval echo '${'$as_ac_var'}'` = yes; then
35688 cat >>confdefs.h
<<_ACEOF
35689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35691 cat >>confdefs.h
<<\_ACEOF
35692 #define HAVE_NANOSLEEP 1
35697 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35698 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35699 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35700 echo $ECHO_N "(cached) $ECHO_C" >&6
35702 ac_check_lib_save_LIBS
=$LIBS
35703 LIBS
="-lposix4 $LIBS"
35704 cat >conftest.
$ac_ext <<_ACEOF
35707 cat confdefs.h
>>conftest.
$ac_ext
35708 cat >>conftest.
$ac_ext <<_ACEOF
35709 /* end confdefs.h. */
35711 /* Override any gcc2 internal prototype to avoid an error. */
35715 /* We use char because int might match the return type of a gcc2
35716 builtin and then its argument prototype would still apply. */
35726 rm -f conftest.
$ac_objext conftest
$ac_exeext
35727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35728 (eval $ac_link) 2>conftest.er1
35730 grep -v '^ *+' conftest.er1
>conftest.err
35732 cat conftest.err
>&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); } &&
35735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try
='test -s conftest$ac_exeext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 ac_cv_lib_posix4_nanosleep
=yes
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.
$ac_ext >&5
35752 ac_cv_lib_posix4_nanosleep
=no
35754 rm -f conftest.err conftest.
$ac_objext \
35755 conftest
$ac_exeext conftest.
$ac_ext
35756 LIBS
=$ac_check_lib_save_LIBS
35758 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35759 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35760 if test $ac_cv_lib_posix4_nanosleep = yes; then
35762 cat >>confdefs.h
<<\_ACEOF
35763 #define HAVE_NANOSLEEP 1
35766 POSIX4_LINK
=" -lposix4"
35771 for ac_func
in usleep
35773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35774 echo "$as_me:$LINENO: checking for $ac_func" >&5
35775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35776 if eval "test \"\${$as_ac_var+set}\" = set"; then
35777 echo $ECHO_N "(cached) $ECHO_C" >&6
35779 cat >conftest.
$ac_ext <<_ACEOF
35782 cat confdefs.h
>>conftest.
$ac_ext
35783 cat >>conftest.
$ac_ext <<_ACEOF
35784 /* end confdefs.h. */
35785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35787 #define $ac_func innocuous_$ac_func
35789 /* System header to define __stub macros and hopefully few prototypes,
35790 which can conflict with char $ac_func (); below.
35791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35792 <limits.h> exists even on freestanding compilers. */
35795 # include <limits.h>
35797 # include <assert.h>
35802 /* Override any gcc2 internal prototype to avoid an error. */
35807 /* We use char because int might match the return type of a gcc2
35808 builtin and then its argument prototype would still apply. */
35810 /* The GNU C library defines this for functions which it implements
35811 to always fail with ENOSYS. Some functions are actually named
35812 something starting with __ and the normal name is an alias. */
35813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35816 char (*f) () = $ac_func;
35825 return f != $ac_func;
35830 rm -f conftest.
$ac_objext conftest
$ac_exeext
35831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35832 (eval $ac_link) 2>conftest.er1
35834 grep -v '^ *+' conftest.er1
>conftest.err
35836 cat conftest.err
>&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } &&
35839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35841 (eval $ac_try) 2>&5
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); }; } &&
35845 { ac_try
='test -s conftest$ac_exeext'
35846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35847 (eval $ac_try) 2>&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); }; }; then
35851 eval "$as_ac_var=yes"
35853 echo "$as_me: failed program was:" >&5
35854 sed 's/^/| /' conftest.
$ac_ext >&5
35856 eval "$as_ac_var=no"
35858 rm -f conftest.err conftest.
$ac_objext \
35859 conftest
$ac_exeext conftest.
$ac_ext
35861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35863 if test `eval echo '${'$as_ac_var'}'` = yes; then
35864 cat >>confdefs.h
<<_ACEOF
35865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35867 cat >>confdefs.h
<<\_ACEOF
35868 #define HAVE_USLEEP 1
35872 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35873 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35891 for ac_func
in uname gethostname
35893 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35894 echo "$as_me:$LINENO: checking for $ac_func" >&5
35895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35896 if eval "test \"\${$as_ac_var+set}\" = set"; then
35897 echo $ECHO_N "(cached) $ECHO_C" >&6
35899 cat >conftest.
$ac_ext <<_ACEOF
35902 cat confdefs.h
>>conftest.
$ac_ext
35903 cat >>conftest.
$ac_ext <<_ACEOF
35904 /* end confdefs.h. */
35905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35907 #define $ac_func innocuous_$ac_func
35909 /* System header to define __stub macros and hopefully few prototypes,
35910 which can conflict with char $ac_func (); below.
35911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35912 <limits.h> exists even on freestanding compilers. */
35915 # include <limits.h>
35917 # include <assert.h>
35922 /* Override any gcc2 internal prototype to avoid an error. */
35927 /* We use char because int might match the return type of a gcc2
35928 builtin and then its argument prototype would still apply. */
35930 /* The GNU C library defines this for functions which it implements
35931 to always fail with ENOSYS. Some functions are actually named
35932 something starting with __ and the normal name is an alias. */
35933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35936 char (*f) () = $ac_func;
35945 return f != $ac_func;
35950 rm -f conftest.
$ac_objext conftest
$ac_exeext
35951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35952 (eval $ac_link) 2>conftest.er1
35954 grep -v '^ *+' conftest.er1
>conftest.err
35956 cat conftest.err
>&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } &&
35959 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35961 (eval $ac_try) 2>&5
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); }; } &&
35965 { ac_try
='test -s conftest$ac_exeext'
35966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35967 (eval $ac_try) 2>&5
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); }; }; then
35971 eval "$as_ac_var=yes"
35973 echo "$as_me: failed program was:" >&5
35974 sed 's/^/| /' conftest.
$ac_ext >&5
35976 eval "$as_ac_var=no"
35978 rm -f conftest.err conftest.
$ac_objext \
35979 conftest
$ac_exeext conftest.
$ac_ext
35981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35983 if test `eval echo '${'$as_ac_var'}'` = yes; then
35984 cat >>confdefs.h
<<_ACEOF
35985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35993 for ac_func
in strtok_r
35995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35996 echo "$as_me:$LINENO: checking for $ac_func" >&5
35997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35998 if eval "test \"\${$as_ac_var+set}\" = set"; then
35999 echo $ECHO_N "(cached) $ECHO_C" >&6
36001 cat >conftest.
$ac_ext <<_ACEOF
36004 cat confdefs.h
>>conftest.
$ac_ext
36005 cat >>conftest.
$ac_ext <<_ACEOF
36006 /* end confdefs.h. */
36007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36009 #define $ac_func innocuous_$ac_func
36011 /* System header to define __stub macros and hopefully few prototypes,
36012 which can conflict with char $ac_func (); below.
36013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36014 <limits.h> exists even on freestanding compilers. */
36017 # include <limits.h>
36019 # include <assert.h>
36024 /* Override any gcc2 internal prototype to avoid an error. */
36029 /* We use char because int might match the return type of a gcc2
36030 builtin and then its argument prototype would still apply. */
36032 /* The GNU C library defines this for functions which it implements
36033 to always fail with ENOSYS. Some functions are actually named
36034 something starting with __ and the normal name is an alias. */
36035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36038 char (*f) () = $ac_func;
36047 return f != $ac_func;
36052 rm -f conftest.
$ac_objext conftest
$ac_exeext
36053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36054 (eval $ac_link) 2>conftest.er1
36056 grep -v '^ *+' conftest.er1
>conftest.err
36058 cat conftest.err
>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; } &&
36067 { ac_try
='test -s conftest$ac_exeext'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; }; then
36073 eval "$as_ac_var=yes"
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.
$ac_ext >&5
36078 eval "$as_ac_var=no"
36080 rm -f conftest.err conftest.
$ac_objext \
36081 conftest
$ac_exeext conftest.
$ac_ext
36083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36085 if test `eval echo '${'$as_ac_var'}'` = yes; then
36086 cat >>confdefs.h
<<_ACEOF
36087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36096 for ac_func
in inet_addr
36098 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36099 echo "$as_me:$LINENO: checking for $ac_func" >&5
36100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36101 if eval "test \"\${$as_ac_var+set}\" = set"; then
36102 echo $ECHO_N "(cached) $ECHO_C" >&6
36104 cat >conftest.
$ac_ext <<_ACEOF
36107 cat confdefs.h
>>conftest.
$ac_ext
36108 cat >>conftest.
$ac_ext <<_ACEOF
36109 /* end confdefs.h. */
36110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36112 #define $ac_func innocuous_$ac_func
36114 /* System header to define __stub macros and hopefully few prototypes,
36115 which can conflict with char $ac_func (); below.
36116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36117 <limits.h> exists even on freestanding compilers. */
36120 # include <limits.h>
36122 # include <assert.h>
36127 /* Override any gcc2 internal prototype to avoid an error. */
36132 /* We use char because int might match the return type of a gcc2
36133 builtin and then its argument prototype would still apply. */
36135 /* The GNU C library defines this for functions which it implements
36136 to always fail with ENOSYS. Some functions are actually named
36137 something starting with __ and the normal name is an alias. */
36138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36141 char (*f) () = $ac_func;
36150 return f != $ac_func;
36155 rm -f conftest.
$ac_objext conftest
$ac_exeext
36156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36157 (eval $ac_link) 2>conftest.er1
36159 grep -v '^ *+' conftest.er1
>conftest.err
36161 cat conftest.err
>&5
36162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36163 (exit $ac_status); } &&
36164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try
='test -s conftest$ac_exeext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36176 eval "$as_ac_var=yes"
36178 echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.
$ac_ext >&5
36181 eval "$as_ac_var=no"
36183 rm -f conftest.err conftest.
$ac_objext \
36184 conftest
$ac_exeext conftest.
$ac_ext
36186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36188 if test `eval echo '${'$as_ac_var'}'` = yes; then
36189 cat >>confdefs.h
<<_ACEOF
36190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36192 cat >>confdefs.h
<<\_ACEOF
36193 #define HAVE_INET_ADDR 1
36198 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36199 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36200 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36201 echo $ECHO_N "(cached) $ECHO_C" >&6
36203 ac_check_lib_save_LIBS
=$LIBS
36205 cat >conftest.
$ac_ext <<_ACEOF
36208 cat confdefs.h
>>conftest.
$ac_ext
36209 cat >>conftest.
$ac_ext <<_ACEOF
36210 /* end confdefs.h. */
36212 /* Override any gcc2 internal prototype to avoid an error. */
36216 /* We use char because int might match the return type of a gcc2
36217 builtin and then its argument prototype would still apply. */
36227 rm -f conftest.
$ac_objext conftest
$ac_exeext
36228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36229 (eval $ac_link) 2>conftest.er1
36231 grep -v '^ *+' conftest.er1
>conftest.err
36233 cat conftest.err
>&5
36234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235 (exit $ac_status); } &&
36236 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36238 (eval $ac_try) 2>&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); }; } &&
36242 { ac_try
='test -s conftest$ac_exeext'
36243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36244 (eval $ac_try) 2>&5
36246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36247 (exit $ac_status); }; }; then
36248 ac_cv_lib_nsl_inet_addr
=yes
36250 echo "$as_me: failed program was:" >&5
36251 sed 's/^/| /' conftest.
$ac_ext >&5
36253 ac_cv_lib_nsl_inet_addr
=no
36255 rm -f conftest.err conftest.
$ac_objext \
36256 conftest
$ac_exeext conftest.
$ac_ext
36257 LIBS
=$ac_check_lib_save_LIBS
36259 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36260 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36261 if test $ac_cv_lib_nsl_inet_addr = yes; then
36265 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36266 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36267 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36270 ac_check_lib_save_LIBS
=$LIBS
36271 LIBS
="-lresolv $LIBS"
36272 cat >conftest.
$ac_ext <<_ACEOF
36275 cat confdefs.h
>>conftest.
$ac_ext
36276 cat >>conftest.
$ac_ext <<_ACEOF
36277 /* end confdefs.h. */
36279 /* Override any gcc2 internal prototype to avoid an error. */
36283 /* We use char because int might match the return type of a gcc2
36284 builtin and then its argument prototype would still apply. */
36294 rm -f conftest.
$ac_objext conftest
$ac_exeext
36295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36296 (eval $ac_link) 2>conftest.er1
36298 grep -v '^ *+' conftest.er1
>conftest.err
36300 cat conftest.err
>&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); } &&
36303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36305 (eval $ac_try) 2>&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); }; } &&
36309 { ac_try
='test -s conftest$ac_exeext'
36310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36311 (eval $ac_try) 2>&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); }; }; then
36315 ac_cv_lib_resolv_inet_addr
=yes
36317 echo "$as_me: failed program was:" >&5
36318 sed 's/^/| /' conftest.
$ac_ext >&5
36320 ac_cv_lib_resolv_inet_addr
=no
36322 rm -f conftest.err conftest.
$ac_objext \
36323 conftest
$ac_exeext conftest.
$ac_ext
36324 LIBS
=$ac_check_lib_save_LIBS
36326 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36327 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36328 if test $ac_cv_lib_resolv_inet_addr = yes; then
36332 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36333 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36334 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36335 echo $ECHO_N "(cached) $ECHO_C" >&6
36337 ac_check_lib_save_LIBS
=$LIBS
36338 LIBS
="-lsocket $LIBS"
36339 cat >conftest.
$ac_ext <<_ACEOF
36342 cat confdefs.h
>>conftest.
$ac_ext
36343 cat >>conftest.
$ac_ext <<_ACEOF
36344 /* end confdefs.h. */
36346 /* Override any gcc2 internal prototype to avoid an error. */
36350 /* We use char because int might match the return type of a gcc2
36351 builtin and then its argument prototype would still apply. */
36361 rm -f conftest.
$ac_objext conftest
$ac_exeext
36362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36363 (eval $ac_link) 2>conftest.er1
36365 grep -v '^ *+' conftest.er1
>conftest.err
36367 cat conftest.err
>&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } &&
36370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36372 (eval $ac_try) 2>&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); }; } &&
36376 { ac_try
='test -s conftest$ac_exeext'
36377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36378 (eval $ac_try) 2>&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); }; }; then
36382 ac_cv_lib_socket_inet_addr
=yes
36384 echo "$as_me: failed program was:" >&5
36385 sed 's/^/| /' conftest.
$ac_ext >&5
36387 ac_cv_lib_socket_inet_addr
=no
36389 rm -f conftest.err conftest.
$ac_objext \
36390 conftest
$ac_exeext conftest.
$ac_ext
36391 LIBS
=$ac_check_lib_save_LIBS
36393 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36394 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36395 if test $ac_cv_lib_socket_inet_addr = yes; then
36415 for ac_func
in inet_aton
36417 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36418 echo "$as_me:$LINENO: checking for $ac_func" >&5
36419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36420 if eval "test \"\${$as_ac_var+set}\" = set"; then
36421 echo $ECHO_N "(cached) $ECHO_C" >&6
36423 cat >conftest.
$ac_ext <<_ACEOF
36426 cat confdefs.h
>>conftest.
$ac_ext
36427 cat >>conftest.
$ac_ext <<_ACEOF
36428 /* end confdefs.h. */
36429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36431 #define $ac_func innocuous_$ac_func
36433 /* System header to define __stub macros and hopefully few prototypes,
36434 which can conflict with char $ac_func (); below.
36435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36436 <limits.h> exists even on freestanding compilers. */
36439 # include <limits.h>
36441 # include <assert.h>
36446 /* Override any gcc2 internal prototype to avoid an error. */
36451 /* We use char because int might match the return type of a gcc2
36452 builtin and then its argument prototype would still apply. */
36454 /* The GNU C library defines this for functions which it implements
36455 to always fail with ENOSYS. Some functions are actually named
36456 something starting with __ and the normal name is an alias. */
36457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36460 char (*f) () = $ac_func;
36469 return f != $ac_func;
36474 rm -f conftest.
$ac_objext conftest
$ac_exeext
36475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36476 (eval $ac_link) 2>conftest.er1
36478 grep -v '^ *+' conftest.er1
>conftest.err
36480 cat conftest.err
>&5
36481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482 (exit $ac_status); } &&
36483 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; } &&
36489 { ac_try
='test -s conftest$ac_exeext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 eval "$as_ac_var=yes"
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.
$ac_ext >&5
36500 eval "$as_ac_var=no"
36502 rm -f conftest.err conftest.
$ac_objext \
36503 conftest
$ac_exeext conftest.
$ac_ext
36505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36507 if test `eval echo '${'$as_ac_var'}'` = yes; then
36508 cat >>confdefs.h
<<_ACEOF
36509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36511 cat >>confdefs.h
<<\_ACEOF
36512 #define HAVE_INET_ATON 1
36517 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36518 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36519 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36520 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 ac_check_lib_save_LIBS
=$LIBS
36524 LIBS
="-l$INET_LINK $LIBS"
36525 cat >conftest.
$ac_ext <<_ACEOF
36528 cat confdefs.h
>>conftest.
$ac_ext
36529 cat >>conftest.
$ac_ext <<_ACEOF
36530 /* end confdefs.h. */
36532 /* Override any gcc2 internal prototype to avoid an error. */
36536 /* We use char because int might match the return type of a gcc2
36537 builtin and then its argument prototype would still apply. */
36547 rm -f conftest.
$ac_objext conftest
$ac_exeext
36548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36549 (eval $ac_link) 2>conftest.er1
36551 grep -v '^ *+' conftest.er1
>conftest.err
36553 cat conftest.err
>&5
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); } &&
36556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36558 (eval $ac_try) 2>&5
36560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561 (exit $ac_status); }; } &&
36562 { ac_try
='test -s conftest$ac_exeext'
36563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36564 (eval $ac_try) 2>&5
36566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36567 (exit $ac_status); }; }; then
36568 eval "$as_ac_Lib=yes"
36570 echo "$as_me: failed program was:" >&5
36571 sed 's/^/| /' conftest.
$ac_ext >&5
36573 eval "$as_ac_Lib=no"
36575 rm -f conftest.err conftest.
$ac_objext \
36576 conftest
$ac_exeext conftest.
$ac_ext
36577 LIBS
=$ac_check_lib_save_LIBS
36579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36580 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36581 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36582 cat >>confdefs.h
<<\_ACEOF
36583 #define HAVE_INET_ATON 1
36593 if test "x$INET_LINK" != "x"; then
36594 cat >>confdefs.h
<<\_ACEOF
36595 #define HAVE_INET_ADDR 1
36598 INET_LINK
=" -l$INET_LINK"
36606 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36607 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36608 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36609 echo $ECHO_N "(cached) $ECHO_C" >&6
36611 ac_check_lib_save_LIBS
=$LIBS
36613 cat >conftest.
$ac_ext <<_ACEOF
36616 cat confdefs.h
>>conftest.
$ac_ext
36617 cat >>conftest.
$ac_ext <<_ACEOF
36618 /* end confdefs.h. */
36620 /* Override any gcc2 internal prototype to avoid an error. */
36624 /* We use char because int might match the return type of a gcc2
36625 builtin and then its argument prototype would still apply. */
36635 rm -f conftest.
$ac_objext conftest
$ac_exeext
36636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36637 (eval $ac_link) 2>conftest.er1
36639 grep -v '^ *+' conftest.er1
>conftest.err
36641 cat conftest.err
>&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } &&
36644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36646 (eval $ac_try) 2>&5
36648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36649 (exit $ac_status); }; } &&
36650 { ac_try
='test -s conftest$ac_exeext'
36651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36652 (eval $ac_try) 2>&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); }; }; then
36656 ac_cv_lib_esd_esd_close
=yes
36658 echo "$as_me: failed program was:" >&5
36659 sed 's/^/| /' conftest.
$ac_ext >&5
36661 ac_cv_lib_esd_esd_close
=no
36663 rm -f conftest.err conftest.
$ac_objext \
36664 conftest
$ac_exeext conftest.
$ac_ext
36665 LIBS
=$ac_check_lib_save_LIBS
36667 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36668 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36669 if test $ac_cv_lib_esd_esd_close = yes; then
36672 for ac_header
in esd.h
36674 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36676 echo "$as_me:$LINENO: checking for $ac_header" >&5
36677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36679 echo $ECHO_N "(cached) $ECHO_C" >&6
36681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36684 # Is the header compilable?
36685 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36687 cat >conftest.
$ac_ext <<_ACEOF
36690 cat confdefs.h
>>conftest.
$ac_ext
36691 cat >>conftest.
$ac_ext <<_ACEOF
36692 /* end confdefs.h. */
36693 $ac_includes_default
36694 #include <$ac_header>
36696 rm -f conftest.
$ac_objext
36697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36698 (eval $ac_compile) 2>conftest.er1
36700 grep -v '^ *+' conftest.er1
>conftest.err
36702 cat conftest.err
>&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } &&
36705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36707 (eval $ac_try) 2>&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); }; } &&
36711 { ac_try
='test -s conftest.$ac_objext'
36712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36713 (eval $ac_try) 2>&5
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); }; }; then
36717 ac_header_compiler
=yes
36719 echo "$as_me: failed program was:" >&5
36720 sed 's/^/| /' conftest.
$ac_ext >&5
36722 ac_header_compiler
=no
36724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36726 echo "${ECHO_T}$ac_header_compiler" >&6
36728 # Is the header present?
36729 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36731 cat >conftest.
$ac_ext <<_ACEOF
36734 cat confdefs.h
>>conftest.
$ac_ext
36735 cat >>conftest.
$ac_ext <<_ACEOF
36736 /* end confdefs.h. */
36737 #include <$ac_header>
36739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36740 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36742 grep -v '^ *+' conftest.er1
>conftest.err
36744 cat conftest.err
>&5
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); } >/dev
/null
; then
36747 if test -s conftest.err
; then
36748 ac_cpp_err
=$ac_cxx_preproc_warn_flag
36749 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
36756 if test -z "$ac_cpp_err"; then
36757 ac_header_preproc
=yes
36759 echo "$as_me: failed program was:" >&5
36760 sed 's/^/| /' conftest.
$ac_ext >&5
36762 ac_header_preproc
=no
36764 rm -f conftest.err conftest.
$ac_ext
36765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36766 echo "${ECHO_T}$ac_header_preproc" >&6
36768 # So? What about this header?
36769 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
36771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36775 ac_header_preproc
=yes
36778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36792 ## ----------------------------------------- ##
36793 ## Report this to wx-dev@lists.wxwidgets.org ##
36794 ## ----------------------------------------- ##
36797 sed "s/^/$as_me: WARNING: /" >&2
36800 echo "$as_me:$LINENO: checking for $ac_header" >&5
36801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36805 eval "$as_ac_Header=\$ac_header_preproc"
36807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36812 cat >>confdefs.h
<<_ACEOF
36813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36816 EXTRALIBS_ESD
="-lesd"
36827 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36828 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36829 cat >conftest.
$ac_ext <<_ACEOF
36832 cat confdefs.h
>>conftest.
$ac_ext
36833 cat >>conftest.
$ac_ext <<_ACEOF
36834 /* end confdefs.h. */
36836 #include <linux/cdrom.h>
36839 #include <sys/cdio.h>
36845 struct cdrom_tocentry entry, old_entry;
36850 rm -f conftest.
$ac_objext
36851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36852 (eval $ac_compile) 2>conftest.er1
36854 grep -v '^ *+' conftest.er1
>conftest.err
36856 cat conftest.err
>&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); } &&
36859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36861 (eval $ac_try) 2>&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); }; } &&
36865 { ac_try
='test -s conftest.$ac_objext'
36866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36867 (eval $ac_try) 2>&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); }; }; then
36871 echo "$as_me:$LINENO: result: yes" >&5
36872 echo "${ECHO_T}yes" >&6
36873 cat >>confdefs.h
<<\_ACEOF
36874 #define HAVE_KNOWN_CDROM_INTERFACE 1
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.
$ac_ext >&5
36881 echo "$as_me:$LINENO: result: no" >&5
36882 echo "${ECHO_T}no" >&6
36884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36887 cat >confcache
<<\_ACEOF
36888 # This file is a shell script that caches the results of configure
36889 # tests run on this system so they can be shared between configure
36890 # scripts and configure runs, see configure's option --config-cache.
36891 # It is not useful on other systems. If it contains results you don't
36892 # want to keep, you may remove or edit it.
36894 # config.status only pays attention to the cache file if you give it
36895 # the --recheck option to rerun configure.
36897 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36898 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36899 # following values.
36903 # The following way of writing the cache mishandles newlines in values,
36904 # but we know of no workaround that is simple, portable, and efficient.
36905 # So, don't put newlines in cache variables' values.
36906 # Ultrix sh set writes to stderr and can't be redirected directly,
36907 # and sets the high bit in the cache file unless we assign to the vars.
36910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36912 # `set' does not quote correctly, so add quotes (double-quote
36913 # substitution turns \\\\ into \\, and sed turns \\ into \).
36916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36919 # `set' quotes correctly as required by POSIX, so do not add quotes.
36921 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36928 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36930 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36932 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36933 if test -w $cache_file; then
36934 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36935 cat confcache
>$cache_file
36937 echo "not updating unwritable cache $cache_file"
36943 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36949 if test "$wxUSE_THREADS" = "yes" ; then
36950 if test "$USE_BEOS" = 1; then
36951 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36952 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36957 if test "$wxUSE_THREADS" = "yes" ; then
36960 THREAD_OPTS
="-pthread"
36962 *-*-solaris2* | *-*-sunos4* )
36963 if test "x$GCC" = "xyes"; then
36964 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36966 THREAD_OPTS
="-mt $THREAD_OPTS"
36970 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36972 *-*-darwin* | *-*-cygwin* )
36976 THREAD_OPTS
="pthreads"
36979 if test "x$GCC" = "xyes"; then
36980 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36988 if test "x$GCC" = "xyes"; then
36994 if test "x$GCC" != "xyes"; then
36995 THREAD_OPTS
="-Ethread"
37000 THREAD_OPTS
="$THREAD_OPTS pthread none"
37003 for flag
in $THREAD_OPTS; do
37006 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37007 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37011 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37012 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37013 THREADS_CXXFLAGS
="$flag"
37017 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37018 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37019 THREADS_LINK
="-l$flag"
37024 save_CXXFLAGS
="$CXXFLAGS"
37025 LIBS
="$THREADS_LINK $LIBS"
37026 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37028 cat >conftest.
$ac_ext <<_ACEOF
37031 cat confdefs.h
>>conftest.
$ac_ext
37032 cat >>conftest.
$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 #include <pthread.h>
37038 pthread_create(0,0,0,0);
37043 rm -f conftest.
$ac_objext conftest
$ac_exeext
37044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37045 (eval $ac_link) 2>conftest.er1
37047 grep -v '^ *+' conftest.er1
>conftest.err
37049 cat conftest.err
>&5
37050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37051 (exit $ac_status); } &&
37052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37054 (eval $ac_try) 2>&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); }; } &&
37058 { ac_try
='test -s conftest$ac_exeext'
37059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37060 (eval $ac_try) 2>&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); }; }; then
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.
$ac_ext >&5
37070 rm -f conftest.err conftest.
$ac_objext \
37071 conftest
$ac_exeext conftest.
$ac_ext
37074 CXXFLAGS
="$save_CXXFLAGS"
37076 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37077 echo "${ECHO_T}$THREADS_OK" >&6
37078 if test "x$THREADS_OK" = "xyes"; then
37083 THREADS_CXXFLAGS
=""
37086 if test "x$THREADS_OK" != "xyes"; then
37088 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37089 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37091 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37092 LIBS
="$THREADS_LINK $LIBS"
37094 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37095 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37099 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37100 flag
="-D_THREAD_SAFE"
37103 flag
="-D_THREAD_SAFE"
37106 flag
="-D_REENTRANT"
37107 if test "x$GCC" != "xyes"; then
37108 flag
="$flag -D_RWSTD_MULTI_THREAD"
37111 *solaris
* | alpha
*-osf*)
37112 flag
="-D_REENTRANT"
37115 echo "$as_me:$LINENO: result: ${flag}" >&5
37116 echo "${ECHO_T}${flag}" >&6
37117 if test "x$flag" != xno
; then
37118 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
37121 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37125 if test "$wxUSE_THREADS" = "yes" ; then
37127 for ac_func
in thr_setconcurrency
37129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37130 echo "$as_me:$LINENO: checking for $ac_func" >&5
37131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37132 if eval "test \"\${$as_ac_var+set}\" = set"; then
37133 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 cat >conftest.
$ac_ext <<_ACEOF
37138 cat confdefs.h
>>conftest.
$ac_ext
37139 cat >>conftest.
$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37143 #define $ac_func innocuous_$ac_func
37145 /* System header to define __stub macros and hopefully few prototypes,
37146 which can conflict with char $ac_func (); below.
37147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37148 <limits.h> exists even on freestanding compilers. */
37151 # include <limits.h>
37153 # include <assert.h>
37158 /* Override any gcc2 internal prototype to avoid an error. */
37163 /* We use char because int might match the return type of a gcc2
37164 builtin and then its argument prototype would still apply. */
37166 /* The GNU C library defines this for functions which it implements
37167 to always fail with ENOSYS. Some functions are actually named
37168 something starting with __ and the normal name is an alias. */
37169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37172 char (*f) () = $ac_func;
37181 return f != $ac_func;
37186 rm -f conftest.
$ac_objext conftest
$ac_exeext
37187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37188 (eval $ac_link) 2>conftest.er1
37190 grep -v '^ *+' conftest.er1
>conftest.err
37192 cat conftest.err
>&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); } &&
37195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try
='test -s conftest$ac_exeext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 eval "$as_ac_var=yes"
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.
$ac_ext >&5
37212 eval "$as_ac_var=no"
37214 rm -f conftest.err conftest.
$ac_objext \
37215 conftest
$ac_exeext conftest.
$ac_ext
37217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37219 if test `eval echo '${'$as_ac_var'}'` = yes; then
37220 cat >>confdefs.h
<<_ACEOF
37221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37228 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37229 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37230 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37231 echo $ECHO_N "(cached) $ECHO_C" >&6
37234 cat >conftest.
$ac_ext <<_ACEOF
37237 cat confdefs.h
>>conftest.
$ac_ext
37238 cat >>conftest.
$ac_ext <<_ACEOF
37239 /* end confdefs.h. */
37240 #include <pthread.h>
37241 void ThreadCleanupFunc(void *p);
37248 pthread_cleanup_push(ThreadCleanupFunc, p);
37249 pthread_cleanup_pop(0);
37255 rm -f conftest.
$ac_objext
37256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37257 (eval $ac_compile) 2>conftest.er1
37259 grep -v '^ *+' conftest.er1
>conftest.err
37261 cat conftest.err
>&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } &&
37264 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37266 (eval $ac_try) 2>&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); }; } &&
37270 { ac_try
='test -s conftest.$ac_objext'
37271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37272 (eval $ac_try) 2>&5
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); }; }; then
37277 wx_cv_func_pthread_cleanup
=yes
37280 echo "$as_me: failed program was:" >&5
37281 sed 's/^/| /' conftest.
$ac_ext >&5
37284 wx_cv_func_pthread_cleanup
=no
37288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37291 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37292 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37293 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37294 cat >>confdefs.h
<<\_ACEOF
37295 #define wxHAVE_PTHREAD_CLEANUP 1
37301 for ac_header
in sched.h
37303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37305 echo "$as_me:$LINENO: checking for $ac_header" >&5
37306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37308 echo $ECHO_N "(cached) $ECHO_C" >&6
37310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37313 # Is the header compilable?
37314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37315 echo $ECHO_N "checking $ac_header usability... $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. */
37322 $ac_includes_default
37323 #include <$ac_header>
37325 rm -f conftest.
$ac_objext
37326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37327 (eval $ac_compile) 2>conftest.er1
37329 grep -v '^ *+' conftest.er1
>conftest.err
37331 cat conftest.err
>&5
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); } &&
37334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336 (eval $ac_try) 2>&5
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); }; } &&
37340 { ac_try
='test -s conftest.$ac_objext'
37341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37342 (eval $ac_try) 2>&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); }; }; then
37346 ac_header_compiler
=yes
37348 echo "$as_me: failed program was:" >&5
37349 sed 's/^/| /' conftest.
$ac_ext >&5
37351 ac_header_compiler
=no
37353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37355 echo "${ECHO_T}$ac_header_compiler" >&6
37357 # Is the header present?
37358 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37360 cat >conftest.
$ac_ext <<_ACEOF
37363 cat confdefs.h
>>conftest.
$ac_ext
37364 cat >>conftest.
$ac_ext <<_ACEOF
37365 /* end confdefs.h. */
37366 #include <$ac_header>
37368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37371 grep -v '^ *+' conftest.er1
>conftest.err
37373 cat conftest.err
>&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); } >/dev
/null
; then
37376 if test -s conftest.err
; then
37377 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37378 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37385 if test -z "$ac_cpp_err"; then
37386 ac_header_preproc
=yes
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.
$ac_ext >&5
37391 ac_header_preproc
=no
37393 rm -f conftest.err conftest.
$ac_ext
37394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37395 echo "${ECHO_T}$ac_header_preproc" >&6
37397 # So? What about this header?
37398 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37404 ac_header_preproc
=yes
37407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37414 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37421 ## ----------------------------------------- ##
37422 ## Report this to wx-dev@lists.wxwidgets.org ##
37423 ## ----------------------------------------- ##
37426 sed "s/^/$as_me: WARNING: /" >&2
37429 echo "$as_me:$LINENO: checking for $ac_header" >&5
37430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37432 echo $ECHO_N "(cached) $ECHO_C" >&6
37434 eval "$as_ac_Header=\$ac_header_preproc"
37436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37441 cat >>confdefs.h
<<_ACEOF
37442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37449 if test "$ac_cv_header_sched_h" = "yes"; then
37450 echo "$as_me:$LINENO: checking for sched_yield" >&5
37451 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37452 if test "${ac_cv_func_sched_yield+set}" = set; then
37453 echo $ECHO_N "(cached) $ECHO_C" >&6
37455 cat >conftest.
$ac_ext <<_ACEOF
37458 cat confdefs.h
>>conftest.
$ac_ext
37459 cat >>conftest.
$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37461 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37463 #define sched_yield innocuous_sched_yield
37465 /* System header to define __stub macros and hopefully few prototypes,
37466 which can conflict with char sched_yield (); below.
37467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37468 <limits.h> exists even on freestanding compilers. */
37471 # include <limits.h>
37473 # include <assert.h>
37478 /* Override any gcc2 internal prototype to avoid an error. */
37483 /* We use char because int might match the return type of a gcc2
37484 builtin and then its argument prototype would still apply. */
37485 char sched_yield ();
37486 /* The GNU C library defines this for functions which it implements
37487 to always fail with ENOSYS. Some functions are actually named
37488 something starting with __ and the normal name is an alias. */
37489 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37492 char (*f) () = sched_yield;
37501 return f != sched_yield;
37506 rm -f conftest.
$ac_objext conftest
$ac_exeext
37507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37508 (eval $ac_link) 2>conftest.er1
37510 grep -v '^ *+' conftest.er1
>conftest.err
37512 cat conftest.err
>&5
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); } &&
37515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37517 (eval $ac_try) 2>&5
37519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520 (exit $ac_status); }; } &&
37521 { ac_try
='test -s conftest$ac_exeext'
37522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37523 (eval $ac_try) 2>&5
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); }; }; then
37527 ac_cv_func_sched_yield
=yes
37529 echo "$as_me: failed program was:" >&5
37530 sed 's/^/| /' conftest.
$ac_ext >&5
37532 ac_cv_func_sched_yield
=no
37534 rm -f conftest.err conftest.
$ac_objext \
37535 conftest
$ac_exeext conftest.
$ac_ext
37537 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37538 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37539 if test $ac_cv_func_sched_yield = yes; then
37540 cat >>confdefs.h
<<\_ACEOF
37541 #define HAVE_SCHED_YIELD 1
37546 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37547 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37548 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37549 echo $ECHO_N "(cached) $ECHO_C" >&6
37551 ac_check_lib_save_LIBS
=$LIBS
37552 LIBS
="-lposix4 $LIBS"
37553 cat >conftest.
$ac_ext <<_ACEOF
37556 cat confdefs.h
>>conftest.
$ac_ext
37557 cat >>conftest.
$ac_ext <<_ACEOF
37558 /* end confdefs.h. */
37560 /* Override any gcc2 internal prototype to avoid an error. */
37564 /* We use char because int might match the return type of a gcc2
37565 builtin and then its argument prototype would still apply. */
37566 char sched_yield ();
37575 rm -f conftest.
$ac_objext conftest
$ac_exeext
37576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37577 (eval $ac_link) 2>conftest.er1
37579 grep -v '^ *+' conftest.er1
>conftest.err
37581 cat conftest.err
>&5
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); } &&
37584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37586 (eval $ac_try) 2>&5
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); }; } &&
37590 { ac_try
='test -s conftest$ac_exeext'
37591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37592 (eval $ac_try) 2>&5
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); }; }; then
37596 ac_cv_lib_posix4_sched_yield
=yes
37598 echo "$as_me: failed program was:" >&5
37599 sed 's/^/| /' conftest.
$ac_ext >&5
37601 ac_cv_lib_posix4_sched_yield
=no
37603 rm -f conftest.err conftest.
$ac_objext \
37604 conftest
$ac_exeext conftest.
$ac_ext
37605 LIBS
=$ac_check_lib_save_LIBS
37607 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37608 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37609 if test $ac_cv_lib_posix4_sched_yield = yes; then
37610 cat >>confdefs.h
<<\_ACEOF
37611 #define HAVE_SCHED_YIELD 1
37613 POSIX4_LINK
=" -lposix4"
37615 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37616 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37627 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37628 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37629 if test "${ac_cv_func_pthread_attr_getschedpolicy+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 pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37640 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37642 /* System header to define __stub macros and hopefully few prototypes,
37643 which can conflict with char pthread_attr_getschedpolicy (); 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>
37653 #undef pthread_attr_getschedpolicy
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. */
37662 char pthread_attr_getschedpolicy ();
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_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37669 char (*f) () = pthread_attr_getschedpolicy;
37678 return f != pthread_attr_getschedpolicy;
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 ac_cv_func_pthread_attr_getschedpolicy
=yes
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.
$ac_ext >&5
37709 ac_cv_func_pthread_attr_getschedpolicy
=no
37711 rm -f conftest.err conftest.
$ac_objext \
37712 conftest
$ac_exeext conftest.
$ac_ext
37714 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37715 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37716 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37717 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37718 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37719 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 cat >conftest.
$ac_ext <<_ACEOF
37725 cat confdefs.h
>>conftest.
$ac_ext
37726 cat >>conftest.
$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37728 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37730 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37732 /* System header to define __stub macros and hopefully few prototypes,
37733 which can conflict with char pthread_attr_setschedparam (); below.
37734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37735 <limits.h> exists even on freestanding compilers. */
37738 # include <limits.h>
37740 # include <assert.h>
37743 #undef pthread_attr_setschedparam
37745 /* Override any gcc2 internal prototype to avoid an error. */
37750 /* We use char because int might match the return type of a gcc2
37751 builtin and then its argument prototype would still apply. */
37752 char pthread_attr_setschedparam ();
37753 /* The GNU C library defines this for functions which it implements
37754 to always fail with ENOSYS. Some functions are actually named
37755 something starting with __ and the normal name is an alias. */
37756 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37759 char (*f) () = pthread_attr_setschedparam;
37768 return f != pthread_attr_setschedparam;
37773 rm -f conftest.
$ac_objext conftest
$ac_exeext
37774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37775 (eval $ac_link) 2>conftest.er1
37777 grep -v '^ *+' conftest.er1
>conftest.err
37779 cat conftest.err
>&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } &&
37782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37784 (eval $ac_try) 2>&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); }; } &&
37788 { ac_try
='test -s conftest$ac_exeext'
37789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37790 (eval $ac_try) 2>&5
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); }; }; then
37794 ac_cv_func_pthread_attr_setschedparam
=yes
37796 echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.
$ac_ext >&5
37799 ac_cv_func_pthread_attr_setschedparam
=no
37801 rm -f conftest.err conftest.
$ac_objext \
37802 conftest
$ac_exeext conftest.
$ac_ext
37804 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37805 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37806 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37807 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37808 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37809 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37810 echo $ECHO_N "(cached) $ECHO_C" >&6
37812 cat >conftest.
$ac_ext <<_ACEOF
37815 cat confdefs.h
>>conftest.
$ac_ext
37816 cat >>conftest.
$ac_ext <<_ACEOF
37817 /* end confdefs.h. */
37818 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37820 #define sched_get_priority_max innocuous_sched_get_priority_max
37822 /* System header to define __stub macros and hopefully few prototypes,
37823 which can conflict with char sched_get_priority_max (); below.
37824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37825 <limits.h> exists even on freestanding compilers. */
37828 # include <limits.h>
37830 # include <assert.h>
37833 #undef sched_get_priority_max
37835 /* Override any gcc2 internal prototype to avoid an error. */
37840 /* We use char because int might match the return type of a gcc2
37841 builtin and then its argument prototype would still apply. */
37842 char sched_get_priority_max ();
37843 /* The GNU C library defines this for functions which it implements
37844 to always fail with ENOSYS. Some functions are actually named
37845 something starting with __ and the normal name is an alias. */
37846 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37849 char (*f) () = sched_get_priority_max;
37858 return f != sched_get_priority_max;
37863 rm -f conftest.
$ac_objext conftest
$ac_exeext
37864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37865 (eval $ac_link) 2>conftest.er1
37867 grep -v '^ *+' conftest.er1
>conftest.err
37869 cat conftest.err
>&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); } &&
37872 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; } &&
37878 { ac_try
='test -s conftest$ac_exeext'
37879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37880 (eval $ac_try) 2>&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); }; }; then
37884 ac_cv_func_sched_get_priority_max
=yes
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.
$ac_ext >&5
37889 ac_cv_func_sched_get_priority_max
=no
37891 rm -f conftest.err conftest.
$ac_objext \
37892 conftest
$ac_exeext conftest.
$ac_ext
37894 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37895 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37896 if test $ac_cv_func_sched_get_priority_max = yes; then
37899 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37900 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37901 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37904 ac_check_lib_save_LIBS
=$LIBS
37905 LIBS
="-lposix4 $LIBS"
37906 cat >conftest.
$ac_ext <<_ACEOF
37909 cat confdefs.h
>>conftest.
$ac_ext
37910 cat >>conftest.
$ac_ext <<_ACEOF
37911 /* end confdefs.h. */
37913 /* Override any gcc2 internal prototype to avoid an error. */
37917 /* We use char because int might match the return type of a gcc2
37918 builtin and then its argument prototype would still apply. */
37919 char sched_get_priority_max ();
37923 sched_get_priority_max ();
37928 rm -f conftest.
$ac_objext conftest
$ac_exeext
37929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37930 (eval $ac_link) 2>conftest.er1
37932 grep -v '^ *+' conftest.er1
>conftest.err
37934 cat conftest.err
>&5
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); } &&
37937 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37939 (eval $ac_try) 2>&5
37941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37942 (exit $ac_status); }; } &&
37943 { ac_try
='test -s conftest$ac_exeext'
37944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37945 (eval $ac_try) 2>&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); }; }; then
37949 ac_cv_lib_posix4_sched_get_priority_max
=yes
37951 echo "$as_me: failed program was:" >&5
37952 sed 's/^/| /' conftest.
$ac_ext >&5
37954 ac_cv_lib_posix4_sched_get_priority_max
=no
37956 rm -f conftest.err conftest.
$ac_objext \
37957 conftest
$ac_exeext conftest.
$ac_ext
37958 LIBS
=$ac_check_lib_save_LIBS
37960 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37961 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37962 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37965 POSIX4_LINK
=" -lposix4"
37979 if test "$HAVE_PRIOR_FUNCS" = 1; then
37980 cat >>confdefs.h
<<\_ACEOF
37981 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37985 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37986 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37989 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37990 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37991 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37994 cat >conftest.
$ac_ext <<_ACEOF
37997 cat confdefs.h
>>conftest.
$ac_ext
37998 cat >>conftest.
$ac_ext <<_ACEOF
37999 /* end confdefs.h. */
38000 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38002 #define pthread_cancel innocuous_pthread_cancel
38004 /* System header to define __stub macros and hopefully few prototypes,
38005 which can conflict with char pthread_cancel (); below.
38006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38007 <limits.h> exists even on freestanding compilers. */
38010 # include <limits.h>
38012 # include <assert.h>
38015 #undef pthread_cancel
38017 /* Override any gcc2 internal prototype to avoid an error. */
38022 /* We use char because int might match the return type of a gcc2
38023 builtin and then its argument prototype would still apply. */
38024 char pthread_cancel ();
38025 /* The GNU C library defines this for functions which it implements
38026 to always fail with ENOSYS. Some functions are actually named
38027 something starting with __ and the normal name is an alias. */
38028 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38031 char (*f) () = pthread_cancel;
38040 return f != pthread_cancel;
38045 rm -f conftest.
$ac_objext conftest
$ac_exeext
38046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38047 (eval $ac_link) 2>conftest.er1
38049 grep -v '^ *+' conftest.er1
>conftest.err
38051 cat conftest.err
>&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } &&
38054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; } &&
38060 { ac_try
='test -s conftest$ac_exeext'
38061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062 (eval $ac_try) 2>&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 ac_cv_func_pthread_cancel
=yes
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.
$ac_ext >&5
38071 ac_cv_func_pthread_cancel
=no
38073 rm -f conftest.err conftest.
$ac_objext \
38074 conftest
$ac_exeext conftest.
$ac_ext
38076 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38077 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38078 if test $ac_cv_func_pthread_cancel = yes; then
38079 cat >>confdefs.h
<<\_ACEOF
38080 #define HAVE_PTHREAD_CANCEL 1
38084 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38085 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38089 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38090 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38091 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38094 cat >conftest.
$ac_ext <<_ACEOF
38097 cat confdefs.h
>>conftest.
$ac_ext
38098 cat >>conftest.
$ac_ext <<_ACEOF
38099 /* end confdefs.h. */
38100 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38102 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38104 /* System header to define __stub macros and hopefully few prototypes,
38105 which can conflict with char pthread_attr_setstacksize (); below.
38106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38107 <limits.h> exists even on freestanding compilers. */
38110 # include <limits.h>
38112 # include <assert.h>
38115 #undef pthread_attr_setstacksize
38117 /* Override any gcc2 internal prototype to avoid an error. */
38122 /* We use char because int might match the return type of a gcc2
38123 builtin and then its argument prototype would still apply. */
38124 char pthread_attr_setstacksize ();
38125 /* The GNU C library defines this for functions which it implements
38126 to always fail with ENOSYS. Some functions are actually named
38127 something starting with __ and the normal name is an alias. */
38128 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38131 char (*f) () = pthread_attr_setstacksize;
38140 return f != pthread_attr_setstacksize;
38145 rm -f conftest.
$ac_objext conftest
$ac_exeext
38146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38147 (eval $ac_link) 2>conftest.er1
38149 grep -v '^ *+' conftest.er1
>conftest.err
38151 cat conftest.err
>&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } &&
38154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156 (eval $ac_try) 2>&5
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); }; } &&
38160 { ac_try
='test -s conftest$ac_exeext'
38161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38162 (eval $ac_try) 2>&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); }; }; then
38166 ac_cv_func_pthread_attr_setstacksize
=yes
38168 echo "$as_me: failed program was:" >&5
38169 sed 's/^/| /' conftest.
$ac_ext >&5
38171 ac_cv_func_pthread_attr_setstacksize
=no
38173 rm -f conftest.err conftest.
$ac_objext \
38174 conftest
$ac_exeext conftest.
$ac_ext
38176 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38177 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38178 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38179 cat >>confdefs.h
<<\_ACEOF
38180 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38187 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38188 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38189 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38193 cat >conftest.
$ac_ext <<_ACEOF
38196 cat confdefs.h
>>conftest.
$ac_ext
38197 cat >>conftest.
$ac_ext <<_ACEOF
38198 /* end confdefs.h. */
38199 #include <pthread.h>
38204 pthread_mutexattr_t attr;
38205 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38211 rm -f conftest.
$ac_objext
38212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38213 (eval $ac_compile) 2>conftest.er1
38215 grep -v '^ *+' conftest.er1
>conftest.err
38217 cat conftest.err
>&5
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); } &&
38220 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222 (eval $ac_try) 2>&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); }; } &&
38226 { ac_try
='test -s conftest.$ac_objext'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; }; then
38232 wx_cv_type_pthread_mutexattr_t
=yes
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.
$ac_ext >&5
38237 wx_cv_type_pthread_mutexattr_t
=no
38240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38243 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38244 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38246 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38247 cat >>confdefs.h
<<\_ACEOF
38248 #define HAVE_PTHREAD_MUTEXATTR_T 1
38252 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38253 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38254 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38255 echo $ECHO_N "(cached) $ECHO_C" >&6
38258 cat >conftest.
$ac_ext <<_ACEOF
38261 cat confdefs.h
>>conftest.
$ac_ext
38262 cat >>conftest.
$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38264 #include <pthread.h>
38269 pthread_mutexattr_t attr;
38270 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38276 rm -f conftest.
$ac_objext
38277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38278 (eval $ac_compile) 2>conftest.er1
38280 grep -v '^ *+' conftest.er1
>conftest.err
38282 cat conftest.err
>&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); } &&
38285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38287 (eval $ac_try) 2>&5
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); }; } &&
38291 { ac_try
='test -s conftest.$ac_objext'
38292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293 (eval $ac_try) 2>&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); }; }; then
38297 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.
$ac_ext >&5
38302 wx_cv_func_pthread_mutexattr_settype_decl
=no
38305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38308 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38309 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38310 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38311 cat >>confdefs.h
<<\_ACEOF
38312 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38317 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38318 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38319 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38320 echo $ECHO_N "(cached) $ECHO_C" >&6
38323 cat >conftest.
$ac_ext <<_ACEOF
38326 cat confdefs.h
>>conftest.
$ac_ext
38327 cat >>conftest.
$ac_ext <<_ACEOF
38328 /* end confdefs.h. */
38329 #include <pthread.h>
38334 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38340 rm -f conftest.
$ac_objext
38341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38342 (eval $ac_compile) 2>conftest.er1
38344 grep -v '^ *+' conftest.er1
>conftest.err
38346 cat conftest.err
>&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); } &&
38349 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38351 (eval $ac_try) 2>&5
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); }; } &&
38355 { ac_try
='test -s conftest.$ac_objext'
38356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38357 (eval $ac_try) 2>&5
38359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38360 (exit $ac_status); }; }; then
38362 wx_cv_type_pthread_rec_mutex_init
=yes
38365 echo "$as_me: failed program was:" >&5
38366 sed 's/^/| /' conftest.
$ac_ext >&5
38369 wx_cv_type_pthread_rec_mutex_init
=no
38373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38376 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38377 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38378 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38379 cat >>confdefs.h
<<\_ACEOF
38380 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38384 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38385 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38391 if test "$wxUSE_THREADS" = "yes" ; then
38394 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38395 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38396 if test "${wx_cv_cflags_mthread+set}" = set; then
38397 echo $ECHO_N "(cached) $ECHO_C" >&6
38400 CXXFLAGS_OLD
="$CXXFLAGS"
38401 CXXFLAGS
="-mthreads $CXXFLAGS"
38402 cat >conftest.
$ac_ext <<_ACEOF
38405 cat confdefs.h
>>conftest.
$ac_ext
38406 cat >>conftest.
$ac_ext <<_ACEOF
38407 /* end confdefs.h. */
38417 rm -f conftest.
$ac_objext
38418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38419 (eval $ac_compile) 2>conftest.er1
38421 grep -v '^ *+' conftest.er1
>conftest.err
38423 cat conftest.err
>&5
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); } &&
38426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38428 (eval $ac_try) 2>&5
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); }; } &&
38432 { ac_try
='test -s conftest.$ac_objext'
38433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38434 (eval $ac_try) 2>&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); }; }; then
38438 wx_cv_cflags_mthread
=yes
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.
$ac_ext >&5
38443 wx_cv_cflags_mthread
=no
38446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38450 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38451 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38453 if test "$wx_cv_cflags_mthread" = "yes"; then
38454 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
38455 LDFLAGS
="$LDFLAGS -mthreads"
38457 CXXFLAGS
="$CXXFLAGS_OLD"
38461 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38462 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38463 LDFLAGS
="$LDFLAGS -Zmt"
38469 echo "$as_me:$LINENO: checking for localtime_r" >&5
38470 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38471 if test "${ac_cv_func_localtime_r+set}" = set; then
38472 echo $ECHO_N "(cached) $ECHO_C" >&6
38474 cat >conftest.
$ac_ext <<_ACEOF
38477 cat confdefs.h
>>conftest.
$ac_ext
38478 cat >>conftest.
$ac_ext <<_ACEOF
38479 /* end confdefs.h. */
38480 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38482 #define localtime_r innocuous_localtime_r
38484 /* System header to define __stub macros and hopefully few prototypes,
38485 which can conflict with char localtime_r (); below.
38486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38487 <limits.h> exists even on freestanding compilers. */
38490 # include <limits.h>
38492 # include <assert.h>
38497 /* Override any gcc2 internal prototype to avoid an error. */
38502 /* We use char because int might match the return type of a gcc2
38503 builtin and then its argument prototype would still apply. */
38504 char localtime_r ();
38505 /* The GNU C library defines this for functions which it implements
38506 to always fail with ENOSYS. Some functions are actually named
38507 something starting with __ and the normal name is an alias. */
38508 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38511 char (*f) () = localtime_r;
38520 return f != localtime_r;
38525 rm -f conftest.
$ac_objext conftest
$ac_exeext
38526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38527 (eval $ac_link) 2>conftest.er1
38529 grep -v '^ *+' conftest.er1
>conftest.err
38531 cat conftest.err
>&5
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); } &&
38534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; } &&
38540 { ac_try
='test -s conftest$ac_exeext'
38541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38542 (eval $ac_try) 2>&5
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); }; }; then
38546 ac_cv_func_localtime_r
=yes
38548 echo "$as_me: failed program was:" >&5
38549 sed 's/^/| /' conftest.
$ac_ext >&5
38551 ac_cv_func_localtime_r
=no
38553 rm -f conftest.err conftest.
$ac_objext \
38554 conftest
$ac_exeext conftest.
$ac_ext
38556 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38557 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38558 if test $ac_cv_func_localtime_r = yes; then
38559 cat >>confdefs.h
<<\_ACEOF
38560 #define HAVE_LOCALTIME_R 1
38565 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38566 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38567 if test "${ac_cv_func_gmtime_r+set}" = set; then
38568 echo $ECHO_N "(cached) $ECHO_C" >&6
38570 cat >conftest.
$ac_ext <<_ACEOF
38573 cat confdefs.h
>>conftest.
$ac_ext
38574 cat >>conftest.
$ac_ext <<_ACEOF
38575 /* end confdefs.h. */
38576 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38578 #define gmtime_r innocuous_gmtime_r
38580 /* System header to define __stub macros and hopefully few prototypes,
38581 which can conflict with char gmtime_r (); below.
38582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38583 <limits.h> exists even on freestanding compilers. */
38586 # include <limits.h>
38588 # include <assert.h>
38593 /* Override any gcc2 internal prototype to avoid an error. */
38598 /* We use char because int might match the return type of a gcc2
38599 builtin and then its argument prototype would still apply. */
38601 /* The GNU C library defines this for functions which it implements
38602 to always fail with ENOSYS. Some functions are actually named
38603 something starting with __ and the normal name is an alias. */
38604 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38607 char (*f) () = gmtime_r;
38616 return f != gmtime_r;
38621 rm -f conftest.
$ac_objext conftest
$ac_exeext
38622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38623 (eval $ac_link) 2>conftest.er1
38625 grep -v '^ *+' conftest.er1
>conftest.err
38627 cat conftest.err
>&5
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); } &&
38630 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38632 (eval $ac_try) 2>&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); }; } &&
38636 { ac_try
='test -s conftest$ac_exeext'
38637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38638 (eval $ac_try) 2>&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); }; }; then
38642 ac_cv_func_gmtime_r
=yes
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.
$ac_ext >&5
38647 ac_cv_func_gmtime_r
=no
38649 rm -f conftest.err conftest.
$ac_objext \
38650 conftest
$ac_exeext conftest.
$ac_ext
38652 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38653 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38654 if test $ac_cv_func_gmtime_r = yes; then
38655 cat >>confdefs.h
<<\_ACEOF
38656 #define HAVE_GMTIME_R 1
38661 echo "$as_me:$LINENO: checking for readdir_r" >&5
38662 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38663 if test "${ac_cv_func_readdir_r+set}" = set; then
38664 echo $ECHO_N "(cached) $ECHO_C" >&6
38666 cat >conftest.
$ac_ext <<_ACEOF
38669 cat confdefs.h
>>conftest.
$ac_ext
38670 cat >>conftest.
$ac_ext <<_ACEOF
38671 /* end confdefs.h. */
38672 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38674 #define readdir_r innocuous_readdir_r
38676 /* System header to define __stub macros and hopefully few prototypes,
38677 which can conflict with char readdir_r (); below.
38678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38679 <limits.h> exists even on freestanding compilers. */
38682 # include <limits.h>
38684 # include <assert.h>
38689 /* Override any gcc2 internal prototype to avoid an error. */
38694 /* We use char because int might match the return type of a gcc2
38695 builtin and then its argument prototype would still apply. */
38697 /* The GNU C library defines this for functions which it implements
38698 to always fail with ENOSYS. Some functions are actually named
38699 something starting with __ and the normal name is an alias. */
38700 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38703 char (*f) () = readdir_r;
38712 return f != readdir_r;
38717 rm -f conftest.
$ac_objext conftest
$ac_exeext
38718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38719 (eval $ac_link) 2>conftest.er1
38721 grep -v '^ *+' conftest.er1
>conftest.err
38723 cat conftest.err
>&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } &&
38726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38728 (eval $ac_try) 2>&5
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); }; } &&
38732 { ac_try
='test -s conftest$ac_exeext'
38733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38734 (eval $ac_try) 2>&5
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); }; }; then
38738 ac_cv_func_readdir_r
=yes
38740 echo "$as_me: failed program was:" >&5
38741 sed 's/^/| /' conftest.
$ac_ext >&5
38743 ac_cv_func_readdir_r
=no
38745 rm -f conftest.err conftest.
$ac_objext \
38746 conftest
$ac_exeext conftest.
$ac_ext
38748 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38749 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38750 if test $ac_cv_func_readdir_r = yes; then
38751 cat >>confdefs.h
<<\_ACEOF
38752 #define HAVE_READDIR_R 1
38761 ac_cpp
='$CPP $CPPFLAGS'
38762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38766 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38767 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38769 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38774 ################################################################
38776 ac_cv_func_which_gethostbyname_r
=unknown
38779 # ONE ARGUMENT (sanity check)
38782 # This should fail, as there is no variant of gethostbyname_r() that takes
38783 # a single argument. If it actually compiles, then we can assume that
38784 # netdb.h is not declaring the function, and the compiler is thereby
38785 # assuming an implicit prototype. In which case, we're out of luck.
38787 cat >conftest.
$ac_ext <<_ACEOF
38790 cat confdefs.h
>>conftest.
$ac_ext
38791 cat >>conftest.
$ac_ext <<_ACEOF
38792 /* end confdefs.h. */
38798 char *name = "www.gnu.org";
38799 (void)gethostbyname_r(name) /* ; */
38805 rm -f conftest.
$ac_objext
38806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38807 (eval $ac_compile) 2>conftest.er1
38809 grep -v '^ *+' conftest.er1
>conftest.err
38811 cat conftest.err
>&5
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); } &&
38814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38816 (eval $ac_try) 2>&5
38818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38819 (exit $ac_status); }; } &&
38820 { ac_try
='test -s conftest.$ac_objext'
38821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38822 (eval $ac_try) 2>&5
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); }; }; then
38826 ac_cv_func_which_gethostbyname_r
=no
38828 echo "$as_me: failed program was:" >&5
38829 sed 's/^/| /' conftest.
$ac_ext >&5
38832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38839 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38841 cat >conftest.
$ac_ext <<_ACEOF
38844 cat confdefs.h
>>conftest.
$ac_ext
38845 cat >>conftest.
$ac_ext <<_ACEOF
38846 /* end confdefs.h. */
38852 char *name = "www.gnu.org";
38853 struct hostent ret, *retp;
38857 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38863 rm -f conftest.
$ac_objext
38864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38865 (eval $ac_compile) 2>conftest.er1
38867 grep -v '^ *+' conftest.er1
>conftest.err
38869 cat conftest.err
>&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } &&
38872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38874 (eval $ac_try) 2>&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); }; } &&
38878 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
38884 ac_cv_func_which_gethostbyname_r
=six
38886 echo "$as_me: failed program was:" >&5
38887 sed 's/^/| /' conftest.
$ac_ext >&5
38890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38899 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38901 cat >conftest.
$ac_ext <<_ACEOF
38904 cat confdefs.h
>>conftest.
$ac_ext
38905 cat >>conftest.
$ac_ext <<_ACEOF
38906 /* end confdefs.h. */
38912 char *name = "www.gnu.org";
38913 struct hostent ret;
38917 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38923 rm -f conftest.
$ac_objext
38924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38925 (eval $ac_compile) 2>conftest.er1
38927 grep -v '^ *+' conftest.er1
>conftest.err
38929 cat conftest.err
>&5
38930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38931 (exit $ac_status); } &&
38932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38934 (eval $ac_try) 2>&5
38936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38937 (exit $ac_status); }; } &&
38938 { ac_try
='test -s conftest.$ac_objext'
38939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38940 (eval $ac_try) 2>&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); }; }; then
38944 ac_cv_func_which_gethostbyname_r
=five
38946 echo "$as_me: failed program was:" >&5
38947 sed 's/^/| /' conftest.
$ac_ext >&5
38950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38956 # (e.g. AIX, HP-UX, Tru64)
38959 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38961 cat >conftest.
$ac_ext <<_ACEOF
38964 cat confdefs.h
>>conftest.
$ac_ext
38965 cat >>conftest.
$ac_ext <<_ACEOF
38966 /* end confdefs.h. */
38972 char *name = "www.gnu.org";
38973 struct hostent ret;
38974 struct hostent_data data;
38975 (void)gethostbyname_r(name, &ret, &data) /* ; */
38981 rm -f conftest.
$ac_objext
38982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38983 (eval $ac_compile) 2>conftest.er1
38985 grep -v '^ *+' conftest.er1
>conftest.err
38987 cat conftest.err
>&5
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); } &&
38990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38992 (eval $ac_try) 2>&5
38994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995 (exit $ac_status); }; } &&
38996 { ac_try
='test -s conftest.$ac_objext'
38997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998 (eval $ac_try) 2>&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); }; }; then
39002 ac_cv_func_which_gethostbyname_r
=three
39004 echo "$as_me: failed program was:" >&5
39005 sed 's/^/| /' conftest.
$ac_ext >&5
39008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39012 ################################################################
39017 case "$ac_cv_func_which_gethostbyname_r" in
39019 echo "$as_me:$LINENO: result: three" >&5
39020 echo "${ECHO_T}three" >&6
39021 cat >>confdefs.h
<<\_ACEOF
39022 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39028 echo "$as_me:$LINENO: result: five" >&5
39029 echo "${ECHO_T}five" >&6
39030 cat >>confdefs.h
<<\_ACEOF
39031 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39037 echo "$as_me:$LINENO: result: six" >&5
39038 echo "${ECHO_T}six" >&6
39039 cat >>confdefs.h
<<\_ACEOF
39040 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39046 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39047 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39051 echo "$as_me:$LINENO: result: can't tell" >&5
39052 echo "${ECHO_T}can't tell" >&6
39056 { { echo "$as_me:$LINENO: error: internal error" >&5
39057 echo "$as_me: error: internal error" >&2;}
39058 { (exit 1); exit 1; }; }
39063 ac_cpp
='$CXXCPP $CPPFLAGS'
39064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39070 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39071 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39072 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39073 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39074 if test "${ac_cv_func_gethostbyname+set}" = set; then
39075 echo $ECHO_N "(cached) $ECHO_C" >&6
39077 cat >conftest.
$ac_ext <<_ACEOF
39080 cat confdefs.h
>>conftest.
$ac_ext
39081 cat >>conftest.
$ac_ext <<_ACEOF
39082 /* end confdefs.h. */
39083 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39085 #define gethostbyname innocuous_gethostbyname
39087 /* System header to define __stub macros and hopefully few prototypes,
39088 which can conflict with char gethostbyname (); below.
39089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39090 <limits.h> exists even on freestanding compilers. */
39093 # include <limits.h>
39095 # include <assert.h>
39098 #undef gethostbyname
39100 /* Override any gcc2 internal prototype to avoid an error. */
39105 /* We use char because int might match the return type of a gcc2
39106 builtin and then its argument prototype would still apply. */
39107 char gethostbyname ();
39108 /* The GNU C library defines this for functions which it implements
39109 to always fail with ENOSYS. Some functions are actually named
39110 something starting with __ and the normal name is an alias. */
39111 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39114 char (*f) () = gethostbyname;
39123 return f != gethostbyname;
39128 rm -f conftest.
$ac_objext conftest
$ac_exeext
39129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39130 (eval $ac_link) 2>conftest.er1
39132 grep -v '^ *+' conftest.er1
>conftest.err
39134 cat conftest.err
>&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } &&
39137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139 (eval $ac_try) 2>&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); }; } &&
39143 { ac_try
='test -s conftest$ac_exeext'
39144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39145 (eval $ac_try) 2>&5
39147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148 (exit $ac_status); }; }; then
39149 ac_cv_func_gethostbyname
=yes
39151 echo "$as_me: failed program was:" >&5
39152 sed 's/^/| /' conftest.
$ac_ext >&5
39154 ac_cv_func_gethostbyname
=no
39156 rm -f conftest.err conftest.
$ac_objext \
39157 conftest
$ac_exeext conftest.
$ac_ext
39159 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39160 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39161 if test $ac_cv_func_gethostbyname = yes; then
39162 cat >>confdefs.h
<<\_ACEOF
39163 #define HAVE_GETHOSTBYNAME 1
39169 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39170 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39171 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39172 echo $ECHO_N "(cached) $ECHO_C" >&6
39174 cat >conftest.
$ac_ext <<_ACEOF
39177 cat confdefs.h
>>conftest.
$ac_ext
39178 cat >>conftest.
$ac_ext <<_ACEOF
39179 /* end confdefs.h. */
39180 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39182 #define getservbyname_r innocuous_getservbyname_r
39184 /* System header to define __stub macros and hopefully few prototypes,
39185 which can conflict with char getservbyname_r (); below.
39186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39187 <limits.h> exists even on freestanding compilers. */
39190 # include <limits.h>
39192 # include <assert.h>
39195 #undef getservbyname_r
39197 /* Override any gcc2 internal prototype to avoid an error. */
39202 /* We use char because int might match the return type of a gcc2
39203 builtin and then its argument prototype would still apply. */
39204 char getservbyname_r ();
39205 /* The GNU C library defines this for functions which it implements
39206 to always fail with ENOSYS. Some functions are actually named
39207 something starting with __ and the normal name is an alias. */
39208 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39211 char (*f) () = getservbyname_r;
39220 return f != getservbyname_r;
39225 rm -f conftest.
$ac_objext conftest
$ac_exeext
39226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39227 (eval $ac_link) 2>conftest.er1
39229 grep -v '^ *+' conftest.er1
>conftest.err
39231 cat conftest.err
>&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); } &&
39234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; } &&
39240 { ac_try
='test -s conftest$ac_exeext'
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; }; then
39246 ac_cv_func_getservbyname_r
=yes
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.
$ac_ext >&5
39251 ac_cv_func_getservbyname_r
=no
39253 rm -f conftest.err conftest.
$ac_objext \
39254 conftest
$ac_exeext conftest.
$ac_ext
39256 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39257 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39258 if test $ac_cv_func_getservbyname_r = yes; then
39259 cat >conftest.
$ac_ext <<_ACEOF
39262 cat confdefs.h
>>conftest.
$ac_ext
39263 cat >>conftest.
$ac_ext <<_ACEOF
39264 /* end confdefs.h. */
39272 struct servent *se;
39273 struct servent_data data;
39274 (void) getservbyname_r(name, proto, se, &data);
39280 rm -f conftest.
$ac_objext
39281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39282 (eval $ac_compile) 2>conftest.er1
39284 grep -v '^ *+' conftest.er1
>conftest.err
39286 cat conftest.err
>&5
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); } &&
39289 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39291 (eval $ac_try) 2>&5
39293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39294 (exit $ac_status); }; } &&
39295 { ac_try
='test -s conftest.$ac_objext'
39296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297 (eval $ac_try) 2>&5
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); }; }; then
39301 ac_cv_func_which_getservbyname_r
=four
39303 echo "$as_me: failed program was:" >&5
39304 sed 's/^/| /' conftest.
$ac_ext >&5
39306 cat >conftest.
$ac_ext <<_ACEOF
39309 cat confdefs.h
>>conftest.
$ac_ext
39310 cat >>conftest.
$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39319 struct servent *se, *res;
39322 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39328 rm -f conftest.
$ac_objext
39329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39330 (eval $ac_compile) 2>conftest.er1
39332 grep -v '^ *+' conftest.er1
>conftest.err
39334 cat conftest.err
>&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); } &&
39337 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339 (eval $ac_try) 2>&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; } &&
39343 { ac_try
='test -s conftest.$ac_objext'
39344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39345 (eval $ac_try) 2>&5
39347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348 (exit $ac_status); }; }; then
39349 ac_cv_func_which_getservbyname_r
=six
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.
$ac_ext >&5
39354 cat >conftest.
$ac_ext <<_ACEOF
39357 cat confdefs.h
>>conftest.
$ac_ext
39358 cat >>conftest.
$ac_ext <<_ACEOF
39359 /* end confdefs.h. */
39367 struct servent *se;
39370 (void) getservbyname_r(name, proto, se, buffer, buflen)
39376 rm -f conftest.
$ac_objext
39377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39378 (eval $ac_compile) 2>conftest.er1
39380 grep -v '^ *+' conftest.er1
>conftest.err
39382 cat conftest.err
>&5
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); } &&
39385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39387 (eval $ac_try) 2>&5
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); }; } &&
39391 { ac_try
='test -s conftest.$ac_objext'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; }; then
39397 ac_cv_func_which_getservbyname_r
=five
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.
$ac_ext >&5
39402 ac_cv_func_which_getservbyname_r
=no
39405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39413 ac_cv_func_which_getservbyname_r
=no
39417 if test $ac_cv_func_which_getservbyname_r = six
; then
39418 cat >>confdefs.h
<<\_ACEOF
39419 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39422 elif test $ac_cv_func_which_getservbyname_r = five
; then
39423 cat >>confdefs.h
<<\_ACEOF
39424 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39427 elif test $ac_cv_func_which_getservbyname_r = four
; then
39428 cat >>confdefs.h
<<\_ACEOF
39429 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39435 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39436 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39438 for ac_func
in getservbyname
39440 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39441 echo "$as_me:$LINENO: checking for $ac_func" >&5
39442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39443 if eval "test \"\${$as_ac_var+set}\" = set"; then
39444 echo $ECHO_N "(cached) $ECHO_C" >&6
39446 cat >conftest.
$ac_ext <<_ACEOF
39449 cat confdefs.h
>>conftest.
$ac_ext
39450 cat >>conftest.
$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39454 #define $ac_func innocuous_$ac_func
39456 /* System header to define __stub macros and hopefully few prototypes,
39457 which can conflict with char $ac_func (); below.
39458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39459 <limits.h> exists even on freestanding compilers. */
39462 # include <limits.h>
39464 # include <assert.h>
39469 /* Override any gcc2 internal prototype to avoid an error. */
39474 /* We use char because int might match the return type of a gcc2
39475 builtin and then its argument prototype would still apply. */
39477 /* The GNU C library defines this for functions which it implements
39478 to always fail with ENOSYS. Some functions are actually named
39479 something starting with __ and the normal name is an alias. */
39480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39483 char (*f) () = $ac_func;
39492 return f != $ac_func;
39497 rm -f conftest.
$ac_objext conftest
$ac_exeext
39498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39499 (eval $ac_link) 2>conftest.er1
39501 grep -v '^ *+' conftest.er1
>conftest.err
39503 cat conftest.err
>&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); } &&
39506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39508 (eval $ac_try) 2>&5
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); }; } &&
39512 { ac_try
='test -s conftest$ac_exeext'
39513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39514 (eval $ac_try) 2>&5
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); }; }; then
39518 eval "$as_ac_var=yes"
39520 echo "$as_me: failed program was:" >&5
39521 sed 's/^/| /' conftest.
$ac_ext >&5
39523 eval "$as_ac_var=no"
39525 rm -f conftest.err conftest.
$ac_objext \
39526 conftest
$ac_exeext conftest.
$ac_ext
39528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39530 if test `eval echo '${'$as_ac_var'}'` = yes; then
39531 cat >>confdefs.h
<<_ACEOF
39532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39534 cat >>confdefs.h
<<\_ACEOF
39535 #define HAVE_GETSERVBYNAME 1
39543 if test "$wxUSE_THREADS" = "yes"; then
39544 cat >>confdefs.h
<<\_ACEOF
39545 #define wxUSE_THREADS 1
39549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39551 if test "$ac_cv_func_strtok_r" = "yes"; then
39552 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39553 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39554 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39555 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39556 echo "$as_me:$LINENO: result: yes" >&5
39557 echo "${ECHO_T}yes" >&6
39559 echo "$as_me:$LINENO: result: no" >&5
39560 echo "${ECHO_T}no" >&6
39565 if test "$WXGTK20" = 1 ; then
39566 cat >>confdefs.h
<<_ACEOF
39567 #define __WXGTK20__ $WXGTK20
39573 if test "$WXGTK12" = 1 ; then
39574 cat >>confdefs.h
<<_ACEOF
39575 #define __WXGTK12__ $WXGTK12
39580 if test "$WXGTK127" = 1 ; then
39581 cat >>confdefs.h
<<_ACEOF
39582 #define __WXGTK127__ $WXGTK127
39587 if test "$WXGPE" = 1 ; then
39588 cat >>confdefs.h
<<_ACEOF
39589 #define __WXGPE__ $WXGPE
39595 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39600 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39601 wxUSE_DEBUG_INFO
=yes
39602 if test "$GCC" = yes; then
39603 DEBUG_CFLAGS
="-ggdb"
39607 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39608 cat >>confdefs.h
<<\_ACEOF
39612 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39614 if test "$wxUSE_GTK" = 1 ; then
39615 if test "x$wxGTK_VERSION" = "x1" ; then
39616 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39621 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39622 cat >>confdefs.h
<<\_ACEOF
39623 #define wxUSE_MEMORY_TRACING 1
39626 cat >>confdefs.h
<<\_ACEOF
39627 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39630 cat >>confdefs.h
<<\_ACEOF
39631 #define wxUSE_DEBUG_NEW_ALWAYS 1
39634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39637 if test "$wxUSE_DMALLOC" = "yes" ; then
39638 DMALLOC_LIBS
="-ldmallocthcxx"
39642 if test "$wxUSE_PROFILE" = "yes" ; then
39643 PROFILE_FLAGS
=" -pg"
39646 if test "$GCC" = "yes" ; then
39647 if test "$wxUSE_NO_RTTI" = "yes" ; then
39648 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39650 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39651 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39653 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39654 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39659 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39662 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39668 if test "$wxUSE_OPTIMISE" = "no" ; then
39669 if test "$GCC" = yes ; then
39670 OPTIMISE_CFLAGS
="-O0"
39673 if test "$GCC" = yes ; then
39675 *-pc-os2_emx | *-pc-os2-emx )
39676 OPTIMISE_CFLAGS
="-O2"
39679 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
39683 OPTIMISE_CFLAGS
="-O"
39688 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39689 cat >>confdefs.h
<<\_ACEOF
39690 #define WXWIN_COMPATIBILITY_2_4 1
39694 WXWIN_COMPATIBILITY_2_6
="yes"
39697 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39698 cat >>confdefs.h
<<\_ACEOF
39699 #define WXWIN_COMPATIBILITY_2_6 1
39705 if test "$wxUSE_GUI" = "yes"; then
39706 cat >>confdefs.h
<<\_ACEOF
39707 #define wxUSE_GUI 1
39714 if test "$wxUSE_UNIX" = "yes"; then
39715 cat >>confdefs.h
<<\_ACEOF
39716 #define wxUSE_UNIX 1
39722 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39726 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39727 if test "$USE_DARWIN" = 1; then
39729 elif test "$USE_DOS" = 1; then
39733 for ac_func
in dlopen
39735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39736 echo "$as_me:$LINENO: checking for $ac_func" >&5
39737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39738 if eval "test \"\${$as_ac_var+set}\" = set"; then
39739 echo $ECHO_N "(cached) $ECHO_C" >&6
39741 cat >conftest.
$ac_ext <<_ACEOF
39744 cat confdefs.h
>>conftest.
$ac_ext
39745 cat >>conftest.
$ac_ext <<_ACEOF
39746 /* end confdefs.h. */
39747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39749 #define $ac_func innocuous_$ac_func
39751 /* System header to define __stub macros and hopefully few prototypes,
39752 which can conflict with char $ac_func (); below.
39753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39754 <limits.h> exists even on freestanding compilers. */
39757 # include <limits.h>
39759 # include <assert.h>
39764 /* Override any gcc2 internal prototype to avoid an error. */
39769 /* We use char because int might match the return type of a gcc2
39770 builtin and then its argument prototype would still apply. */
39772 /* The GNU C library defines this for functions which it implements
39773 to always fail with ENOSYS. Some functions are actually named
39774 something starting with __ and the normal name is an alias. */
39775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39778 char (*f) () = $ac_func;
39787 return f != $ac_func;
39792 rm -f conftest.
$ac_objext conftest
$ac_exeext
39793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39794 (eval $ac_link) 2>conftest.er1
39796 grep -v '^ *+' conftest.er1
>conftest.err
39798 cat conftest.err
>&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } &&
39801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39803 (eval $ac_try) 2>&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); }; } &&
39807 { ac_try
='test -s conftest$ac_exeext'
39808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39809 (eval $ac_try) 2>&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); }; }; then
39813 eval "$as_ac_var=yes"
39815 echo "$as_me: failed program was:" >&5
39816 sed 's/^/| /' conftest.
$ac_ext >&5
39818 eval "$as_ac_var=no"
39820 rm -f conftest.err conftest.
$ac_objext \
39821 conftest
$ac_exeext conftest.
$ac_ext
39823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39825 if test `eval echo '${'$as_ac_var'}'` = yes; then
39826 cat >>confdefs.h
<<_ACEOF
39827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39830 cat >>confdefs.h
<<\_ACEOF
39831 #define HAVE_DLOPEN 1
39838 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39839 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39840 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39841 echo $ECHO_N "(cached) $ECHO_C" >&6
39843 ac_check_lib_save_LIBS
=$LIBS
39845 cat >conftest.
$ac_ext <<_ACEOF
39848 cat confdefs.h
>>conftest.
$ac_ext
39849 cat >>conftest.
$ac_ext <<_ACEOF
39850 /* end confdefs.h. */
39852 /* Override any gcc2 internal prototype to avoid an error. */
39856 /* We use char because int might match the return type of a gcc2
39857 builtin and then its argument prototype would still apply. */
39867 rm -f conftest.
$ac_objext conftest
$ac_exeext
39868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39869 (eval $ac_link) 2>conftest.er1
39871 grep -v '^ *+' conftest.er1
>conftest.err
39873 cat conftest.err
>&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); } &&
39876 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39878 (eval $ac_try) 2>&5
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); }; } &&
39882 { ac_try
='test -s conftest$ac_exeext'
39883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39884 (eval $ac_try) 2>&5
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); }; }; then
39888 ac_cv_lib_dl_dlopen
=yes
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.
$ac_ext >&5
39893 ac_cv_lib_dl_dlopen
=no
39895 rm -f conftest.err conftest.
$ac_objext \
39896 conftest
$ac_exeext conftest.
$ac_ext
39897 LIBS
=$ac_check_lib_save_LIBS
39899 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39900 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39901 if test $ac_cv_lib_dl_dlopen = yes; then
39903 cat >>confdefs.h
<<\_ACEOF
39904 #define HAVE_DLOPEN 1
39908 DL_LINK
=" -ldl$DL_LINK"
39913 for ac_func
in shl_load
39915 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39916 echo "$as_me:$LINENO: checking for $ac_func" >&5
39917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39918 if eval "test \"\${$as_ac_var+set}\" = set"; then
39919 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 cat >conftest.
$ac_ext <<_ACEOF
39924 cat confdefs.h
>>conftest.
$ac_ext
39925 cat >>conftest.
$ac_ext <<_ACEOF
39926 /* end confdefs.h. */
39927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39929 #define $ac_func innocuous_$ac_func
39931 /* System header to define __stub macros and hopefully few prototypes,
39932 which can conflict with char $ac_func (); below.
39933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39934 <limits.h> exists even on freestanding compilers. */
39937 # include <limits.h>
39939 # include <assert.h>
39944 /* Override any gcc2 internal prototype to avoid an error. */
39949 /* We use char because int might match the return type of a gcc2
39950 builtin and then its argument prototype would still apply. */
39952 /* The GNU C library defines this for functions which it implements
39953 to always fail with ENOSYS. Some functions are actually named
39954 something starting with __ and the normal name is an alias. */
39955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39958 char (*f) () = $ac_func;
39967 return f != $ac_func;
39972 rm -f conftest.
$ac_objext conftest
$ac_exeext
39973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39974 (eval $ac_link) 2>conftest.er1
39976 grep -v '^ *+' conftest.er1
>conftest.err
39978 cat conftest.err
>&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } &&
39981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39983 (eval $ac_try) 2>&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); }; } &&
39987 { ac_try
='test -s conftest$ac_exeext'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; }; then
39993 eval "$as_ac_var=yes"
39995 echo "$as_me: failed program was:" >&5
39996 sed 's/^/| /' conftest.
$ac_ext >&5
39998 eval "$as_ac_var=no"
40000 rm -f conftest.err conftest.
$ac_objext \
40001 conftest
$ac_exeext conftest.
$ac_ext
40003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40005 if test `eval echo '${'$as_ac_var'}'` = yes; then
40006 cat >>confdefs.h
<<_ACEOF
40007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40010 cat >>confdefs.h
<<\_ACEOF
40011 #define HAVE_SHL_LOAD 1
40018 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40019 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40020 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40021 echo $ECHO_N "(cached) $ECHO_C" >&6
40023 ac_check_lib_save_LIBS
=$LIBS
40024 LIBS
="-lshl_load $LIBS"
40025 cat >conftest.
$ac_ext <<_ACEOF
40028 cat confdefs.h
>>conftest.
$ac_ext
40029 cat >>conftest.
$ac_ext <<_ACEOF
40030 /* end confdefs.h. */
40032 /* Override any gcc2 internal prototype to avoid an error. */
40036 /* We use char because int might match the return type of a gcc2
40037 builtin and then its argument prototype would still apply. */
40047 rm -f conftest.
$ac_objext conftest
$ac_exeext
40048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40049 (eval $ac_link) 2>conftest.er1
40051 grep -v '^ *+' conftest.er1
>conftest.err
40053 cat conftest.err
>&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } &&
40056 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40058 (eval $ac_try) 2>&5
40060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40061 (exit $ac_status); }; } &&
40062 { ac_try
='test -s conftest$ac_exeext'
40063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40064 (eval $ac_try) 2>&5
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); }; }; then
40068 ac_cv_lib_shl_load_dld
=yes
40070 echo "$as_me: failed program was:" >&5
40071 sed 's/^/| /' conftest.
$ac_ext >&5
40073 ac_cv_lib_shl_load_dld
=no
40075 rm -f conftest.err conftest.
$ac_objext \
40076 conftest
$ac_exeext conftest.
$ac_ext
40077 LIBS
=$ac_check_lib_save_LIBS
40079 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40080 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40081 if test $ac_cv_lib_shl_load_dld = yes; then
40084 DL_LINK
=" -ldld$DL_LINK"
40100 if test "$HAVE_DL_FUNCS" = 1; then
40102 for ac_func
in dlerror
40104 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40105 echo "$as_me:$LINENO: checking for $ac_func" >&5
40106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40107 if eval "test \"\${$as_ac_var+set}\" = set"; then
40108 echo $ECHO_N "(cached) $ECHO_C" >&6
40110 cat >conftest.
$ac_ext <<_ACEOF
40113 cat confdefs.h
>>conftest.
$ac_ext
40114 cat >>conftest.
$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40118 #define $ac_func innocuous_$ac_func
40120 /* System header to define __stub macros and hopefully few prototypes,
40121 which can conflict with char $ac_func (); below.
40122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40123 <limits.h> exists even on freestanding compilers. */
40126 # include <limits.h>
40128 # include <assert.h>
40133 /* Override any gcc2 internal prototype to avoid an error. */
40138 /* We use char because int might match the return type of a gcc2
40139 builtin and then its argument prototype would still apply. */
40141 /* The GNU C library defines this for functions which it implements
40142 to always fail with ENOSYS. Some functions are actually named
40143 something starting with __ and the normal name is an alias. */
40144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40147 char (*f) () = $ac_func;
40156 return f != $ac_func;
40161 rm -f conftest.
$ac_objext conftest
$ac_exeext
40162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40163 (eval $ac_link) 2>conftest.er1
40165 grep -v '^ *+' conftest.er1
>conftest.err
40167 cat conftest.err
>&5
40168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40169 (exit $ac_status); } &&
40170 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40172 (eval $ac_try) 2>&5
40174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40175 (exit $ac_status); }; } &&
40176 { ac_try
='test -s conftest$ac_exeext'
40177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40178 (eval $ac_try) 2>&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); }; }; then
40182 eval "$as_ac_var=yes"
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.
$ac_ext >&5
40187 eval "$as_ac_var=no"
40189 rm -f conftest.err conftest.
$ac_objext \
40190 conftest
$ac_exeext conftest.
$ac_ext
40192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40194 if test `eval echo '${'$as_ac_var'}'` = yes; then
40195 cat >>confdefs.h
<<_ACEOF
40196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40198 cat >>confdefs.h
<<\_ACEOF
40199 #define HAVE_DLERROR 1
40204 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40205 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40206 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40209 ac_check_lib_save_LIBS
=$LIBS
40211 cat >conftest.
$ac_ext <<_ACEOF
40214 cat confdefs.h
>>conftest.
$ac_ext
40215 cat >>conftest.
$ac_ext <<_ACEOF
40216 /* end confdefs.h. */
40218 /* Override any gcc2 internal prototype to avoid an error. */
40222 /* We use char because int might match the return type of a gcc2
40223 builtin and then its argument prototype would still apply. */
40233 rm -f conftest.
$ac_objext conftest
$ac_exeext
40234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40235 (eval $ac_link) 2>conftest.er1
40237 grep -v '^ *+' conftest.er1
>conftest.err
40239 cat conftest.err
>&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); } &&
40242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40244 (eval $ac_try) 2>&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); }; } &&
40248 { ac_try
='test -s conftest$ac_exeext'
40249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40250 (eval $ac_try) 2>&5
40252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40253 (exit $ac_status); }; }; then
40254 ac_cv_lib_dl_dlerror
=yes
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.
$ac_ext >&5
40259 ac_cv_lib_dl_dlerror
=no
40261 rm -f conftest.err conftest.
$ac_objext \
40262 conftest
$ac_exeext conftest.
$ac_ext
40263 LIBS
=$ac_check_lib_save_LIBS
40265 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40266 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40267 if test $ac_cv_lib_dl_dlerror = yes; then
40268 cat >>confdefs.h
<<\_ACEOF
40269 #define HAVE_DLERROR 1
40282 if test "$HAVE_DL_FUNCS" = 0; then
40283 if test "$HAVE_SHL_FUNCS" = 0; then
40284 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40285 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40286 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40287 wxUSE_DYNAMIC_LOADER
=no
40288 wxUSE_DYNLIB_CLASS
=no
40290 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40291 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40298 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40299 cat >>confdefs.h
<<\_ACEOF
40300 #define wxUSE_DYNAMIC_LOADER 1
40304 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40305 cat >>confdefs.h
<<\_ACEOF
40306 #define wxUSE_DYNLIB_CLASS 1
40313 if test "$wxUSE_PLUGINS" = "yes" ; then
40314 if test "$wxUSE_SHARED" = "no" ; then
40315 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40316 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40319 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40320 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40321 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40324 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40325 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40326 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40329 if test "$wxUSE_PLUGINS" = "yes" ; then
40330 cat >>confdefs.h
<<\_ACEOF
40331 #define wxUSE_PLUGINS 1
40338 if test "$wxUSE_STL" = "yes"; then
40339 cat >>confdefs.h
<<\_ACEOF
40340 #define wxUSE_STL 1
40345 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40346 cat >>confdefs.h
<<\_ACEOF
40347 #define wxUSE_APPLE_IEEE 1
40352 if test "$wxUSE_TIMER" = "yes"; then
40353 cat >>confdefs.h
<<\_ACEOF
40354 #define wxUSE_TIMER 1
40359 if test "$USE_UNIX" = "1" ; then
40360 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40361 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40362 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40366 cat >conftest.
$ac_ext <<_ACEOF
40369 cat confdefs.h
>>conftest.
$ac_ext
40370 cat >>conftest.
$ac_ext <<_ACEOF
40371 /* end confdefs.h. */
40373 #include <sys/soundcard.h>
40379 ioctl(0, SNDCTL_DSP_SYNC, 0);
40385 rm -f conftest.
$ac_objext conftest
$ac_exeext
40386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40387 (eval $ac_link) 2>conftest.er1
40389 grep -v '^ *+' conftest.er1
>conftest.err
40391 cat conftest.err
>&5
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); } &&
40394 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; } &&
40400 { ac_try
='test -s conftest$ac_exeext'
40401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40402 (eval $ac_try) 2>&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); }; }; then
40406 ac_cv_header_sys_soundcard
=yes
40408 echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.
$ac_ext >&5
40413 LIBS
="$saveLibs -lossaudio"
40414 cat >conftest.
$ac_ext <<_ACEOF
40417 cat confdefs.h
>>conftest.
$ac_ext
40418 cat >>conftest.
$ac_ext <<_ACEOF
40419 /* end confdefs.h. */
40421 #include <sys/soundcard.h>
40427 ioctl(0, SNDCTL_DSP_SYNC, 0);
40433 rm -f conftest.
$ac_objext conftest
$ac_exeext
40434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40435 (eval $ac_link) 2>conftest.er1
40437 grep -v '^ *+' conftest.er1
>conftest.err
40439 cat conftest.err
>&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); } &&
40442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40444 (eval $ac_try) 2>&5
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); }; } &&
40448 { ac_try
='test -s conftest$ac_exeext'
40449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40450 (eval $ac_try) 2>&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; }; then
40454 ac_cv_header_sys_soundcard
=yes
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.
$ac_ext >&5
40461 ac_cv_header_sys_soundcard
=no
40465 rm -f conftest.err conftest.
$ac_objext \
40466 conftest
$ac_exeext conftest.
$ac_ext
40470 rm -f conftest.err conftest.
$ac_objext \
40471 conftest
$ac_exeext conftest.
$ac_ext
40474 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40475 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40477 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40478 cat >>confdefs.h
<<\_ACEOF
40479 #define HAVE_SYS_SOUNDCARD_H 1
40483 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40487 if test "$wxUSE_SOUND" = "yes"; then
40488 if test "$USE_UNIX" = "1" ; then
40489 if test "$wxUSE_LIBSDL" != "no"; then
40491 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40492 if test "${with_sdl_prefix+set}" = set; then
40493 withval
="$with_sdl_prefix"
40494 sdl_prefix
="$withval"
40499 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40500 if test "${with_sdl_exec_prefix+set}" = set; then
40501 withval
="$with_sdl_exec_prefix"
40502 sdl_exec_prefix
="$withval"
40506 # Check whether --enable-sdltest or --disable-sdltest was given.
40507 if test "${enable_sdltest+set}" = set; then
40508 enableval
="$enable_sdltest"
40514 if test x
$sdl_exec_prefix != x
; then
40515 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40516 if test x
${SDL_CONFIG+set} != xset
; then
40517 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40520 if test x
$sdl_prefix != x
; then
40521 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40522 if test x
${SDL_CONFIG+set} != xset
; then
40523 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40528 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40529 # Extract the first word of "sdl-config", so it can be a program name with args.
40530 set dummy sdl
-config; ac_word
=$2
40531 echo "$as_me:$LINENO: checking for $ac_word" >&5
40532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40533 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40534 echo $ECHO_N "(cached) $ECHO_C" >&6
40536 case $SDL_CONFIG in
40538 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40542 for as_dir
in $PATH
40545 test -z "$as_dir" && as_dir
=.
40546 for ac_exec_ext
in '' $ac_executable_extensions; do
40547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40548 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40555 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40559 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40561 if test -n "$SDL_CONFIG"; then
40562 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40563 echo "${ECHO_T}$SDL_CONFIG" >&6
40565 echo "$as_me:$LINENO: result: no" >&5
40566 echo "${ECHO_T}no" >&6
40569 min_sdl_version
=1.2.0
40570 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40571 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40573 if test "$SDL_CONFIG" = "no" ; then
40576 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40577 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40579 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40581 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40583 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40585 if test "x$enable_sdltest" = "xyes" ; then
40586 ac_save_CFLAGS
="$CFLAGS"
40587 ac_save_CXXFLAGS
="$CXXFLAGS"
40588 ac_save_LIBS
="$LIBS"
40589 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40590 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40591 LIBS
="$LIBS $SDL_LIBS"
40593 if test "$cross_compiling" = yes; then
40594 echo $ac_n "cross compiling; assumed OK... $ac_c"
40596 cat >conftest.
$ac_ext <<_ACEOF
40599 cat confdefs.h
>>conftest.
$ac_ext
40600 cat >>conftest.
$ac_ext <<_ACEOF
40601 /* end confdefs.h. */
40604 #include <stdlib.h>
40605 #include <string.h>
40609 my_strdup (char *str)
40615 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40616 strcpy (new_str, str);
40624 int main (int argc, char *argv[])
40626 int major, minor, micro;
40629 /* This hangs on some systems (?)
40630 system ("touch conf.sdltest");
40632 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40634 /* HP/UX 9 (%@#!) writes to sscanf strings */
40635 tmp_version = my_strdup("$min_sdl_version");
40636 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40637 printf("%s, bad version string\n", "$min_sdl_version");
40641 if (($sdl_major_version > major) ||
40642 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40643 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40649 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40650 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40651 printf("*** best to upgrade to the required version.\n");
40652 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40653 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40654 printf("*** config.cache before re-running configure\n");
40661 rm -f conftest
$ac_exeext
40662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40663 (eval $ac_link) 2>&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40668 (eval $ac_try) 2>&5
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); }; }; then
40674 echo "$as_me: program exited with status $ac_status" >&5
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.
$ac_ext >&5
40678 ( exit $ac_status )
40681 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40683 CFLAGS
="$ac_save_CFLAGS"
40684 CXXFLAGS
="$ac_save_CXXFLAGS"
40685 LIBS
="$ac_save_LIBS"
40688 if test "x$no_sdl" = x
; then
40689 echo "$as_me:$LINENO: result: yes" >&5
40690 echo "${ECHO_T}yes" >&6
40692 EXTRALIBS_SDL
="$SDL_LIBS"
40693 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40694 cat >>confdefs.h
<<\_ACEOF
40695 #define wxUSE_LIBSDL 1
40700 echo "$as_me:$LINENO: result: no" >&5
40701 echo "${ECHO_T}no" >&6
40702 if test "$SDL_CONFIG" = "no" ; then
40703 echo "*** The sdl-config script installed by SDL could not be found"
40704 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40705 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40706 echo "*** full path to sdl-config."
40708 if test -f conf.sdltest
; then
40711 echo "*** Could not run SDL test program, checking why..."
40712 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40713 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40714 LIBS
="$LIBS $SDL_LIBS"
40715 cat >conftest.
$ac_ext <<_ACEOF
40718 cat confdefs.h
>>conftest.
$ac_ext
40719 cat >>conftest.
$ac_ext <<_ACEOF
40720 /* end confdefs.h. */
40725 int main(int argc, char *argv[])
40728 #define main K_and_R_C_main
40738 rm -f conftest.
$ac_objext conftest
$ac_exeext
40739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40740 (eval $ac_link) 2>conftest.er1
40742 grep -v '^ *+' conftest.er1
>conftest.err
40744 cat conftest.err
>&5
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); } &&
40747 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40749 (eval $ac_try) 2>&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); }; } &&
40753 { ac_try
='test -s conftest$ac_exeext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40759 echo "*** The test program compiled, but did not run. This usually means"
40760 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40761 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40762 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40763 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40764 echo "*** is required on your system"
40766 echo "*** If you have an old version installed, it is best to remove it, although"
40767 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40769 echo "$as_me: failed program was:" >&5
40770 sed 's/^/| /' conftest.
$ac_ext >&5
40772 echo "*** The test program failed to compile or link. See the file config.log for the"
40773 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40774 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40775 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40777 rm -f conftest.err conftest.
$ac_objext \
40778 conftest
$ac_exeext conftest.
$ac_ext
40779 CFLAGS
="$ac_save_CFLAGS"
40780 CXXFLAGS
="$ac_save_CXXFLAGS"
40781 LIBS
="$ac_save_LIBS"
40792 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40798 cat >>confdefs.h
<<\_ACEOF
40799 #define wxUSE_SOUND 1
40802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40805 if test "$WXGTK20" = 1; then
40806 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40807 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40812 if test -z "$PKG_CONFIG"; then
40813 # Extract the first word of "pkg-config", so it can be a program name with args.
40814 set dummy pkg
-config; ac_word
=$2
40815 echo "$as_me:$LINENO: checking for $ac_word" >&5
40816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40817 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40818 echo $ECHO_N "(cached) $ECHO_C" >&6
40820 case $PKG_CONFIG in
40822 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40826 for as_dir
in $PATH
40829 test -z "$as_dir" && as_dir
=.
40830 for ac_exec_ext
in '' $ac_executable_extensions; do
40831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40832 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40839 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40843 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40845 if test -n "$PKG_CONFIG"; then
40846 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40847 echo "${ECHO_T}$PKG_CONFIG" >&6
40849 echo "$as_me:$LINENO: result: no" >&5
40850 echo "${ECHO_T}no" >&6
40855 if test "$PKG_CONFIG" = "no" ; then
40856 echo "*** The pkg-config script could not be found. Make sure it is"
40857 echo "*** in your path, or set the PKG_CONFIG environment variable"
40858 echo "*** to the full path to pkg-config."
40859 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40861 PKG_CONFIG_MIN_VERSION
=0.9.0
40862 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40863 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40864 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40866 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40867 echo "$as_me:$LINENO: result: yes" >&5
40868 echo "${ECHO_T}yes" >&6
40871 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40872 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40873 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40874 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40875 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40877 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40878 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40879 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40880 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40881 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40883 LIBGNOMEPRINTUI_CFLAGS
=""
40884 LIBGNOMEPRINTUI_LIBS
=""
40885 ## If we have a custom action on failure, don't print errors, but
40886 ## do set a variable so people can do so.
40887 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40894 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40895 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40899 if test $succeeded = yes; then
40901 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40902 cat >>confdefs.h
<<\_ACEOF
40903 #define wxUSE_LIBGNOMEPRINT 1
40909 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40910 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40911 wxUSE_LIBGNOMEPRINT
="no"
40920 if test "$WXGTK20" = 1; then
40921 if test "$wxUSE_MIMETYPE" = "yes" ; then
40922 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
40927 if test -z "$PKG_CONFIG"; then
40928 # Extract the first word of "pkg-config", so it can be a program name with args.
40929 set dummy pkg
-config; ac_word
=$2
40930 echo "$as_me:$LINENO: checking for $ac_word" >&5
40931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40933 echo $ECHO_N "(cached) $ECHO_C" >&6
40935 case $PKG_CONFIG in
40937 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40941 for as_dir
in $PATH
40944 test -z "$as_dir" && as_dir
=.
40945 for ac_exec_ext
in '' $ac_executable_extensions; do
40946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40947 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40954 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40958 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40960 if test -n "$PKG_CONFIG"; then
40961 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40962 echo "${ECHO_T}$PKG_CONFIG" >&6
40964 echo "$as_me:$LINENO: result: no" >&5
40965 echo "${ECHO_T}no" >&6
40970 if test "$PKG_CONFIG" = "no" ; then
40971 echo "*** The pkg-config script could not be found. Make sure it is"
40972 echo "*** in your path, or set the PKG_CONFIG environment variable"
40973 echo "*** to the full path to pkg-config."
40974 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40976 PKG_CONFIG_MIN_VERSION
=0.9.0
40977 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40978 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
40979 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
40981 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
40982 echo "$as_me:$LINENO: result: yes" >&5
40983 echo "${ECHO_T}yes" >&6
40986 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
40987 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
40988 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
40989 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
40990 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
40992 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
40993 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
40994 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
40995 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
40996 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41000 ## If we have a custom action on failure, don't print errors, but
41001 ## do set a variable so people can do so.
41002 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41009 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41010 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41014 if test $succeeded = yes; then
41016 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41017 cat >>confdefs.h
<<\_ACEOF
41018 #define wxUSE_LIBGNOMEVFS 1
41024 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41025 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41026 wxUSE_LIBGNOMEVFS
="no"
41035 if test "$WXGTK20" = 1; then
41036 if test "$wxUSE_LIBHILDON" = "yes" ; then
41040 if test -z "$PKG_CONFIG"; then
41041 # Extract the first word of "pkg-config", so it can be a program name with args.
41042 set dummy pkg
-config; ac_word
=$2
41043 echo "$as_me:$LINENO: checking for $ac_word" >&5
41044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41045 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41046 echo $ECHO_N "(cached) $ECHO_C" >&6
41048 case $PKG_CONFIG in
41050 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41054 for as_dir
in $PATH
41057 test -z "$as_dir" && as_dir
=.
41058 for ac_exec_ext
in '' $ac_executable_extensions; do
41059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41060 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41067 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41071 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41073 if test -n "$PKG_CONFIG"; then
41074 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41075 echo "${ECHO_T}$PKG_CONFIG" >&6
41077 echo "$as_me:$LINENO: result: no" >&5
41078 echo "${ECHO_T}no" >&6
41083 if test "$PKG_CONFIG" = "no" ; then
41084 echo "*** The pkg-config script could not be found. Make sure it is"
41085 echo "*** in your path, or set the PKG_CONFIG environment variable"
41086 echo "*** to the full path to pkg-config."
41087 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41089 PKG_CONFIG_MIN_VERSION
=0.9.0
41090 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41091 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41092 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41094 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41095 echo "$as_me:$LINENO: result: yes" >&5
41096 echo "${ECHO_T}yes" >&6
41099 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41100 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41101 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41102 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41103 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41105 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41106 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41107 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41108 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41109 echo "${ECHO_T}$HILDON_LIBS" >&6
41113 ## If we have a custom action on failure, don't print errors, but
41114 ## do set a variable so people can do so.
41115 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41122 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41123 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41127 if test $succeeded = yes; then
41129 EXTRALIBS_HILDON
="$HILDON_LIBS"
41130 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41131 cat >>confdefs.h
<<\_ACEOF
41132 #define wxUSE_LIBHILDON 1
41138 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41139 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41140 wxUSE_LIBHILDON
="no"
41148 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41149 cat >>confdefs.h
<<\_ACEOF
41150 #define wxUSE_CMDLINE_PARSER 1
41155 if test "$wxUSE_STOPWATCH" = "yes"; then
41156 cat >>confdefs.h
<<\_ACEOF
41157 #define wxUSE_STOPWATCH 1
41162 if test "$wxUSE_DATETIME" = "yes"; then
41163 cat >>confdefs.h
<<\_ACEOF
41164 #define wxUSE_DATETIME 1
41169 if test "$wxUSE_FILE" = "yes"; then
41170 cat >>confdefs.h
<<\_ACEOF
41171 #define wxUSE_FILE 1
41176 if test "$wxUSE_FFILE" = "yes"; then
41177 cat >>confdefs.h
<<\_ACEOF
41178 #define wxUSE_FFILE 1
41183 if test "$wxUSE_FILESYSTEM" = "yes"; then
41184 cat >>confdefs.h
<<\_ACEOF
41185 #define wxUSE_FILESYSTEM 1
41190 if test "$wxUSE_FS_ZIP" = "yes"; then
41191 cat >>confdefs.h
<<\_ACEOF
41192 #define wxUSE_FS_ZIP 1
41197 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41198 cat >>confdefs.h
<<\_ACEOF
41199 #define wxUSE_ARCHIVE_STREAMS 1
41204 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41205 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41206 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41207 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41208 elif test "$wxUSE_ZLIB" = "no"; then
41209 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41210 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41212 cat >>confdefs.h
<<\_ACEOF
41213 #define wxUSE_ZIPSTREAM 1
41219 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41220 if test "$USE_UNIX" != 1; then
41221 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41222 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41223 wxUSE_ON_FATAL_EXCEPTION
=no
41225 cat >>confdefs.h
<<\_ACEOF
41226 #define wxUSE_ON_FATAL_EXCEPTION 1
41232 if test "$wxUSE_STACKWALKER" = "yes"; then
41233 cat >>confdefs.h
<<\_ACEOF
41234 #define wxUSE_STACKWALKER 1
41239 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41240 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41241 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41242 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41243 wxUSE_DEBUGREPORT
=no
41245 cat >>confdefs.h
<<\_ACEOF
41246 #define wxUSE_DEBUGREPORT 1
41249 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41255 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41256 cat >>confdefs.h
<<\_ACEOF
41257 #define wxUSE_SNGLINST_CHECKER 1
41262 if test "$wxUSE_BUSYINFO" = "yes"; then
41263 cat >>confdefs.h
<<\_ACEOF
41264 #define wxUSE_BUSYINFO 1
41269 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41270 cat >>confdefs.h
<<\_ACEOF
41271 #define wxUSE_STD_IOSTREAM 1
41276 if test "$wxUSE_STD_STRING" = "yes"; then
41277 cat >>confdefs.h
<<\_ACEOF
41278 #define wxUSE_STD_STRING 1
41283 if test "$wxUSE_STDPATHS" = "yes"; then
41284 cat >>confdefs.h
<<\_ACEOF
41285 #define wxUSE_STDPATHS 1
41290 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41291 cat >>confdefs.h
<<\_ACEOF
41292 #define wxUSE_TEXTBUFFER 1
41297 if test "$wxUSE_TEXTFILE" = "yes"; then
41298 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41299 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41300 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41302 cat >>confdefs.h
<<\_ACEOF
41303 #define wxUSE_TEXTFILE 1
41309 if test "$wxUSE_CONFIG" = "yes" ; then
41310 if test "$wxUSE_TEXTFILE" != "yes"; then
41311 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41312 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41314 cat >>confdefs.h
<<\_ACEOF
41315 #define wxUSE_CONFIG 1
41318 cat >>confdefs.h
<<\_ACEOF
41319 #define wxUSE_CONFIG_NATIVE 1
41322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41326 if test "$wxUSE_INTL" = "yes" ; then
41327 if test "$wxUSE_FILE" != "yes"; then
41328 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41329 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41331 cat >>confdefs.h
<<\_ACEOF
41332 #define wxUSE_INTL 1
41335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41336 GUIDIST
="$GUIDIST INTL_DIST"
41340 if test "$wxUSE_LOG" = "yes"; then
41341 cat >>confdefs.h
<<\_ACEOF
41342 #define wxUSE_LOG 1
41346 if test "$wxUSE_LOGGUI" = "yes"; then
41347 cat >>confdefs.h
<<\_ACEOF
41348 #define wxUSE_LOGGUI 1
41353 if test "$wxUSE_LOGWINDOW" = "yes"; then
41354 cat >>confdefs.h
<<\_ACEOF
41355 #define wxUSE_LOGWINDOW 1
41360 if test "$wxUSE_LOGDIALOG" = "yes"; then
41361 cat >>confdefs.h
<<\_ACEOF
41362 #define wxUSE_LOG_DIALOG 1
41367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41370 if test "$wxUSE_LONGLONG" = "yes"; then
41371 cat >>confdefs.h
<<\_ACEOF
41372 #define wxUSE_LONGLONG 1
41377 if test "$wxUSE_GEOMETRY" = "yes"; then
41378 cat >>confdefs.h
<<\_ACEOF
41379 #define wxUSE_GEOMETRY 1
41384 if test "$wxUSE_STREAMS" = "yes" ; then
41385 cat >>confdefs.h
<<\_ACEOF
41386 #define wxUSE_STREAMS 1
41392 if test "$wxUSE_DATETIME" = "yes"; then
41394 for ac_func
in strptime
41396 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41397 echo "$as_me:$LINENO: checking for $ac_func" >&5
41398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41399 if eval "test \"\${$as_ac_var+set}\" = set"; then
41400 echo $ECHO_N "(cached) $ECHO_C" >&6
41402 cat >conftest.
$ac_ext <<_ACEOF
41405 cat confdefs.h
>>conftest.
$ac_ext
41406 cat >>conftest.
$ac_ext <<_ACEOF
41407 /* end confdefs.h. */
41408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41410 #define $ac_func innocuous_$ac_func
41412 /* System header to define __stub macros and hopefully few prototypes,
41413 which can conflict with char $ac_func (); below.
41414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41415 <limits.h> exists even on freestanding compilers. */
41418 # include <limits.h>
41420 # include <assert.h>
41425 /* Override any gcc2 internal prototype to avoid an error. */
41430 /* We use char because int might match the return type of a gcc2
41431 builtin and then its argument prototype would still apply. */
41433 /* The GNU C library defines this for functions which it implements
41434 to always fail with ENOSYS. Some functions are actually named
41435 something starting with __ and the normal name is an alias. */
41436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41439 char (*f) () = $ac_func;
41448 return f != $ac_func;
41453 rm -f conftest.
$ac_objext conftest
$ac_exeext
41454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41455 (eval $ac_link) 2>conftest.er1
41457 grep -v '^ *+' conftest.er1
>conftest.err
41459 cat conftest.err
>&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } &&
41462 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; } &&
41468 { ac_try
='test -s conftest$ac_exeext'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; }; then
41474 eval "$as_ac_var=yes"
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.
$ac_ext >&5
41479 eval "$as_ac_var=no"
41481 rm -f conftest.err conftest.
$ac_objext \
41482 conftest
$ac_exeext conftest.
$ac_ext
41484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41486 if test `eval echo '${'$as_ac_var'}'` = yes; then
41487 cat >>confdefs.h
<<_ACEOF
41488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41494 if test "$ac_cv_func_strptime" = "yes"; then
41495 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41496 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41497 if test "${wx_cv_func_strptime_decl+set}" = set; then
41498 echo $ECHO_N "(cached) $ECHO_C" >&6
41501 cat >conftest.
$ac_ext <<_ACEOF
41504 cat confdefs.h
>>conftest.
$ac_ext
41505 cat >>conftest.
$ac_ext <<_ACEOF
41506 /* end confdefs.h. */
41515 strptime("foo", "bar", &t);
41521 rm -f conftest.
$ac_objext
41522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41523 (eval $ac_compile) 2>conftest.er1
41525 grep -v '^ *+' conftest.er1
>conftest.err
41527 cat conftest.err
>&5
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); } &&
41530 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41532 (eval $ac_try) 2>&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; } &&
41536 { ac_try
='test -s conftest.$ac_objext'
41537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41538 (eval $ac_try) 2>&5
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; }; then
41542 wx_cv_func_strptime_decl
=yes
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.
$ac_ext >&5
41547 wx_cv_func_strptime_decl
=no
41550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41554 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41555 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41557 if test "$wx_cv_func_strptime_decl" = "yes"; then
41558 cat >>confdefs.h
<<\_ACEOF
41559 #define HAVE_STRPTIME_DECL 1
41564 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41565 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41566 if test "${wx_cv_var_timezone+set}" = set; then
41567 echo $ECHO_N "(cached) $ECHO_C" >&6
41570 cat >conftest.
$ac_ext <<_ACEOF
41573 cat confdefs.h
>>conftest.
$ac_ext
41574 cat >>conftest.
$ac_ext <<_ACEOF
41575 /* end confdefs.h. */
41590 rm -f conftest.
$ac_objext
41591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41592 (eval $ac_compile) 2>conftest.er1
41594 grep -v '^ *+' conftest.er1
>conftest.err
41596 cat conftest.err
>&5
41597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41598 (exit $ac_status); } &&
41599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41601 (eval $ac_try) 2>&5
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); }; } &&
41605 { ac_try
='test -s conftest.$ac_objext'
41606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41607 (eval $ac_try) 2>&5
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); }; }; then
41612 wx_cv_var_timezone
=timezone
41615 echo "$as_me: failed program was:" >&5
41616 sed 's/^/| /' conftest.
$ac_ext >&5
41619 cat >conftest.
$ac_ext <<_ACEOF
41622 cat confdefs.h
>>conftest.
$ac_ext
41623 cat >>conftest.
$ac_ext <<_ACEOF
41624 /* end confdefs.h. */
41639 rm -f conftest.
$ac_objext
41640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41641 (eval $ac_compile) 2>conftest.er1
41643 grep -v '^ *+' conftest.er1
>conftest.err
41645 cat conftest.err
>&5
41646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41647 (exit $ac_status); } &&
41648 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41650 (eval $ac_try) 2>&5
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); }; } &&
41654 { ac_try
='test -s conftest.$ac_objext'
41655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41656 (eval $ac_try) 2>&5
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); }; }; then
41661 wx_cv_var_timezone
=_timezone
41664 echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.
$ac_ext >&5
41668 cat >conftest.
$ac_ext <<_ACEOF
41671 cat confdefs.h
>>conftest.
$ac_ext
41672 cat >>conftest.
$ac_ext <<_ACEOF
41673 /* end confdefs.h. */
41688 rm -f conftest.
$ac_objext
41689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41690 (eval $ac_compile) 2>conftest.er1
41692 grep -v '^ *+' conftest.er1
>conftest.err
41694 cat conftest.err
>&5
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } &&
41697 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41699 (eval $ac_try) 2>&5
41701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41702 (exit $ac_status); }; } &&
41703 { ac_try
='test -s conftest.$ac_objext'
41704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41705 (eval $ac_try) 2>&5
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); }; }; then
41710 wx_cv_var_timezone
=__timezone
41713 echo "$as_me: failed program was:" >&5
41714 sed 's/^/| /' conftest.
$ac_ext >&5
41717 if test "$USE_DOS" = 0 ; then
41718 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41719 echo "$as_me: WARNING: no timezone variable" >&2;}
41724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41736 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41737 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41739 if test "x$wx_cv_var_timezone" != x
; then
41740 cat >>confdefs.h
<<_ACEOF
41741 #define WX_TIMEZONE $wx_cv_var_timezone
41747 for ac_func
in localtime
41749 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41750 echo "$as_me:$LINENO: checking for $ac_func" >&5
41751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41752 if eval "test \"\${$as_ac_var+set}\" = set"; then
41753 echo $ECHO_N "(cached) $ECHO_C" >&6
41755 cat >conftest.
$ac_ext <<_ACEOF
41758 cat confdefs.h
>>conftest.
$ac_ext
41759 cat >>conftest.
$ac_ext <<_ACEOF
41760 /* end confdefs.h. */
41761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41763 #define $ac_func innocuous_$ac_func
41765 /* System header to define __stub macros and hopefully few prototypes,
41766 which can conflict with char $ac_func (); below.
41767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41768 <limits.h> exists even on freestanding compilers. */
41771 # include <limits.h>
41773 # include <assert.h>
41778 /* Override any gcc2 internal prototype to avoid an error. */
41783 /* We use char because int might match the return type of a gcc2
41784 builtin and then its argument prototype would still apply. */
41786 /* The GNU C library defines this for functions which it implements
41787 to always fail with ENOSYS. Some functions are actually named
41788 something starting with __ and the normal name is an alias. */
41789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41792 char (*f) () = $ac_func;
41801 return f != $ac_func;
41806 rm -f conftest.
$ac_objext conftest
$ac_exeext
41807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41808 (eval $ac_link) 2>conftest.er1
41810 grep -v '^ *+' conftest.er1
>conftest.err
41812 cat conftest.err
>&5
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); } &&
41815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41817 (eval $ac_try) 2>&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); }; } &&
41821 { ac_try
='test -s conftest$ac_exeext'
41822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41823 (eval $ac_try) 2>&5
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); }; }; then
41827 eval "$as_ac_var=yes"
41829 echo "$as_me: failed program was:" >&5
41830 sed 's/^/| /' conftest.
$ac_ext >&5
41832 eval "$as_ac_var=no"
41834 rm -f conftest.err conftest.
$ac_objext \
41835 conftest
$ac_exeext conftest.
$ac_ext
41837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41839 if test `eval echo '${'$as_ac_var'}'` = yes; then
41840 cat >>confdefs.h
<<_ACEOF
41841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41848 if test "$ac_cv_func_localtime" = "yes"; then
41849 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41850 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41851 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41852 echo $ECHO_N "(cached) $ECHO_C" >&6
41855 cat >conftest.
$ac_ext <<_ACEOF
41858 cat confdefs.h
>>conftest.
$ac_ext
41859 cat >>conftest.
$ac_ext <<_ACEOF
41860 /* end confdefs.h. */
41875 rm -f conftest.
$ac_objext
41876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41877 (eval $ac_compile) 2>conftest.er1
41879 grep -v '^ *+' conftest.er1
>conftest.err
41881 cat conftest.err
>&5
41882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41883 (exit $ac_status); } &&
41884 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41886 (eval $ac_try) 2>&5
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); }; } &&
41890 { ac_try
='test -s conftest.$ac_objext'
41891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41892 (eval $ac_try) 2>&5
41894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41895 (exit $ac_status); }; }; then
41897 wx_cv_struct_tm_has_gmtoff
=yes
41900 echo "$as_me: failed program was:" >&5
41901 sed 's/^/| /' conftest.
$ac_ext >&5
41903 wx_cv_struct_tm_has_gmtoff
=no
41906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41909 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41910 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41913 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41914 cat >>confdefs.h
<<\_ACEOF
41915 #define WX_GMTOFF_IN_TM 1
41922 for ac_func
in gettimeofday ftime
41924 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41925 echo "$as_me:$LINENO: checking for $ac_func" >&5
41926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41927 if eval "test \"\${$as_ac_var+set}\" = set"; then
41928 echo $ECHO_N "(cached) $ECHO_C" >&6
41930 cat >conftest.
$ac_ext <<_ACEOF
41933 cat confdefs.h
>>conftest.
$ac_ext
41934 cat >>conftest.
$ac_ext <<_ACEOF
41935 /* end confdefs.h. */
41936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41938 #define $ac_func innocuous_$ac_func
41940 /* System header to define __stub macros and hopefully few prototypes,
41941 which can conflict with char $ac_func (); below.
41942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41943 <limits.h> exists even on freestanding compilers. */
41946 # include <limits.h>
41948 # include <assert.h>
41953 /* Override any gcc2 internal prototype to avoid an error. */
41958 /* We use char because int might match the return type of a gcc2
41959 builtin and then its argument prototype would still apply. */
41961 /* The GNU C library defines this for functions which it implements
41962 to always fail with ENOSYS. Some functions are actually named
41963 something starting with __ and the normal name is an alias. */
41964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41967 char (*f) () = $ac_func;
41976 return f != $ac_func;
41981 rm -f conftest.
$ac_objext conftest
$ac_exeext
41982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41983 (eval $ac_link) 2>conftest.er1
41985 grep -v '^ *+' conftest.er1
>conftest.err
41987 cat conftest.err
>&5
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); } &&
41990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41992 (eval $ac_try) 2>&5
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); }; } &&
41996 { ac_try
='test -s conftest$ac_exeext'
41997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41998 (eval $ac_try) 2>&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); }; }; then
42002 eval "$as_ac_var=yes"
42004 echo "$as_me: failed program was:" >&5
42005 sed 's/^/| /' conftest.
$ac_ext >&5
42007 eval "$as_ac_var=no"
42009 rm -f conftest.err conftest.
$ac_objext \
42010 conftest
$ac_exeext conftest.
$ac_ext
42012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42014 if test `eval echo '${'$as_ac_var'}'` = yes; then
42015 cat >>confdefs.h
<<_ACEOF
42016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42023 if test "$ac_cv_func_gettimeofday" = "yes"; then
42024 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42025 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42026 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42027 echo $ECHO_N "(cached) $ECHO_C" >&6
42030 cat >conftest.
$ac_ext <<_ACEOF
42033 cat confdefs.h
>>conftest.
$ac_ext
42034 cat >>conftest.
$ac_ext <<_ACEOF
42035 /* end confdefs.h. */
42037 #include <sys/time.h>
42038 #include <unistd.h>
42045 gettimeofday(&tv, NULL);
42051 rm -f conftest.
$ac_objext
42052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42053 (eval $ac_compile) 2>conftest.er1
42055 grep -v '^ *+' conftest.er1
>conftest.err
42057 cat conftest.err
>&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } &&
42060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42062 (eval $ac_try) 2>&5
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); }; } &&
42066 { ac_try
='test -s conftest.$ac_objext'
42067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42068 (eval $ac_try) 2>&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; }; then
42072 wx_cv_func_gettimeofday_has_2_args
=yes
42074 echo "$as_me: failed program was:" >&5
42075 sed 's/^/| /' conftest.
$ac_ext >&5
42077 cat >conftest.
$ac_ext <<_ACEOF
42080 cat confdefs.h
>>conftest.
$ac_ext
42081 cat >>conftest.
$ac_ext <<_ACEOF
42082 /* end confdefs.h. */
42084 #include <sys/time.h>
42085 #include <unistd.h>
42098 rm -f conftest.
$ac_objext
42099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42100 (eval $ac_compile) 2>conftest.er1
42102 grep -v '^ *+' conftest.er1
>conftest.err
42104 cat conftest.err
>&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } &&
42107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42109 (eval $ac_try) 2>&5
42111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42112 (exit $ac_status); }; } &&
42113 { ac_try
='test -s conftest.$ac_objext'
42114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42115 (eval $ac_try) 2>&5
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); }; }; then
42119 wx_cv_func_gettimeofday_has_2_args
=no
42121 echo "$as_me: failed program was:" >&5
42122 sed 's/^/| /' conftest.
$ac_ext >&5
42125 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42126 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42127 wx_cv_func_gettimeofday_has_2_args
=unknown
42131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42137 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42138 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42140 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42141 cat >>confdefs.h
<<\_ACEOF
42142 #define WX_GETTIMEOFDAY_NO_TZ 1
42148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42152 if test "$wxUSE_SOCKETS" = "yes"; then
42153 if test "$wxUSE_MGL" = "1"; then
42154 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42155 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42160 if test "$wxUSE_SOCKETS" = "yes"; then
42161 if test "$TOOLKIT" != "MSW"; then
42162 echo "$as_me:$LINENO: checking for socket" >&5
42163 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42164 if test "${ac_cv_func_socket+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 cat >conftest.
$ac_ext <<_ACEOF
42170 cat confdefs.h
>>conftest.
$ac_ext
42171 cat >>conftest.
$ac_ext <<_ACEOF
42172 /* end confdefs.h. */
42173 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42175 #define socket innocuous_socket
42177 /* System header to define __stub macros and hopefully few prototypes,
42178 which can conflict with char socket (); below.
42179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42180 <limits.h> exists even on freestanding compilers. */
42183 # include <limits.h>
42185 # include <assert.h>
42190 /* Override any gcc2 internal prototype to avoid an error. */
42195 /* We use char because int might match the return type of a gcc2
42196 builtin and then its argument prototype would still apply. */
42198 /* The GNU C library defines this for functions which it implements
42199 to always fail with ENOSYS. Some functions are actually named
42200 something starting with __ and the normal name is an alias. */
42201 #if defined (__stub_socket) || defined (__stub___socket)
42204 char (*f) () = socket;
42213 return f != socket;
42218 rm -f conftest.
$ac_objext conftest
$ac_exeext
42219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42220 (eval $ac_link) 2>conftest.er1
42222 grep -v '^ *+' conftest.er1
>conftest.err
42224 cat conftest.err
>&5
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); } &&
42227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
42233 { ac_try
='test -s conftest$ac_exeext'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; }; then
42239 ac_cv_func_socket
=yes
42241 echo "$as_me: failed program was:" >&5
42242 sed 's/^/| /' conftest.
$ac_ext >&5
42244 ac_cv_func_socket
=no
42246 rm -f conftest.err conftest.
$ac_objext \
42247 conftest
$ac_exeext conftest.
$ac_ext
42249 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42250 echo "${ECHO_T}$ac_cv_func_socket" >&6
42251 if test $ac_cv_func_socket = yes; then
42255 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42256 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42257 if test "${ac_cv_lib_socket_socket+set}" = set; then
42258 echo $ECHO_N "(cached) $ECHO_C" >&6
42260 ac_check_lib_save_LIBS
=$LIBS
42261 LIBS
="-lsocket $LIBS"
42262 cat >conftest.
$ac_ext <<_ACEOF
42265 cat confdefs.h
>>conftest.
$ac_ext
42266 cat >>conftest.
$ac_ext <<_ACEOF
42267 /* end confdefs.h. */
42269 /* Override any gcc2 internal prototype to avoid an error. */
42273 /* We use char because int might match the return type of a gcc2
42274 builtin and then its argument prototype would still apply. */
42284 rm -f conftest.
$ac_objext conftest
$ac_exeext
42285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42286 (eval $ac_link) 2>conftest.er1
42288 grep -v '^ *+' conftest.er1
>conftest.err
42290 cat conftest.err
>&5
42291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42292 (exit $ac_status); } &&
42293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42295 (eval $ac_try) 2>&5
42297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42298 (exit $ac_status); }; } &&
42299 { ac_try
='test -s conftest$ac_exeext'
42300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42301 (eval $ac_try) 2>&5
42303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42304 (exit $ac_status); }; }; then
42305 ac_cv_lib_socket_socket
=yes
42307 echo "$as_me: failed program was:" >&5
42308 sed 's/^/| /' conftest.
$ac_ext >&5
42310 ac_cv_lib_socket_socket
=no
42312 rm -f conftest.err conftest.
$ac_objext \
42313 conftest
$ac_exeext conftest.
$ac_ext
42314 LIBS
=$ac_check_lib_save_LIBS
42316 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42317 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42318 if test $ac_cv_lib_socket_socket = yes; then
42319 if test "$INET_LINK" != " -lsocket"; then
42320 INET_LINK
="$INET_LINK -lsocket"
42324 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42325 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42338 if test "$wxUSE_SOCKETS" = "yes" ; then
42339 if test "$TOOLKIT" != "MSW"; then
42340 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42341 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42342 if test "${wx_cv_type_getsockname3+set}" = set; then
42343 echo $ECHO_N "(cached) $ECHO_C" >&6
42346 cat >conftest.
$ac_ext <<_ACEOF
42349 cat confdefs.h
>>conftest.
$ac_ext
42350 cat >>conftest.
$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42353 #include <sys/types.h>
42354 #include <sys/socket.h>
42361 getsockname(0, 0, &len);
42367 rm -f conftest.
$ac_objext
42368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42369 (eval $ac_compile) 2>conftest.er1
42371 grep -v '^ *+' conftest.er1
>conftest.err
42373 cat conftest.err
>&5
42374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42375 (exit $ac_status); } &&
42376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42378 (eval $ac_try) 2>&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); }; } &&
42382 { ac_try
='test -s conftest.$ac_objext'
42383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42384 (eval $ac_try) 2>&5
42386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42387 (exit $ac_status); }; }; then
42388 wx_cv_type_getsockname3
=socklen_t
42390 echo "$as_me: failed program was:" >&5
42391 sed 's/^/| /' conftest.
$ac_ext >&5
42394 CXXFLAGS_OLD
="$CXXFLAGS"
42395 if test "$GCC" = yes ; then
42396 CXXFLAGS
="-Werror $CXXFLAGS"
42399 cat >conftest.
$ac_ext <<_ACEOF
42402 cat confdefs.h
>>conftest.
$ac_ext
42403 cat >>conftest.
$ac_ext <<_ACEOF
42404 /* end confdefs.h. */
42406 #include <sys/types.h>
42407 #include <sys/socket.h>
42414 getsockname(0, 0, &len);
42420 rm -f conftest.
$ac_objext
42421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42422 (eval $ac_compile) 2>conftest.er1
42424 grep -v '^ *+' conftest.er1
>conftest.err
42426 cat conftest.err
>&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); } &&
42429 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42431 (eval $ac_try) 2>&5
42433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434 (exit $ac_status); }; } &&
42435 { ac_try
='test -s conftest.$ac_objext'
42436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42437 (eval $ac_try) 2>&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); }; }; then
42441 wx_cv_type_getsockname3
=size_t
42443 echo "$as_me: failed program was:" >&5
42444 sed 's/^/| /' conftest.
$ac_ext >&5
42446 cat >conftest.
$ac_ext <<_ACEOF
42449 cat confdefs.h
>>conftest.
$ac_ext
42450 cat >>conftest.
$ac_ext <<_ACEOF
42451 /* end confdefs.h. */
42453 #include <sys/types.h>
42454 #include <sys/socket.h>
42461 getsockname(0, 0, &len);
42467 rm -f conftest.
$ac_objext
42468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42469 (eval $ac_compile) 2>conftest.er1
42471 grep -v '^ *+' conftest.er1
>conftest.err
42473 cat conftest.err
>&5
42474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42475 (exit $ac_status); } &&
42476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42478 (eval $ac_try) 2>&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); }; } &&
42482 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
42488 wx_cv_type_getsockname3
=int
42490 echo "$as_me: failed program was:" >&5
42491 sed 's/^/| /' conftest.
$ac_ext >&5
42493 wx_cv_type_getsockname3
=unknown
42496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42501 CXXFLAGS
="$CXXFLAGS_OLD"
42505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42508 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42509 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42511 if test "$wx_cv_type_getsockname3" = "unknown"; then
42513 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42514 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42516 cat >>confdefs.h
<<_ACEOF
42517 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42521 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42522 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42523 if test "${wx_cv_type_getsockopt5+set}" = set; then
42524 echo $ECHO_N "(cached) $ECHO_C" >&6
42527 cat >conftest.
$ac_ext <<_ACEOF
42530 cat confdefs.h
>>conftest.
$ac_ext
42531 cat >>conftest.
$ac_ext <<_ACEOF
42532 /* end confdefs.h. */
42534 #include <sys/types.h>
42535 #include <sys/socket.h>
42542 getsockopt(0, 0, 0, 0, &len);
42548 rm -f conftest.
$ac_objext
42549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42550 (eval $ac_compile) 2>conftest.er1
42552 grep -v '^ *+' conftest.er1
>conftest.err
42554 cat conftest.err
>&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } &&
42557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42559 (eval $ac_try) 2>&5
42561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42562 (exit $ac_status); }; } &&
42563 { ac_try
='test -s conftest.$ac_objext'
42564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42565 (eval $ac_try) 2>&5
42567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42568 (exit $ac_status); }; }; then
42569 wx_cv_type_getsockopt5
=socklen_t
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.
$ac_ext >&5
42575 CXXFLAGS_OLD
="$CXXFLAGS"
42576 if test "$GCC" = yes ; then
42577 CXXFLAGS
="-Werror $CXXFLAGS"
42580 cat >conftest.
$ac_ext <<_ACEOF
42583 cat confdefs.h
>>conftest.
$ac_ext
42584 cat >>conftest.
$ac_ext <<_ACEOF
42585 /* end confdefs.h. */
42587 #include <sys/types.h>
42588 #include <sys/socket.h>
42595 getsockopt(0, 0, 0, 0, &len);
42601 rm -f conftest.
$ac_objext
42602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42603 (eval $ac_compile) 2>conftest.er1
42605 grep -v '^ *+' conftest.er1
>conftest.err
42607 cat conftest.err
>&5
42608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42609 (exit $ac_status); } &&
42610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42612 (eval $ac_try) 2>&5
42614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615 (exit $ac_status); }; } &&
42616 { ac_try
='test -s conftest.$ac_objext'
42617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42618 (eval $ac_try) 2>&5
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); }; }; then
42622 wx_cv_type_getsockopt5
=size_t
42624 echo "$as_me: failed program was:" >&5
42625 sed 's/^/| /' conftest.
$ac_ext >&5
42627 cat >conftest.
$ac_ext <<_ACEOF
42630 cat confdefs.h
>>conftest.
$ac_ext
42631 cat >>conftest.
$ac_ext <<_ACEOF
42632 /* end confdefs.h. */
42634 #include <sys/types.h>
42635 #include <sys/socket.h>
42642 getsockopt(0, 0, 0, 0, &len);
42648 rm -f conftest.
$ac_objext
42649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42650 (eval $ac_compile) 2>conftest.er1
42652 grep -v '^ *+' conftest.er1
>conftest.err
42654 cat conftest.err
>&5
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); } &&
42657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42659 (eval $ac_try) 2>&5
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); }; } &&
42663 { ac_try
='test -s conftest.$ac_objext'
42664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42665 (eval $ac_try) 2>&5
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); }; }; then
42669 wx_cv_type_getsockopt5
=int
42671 echo "$as_me: failed program was:" >&5
42672 sed 's/^/| /' conftest.
$ac_ext >&5
42674 wx_cv_type_getsockopt5
=unknown
42677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42682 CXXFLAGS
="$CXXFLAGS_OLD"
42686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42689 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42690 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42692 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42694 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42695 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42697 cat >>confdefs.h
<<_ACEOF
42698 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42705 if test "$wxUSE_SOCKETS" = "yes" ; then
42706 cat >>confdefs.h
<<\_ACEOF
42707 #define wxUSE_SOCKETS 1
42710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42713 if test "$wxUSE_PROTOCOL" = "yes"; then
42714 if test "$wxUSE_SOCKETS" != "yes"; then
42715 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42716 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42721 if test "$wxUSE_PROTOCOL" = "yes"; then
42722 cat >>confdefs.h
<<\_ACEOF
42723 #define wxUSE_PROTOCOL 1
42727 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42728 cat >>confdefs.h
<<\_ACEOF
42729 #define wxUSE_PROTOCOL_HTTP 1
42733 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42734 cat >>confdefs.h
<<\_ACEOF
42735 #define wxUSE_PROTOCOL_FTP 1
42739 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42740 cat >>confdefs.h
<<\_ACEOF
42741 #define wxUSE_PROTOCOL_FILE 1
42746 if test "$wxUSE_FS_INET" = "yes"; then
42747 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42748 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42753 if test "$wxUSE_URL" = "yes"; then
42754 if test "$wxUSE_PROTOCOL" != "yes"; then
42755 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42756 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42759 if test "$wxUSE_URL" = "yes"; then
42760 cat >>confdefs.h
<<\_ACEOF
42761 #define wxUSE_URL 1
42767 if test "$wxUSE_FS_INET" = "yes"; then
42768 cat >>confdefs.h
<<\_ACEOF
42769 #define wxUSE_FS_INET 1
42775 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42778 if test "$TOOLKIT" = "MSW"; then
42781 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42782 if test "$USE_DARWIN" = 1; then
42783 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42784 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42785 cat >conftest.
$ac_ext <<_ACEOF
42788 cat confdefs.h
>>conftest.
$ac_ext
42789 cat >>conftest.
$ac_ext <<_ACEOF
42790 /* end confdefs.h. */
42791 #include <IOKit/hid/IOHIDLib.h>
42795 IOHIDQueueInterface *qi = NULL;
42796 IOHIDCallbackFunction cb = NULL;
42797 qi->setEventCallout(NULL, cb, NULL, NULL);
42802 rm -f conftest.
$ac_objext
42803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42804 (eval $ac_compile) 2>conftest.er1
42806 grep -v '^ *+' conftest.er1
>conftest.err
42808 cat conftest.err
>&5
42809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42810 (exit $ac_status); } &&
42811 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42813 (eval $ac_try) 2>&5
42815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816 (exit $ac_status); }; } &&
42817 { ac_try
='test -s conftest.$ac_objext'
42818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42819 (eval $ac_try) 2>&5
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); }; }; then
42826 echo "$as_me: failed program was:" >&5
42827 sed 's/^/| /' conftest.
$ac_ext >&5
42830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42831 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42832 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42837 for ac_header
in linux
/joystick.h
42839 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42841 echo "$as_me:$LINENO: checking for $ac_header" >&5
42842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42844 echo $ECHO_N "(cached) $ECHO_C" >&6
42846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42849 # Is the header compilable?
42850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42852 cat >conftest.
$ac_ext <<_ACEOF
42855 cat confdefs.h
>>conftest.
$ac_ext
42856 cat >>conftest.
$ac_ext <<_ACEOF
42857 /* end confdefs.h. */
42858 $ac_includes_default
42859 #include <$ac_header>
42861 rm -f conftest.
$ac_objext
42862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42863 (eval $ac_compile) 2>conftest.er1
42865 grep -v '^ *+' conftest.er1
>conftest.err
42867 cat conftest.err
>&5
42868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869 (exit $ac_status); } &&
42870 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42872 (eval $ac_try) 2>&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); }; } &&
42876 { ac_try
='test -s conftest.$ac_objext'
42877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42878 (eval $ac_try) 2>&5
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); }; }; then
42882 ac_header_compiler
=yes
42884 echo "$as_me: failed program was:" >&5
42885 sed 's/^/| /' conftest.
$ac_ext >&5
42887 ac_header_compiler
=no
42889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42891 echo "${ECHO_T}$ac_header_compiler" >&6
42893 # Is the header present?
42894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42896 cat >conftest.
$ac_ext <<_ACEOF
42899 cat confdefs.h
>>conftest.
$ac_ext
42900 cat >>conftest.
$ac_ext <<_ACEOF
42901 /* end confdefs.h. */
42902 #include <$ac_header>
42904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42905 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42907 grep -v '^ *+' conftest.er1
>conftest.err
42909 cat conftest.err
>&5
42910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42911 (exit $ac_status); } >/dev
/null
; then
42912 if test -s conftest.err
; then
42913 ac_cpp_err
=$ac_cxx_preproc_warn_flag
42914 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
42921 if test -z "$ac_cpp_err"; then
42922 ac_header_preproc
=yes
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.
$ac_ext >&5
42927 ac_header_preproc
=no
42929 rm -f conftest.err conftest.
$ac_ext
42930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42931 echo "${ECHO_T}$ac_header_preproc" >&6
42933 # So? What about this header?
42934 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
42936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42940 ac_header_preproc
=yes
42943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42957 ## ----------------------------------------- ##
42958 ## Report this to wx-dev@lists.wxwidgets.org ##
42959 ## ----------------------------------------- ##
42962 sed "s/^/$as_me: WARNING: /" >&2
42965 echo "$as_me:$LINENO: checking for $ac_header" >&5
42966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42968 echo $ECHO_N "(cached) $ECHO_C" >&6
42970 eval "$as_ac_Header=\$ac_header_preproc"
42972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42977 cat >>confdefs.h
<<_ACEOF
42978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42987 if test "$wxUSE_JOYSTICK" = "yes"; then
42988 cat >>confdefs.h
<<\_ACEOF
42989 #define wxUSE_JOYSTICK 1
42992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
42994 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42995 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43001 if test "$wxUSE_FONTMAP" = "yes" ; then
43002 cat >>confdefs.h
<<\_ACEOF
43003 #define wxUSE_FONTMAP 1
43008 if test "$wxUSE_UNICODE" = "yes" ; then
43009 cat >>confdefs.h
<<\_ACEOF
43010 #define wxUSE_UNICODE 1
43014 if test "$USE_WIN32" != 1; then
43015 wxUSE_UNICODE_MSLU
=no
43018 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43019 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43020 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43021 if test "${ac_cv_lib_unicows_main+set}" = set; then
43022 echo $ECHO_N "(cached) $ECHO_C" >&6
43024 ac_check_lib_save_LIBS
=$LIBS
43025 LIBS
="-lunicows $LIBS"
43026 cat >conftest.
$ac_ext <<_ACEOF
43029 cat confdefs.h
>>conftest.
$ac_ext
43030 cat >>conftest.
$ac_ext <<_ACEOF
43031 /* end confdefs.h. */
43042 rm -f conftest.
$ac_objext conftest
$ac_exeext
43043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43044 (eval $ac_link) 2>conftest.er1
43046 grep -v '^ *+' conftest.er1
>conftest.err
43048 cat conftest.err
>&5
43049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43050 (exit $ac_status); } &&
43051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43053 (eval $ac_try) 2>&5
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); }; } &&
43057 { ac_try
='test -s conftest$ac_exeext'
43058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43059 (eval $ac_try) 2>&5
43061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062 (exit $ac_status); }; }; then
43063 ac_cv_lib_unicows_main
=yes
43065 echo "$as_me: failed program was:" >&5
43066 sed 's/^/| /' conftest.
$ac_ext >&5
43068 ac_cv_lib_unicows_main
=no
43070 rm -f conftest.err conftest.
$ac_objext \
43071 conftest
$ac_exeext conftest.
$ac_ext
43072 LIBS
=$ac_check_lib_save_LIBS
43074 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43075 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43076 if test $ac_cv_lib_unicows_main = yes; then
43078 cat >>confdefs.h
<<\_ACEOF
43079 #define wxUSE_UNICODE_MSLU 1
43085 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43086 Applications will only run on Windows NT/2000/XP!" >&5
43087 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43088 Applications will only run on Windows NT/2000/XP!" >&2;}
43089 wxUSE_UNICODE_MSLU
=no
43096 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43097 cat >>confdefs.h
<<\_ACEOF
43098 #define wxUSE_EXPERIMENTAL_PRINTF 1
43104 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43105 cat >>confdefs.h
<<\_ACEOF
43106 #define wxUSE_POSTSCRIPT 1
43111 cat >>confdefs.h
<<\_ACEOF
43112 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43116 cat >>confdefs.h
<<\_ACEOF
43117 #define wxUSE_NORMALIZED_PS_FONTS 1
43122 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43123 cat >>confdefs.h
<<\_ACEOF
43124 #define wxUSE_CONSTRAINTS 1
43127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43130 if test "$wxUSE_MDI" = "yes"; then
43131 cat >>confdefs.h
<<\_ACEOF
43132 #define wxUSE_MDI 1
43136 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43137 cat >>confdefs.h
<<\_ACEOF
43138 #define wxUSE_MDI_ARCHITECTURE 1
43141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43145 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43146 cat >>confdefs.h
<<\_ACEOF
43147 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43151 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43156 if test "$wxUSE_HELP" = "yes"; then
43157 cat >>confdefs.h
<<\_ACEOF
43158 #define wxUSE_HELP 1
43161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43163 if test "$wxUSE_MSW" = 1; then
43164 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43165 cat >>confdefs.h
<<\_ACEOF
43166 #define wxUSE_MS_HTML_HELP 1
43172 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43173 if test "$wxUSE_HTML" = "yes"; then
43174 cat >>confdefs.h
<<\_ACEOF
43175 #define wxUSE_WXHTML_HELP 1
43179 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43180 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43181 wxUSE_WXHTML_HELP
=no
43186 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43187 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43188 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43189 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43191 cat >>confdefs.h
<<\_ACEOF
43192 #define wxUSE_PRINTING_ARCHITECTURE 1
43196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43199 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43200 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43201 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43202 { (exit 1); exit 1; }; }
43206 if test "$wxUSE_METAFILE" = "yes"; then
43207 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43208 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43209 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43215 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43216 -o "$wxUSE_CLIPBOARD" = "yes" \
43217 -o "$wxUSE_OLE" = "yes" \
43218 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43220 for ac_header
in ole2.h
43222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43224 echo "$as_me:$LINENO: checking for $ac_header" >&5
43225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43227 echo $ECHO_N "(cached) $ECHO_C" >&6
43229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43232 # Is the header compilable?
43233 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43235 cat >conftest.
$ac_ext <<_ACEOF
43238 cat confdefs.h
>>conftest.
$ac_ext
43239 cat >>conftest.
$ac_ext <<_ACEOF
43240 /* end confdefs.h. */
43241 $ac_includes_default
43242 #include <$ac_header>
43244 rm -f conftest.
$ac_objext
43245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43246 (eval $ac_compile) 2>conftest.er1
43248 grep -v '^ *+' conftest.er1
>conftest.err
43250 cat conftest.err
>&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); } &&
43253 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43255 (eval $ac_try) 2>&5
43257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43258 (exit $ac_status); }; } &&
43259 { ac_try
='test -s conftest.$ac_objext'
43260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43261 (eval $ac_try) 2>&5
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); }; }; then
43265 ac_header_compiler
=yes
43267 echo "$as_me: failed program was:" >&5
43268 sed 's/^/| /' conftest.
$ac_ext >&5
43270 ac_header_compiler
=no
43272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43274 echo "${ECHO_T}$ac_header_compiler" >&6
43276 # Is the header present?
43277 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43278 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43279 cat >conftest.
$ac_ext <<_ACEOF
43282 cat confdefs.h
>>conftest.
$ac_ext
43283 cat >>conftest.
$ac_ext <<_ACEOF
43284 /* end confdefs.h. */
43285 #include <$ac_header>
43287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43290 grep -v '^ *+' conftest.er1
>conftest.err
43292 cat conftest.err
>&5
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); } >/dev
/null
; then
43295 if test -s conftest.err
; then
43296 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43297 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43304 if test -z "$ac_cpp_err"; then
43305 ac_header_preproc
=yes
43307 echo "$as_me: failed program was:" >&5
43308 sed 's/^/| /' conftest.
$ac_ext >&5
43310 ac_header_preproc
=no
43312 rm -f conftest.err conftest.
$ac_ext
43313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43314 echo "${ECHO_T}$ac_header_preproc" >&6
43316 # So? What about this header?
43317 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43319 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43320 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43322 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43323 ac_header_preproc
=yes
43326 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43327 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43328 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43329 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43330 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43331 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43332 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43333 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43335 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43336 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43337 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43340 ## ----------------------------------------- ##
43341 ## Report this to wx-dev@lists.wxwidgets.org ##
43342 ## ----------------------------------------- ##
43345 sed "s/^/$as_me: WARNING: /" >&2
43348 echo "$as_me:$LINENO: checking for $ac_header" >&5
43349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43353 eval "$as_ac_Header=\$ac_header_preproc"
43355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43360 cat >>confdefs.h
<<_ACEOF
43361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43369 if test "$ac_cv_header_ole2_h" = "yes" ; then
43370 if test "$GCC" = yes ; then
43371 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43372 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43373 cat >conftest.
$ac_ext <<_ACEOF
43376 cat confdefs.h
>>conftest.
$ac_ext
43377 cat >>conftest.
$ac_ext <<_ACEOF
43378 /* end confdefs.h. */
43379 #include <windows.h>
43389 rm -f conftest.
$ac_objext
43390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43391 (eval $ac_compile) 2>conftest.er1
43393 grep -v '^ *+' conftest.er1
>conftest.err
43395 cat conftest.err
>&5
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); } &&
43398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43400 (eval $ac_try) 2>&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); }; } &&
43404 { ac_try
='test -s conftest.$ac_objext'
43405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43406 (eval $ac_try) 2>&5
43408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43409 (exit $ac_status); }; }; then
43410 echo "$as_me:$LINENO: result: no" >&5
43411 echo "${ECHO_T}no" >&6
43413 echo "$as_me: failed program was:" >&5
43414 sed 's/^/| /' conftest.
$ac_ext >&5
43416 echo "$as_me:$LINENO: result: yes" >&5
43417 echo "${ECHO_T}yes" >&6
43418 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43421 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43422 if test "$wxUSE_OLE" = "yes" ; then
43423 cat >>confdefs.h
<<\_ACEOF
43424 #define wxUSE_OLE 1
43427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43431 if test "$wxUSE_DATAOBJ" = "yes" ; then
43432 cat >>confdefs.h
<<\_ACEOF
43433 #define wxUSE_DATAOBJ 1
43438 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43439 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43442 wxUSE_DRAG_AND_DROP
=no
43447 if test "$wxUSE_METAFILE" = "yes"; then
43448 cat >>confdefs.h
<<\_ACEOF
43449 #define wxUSE_METAFILE 1
43453 cat >>confdefs.h
<<\_ACEOF
43454 #define wxUSE_ENH_METAFILE 1
43460 if test "$wxUSE_IPC" = "yes"; then
43461 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43462 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43463 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43467 if test "$wxUSE_IPC" = "yes"; then
43468 cat >>confdefs.h
<<\_ACEOF
43469 #define wxUSE_IPC 1
43472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43476 if test "$wxUSE_DATAOBJ" = "yes"; then
43477 if test "$wxUSE_MGL" = 1; then
43478 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43479 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43482 cat >>confdefs.h
<<\_ACEOF
43483 #define wxUSE_DATAOBJ 1
43488 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43489 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43491 wxUSE_DRAG_AND_DROP
=no
43494 if test "$wxUSE_CLIPBOARD" = "yes"; then
43495 if test "$wxUSE_MGL" = 1; then
43496 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43497 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43501 if test "$wxUSE_CLIPBOARD" = "yes"; then
43502 cat >>confdefs.h
<<\_ACEOF
43503 #define wxUSE_CLIPBOARD 1
43509 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43510 if test "$wxUSE_GTK" = 1; then
43511 if test "$WXGTK12" != 1; then
43512 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43513 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43514 wxUSE_DRAG_AND_DROP
=no
43518 if test "$wxUSE_MOTIF" = 1; then
43519 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43520 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43521 wxUSE_DRAG_AND_DROP
=no
43524 if test "$wxUSE_X11" = 1; then
43525 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43526 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43527 wxUSE_DRAG_AND_DROP
=no
43530 if test "$wxUSE_MGL" = 1; then
43531 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43532 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43533 wxUSE_DRAG_AND_DROP
=no
43536 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43537 cat >>confdefs.h
<<\_ACEOF
43538 #define wxUSE_DRAG_AND_DROP 1
43545 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43549 if test "$wxUSE_SPLINES" = "yes" ; then
43550 cat >>confdefs.h
<<\_ACEOF
43551 #define wxUSE_SPLINES 1
43556 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43557 cat >>confdefs.h
<<\_ACEOF
43558 #define wxUSE_MOUSEWHEEL 1
43565 if test "$wxUSE_CONTROLS" = "yes"; then
43569 if test "$wxUSE_ACCEL" = "yes"; then
43570 cat >>confdefs.h
<<\_ACEOF
43571 #define wxUSE_ACCEL 1
43577 if test "$wxUSE_BUTTON" = "yes"; then
43578 cat >>confdefs.h
<<\_ACEOF
43579 #define wxUSE_BUTTON 1
43585 if test "$wxUSE_BMPBUTTON" = "yes"; then
43586 cat >>confdefs.h
<<\_ACEOF
43587 #define wxUSE_BMPBUTTON 1
43593 if test "$wxUSE_CALCTRL" = "yes"; then
43594 cat >>confdefs.h
<<\_ACEOF
43595 #define wxUSE_CALENDARCTRL 1
43599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43602 if test "$wxUSE_CARET" = "yes"; then
43603 cat >>confdefs.h
<<\_ACEOF
43604 #define wxUSE_CARET 1
43608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43611 if test "$wxUSE_COMBOBOX" = "yes"; then
43612 cat >>confdefs.h
<<\_ACEOF
43613 #define wxUSE_COMBOBOX 1
43619 if test "$wxUSE_CHOICE" = "yes"; then
43620 cat >>confdefs.h
<<\_ACEOF
43621 #define wxUSE_CHOICE 1
43627 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43628 cat >>confdefs.h
<<\_ACEOF
43629 #define wxUSE_CHOICEBOOK 1
43635 if test "$wxUSE_CHECKBOX" = "yes"; then
43636 cat >>confdefs.h
<<\_ACEOF
43637 #define wxUSE_CHECKBOX 1
43643 if test "$wxUSE_CHECKLST" = "yes"; then
43644 cat >>confdefs.h
<<\_ACEOF
43645 #define wxUSE_CHECKLISTBOX 1
43649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43652 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43653 cat >>confdefs.h
<<\_ACEOF
43654 #define wxUSE_DATEPICKCTRL 1
43660 if test "$wxUSE_DISPLAY" = "yes"; then
43661 cat >>confdefs.h
<<\_ACEOF
43662 #define wxUSE_DISPLAY 1
43665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43668 if test "$wxUSE_GAUGE" = "yes"; then
43669 cat >>confdefs.h
<<\_ACEOF
43670 #define wxUSE_GAUGE 1
43676 if test "$wxUSE_GRID" = "yes"; then
43677 cat >>confdefs.h
<<\_ACEOF
43678 #define wxUSE_GRID 1
43682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43685 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43686 cat >>confdefs.h
<<\_ACEOF
43687 #define wxUSE_DATAVIEWCTRL 1
43691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43694 if test "$wxUSE_IMAGLIST" = "yes"; then
43695 cat >>confdefs.h
<<\_ACEOF
43696 #define wxUSE_IMAGLIST 1
43701 if test "$wxUSE_LISTBOOK" = "yes"; then
43702 cat >>confdefs.h
<<\_ACEOF
43703 #define wxUSE_LISTBOOK 1
43709 if test "$wxUSE_LISTBOX" = "yes"; then
43710 cat >>confdefs.h
<<\_ACEOF
43711 #define wxUSE_LISTBOX 1
43715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43718 if test "$wxUSE_LISTCTRL" = "yes"; then
43719 if test "$wxUSE_IMAGLIST" = "yes"; then
43720 cat >>confdefs.h
<<\_ACEOF
43721 #define wxUSE_LISTCTRL 1
43725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43727 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43728 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43732 if test "$wxUSE_NOTEBOOK" = "yes"; then
43733 cat >>confdefs.h
<<\_ACEOF
43734 #define wxUSE_NOTEBOOK 1
43738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43742 if test "$wxUSE_RADIOBOX" = "yes"; then
43743 cat >>confdefs.h
<<\_ACEOF
43744 #define wxUSE_RADIOBOX 1
43750 if test "$wxUSE_RADIOBTN" = "yes"; then
43751 cat >>confdefs.h
<<\_ACEOF
43752 #define wxUSE_RADIOBTN 1
43758 if test "$wxUSE_SASH" = "yes"; then
43759 cat >>confdefs.h
<<\_ACEOF
43760 #define wxUSE_SASH 1
43763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43766 if test "$wxUSE_SCROLLBAR" = "yes"; then
43767 cat >>confdefs.h
<<\_ACEOF
43768 #define wxUSE_SCROLLBAR 1
43772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43775 if test "$wxUSE_SLIDER" = "yes"; then
43776 cat >>confdefs.h
<<\_ACEOF
43777 #define wxUSE_SLIDER 1
43783 if test "$wxUSE_SPINBTN" = "yes"; then
43784 cat >>confdefs.h
<<\_ACEOF
43785 #define wxUSE_SPINBTN 1
43791 if test "$wxUSE_SPINCTRL" = "yes"; then
43792 cat >>confdefs.h
<<\_ACEOF
43793 #define wxUSE_SPINCTRL 1
43799 if test "$wxUSE_SPLITTER" = "yes"; then
43800 cat >>confdefs.h
<<\_ACEOF
43801 #define wxUSE_SPLITTER 1
43804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43807 if test "$wxUSE_STATBMP" = "yes"; then
43808 cat >>confdefs.h
<<\_ACEOF
43809 #define wxUSE_STATBMP 1
43815 if test "$wxUSE_STATBOX" = "yes"; then
43816 cat >>confdefs.h
<<\_ACEOF
43817 #define wxUSE_STATBOX 1
43823 if test "$wxUSE_STATTEXT" = "yes"; then
43824 cat >>confdefs.h
<<\_ACEOF
43825 #define wxUSE_STATTEXT 1
43831 if test "$wxUSE_STATLINE" = "yes"; then
43832 cat >>confdefs.h
<<\_ACEOF
43833 #define wxUSE_STATLINE 1
43839 if test "$wxUSE_STATUSBAR" = "yes"; then
43840 cat >>confdefs.h
<<\_ACEOF
43841 #define wxUSE_NATIVE_STATUSBAR 1
43844 cat >>confdefs.h
<<\_ACEOF
43845 #define wxUSE_STATUSBAR 1
43850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43853 if test "$wxUSE_TAB_DIALOG" = "yes"; then
43854 cat >>confdefs.h
<<\_ACEOF
43855 #define wxUSE_TAB_DIALOG 1
43860 if test "$wxUSE_TEXTCTRL" = "yes"; then
43861 cat >>confdefs.h
<<\_ACEOF
43862 #define wxUSE_TEXTCTRL 1
43866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43869 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43870 if test "$wxUSE_COCOA" = 1 ; then
43871 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43872 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43875 if test "$wxUSE_UNIVERSAL" = "yes"; then
43876 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43877 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43881 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43882 cat >>confdefs.h
<<\_ACEOF
43883 #define wxUSE_TOGGLEBTN 1
43890 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43891 cat >>confdefs.h
<<\_ACEOF
43892 #define wxUSE_TOOLBAR_SIMPLE 1
43895 wxUSE_TOOLBAR
="yes"
43899 if test "$wxUSE_TOOLBAR" = "yes"; then
43900 cat >>confdefs.h
<<\_ACEOF
43901 #define wxUSE_TOOLBAR 1
43906 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43907 wxUSE_TOOLBAR_NATIVE
="yes"
43910 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43911 cat >>confdefs.h
<<\_ACEOF
43912 #define wxUSE_TOOLBAR_NATIVE 1
43918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
43921 if test "$wxUSE_TOOLTIPS" = "yes"; then
43922 if test "$wxUSE_MOTIF" = 1; then
43923 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43924 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43926 if test "$wxUSE_UNIVERSAL" = "yes"; then
43927 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43928 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43930 cat >>confdefs.h
<<\_ACEOF
43931 #define wxUSE_TOOLTIPS 1
43938 if test "$wxUSE_TREEBOOK" = "yes"; then
43939 cat >>confdefs.h
<<\_ACEOF
43940 #define wxUSE_TREEBOOK 1
43946 if test "$wxUSE_TOOLBOOK" = "yes"; then
43947 cat >>confdefs.h
<<\_ACEOF
43948 #define wxUSE_TOOLBOOK 1
43954 if test "$wxUSE_TREECTRL" = "yes"; then
43955 if test "$wxUSE_IMAGLIST" = "yes"; then
43956 cat >>confdefs.h
<<\_ACEOF
43957 #define wxUSE_TREECTRL 1
43961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
43963 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43964 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43968 if test "$wxUSE_POPUPWIN" = "yes"; then
43969 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43970 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43971 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43973 if test "$wxUSE_PM" = 1; then
43974 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43975 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43977 cat >>confdefs.h
<<\_ACEOF
43978 #define wxUSE_POPUPWIN 1
43981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
43988 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43989 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43990 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43991 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43993 cat >>confdefs.h
<<\_ACEOF
43994 #define wxUSE_DIALUP_MANAGER 1
43997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44001 if test "$wxUSE_TIPWINDOW" = "yes"; then
44002 if test "$wxUSE_PM" = 1; then
44003 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44004 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44006 cat >>confdefs.h
<<\_ACEOF
44007 #define wxUSE_TIPWINDOW 1
44013 if test "$USES_CONTROLS" = 1; then
44014 cat >>confdefs.h
<<\_ACEOF
44015 #define wxUSE_CONTROLS 1
44021 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44022 cat >>confdefs.h
<<\_ACEOF
44023 #define wxUSE_ACCESSIBILITY 1
44026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44029 if test "$wxUSE_DC_CACHEING" = "yes"; then
44030 cat >>confdefs.h
<<\_ACEOF
44031 #define wxUSE_DC_CACHEING 1
44036 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44037 cat >>confdefs.h
<<\_ACEOF
44038 #define wxUSE_DRAGIMAGE 1
44041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44044 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44045 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44046 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44047 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44049 cat >>confdefs.h
<<\_ACEOF
44050 #define wxUSE_EXCEPTIONS 1
44053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44058 if test "$wxUSE_HTML" = "yes"; then
44059 cat >>confdefs.h
<<\_ACEOF
44060 #define wxUSE_HTML 1
44064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44065 if test "$wxUSE_MAC" = 1; then
44066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44069 if test "$wxUSE_WEBKIT" = "yes"; then
44070 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44071 old_CPPFLAGS
="$CPPFLAGS"
44072 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44073 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44074 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44075 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44076 echo $ECHO_N "(cached) $ECHO_C" >&6
44078 cat >conftest.
$ac_ext <<_ACEOF
44081 cat confdefs.h
>>conftest.
$ac_ext
44082 cat >>conftest.
$ac_ext <<_ACEOF
44083 /* end confdefs.h. */
44084 #include <Carbon/Carbon.h>
44086 #include <WebKit/HIWebView.h>
44088 rm -f conftest.
$ac_objext
44089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44090 (eval $ac_compile) 2>conftest.er1
44092 grep -v '^ *+' conftest.er1
>conftest.err
44094 cat conftest.err
>&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); } &&
44097 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44099 (eval $ac_try) 2>&5
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); }; } &&
44103 { ac_try
='test -s conftest.$ac_objext'
44104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44105 (eval $ac_try) 2>&5
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); }; }; then
44109 ac_cv_header_WebKit_HIWebView_h
=yes
44111 echo "$as_me: failed program was:" >&5
44112 sed 's/^/| /' conftest.
$ac_ext >&5
44114 ac_cv_header_WebKit_HIWebView_h
=no
44116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44118 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44119 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44120 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44122 cat >>confdefs.h
<<\_ACEOF
44123 #define wxUSE_WEBKIT 1
44126 WEBKIT_LINK
="-framework WebKit"
44130 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44131 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44137 CPPFLAGS
="$old_CPPFLAGS"
44138 elif test "$wxUSE_COCOA" = 1; then
44139 cat >>confdefs.h
<<\_ACEOF
44140 #define wxUSE_WEBKIT 1
44149 if test "$wxUSE_XRC" = "yes"; then
44150 if test "$wxUSE_XML" != "yes"; then
44151 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44152 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44155 cat >>confdefs.h
<<\_ACEOF
44156 #define wxUSE_XRC 1
44160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44164 if test "$wxUSE_MENUS" = "yes"; then
44165 cat >>confdefs.h
<<\_ACEOF
44166 #define wxUSE_MENUS 1
44169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44172 if test "$wxUSE_METAFILE" = "yes"; then
44173 cat >>confdefs.h
<<\_ACEOF
44174 #define wxUSE_METAFILE 1
44179 if test "$wxUSE_MIMETYPE" = "yes"; then
44180 cat >>confdefs.h
<<\_ACEOF
44181 #define wxUSE_MIMETYPE 1
44186 if test "$wxUSE_MINIFRAME" = "yes"; then
44187 cat >>confdefs.h
<<\_ACEOF
44188 #define wxUSE_MINIFRAME 1
44191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44194 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44195 cat >>confdefs.h
<<\_ACEOF
44196 #define wxUSE_SYSTEM_OPTIONS 1
44199 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44200 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44206 if test "$wxUSE_VALIDATORS" = "yes"; then
44207 cat >>confdefs.h
<<\_ACEOF
44208 #define wxUSE_VALIDATORS 1
44211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44214 if test "$wxUSE_PALETTE" = "yes" ; then
44215 cat >>confdefs.h
<<\_ACEOF
44216 #define wxUSE_PALETTE 1
44221 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44222 LIBS
=" -lunicows $LIBS"
44226 if test "$wxUSE_RICHTEXT" = "yes"; then
44227 cat >>confdefs.h
<<\_ACEOF
44228 #define wxUSE_RICHTEXT 1
44232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44236 if test "$wxUSE_IMAGE" = "yes" ; then
44237 cat >>confdefs.h
<<\_ACEOF
44238 #define wxUSE_IMAGE 1
44242 if test "$wxUSE_GIF" = "yes" ; then
44243 cat >>confdefs.h
<<\_ACEOF
44244 #define wxUSE_GIF 1
44249 if test "$wxUSE_PCX" = "yes" ; then
44250 cat >>confdefs.h
<<\_ACEOF
44251 #define wxUSE_PCX 1
44256 if test "$wxUSE_IFF" = "yes" ; then
44257 cat >>confdefs.h
<<\_ACEOF
44258 #define wxUSE_IFF 1
44263 if test "$wxUSE_PNM" = "yes" ; then
44264 cat >>confdefs.h
<<\_ACEOF
44265 #define wxUSE_PNM 1
44270 if test "$wxUSE_XPM" = "yes" ; then
44271 cat >>confdefs.h
<<\_ACEOF
44272 #define wxUSE_XPM 1
44277 if test "$wxUSE_ICO_CUR" = "yes" ; then
44278 cat >>confdefs.h
<<\_ACEOF
44279 #define wxUSE_ICO_CUR 1
44286 if test "$wxUSE_CHOICEDLG" = "yes"; then
44287 cat >>confdefs.h
<<\_ACEOF
44288 #define wxUSE_CHOICEDLG 1
44293 if test "$wxUSE_COLOURDLG" = "yes"; then
44294 cat >>confdefs.h
<<\_ACEOF
44295 #define wxUSE_COLOURDLG 1
44300 if test "$wxUSE_FILEDLG" = "yes"; then
44301 cat >>confdefs.h
<<\_ACEOF
44302 #define wxUSE_FILEDLG 1
44307 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44308 cat >>confdefs.h
<<\_ACEOF
44309 #define wxUSE_FINDREPLDLG 1
44314 if test "$wxUSE_FONTDLG" = "yes"; then
44315 cat >>confdefs.h
<<\_ACEOF
44316 #define wxUSE_FONTDLG 1
44321 if test "$wxUSE_DIRDLG" = "yes"; then
44322 if test "$wxUSE_TREECTRL" != "yes"; then
44323 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44324 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44326 cat >>confdefs.h
<<\_ACEOF
44327 #define wxUSE_DIRDLG 1
44333 if test "$wxUSE_MSGDLG" = "yes"; then
44334 cat >>confdefs.h
<<\_ACEOF
44335 #define wxUSE_MSGDLG 1
44340 if test "$wxUSE_NUMBERDLG" = "yes"; then
44341 cat >>confdefs.h
<<\_ACEOF
44342 #define wxUSE_NUMBERDLG 1
44347 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44348 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44349 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44350 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44352 cat >>confdefs.h
<<\_ACEOF
44353 #define wxUSE_PROGRESSDLG 1
44359 if test "$wxUSE_SPLASH" = "yes"; then
44360 cat >>confdefs.h
<<\_ACEOF
44361 #define wxUSE_SPLASH 1
44364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44367 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44368 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44369 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44370 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44372 cat >>confdefs.h
<<\_ACEOF
44373 #define wxUSE_STARTUP_TIPS 1
44379 if test "$wxUSE_TEXTDLG" = "yes"; then
44380 cat >>confdefs.h
<<\_ACEOF
44381 #define wxUSE_TEXTDLG 1
44386 if test "$wxUSE_WIZARDDLG" = "yes"; then
44387 cat >>confdefs.h
<<\_ACEOF
44388 #define wxUSE_WIZARDDLG 1
44391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44397 if test "$wxUSE_MEDIACTRL" = "yes"; then
44398 if test "$wxUSE_GTK" = 1; then
44399 wxUSE_GSTREAMER
="yes"
44401 GST_VERSION_MAJOR
=0
44402 GST_VERSION_MINOR
=10
44403 GST_VERSION_RELEASE
=0
44404 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44405 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44407 if test "$wxUSE_GSTREAMER8" = "no"; then
44411 if test -z "$PKG_CONFIG"; then
44412 # Extract the first word of "pkg-config", so it can be a program name with args.
44413 set dummy pkg
-config; ac_word
=$2
44414 echo "$as_me:$LINENO: checking for $ac_word" >&5
44415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44416 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44417 echo $ECHO_N "(cached) $ECHO_C" >&6
44419 case $PKG_CONFIG in
44421 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44425 for as_dir
in $PATH
44428 test -z "$as_dir" && as_dir
=.
44429 for ac_exec_ext
in '' $ac_executable_extensions; do
44430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44431 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44438 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44442 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44444 if test -n "$PKG_CONFIG"; then
44445 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44446 echo "${ECHO_T}$PKG_CONFIG" >&6
44448 echo "$as_me:$LINENO: result: no" >&5
44449 echo "${ECHO_T}no" >&6
44454 if test "$PKG_CONFIG" = "no" ; then
44455 echo "*** The pkg-config script could not be found. Make sure it is"
44456 echo "*** in your path, or set the PKG_CONFIG environment variable"
44457 echo "*** to the full path to pkg-config."
44458 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44460 PKG_CONFIG_MIN_VERSION
=0.9.0
44461 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44462 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44463 gstreamer-plugins-base-$GST_MAJORMINOR
44465 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44466 gstreamer-plugins-base-$GST_MAJORMINOR
44467 gconf-2.0... $ECHO_C" >&6
44469 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44470 gstreamer-plugins-base-$GST_MAJORMINOR
44472 echo "$as_me:$LINENO: result: yes" >&5
44473 echo "${ECHO_T}yes" >&6
44476 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44477 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44478 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44479 gstreamer-plugins-base-$GST_MAJORMINOR
44481 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44482 echo "${ECHO_T}$GST_CFLAGS" >&6
44484 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44485 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44486 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44487 gstreamer-plugins-base-$GST_MAJORMINOR
44489 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44490 echo "${ECHO_T}$GST_LIBS" >&6
44494 ## If we have a custom action on failure, don't print errors, but
44495 ## do set a variable so people can do so.
44496 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44497 gstreamer-plugins-base-$GST_MAJORMINOR
44505 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44506 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44510 if test $succeeded = yes; then
44512 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44513 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44517 GST_VERSION_MINOR
=8
44522 GST_VERSION_MINOR
=8
44525 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44526 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44528 if test x
$GST_VERSION_MINOR = x8
; then
44532 if test -z "$PKG_CONFIG"; then
44533 # Extract the first word of "pkg-config", so it can be a program name with args.
44534 set dummy pkg
-config; ac_word
=$2
44535 echo "$as_me:$LINENO: checking for $ac_word" >&5
44536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44537 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44538 echo $ECHO_N "(cached) $ECHO_C" >&6
44540 case $PKG_CONFIG in
44542 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44546 for as_dir
in $PATH
44549 test -z "$as_dir" && as_dir
=.
44550 for ac_exec_ext
in '' $ac_executable_extensions; do
44551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44552 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44559 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44563 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44565 if test -n "$PKG_CONFIG"; then
44566 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44567 echo "${ECHO_T}$PKG_CONFIG" >&6
44569 echo "$as_me:$LINENO: result: no" >&5
44570 echo "${ECHO_T}no" >&6
44575 if test "$PKG_CONFIG" = "no" ; then
44576 echo "*** The pkg-config script could not be found. Make sure it is"
44577 echo "*** in your path, or set the PKG_CONFIG environment variable"
44578 echo "*** to the full path to pkg-config."
44579 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44581 PKG_CONFIG_MIN_VERSION
=0.9.0
44582 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44583 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44584 gstreamer-interfaces-$GST_MAJORMINOR
44585 gstreamer-gconf-$GST_MAJORMINOR" >&5
44586 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44587 gstreamer-interfaces-$GST_MAJORMINOR
44588 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
44590 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44591 gstreamer-interfaces-$GST_MAJORMINOR
44592 gstreamer-gconf-$GST_MAJORMINOR" ; then
44593 echo "$as_me:$LINENO: result: yes" >&5
44594 echo "${ECHO_T}yes" >&6
44597 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44598 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44599 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44600 gstreamer-interfaces-$GST_MAJORMINOR
44601 gstreamer-gconf-$GST_MAJORMINOR"`
44602 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44603 echo "${ECHO_T}$GST_CFLAGS" >&6
44605 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44606 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44607 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44608 gstreamer-interfaces-$GST_MAJORMINOR
44609 gstreamer-gconf-$GST_MAJORMINOR"`
44610 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44611 echo "${ECHO_T}$GST_LIBS" >&6
44615 ## If we have a custom action on failure, don't print errors, but
44616 ## do set a variable so people can do so.
44617 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44618 gstreamer-interfaces-$GST_MAJORMINOR
44619 gstreamer-gconf-$GST_MAJORMINOR"`
44626 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44627 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44631 if test $succeeded = yes; then
44633 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44634 LIBS
="$LIBS $GST_LIBS"
44638 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
44639 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
44640 wxUSE_GSTREAMER
="no"
44647 if test "$wxUSE_GSTREAMER" = "yes"; then
44648 cat >>confdefs.h
<<\_ACEOF
44649 #define wxUSE_GSTREAMER 1
44652 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44653 echo "${ECHO_T}GStreamer detection successful" >&6
44657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44658 cat >>confdefs.h
<<\_ACEOF
44659 #define wxUSE_MEDIACTRL 1
44665 if test "$cross_compiling" = "yes"; then
44668 OSINFO
=`uname -s -r -m`
44669 OSINFO
="\"$OSINFO\""
44672 cat >>confdefs.h
<<_ACEOF
44673 #define WXWIN_OS_DESCRIPTION $OSINFO
44678 if test "x$prefix" != "xNONE"; then
44681 wxPREFIX
=$ac_default_prefix
44684 cat >>confdefs.h
<<_ACEOF
44685 #define wxINSTALL_PREFIX "$wxPREFIX"
44691 CORE_BASE_LIBS
="net base"
44692 CORE_GUI_LIBS
="adv core"
44694 if test "$wxUSE_XML" = "yes" ; then
44695 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44697 if test "$wxUSE_ODBC" != "no" ; then
44698 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44699 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44701 if test "$wxUSE_HTML" = "yes" ; then
44702 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44704 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44705 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44707 if test "$wxUSE_XRC" = "yes" ; then
44708 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44711 if test "$wxUSE_GUI" != "yes"; then
44720 ac_cpp
='$CPP $CPPFLAGS'
44721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44727 if test "$wxUSE_MAC" = 1 ; then
44728 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44729 if test "$USE_DARWIN" = 1; then
44730 LDFLAGS
="$LDFLAGS -framework QuickTime"
44732 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44735 if test "$USE_DARWIN" = 1; then
44736 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44738 LDFLAGS
="$LDFLAGS -lCarbonLib"
44741 if test "$wxUSE_COCOA" = 1 ; then
44742 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44743 if test "$wxUSE_MEDIACTRL" = "yes"; then
44744 LDFLAGS
="$LDFLAGS -framework QuickTime"
44747 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44748 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44751 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44753 if test "$wxUSE_GUI" = "yes"; then
44756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
44757 dynamic erase event exec font image minimal mobile \
44758 mobile/wxedit mobile/styles propsize render \
44759 rotate shaped vscroll widgets"
44761 if test "$wxUSE_MONOLITHIC" != "yes"; then
44762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
44764 if test "$TOOLKIT" = "MSW"; then
44765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
44766 if test "$wxUSE_UNIVERSAL" != "yes"; then
44767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
44770 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
44771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
44774 SAMPLES_SUBDIRS
="console"
44778 if test "x$INTELCC" = "xyes" ; then
44779 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
44780 elif test "$GCC" = yes ; then
44781 CWARNINGS
="-Wall -Wundef"
44784 if test "x$INTELCXX" = "xyes" ; then
44785 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
44786 elif test "$GXX" = yes ; then
44787 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
44791 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
44792 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
44795 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
44796 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
44797 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
44800 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
44801 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
44802 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
44804 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
44807 if test "x$MWCC" = "xyes"; then
44809 CC
="$CC -cwd source -I-"
44810 CXX
="$CXX -cwd source -I-"
44815 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
44816 EXTRALIBS_XML
="$EXPAT_LINK"
44817 EXTRALIBS_HTML
="$MSPACK_LINK"
44818 EXTRALIBS_ODBC
="$ODBC_LINK"
44819 if test "$wxUSE_GUI" = "yes"; then
44820 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
44822 if test "$wxUSE_OPENGL" = "yes"; then
44823 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
44826 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
44828 WXCONFIG_LIBS
="$LIBS"
44830 if test "$wxUSE_REGEX" = "builtin" ; then
44831 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
44833 if test "$wxUSE_EXPAT" = "builtin" ; then
44834 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
44836 if test "$wxUSE_ODBC" = "builtin" ; then
44837 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
44839 if test "$wxUSE_LIBTIFF" = "builtin" ; then
44840 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
44842 if test "$wxUSE_LIBJPEG" = "builtin" ; then
44843 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
44845 if test "$wxUSE_LIBPNG" = "builtin" ; then
44846 wxconfig_3rdparty
="png $wxconfig_3rdparty"
44848 if test "$wxUSE_ZLIB" = "builtin" ; then
44849 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
44852 for i
in $wxconfig_3rdparty ; do
44853 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
44857 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
44871 if test $wxUSE_MONOLITHIC = "yes" ; then
44877 if test $wxUSE_PLUGINS = "yes" ; then
44883 if test $wxUSE_ODBC != "no" ; then
44889 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44895 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
44925 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
44936 TOOLKIT_USER
="GTK+"
44937 if test "$WXGTK20" = 1; then
44938 TOOLKIT_USER
="$TOOLKIT_USER 2"
44943 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
44947 if test "$wxUSE_WINE" = "yes"; then
44948 BAKEFILE_FORCE_PLATFORM
=win32
44951 if test "$wxUSE_MAC" = 1 ; then
44952 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
44953 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
44954 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
44955 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
44958 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
44959 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
44960 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
44966 if test "x$BAKEFILE_HOST" = "x"; then
44967 if test "x${host}" = "x" ; then
44968 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
44969 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
44970 { (exit 1); exit 1; }; }
44973 BAKEFILE_HOST
="${host}"
44976 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
44978 if test -n "$ac_tool_prefix"; then
44979 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
44980 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
44981 echo "$as_me:$LINENO: checking for $ac_word" >&5
44982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44983 if test "${ac_cv_prog_RANLIB+set}" = set; then
44984 echo $ECHO_N "(cached) $ECHO_C" >&6
44986 if test -n "$RANLIB"; then
44987 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
44989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44990 for as_dir
in $PATH
44993 test -z "$as_dir" && as_dir
=.
44994 for ac_exec_ext
in '' $ac_executable_extensions; do
44995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44996 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
44997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45005 RANLIB
=$ac_cv_prog_RANLIB
45006 if test -n "$RANLIB"; then
45007 echo "$as_me:$LINENO: result: $RANLIB" >&5
45008 echo "${ECHO_T}$RANLIB" >&6
45010 echo "$as_me:$LINENO: result: no" >&5
45011 echo "${ECHO_T}no" >&6
45015 if test -z "$ac_cv_prog_RANLIB"; then
45016 ac_ct_RANLIB
=$RANLIB
45017 # Extract the first word of "ranlib", so it can be a program name with args.
45018 set dummy ranlib
; ac_word
=$2
45019 echo "$as_me:$LINENO: checking for $ac_word" >&5
45020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45021 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45022 echo $ECHO_N "(cached) $ECHO_C" >&6
45024 if test -n "$ac_ct_RANLIB"; then
45025 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45028 for as_dir
in $PATH
45031 test -z "$as_dir" && as_dir
=.
45032 for ac_exec_ext
in '' $ac_executable_extensions; do
45033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45034 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45041 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45044 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45045 if test -n "$ac_ct_RANLIB"; then
45046 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45047 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45049 echo "$as_me:$LINENO: result: no" >&5
45050 echo "${ECHO_T}no" >&6
45053 RANLIB
=$ac_ct_RANLIB
45055 RANLIB
="$ac_cv_prog_RANLIB"
45058 # Find a good install program. We prefer a C program (faster),
45059 # so one script is as good as another. But avoid the broken or
45060 # incompatible versions:
45061 # SysV /etc/install, /usr/sbin/install
45062 # SunOS /usr/etc/install
45063 # IRIX /sbin/install
45065 # AmigaOS /C/install, which installs bootblocks on floppy discs
45066 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45067 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45068 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45069 # OS/2's system install, which has a completely different semantic
45070 # ./install, which can be erroneously created by make from ./install.sh.
45071 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45072 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45073 if test -z "$INSTALL"; then
45074 if test "${ac_cv_path_install+set}" = set; then
45075 echo $ECHO_N "(cached) $ECHO_C" >&6
45077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45078 for as_dir
in $PATH
45081 test -z "$as_dir" && as_dir
=.
45082 # Account for people who put trailing slashes in PATH elements.
45084 .
/ | .
// | /cC
/* | \
45085 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45086 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45089 # OSF1 and SCO ODT 3.0 have their own names for install.
45090 # Don't use installbsd from OSF since it installs stuff as root
45092 for ac_prog
in ginstall scoinst
install; do
45093 for ac_exec_ext
in '' $ac_executable_extensions; do
45094 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45095 if test $ac_prog = install &&
45096 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45097 # AIX install. It has an incompatible calling convention.
45099 elif test $ac_prog = install &&
45100 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45101 # program-specific install script used by HP pwplus--don't use.
45104 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45116 if test "${ac_cv_path_install+set}" = set; then
45117 INSTALL
=$ac_cv_path_install
45119 # As a last resort, use the slow shell script. We don't cache a
45120 # path for INSTALL within a source directory, because that will
45121 # break other packages using the cache if that directory is
45122 # removed, or if the path is relative.
45123 INSTALL
=$ac_install_sh
45126 echo "$as_me:$LINENO: result: $INSTALL" >&5
45127 echo "${ECHO_T}$INSTALL" >&6
45129 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45130 # It thinks the first close brace ends the variable substitution.
45131 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45133 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45135 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45137 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45138 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45140 if test "$LN_S" = "ln -s"; then
45141 echo "$as_me:$LINENO: result: yes" >&5
45142 echo "${ECHO_T}yes" >&6
45144 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45145 echo "${ECHO_T}no, using $LN_S" >&6
45149 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45150 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45151 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45152 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45153 echo $ECHO_N "(cached) $ECHO_C" >&6
45155 cat >conftest.
make <<\_ACEOF
45157 @
echo 'ac_maketemp="$(MAKE)"'
45159 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45160 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45161 if test -n "$ac_maketemp"; then
45162 eval ac_cv_prog_make_
${ac_make}_set
=yes
45164 eval ac_cv_prog_make_
${ac_make}_set
=no
45166 rm -f conftest.
make
45168 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45169 echo "$as_me:$LINENO: result: yes" >&5
45170 echo "${ECHO_T}yes" >&6
45173 echo "$as_me:$LINENO: result: no" >&5
45174 echo "${ECHO_T}no" >&6
45175 SET_MAKE
="MAKE=${MAKE-make}"
45180 if test -n "$ac_tool_prefix"; then
45181 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45182 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45183 echo "$as_me:$LINENO: checking for $ac_word" >&5
45184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45185 if test "${ac_cv_prog_AR+set}" = set; then
45186 echo $ECHO_N "(cached) $ECHO_C" >&6
45188 if test -n "$AR"; then
45189 ac_cv_prog_AR
="$AR" # Let the user override the test.
45191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45192 for as_dir
in $PATH
45195 test -z "$as_dir" && as_dir
=.
45196 for ac_exec_ext
in '' $ac_executable_extensions; do
45197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45198 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45208 if test -n "$AR"; then
45209 echo "$as_me:$LINENO: result: $AR" >&5
45210 echo "${ECHO_T}$AR" >&6
45212 echo "$as_me:$LINENO: result: no" >&5
45213 echo "${ECHO_T}no" >&6
45217 if test -z "$ac_cv_prog_AR"; then
45219 # Extract the first word of "ar", so it can be a program name with args.
45220 set dummy
ar; ac_word
=$2
45221 echo "$as_me:$LINENO: checking for $ac_word" >&5
45222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45223 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45224 echo $ECHO_N "(cached) $ECHO_C" >&6
45226 if test -n "$ac_ct_AR"; then
45227 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45230 for as_dir
in $PATH
45233 test -z "$as_dir" && as_dir
=.
45234 for ac_exec_ext
in '' $ac_executable_extensions; do
45235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45236 ac_cv_prog_ac_ct_AR
="ar"
45237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45243 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45246 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45247 if test -n "$ac_ct_AR"; then
45248 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45249 echo "${ECHO_T}$ac_ct_AR" >&6
45251 echo "$as_me:$LINENO: result: no" >&5
45252 echo "${ECHO_T}no" >&6
45257 AR
="$ac_cv_prog_AR"
45260 if test -n "$ac_tool_prefix"; then
45261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45262 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45263 echo "$as_me:$LINENO: checking for $ac_word" >&5
45264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45265 if test "${ac_cv_prog_STRIP+set}" = set; then
45266 echo $ECHO_N "(cached) $ECHO_C" >&6
45268 if test -n "$STRIP"; then
45269 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45272 for as_dir
in $PATH
45275 test -z "$as_dir" && as_dir
=.
45276 for ac_exec_ext
in '' $ac_executable_extensions; do
45277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45278 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45287 STRIP
=$ac_cv_prog_STRIP
45288 if test -n "$STRIP"; then
45289 echo "$as_me:$LINENO: result: $STRIP" >&5
45290 echo "${ECHO_T}$STRIP" >&6
45292 echo "$as_me:$LINENO: result: no" >&5
45293 echo "${ECHO_T}no" >&6
45297 if test -z "$ac_cv_prog_STRIP"; then
45299 # Extract the first word of "strip", so it can be a program name with args.
45300 set dummy strip
; ac_word
=$2
45301 echo "$as_me:$LINENO: checking for $ac_word" >&5
45302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45304 echo $ECHO_N "(cached) $ECHO_C" >&6
45306 if test -n "$ac_ct_STRIP"; then
45307 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45310 for as_dir
in $PATH
45313 test -z "$as_dir" && as_dir
=.
45314 for ac_exec_ext
in '' $ac_executable_extensions; do
45315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45316 ac_cv_prog_ac_ct_STRIP
="strip"
45317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45323 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45326 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45327 if test -n "$ac_ct_STRIP"; then
45328 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45329 echo "${ECHO_T}$ac_ct_STRIP" >&6
45331 echo "$as_me:$LINENO: result: no" >&5
45332 echo "${ECHO_T}no" >&6
45337 STRIP
="$ac_cv_prog_STRIP"
45340 if test -n "$ac_tool_prefix"; then
45341 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45342 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45343 echo "$as_me:$LINENO: checking for $ac_word" >&5
45344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45345 if test "${ac_cv_prog_NM+set}" = set; then
45346 echo $ECHO_N "(cached) $ECHO_C" >&6
45348 if test -n "$NM"; then
45349 ac_cv_prog_NM
="$NM" # Let the user override the test.
45351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45352 for as_dir
in $PATH
45355 test -z "$as_dir" && as_dir
=.
45356 for ac_exec_ext
in '' $ac_executable_extensions; do
45357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45358 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45368 if test -n "$NM"; then
45369 echo "$as_me:$LINENO: result: $NM" >&5
45370 echo "${ECHO_T}$NM" >&6
45372 echo "$as_me:$LINENO: result: no" >&5
45373 echo "${ECHO_T}no" >&6
45377 if test -z "$ac_cv_prog_NM"; then
45379 # Extract the first word of "nm", so it can be a program name with args.
45380 set dummy nm
; ac_word
=$2
45381 echo "$as_me:$LINENO: checking for $ac_word" >&5
45382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45383 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45384 echo $ECHO_N "(cached) $ECHO_C" >&6
45386 if test -n "$ac_ct_NM"; then
45387 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45390 for as_dir
in $PATH
45393 test -z "$as_dir" && as_dir
=.
45394 for ac_exec_ext
in '' $ac_executable_extensions; do
45395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45396 ac_cv_prog_ac_ct_NM
="nm"
45397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45403 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45406 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45407 if test -n "$ac_ct_NM"; then
45408 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45409 echo "${ECHO_T}$ac_ct_NM" >&6
45411 echo "$as_me:$LINENO: result: no" >&5
45412 echo "${ECHO_T}no" >&6
45417 NM
="$ac_cv_prog_NM"
45421 case ${BAKEFILE_HOST} in
45423 INSTALL_DIR
="mkdir -p"
45425 *) INSTALL_DIR
="$INSTALL -d"
45431 case ${BAKEFILE_HOST} in
45432 *-*-cygwin* | *-*-mingw32* )
45433 LDFLAGS_GUI
="-mwindows"
45439 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45440 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45441 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45445 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45446 egrep -s GNU
> /dev
/null
); then
45447 bakefile_cv_prog_makeisgnu
="yes"
45449 bakefile_cv_prog_makeisgnu
="no"
45453 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45454 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45456 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45473 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45474 case "${BAKEFILE_HOST}" in
45481 *-pc-os2_emx | *-pc-os2-emx )
45491 powerpc
-apple-macos* )
45500 case "$BAKEFILE_FORCE_PLATFORM" in
45521 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45522 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45523 { (exit 1); exit 1; }; }
45538 # Check whether --enable-omf or --disable-omf was given.
45539 if test "${enable_omf+set}" = set; then
45540 enableval
="$enable_omf"
45541 bk_os2_use_omf
="$enableval"
45544 case "${BAKEFILE_HOST}" in
45546 if test "x$GCC" = "xyes"; then
45547 CFLAGS
="$CFLAGS -fno-common"
45548 CXXFLAGS
="$CXXFLAGS -fno-common"
45550 if test "x$XLCC" = "xyes"; then
45551 CFLAGS
="$CFLAGS -qnocommon"
45552 CXXFLAGS
="$CXXFLAGS -qnocommon"
45556 *-pc-os2_emx | *-pc-os2-emx )
45557 if test "x$bk_os2_use_omf" = "xyes" ; then
45560 LDFLAGS
="-Zomf $LDFLAGS"
45561 CFLAGS
="-Zomf $CFLAGS"
45562 CXXFLAGS
="-Zomf $CXXFLAGS"
45570 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45576 SO_SUFFIX_MODULE
="so"
45581 DLLPREFIX_MODULE
=""
45585 case "${BAKEFILE_HOST}" in
45588 SO_SUFFIX_MODULE
="sl"
45592 SO_SUFFIX_MODULE
="a"
45596 SO_SUFFIX_MODULE
="dll"
45597 DLLIMP_SUFFIX
="dll.a"
45604 SO_SUFFIX_MODULE
="dll"
45605 DLLIMP_SUFFIX
="dll.a"
45615 *-pc-os2_emx | *-pc-os2-emx )
45617 SO_SUFFIX_MODULE
="dll"
45618 DLLIMP_SUFFIX
=$OS2_LIBEXT
45622 LIBEXT
=".$OS2_LIBEXT"
45627 SO_SUFFIX_MODULE
="bundle"
45631 if test "x$DLLIMP_SUFFIX" = "x" ; then
45632 DLLIMP_SUFFIX
="$SO_SUFFIX"
45647 if test "x$GCC" = "xyes"; then
45651 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
45652 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
45655 case "${BAKEFILE_HOST}" in
45657 if test "x$GCC" != "xyes"; then
45658 LDFLAGS
="$LDFLAGS -L/usr/lib"
45660 SHARED_LD_CC
="${CC} -b -o"
45661 SHARED_LD_CXX
="${CXX} -b -o"
45667 if test "x$GCC" != "xyes"; then
45668 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45669 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45670 if test "${bakefile_cv_prog_icc+set}" = set; then
45671 echo $ECHO_N "(cached) $ECHO_C" >&6
45674 cat >conftest.
$ac_ext <<_ACEOF
45677 cat confdefs.h
>>conftest.
$ac_ext
45678 cat >>conftest.
$ac_ext <<_ACEOF
45679 /* end confdefs.h. */
45685 #ifndef __INTEL_COMPILER
45693 rm -f conftest.
$ac_objext
45694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45695 (eval $ac_compile) 2>conftest.er1
45697 grep -v '^ *+' conftest.er1
>conftest.err
45699 cat conftest.err
>&5
45700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45701 (exit $ac_status); } &&
45702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45704 (eval $ac_try) 2>&5
45706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45707 (exit $ac_status); }; } &&
45708 { ac_try
='test -s conftest.$ac_objext'
45709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45710 (eval $ac_try) 2>&5
45712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45713 (exit $ac_status); }; }; then
45714 bakefile_cv_prog_icc
=yes
45716 echo "$as_me: failed program was:" >&5
45717 sed 's/^/| /' conftest.
$ac_ext >&5
45719 bakefile_cv_prog_icc
=no
45722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45725 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
45726 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
45727 if test "$bakefile_cv_prog_icc" = "yes"; then
45734 if test "x$GCC" != xyes
; then
45735 SHARED_LD_CC
="${CC} -G -o"
45736 SHARED_LD_CXX
="${CXX} -G -o"
45744 cat <<EOF >shared-ld-sh
45746 #-----------------------------------------------------------------------------
45747 #-- Name: distrib/mac/shared-ld-sh
45748 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
45749 #-- Author: Gilles Depeyrot
45750 #-- Copyright: (c) 2002 Gilles Depeyrot
45751 #-- Licence: any use permitted
45752 #-----------------------------------------------------------------------------
45757 linking_flag="-dynamiclib"
45758 ldargs="-r -keep_private_externs -nostdlib"
45760 while test ${D}# -gt 0; do
45767 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
45768 # collect these options and values
45769 args="${D}{args} ${D}1 ${D}2"
45774 # collect these load args
45775 ldargs="${D}{ldargs} ${D}1"
45778 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
45779 # collect these options
45780 args="${D}{args} ${D}1"
45783 -dynamiclib|-bundle)
45784 linking_flag="${D}1"
45788 echo "shared-ld: unhandled option '${D}1'"
45792 *.o | *.a | *.dylib)
45793 # collect object files
45794 objects="${D}{objects} ${D}1"
45798 echo "shared-ld: unhandled argument '${D}1'"
45809 # Link one module containing all the others
45811 if test ${D}{verbose} = 1; then
45812 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
45814 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
45818 # Link the shared library from the single module created, but only if the
45819 # previous command didn't fail:
45821 if test ${D}{status} = 0; then
45822 if test ${D}{verbose} = 1; then
45823 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
45825 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
45830 # Remove intermediate module
45832 rm -f master.${D}${D}.o
45837 chmod +x shared
-ld-sh
45839 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
45840 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
45843 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
45844 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
45845 if test "${bakefile_cv_gcc31+set}" = set; then
45846 echo $ECHO_N "(cached) $ECHO_C" >&6
45849 cat >conftest.
$ac_ext <<_ACEOF
45852 cat confdefs.h
>>conftest.
$ac_ext
45853 cat >>conftest.
$ac_ext <<_ACEOF
45854 /* end confdefs.h. */
45860 #if (__GNUC__ < 3) || \
45861 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
45869 rm -f conftest.
$ac_objext
45870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45871 (eval $ac_compile) 2>conftest.er1
45873 grep -v '^ *+' conftest.er1
>conftest.err
45875 cat conftest.err
>&5
45876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45877 (exit $ac_status); } &&
45878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45880 (eval $ac_try) 2>&5
45882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45883 (exit $ac_status); }; } &&
45884 { ac_try
='test -s conftest.$ac_objext'
45885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45886 (eval $ac_try) 2>&5
45888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45889 (exit $ac_status); }; }; then
45891 bakefile_cv_gcc31
=yes
45894 echo "$as_me: failed program was:" >&5
45895 sed 's/^/| /' conftest.
$ac_ext >&5
45898 bakefile_cv_gcc31
=no
45902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45905 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
45906 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
45907 if test "$bakefile_cv_gcc31" = "no"; then
45908 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
45909 SHARED_LD_CXX
="$SHARED_LD_CC"
45911 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
45912 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
45915 if test "x$GCC" == "xyes"; then
45916 PIC_FLAG
="-dynamic -fPIC"
45918 if test "x$XLCC" = "xyes"; then
45919 PIC_FLAG
="-dynamic -DPIC"
45924 if test "x$GCC" = "xyes"; then
45927 case "${BAKEFILE_HOST}" in
45929 LD_EXPFULL
="-Wl,-bexpfull"
45933 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
45934 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
45936 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
45937 set dummy makeC
++SharedLib
; ac_word
=$2
45938 echo "$as_me:$LINENO: checking for $ac_word" >&5
45939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45940 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
45941 echo $ECHO_N "(cached) $ECHO_C" >&6
45943 if test -n "$AIX_CXX_LD"; then
45944 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
45946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45947 for as_dir
in $PATH
45950 test -z "$as_dir" && as_dir
=.
45951 for ac_exec_ext
in '' $ac_executable_extensions; do
45952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45953 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
45954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45960 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
45963 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
45964 if test -n "$AIX_CXX_LD"; then
45965 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
45966 echo "${ECHO_T}$AIX_CXX_LD" >&6
45968 echo "$as_me:$LINENO: result: no" >&5
45969 echo "${ECHO_T}no" >&6
45972 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
45973 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
45978 SHARED_LD_CC
="${LD} -nostart -o"
45979 SHARED_LD_CXX
="${LD} -nostart -o"
45983 if test "x$GCC" != "xyes"; then
45988 *-*-cygwin* | *-*-mingw32* )
45990 SHARED_LD_CC
="\$(CC) -shared -o"
45991 SHARED_LD_CXX
="\$(CXX) -shared -o"
45995 *-pc-os2_emx | *-pc-os2-emx )
45996 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45997 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46001 cat <<EOF >dllar.sh
46004 # dllar - a tool to build both a .dll and an .a file
46005 # from a set of object (.o) files for EMX/OS2.
46007 # Written by Andrew Zabolotny, bit@freya.etu.ru
46008 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46010 # This script will accept a set of files on the command line.
46011 # All the public symbols from the .o files will be exported into
46012 # a .DEF file, then linker will be run (through gcc) against them to
46013 # build a shared library consisting of all given .o files. All libraries
46014 # (.a) will be first decompressed into component .o files then act as
46015 # described above. You can optionally give a description (-d "description")
46016 # which will be put into .DLL. To see the list of accepted options (as well
46017 # as command-line format) simply run this program without options. The .DLL
46018 # is built to be imported by name (there is no guarantee that new versions
46019 # of the library you build will have same ordinals for same symbols).
46021 # dllar is free software; you can redistribute it and/or modify
46022 # it under the terms of the GNU General Public License as published by
46023 # the Free Software Foundation; either version 2, or (at your option)
46024 # any later version.
46026 # dllar is distributed in the hope that it will be useful,
46027 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46028 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46029 # GNU General Public License for more details.
46031 # You should have received a copy of the GNU General Public License
46032 # along with dllar; see the file COPYING. If not, write to the Free
46033 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46036 # To successfuly run this program you will need:
46037 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46038 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46040 # (used to build the .dll)
46042 # (used to create .def file from .o files)
46044 # (used to create .a file from .def file)
46045 # - GNU text utilites (cat, sort, uniq)
46046 # used to process emxexp output
46047 # - GNU file utilities (mv, rm)
46049 # - lxlite (optional, see flag below)
46050 # (used for general .dll cleanup)
46057 # basnam, variant of basename, which does _not_ remove the path, _iff_
46058 # second argument (suffix to remove) is given
46062 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46065 echo ${D}1 | sed 's/'${D}2'${D}//'
46068 echo "error in basnam ${D}*"
46074 # Cleanup temporary files and output
46077 for i in ${D}inputFiles ; do
46080 rm -rf \`basnam ${D}i !\`
46087 # Kill result in case of failure as there is just to many stupid make/nmake
46088 # things out there which doesn't do this.
46089 if [ ${D}# -eq 0 ]; then
46090 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46094 # Print usage and exit script with rc=1.
46096 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46097 echo ' [-name-mangler-script script.sh]'
46098 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46099 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46100 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46101 echo ' [*.o] [*.a]'
46102 echo '*> "output_file" should have no extension.'
46103 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46104 echo ' The import library name is derived from this and is set to "name".a,'
46105 echo ' unless overridden by -import'
46106 echo '*> "importlib_name" should have no extension.'
46107 echo ' If it has the .o, or .a extension, it is automatically removed.'
46108 echo ' This name is used as the import library name and may be longer and'
46109 echo ' more descriptive than the DLL name which has to follow the old '
46110 echo ' 8.3 convention of FAT.'
46111 echo '*> "script.sh may be given to override the output_file name by a'
46112 echo ' different name. It is mainly useful if the regular make process'
46113 echo ' of some package does not take into account OS/2 restriction of'
46114 echo ' DLL name lengths. It takes the importlib name as input and is'
46115 echo ' supposed to procude a shorter name as output. The script should'
46116 echo ' expect to get importlib_name without extension and should produce'
46117 echo ' a (max.) 8 letter name without extension.'
46118 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46119 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46120 echo ' These flags will be put at the start of GCC command line.'
46121 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46122 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46123 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46124 echo ' If the last character of a symbol is "*", all symbols beginning'
46125 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46126 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46127 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46128 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46129 echo ' C runtime DLLs.'
46130 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46131 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46132 echo ' unchanged to GCC at the end of command line.'
46133 echo '*> If you create a DLL from a library and you do not specify -o,'
46134 echo ' the basename for DLL and import library will be set to library name,'
46135 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46136 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46137 echo ' library will be renamed into gcc_s.a.'
46140 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46141 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46146 # Execute a command.
46147 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46148 # @Uses Whatever CleanUp() uses.
46154 if [ ${D}rcCmd -ne 0 ]; then
46155 echo "command failed, exit code="${D}rcCmd
46170 CFLAGS="-s -Zcrtdll"
46172 EXPORT_BY_ORDINALS=0
46177 case ${D}curDirS in
46181 curDirS=${D}{curDirS}"/"
46184 # Parse commandline
46187 while [ ${D}1 ]; do
46190 EXPORT_BY_ORDINALS=1;
46200 -name-mangler-script)
46221 exclude_symbols=${D}{exclude_symbols}${D}1" "
46225 library_flags=${D}{library_flags}${D}1" "
46244 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46247 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46248 if [ ${D}omfLinking -eq 1 ]; then
46249 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46251 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46256 if [ ${D}libsToLink -ne 0 ]; then
46257 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46259 for file in ${D}1 ; do
46260 if [ -f ${D}file ]; then
46261 inputFiles="${D}{inputFiles} ${D}file"
46265 if [ ${D}found -eq 0 ]; then
46266 echo "ERROR: No file(s) found: "${D}1
46273 done # iterate cmdline words
46276 if [ -z "${D}inputFiles" ]; then
46277 echo "dllar: no input files"
46281 # Now extract all .o files from .a files
46283 for file in ${D}inputFiles ; do
46294 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46299 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46301 if [ ${D}? -ne 0 ]; then
46302 echo "Failed to create subdirectory ./${D}dirname"
46306 # Append '!' to indicate archive
46307 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46308 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46311 for subfile in ${D}dirname/*.o* ; do
46312 if [ -f ${D}subfile ]; then
46314 if [ -s ${D}subfile ]; then
46315 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46316 newInputFiles="${D}newInputFiles ${D}subfile"
46320 if [ ${D}found -eq 0 ]; then
46321 echo "WARNING: there are no files in archive \\'${D}file\\'"
46325 newInputFiles="${D}{newInputFiles} ${D}file"
46329 inputFiles="${D}newInputFiles"
46331 # Output filename(s).
46333 if [ -z ${D}outFile ]; then
46335 set outFile ${D}inputFiles; outFile=${D}2
46338 # If it is an archive, remove the '!' and the '_%' suffixes
46339 case ${D}outFile in
46341 outFile=\`basnam ${D}outFile _%!\`
46346 case ${D}outFile in
46348 outFile=\`basnam ${D}outFile .dll\`
46351 outFile=\`basnam ${D}outFile .DLL\`
46354 outFile=\`basnam ${D}outFile .o\`
46357 outFile=\`basnam ${D}outFile .obj\`
46360 outFile=\`basnam ${D}outFile .a\`
46363 outFile=\`basnam ${D}outFile .lib\`
46368 case ${D}outimpFile in
46370 outimpFile=\`basnam ${D}outimpFile .a\`
46373 outimpFile=\`basnam ${D}outimpFile .lib\`
46378 if [ -z ${D}outimpFile ]; then
46379 outimpFile=${D}outFile
46381 defFile="${D}{outFile}.def"
46382 arcFile="${D}{outimpFile}.a"
46383 arcFile2="${D}{outimpFile}.lib"
46385 #create ${D}dllFile as something matching 8.3 restrictions,
46386 if [ -z ${D}renameScript ] ; then
46387 dllFile="${D}outFile"
46389 dllFile=\`${D}renameScript ${D}outimpFile\`
46392 if [ ${D}do_backup -ne 0 ] ; then
46393 if [ -f ${D}arcFile ] ; then
46394 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46396 if [ -f ${D}arcFile2 ] ; then
46397 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46401 # Extract public symbols from all the object files.
46402 tmpdefFile=${D}{defFile}_%
46403 rm -f ${D}tmpdefFile
46404 for file in ${D}inputFiles ; do
46409 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46414 # Create the def file.
46416 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46417 dllFile="${D}{dllFile}.dll"
46418 if [ ! -z ${D}description ]; then
46419 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46421 echo "EXPORTS" >> ${D}defFile
46423 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46424 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46426 # Checks if the export is ok or not.
46427 for word in ${D}exclude_symbols; do
46428 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46429 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46433 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46434 sed "=" < ${D}tmpdefFile | \\
46438 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46440 ' > ${D}{tmpdefFile}%
46441 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46443 rm -f ${D}{tmpdefFile}%
46445 cat ${D}tmpdefFile >> ${D}defFile
46446 rm -f ${D}tmpdefFile
46448 # Do linking, create implib, and apply lxlite.
46450 for file in ${D}inputFiles ; do
46455 gccCmdl="${D}gccCmdl ${D}file"
46459 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46460 touch "${D}{outFile}.dll"
46462 doCommand "emximp -o ${D}arcFile ${D}defFile"
46463 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46465 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46468 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46470 doCommand "emxomf -s -l ${D}arcFile"
46480 powerpc
-apple-macos* | \
46481 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46490 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46491 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46492 { (exit 1); exit 1; }; }
46495 if test "x$PIC_FLAG" != "x" ; then
46496 PIC_FLAG
="$PIC_FLAG -DPIC"
46499 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46500 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46502 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46503 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46522 case "${BAKEFILE_HOST}" in
46523 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46524 SONAME_FLAG
="-Wl,-soname,"
46558 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
46559 if test "${enable_dependency_tracking+set}" = set; then
46560 enableval
="$enable_dependency_tracking"
46561 bk_use_trackdeps
="$enableval"
46564 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46565 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46567 if test "x$bk_use_trackdeps" = "xno" ; then
46569 echo "$as_me:$LINENO: result: disabled" >&5
46570 echo "${ECHO_T}disabled" >&6
46574 if test "x$GCC" = "xyes"; then
46576 case "${BAKEFILE_HOST}" in
46578 DEPSFLAG
="-no-cpp-precomp -MMD"
46584 echo "$as_me:$LINENO: result: gcc" >&5
46585 echo "${ECHO_T}gcc" >&6
46586 elif test "x$MWCC" = "xyes"; then
46589 echo "$as_me:$LINENO: result: mwcc" >&5
46590 echo "${ECHO_T}mwcc" >&6
46591 elif test "x$SUNCC" = "xyes"; then
46594 echo "$as_me:$LINENO: result: Sun cc" >&5
46595 echo "${ECHO_T}Sun cc" >&6
46596 elif test "x$SGICC" = "xyes"; then
46599 echo "$as_me:$LINENO: result: SGI cc" >&5
46600 echo "${ECHO_T}SGI cc" >&6
46601 elif test "x$HPCC" = "xyes"; then
46604 echo "$as_me:$LINENO: result: HP cc" >&5
46605 echo "${ECHO_T}HP cc" >&6
46606 elif test "x$COMPAQCC" = "xyes"; then
46609 echo "$as_me:$LINENO: result: Compaq cc" >&5
46610 echo "${ECHO_T}Compaq cc" >&6
46613 echo "$as_me:$LINENO: result: none" >&5
46614 echo "${ECHO_T}none" >&6
46617 if test $DEPS_TRACKING = 1 ; then
46623 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46624 # script. It is used to track C/C++ files dependencies in portable way.
46626 # Permission is given to use this file in any way.
46628 DEPSMODE=${DEPSMODE}
46630 DEPSFLAG="${DEPSFLAG}"
46632 mkdir -p ${D}DEPSDIR
46634 if test ${D}DEPSMODE = gcc ; then
46635 ${D}* ${D}{DEPSFLAG}
46637 if test ${D}{status} != 0 ; then
46640 # move created file to the location we want it in:
46641 while test ${D}# -gt 0; do
46655 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46656 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46657 if test -f ${D}depfile ; then
46658 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46661 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46662 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46663 if test ! -f ${D}depfile ; then
46664 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46665 depfile="${D}objfile.d"
46667 if test -f ${D}depfile ; then
46668 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46673 elif test ${D}DEPSMODE = mwcc ; then
46674 ${D}* || exit ${D}?
46675 # Run mwcc again with -MM and redirect into the dep file we want
46676 # NOTE: We can't use shift here because we need ${D}* to be valid
46678 for arg in ${D}* ; do
46679 if test "${D}prevarg" = "-o"; then
46692 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
46694 elif test ${D}DEPSMODE = unixcc; then
46695 ${D}* || exit ${D}?
46696 # Run compiler again with deps flag and redirect into the dep file.
46697 # It doesn't work if the '-o FILE' option is used, but without it the
46698 # dependency file will contain the wrong name for the object. So it is
46699 # removed from the command line, and the dep file is fixed with sed.
46701 while test ${D}# -gt 0; do
46708 eval arg${D}#=\\${D}1
46709 cmd="${D}cmd \\${D}arg${D}#"
46714 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
46729 case ${BAKEFILE_HOST} in
46730 *-*-cygwin* | *-*-mingw32* )
46731 if test -n "$ac_tool_prefix"; then
46732 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
46733 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
46734 echo "$as_me:$LINENO: checking for $ac_word" >&5
46735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46736 if test "${ac_cv_prog_WINDRES+set}" = set; then
46737 echo $ECHO_N "(cached) $ECHO_C" >&6
46739 if test -n "$WINDRES"; then
46740 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
46742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46743 for as_dir
in $PATH
46746 test -z "$as_dir" && as_dir
=.
46747 for ac_exec_ext
in '' $ac_executable_extensions; do
46748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46749 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
46750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46758 WINDRES
=$ac_cv_prog_WINDRES
46759 if test -n "$WINDRES"; then
46760 echo "$as_me:$LINENO: result: $WINDRES" >&5
46761 echo "${ECHO_T}$WINDRES" >&6
46763 echo "$as_me:$LINENO: result: no" >&5
46764 echo "${ECHO_T}no" >&6
46768 if test -z "$ac_cv_prog_WINDRES"; then
46769 ac_ct_WINDRES
=$WINDRES
46770 # Extract the first word of "windres", so it can be a program name with args.
46771 set dummy windres
; ac_word
=$2
46772 echo "$as_me:$LINENO: checking for $ac_word" >&5
46773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46774 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
46775 echo $ECHO_N "(cached) $ECHO_C" >&6
46777 if test -n "$ac_ct_WINDRES"; then
46778 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
46780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46781 for as_dir
in $PATH
46784 test -z "$as_dir" && as_dir
=.
46785 for ac_exec_ext
in '' $ac_executable_extensions; do
46786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46787 ac_cv_prog_ac_ct_WINDRES
="windres"
46788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46796 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
46797 if test -n "$ac_ct_WINDRES"; then
46798 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
46799 echo "${ECHO_T}$ac_ct_WINDRES" >&6
46801 echo "$as_me:$LINENO: result: no" >&5
46802 echo "${ECHO_T}no" >&6
46805 WINDRES
=$ac_ct_WINDRES
46807 WINDRES
="$ac_cv_prog_WINDRES"
46812 *-*-darwin* | powerpc
-apple-macos* )
46813 # Extract the first word of "Rez", so it can be a program name with args.
46814 set dummy Rez
; ac_word
=$2
46815 echo "$as_me:$LINENO: checking for $ac_word" >&5
46816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46817 if test "${ac_cv_prog_REZ+set}" = set; then
46818 echo $ECHO_N "(cached) $ECHO_C" >&6
46820 if test -n "$REZ"; then
46821 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
46823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46824 for as_dir
in $PATH
46827 test -z "$as_dir" && as_dir
=.
46828 for ac_exec_ext
in '' $ac_executable_extensions; do
46829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46830 ac_cv_prog_REZ
="Rez"
46831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46837 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
46840 REZ
=$ac_cv_prog_REZ
46841 if test -n "$REZ"; then
46842 echo "$as_me:$LINENO: result: $REZ" >&5
46843 echo "${ECHO_T}$REZ" >&6
46845 echo "$as_me:$LINENO: result: no" >&5
46846 echo "${ECHO_T}no" >&6
46849 # Extract the first word of "SetFile", so it can be a program name with args.
46850 set dummy SetFile
; ac_word
=$2
46851 echo "$as_me:$LINENO: checking for $ac_word" >&5
46852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46853 if test "${ac_cv_prog_SETFILE+set}" = set; then
46854 echo $ECHO_N "(cached) $ECHO_C" >&6
46856 if test -n "$SETFILE"; then
46857 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
46859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46860 for as_dir
in $PATH
46863 test -z "$as_dir" && as_dir
=.
46864 for ac_exec_ext
in '' $ac_executable_extensions; do
46865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46866 ac_cv_prog_SETFILE
="SetFile"
46867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46873 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
46876 SETFILE
=$ac_cv_prog_SETFILE
46877 if test -n "$SETFILE"; then
46878 echo "$as_me:$LINENO: result: $SETFILE" >&5
46879 echo "${ECHO_T}$SETFILE" >&6
46881 echo "$as_me:$LINENO: result: no" >&5
46882 echo "${ECHO_T}no" >&6
46893 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
46896 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
46900 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
46901 if test "${enable_precomp_headers+set}" = set; then
46902 enableval
="$enable_precomp_headers"
46903 bk_use_pch
="$enableval"
46910 case ${BAKEFILE_HOST} in
46916 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
46917 if test "x$GCC" = "xyes"; then
46918 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
46919 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
46920 cat >conftest.
$ac_ext <<_ACEOF
46923 cat confdefs.h
>>conftest.
$ac_ext
46924 cat >>conftest.
$ac_ext <<_ACEOF
46925 /* end confdefs.h. */
46931 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
46932 There is no PCH support
46935 There is no PCH support
46937 #if (__GNUC__ == 3) && \
46938 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
46939 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
46940 ( defined(__INTEL_COMPILER) )
46941 There is no PCH support
46948 rm -f conftest.
$ac_objext
46949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46950 (eval $ac_compile) 2>conftest.er1
46952 grep -v '^ *+' conftest.er1
>conftest.err
46954 cat conftest.err
>&5
46955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956 (exit $ac_status); } &&
46957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46959 (eval $ac_try) 2>&5
46961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46962 (exit $ac_status); }; } &&
46963 { ac_try
='test -s conftest.$ac_objext'
46964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965 (eval $ac_try) 2>&5
46967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968 (exit $ac_status); }; }; then
46970 echo "$as_me:$LINENO: result: yes" >&5
46971 echo "${ECHO_T}yes" >&6
46975 echo "$as_me: failed program was:" >&5
46976 sed 's/^/| /' conftest.
$ac_ext >&5
46979 cat >conftest.
$ac_ext <<_ACEOF
46982 cat confdefs.h
>>conftest.
$ac_ext
46983 cat >>conftest.
$ac_ext <<_ACEOF
46984 /* end confdefs.h. */
46990 #if !defined(__INTEL_COMPILER) || \
46991 (__INTEL_COMPILER < 800)
46992 There is no PCH support
46999 rm -f conftest.
$ac_objext
47000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47001 (eval $ac_compile) 2>conftest.er1
47003 grep -v '^ *+' conftest.er1
>conftest.err
47005 cat conftest.err
>&5
47006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47007 (exit $ac_status); } &&
47008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010 (eval $ac_try) 2>&5
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); }; } &&
47014 { ac_try
='test -s conftest.$ac_objext'
47015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016 (eval $ac_try) 2>&5
47018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019 (exit $ac_status); }; }; then
47021 echo "$as_me:$LINENO: result: yes" >&5
47022 echo "${ECHO_T}yes" >&6
47026 echo "$as_me: failed program was:" >&5
47027 sed 's/^/| /' conftest.
$ac_ext >&5
47030 echo "$as_me:$LINENO: result: no" >&5
47031 echo "${ECHO_T}no" >&6
47034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47038 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47042 cat <<EOF >bk-make-pch
47045 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47046 # script. It is used to generated precompiled headers.
47048 # Permission is given to use this file in any way.
47058 while test ${D}{#} -gt 0; do
47062 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47063 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47064 headerfile="${D}{incdir}/${D}{header}"
47067 -use-pch|-use_pch )
47072 if test ${D}add_to_cmdline = 1 ; then
47073 compiler="${D}{compiler} ${D}{1}"
47078 if test "x${D}{headerfile}" = "x" ; then
47079 echo "error: can't find header ${D}{header} in include paths" >&2
47081 if test -f ${D}{outfile} ; then
47082 rm -f ${D}{outfile}
47084 mkdir -p \`dirname ${D}{outfile}\`
47086 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47088 if test "x${GCC_PCH}" = "x1" ; then
47089 # can do this because gcc is >= 3.4:
47090 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47091 elif test "x${ICC_PCH}" = "x1" ; then
47092 filename=pch_gen-${D}${D}
47093 file=${D}{filename}.c
47094 dfile=${D}{filename}.d
47095 cat > ${D}file <<EOT
47096 #include "${D}header"
47098 # using -MF icc complains about differing command lines in creation/use
47099 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47100 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47101 rm -f ${D}file ${D}dfile ${D}{filename}.o
47107 chmod +x bk
-make-pch
47115 COND_BUILD_DEBUG
="#"
47116 if test "x$BUILD" = "xdebug" ; then
47117 COND_BUILD_DEBUG
=""
47120 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47121 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47122 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47125 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47126 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47127 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47130 COND_BUILD_DEBUG_UNICODE_0
="#"
47131 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47132 COND_BUILD_DEBUG_UNICODE_0
=""
47135 COND_BUILD_DEBUG_UNICODE_1
="#"
47136 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47137 COND_BUILD_DEBUG_UNICODE_1
=""
47140 COND_BUILD_RELEASE
="#"
47141 if test "x$BUILD" = "xrelease" ; then
47142 COND_BUILD_RELEASE
=""
47145 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47146 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47147 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47150 COND_BUILD_RELEASE_UNICODE_0
="#"
47151 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47152 COND_BUILD_RELEASE_UNICODE_0
=""
47155 COND_BUILD_RELEASE_UNICODE_1
="#"
47156 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47157 COND_BUILD_RELEASE_UNICODE_1
=""
47160 COND_DEBUG_FLAG_1
="#"
47161 if test "x$DEBUG_FLAG" = "x1" ; then
47162 COND_DEBUG_FLAG_1
=""
47165 COND_DEBUG_INFO_0
="#"
47166 if test "x$DEBUG_INFO" = "x0" ; then
47167 COND_DEBUG_INFO_0
=""
47170 COND_DEBUG_INFO_1
="#"
47171 if test "x$DEBUG_INFO" = "x1" ; then
47172 COND_DEBUG_INFO_1
=""
47175 COND_DEPS_TRACKING_0
="#"
47176 if test "x$DEPS_TRACKING" = "x0" ; then
47177 COND_DEPS_TRACKING_0
=""
47180 COND_DEPS_TRACKING_1
="#"
47181 if test "x$DEPS_TRACKING" = "x1" ; then
47182 COND_DEPS_TRACKING_1
=""
47186 if test "x$GCC_PCH" = "x1" ; then
47191 if test "x$ICC_PCH" = "x1" ; then
47195 COND_MONOLITHIC_0
="#"
47196 if test "x$MONOLITHIC" = "x0" ; then
47197 COND_MONOLITHIC_0
=""
47200 COND_MONOLITHIC_0_SHARED_0
="#"
47201 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47202 COND_MONOLITHIC_0_SHARED_0
=""
47205 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47210 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47215 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47217 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47220 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47222 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47225 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47227 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47230 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47232 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47235 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47236 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47237 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47240 COND_MONOLITHIC_0_SHARED_1
="#"
47241 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47242 COND_MONOLITHIC_0_SHARED_1
=""
47245 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47246 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47247 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47250 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47251 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47252 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47255 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47257 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47260 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47261 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47265 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47266 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47270 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47271 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47272 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47275 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47277 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47280 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47281 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47282 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47285 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47286 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47287 COND_MONOLITHIC_0_USE_ODBC_1
=""
47290 COND_MONOLITHIC_1
="#"
47291 if test "x$MONOLITHIC" = "x1" ; then
47292 COND_MONOLITHIC_1
=""
47295 COND_MONOLITHIC_1_SHARED_0
="#"
47296 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47297 COND_MONOLITHIC_1_SHARED_0
=""
47300 COND_MONOLITHIC_1_SHARED_1
="#"
47301 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47302 COND_MONOLITHIC_1_SHARED_1
=""
47305 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47306 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47307 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47310 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47311 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47312 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47315 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47316 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47317 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47320 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47321 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47322 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47325 COND_PLATFORM_MACOSX_1
="#"
47326 if test "x$PLATFORM_MACOSX" = "x1" ; then
47327 COND_PLATFORM_MACOSX_1
=""
47330 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47331 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47332 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47335 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47336 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47337 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47340 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47341 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47342 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47345 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47346 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47347 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47350 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47351 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47352 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47355 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47356 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47357 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47360 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47361 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47362 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47365 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47366 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47367 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47370 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47371 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47372 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47375 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47376 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47377 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47380 COND_PLATFORM_MACOS_1
="#"
47381 if test "x$PLATFORM_MACOS" = "x1" ; then
47382 COND_PLATFORM_MACOS_1
=""
47385 COND_PLATFORM_MAC_1
="#"
47386 if test "x$PLATFORM_MAC" = "x1" ; then
47387 COND_PLATFORM_MAC_1
=""
47390 COND_PLATFORM_MSDOS_0
="#"
47391 if test "x$PLATFORM_MSDOS" = "x0" ; then
47392 COND_PLATFORM_MSDOS_0
=""
47395 COND_PLATFORM_MSDOS_1
="#"
47396 if test "x$PLATFORM_MSDOS" = "x1" ; then
47397 COND_PLATFORM_MSDOS_1
=""
47400 COND_PLATFORM_OS2_1
="#"
47401 if test "x$PLATFORM_OS2" = "x1" ; then
47402 COND_PLATFORM_OS2_1
=""
47405 COND_PLATFORM_UNIX_0
="#"
47406 if test "x$PLATFORM_UNIX" = "x0" ; then
47407 COND_PLATFORM_UNIX_0
=""
47410 COND_PLATFORM_UNIX_1
="#"
47411 if test "x$PLATFORM_UNIX" = "x1" ; then
47412 COND_PLATFORM_UNIX_1
=""
47415 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47416 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47417 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47420 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47421 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47422 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47425 COND_PLATFORM_WIN32_0
="#"
47426 if test "x$PLATFORM_WIN32" = "x0" ; then
47427 COND_PLATFORM_WIN32_0
=""
47430 COND_PLATFORM_WIN32_1
="#"
47431 if test "x$PLATFORM_WIN32" = "x1" ; then
47432 COND_PLATFORM_WIN32_1
=""
47436 if test "x$SHARED" = "x0" ; then
47440 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47441 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47442 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47445 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47446 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47447 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47450 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47451 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47452 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47455 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47456 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47457 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47460 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47461 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47462 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47465 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47466 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47467 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47470 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47471 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47472 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47475 COND_SHARED_0_USE_XRC_1
="#"
47476 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47477 COND_SHARED_0_USE_XRC_1
=""
47480 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47481 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47482 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47485 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47486 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47487 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47490 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47491 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47492 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47495 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47496 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47497 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47501 if test "x$SHARED" = "x1" ; then
47505 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47506 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47507 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47510 COND_SHARED_1_USE_XRC_1
="#"
47511 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47512 COND_SHARED_1_USE_XRC_1
=""
47516 if test "x$TOOLKIT" = "x" ; then
47520 COND_TOOLKIT_COCOA
="#"
47521 if test "x$TOOLKIT" = "xCOCOA" ; then
47522 COND_TOOLKIT_COCOA
=""
47525 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47526 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47527 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47530 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47531 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47532 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47535 COND_TOOLKIT_GTK
="#"
47536 if test "x$TOOLKIT" = "xGTK" ; then
47537 COND_TOOLKIT_GTK
=""
47540 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47541 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47542 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47545 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47546 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47547 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47550 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47551 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47552 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47555 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47556 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47557 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
47560 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
47561 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47562 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
47565 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
47566 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47567 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
47570 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47571 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47572 COND_TOOLKIT_GTK_USE_GUI_1
=""
47575 COND_TOOLKIT_MAC
="#"
47576 if test "x$TOOLKIT" = "xMAC" ; then
47577 COND_TOOLKIT_MAC
=""
47580 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47581 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47582 COND_TOOLKIT_MAC_USE_GUI_1
=""
47585 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47586 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47587 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47590 COND_TOOLKIT_MGL
="#"
47591 if test "x$TOOLKIT" = "xMGL" ; then
47592 COND_TOOLKIT_MGL
=""
47595 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47596 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47597 COND_TOOLKIT_MGL_USE_GUI_1
=""
47600 COND_TOOLKIT_MOTIF
="#"
47601 if test "x$TOOLKIT" = "xMOTIF" ; then
47602 COND_TOOLKIT_MOTIF
=""
47605 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47606 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47607 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47610 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47611 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47612 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47615 COND_TOOLKIT_MSW
="#"
47616 if test "x$TOOLKIT" = "xMSW" ; then
47617 COND_TOOLKIT_MSW
=""
47620 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47621 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47622 COND_TOOLKIT_MSW_USE_GUI_1
=""
47625 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47626 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47627 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47630 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47631 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47632 COND_TOOLKIT_MSW_WXUNIV_0
=""
47635 COND_TOOLKIT_PM
="#"
47636 if test "x$TOOLKIT" = "xPM" ; then
47640 COND_TOOLKIT_PM_USE_GUI_1
="#"
47641 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47642 COND_TOOLKIT_PM_USE_GUI_1
=""
47645 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47646 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47647 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47650 COND_TOOLKIT_WINCE
="#"
47651 if test "x$TOOLKIT" = "xWINCE" ; then
47652 COND_TOOLKIT_WINCE
=""
47655 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47656 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47657 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47660 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47661 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47662 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47665 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47666 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47667 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47670 COND_TOOLKIT_X11
="#"
47671 if test "x$TOOLKIT" = "xX11" ; then
47672 COND_TOOLKIT_X11
=""
47675 COND_TOOLKIT_X11_USE_GUI_1
="#"
47676 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47677 COND_TOOLKIT_X11_USE_GUI_1
=""
47681 if test "x$UNICODE" = "x1" ; then
47685 COND_USE_EXCEPTIONS_0
="#"
47686 if test "x$USE_EXCEPTIONS" = "x0" ; then
47687 COND_USE_EXCEPTIONS_0
=""
47690 COND_USE_EXCEPTIONS_1
="#"
47691 if test "x$USE_EXCEPTIONS" = "x1" ; then
47692 COND_USE_EXCEPTIONS_1
=""
47696 if test "x$USE_GUI" = "x0" ; then
47701 if test "x$USE_GUI" = "x1" ; then
47705 COND_USE_GUI_1_WXUNIV_0
="#"
47706 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47707 COND_USE_GUI_1_WXUNIV_0
=""
47710 COND_USE_GUI_1_WXUNIV_1
="#"
47711 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47712 COND_USE_GUI_1_WXUNIV_1
=""
47715 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47716 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47717 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47720 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47721 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47722 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47725 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47726 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47727 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47730 COND_USE_ODBC_1
="#"
47731 if test "x$USE_ODBC" = "x1" ; then
47735 COND_USE_OPENGL_1
="#"
47736 if test "x$USE_OPENGL" = "x1" ; then
47737 COND_USE_OPENGL_1
=""
47741 if test "x$USE_PCH" = "x1" ; then
47745 COND_USE_PLUGINS_0
="#"
47746 if test "x$USE_PLUGINS" = "x0" ; then
47747 COND_USE_PLUGINS_0
=""
47750 COND_USE_RTTI_0
="#"
47751 if test "x$USE_RTTI" = "x0" ; then
47755 COND_USE_RTTI_1
="#"
47756 if test "x$USE_RTTI" = "x1" ; then
47760 COND_USE_SOSYMLINKS_1
="#"
47761 if test "x$USE_SOSYMLINKS" = "x1" ; then
47762 COND_USE_SOSYMLINKS_1
=""
47765 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
47766 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47767 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
47770 COND_USE_SOVERLINUX_1
="#"
47771 if test "x$USE_SOVERLINUX" = "x1" ; then
47772 COND_USE_SOVERLINUX_1
=""
47775 COND_USE_SOVERSION_0
="#"
47776 if test "x$USE_SOVERSION" = "x0" ; then
47777 COND_USE_SOVERSION_0
=""
47780 COND_USE_SOVERSOLARIS_1
="#"
47781 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47782 COND_USE_SOVERSOLARIS_1
=""
47785 COND_USE_THREADS_0
="#"
47786 if test "x$USE_THREADS" = "x0" ; then
47787 COND_USE_THREADS_0
=""
47790 COND_USE_THREADS_1
="#"
47791 if test "x$USE_THREADS" = "x1" ; then
47792 COND_USE_THREADS_1
=""
47796 if test "x$USE_XRC" = "x1" ; then
47800 COND_WINDOWS_IMPLIB_1
="#"
47801 if test "x$WINDOWS_IMPLIB" = "x1" ; then
47802 COND_WINDOWS_IMPLIB_1
=""
47805 COND_WITH_PLUGIN_SDL_1
="#"
47806 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
47807 COND_WITH_PLUGIN_SDL_1
=""
47811 if test "x$WXUNIV" = "x0" ; then
47816 if test "x$WXUNIV" = "x1" ; then
47820 COND_WXUSE_EXPAT_BUILTIN
="#"
47821 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
47822 COND_WXUSE_EXPAT_BUILTIN
=""
47825 COND_WXUSE_LIBJPEG_BUILTIN
="#"
47826 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47827 COND_WXUSE_LIBJPEG_BUILTIN
=""
47830 COND_WXUSE_LIBPNG_BUILTIN
="#"
47831 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47832 COND_WXUSE_LIBPNG_BUILTIN
=""
47835 COND_WXUSE_LIBTIFF_BUILTIN
="#"
47836 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47837 COND_WXUSE_LIBTIFF_BUILTIN
=""
47840 COND_WXUSE_ODBC_BUILTIN
="#"
47841 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
47842 COND_WXUSE_ODBC_BUILTIN
=""
47845 COND_WXUSE_REGEX_BUILTIN
="#"
47846 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
47847 COND_WXUSE_REGEX_BUILTIN
=""
47850 COND_WXUSE_ZLIB_BUILTIN
="#"
47851 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
47852 COND_WXUSE_ZLIB_BUILTIN
=""
47857 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
47858 { { 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
47859 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;}
47860 { (exit 1); exit 1; }; }
47863 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
47864 { { 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
47865 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;}
47866 { (exit 1); exit 1; }; }
47871 if test "$wxUSE_MAC" = 1 ; then
47872 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
47873 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
47879 if test "$wxUSE_SHARED" = "yes"; then
47881 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
47882 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
47885 *-pc-os2_emx | *-pc-os2-emx )
47886 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47887 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47888 cp -p ${srcdir}/src
/os
2/dllnames.sh .
47889 cp -p ${srcdir}/src
/os
2/dllar.sh .
47894 EXE_LINKER
="$CXX -o"
47897 if test "$wxUSE_OMF" = "yes"; then
47899 *-pc-os2_emx | *-pc-os2-emx )
47900 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
47901 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
47902 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
47907 if test $GCC_PCH = 1 ; then
47908 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
47911 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
47913 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
47975 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47976 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47977 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47978 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47979 echo $ECHO_N "(cached) $ECHO_C" >&6
47981 cat >conftest.
make <<\_ACEOF
47983 @
echo 'ac_maketemp="$(MAKE)"'
47985 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47986 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47987 if test -n "$ac_maketemp"; then
47988 eval ac_cv_prog_make_
${ac_make}_set
=yes
47990 eval ac_cv_prog_make_
${ac_make}_set
=no
47992 rm -f conftest.
make
47994 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47995 echo "$as_me:$LINENO: result: yes" >&5
47996 echo "${ECHO_T}yes" >&6
47999 echo "$as_me:$LINENO: result: no" >&5
48000 echo "${ECHO_T}no" >&6
48001 SET_MAKE
="MAKE=${MAKE-make}"
48006 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48009 if test "$USE_WIN32" = 1; then
48010 ac_config_commands
="$ac_config_commands
48016 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48019 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48022 ac_config_files
="$ac_config_files version-script Makefile"
48025 ac_config_commands
="$ac_config_commands wx-config"
48029 if test "$wxWITH_SUBDIRS" != "no"; then
48030 if test "$wxUSE_GUI" = "yes"; then
48031 SUBDIRS
="samples demos utils contrib"
48032 else SUBDIRS
="samples utils"
48037 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48038 if test "${with_cppunit_prefix+set}" = set; then
48039 withval
="$with_cppunit_prefix"
48040 cppunit_config_prefix
="$withval"
48042 cppunit_config_prefix
=""
48045 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48046 if test "${with_cppunit_exec_prefix+set}" = set; then
48047 withval
="$with_cppunit_exec_prefix"
48048 cppunit_config_exec_prefix
="$withval"
48050 cppunit_config_exec_prefix
=""
48053 if test x
$cppunit_config_exec_prefix != x
; then
48054 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48055 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48056 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48059 if test x
$cppunit_config_prefix != x
; then
48060 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48061 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48062 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48066 # Extract the first word of "cppunit-config", so it can be a program name with args.
48067 set dummy cppunit
-config; ac_word
=$2
48068 echo "$as_me:$LINENO: checking for $ac_word" >&5
48069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48070 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48071 echo $ECHO_N "(cached) $ECHO_C" >&6
48073 case $CPPUNIT_CONFIG in
48075 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48079 for as_dir
in $PATH
48082 test -z "$as_dir" && as_dir
=.
48083 for ac_exec_ext
in '' $ac_executable_extensions; do
48084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48085 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48092 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48096 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48098 if test -n "$CPPUNIT_CONFIG"; then
48099 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48100 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48102 echo "$as_me:$LINENO: result: no" >&5
48103 echo "${ECHO_T}no" >&6
48106 cppunit_version_min
=1.8.0
48108 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48109 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48111 if test "$CPPUNIT_CONFIG" = "no" ; then
48114 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48115 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48116 cppunit_version
=`$CPPUNIT_CONFIG --version`
48118 cppunit_major_version
=`echo $cppunit_version | \
48119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48120 cppunit_minor_version
=`echo $cppunit_version | \
48121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48122 cppunit_micro_version
=`echo $cppunit_version | \
48123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48125 cppunit_major_min
=`echo $cppunit_version_min | \
48126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48127 cppunit_minor_min
=`echo $cppunit_version_min | \
48128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48129 cppunit_micro_min
=`echo $cppunit_version_min | \
48130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48132 cppunit_version_proper
=`expr \
48133 $cppunit_major_version \> $cppunit_major_min \| \
48134 $cppunit_major_version \= $cppunit_major_min \& \
48135 $cppunit_minor_version \> $cppunit_minor_min \| \
48136 $cppunit_major_version \= $cppunit_major_min \& \
48137 $cppunit_minor_version \= $cppunit_minor_min \& \
48138 $cppunit_micro_version \>= $cppunit_micro_min `
48140 if test "$cppunit_version_proper" = "1" ; then
48141 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48142 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48144 echo "$as_me:$LINENO: result: no" >&5
48145 echo "${ECHO_T}no" >&6
48150 if test "x$no_cppunit" = x
; then
48151 SUBDIRS
="$SUBDIRS tests"
48162 for subdir
in `echo $SUBDIRS`; do
48163 if test -d ${srcdir}/${subdir} ; then
48164 if test "$wxUSE_GUI" = "yes"; then
48165 if test ${subdir} = "samples"; then
48166 makefiles
="samples/Makefile.in $makefiles"
48167 for sample
in `echo $SAMPLES_SUBDIRS`; do
48168 if test -d $srcdir/samples
/$sample; then
48169 makefiles
="samples/$sample/Makefile.in $makefiles"
48173 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48174 eval "disabled=\$$disabled_var"
48175 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48176 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48178 else if test ${subdir} = "samples"; then
48179 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48180 elif test ${subdir} = "utils"; then
48182 for util
in HelpGen tex2rtf
; do
48183 if test -d $srcdir/utils
/$util ; then
48184 makefiles
="utils/$util/Makefile.in \
48185 utils/$util/src/Makefile.in \
48189 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48193 for mkin
in $makefiles ; do
48194 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48195 ac_config_files
="$ac_config_files $mk"
48201 cat >confcache
<<\_ACEOF
48202 # This file is a shell script that caches the results of configure
48203 # tests run on this system so they can be shared between configure
48204 # scripts and configure runs, see configure's option --config-cache.
48205 # It is not useful on other systems. If it contains results you don't
48206 # want to keep, you may remove or edit it.
48208 # config.status only pays attention to the cache file if you give it
48209 # the --recheck option to rerun configure.
48211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48213 # following values.
48217 # The following way of writing the cache mishandles newlines in values,
48218 # but we know of no workaround that is simple, portable, and efficient.
48219 # So, don't put newlines in cache variables' values.
48220 # Ultrix sh set writes to stderr and can't be redirected directly,
48221 # and sets the high bit in the cache file unless we assign to the vars.
48224 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48226 # `set' does not quote correctly, so add quotes (double-quote
48227 # substitution turns \\\\ into \\, and sed turns \\ into \).
48230 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48233 # `set' quotes correctly as required by POSIX, so do not add quotes.
48235 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48244 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48246 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48247 if test -w $cache_file; then
48248 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48249 cat confcache
>$cache_file
48251 echo "not updating unwritable cache $cache_file"
48256 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48257 # Let make expand exec_prefix.
48258 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48262 # trailing colons and then remove the whole line if VPATH becomes empty
48263 # (actually we leave an empty line to preserve line numbers).
48264 if test "x$srcdir" = x.
; then
48265 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48266 s/:*\$(srcdir):*/:/;
48267 s/:*\${srcdir}:*/:/;
48269 s/^\([^=]*=[ ]*\):*/\1/;
48275 DEFS
=-DHAVE_CONFIG_H
48279 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48280 # 1. Remove the extension, and $U if already installed.
48281 ac_i
=`echo "$ac_i" |
48282 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48284 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48285 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48287 LIBOBJS
=$ac_libobjs
48289 LTLIBOBJS
=$ac_ltlibobjs
48293 : ${CONFIG_STATUS=./config.status}
48294 ac_clean_files_save
=$ac_clean_files
48295 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48296 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48297 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48298 cat >$CONFIG_STATUS <<_ACEOF
48300 # Generated by $as_me.
48301 # Run this file to recreate the current configuration.
48302 # Compiler output produced by configure, useful for debugging
48303 # configure, is in config.log if it exists.
48306 ac_cs_recheck=false
48308 SHELL=\${CONFIG_SHELL-$SHELL}
48311 cat >>$CONFIG_STATUS <<\_ACEOF
48312 ## --------------------- ##
48313 ## M4sh Initialization. ##
48314 ## --------------------- ##
48316 # Be Bourne compatible
48317 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48320 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48321 # is contrary to our usage. Disable this feature.
48322 alias -g '${1+"$@"}'='"$@"'
48323 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48326 DUALCASE
=1; export DUALCASE
# for MKS sh
48328 # Support unset when possible.
48329 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48336 # Work around bugs in pre-3.0 UWIN ksh.
48337 $as_unset ENV MAIL MAILPATH
48344 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48345 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48346 LC_TELEPHONE LC_TIME
48348 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48349 eval $as_var=C
; export $as_var
48355 # Required to use basename.
48356 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48362 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48363 as_basename
=basename
48369 # Name of the executable.
48370 as_me
=`$as_basename "$0" ||
48371 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48372 X"$0" : 'X\(//\)$' \| \
48373 X"$0" : 'X\(/\)$' \| \
48374 . : '\(.\)' 2>/dev/null ||
48376 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48377 /^X\/\(\/\/\)$/{ s//\1/; q; }
48378 /^X\/\(\/\).*/{ s//\1/; q; }
48382 # PATH needs CR, and LINENO needs CR and PATH.
48383 # Avoid depending upon Character Ranges.
48384 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48385 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48386 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48387 as_cr_digits
='0123456789'
48388 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48390 # The user is always right.
48391 if test "${PATH_SEPARATOR+set}" != set; then
48392 echo "#! /bin/sh" >conf$$.sh
48393 echo "exit 0" >>conf$$.sh
48395 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48404 as_lineno_1
=$LINENO
48405 as_lineno_2
=$LINENO
48406 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48407 test "x$as_lineno_1" != "x$as_lineno_2" &&
48408 test "x$as_lineno_3" = "x$as_lineno_2" || {
48409 # Find who we are. Look in the path if we contain no path at all
48412 *[\\/]* ) as_myself
=$0 ;;
48413 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48414 for as_dir
in $PATH
48417 test -z "$as_dir" && as_dir
=.
48418 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48423 # We did not find ourselves, most probably we were run as `sh COMMAND'
48424 # in which case we are not to be found in the path.
48425 if test "x$as_myself" = x
; then
48428 if test ! -f "$as_myself"; then
48429 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48430 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48431 { (exit 1); exit 1; }; }
48433 case $CONFIG_SHELL in
48435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48436 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48439 test -z "$as_dir" && as_dir
=.
48440 for as_base
in sh bash ksh sh5
; do
48443 if ("$as_dir/$as_base" -c '
48444 as_lineno_1=$LINENO
48445 as_lineno_2=$LINENO
48446 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48447 test "x$as_lineno_1" != "x$as_lineno_2" &&
48448 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48449 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48450 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48451 CONFIG_SHELL
=$as_dir/$as_base
48452 export CONFIG_SHELL
48453 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48461 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48462 # uniformly replaced by the line number. The first 'sed' inserts a
48463 # line-number line before each line; the second 'sed' does the real
48464 # work. The second script uses 'N' to pair each line-number line
48465 # with the numbered line, and appends trailing '-' during
48466 # substitution so that $LINENO is not a special case at line end.
48467 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48468 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48469 sed '=' <$as_myself |
48474 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48477 s,^['$as_cr_digits']*\n,,
48478 ' >$as_me.lineno
&&
48479 chmod +x
$as_me.lineno
||
48480 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48481 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48482 { (exit 1); exit 1; }; }
48484 # Don't try to exec as it changes $[0], causing all sort of problems
48485 # (the dirname of $[0] is not the place where we might find the
48486 # original and so on. Autoconf is especially sensible to this).
48488 # Exit status is that of the last command.
48493 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48494 *c
*,-n*) ECHO_N
= ECHO_C
='
48496 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48497 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48500 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48506 rm -f conf$$ conf$$.exe conf$$.
file
48508 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48509 # We could just check for DJGPP; but this test a) works b) is more generic
48510 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48511 if test -f conf$$.exe
; then
48512 # Don't use ln at all; we don't have any links
48517 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48522 rm -f conf$$ conf$$.exe conf$$.
file
48524 if mkdir -p .
2>/dev
/null
; then
48527 test -d .
/-p && rmdir .
/-p
48531 as_executable_p
="test -f"
48533 # Sed expression to map a string onto a valid CPP name.
48534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48536 # Sed expression to map a string onto a valid variable name.
48537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48541 # We need space, tab and new line, in precisely that order.
48551 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48552 # report actual input values of CONFIG_FILES etc. instead of their
48553 # values after options handling. Logging --version etc. is OK.
48557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48558 ## Running $as_me. ##
48563 This file was extended by wxWidgets $as_me 2.7.0, which was
48564 generated by GNU Autoconf 2.59. Invocation command line was
48566 CONFIG_FILES = $CONFIG_FILES
48567 CONFIG_HEADERS = $CONFIG_HEADERS
48568 CONFIG_LINKS = $CONFIG_LINKS
48569 CONFIG_COMMANDS = $CONFIG_COMMANDS
48573 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48577 # Files that config.status was made for.
48578 if test -n "$ac_config_files"; then
48579 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48582 if test -n "$ac_config_headers"; then
48583 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48586 if test -n "$ac_config_links"; then
48587 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48590 if test -n "$ac_config_commands"; then
48591 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48594 cat >>$CONFIG_STATUS <<\_ACEOF
48597 \`$as_me' instantiates files from templates according to the
48598 current configuration.
48600 Usage: $0 [OPTIONS] [FILE]...
48602 -h, --help print this help, then exit
48603 -V, --version print version number, then exit
48604 -q, --quiet do not print progress messages
48605 -d, --debug don't remove temporary files
48606 --recheck update $as_me by reconfiguring in the same conditions
48607 --file=FILE[:TEMPLATE]
48608 instantiate the configuration file FILE
48609 --header=FILE[:TEMPLATE]
48610 instantiate the configuration header FILE
48612 Configuration files:
48615 Configuration headers:
48618 Configuration commands:
48621 Report bugs to <bug-autoconf@gnu.org>."
48624 cat >>$CONFIG_STATUS <<_ACEOF
48626 wxWidgets config.status 2.7.0
48627 configured by $0, generated by GNU Autoconf 2.59,
48628 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48630 Copyright (C) 2003 Free Software Foundation, Inc.
48631 This config.status script is free software; the Free Software Foundation
48632 gives unlimited permission to copy, distribute and modify it."
48637 cat >>$CONFIG_STATUS <<\_ACEOF
48638 # If no file are specified by the user, then we need to provide default
48639 # value. By we need to know if files were specified by the user.
48645 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48646 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48654 *) # This is not an option, so the user has probably given explicit
48657 ac_need_defaults
=false
;;
48661 # Handling of the options.
48663 cat >>$CONFIG_STATUS <<\_ACEOF
48664 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48666 --version | --vers* | -V )
48667 echo "$ac_cs_version"; exit 0 ;;
48669 # Conflict between --help and --header
48670 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48671 Try \`$0 --help' for more information." >&5
48672 echo "$as_me: error: ambiguous option: $1
48673 Try \`$0 --help' for more information." >&2;}
48674 { (exit 1); exit 1; }; };;
48675 --help | --hel | -h )
48676 echo "$ac_cs_usage"; exit 0 ;;
48677 --debug | --d* | -d )
48679 --file | --fil | --fi | --f )
48681 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48682 ac_need_defaults
=false
;;
48683 --header | --heade | --head | --hea )
48685 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48686 ac_need_defaults
=false
;;
48687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48688 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48691 # This is an error.
48692 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48693 Try \`$0 --help' for more information." >&5
48694 echo "$as_me: error: unrecognized option: $1
48695 Try \`$0 --help' for more information." >&2;}
48696 { (exit 1); exit 1; }; } ;;
48698 *) ac_config_targets
="$ac_config_targets $1" ;;
48704 ac_configure_extra_args
=
48706 if $ac_cs_silent; then
48708 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48712 cat >>$CONFIG_STATUS <<_ACEOF
48713 if \$ac_cs_recheck; then
48714 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48715 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48720 cat >>$CONFIG_STATUS <<_ACEOF
48722 # INIT-COMMANDS section.
48727 infile="$srcdir/include/wx/msw/genrcdefs.h"
48728 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48731 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48732 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48733 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48741 cat >>$CONFIG_STATUS <<\_ACEOF
48742 for ac_config_target
in $ac_config_targets
48744 case "$ac_config_target" in
48745 # Handling of arguments.
48746 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48747 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48748 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48749 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48750 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48751 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48752 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48753 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48754 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48755 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48756 { (exit 1); exit 1; }; };;
48760 # If the user did not use the arguments to specify the items to instantiate,
48761 # then the envvar interface is used. Set only those that are not.
48762 # We use the long form for the default assignment because of an extremely
48763 # bizarre bug on SunOS 4.1.3.
48764 if $ac_need_defaults; then
48765 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
48766 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
48767 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
48770 # Have a temporary directory for convenience. Make it in the build tree
48771 # simply because there is no reason to put it here, and in addition,
48772 # creating and moving files from /tmp can sometimes cause problems.
48773 # Create a temporary directory, and hook for its removal unless debugging.
48776 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48777 trap '{ (exit 1); exit 1; }' 1 2 13 15
48780 # Create a (secure) tmp directory for tmp files.
48783 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48784 test -n "$tmp" && test -d "$tmp"
48787 tmp
=.
/confstat$$
-$RANDOM
48788 (umask 077 && mkdir $tmp)
48791 echo "$me: cannot create a temporary directory in ." >&2
48792 { (exit 1); exit 1; }
48797 cat >>$CONFIG_STATUS <<_ACEOF
48800 # CONFIG_FILES section.
48803 # No need to generate the scripts if there are no CONFIG_FILES.
48804 # This happens for instance when ./config.status config.h
48805 if test -n "\$CONFIG_FILES"; then
48806 # Protect against being on the right side of a sed subst in config.status.
48807 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
48808 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
48809 s,@SHELL@,$SHELL,;t t
48810 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
48811 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
48812 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
48813 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
48814 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
48815 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
48816 s,@exec_prefix@,$exec_prefix,;t t
48817 s,@prefix@,$prefix,;t t
48818 s,@program_transform_name@,$program_transform_name,;t t
48819 s,@bindir@,$bindir,;t t
48820 s,@sbindir@,$sbindir,;t t
48821 s,@libexecdir@,$libexecdir,;t t
48822 s,@datadir@,$datadir,;t t
48823 s,@sysconfdir@,$sysconfdir,;t t
48824 s,@sharedstatedir@,$sharedstatedir,;t t
48825 s,@localstatedir@,$localstatedir,;t t
48826 s,@libdir@,$libdir,;t t
48827 s,@includedir@,$includedir,;t t
48828 s,@oldincludedir@,$oldincludedir,;t t
48829 s,@infodir@,$infodir,;t t
48830 s,@mandir@,$mandir,;t t
48831 s,@build_alias@,$build_alias,;t t
48832 s,@host_alias@,$host_alias,;t t
48833 s,@target_alias@,$target_alias,;t t
48834 s,@DEFS@,$DEFS,;t t
48835 s,@ECHO_C@,$ECHO_C,;t t
48836 s,@ECHO_N@,$ECHO_N,;t t
48837 s,@ECHO_T@,$ECHO_T,;t t
48838 s,@LIBS@,$LIBS,;t t
48839 s,@build@,$build,;t t
48840 s,@build_cpu@,$build_cpu,;t t
48841 s,@build_vendor@,$build_vendor,;t t
48842 s,@build_os@,$build_os,;t t
48843 s,@host@,$host,;t t
48844 s,@host_cpu@,$host_cpu,;t t
48845 s,@host_vendor@,$host_vendor,;t t
48846 s,@host_os@,$host_os,;t t
48847 s,@target@,$target,;t t
48848 s,@target_cpu@,$target_cpu,;t t
48849 s,@target_vendor@,$target_vendor,;t t
48850 s,@target_os@,$target_os,;t t
48852 s,@CFLAGS@,$CFLAGS,;t t
48853 s,@LDFLAGS@,$LDFLAGS,;t t
48854 s,@CPPFLAGS@,$CPPFLAGS,;t t
48855 s,@ac_ct_CC@,$ac_ct_CC,;t t
48856 s,@EXEEXT@,$EXEEXT,;t t
48857 s,@OBJEXT@,$OBJEXT,;t t
48859 s,@EGREP@,$EGREP,;t t
48861 s,@CXXFLAGS@,$CXXFLAGS,;t t
48862 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
48863 s,@RANLIB@,$RANLIB,;t t
48864 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
48866 s,@ac_ct_AR@,$ac_ct_AR,;t t
48867 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
48868 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
48869 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
48870 s,@STRIP@,$STRIP,;t t
48871 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
48872 s,@WINDRES@,$WINDRES,;t t
48873 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
48874 s,@DLLTOOL@,$DLLTOOL,;t t
48875 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
48876 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
48877 s,@LN_S@,$LN_S,;t t
48878 s,@CXXCPP@,$CXXCPP,;t t
48879 s,@subdirs@,$subdirs,;t t
48880 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
48881 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
48882 s,@GTK_LIBS@,$GTK_LIBS,;t t
48883 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
48884 s,@X_CFLAGS@,$X_CFLAGS,;t t
48885 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
48886 s,@X_LIBS@,$X_LIBS,;t t
48887 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
48888 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
48889 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
48890 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
48891 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
48892 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
48893 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
48895 s,@DEREZ@,$DEREZ,;t t
48896 s,@SETFILE@,$SETFILE,;t t
48897 s,@LIBICONV@,$LIBICONV,;t t
48898 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
48899 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
48900 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
48901 s,@SDL_LIBS@,$SDL_LIBS,;t t
48902 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
48903 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
48904 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
48905 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
48906 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
48907 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
48908 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
48909 s,@GST_LIBS@,$GST_LIBS,;t t
48910 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
48911 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
48912 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
48913 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
48914 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
48915 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
48916 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
48917 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
48918 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
48919 s,@VENDOR@,$VENDOR,;t t
48920 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
48921 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
48922 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
48923 s,@WXUNIV@,$WXUNIV,;t t
48924 s,@MONOLITHIC@,$MONOLITHIC,;t t
48925 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
48926 s,@EXTRALIBS@,$EXTRALIBS,;t t
48927 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
48928 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
48929 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
48930 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
48931 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
48932 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
48933 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
48934 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
48935 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
48936 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
48937 s,@UNICODE@,$UNICODE,;t t
48938 s,@BUILD@,$BUILD,;t t
48939 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
48940 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
48941 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
48942 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
48943 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
48944 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
48945 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
48946 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
48947 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
48948 s,@SET_MAKE@,$SET_MAKE,;t t
48949 s,@MAKE_SET@,$MAKE_SET,;t t
48951 s,@ac_ct_NM@,$ac_ct_NM,;t t
48952 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
48953 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
48954 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
48955 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
48956 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
48957 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
48958 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
48959 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
48960 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
48961 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
48962 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
48963 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
48964 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
48965 s,@LIBPREFIX@,$LIBPREFIX,;t t
48966 s,@LIBEXT@,$LIBEXT,;t t
48967 s,@DLLPREFIX@,$DLLPREFIX,;t t
48968 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
48969 s,@dlldir@,$dlldir,;t t
48970 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
48971 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
48972 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
48973 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
48974 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
48975 s,@PIC_FLAG@,$PIC_FLAG,;t t
48976 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
48977 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
48978 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
48979 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
48980 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
48981 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
48982 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
48983 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
48984 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
48985 s,@GCC_PCH@,$GCC_PCH,;t t
48986 s,@ICC_PCH@,$ICC_PCH,;t t
48987 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
48988 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
48989 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
48990 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
48991 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
48992 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
48993 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
48994 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
48995 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
48996 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
48997 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
48998 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
48999 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49000 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49001 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49002 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49003 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49004 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49005 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49006 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
49007 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
49008 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
49009 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
49010 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49011 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49012 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49013 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49014 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
49015 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
49016 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
49017 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
49018 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49019 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49020 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49021 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49022 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49023 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49024 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49025 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49026 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49027 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49028 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49029 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49030 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49031 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49032 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49033 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49034 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49035 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
49036 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49037 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49038 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49039 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49040 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49041 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49042 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49043 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49044 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49045 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49046 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49047 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49048 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49049 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49050 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49051 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49052 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49053 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49054 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49055 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49056 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49057 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49058 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49059 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49060 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49061 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49062 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49063 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49064 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49065 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49066 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49067 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49068 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49069 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49070 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49071 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49072 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49073 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49074 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49075 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
49076 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49077 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49078 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49079 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49080 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49081 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49082 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49083 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49084 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49085 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49086 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49087 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49088 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49089 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49090 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49091 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49092 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49093 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49094 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49095 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49096 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49097 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49098 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49099 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49100 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49101 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49102 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49103 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49104 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49105 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49106 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49107 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49108 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49109 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49110 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49111 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49112 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49113 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49114 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49115 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49116 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49117 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49118 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49119 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49120 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49121 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49122 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49123 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49124 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49125 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49126 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49127 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49128 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49129 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49130 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49131 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49132 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49133 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49134 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49135 s,@SHARED@,$SHARED,;t t
49136 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49137 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49138 s,@USE_GUI@,$USE_GUI,;t t
49139 s,@AFMINSTALL@,$AFMINSTALL,;t t
49140 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49141 s,@TOOLKIT@,$TOOLKIT,;t t
49142 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49143 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49144 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49145 s,@cross_compiling@,$cross_compiling,;t t
49146 s,@WIDGET_SET@,$WIDGET_SET,;t t
49147 s,@WX_RELEASE@,$WX_RELEASE,;t t
49148 s,@WX_VERSION@,$WX_VERSION,;t t
49149 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49150 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49151 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49152 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49153 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49154 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49155 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49156 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49157 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49158 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49159 s,@EXE_LINKER@,$EXE_LINKER,;t t
49160 s,@GUIDIST@,$GUIDIST,;t t
49161 s,@DISTDIR@,$DISTDIR,;t t
49162 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49163 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49164 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49165 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49166 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49167 s,@RESCOMP@,$RESCOMP,;t t
49168 s,@RESFLAGS@,$RESFLAGS,;t t
49169 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49170 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49171 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49172 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49173 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49174 s,@MACSETFILE@,$MACSETFILE,;t t
49176 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49177 s,@LIBOBJS@,$LIBOBJS,;t t
49178 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49183 cat >>$CONFIG_STATUS <<\_ACEOF
49184 # Split the substitutions into bite-sized pieces for seds with
49185 # small command number limits, like on Digital OSF/1 and HP-UX.
49186 ac_max_sed_lines
=48
49187 ac_sed_frag
=1 # Number of current file.
49188 ac_beg
=1 # First line for current file.
49189 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49192 while $ac_more_lines; do
49193 if test $ac_beg -gt 1; then
49194 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49196 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49198 if test ! -s $tmp/subs.frag
; then
49199 ac_more_lines
=false
49201 # The purpose of the label and of the branching condition is to
49202 # speed up the sed processing (if there are no `@' at all, there
49203 # is no need to browse any of the substitutions).
49204 # These are the two extra sed commands mentioned above.
49206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49207 if test -z "$ac_sed_cmds"; then
49208 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49210 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49212 ac_sed_frag
=`expr $ac_sed_frag + 1`
49214 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49217 if test -z "$ac_sed_cmds"; then
49220 fi # test -n "$CONFIG_FILES"
49223 cat >>$CONFIG_STATUS <<\_ACEOF
49224 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49225 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49227 - | *:- | *:-:* ) # input from stdin
49229 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49230 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49231 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49232 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49233 * ) ac_file_in
=$ac_file.
in ;;
49236 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49237 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49238 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49239 X"$ac_file" : 'X\(//\)[^/]' \| \
49240 X"$ac_file" : 'X\(//\)$' \| \
49241 X"$ac_file" : 'X\(/\)' \| \
49242 . : '\(.\)' 2>/dev/null ||
49244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49246 /^X\(\/\/\)$/{ s//\1/; q; }
49247 /^X\(\/\).*/{ s//\1/; q; }
49249 { if $as_mkdir_p; then
49254 while test ! -d "$as_dir"; do
49255 as_dirs
="$as_dir $as_dirs"
49256 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49258 X"$as_dir" : 'X\(//\)[^/]' \| \
49259 X"$as_dir" : 'X\(//\)$' \| \
49260 X"$as_dir" : 'X\(/\)' \| \
49261 . : '\(.\)' 2>/dev/null ||
49263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49265 /^X\(\/\/\)$/{ s//\1/; q; }
49266 /^X\(\/\).*/{ s//\1/; q; }
49269 test ! -n "$as_dirs" || mkdir $as_dirs
49270 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49272 { (exit 1); exit 1; }; }; }
49276 if test "$ac_dir" != .
; then
49277 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49278 # A "../" for each directory in $ac_dir_suffix.
49279 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49281 ac_dir_suffix
= ac_top_builddir
=
49285 .
) # No --srcdir option. We are building in place.
49287 if test -z "$ac_top_builddir"; then
49290 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49292 [\\/]* | ?
:[\\/]* ) # Absolute path.
49293 ac_srcdir
=$srcdir$ac_dir_suffix;
49294 ac_top_srcdir
=$srcdir ;;
49295 *) # Relative path.
49296 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49297 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49300 # Do not use `cd foo && pwd` to compute absolute paths, because
49301 # the directories may not exist.
49303 .
) ac_abs_builddir
="$ac_dir";;
49306 .
) ac_abs_builddir
=`pwd`;;
49307 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49308 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49311 case $ac_abs_builddir in
49312 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49314 case ${ac_top_builddir}.
in
49315 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49316 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49317 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49320 case $ac_abs_builddir in
49321 .
) ac_abs_srcdir
=$ac_srcdir;;
49324 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49325 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49326 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49329 case $ac_abs_builddir in
49330 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49332 case $ac_top_srcdir in
49333 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49334 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49335 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49341 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49342 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49345 # Let's still pretend it is `configure' which instantiates (i.e., don't
49346 # use $as_me), people would be surprised to read:
49347 # /* config.h. Generated by config.status. */
49348 if test x
"$ac_file" = x
-; then
49351 configure_input
="$ac_file. "
49353 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49354 sed 's,.*/,,'` by configure."
49356 # First look for the input files in the build tree, otherwise in the
49358 ac_file_inputs
=`IFS=:
49359 for f in $ac_file_in; do
49361 -) echo $tmp/stdin ;;
49363 # Absolute (can't be DOS-style, as IFS=:)
49364 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49365 echo "$as_me: error: cannot find input file: $f" >&2;}
49366 { (exit 1); exit 1; }; }
49369 if test -f "$f"; then
49372 elif test -f "$srcdir/$f"; then
49377 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49378 echo "$as_me: error: cannot find input file: $f" >&2;}
49379 { (exit 1); exit 1; }; }
49382 done` || { (exit 1); exit 1; }
49384 if test x
"$ac_file" != x
-; then
49385 { echo "$as_me:$LINENO: creating $ac_file" >&5
49386 echo "$as_me: creating $ac_file" >&6;}
49390 cat >>$CONFIG_STATUS <<_ACEOF
49394 cat >>$CONFIG_STATUS <<\_ACEOF
49396 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49397 s
,@configure_input@
,$configure_input,;t t
49398 s
,@srcdir@
,$ac_srcdir,;t t
49399 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49400 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49401 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49402 s
,@builddir@
,$ac_builddir,;t t
49403 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49404 s
,@top_builddir@
,$ac_top_builddir,;t t
49405 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49406 s
,@INSTALL@
,$ac_INSTALL,;t t
49407 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49409 if test x"$ac_file" != x-; then
49410 mv $tmp/out $ac_file
49416 # Run the commands associated with the file.
49418 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49419 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49423 cat >>$CONFIG_STATUS <<\_ACEOF
49426 # CONFIG_HEADER section.
49429 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49430 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49432 # ac_d sets the value in "#define NAME VALUE" lines.
49433 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49434 ac_dB
='[ ].*$,\1#\2'
49437 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49438 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49439 ac_uB
='$,\1#\2define\3'
49443 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49444 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49446 - | *:- | *:-:* ) # input from stdin
49448 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49449 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49450 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49451 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49452 * ) ac_file_in
=$ac_file.
in ;;
49455 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49456 echo "$as_me: creating $ac_file" >&6;}
49458 # First look for the input files in the build tree, otherwise in the
49460 ac_file_inputs
=`IFS=:
49461 for f in $ac_file_in; do
49463 -) echo $tmp/stdin ;;
49465 # Absolute (can't be DOS-style, as IFS=:)
49466 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49467 echo "$as_me: error: cannot find input file: $f" >&2;}
49468 { (exit 1); exit 1; }; }
49469 # Do quote $f, to prevent DOS paths from being IFS'd.
49472 if test -f "$f"; then
49475 elif test -f "$srcdir/$f"; then
49480 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49481 echo "$as_me: error: cannot find input file: $f" >&2;}
49482 { (exit 1); exit 1; }; }
49485 done` || { (exit 1); exit 1; }
49486 # Remove the trailing spaces.
49487 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49491 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49492 # `conftest.undefs', that substitutes the proper values into
49493 # config.h.in to produce config.h. The first handles `#define'
49494 # templates, and the second `#undef' templates.
49495 # And first: Protect against being on the right side of a sed subst in
49496 # config.status. Protect against being in an unquoted here document
49497 # in config.status.
49498 rm -f conftest.defines conftest.undefs
49499 # Using a here document instead of a string reduces the quoting nightmare.
49500 # Putting comments in sed scripts is not portable.
49502 # `end' is used to avoid that the second main sed command (meant for
49503 # 0-ary CPP macros) applies to n-ary macro definitions.
49504 # See the Autoconf documentation for `clear'.
49505 cat >confdef2sed.
sed <<\_ACEOF
49510 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49512 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49515 # If some macros were called several times there might be several times
49516 # the same #defines, which is useless. Nevertheless, we may not want to
49517 # sort them, since we want the *last* AC-DEFINE to be honored.
49518 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49519 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49520 rm -f confdef2sed.sed
49522 # This sed command replaces #undef with comments. This is necessary, for
49523 # example, in the case of _POSIX_SOURCE, which is predefined and required
49524 # on some systems where configure will not decide to define it.
49525 cat >>conftest.undefs <<\_ACEOF
49526 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49529 # Break up conftest.defines because some shells have a limit on the size
49530 # of here documents, and old seds have small limits too (100 cmds).
49531 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49532 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49533 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49534 echo ' :' >>$CONFIG_STATUS
49535 rm -f conftest.tail
49536 while grep . conftest.defines >/dev/null
49538 # Write a limited-size here document to $tmp/defines.sed.
49539 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49540 # Speed up: don't consider the non `#define' lines.
49541 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49542 # Work around the forget-to-reset-the-flag bug.
49543 echo 't clr' >>$CONFIG_STATUS
49544 echo ': clr' >>$CONFIG_STATUS
49545 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49547 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49549 mv $tmp/out $tmp/in
49551 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49552 rm -f conftest.defines
49553 mv conftest.
tail conftest.defines
49555 rm -f conftest.defines
49556 echo ' fi # grep' >>$CONFIG_STATUS
49557 echo >>$CONFIG_STATUS
49559 # Break up conftest.undefs because some shells have a limit on the size
49560 # of here documents, and old seds have small limits too (100 cmds).
49561 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49562 rm -f conftest.
tail
49563 while grep . conftest.undefs
>/dev
/null
49565 # Write a limited-size here document to $tmp/undefs.sed.
49566 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49567 # Speed up: don't consider the non
`#undef'
49568 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49569 # Work around the forget-to-reset-the-flag bug.
49570 echo 't clr' >>$CONFIG_STATUS
49571 echo ': clr' >>$CONFIG_STATUS
49572 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49574 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49576 mv $tmp/out $tmp/in
49578 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49579 rm -f conftest.undefs
49580 mv conftest.tail conftest.undefs
49582 rm -f conftest.undefs
49584 cat >>$CONFIG_STATUS <<\_ACEOF
49585 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49586 # use $as_me), people would be surprised to read:
49587 # /* config.h. Generated by config.status. */
49588 if test x
"$ac_file" = x
-; then
49589 echo "/* Generated by configure. */" >$tmp/config.h
49591 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49593 cat $tmp/in >>$tmp/config.h
49595 if test x
"$ac_file" != x
-; then
49596 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49597 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49598 echo "$as_me: $ac_file is unchanged" >&6;}
49600 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49601 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49602 X"$ac_file" : 'X\(//\)[^/]' \| \
49603 X"$ac_file" : 'X\(//\)$' \| \
49604 X"$ac_file" : 'X\(/\)' \| \
49605 . : '\(.\)' 2>/dev/null ||
49607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49608 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49609 /^X\(\/\/\)$/{ s//\1/; q; }
49610 /^X\(\/\).*/{ s//\1/; q; }
49612 { if $as_mkdir_p; then
49617 while test ! -d "$as_dir"; do
49618 as_dirs
="$as_dir $as_dirs"
49619 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49621 X"$as_dir" : 'X\(//\)[^/]' \| \
49622 X"$as_dir" : 'X\(//\)$' \| \
49623 X"$as_dir" : 'X\(/\)' \| \
49624 . : '\(.\)' 2>/dev/null ||
49626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49628 /^X\(\/\/\)$/{ s//\1/; q; }
49629 /^X\(\/\).*/{ s//\1/; q; }
49632 test ! -n "$as_dirs" || mkdir $as_dirs
49633 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49635 { (exit 1); exit 1; }; }; }
49638 mv $tmp/config.h
$ac_file
49642 rm -f $tmp/config.h
49646 cat >>$CONFIG_STATUS <<\_ACEOF
49649 # CONFIG_COMMANDS section.
49651 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49652 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49653 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49654 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49655 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49656 X"$ac_dest" : 'X\(//\)[^/]' \| \
49657 X"$ac_dest" : 'X\(//\)$' \| \
49658 X"$ac_dest" : 'X\(/\)' \| \
49659 . : '\(.\)' 2>/dev/null ||
49661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49663 /^X\(\/\/\)$/{ s//\1/; q; }
49664 /^X\(\/\).*/{ s//\1/; q; }
49666 { if $as_mkdir_p; then
49671 while test ! -d "$as_dir"; do
49672 as_dirs
="$as_dir $as_dirs"
49673 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49675 X"$as_dir" : 'X\(//\)[^/]' \| \
49676 X"$as_dir" : 'X\(//\)$' \| \
49677 X"$as_dir" : 'X\(/\)' \| \
49678 . : '\(.\)' 2>/dev/null ||
49680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49682 /^X\(\/\/\)$/{ s//\1/; q; }
49683 /^X\(\/\).*/{ s//\1/; q; }
49686 test ! -n "$as_dirs" || mkdir $as_dirs
49687 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49688 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49689 { (exit 1); exit 1; }; }; }
49693 if test "$ac_dir" != .
; then
49694 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49695 # A "../" for each directory in $ac_dir_suffix.
49696 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49698 ac_dir_suffix
= ac_top_builddir
=
49702 .
) # No --srcdir option. We are building in place.
49704 if test -z "$ac_top_builddir"; then
49707 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49709 [\\/]* | ?
:[\\/]* ) # Absolute path.
49710 ac_srcdir
=$srcdir$ac_dir_suffix;
49711 ac_top_srcdir
=$srcdir ;;
49712 *) # Relative path.
49713 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49714 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49717 # Do not use `cd foo && pwd` to compute absolute paths, because
49718 # the directories may not exist.
49720 .
) ac_abs_builddir
="$ac_dir";;
49723 .
) ac_abs_builddir
=`pwd`;;
49724 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49725 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49728 case $ac_abs_builddir in
49729 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49731 case ${ac_top_builddir}.
in
49732 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49733 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49734 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49737 case $ac_abs_builddir in
49738 .
) ac_abs_srcdir
=$ac_srcdir;;
49741 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49742 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49743 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49746 case $ac_abs_builddir in
49747 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49749 case $ac_top_srcdir in
49750 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49751 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49752 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49757 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49758 echo "$as_me: executing $ac_dest commands" >&6;}
49761 mkdir -p $outdir &&
49762 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49764 wx
-config ) rm -f wx
-config
49765 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
49771 cat >>$CONFIG_STATUS <<\_ACEOF
49773 { (exit 0); exit 0; }
49775 chmod +x
$CONFIG_STATUS
49776 ac_clean_files
=$ac_clean_files_save
49779 # configure is writing to config.log, and then calls config.status.
49780 # config.status does its own redirection, appending to config.log.
49781 # Unfortunately, on DOS this fails, as config.log is still kept open
49782 # by configure, so config.status won't be able to write to it; its
49783 # output is simply discarded. So we exec the FD to /dev/null,
49784 # effectively closing config.log, so it can be properly (re)opened and
49785 # appended to by config.status. When coming back to configure, we
49786 # need to make the FD available again.
49787 if test "$no_create" != yes; then
49789 ac_config_status_args
=
49790 test "$silent" = yes &&
49791 ac_config_status_args
="$ac_config_status_args --quiet"
49793 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
49795 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49796 # would make configure fail if this is the last instruction.
49797 $ac_cs_success || { (exit 1); exit 1; }
49801 # CONFIG_SUBDIRS section.
49803 if test "$no_recursion" != yes; then
49805 # Remove --cache-file and --srcdir arguments so they do not pile up.
49806 ac_sub_configure_args
=
49808 for ac_arg
in $ac_configure_args; do
49809 if test -n "$ac_prev"; then
49814 -cache-file | --cache-file | --cache-fil | --cache-fi \
49815 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
49816 ac_prev
=cache_file
;;
49817 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
49818 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
49821 --config-cache | -C)
49823 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
49825 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
49827 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
49829 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
49831 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
49835 # Always prepend --prefix to ensure using the same prefix
49836 # in subdir configurations.
49837 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
49840 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
49842 # Do not complain, so a configure script can configure whichever
49843 # parts of a large source tree are present.
49844 test -d $srcdir/$ac_dir || continue
49846 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
49847 echo "$as_me: configuring in $ac_dir" >&6;}
49848 { if $as_mkdir_p; then
49853 while test ! -d "$as_dir"; do
49854 as_dirs
="$as_dir $as_dirs"
49855 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49857 X"$as_dir" : 'X\(//\)[^/]' \| \
49858 X"$as_dir" : 'X\(//\)$' \| \
49859 X"$as_dir" : 'X\(/\)' \| \
49860 . : '\(.\)' 2>/dev/null ||
49862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49864 /^X\(\/\/\)$/{ s//\1/; q; }
49865 /^X\(\/\).*/{ s//\1/; q; }
49868 test ! -n "$as_dirs" || mkdir $as_dirs
49869 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49870 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49871 { (exit 1); exit 1; }; }; }
49875 if test "$ac_dir" != .
; then
49876 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49877 # A "../" for each directory in $ac_dir_suffix.
49878 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49880 ac_dir_suffix
= ac_top_builddir
=
49884 .
) # No --srcdir option. We are building in place.
49886 if test -z "$ac_top_builddir"; then
49889 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49891 [\\/]* | ?
:[\\/]* ) # Absolute path.
49892 ac_srcdir
=$srcdir$ac_dir_suffix;
49893 ac_top_srcdir
=$srcdir ;;
49894 *) # Relative path.
49895 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49896 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49899 # Do not use `cd foo && pwd` to compute absolute paths, because
49900 # the directories may not exist.
49902 .
) ac_abs_builddir
="$ac_dir";;
49905 .
) ac_abs_builddir
=`pwd`;;
49906 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49907 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49910 case $ac_abs_builddir in
49911 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49913 case ${ac_top_builddir}.
in
49914 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49915 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49916 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49919 case $ac_abs_builddir in
49920 .
) ac_abs_srcdir
=$ac_srcdir;;
49923 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49924 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49925 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49928 case $ac_abs_builddir in
49929 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49931 case $ac_top_srcdir in
49932 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49933 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49934 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49941 # Check for guested configure; otherwise get Cygnus style configure.
49942 if test -f $ac_srcdir/configure.gnu
; then
49943 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
49944 elif test -f $ac_srcdir/configure
; then
49945 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
49946 elif test -f $ac_srcdir/configure.
in; then
49947 ac_sub_configure
=$ac_configure
49949 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
49950 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
49954 # The recursion is here.
49955 if test -n "$ac_sub_configure"; then
49956 # Make the cache file name correct relative to the subdirectory.
49957 case $cache_file in
49958 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
49959 *) # Relative path.
49960 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
49963 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
49964 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
49965 # The eval makes quoting arguments work.
49966 eval $ac_sub_configure $ac_sub_configure_args \
49967 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
49968 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
49969 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
49970 { (exit 1); exit 1; }; }
49979 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
49981 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
49982 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
49984 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
49985 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
49986 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
49988 echo " What level of wxWidgets compatibility should be enabled?"
49989 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
49990 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
49992 echo " Which libraries should wxWidgets use?"
49993 echo " jpeg ${wxUSE_LIBJPEG-none}"
49994 echo " png ${wxUSE_LIBPNG-none}"
49995 echo " regex ${wxUSE_REGEX}"
49996 echo " tiff ${wxUSE_LIBTIFF-none}"
49997 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
49998 echo " xpm ${wxUSE_LIBXPM-none}"
50000 echo " zlib ${wxUSE_ZLIB}"
50001 echo " odbc ${wxUSE_ODBC}"
50002 echo " expat ${wxUSE_EXPAT}"
50003 echo " libmspack ${wxUSE_LIBMSPACK}"
50004 echo " sdl ${wxUSE_LIBSDL}"
50005 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50006 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50007 echo " hildon ${wxUSE_LIBHILDON-none}"