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-combocontrol use wxComboControl class
983 --enable-datepick use wxDatePickerCtrl class
984 --enable-display use wxDisplay class
985 --enable-gauge use wxGauge class
986 --enable-grid use wxGrid class
987 --enable-dataviewctrl, use wxDataViewCtrl class
988 --enable-imaglist use wxImageList class
989 --enable-listbook use wxListbook class
990 --enable-listbox use wxListBox class
991 --enable-listctrl use wxListCtrl class
992 --enable-notebook use wxNotebook class
993 --enable-odcombo use wxOwnerDrawnComboBox class
994 --enable-radiobox use wxRadioBox class
995 --enable-radiobtn use wxRadioButton class
996 --enable-sash use wxSashWindow class
997 --enable-scrollbar use wxScrollBar class and scrollable windows
998 --enable-slider use wxSlider class
999 --enable-spinbtn use wxSpinButton class
1000 --enable-spinctrl use wxSpinCtrl class
1001 --enable-splitter use wxSplitterWindow class
1002 --enable-statbmp use wxStaticBitmap class
1003 --enable-statbox use wxStaticBox class
1004 --enable-statline use wxStaticLine class
1005 --enable-stattext use wxStaticText class
1006 --enable-statusbar use wxStatusBar class
1007 --enable-tabdialog use wxTabControl class
1008 --enable-textctrl use wxTextCtrl class
1009 --enable-togglebtn use wxToggleButton class
1010 --enable-toolbar use wxToolBar class
1011 --enable-tbarnative use native wxToolBar class
1012 --enable-tbarsmpl use wxToolBarSimple class
1013 --enable-treebook use wxTreebook class
1014 --enable-toolbook use wxToolbook class
1015 --enable-treectrl use wxTreeCtrl class
1016 --enable-tipwindow use wxTipWindow class
1017 --enable-popupwin use wxPopUpWindow class
1018 --enable-commondlg use all common dialogs
1019 --enable-choicedlg use wxChoiceDialog
1020 --enable-coldlg use wxColourDialog
1021 --enable-filedlg use wxFileDialog
1022 --enable-finddlg use wxFindReplaceDialog
1023 --enable-fontdlg use wxFontDialog
1024 --enable-dirdlg use wxDirDialog
1025 --enable-msgdlg use wxMessageDialog
1026 --enable-numberdlg use wxNumberEntryDialog
1027 --enable-splash use wxSplashScreen
1028 --enable-textdlg use wxTextDialog
1029 --enable-tipdlg use startup tips
1030 --enable-progressdlg use wxProgressDialog
1031 --enable-wizarddlg use wxWizard
1032 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1033 --enable-miniframe use wxMiniFrame class
1034 --enable-tooltips use wxToolTip class
1035 --enable-splines use spline drawing code
1036 --enable-mousewheel use mousewheel
1037 --enable-validators use wxValidator and derived classes
1038 --enable-busyinfo use wxBusyInfo
1039 --enable-joystick use wxJoystick
1040 --enable-metafiles use wxMetaFile
(Win32 only
)
1041 --enable-dragimage use wxDragImage
1042 --enable-accessibility enable accessibility support
1043 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1044 --enable-palette use wxPalette class
1045 --enable-image use wxImage class
1046 --enable-gif use gif images
(GIF
file format
)
1047 --enable-pcx use pcx images
(PCX
file format
)
1048 --enable-iff use iff images
(IFF
file format
)
1049 --enable-pnm use pnm images
(PNM
file format
)
1050 --enable-xpm use xpm images
(XPM
file format
)
1051 --enable-icocur use Windows ICO and CUR formats
1052 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1053 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1054 --disable-largefile omit support
for large files
1055 --disable-gtktest do not try to compile and run a
test GTK
+ program
1056 --disable-gtktest Do not try to compile and run a
test GTK program
1057 --disable-sdltest Do not try to compile and run a
test SDL program
1058 --enable-omf use OMF object format
(OS
/2)
1059 --disable-dependency-tracking
1060 don
't use dependency tracking even if the compiler
1062 --disable-precomp-headers
1063 don't use precompiled headers even
if compiler can
1066 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1067 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1068 --without-subdirs don
't generate makefiles for samples/demos/...
1069 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1070 --with-motif use Motif/Lesstif
1071 --with-mac use Mac OS X
1072 --with-cocoa use Cocoa
1073 --with-wine use Wine
1074 --with-msw use MS-Windows
1075 --with-pm use OS/2 Presentation Manager
1076 --with-mgl use SciTech MGL
1077 --with-microwin use MicroWindows
1079 --with-libpng use libpng (PNG image format)
1080 --with-libjpeg use libjpeg (JPEG file format)
1081 --with-libtiff use libtiff (TIFF file format)
1082 --with-libxpm use libxpm (XPM file format)
1083 --with-libmspack use libmspack (CHM help files loading)
1084 --with-sdl use SDL for audio on Unix
1085 --with-gnomeprint use GNOME print for printing under GNOME
1086 --with-gnomevfs use GNOME VFS for associating MIME types
1087 --with-hildon use Hildon framework for Nokia 770
1088 --with-opengl use OpenGL (or Mesa)
1089 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1090 --with-regex enable support for wxRegEx class
1091 --with-zlib use zlib for LZW compression
1092 --with-odbc use the IODBC and wxODBC classes
1093 --with-expat enable XML support using expat parser
1094 --with-flavour=NAME specify a name to identify this build
1095 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1096 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1097 --with-x use the X Window System
1098 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1099 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1100 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1101 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1102 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1104 Some influential environment variables:
1105 CC C compiler command
1106 CFLAGS C compiler flags
1107 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1108 nonstandard directory <lib dir>
1109 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1110 headers in a nonstandard directory <include dir>
1112 CXX C++ compiler command
1113 CXXFLAGS C++ compiler flags
1114 CXXCPP C++ preprocessor
1116 Use these variables to override the choices made by `configure' or to
help
1117 it to
find libraries and programs with nonstandard names
/locations.
1119 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1123 if test "$ac_init_help" = "recursive"; then
1124 # If there are subdirs, report their specific --help.
1126 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1127 test -d $ac_dir || continue
1130 if test "$ac_dir" != .
; then
1131 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1132 # A "../" for each directory in $ac_dir_suffix.
1133 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1135 ac_dir_suffix
= ac_top_builddir
=
1139 .
) # No --srcdir option. We are building in place.
1141 if test -z "$ac_top_builddir"; then
1144 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1146 [\\/]* | ?
:[\\/]* ) # Absolute path.
1147 ac_srcdir
=$srcdir$ac_dir_suffix;
1148 ac_top_srcdir
=$srcdir ;;
1150 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1151 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1154 # Do not use `cd foo && pwd` to compute absolute paths, because
1155 # the directories may not exist.
1157 .
) ac_abs_builddir
="$ac_dir";;
1160 .
) ac_abs_builddir
=`pwd`;;
1161 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1162 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1165 case $ac_abs_builddir in
1166 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1168 case ${ac_top_builddir}.
in
1169 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1170 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1171 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1174 case $ac_abs_builddir in
1175 .
) ac_abs_srcdir
=$ac_srcdir;;
1178 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1179 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1180 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1183 case $ac_abs_builddir in
1184 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1186 case $ac_top_srcdir in
1187 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1188 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1189 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1194 # Check for guested configure; otherwise get Cygnus style configure.
1195 if test -f $ac_srcdir/configure.gnu
; then
1197 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1198 elif test -f $ac_srcdir/configure
; then
1200 $SHELL $ac_srcdir/configure
--help=recursive
1201 elif test -f $ac_srcdir/configure.ac
||
1202 test -f $ac_srcdir/configure.
in; then
1204 $ac_configure --help
1206 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1212 test -n "$ac_init_help" && exit 0
1213 if $ac_init_version; then
1215 wxWidgets configure
2.7.0
1216 generated by GNU Autoconf
2.59
1218 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1219 This configure
script is free software
; the Free Software Foundation
1220 gives unlimited permission to copy
, distribute and modify it.
1226 This file contains any messages produced by compilers while
1227 running configure, to aid debugging if configure makes a mistake.
1229 It was created by wxWidgets $as_me 2.7.0, which was
1230 generated by GNU Autoconf 2.59. Invocation command line was
1241 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1242 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1243 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1244 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1245 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1247 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1248 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1250 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1251 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1252 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1253 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1254 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1255 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1256 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1264 test -z "$as_dir" && as_dir
=.
1265 echo "PATH: $as_dir"
1280 # Keep a trace of the command line.
1281 # Strip out --no-create and --no-recursion so they do not pile up.
1282 # Strip out --silent because we don't want to record it for future runs.
1283 # Also quote any args containing shell meta-characters.
1284 # Make two passes to allow for proper duplicate-argument suppression.
1289 ac_must_keep_next
=false
1295 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1297 | -silent | --silent | --silen | --sile | --sil)
1299 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1300 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1303 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1305 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1306 if test $ac_must_keep_next = true
; then
1307 ac_must_keep_next
=false
# Got value, back to normal.
1310 *=* | --config-cache | -C | -disable-* | --disable-* \
1311 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1312 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1313 | -with-* | --with-* | -without-* | --without-* | --x)
1314 case "$ac_configure_args0 " in
1315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1318 -* ) ac_must_keep_next
=true
;;
1321 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1322 # Get rid of the leading space.
1328 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1329 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1331 # When interrupted or exit'd, cleanup temporary files, and complete
1332 # config.log. We remove comments because anyway the quotes in there
1333 # would cause problems or look ugly.
1334 # WARNING: Be sure not to use single quotes in there, as some shells,
1335 # such as our DU 5.0 friend, will then `close' the trap.
1336 trap 'exit_status=$?
1337 # Save into config.log some information that might help in debugging.
1342 ## ---------------- ##
1343 ## Cache variables. ##
1344 ## ---------------- ##
1347 # The following way of writing the cache mishandles newlines in values,
1350 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1353 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1354 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1358 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1365 ## ----------------- ##
1366 ## Output variables. ##
1367 ## ----------------- ##
1370 for ac_var in $ac_subst_vars
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1377 if test -n "$ac_subst_files"; then
1384 for ac_var in $ac_subst_files
1386 eval ac_val=$`echo $ac_var`
1387 echo "$ac_var='"'"'$ac_val'"'"'"
1392 if test -s confdefs.h; then
1399 sed "/^$/d" confdefs.h | sort
1402 test "$ac_signal" != 0 &&
1403 echo "$as_me: caught signal $ac_signal"
1404 echo "$as_me: exit $exit_status"
1406 rm -f core *.core &&
1407 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1410 for ac_signal
in 1 2 13 15; do
1411 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1415 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1416 rm -rf conftest
* confdefs.h
1417 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1420 # Predefined preprocessor variables.
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_NAME "$PACKAGE_NAME"
1427 cat >>confdefs.h
<<_ACEOF
1428 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1432 cat >>confdefs.h
<<_ACEOF
1433 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1437 cat >>confdefs.h
<<_ACEOF
1438 #define PACKAGE_STRING "$PACKAGE_STRING"
1442 cat >>confdefs.h
<<_ACEOF
1443 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1447 # Let the site file select an alternate cache file if it wants to.
1448 # Prefer explicitly selected file to automatically selected ones.
1449 if test -z "$CONFIG_SITE"; then
1450 if test "x$prefix" != xNONE
; then
1451 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1453 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1456 for ac_site_file
in $CONFIG_SITE; do
1457 if test -r "$ac_site_file"; then
1458 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1459 echo "$as_me: loading site script $ac_site_file" >&6;}
1460 sed 's/^/| /' "$ac_site_file" >&5
1465 if test -r "$cache_file"; then
1466 # Some versions of bash will fail to source /dev/null (special
1467 # files actually), so we avoid doing that.
1468 if test -f "$cache_file"; then
1469 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1470 echo "$as_me: loading cache $cache_file" >&6;}
1472 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1473 *) . .
/$cache_file;;
1477 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1478 echo "$as_me: creating cache $cache_file" >&6;}
1482 # Check that the precious variables saved in the cache have kept the same
1484 ac_cache_corrupted
=false
1485 for ac_var
in `(set) 2>&1 |
1486 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1487 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1488 eval ac_new_set
=\
$ac_env_${ac_var}_set
1489 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1490 eval ac_new_val
="\$ac_env_${ac_var}_value"
1491 case $ac_old_set,$ac_new_set in
1493 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1494 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1495 ac_cache_corrupted
=: ;;
1497 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1498 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1499 ac_cache_corrupted
=: ;;
1502 if test "x$ac_old_val" != "x$ac_new_val"; then
1503 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1504 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1505 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1506 echo "$as_me: former value: $ac_old_val" >&2;}
1507 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1508 echo "$as_me: current value: $ac_new_val" >&2;}
1509 ac_cache_corrupted
=:
1512 # Pass precious variables to config.status.
1513 if test "$ac_new_set" = set; then
1515 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1516 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 *) ac_arg
=$ac_var=$ac_new_val ;;
1519 case " $ac_configure_args " in
1520 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1521 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1525 if $ac_cache_corrupted; then
1526 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1527 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1528 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1529 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1530 { (exit 1); exit 1; }; }
1534 ac_cpp
='$CPP $CPPFLAGS'
1535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1569 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1570 if test -f $ac_dir/install-sh; then
1572 ac_install_sh
="$ac_aux_dir/install-sh -c"
1574 elif test -f $ac_dir/install.sh
; then
1576 ac_install_sh
="$ac_aux_dir/install.sh -c"
1578 elif test -f $ac_dir/shtool
; then
1580 ac_install_sh
="$ac_aux_dir/shtool install -c"
1584 if test -z "$ac_aux_dir"; then
1585 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1586 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1587 { (exit 1); exit 1; }; }
1589 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1590 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1591 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1593 # Make sure we can run config.sub.
1594 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1595 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1596 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1597 { (exit 1); exit 1; }; }
1599 echo "$as_me:$LINENO: checking build system type" >&5
1600 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1601 if test "${ac_cv_build+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 ac_cv_build_alias
=$build_alias
1605 test -z "$ac_cv_build_alias" &&
1606 ac_cv_build_alias
=`$ac_config_guess`
1607 test -z "$ac_cv_build_alias" &&
1608 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1609 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1610 { (exit 1); exit 1; }; }
1611 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1613 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1617 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1618 echo "${ECHO_T}$ac_cv_build" >&6
1620 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1625 echo "$as_me:$LINENO: checking host system type" >&5
1626 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1627 if test "${ac_cv_host+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 ac_cv_host_alias
=$host_alias
1631 test -z "$ac_cv_host_alias" &&
1632 ac_cv_host_alias
=$ac_cv_build_alias
1633 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1635 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1640 echo "${ECHO_T}$ac_cv_host" >&6
1642 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1647 echo "$as_me:$LINENO: checking target system type" >&5
1648 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1649 if test "${ac_cv_target+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 ac_cv_target_alias
=$target_alias
1653 test "x$ac_cv_target_alias" = "x" &&
1654 ac_cv_target_alias
=$ac_cv_host_alias
1655 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1656 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1657 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1658 { (exit 1); exit 1; }; }
1661 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1662 echo "${ECHO_T}$ac_cv_target" >&6
1663 target
=$ac_cv_target
1664 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1665 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1666 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1669 # The aliases save the names the user supplied, while $host etc.
1670 # will get canonicalized.
1671 test -n "$target_alias" &&
1672 test "$program_prefix$program_suffix$program_transform_name" = \
1674 program_prefix
=${target_alias}-
1678 wx_major_version_number
=2
1679 wx_minor_version_number
=7
1681 wx_subrelease_number
=0
1683 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1684 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1685 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1687 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1700 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1706 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1712 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1714 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1716 DEFAULT_wxUSE_COCOA
=0
1720 DEFAULT_wxUSE_MICROWIN
=0
1721 DEFAULT_wxUSE_MOTIF
=0
1726 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1727 DEFAULT_DEFAULT_wxUSE_GTK
=0
1728 DEFAULT_DEFAULT_wxUSE_MAC
=0
1729 DEFAULT_DEFAULT_wxUSE_MGL
=0
1730 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1731 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1732 DEFAULT_DEFAULT_wxUSE_MSW
=0
1733 DEFAULT_DEFAULT_wxUSE_PM
=0
1734 DEFAULT_DEFAULT_wxUSE_X11
=0
1739 SAMPLES_RPATH_POSTLINK
=
1741 DEFAULT_STD_FLAG
=yes
1746 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1747 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1749 cat >>confdefs.h
<<\_ACEOF
1754 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1758 cat >>confdefs.h
<<\_ACEOF
1763 if test "x$TMP" = "xalpha"; then
1765 cat >>confdefs.h
<<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK
=1
1772 *-*-gnu* | *-*-k*bsd
*-gnu )
1775 if test "x$TMP" = "xalpha"; then
1777 cat >>confdefs.h
<<\_ACEOF
1782 DEFAULT_DEFAULT_wxUSE_GTK
=1
1784 *-*-irix5* | *-*-irix6* )
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1801 cat >>confdefs.h
<<\_ACEOF
1805 cat >>confdefs.h
<<\_ACEOF
1806 #define __SOLARIS__ 1
1809 cat >>confdefs.h
<<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1814 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1820 cat >>confdefs.h
<<\_ACEOF
1824 cat >>confdefs.h
<<\_ACEOF
1828 cat >>confdefs.h
<<\_ACEOF
1832 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1837 cat >>confdefs.h
<<\_ACEOF
1838 #define __FREEBSD__ 1
1841 cat >>confdefs.h
<<\_ACEOF
1845 DEFAULT_DEFAULT_wxUSE_GTK
=1
1850 cat >>confdefs.h
<<\_ACEOF
1851 #define __OPENBSD__ 1
1854 cat >>confdefs.h
<<\_ACEOF
1858 DEFAULT_DEFAULT_wxUSE_GTK
=1
1863 cat >>confdefs.h
<<\_ACEOF
1864 #define __NETBSD__ 1
1867 cat >>confdefs.h
<<\_ACEOF
1871 DEFAULT_DEFAULT_wxUSE_GTK
=1
1872 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1874 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1879 cat >>confdefs.h
<<\_ACEOF
1883 cat >>confdefs.h
<<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1888 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1893 cat >>confdefs.h
<<\_ACEOF
1897 cat >>confdefs.h
<<\_ACEOF
1901 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1914 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1921 cat >>confdefs.h
<<\_ACEOF
1925 cat >>confdefs.h
<<\_ACEOF
1929 cat >>confdefs.h
<<\_ACEOF
1933 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1940 cat >>confdefs.h
<<\_ACEOF
1941 #define __UNIXWARE__ 1
1946 *-*-cygwin* | *-*-mingw32* )
1949 DEFAULT_DEFAULT_wxUSE_MSW
=1
1956 cat >>confdefs.h
<<\_ACEOF
1961 DEFAULT_DEFAULT_wxUSE_MGL
=1
1964 *-pc-os2_emx | *-pc-os2-emx )
1965 cat >>confdefs.h
<<\_ACEOF
1970 cat >>confdefs.h
<<\_ACEOF
1975 DEFAULT_DEFAULT_wxUSE_PM
=1
1977 LDFLAGS
="$LDFLAGS -Zcrtdll"
1978 ac_executable_extensions
=".exe"
1979 export ac_executable_extensions
1983 for ac_dir
in $PATH; do
1985 if test -z "$ac_TEMP_PATH"; then
1986 ac_TEMP_PATH
="$ac_dir"
1988 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1991 export PATH
="$ac_TEMP_PATH"
2000 cat >>confdefs.h
<<\_ACEOF
2004 cat >>confdefs.h
<<\_ACEOF
2005 #define __DARWIN__ 1
2008 cat >>confdefs.h
<<\_ACEOF
2009 #define TARGET_CARBON 1
2012 DEFAULT_DEFAULT_wxUSE_MAC
=1
2015 powerpc
-apple-macos* )
2017 ac_cv_c_bigendian
=yes
2019 DEFAULT_DEFAULT_wxUSE_MAC
=1
2025 cat >>confdefs.h
<<\_ACEOF
2032 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2033 echo "$as_me: error: unknown system type ${host}." >&2;}
2034 { (exit 1); exit 1; }; }
2040 wx_arg_cache_file
="configarg.cache"
2041 echo "loading argument cache $wx_arg_cache_file"
2042 rm -f ${wx_arg_cache_file}.tmp
2043 touch ${wx_arg_cache_file}.tmp
2044 touch ${wx_arg_cache_file}
2048 if test $DEBUG_CONFIGURE = 1; then
2049 DEFAULT_wxUSE_UNIVERSAL
=no
2050 DEFAULT_wxUSE_STL
=no
2052 DEFAULT_wxUSE_NANOX
=no
2054 DEFAULT_wxUSE_THREADS
=yes
2056 DEFAULT_wxUSE_SHARED
=yes
2057 DEFAULT_wxUSE_OPTIMISE
=no
2058 DEFAULT_wxUSE_PROFILE
=no
2059 DEFAULT_wxUSE_NO_DEPS
=no
2060 DEFAULT_wxUSE_NO_RTTI
=no
2061 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2062 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2063 DEFAULT_wxUSE_RPATH
=yes
2064 DEFAULT_wxUSE_PERMISSIVE
=no
2065 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2066 DEFAULT_wxUSE_DEBUG_INFO
=yes
2067 DEFAULT_wxUSE_DEBUG_GDB
=yes
2068 DEFAULT_wxUSE_MEM_TRACING
=no
2069 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2070 DEFAULT_wxUSE_DMALLOC
=no
2071 DEFAULT_wxUSE_APPLE_IEEE
=no
2073 DEFAULT_wxUSE_EXCEPTIONS
=no
2074 DEFAULT_wxUSE_LOG
=yes
2075 DEFAULT_wxUSE_LOGWINDOW
=no
2076 DEFAULT_wxUSE_LOGGUI
=no
2077 DEFAULT_wxUSE_LOGDIALOG
=no
2079 DEFAULT_wxUSE_GUI
=yes
2080 DEFAULT_wxUSE_CONTROLS
=no
2082 DEFAULT_wxUSE_REGEX
=no
2083 DEFAULT_wxUSE_XML
=no
2084 DEFAULT_wxUSE_EXPAT
=no
2085 DEFAULT_wxUSE_ZLIB
=no
2086 DEFAULT_wxUSE_LIBPNG
=no
2087 DEFAULT_wxUSE_LIBJPEG
=no
2088 DEFAULT_wxUSE_LIBTIFF
=no
2089 DEFAULT_wxUSE_LIBXPM
=no
2090 DEFAULT_wxUSE_LIBMSPACK
=no
2091 DEFAULT_wxUSE_LIBSDL
=no
2092 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2093 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2094 DEFAULT_wxUSE_LIBHILDON
=no
2095 DEFAULT_wxUSE_ODBC
=no
2096 DEFAULT_wxUSE_OPENGL
=no
2098 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2099 DEFAULT_wxUSE_STACKWALKER
=no
2100 DEFAULT_wxUSE_DEBUGREPORT
=no
2101 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2102 DEFAULT_wxUSE_STD_IOSTREAM
=no
2103 DEFAULT_wxUSE_STD_STRING
=no
2104 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2105 DEFAULT_wxUSE_DATETIME
=no
2106 DEFAULT_wxUSE_TIMER
=no
2107 DEFAULT_wxUSE_STOPWATCH
=no
2108 DEFAULT_wxUSE_FILE
=no
2109 DEFAULT_wxUSE_FFILE
=no
2110 DEFAULT_wxUSE_STDPATHS
=no
2111 DEFAULT_wxUSE_TEXTBUFFER
=no
2112 DEFAULT_wxUSE_TEXTFILE
=no
2113 DEFAULT_wxUSE_SOUND
=no
2114 DEFAULT_wxUSE_MEDIACTRL
=no
2115 DEFAULT_wxUSE_GSTREAMER8
=no
2116 DEFAULT_wxUSE_INTL
=no
2117 DEFAULT_wxUSE_CONFIG
=no
2118 DEFAULT_wxUSE_FONTMAP
=no
2119 DEFAULT_wxUSE_STREAMS
=no
2120 DEFAULT_wxUSE_SOCKETS
=no
2121 DEFAULT_wxUSE_OLE
=no
2122 DEFAULT_wxUSE_DATAOBJ
=no
2123 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2124 DEFAULT_wxUSE_JOYSTICK
=no
2125 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2126 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2127 DEFAULT_wxUSE_LONGLONG
=no
2128 DEFAULT_wxUSE_GEOMETRY
=no
2130 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2131 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2132 DEFAULT_wxUSE_POSTSCRIPT
=no
2134 DEFAULT_wxUSE_CLIPBOARD
=no
2135 DEFAULT_wxUSE_TOOLTIPS
=no
2136 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2137 DEFAULT_wxUSE_DRAGIMAGE
=no
2138 DEFAULT_wxUSE_SPLINES
=no
2139 DEFAULT_wxUSE_MOUSEWHEEL
=no
2141 DEFAULT_wxUSE_MDI
=no
2142 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2143 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2144 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2146 DEFAULT_wxUSE_RESOURCES
=no
2147 DEFAULT_wxUSE_CONSTRAINTS
=no
2148 DEFAULT_wxUSE_IPC
=no
2149 DEFAULT_wxUSE_HELP
=no
2150 DEFAULT_wxUSE_MS_HTML_HELP
=no
2151 DEFAULT_wxUSE_WXHTML_HELP
=no
2152 DEFAULT_wxUSE_TREELAYOUT
=no
2153 DEFAULT_wxUSE_METAFILE
=no
2154 DEFAULT_wxUSE_MIMETYPE
=no
2155 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2156 DEFAULT_wxUSE_PROTOCOL
=no
2157 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2158 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2159 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2160 DEFAULT_wxUSE_URL
=no
2162 DEFAULT_wxUSE_COMMONDLGS
=no
2163 DEFAULT_wxUSE_CHOICEDLG
=no
2164 DEFAULT_wxUSE_COLOURDLG
=no
2165 DEFAULT_wxUSE_DIRDLG
=no
2166 DEFAULT_wxUSE_FILEDLG
=no
2167 DEFAULT_wxUSE_FINDREPLDLG
=no
2168 DEFAULT_wxUSE_FONTDLG
=no
2169 DEFAULT_wxUSE_MSGDLG
=no
2170 DEFAULT_wxUSE_NUMBERDLG
=no
2171 DEFAULT_wxUSE_TEXTDLG
=no
2172 DEFAULT_wxUSE_SPLASH
=no
2173 DEFAULT_wxUSE_STARTUP_TIPS
=no
2174 DEFAULT_wxUSE_PROGRESSDLG
=no
2175 DEFAULT_wxUSE_WIZARDDLG
=no
2177 DEFAULT_wxUSE_MENUS
=no
2178 DEFAULT_wxUSE_MINIFRAME
=no
2179 DEFAULT_wxUSE_HTML
=no
2180 DEFAULT_wxUSE_RICHTEXT
=no
2181 DEFAULT_wxUSE_XRC
=no
2182 DEFAULT_wxUSE_WEBKIT
=no
2183 DEFAULT_wxUSE_FILESYSTEM
=no
2184 DEFAULT_wxUSE_FS_INET
=no
2185 DEFAULT_wxUSE_FS_ZIP
=no
2186 DEFAULT_wxUSE_BUSYINFO
=no
2187 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2188 DEFAULT_wxUSE_ZIPSTREAM
=no
2189 DEFAULT_wxUSE_VALIDATORS
=no
2191 DEFAULT_wxUSE_ACCEL
=no
2192 DEFAULT_wxUSE_BUTTON
=no
2193 DEFAULT_wxUSE_BMPBUTTON
=no
2194 DEFAULT_wxUSE_CALCTRL
=no
2195 DEFAULT_wxUSE_CARET
=no
2196 DEFAULT_wxUSE_CHECKBOX
=no
2197 DEFAULT_wxUSE_CHECKLST
=no
2198 DEFAULT_wxUSE_CHOICE
=no
2199 DEFAULT_wxUSE_CHOICEBOOK
=no
2200 DEFAULT_wxUSE_COMBOBOX
=no
2201 DEFAULT_wxUSE_COMBOCONTROL
=no
2202 DEFAULT_wxUSE_DATEPICKCTRL
=no
2203 DEFAULT_wxUSE_DISPLAY
=no
2204 DEFAULT_wxUSE_GAUGE
=no
2205 DEFAULT_wxUSE_GRID
=no
2206 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2207 DEFAULT_wxUSE_IMAGLIST
=no
2208 DEFAULT_wxUSE_LISTBOOK
=no
2209 DEFAULT_wxUSE_LISTBOX
=no
2210 DEFAULT_wxUSE_LISTCTRL
=no
2211 DEFAULT_wxUSE_NOTEBOOK
=no
2212 DEFAULT_wxUSE_OWNERDRAWNCOMBOBOX
=no
2213 DEFAULT_wxUSE_RADIOBOX
=no
2214 DEFAULT_wxUSE_RADIOBTN
=no
2215 DEFAULT_wxUSE_SASH
=no
2216 DEFAULT_wxUSE_SCROLLBAR
=no
2217 DEFAULT_wxUSE_SLIDER
=no
2218 DEFAULT_wxUSE_SPINBTN
=no
2219 DEFAULT_wxUSE_SPINCTRL
=no
2220 DEFAULT_wxUSE_SPLITTER
=no
2221 DEFAULT_wxUSE_STATBMP
=no
2222 DEFAULT_wxUSE_STATBOX
=no
2223 DEFAULT_wxUSE_STATLINE
=no
2224 DEFAULT_wxUSE_STATTEXT
=no
2225 DEFAULT_wxUSE_STATUSBAR
=yes
2226 DEFAULT_wxUSE_TAB_DIALOG
=no
2227 DEFAULT_wxUSE_TEXTCTRL
=no
2228 DEFAULT_wxUSE_TOGGLEBTN
=no
2229 DEFAULT_wxUSE_TOOLBAR
=no
2230 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2231 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2232 DEFAULT_wxUSE_TREEBOOK
=no
2233 DEFAULT_wxUSE_TOOLBOOK
=no
2234 DEFAULT_wxUSE_TREECTRL
=no
2235 DEFAULT_wxUSE_POPUPWIN
=no
2236 DEFAULT_wxUSE_TIPWINDOW
=no
2238 DEFAULT_wxUSE_UNICODE
=no
2239 DEFAULT_wxUSE_UNICODE_MSLU
=no
2240 DEFAULT_wxUSE_WCSRTOMBS
=no
2242 DEFAULT_wxUSE_PALETTE
=no
2243 DEFAULT_wxUSE_IMAGE
=no
2244 DEFAULT_wxUSE_GIF
=no
2245 DEFAULT_wxUSE_PCX
=no
2246 DEFAULT_wxUSE_PNM
=no
2247 DEFAULT_wxUSE_IFF
=no
2248 DEFAULT_wxUSE_XPM
=no
2249 DEFAULT_wxUSE_ICO_CUR
=no
2250 DEFAULT_wxUSE_ACCESSIBILITY
=no
2252 DEFAULT_wxUSE_MONOLITHIC
=no
2253 DEFAULT_wxUSE_PLUGINS
=no
2254 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2256 DEFAULT_wxUSE_UNIVERSAL
=no
2257 DEFAULT_wxUSE_STL
=no
2259 DEFAULT_wxUSE_NANOX
=no
2261 DEFAULT_wxUSE_THREADS
=yes
2263 DEFAULT_wxUSE_SHARED
=yes
2264 DEFAULT_wxUSE_OPTIMISE
=yes
2265 DEFAULT_wxUSE_PROFILE
=no
2266 DEFAULT_wxUSE_NO_DEPS
=no
2267 DEFAULT_wxUSE_NO_RTTI
=no
2268 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2269 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2270 DEFAULT_wxUSE_RPATH
=yes
2271 DEFAULT_wxUSE_PERMISSIVE
=no
2272 DEFAULT_wxUSE_DEBUG_FLAG
=no
2273 DEFAULT_wxUSE_DEBUG_INFO
=no
2274 DEFAULT_wxUSE_DEBUG_GDB
=no
2275 DEFAULT_wxUSE_MEM_TRACING
=no
2276 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2277 DEFAULT_wxUSE_DMALLOC
=no
2278 DEFAULT_wxUSE_APPLE_IEEE
=yes
2280 DEFAULT_wxUSE_EXCEPTIONS
=yes
2281 DEFAULT_wxUSE_LOG
=yes
2282 DEFAULT_wxUSE_LOGWINDOW
=yes
2283 DEFAULT_wxUSE_LOGGUI
=yes
2284 DEFAULT_wxUSE_LOGDIALOG
=yes
2286 DEFAULT_wxUSE_GUI
=yes
2288 DEFAULT_wxUSE_REGEX
=yes
2289 DEFAULT_wxUSE_XML
=yes
2290 DEFAULT_wxUSE_EXPAT
=yes
2291 DEFAULT_wxUSE_ZLIB
=yes
2292 DEFAULT_wxUSE_LIBPNG
=yes
2293 DEFAULT_wxUSE_LIBJPEG
=yes
2294 DEFAULT_wxUSE_LIBTIFF
=yes
2295 DEFAULT_wxUSE_LIBXPM
=yes
2296 DEFAULT_wxUSE_LIBMSPACK
=yes
2297 DEFAULT_wxUSE_LIBSDL
=no
2298 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2299 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2300 DEFAULT_wxUSE_LIBHILDON
=no
2301 DEFAULT_wxUSE_ODBC
=no
2302 DEFAULT_wxUSE_OPENGL
=no
2304 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2305 DEFAULT_wxUSE_STACKWALKER
=yes
2306 DEFAULT_wxUSE_DEBUGREPORT
=yes
2307 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2308 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2309 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2310 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2311 DEFAULT_wxUSE_DATETIME
=yes
2312 DEFAULT_wxUSE_TIMER
=yes
2313 DEFAULT_wxUSE_STOPWATCH
=yes
2314 DEFAULT_wxUSE_FILE
=yes
2315 DEFAULT_wxUSE_FFILE
=yes
2316 DEFAULT_wxUSE_STDPATHS
=yes
2317 DEFAULT_wxUSE_TEXTBUFFER
=yes
2318 DEFAULT_wxUSE_TEXTFILE
=yes
2319 DEFAULT_wxUSE_SOUND
=yes
2320 DEFAULT_wxUSE_MEDIACTRL
=no
2321 DEFAULT_wxUSE_GSTREAMER8
=no
2322 DEFAULT_wxUSE_INTL
=yes
2323 DEFAULT_wxUSE_CONFIG
=yes
2324 DEFAULT_wxUSE_FONTMAP
=yes
2325 DEFAULT_wxUSE_STREAMS
=yes
2326 DEFAULT_wxUSE_SOCKETS
=yes
2327 DEFAULT_wxUSE_OLE
=yes
2328 DEFAULT_wxUSE_DATAOBJ
=yes
2329 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2330 DEFAULT_wxUSE_JOYSTICK
=yes
2331 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2332 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2333 DEFAULT_wxUSE_LONGLONG
=yes
2334 DEFAULT_wxUSE_GEOMETRY
=yes
2336 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2337 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2338 DEFAULT_wxUSE_POSTSCRIPT
=yes
2340 DEFAULT_wxUSE_CLIPBOARD
=yes
2341 DEFAULT_wxUSE_TOOLTIPS
=yes
2342 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2343 DEFAULT_wxUSE_DRAGIMAGE
=yes
2344 DEFAULT_wxUSE_SPLINES
=yes
2345 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2347 DEFAULT_wxUSE_MDI
=yes
2348 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2349 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2350 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2352 DEFAULT_wxUSE_RESOURCES
=no
2353 DEFAULT_wxUSE_CONSTRAINTS
=yes
2354 DEFAULT_wxUSE_IPC
=yes
2355 DEFAULT_wxUSE_HELP
=yes
2356 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2357 DEFAULT_wxUSE_WXHTML_HELP
=yes
2358 DEFAULT_wxUSE_TREELAYOUT
=yes
2359 DEFAULT_wxUSE_METAFILE
=yes
2360 DEFAULT_wxUSE_MIMETYPE
=yes
2361 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2362 DEFAULT_wxUSE_PROTOCOL
=yes
2363 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2364 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2365 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2366 DEFAULT_wxUSE_URL
=yes
2368 DEFAULT_wxUSE_COMMONDLGS
=yes
2369 DEFAULT_wxUSE_CHOICEDLG
=yes
2370 DEFAULT_wxUSE_COLOURDLG
=yes
2371 DEFAULT_wxUSE_DIRDLG
=yes
2372 DEFAULT_wxUSE_FILEDLG
=yes
2373 DEFAULT_wxUSE_FINDREPLDLG
=yes
2374 DEFAULT_wxUSE_FONTDLG
=yes
2375 DEFAULT_wxUSE_MSGDLG
=yes
2376 DEFAULT_wxUSE_NUMBERDLG
=yes
2377 DEFAULT_wxUSE_TEXTDLG
=yes
2378 DEFAULT_wxUSE_SPLASH
=yes
2379 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2380 DEFAULT_wxUSE_PROGRESSDLG
=yes
2381 DEFAULT_wxUSE_WIZARDDLG
=yes
2383 DEFAULT_wxUSE_MENUS
=yes
2384 DEFAULT_wxUSE_MINIFRAME
=yes
2385 DEFAULT_wxUSE_HTML
=yes
2386 DEFAULT_wxUSE_RICHTEXT
=yes
2387 DEFAULT_wxUSE_XRC
=yes
2388 DEFAULT_wxUSE_WEBKIT
=yes
2389 DEFAULT_wxUSE_FILESYSTEM
=yes
2390 DEFAULT_wxUSE_FS_INET
=yes
2391 DEFAULT_wxUSE_FS_ZIP
=yes
2392 DEFAULT_wxUSE_BUSYINFO
=yes
2393 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2394 DEFAULT_wxUSE_ZIPSTREAM
=yes
2395 DEFAULT_wxUSE_VALIDATORS
=yes
2397 DEFAULT_wxUSE_ACCEL
=yes
2398 DEFAULT_wxUSE_BUTTON
=yes
2399 DEFAULT_wxUSE_BMPBUTTON
=yes
2400 DEFAULT_wxUSE_CALCTRL
=yes
2401 DEFAULT_wxUSE_CARET
=yes
2402 DEFAULT_wxUSE_CHECKBOX
=yes
2403 DEFAULT_wxUSE_CHECKLST
=yes
2404 DEFAULT_wxUSE_CHOICE
=yes
2405 DEFAULT_wxUSE_CHOICEBOOK
=yes
2406 DEFAULT_wxUSE_COMBOBOX
=yes
2407 DEFAULT_wxUSE_COMBOCONTROL
=yes
2408 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2409 DEFAULT_wxUSE_DISPLAY
=yes
2410 DEFAULT_wxUSE_GAUGE
=yes
2411 DEFAULT_wxUSE_GRID
=yes
2412 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2413 DEFAULT_wxUSE_IMAGLIST
=yes
2414 DEFAULT_wxUSE_LISTBOOK
=yes
2415 DEFAULT_wxUSE_LISTBOX
=yes
2416 DEFAULT_wxUSE_LISTCTRL
=yes
2417 DEFAULT_wxUSE_NOTEBOOK
=yes
2418 DEFAULT_wxUSE_OWNERDRAWNCOMBOBOX
=yes
2419 DEFAULT_wxUSE_RADIOBOX
=yes
2420 DEFAULT_wxUSE_RADIOBTN
=yes
2421 DEFAULT_wxUSE_SASH
=yes
2422 DEFAULT_wxUSE_SCROLLBAR
=yes
2423 DEFAULT_wxUSE_SLIDER
=yes
2424 DEFAULT_wxUSE_SPINBTN
=yes
2425 DEFAULT_wxUSE_SPINCTRL
=yes
2426 DEFAULT_wxUSE_SPLITTER
=yes
2427 DEFAULT_wxUSE_STATBMP
=yes
2428 DEFAULT_wxUSE_STATBOX
=yes
2429 DEFAULT_wxUSE_STATLINE
=yes
2430 DEFAULT_wxUSE_STATTEXT
=yes
2431 DEFAULT_wxUSE_STATUSBAR
=yes
2432 DEFAULT_wxUSE_TAB_DIALOG
=no
2433 DEFAULT_wxUSE_TEXTCTRL
=yes
2434 DEFAULT_wxUSE_TOGGLEBTN
=yes
2435 DEFAULT_wxUSE_TOOLBAR
=yes
2436 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2437 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2438 DEFAULT_wxUSE_TREEBOOK
=yes
2439 DEFAULT_wxUSE_TOOLBOOK
=yes
2440 DEFAULT_wxUSE_TREECTRL
=yes
2441 DEFAULT_wxUSE_POPUPWIN
=yes
2442 DEFAULT_wxUSE_TIPWINDOW
=yes
2444 DEFAULT_wxUSE_UNICODE
=no
2445 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2446 DEFAULT_wxUSE_WCSRTOMBS
=no
2448 DEFAULT_wxUSE_PALETTE
=yes
2449 DEFAULT_wxUSE_IMAGE
=yes
2450 DEFAULT_wxUSE_GIF
=yes
2451 DEFAULT_wxUSE_PCX
=yes
2452 DEFAULT_wxUSE_IFF
=no
2453 DEFAULT_wxUSE_PNM
=yes
2454 DEFAULT_wxUSE_XPM
=yes
2455 DEFAULT_wxUSE_ICO_CUR
=yes
2456 DEFAULT_wxUSE_ACCESSIBILITY
=no
2458 DEFAULT_wxUSE_MONOLITHIC
=no
2459 DEFAULT_wxUSE_PLUGINS
=no
2460 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2462 DEFAULT_wxUSE_GTK2
=yes
2468 for toolkit
in `echo $ALL_TOOLKITS`; do
2469 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2470 if test "x$LINE" != "x" ; then
2471 has_toolkit_in_cache
=1
2472 eval "DEFAULT_$LINE"
2473 eval "CACHE_$toolkit=1"
2475 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2476 if test "x$LINE" != "x" ; then
2477 eval "DEFAULT_$LINE"
2485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2486 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2488 # Check whether --enable-gui or --disable-gui was given.
2489 if test "${enable_gui+set}" = set; then
2490 enableval
="$enable_gui"
2492 if test "$enableval" = yes; then
2493 ac_cv_use_gui
='wxUSE_GUI=yes'
2495 ac_cv_use_gui
='wxUSE_GUI=no'
2500 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2501 if test "x$LINE" != x
; then
2502 eval "DEFAULT_$LINE"
2507 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2511 eval "$ac_cv_use_gui"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_GUI" = yes; then
2517 echo "$as_me:$LINENO: result: yes" >&5
2518 echo "${ECHO_T}yes" >&6
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2527 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2529 # Check whether --enable-monolithic or --disable-monolithic was given.
2530 if test "${enable_monolithic+set}" = set; then
2531 enableval
="$enable_monolithic"
2533 if test "$enableval" = yes; then
2534 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2536 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2541 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2542 if test "x$LINE" != x
; then
2543 eval "DEFAULT_$LINE"
2548 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2552 eval "$ac_cv_use_monolithic"
2553 if test "$no_cache" != 1; then
2554 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2557 if test "$wxUSE_MONOLITHIC" = yes; then
2558 echo "$as_me:$LINENO: result: yes" >&5
2559 echo "${ECHO_T}yes" >&6
2561 echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6
2567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2568 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2570 # Check whether --enable-plugins or --disable-plugins was given.
2571 if test "${enable_plugins+set}" = set; then
2572 enableval
="$enable_plugins"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2577 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2582 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2593 eval "$ac_cv_use_plugins"
2594 if test "$no_cache" != 1; then
2595 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2598 if test "$wxUSE_PLUGINS" = yes; then
2599 echo "$as_me:$LINENO: result: yes" >&5
2600 echo "${ECHO_T}yes" >&6
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2608 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2609 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2612 # Check whether --with-subdirs or --without-subdirs was given.
2613 if test "${with_subdirs+set}" = set; then
2614 withval
="$with_subdirs"
2616 if test "$withval" = yes; then
2617 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2619 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2624 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2625 if test "x$LINE" != x
; then
2626 eval "DEFAULT_$LINE"
2631 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2635 eval "$ac_cv_use_subdirs"
2636 if test "$no_cache" != 1; then
2637 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2640 if test "$wxWITH_SUBDIRS" = yes; then
2641 echo "$as_me:$LINENO: result: yes" >&5
2642 echo "${ECHO_T}yes" >&6
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2649 if test "$wxUSE_GUI" = "yes"; then
2653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2654 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2656 # Check whether --enable-universal or --disable-universal was given.
2657 if test "${enable_universal+set}" = set; then
2658 enableval
="$enable_universal"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2663 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2668 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2679 eval "$ac_cv_use_universal"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2684 if test "$wxUSE_UNIVERSAL" = yes; then
2685 echo "$as_me:$LINENO: result: yes" >&5
2686 echo "${ECHO_T}yes" >&6
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2693 # Check whether --with-gtk or --without-gtk was given.
2694 if test "${with_gtk+set}" = set; then
2696 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2699 # Check whether --with-motif or --without-motif was given.
2700 if test "${with_motif+set}" = set; then
2701 withval
="$with_motif"
2702 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2705 # Check whether --with-mac or --without-mac was given.
2706 if test "${with_mac+set}" = set; then
2708 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2711 # Check whether --with-cocoa or --without-cocoa was given.
2712 if test "${with_cocoa+set}" = set; then
2713 withval
="$with_cocoa"
2714 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2717 # Check whether --with-wine or --without-wine was given.
2718 if test "${with_wine+set}" = set; then
2719 withval
="$with_wine"
2720 wxUSE_WINE
="$withval" CACHE_WINE
=1
2723 # Check whether --with-msw or --without-msw was given.
2724 if test "${with_msw+set}" = set; then
2726 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2729 # Check whether --with-pm or --without-pm was given.
2730 if test "${with_pm+set}" = set; then
2732 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2735 # Check whether --with-mgl or --without-mgl was given.
2736 if test "${with_mgl+set}" = set; then
2738 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2741 # Check whether --with-microwin or --without-microwin was given.
2742 if test "${with_microwin+set}" = set; then
2743 withval
="$with_microwin"
2744 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2747 # Check whether --with-x11 or --without-x11 was given.
2748 if test "${with_x11+set}" = set; then
2750 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2755 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2757 # Check whether --enable-nanox or --disable-nanox was given.
2758 if test "${enable_nanox+set}" = set; then
2759 enableval
="$enable_nanox"
2761 if test "$enableval" = yes; then
2762 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2764 ac_cv_use_nanox
='wxUSE_NANOX=no'
2769 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2770 if test "x$LINE" != x
; then
2771 eval "DEFAULT_$LINE"
2776 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2780 eval "$ac_cv_use_nanox"
2781 if test "$no_cache" != 1; then
2782 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2785 if test "$wxUSE_NANOX" = yes; then
2786 echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6
2789 echo "$as_me:$LINENO: result: no" >&5
2790 echo "${ECHO_T}no" >&6
2794 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2795 if test "${enable_gtk2+set}" = set; then
2796 enableval
="$enable_gtk2"
2797 wxUSE_GTK2
="$enableval"
2801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2802 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2804 # Check whether --enable-gpe or --disable-gpe was given.
2805 if test "${enable_gpe+set}" = set; then
2806 enableval
="$enable_gpe"
2808 if test "$enableval" = yes; then
2809 ac_cv_use_gpe
='wxUSE_GPE=yes'
2811 ac_cv_use_gpe
='wxUSE_GPE=no'
2816 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2817 if test "x$LINE" != x
; then
2818 eval "DEFAULT_$LINE"
2823 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2827 eval "$ac_cv_use_gpe"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2832 if test "$wxUSE_GPE" = yes; then
2833 echo "$as_me:$LINENO: result: yes" >&5
2834 echo "${ECHO_T}yes" >&6
2836 echo "$as_me:$LINENO: result: no" >&5
2837 echo "${ECHO_T}no" >&6
2842 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2843 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2846 # Check whether --with-libpng or --without-libpng was given.
2847 if test "${with_libpng+set}" = set; then
2848 withval
="$with_libpng"
2850 if test "$withval" = yes; then
2851 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2852 elif test "$withval" = no
; then
2853 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2854 elif test "$withval" = sys
; then
2855 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2856 elif test "$withval" = builtin; then
2857 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2860 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2866 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2877 eval "$ac_cv_use_libpng"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2882 if test "$wxUSE_LIBPNG" = yes; then
2883 echo "$as_me:$LINENO: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2885 elif test "$wxUSE_LIBPNG" = no
; then
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2888 elif test "$wxUSE_LIBPNG" = sys
; then
2889 echo "$as_me:$LINENO: result: system version" >&5
2890 echo "${ECHO_T}system version" >&6
2891 elif test "$wxUSE_LIBPNG" = builtin; then
2892 echo "$as_me:$LINENO: result: builtin version" >&5
2893 echo "${ECHO_T}builtin version" >&6
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2901 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2902 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2905 # Check whether --with-libjpeg or --without-libjpeg was given.
2906 if test "${with_libjpeg+set}" = set; then
2907 withval
="$with_libjpeg"
2909 if test "$withval" = yes; then
2910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2911 elif test "$withval" = no
; then
2912 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2913 elif test "$withval" = sys
; then
2914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2915 elif test "$withval" = builtin; then
2916 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2925 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x
; then
2927 eval "DEFAULT_$LINE"
2932 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2936 eval "$ac_cv_use_libjpeg"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2941 if test "$wxUSE_LIBJPEG" = yes; then
2942 echo "$as_me:$LINENO: result: yes" >&5
2943 echo "${ECHO_T}yes" >&6
2944 elif test "$wxUSE_LIBJPEG" = no
; then
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2947 elif test "$wxUSE_LIBJPEG" = sys
; then
2948 echo "$as_me:$LINENO: result: system version" >&5
2949 echo "${ECHO_T}system version" >&6
2950 elif test "$wxUSE_LIBJPEG" = builtin; then
2951 echo "$as_me:$LINENO: result: builtin version" >&5
2952 echo "${ECHO_T}builtin version" >&6
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2960 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2961 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2964 # Check whether --with-libtiff or --without-libtiff was given.
2965 if test "${with_libtiff+set}" = set; then
2966 withval
="$with_libtiff"
2968 if test "$withval" = yes; then
2969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2970 elif test "$withval" = no
; then
2971 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2972 elif test "$withval" = sys
; then
2973 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2974 elif test "$withval" = builtin; then
2975 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2984 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2995 eval "$ac_cv_use_libtiff"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_LIBTIFF" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3003 elif test "$wxUSE_LIBTIFF" = no
; then
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 elif test "$wxUSE_LIBTIFF" = sys
; then
3007 echo "$as_me:$LINENO: result: system version" >&5
3008 echo "${ECHO_T}system version" >&6
3009 elif test "$wxUSE_LIBTIFF" = builtin; then
3010 echo "$as_me:$LINENO: result: builtin version" >&5
3011 echo "${ECHO_T}builtin version" >&6
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3019 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3020 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3023 # Check whether --with-libxpm or --without-libxpm was given.
3024 if test "${with_libxpm+set}" = set; then
3025 withval
="$with_libxpm"
3027 if test "$withval" = yes; then
3028 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3029 elif test "$withval" = no
; then
3030 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3031 elif test "$withval" = sys
; then
3032 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3033 elif test "$withval" = builtin; then
3034 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3036 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3037 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3038 { (exit 1); exit 1; }; }
3043 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x
; then
3045 eval "DEFAULT_$LINE"
3050 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3054 eval "$ac_cv_use_libxpm"
3055 if test "$no_cache" != 1; then
3056 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3059 if test "$wxUSE_LIBXPM" = yes; then
3060 echo "$as_me:$LINENO: result: yes" >&5
3061 echo "${ECHO_T}yes" >&6
3062 elif test "$wxUSE_LIBXPM" = no
; then
3063 echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6
3065 elif test "$wxUSE_LIBXPM" = sys
; then
3066 echo "$as_me:$LINENO: result: system version" >&5
3067 echo "${ECHO_T}system version" >&6
3068 elif test "$wxUSE_LIBXPM" = builtin; then
3069 echo "$as_me:$LINENO: result: builtin version" >&5
3070 echo "${ECHO_T}builtin version" >&6
3072 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3073 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3074 { (exit 1); exit 1; }; }
3079 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3080 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3083 # Check whether --with-libmspack or --without-libmspack was given.
3084 if test "${with_libmspack+set}" = set; then
3085 withval
="$with_libmspack"
3087 if test "$withval" = yes; then
3088 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3090 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3095 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3106 eval "$ac_cv_use_libmspack"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_LIBMSPACK" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3121 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3122 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3125 # Check whether --with-sdl or --without-sdl was given.
3126 if test "${with_sdl+set}" = set; then
3129 if test "$withval" = yes; then
3130 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3132 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3137 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3148 eval "$ac_cv_use_sdl"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_LIBSDL" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3163 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3164 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3167 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3168 if test "${with_gnomeprint+set}" = set; then
3169 withval
="$with_gnomeprint"
3171 if test "$withval" = yes; then
3172 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3174 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3179 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x
; then
3181 eval "DEFAULT_$LINE"
3186 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3190 eval "$ac_cv_use_gnomeprint"
3191 if test "$no_cache" != 1; then
3192 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3195 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3196 echo "$as_me:$LINENO: result: yes" >&5
3197 echo "${ECHO_T}yes" >&6
3199 echo "$as_me:$LINENO: result: no" >&5
3200 echo "${ECHO_T}no" >&6
3205 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3206 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3209 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3210 if test "${with_gnomevfs+set}" = set; then
3211 withval
="$with_gnomevfs"
3213 if test "$withval" = yes; then
3214 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3216 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3221 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x
; then
3223 eval "DEFAULT_$LINE"
3228 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3232 eval "$ac_cv_use_gnomevfs"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3238 echo "$as_me:$LINENO: result: yes" >&5
3239 echo "${ECHO_T}yes" >&6
3241 echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3247 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3248 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3251 # Check whether --with-hildon or --without-hildon was given.
3252 if test "${with_hildon+set}" = set; then
3253 withval
="$with_hildon"
3255 if test "$withval" = yes; then
3256 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3258 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3263 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x
; then
3265 eval "DEFAULT_$LINE"
3270 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3274 eval "$ac_cv_use_hildon"
3275 if test "$no_cache" != 1; then
3276 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3279 if test "$wxUSE_LIBHILDON" = yes; then
3280 echo "$as_me:$LINENO: result: yes" >&5
3281 echo "${ECHO_T}yes" >&6
3283 echo "$as_me:$LINENO: result: no" >&5
3284 echo "${ECHO_T}no" >&6
3289 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3290 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3293 # Check whether --with-opengl or --without-opengl was given.
3294 if test "${with_opengl+set}" = set; then
3295 withval
="$with_opengl"
3297 if test "$withval" = yes; then
3298 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3300 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3305 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x
; then
3307 eval "DEFAULT_$LINE"
3312 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3316 eval "$ac_cv_use_opengl"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_OPENGL" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3334 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3335 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3338 # Check whether --with-dmalloc or --without-dmalloc was given.
3339 if test "${with_dmalloc+set}" = set; then
3340 withval
="$with_dmalloc"
3342 if test "$withval" = yes; then
3343 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3345 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3350 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x
; then
3352 eval "DEFAULT_$LINE"
3357 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3361 eval "$ac_cv_use_dmalloc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3366 if test "$wxUSE_DMALLOC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3375 echo "$as_me:$LINENO: checking for --with-regex" >&5
3376 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3379 # Check whether --with-regex or --without-regex was given.
3380 if test "${with_regex+set}" = set; then
3381 withval
="$with_regex"
3383 if test "$withval" = yes; then
3384 ac_cv_use_regex
='wxUSE_REGEX=yes'
3385 elif test "$withval" = no
; then
3386 ac_cv_use_regex
='wxUSE_REGEX=no'
3387 elif test "$withval" = sys
; then
3388 ac_cv_use_regex
='wxUSE_REGEX=sys'
3389 elif test "$withval" = builtin; then
3390 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3392 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3393 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3394 { (exit 1); exit 1; }; }
3399 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x
; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3410 eval "$ac_cv_use_regex"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3415 if test "$wxUSE_REGEX" = yes; then
3416 echo "$as_me:$LINENO: result: yes" >&5
3417 echo "${ECHO_T}yes" >&6
3418 elif test "$wxUSE_REGEX" = no
; then
3419 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3421 elif test "$wxUSE_REGEX" = sys
; then
3422 echo "$as_me:$LINENO: result: system version" >&5
3423 echo "${ECHO_T}system version" >&6
3424 elif test "$wxUSE_REGEX" = builtin; then
3425 echo "$as_me:$LINENO: result: builtin version" >&5
3426 echo "${ECHO_T}builtin version" >&6
3428 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3429 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3430 { (exit 1); exit 1; }; }
3434 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3435 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3438 # Check whether --with-zlib or --without-zlib was given.
3439 if test "${with_zlib+set}" = set; then
3440 withval
="$with_zlib"
3442 if test "$withval" = yes; then
3443 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3444 elif test "$withval" = no
; then
3445 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3446 elif test "$withval" = sys
; then
3447 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3448 elif test "$withval" = builtin; then
3449 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3451 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3452 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3453 { (exit 1); exit 1; }; }
3458 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x
; then
3460 eval "DEFAULT_$LINE"
3465 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3469 eval "$ac_cv_use_zlib"
3470 if test "$no_cache" != 1; then
3471 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3474 if test "$wxUSE_ZLIB" = yes; then
3475 echo "$as_me:$LINENO: result: yes" >&5
3476 echo "${ECHO_T}yes" >&6
3477 elif test "$wxUSE_ZLIB" = no
; then
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3480 elif test "$wxUSE_ZLIB" = sys
; then
3481 echo "$as_me:$LINENO: result: system version" >&5
3482 echo "${ECHO_T}system version" >&6
3483 elif test "$wxUSE_ZLIB" = builtin; then
3484 echo "$as_me:$LINENO: result: builtin version" >&5
3485 echo "${ECHO_T}builtin version" >&6
3487 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3488 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3489 { (exit 1); exit 1; }; }
3493 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3494 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3497 # Check whether --with-odbc or --without-odbc was given.
3498 if test "${with_odbc+set}" = set; then
3499 withval
="$with_odbc"
3501 if test "$withval" = yes; then
3502 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3503 elif test "$withval" = no
; then
3504 ac_cv_use_odbc
='wxUSE_ODBC=no'
3505 elif test "$withval" = sys
; then
3506 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3507 elif test "$withval" = builtin; then
3508 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3510 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3511 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3512 { (exit 1); exit 1; }; }
3517 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x
; then
3519 eval "DEFAULT_$LINE"
3524 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3528 eval "$ac_cv_use_odbc"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3533 if test "$wxUSE_ODBC" = yes; then
3534 echo "$as_me:$LINENO: result: yes" >&5
3535 echo "${ECHO_T}yes" >&6
3536 elif test "$wxUSE_ODBC" = no
; then
3537 echo "$as_me:$LINENO: result: no" >&5
3538 echo "${ECHO_T}no" >&6
3539 elif test "$wxUSE_ODBC" = sys
; then
3540 echo "$as_me:$LINENO: result: system version" >&5
3541 echo "${ECHO_T}system version" >&6
3542 elif test "$wxUSE_ODBC" = builtin; then
3543 echo "$as_me:$LINENO: result: builtin version" >&5
3544 echo "${ECHO_T}builtin version" >&6
3546 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3547 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3548 { (exit 1); exit 1; }; }
3552 echo "$as_me:$LINENO: checking for --with-expat" >&5
3553 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3556 # Check whether --with-expat or --without-expat was given.
3557 if test "${with_expat+set}" = set; then
3558 withval
="$with_expat"
3560 if test "$withval" = yes; then
3561 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3562 elif test "$withval" = no
; then
3563 ac_cv_use_expat
='wxUSE_EXPAT=no'
3564 elif test "$withval" = sys
; then
3565 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3566 elif test "$withval" = builtin; then
3567 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3569 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3570 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3571 { (exit 1); exit 1; }; }
3576 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x
; then
3578 eval "DEFAULT_$LINE"
3583 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3587 eval "$ac_cv_use_expat"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3592 if test "$wxUSE_EXPAT" = yes; then
3593 echo "$as_me:$LINENO: result: yes" >&5
3594 echo "${ECHO_T}yes" >&6
3595 elif test "$wxUSE_EXPAT" = no
; then
3596 echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6
3598 elif test "$wxUSE_EXPAT" = sys
; then
3599 echo "$as_me:$LINENO: result: system version" >&5
3600 echo "${ECHO_T}system version" >&6
3601 elif test "$wxUSE_EXPAT" = builtin; then
3602 echo "$as_me:$LINENO: result: builtin version" >&5
3603 echo "${ECHO_T}builtin version" >&6
3605 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3606 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3607 { (exit 1); exit 1; }; }
3614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3615 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3617 # Check whether --enable-shared or --disable-shared was given.
3618 if test "${enable_shared+set}" = set; then
3619 enableval
="$enable_shared"
3621 if test "$enableval" = yes; then
3622 ac_cv_use_shared
='wxUSE_SHARED=yes'
3624 ac_cv_use_shared
='wxUSE_SHARED=no'
3629 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3630 if test "x$LINE" != x
; then
3631 eval "DEFAULT_$LINE"
3636 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3640 eval "$ac_cv_use_shared"
3641 if test "$no_cache" != 1; then
3642 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3645 if test "$wxUSE_SHARED" = yes; then
3646 echo "$as_me:$LINENO: result: yes" >&5
3647 echo "${ECHO_T}yes" >&6
3649 echo "$as_me:$LINENO: result: no" >&5
3650 echo "${ECHO_T}no" >&6
3655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3656 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3658 # Check whether --enable-optimise or --disable-optimise was given.
3659 if test "${enable_optimise+set}" = set; then
3660 enableval
="$enable_optimise"
3662 if test "$enableval" = yes; then
3663 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3665 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3670 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3671 if test "x$LINE" != x
; then
3672 eval "DEFAULT_$LINE"
3677 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3681 eval "$ac_cv_use_optimise"
3682 if test "$no_cache" != 1; then
3683 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3686 if test "$wxUSE_OPTIMISE" = yes; then
3687 echo "$as_me:$LINENO: result: yes" >&5
3688 echo "${ECHO_T}yes" >&6
3690 echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6
3696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3697 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3699 # Check whether --enable-debug or --disable-debug was given.
3700 if test "${enable_debug+set}" = set; then
3701 enableval
="$enable_debug"
3703 if test "$enableval" = yes; then
3704 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3706 ac_cv_use_debug
='wxUSE_DEBUG=no'
3711 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3712 if test "x$LINE" != x
; then
3713 eval "DEFAULT_$LINE"
3718 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3722 eval "$ac_cv_use_debug"
3723 if test "$no_cache" != 1; then
3724 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3727 if test "$wxUSE_DEBUG" = yes; then
3728 echo "$as_me:$LINENO: result: yes" >&5
3729 echo "${ECHO_T}yes" >&6
3731 echo "$as_me:$LINENO: result: no" >&5
3732 echo "${ECHO_T}no" >&6
3737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3738 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3740 # Check whether --enable-stl or --disable-stl was given.
3741 if test "${enable_stl+set}" = set; then
3742 enableval
="$enable_stl"
3744 if test "$enableval" = yes; then
3745 ac_cv_use_stl
='wxUSE_STL=yes'
3747 ac_cv_use_stl
='wxUSE_STL=no'
3752 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x
; then
3754 eval "DEFAULT_$LINE"
3759 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3763 eval "$ac_cv_use_stl"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3768 if test "$wxUSE_STL" = yes; then
3769 echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3776 if test "$USE_OS2" = "1"; then
3777 DEFAULT_wxUSE_OMF
=no
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3783 # Check whether --enable-omf or --disable-omf was given.
3784 if test "${enable_omf+set}" = set; then
3785 enableval
="$enable_omf"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_omf
='wxUSE_OMF=yes'
3790 ac_cv_use_omf
='wxUSE_OMF=no'
3795 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3806 eval "$ac_cv_use_omf"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3811 if test "$wxUSE_OMF" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3821 if test "$wxUSE_DEBUG" = "yes"; then
3822 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3823 DEFAULT_wxUSE_DEBUG_INFO
=yes
3825 elif test "$wxUSE_DEBUG" = "no"; then
3826 DEFAULT_wxUSE_DEBUG_FLAG
=no
3827 DEFAULT_wxUSE_DEBUG_INFO
=no
3833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3834 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3836 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3837 if test "${enable_debug_flag+set}" = set; then
3838 enableval
="$enable_debug_flag"
3840 if test "$enableval" = yes; then
3841 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3843 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3848 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x
; then
3850 eval "DEFAULT_$LINE"
3855 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3859 eval "$ac_cv_use_debug_flag"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_DEBUG_FLAG" = yes; then
3865 echo "$as_me:$LINENO: result: yes" >&5
3866 echo "${ECHO_T}yes" >&6
3868 echo "$as_me:$LINENO: result: no" >&5
3869 echo "${ECHO_T}no" >&6
3874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3875 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3877 # Check whether --enable-debug_info or --disable-debug_info was given.
3878 if test "${enable_debug_info+set}" = set; then
3879 enableval
="$enable_debug_info"
3881 if test "$enableval" = yes; then
3882 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3884 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3889 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x
; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3900 eval "$ac_cv_use_debug_info"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3905 if test "$wxUSE_DEBUG_INFO" = yes; then
3906 echo "$as_me:$LINENO: result: yes" >&5
3907 echo "${ECHO_T}yes" >&6
3909 echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6
3915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3916 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3918 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3919 if test "${enable_debug_gdb+set}" = set; then
3920 enableval
="$enable_debug_gdb"
3922 if test "$enableval" = yes; then
3923 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3925 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3930 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x
; then
3932 eval "DEFAULT_$LINE"
3937 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3941 eval "$ac_cv_use_debug_gdb"
3942 if test "$no_cache" != 1; then
3943 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3946 if test "$wxUSE_DEBUG_GDB" = yes; then
3947 echo "$as_me:$LINENO: result: yes" >&5
3948 echo "${ECHO_T}yes" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3959 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3960 if test "${enable_debug_cntxt+set}" = set; then
3961 enableval
="$enable_debug_cntxt"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3966 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3971 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3982 eval "$ac_cv_use_debug_cntxt"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3998 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4000 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4001 if test "${enable_mem_tracing+set}" = set; then
4002 enableval
="$enable_mem_tracing"
4004 if test "$enableval" = yes; then
4005 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4007 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4012 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x
; then
4014 eval "DEFAULT_$LINE"
4019 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4023 eval "$ac_cv_use_mem_tracing"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4028 if test "$wxUSE_MEM_TRACING" = yes; then
4029 echo "$as_me:$LINENO: result: yes" >&5
4030 echo "${ECHO_T}yes" >&6
4032 echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6
4038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4039 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4041 # Check whether --enable-profile or --disable-profile was given.
4042 if test "${enable_profile+set}" = set; then
4043 enableval
="$enable_profile"
4045 if test "$enableval" = yes; then
4046 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4048 ac_cv_use_profile
='wxUSE_PROFILE=no'
4053 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x
; then
4055 eval "DEFAULT_$LINE"
4060 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4064 eval "$ac_cv_use_profile"
4065 if test "$no_cache" != 1; then
4066 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4069 if test "$wxUSE_PROFILE" = yes; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071 echo "${ECHO_T}yes" >&6
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4080 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4082 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4083 if test "${enable_no_rtti+set}" = set; then
4084 enableval
="$enable_no_rtti"
4086 if test "$enableval" = yes; then
4087 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4089 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4094 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4095 if test "x$LINE" != x
; then
4096 eval "DEFAULT_$LINE"
4101 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4105 eval "$ac_cv_use_no_rtti"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4110 if test "$wxUSE_NO_RTTI" = yes; then
4111 echo "$as_me:$LINENO: result: yes" >&5
4112 echo "${ECHO_T}yes" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4121 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4123 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4124 if test "${enable_no_exceptions+set}" = set; then
4125 enableval
="$enable_no_exceptions"
4127 if test "$enableval" = yes; then
4128 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4130 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4135 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x
; then
4137 eval "DEFAULT_$LINE"
4142 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4146 eval "$ac_cv_use_no_exceptions"
4147 if test "$no_cache" != 1; then
4148 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4151 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4152 echo "$as_me:$LINENO: result: yes" >&5
4153 echo "${ECHO_T}yes" >&6
4155 echo "$as_me:$LINENO: result: no" >&5
4156 echo "${ECHO_T}no" >&6
4161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4162 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4164 # Check whether --enable-permissive or --disable-permissive was given.
4165 if test "${enable_permissive+set}" = set; then
4166 enableval
="$enable_permissive"
4168 if test "$enableval" = yes; then
4169 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4171 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4176 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4177 if test "x$LINE" != x
; then
4178 eval "DEFAULT_$LINE"
4183 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4187 eval "$ac_cv_use_permissive"
4188 if test "$no_cache" != 1; then
4189 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4192 if test "$wxUSE_PERMISSIVE" = yes; then
4193 echo "$as_me:$LINENO: result: yes" >&5
4194 echo "${ECHO_T}yes" >&6
4196 echo "$as_me:$LINENO: result: no" >&5
4197 echo "${ECHO_T}no" >&6
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4205 # Check whether --enable-no_deps or --disable-no_deps was given.
4206 if test "${enable_no_deps+set}" = set; then
4207 enableval
="$enable_no_deps"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4212 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4217 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4228 eval "$ac_cv_use_no_deps"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_NO_DEPS" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4246 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4247 if test "${enable_universal_binary+set}" = set; then
4248 enableval
="$enable_universal_binary"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4253 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4258 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4269 eval "$ac_cv_use_universal_binary"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4288 # Check whether --enable-compat24 or --disable-compat24 was given.
4289 if test "${enable_compat24+set}" = set; then
4290 enableval
="$enable_compat24"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4295 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4300 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x
; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4311 eval "$ac_cv_use_compat24"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4316 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4325 enablestring
=disable
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4329 # Check whether --enable-compat26 or --disable-compat26 was given.
4330 if test "${enable_compat26+set}" = set; then
4331 enableval
="$enable_compat26"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4336 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4341 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4352 eval "$ac_cv_use_compat26"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4357 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4371 # Check whether --enable-rpath or --disable-rpath was given.
4372 if test "${enable_rpath+set}" = set; then
4373 enableval
="$enable_rpath"
4375 if test "$enableval" = yes; then
4376 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4378 ac_cv_use_rpath
='wxUSE_RPATH=no'
4383 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4384 if test "x$LINE" != x
; then
4385 eval "DEFAULT_$LINE"
4390 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4394 eval "$ac_cv_use_rpath"
4395 if test "$no_cache" != 1; then
4396 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4399 if test "$wxUSE_RPATH" = yes; then
4400 echo "$as_me:$LINENO: result: yes" >&5
4401 echo "${ECHO_T}yes" >&6
4403 echo "$as_me:$LINENO: result: no" >&5
4404 echo "${ECHO_T}no" >&6
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4415 # Check whether --enable-intl or --disable-intl was given.
4416 if test "${enable_intl+set}" = set; then
4417 enableval
="$enable_intl"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_intl
='wxUSE_INTL=yes'
4422 ac_cv_use_intl
='wxUSE_INTL=no'
4427 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4438 eval "$ac_cv_use_intl"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_INTL" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4456 # Check whether --enable-config or --disable-config was given.
4457 if test "${enable_config+set}" = set; then
4458 enableval
="$enable_config"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_config
='wxUSE_CONFIG=yes'
4463 ac_cv_use_config
='wxUSE_CONFIG=no'
4468 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4479 eval "$ac_cv_use_config"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_CONFIG" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4498 # Check whether --enable-protocols or --disable-protocols was given.
4499 if test "${enable_protocols+set}" = set; then
4500 enableval
="$enable_protocols"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4505 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4510 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4521 eval "$ac_cv_use_protocols"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4526 if test "$wxUSE_PROTOCOL" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4537 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4539 # Check whether --enable-ftp or --disable-ftp was given.
4540 if test "${enable_ftp+set}" = set; then
4541 enableval
="$enable_ftp"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4546 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4551 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4562 eval "$ac_cv_use_ftp"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4580 # Check whether --enable-http or --disable-http was given.
4581 if test "${enable_http+set}" = set; then
4582 enableval
="$enable_http"
4584 if test "$enableval" = yes; then
4585 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4587 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4592 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x
; then
4594 eval "DEFAULT_$LINE"
4599 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4603 eval "$ac_cv_use_http"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4621 # Check whether --enable-fileproto or --disable-fileproto was given.
4622 if test "${enable_fileproto+set}" = set; then
4623 enableval
="$enable_fileproto"
4625 if test "$enableval" = yes; then
4626 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4628 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4633 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x
; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4644 eval "$ac_cv_use_fileproto"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4649 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4650 echo "$as_me:$LINENO: result: yes" >&5
4651 echo "${ECHO_T}yes" >&6
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4660 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4662 # Check whether --enable-sockets or --disable-sockets was given.
4663 if test "${enable_sockets+set}" = set; then
4664 enableval
="$enable_sockets"
4666 if test "$enableval" = yes; then
4667 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4669 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4674 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4675 if test "x$LINE" != x
; then
4676 eval "DEFAULT_$LINE"
4681 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4685 eval "$ac_cv_use_sockets"
4686 if test "$no_cache" != 1; then
4687 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4690 if test "$wxUSE_SOCKETS" = yes; then
4691 echo "$as_me:$LINENO: result: yes" >&5
4692 echo "${ECHO_T}yes" >&6
4694 echo "$as_me:$LINENO: result: no" >&5
4695 echo "${ECHO_T}no" >&6
4700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4703 # Check whether --enable-ole or --disable-ole was given.
4704 if test "${enable_ole+set}" = set; then
4705 enableval
="$enable_ole"
4707 if test "$enableval" = yes; then
4708 ac_cv_use_ole
='wxUSE_OLE=yes'
4710 ac_cv_use_ole
='wxUSE_OLE=no'
4715 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x
; then
4717 eval "DEFAULT_$LINE"
4722 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4726 eval "$ac_cv_use_ole"
4727 if test "$no_cache" != 1; then
4728 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4731 if test "$wxUSE_OLE" = yes; then
4732 echo "$as_me:$LINENO: result: yes" >&5
4733 echo "${ECHO_T}yes" >&6
4735 echo "$as_me:$LINENO: result: no" >&5
4736 echo "${ECHO_T}no" >&6
4741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4742 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4744 # Check whether --enable-dataobj or --disable-dataobj was given.
4745 if test "${enable_dataobj+set}" = set; then
4746 enableval
="$enable_dataobj"
4748 if test "$enableval" = yes; then
4749 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4751 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4756 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4757 if test "x$LINE" != x
; then
4758 eval "DEFAULT_$LINE"
4763 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4767 eval "$ac_cv_use_dataobj"
4768 if test "$no_cache" != 1; then
4769 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4772 if test "$wxUSE_DATAOBJ" = yes; then
4773 echo "$as_me:$LINENO: result: yes" >&5
4774 echo "${ECHO_T}yes" >&6
4776 echo "$as_me:$LINENO: result: no" >&5
4777 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4786 # Check whether --enable-ipc or --disable-ipc was given.
4787 if test "${enable_ipc+set}" = set; then
4788 enableval
="$enable_ipc"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_ipc
='wxUSE_IPC=yes'
4793 ac_cv_use_ipc
='wxUSE_IPC=no'
4798 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4809 eval "$ac_cv_use_ipc"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_IPC" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4828 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4829 if test "${enable_apple_ieee+set}" = set; then
4830 enableval
="$enable_apple_ieee"
4832 if test "$enableval" = yes; then
4833 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4835 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4840 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x
; then
4842 eval "DEFAULT_$LINE"
4847 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4851 eval "$ac_cv_use_apple_ieee"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4856 if test "$wxUSE_APPLE_IEEE" = yes; then
4857 echo "$as_me:$LINENO: result: yes" >&5
4858 echo "${ECHO_T}yes" >&6
4860 echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6
4866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4867 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4869 # Check whether --enable-arcstream or --disable-arcstream was given.
4870 if test "${enable_arcstream+set}" = set; then
4871 enableval
="$enable_arcstream"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4876 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4881 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4892 eval "$ac_cv_use_arcstream"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4897 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4898 echo "$as_me:$LINENO: result: yes" >&5
4899 echo "${ECHO_T}yes" >&6
4901 echo "$as_me:$LINENO: result: no" >&5
4902 echo "${ECHO_T}no" >&6
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4910 # Check whether --enable-backtrace or --disable-backtrace was given.
4911 if test "${enable_backtrace+set}" = set; then
4912 enableval
="$enable_backtrace"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4917 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4922 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x
; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4933 eval "$ac_cv_use_backtrace"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_STACKWALKER" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4951 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4952 if test "${enable_catch_segvs+set}" = set; then
4953 enableval
="$enable_catch_segvs"
4955 if test "$enableval" = yes; then
4956 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4958 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4963 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x
; then
4965 eval "DEFAULT_$LINE"
4970 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4974 eval "$ac_cv_use_catch_segvs"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4979 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4992 # Check whether --enable-cmdline or --disable-cmdline was given.
4993 if test "${enable_cmdline+set}" = set; then
4994 enableval
="$enable_cmdline"
4996 if test "$enableval" = yes; then
4997 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4999 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5004 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5011 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5015 eval "$ac_cv_use_cmdline"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5020 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5021 echo "$as_me:$LINENO: result: yes" >&5
5022 echo "${ECHO_T}yes" >&6
5024 echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5033 # Check whether --enable-datetime or --disable-datetime was given.
5034 if test "${enable_datetime+set}" = set; then
5035 enableval
="$enable_datetime"
5037 if test "$enableval" = yes; then
5038 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5040 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5045 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x
; then
5047 eval "DEFAULT_$LINE"
5052 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5056 eval "$ac_cv_use_datetime"
5057 if test "$no_cache" != 1; then
5058 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5061 if test "$wxUSE_DATETIME" = yes; then
5062 echo "$as_me:$LINENO: result: yes" >&5
5063 echo "${ECHO_T}yes" >&6
5065 echo "$as_me:$LINENO: result: no" >&5
5066 echo "${ECHO_T}no" >&6
5071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5074 # Check whether --enable-debugreport or --disable-debugreport was given.
5075 if test "${enable_debugreport+set}" = set; then
5076 enableval
="$enable_debugreport"
5078 if test "$enableval" = yes; then
5079 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5081 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5086 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x
; then
5088 eval "DEFAULT_$LINE"
5093 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5097 eval "$ac_cv_use_debugreport"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5102 if test "$wxUSE_DEBUGREPORT" = yes; then
5103 echo "$as_me:$LINENO: result: yes" >&5
5104 echo "${ECHO_T}yes" >&6
5106 echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6
5112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5115 # Check whether --enable-dialupman or --disable-dialupman was given.
5116 if test "${enable_dialupman+set}" = set; then
5117 enableval
="$enable_dialupman"
5119 if test "$enableval" = yes; then
5120 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5122 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5127 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x
; then
5129 eval "DEFAULT_$LINE"
5134 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5138 eval "$ac_cv_use_dialupman"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5143 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5144 echo "$as_me:$LINENO: result: yes" >&5
5145 echo "${ECHO_T}yes" >&6
5147 echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6
5153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5156 # Check whether --enable-dynlib or --disable-dynlib was given.
5157 if test "${enable_dynlib+set}" = set; then
5158 enableval
="$enable_dynlib"
5160 if test "$enableval" = yes; then
5161 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5163 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5168 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x
; then
5170 eval "DEFAULT_$LINE"
5175 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5179 eval "$ac_cv_use_dynlib"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5184 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5185 echo "$as_me:$LINENO: result: yes" >&5
5186 echo "${ECHO_T}yes" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5197 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5198 if test "${enable_dynamicloader+set}" = set; then
5199 enableval
="$enable_dynamicloader"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5204 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5209 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5220 eval "$ac_cv_use_dynamicloader"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5225 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5226 echo "$as_me:$LINENO: result: yes" >&5
5227 echo "${ECHO_T}yes" >&6
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5236 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5238 # Check whether --enable-exceptions or --disable-exceptions was given.
5239 if test "${enable_exceptions+set}" = set; then
5240 enableval
="$enable_exceptions"
5242 if test "$enableval" = yes; then
5243 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5245 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5250 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x
; then
5252 eval "DEFAULT_$LINE"
5257 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5261 eval "$ac_cv_use_exceptions"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5266 if test "$wxUSE_EXCEPTIONS" = yes; then
5267 echo "$as_me:$LINENO: result: yes" >&5
5268 echo "${ECHO_T}yes" >&6
5270 echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6
5276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5279 # Check whether --enable-ffile or --disable-ffile was given.
5280 if test "${enable_ffile+set}" = set; then
5281 enableval
="$enable_ffile"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5286 ac_cv_use_ffile
='wxUSE_FFILE=no'
5291 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5302 eval "$ac_cv_use_ffile"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_FFILE" = yes; then
5308 echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6
5311 echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6
5317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5320 # Check whether --enable-file or --disable-file was given.
5321 if test "${enable_file+set}" = set; then
5322 enableval
="$enable_file"
5324 if test "$enableval" = yes; then
5325 ac_cv_use_file
='wxUSE_FILE=yes'
5327 ac_cv_use_file
='wxUSE_FILE=no'
5332 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x
; then
5334 eval "DEFAULT_$LINE"
5339 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5343 eval "$ac_cv_use_file"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5348 if test "$wxUSE_FILE" = yes; then
5349 echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6
5352 echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6
5358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5361 # Check whether --enable-filesystem or --disable-filesystem was given.
5362 if test "${enable_filesystem+set}" = set; then
5363 enableval
="$enable_filesystem"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5368 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5373 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5384 eval "$ac_cv_use_filesystem"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5389 if test "$wxUSE_FILESYSTEM" = yes; then
5390 echo "$as_me:$LINENO: result: yes" >&5
5391 echo "${ECHO_T}yes" >&6
5393 echo "$as_me:$LINENO: result: no" >&5
5394 echo "${ECHO_T}no" >&6
5399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5402 # Check whether --enable-fontmap or --disable-fontmap was given.
5403 if test "${enable_fontmap+set}" = set; then
5404 enableval
="$enable_fontmap"
5406 if test "$enableval" = yes; then
5407 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5409 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5414 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5425 eval "$ac_cv_use_fontmap"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_FONTMAP" = yes; then
5431 echo "$as_me:$LINENO: result: yes" >&5
5432 echo "${ECHO_T}yes" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5443 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5444 if test "${enable_fs_inet+set}" = set; then
5445 enableval
="$enable_fs_inet"
5447 if test "$enableval" = yes; then
5448 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5450 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5455 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x
; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5466 eval "$ac_cv_use_fs_inet"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5471 if test "$wxUSE_FS_INET" = yes; then
5472 echo "$as_me:$LINENO: result: yes" >&5
5473 echo "${ECHO_T}yes" >&6
5475 echo "$as_me:$LINENO: result: no" >&5
5476 echo "${ECHO_T}no" >&6
5481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5482 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5484 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5485 if test "${enable_fs_zip+set}" = set; then
5486 enableval
="$enable_fs_zip"
5488 if test "$enableval" = yes; then
5489 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5491 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5496 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5497 if test "x$LINE" != x
; then
5498 eval "DEFAULT_$LINE"
5503 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5507 eval "$ac_cv_use_fs_zip"
5508 if test "$no_cache" != 1; then
5509 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5512 if test "$wxUSE_FS_ZIP" = yes; then
5513 echo "$as_me:$LINENO: result: yes" >&5
5514 echo "${ECHO_T}yes" >&6
5516 echo "$as_me:$LINENO: result: no" >&5
5517 echo "${ECHO_T}no" >&6
5522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5523 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5525 # Check whether --enable-geometry or --disable-geometry was given.
5526 if test "${enable_geometry+set}" = set; then
5527 enableval
="$enable_geometry"
5529 if test "$enableval" = yes; then
5530 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5532 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5537 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5544 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5548 eval "$ac_cv_use_geometry"
5549 if test "$no_cache" != 1; then
5550 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5553 if test "$wxUSE_GEOMETRY" = yes; then
5554 echo "$as_me:$LINENO: result: yes" >&5
5555 echo "${ECHO_T}yes" >&6
5557 echo "$as_me:$LINENO: result: no" >&5
5558 echo "${ECHO_T}no" >&6
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5566 # Check whether --enable-log or --disable-log was given.
5567 if test "${enable_log+set}" = set; then
5568 enableval
="$enable_log"
5570 if test "$enableval" = yes; then
5571 ac_cv_use_log
='wxUSE_LOG=yes'
5573 ac_cv_use_log
='wxUSE_LOG=no'
5578 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x
; then
5580 eval "DEFAULT_$LINE"
5585 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5589 eval "$ac_cv_use_log"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5594 if test "$wxUSE_LOG" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596 echo "${ECHO_T}yes" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5605 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5607 # Check whether --enable-longlong or --disable-longlong was given.
5608 if test "${enable_longlong+set}" = set; then
5609 enableval
="$enable_longlong"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5614 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5619 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x
; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5630 eval "$ac_cv_use_longlong"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_LONGLONG" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637 echo "${ECHO_T}yes" >&6
5639 echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5646 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5648 # Check whether --enable-mimetype or --disable-mimetype was given.
5649 if test "${enable_mimetype+set}" = set; then
5650 enableval
="$enable_mimetype"
5652 if test "$enableval" = yes; then
5653 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5655 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5660 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x
; then
5662 eval "DEFAULT_$LINE"
5667 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5671 eval "$ac_cv_use_mimetype"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5676 if test "$wxUSE_MIMETYPE" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678 echo "${ECHO_T}yes" >&6
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5687 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5689 # Check whether --enable-mslu or --disable-mslu was given.
5690 if test "${enable_mslu+set}" = set; then
5691 enableval
="$enable_mslu"
5693 if test "$enableval" = yes; then
5694 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5696 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5701 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x
; then
5703 eval "DEFAULT_$LINE"
5708 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5712 eval "$ac_cv_use_mslu"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5717 if test "$wxUSE_UNICODE_MSLU" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5730 # Check whether --enable-snglinst or --disable-snglinst was given.
5731 if test "${enable_snglinst+set}" = set; then
5732 enableval
="$enable_snglinst"
5734 if test "$enableval" = yes; then
5735 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5737 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5742 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x
; then
5744 eval "DEFAULT_$LINE"
5749 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5753 eval "$ac_cv_use_snglinst"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760 echo "${ECHO_T}yes" >&6
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5769 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5771 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5772 if test "${enable_std_iostreams+set}" = set; then
5773 enableval
="$enable_std_iostreams"
5775 if test "$enableval" = yes; then
5776 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5778 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5783 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5784 if test "x$LINE" != x
; then
5785 eval "DEFAULT_$LINE"
5790 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5794 eval "$ac_cv_use_std_iostreams"
5795 if test "$no_cache" != 1; then
5796 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5799 if test "$wxUSE_STD_IOSTREAM" = yes; then
5800 echo "$as_me:$LINENO: result: yes" >&5
5801 echo "${ECHO_T}yes" >&6
5803 echo "$as_me:$LINENO: result: no" >&5
5804 echo "${ECHO_T}no" >&6
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5812 # Check whether --enable-std_string or --disable-std_string was given.
5813 if test "${enable_std_string+set}" = set; then
5814 enableval
="$enable_std_string"
5816 if test "$enableval" = yes; then
5817 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5819 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5824 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x
; then
5826 eval "DEFAULT_$LINE"
5831 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5835 eval "$ac_cv_use_std_string"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_STD_STRING" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5853 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5854 if test "${enable_stdpaths+set}" = set; then
5855 enableval
="$enable_stdpaths"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5860 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5865 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5876 eval "$ac_cv_use_stdpaths"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_STDPATHS" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5894 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5895 if test "${enable_stopwatch+set}" = set; then
5896 enableval
="$enable_stopwatch"
5898 if test "$enableval" = yes; then
5899 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5901 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5906 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x
; then
5908 eval "DEFAULT_$LINE"
5913 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5917 eval "$ac_cv_use_stopwatch"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_STOPWATCH" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5935 # Check whether --enable-streams or --disable-streams was given.
5936 if test "${enable_streams+set}" = set; then
5937 enableval
="$enable_streams"
5939 if test "$enableval" = yes; then
5940 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5942 ac_cv_use_streams
='wxUSE_STREAMS=no'
5947 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5948 if test "x$LINE" != x
; then
5949 eval "DEFAULT_$LINE"
5954 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5958 eval "$ac_cv_use_streams"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5963 if test "$wxUSE_STREAMS" = yes; then
5964 echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6
5967 echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6
5973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5976 # Check whether --enable-system_options or --disable-system_options was given.
5977 if test "${enable_system_options+set}" = set; then
5978 enableval
="$enable_system_options"
5980 if test "$enableval" = yes; then
5981 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5983 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5988 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x
; then
5990 eval "DEFAULT_$LINE"
5995 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5999 eval "$ac_cv_use_system_options"
6000 if test "$no_cache" != 1; then
6001 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6004 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6005 echo "$as_me:$LINENO: result: yes" >&5
6006 echo "${ECHO_T}yes" >&6
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6017 # Check whether --enable-textbuf or --disable-textbuf was given.
6018 if test "${enable_textbuf+set}" = set; then
6019 enableval
="$enable_textbuf"
6021 if test "$enableval" = yes; then
6022 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6024 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6029 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x
; then
6031 eval "DEFAULT_$LINE"
6036 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6040 eval "$ac_cv_use_textbuf"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_TEXTBUFFER" = yes; then
6046 echo "$as_me:$LINENO: result: yes" >&5
6047 echo "${ECHO_T}yes" >&6
6049 echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6
6055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6058 # Check whether --enable-textfile or --disable-textfile was given.
6059 if test "${enable_textfile+set}" = set; then
6060 enableval
="$enable_textfile"
6062 if test "$enableval" = yes; then
6063 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6065 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6070 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x
; then
6072 eval "DEFAULT_$LINE"
6077 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6081 eval "$ac_cv_use_textfile"
6082 if test "$no_cache" != 1; then
6083 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6086 if test "$wxUSE_TEXTFILE" = yes; then
6087 echo "$as_me:$LINENO: result: yes" >&5
6088 echo "${ECHO_T}yes" >&6
6090 echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6099 # Check whether --enable-timer or --disable-timer was given.
6100 if test "${enable_timer+set}" = set; then
6101 enableval
="$enable_timer"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_timer
='wxUSE_TIMER=yes'
6106 ac_cv_use_timer
='wxUSE_TIMER=no'
6111 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x
; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6122 eval "$ac_cv_use_timer"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6127 if test "$wxUSE_TIMER" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6140 # Check whether --enable-unicode or --disable-unicode was given.
6141 if test "${enable_unicode+set}" = set; then
6142 enableval
="$enable_unicode"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6147 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6152 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6163 eval "$ac_cv_use_unicode"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_UNICODE" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6181 # Check whether --enable-sound or --disable-sound was given.
6182 if test "${enable_sound+set}" = set; then
6183 enableval
="$enable_sound"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_sound
='wxUSE_SOUND=yes'
6188 ac_cv_use_sound
='wxUSE_SOUND=no'
6193 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6204 eval "$ac_cv_use_sound"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_SOUND" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6222 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6223 if test "${enable_mediactrl+set}" = set; then
6224 enableval
="$enable_mediactrl"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6229 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6234 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6245 eval "$ac_cv_use_mediactrl"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_MEDIACTRL" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6263 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6264 if test "${enable_gstreamer8+set}" = set; then
6265 enableval
="$enable_gstreamer8"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6270 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6275 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6286 eval "$ac_cv_use_gstreamer8"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_GSTREAMER8" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6304 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6305 if test "${enable_wxprintfv+set}" = set; then
6306 enableval
="$enable_wxprintfv"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6311 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6316 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6327 eval "$ac_cv_use_wxprintfv"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6345 # Check whether --enable-zipstream or --disable-zipstream was given.
6346 if test "${enable_zipstream+set}" = set; then
6347 enableval
="$enable_zipstream"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6352 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6357 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6368 eval "$ac_cv_use_zipstream"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_ZIPSTREAM" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6387 # Check whether --enable-url or --disable-url was given.
6388 if test "${enable_url+set}" = set; then
6389 enableval
="$enable_url"
6391 if test "$enableval" = yes; then
6392 ac_cv_use_url
='wxUSE_URL=yes'
6394 ac_cv_use_url
='wxUSE_URL=no'
6399 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x
; then
6401 eval "DEFAULT_$LINE"
6406 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6410 eval "$ac_cv_use_url"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6415 if test "$wxUSE_URL" = yes; then
6416 echo "$as_me:$LINENO: result: yes" >&5
6417 echo "${ECHO_T}yes" >&6
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6428 # Check whether --enable-protocol or --disable-protocol was given.
6429 if test "${enable_protocol+set}" = set; then
6430 enableval
="$enable_protocol"
6432 if test "$enableval" = yes; then
6433 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6435 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6440 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x
; then
6442 eval "DEFAULT_$LINE"
6447 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6451 eval "$ac_cv_use_protocol"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6456 if test "$wxUSE_PROTOCOL" = yes; then
6457 echo "$as_me:$LINENO: result: yes" >&5
6458 echo "${ECHO_T}yes" >&6
6460 echo "$as_me:$LINENO: result: no" >&5
6461 echo "${ECHO_T}no" >&6
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6469 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6470 if test "${enable_protocol_http+set}" = set; then
6471 enableval
="$enable_protocol_http"
6473 if test "$enableval" = yes; then
6474 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6476 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6481 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x
; then
6483 eval "DEFAULT_$LINE"
6488 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6492 eval "$ac_cv_use_protocol_http"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6510 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6511 if test "${enable_protocol_ftp+set}" = set; then
6512 enableval
="$enable_protocol_ftp"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6517 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6522 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x
; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6533 eval "$ac_cv_use_protocol_ftp"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6551 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6552 if test "${enable_protocol_file+set}" = set; then
6553 enableval
="$enable_protocol_file"
6555 if test "$enableval" = yes; then
6556 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6558 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6563 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x
; then
6565 eval "DEFAULT_$LINE"
6570 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6574 eval "$ac_cv_use_protocol_file"
6575 if test "$no_cache" != 1; then
6576 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6579 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6583 echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6595 # Check whether --enable-threads or --disable-threads was given.
6596 if test "${enable_threads+set}" = set; then
6597 enableval
="$enable_threads"
6599 if test "$enableval" = yes; then
6600 ac_cv_use_threads
='wxUSE_THREADS=yes'
6602 ac_cv_use_threads
='wxUSE_THREADS=no'
6607 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x
; then
6609 eval "DEFAULT_$LINE"
6614 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6618 eval "$ac_cv_use_threads"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_THREADS" = yes; then
6624 echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6
6627 echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6
6632 if test "$wxUSE_GUI" = "yes"; then
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6640 # Check whether --enable-docview or --disable-docview was given.
6641 if test "${enable_docview+set}" = set; then
6642 enableval
="$enable_docview"
6644 if test "$enableval" = yes; then
6645 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6647 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6652 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x
; then
6654 eval "DEFAULT_$LINE"
6659 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6663 eval "$ac_cv_use_docview"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6668 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6679 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6681 # Check whether --enable-help or --disable-help was given.
6682 if test "${enable_help+set}" = set; then
6683 enableval
="$enable_help"
6685 if test "$enableval" = yes; then
6686 ac_cv_use_help
='wxUSE_HELP=yes'
6688 ac_cv_use_help
='wxUSE_HELP=no'
6693 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x
; then
6695 eval "DEFAULT_$LINE"
6700 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6704 eval "$ac_cv_use_help"
6705 if test "$no_cache" != 1; then
6706 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6709 if test "$wxUSE_HELP" = yes; then
6710 echo "$as_me:$LINENO: result: yes" >&5
6711 echo "${ECHO_T}yes" >&6
6713 echo "$as_me:$LINENO: result: no" >&5
6714 echo "${ECHO_T}no" >&6
6719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6722 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6723 if test "${enable_mshtmlhelp+set}" = set; then
6724 enableval
="$enable_mshtmlhelp"
6726 if test "$enableval" = yes; then
6727 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6729 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6734 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x
; then
6736 eval "DEFAULT_$LINE"
6741 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6745 eval "$ac_cv_use_mshtmlhelp"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6750 if test "$wxUSE_MS_HTML_HELP" = yes; then
6751 echo "$as_me:$LINENO: result: yes" >&5
6752 echo "${ECHO_T}yes" >&6
6754 echo "$as_me:$LINENO: result: no" >&5
6755 echo "${ECHO_T}no" >&6
6760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6761 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6763 # Check whether --enable-html or --disable-html was given.
6764 if test "${enable_html+set}" = set; then
6765 enableval
="$enable_html"
6767 if test "$enableval" = yes; then
6768 ac_cv_use_html
='wxUSE_HTML=yes'
6770 ac_cv_use_html
='wxUSE_HTML=no'
6775 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6776 if test "x$LINE" != x
; then
6777 eval "DEFAULT_$LINE"
6782 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6786 eval "$ac_cv_use_html"
6787 if test "$no_cache" != 1; then
6788 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6791 if test "$wxUSE_HTML" = yes; then
6792 echo "$as_me:$LINENO: result: yes" >&5
6793 echo "${ECHO_T}yes" >&6
6795 echo "$as_me:$LINENO: result: no" >&5
6796 echo "${ECHO_T}no" >&6
6801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6802 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6804 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6805 if test "${enable_htmlhelp+set}" = set; then
6806 enableval
="$enable_htmlhelp"
6808 if test "$enableval" = yes; then
6809 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6811 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6816 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6817 if test "x$LINE" != x
; then
6818 eval "DEFAULT_$LINE"
6823 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6827 eval "$ac_cv_use_htmlhelp"
6828 if test "$no_cache" != 1; then
6829 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6832 if test "$wxUSE_WXHTML_HELP" = yes; then
6833 echo "$as_me:$LINENO: result: yes" >&5
6834 echo "${ECHO_T}yes" >&6
6836 echo "$as_me:$LINENO: result: no" >&5
6837 echo "${ECHO_T}no" >&6
6842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6843 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6845 # Check whether --enable-xrc or --disable-xrc was given.
6846 if test "${enable_xrc+set}" = set; then
6847 enableval
="$enable_xrc"
6849 if test "$enableval" = yes; then
6850 ac_cv_use_xrc
='wxUSE_XRC=yes'
6852 ac_cv_use_xrc
='wxUSE_XRC=no'
6857 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6858 if test "x$LINE" != x
; then
6859 eval "DEFAULT_$LINE"
6864 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6868 eval "$ac_cv_use_xrc"
6869 if test "$no_cache" != 1; then
6870 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6873 if test "$wxUSE_XRC" = yes; then
6874 echo "$as_me:$LINENO: result: yes" >&5
6875 echo "${ECHO_T}yes" >&6
6877 echo "$as_me:$LINENO: result: no" >&5
6878 echo "${ECHO_T}no" >&6
6883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6884 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6886 # Check whether --enable-constraints or --disable-constraints was given.
6887 if test "${enable_constraints+set}" = set; then
6888 enableval
="$enable_constraints"
6890 if test "$enableval" = yes; then
6891 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6893 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6898 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6899 if test "x$LINE" != x
; then
6900 eval "DEFAULT_$LINE"
6905 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6909 eval "$ac_cv_use_constraints"
6910 if test "$no_cache" != 1; then
6911 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6914 if test "$wxUSE_CONSTRAINTS" = yes; then
6915 echo "$as_me:$LINENO: result: yes" >&5
6916 echo "${ECHO_T}yes" >&6
6918 echo "$as_me:$LINENO: result: no" >&5
6919 echo "${ECHO_T}no" >&6
6924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6925 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6927 # Check whether --enable-printarch or --disable-printarch was given.
6928 if test "${enable_printarch+set}" = set; then
6929 enableval
="$enable_printarch"
6931 if test "$enableval" = yes; then
6932 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6934 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6939 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x
; then
6941 eval "DEFAULT_$LINE"
6946 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6950 eval "$ac_cv_use_printarch"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6956 echo "$as_me:$LINENO: result: yes" >&5
6957 echo "${ECHO_T}yes" >&6
6959 echo "$as_me:$LINENO: result: no" >&5
6960 echo "${ECHO_T}no" >&6
6965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6968 # Check whether --enable-mdi or --disable-mdi was given.
6969 if test "${enable_mdi+set}" = set; then
6970 enableval
="$enable_mdi"
6972 if test "$enableval" = yes; then
6973 ac_cv_use_mdi
='wxUSE_MDI=yes'
6975 ac_cv_use_mdi
='wxUSE_MDI=no'
6980 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x
; then
6982 eval "DEFAULT_$LINE"
6987 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6991 eval "$ac_cv_use_mdi"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6996 if test "$wxUSE_MDI" = yes; then
6997 echo "$as_me:$LINENO: result: yes" >&5
6998 echo "${ECHO_T}yes" >&6
7000 echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6
7006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7009 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7010 if test "${enable_mdidoc+set}" = set; then
7011 enableval
="$enable_mdidoc"
7013 if test "$enableval" = yes; then
7014 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7016 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7021 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x
; then
7023 eval "DEFAULT_$LINE"
7028 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7032 eval "$ac_cv_use_mdidoc"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7037 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7038 echo "$as_me:$LINENO: result: yes" >&5
7039 echo "${ECHO_T}yes" >&6
7041 echo "$as_me:$LINENO: result: no" >&5
7042 echo "${ECHO_T}no" >&6
7047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7050 # Check whether --enable-loggui or --disable-loggui was given.
7051 if test "${enable_loggui+set}" = set; then
7052 enableval
="$enable_loggui"
7054 if test "$enableval" = yes; then
7055 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7057 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7062 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x
; then
7064 eval "DEFAULT_$LINE"
7069 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7073 eval "$ac_cv_use_loggui"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7078 if test "$wxUSE_LOGGUI" = yes; then
7079 echo "$as_me:$LINENO: result: yes" >&5
7080 echo "${ECHO_T}yes" >&6
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7091 # Check whether --enable-logwin or --disable-logwin was given.
7092 if test "${enable_logwin+set}" = set; then
7093 enableval
="$enable_logwin"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7098 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7103 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7114 eval "$ac_cv_use_logwin"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_LOGWINDOW" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7132 # Check whether --enable-logdialog or --disable-logdialog was given.
7133 if test "${enable_logdialog+set}" = set; then
7134 enableval
="$enable_logdialog"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7139 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7144 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7155 eval "$ac_cv_use_logdialog"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_LOGDIALOG" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7173 # Check whether --enable-webkit or --disable-webkit was given.
7174 if test "${enable_webkit+set}" = set; then
7175 enableval
="$enable_webkit"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7180 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7185 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7196 eval "$ac_cv_use_webkit"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_WEBKIT" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7214 # Check whether --enable-html or --disable-html was given.
7215 if test "${enable_html+set}" = set; then
7216 enableval
="$enable_html"
7218 if test "$enableval" = yes; then
7219 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7221 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7226 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x
; then
7228 eval "DEFAULT_$LINE"
7233 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7237 eval "$ac_cv_use_html"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_RICHTEXT" = yes; then
7243 echo "$as_me:$LINENO: result: yes" >&5
7244 echo "${ECHO_T}yes" >&6
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7256 # Check whether --enable-postscript or --disable-postscript was given.
7257 if test "${enable_postscript+set}" = set; then
7258 enableval
="$enable_postscript"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7263 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7268 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7279 eval "$ac_cv_use_postscript"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_POSTSCRIPT" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7300 # Check whether --enable-prologio or --disable-prologio was given.
7301 if test "${enable_prologio+set}" = set; then
7302 enableval
="$enable_prologio"
7304 if test "$enableval" = yes; then
7305 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7307 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7312 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x
; then
7314 eval "DEFAULT_$LINE"
7319 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7323 eval "$ac_cv_use_prologio"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7328 if test "$wxUSE_PROLOGIO" = yes; then
7329 echo "$as_me:$LINENO: result: yes" >&5
7330 echo "${ECHO_T}yes" >&6
7332 echo "$as_me:$LINENO: result: no" >&5
7333 echo "${ECHO_T}no" >&6
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7341 # Check whether --enable-resources or --disable-resources was given.
7342 if test "${enable_resources+set}" = set; then
7343 enableval
="$enable_resources"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7348 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7353 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7364 eval "$ac_cv_use_resources"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_RESOURCES" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7384 # Check whether --enable-clipboard or --disable-clipboard was given.
7385 if test "${enable_clipboard+set}" = set; then
7386 enableval
="$enable_clipboard"
7388 if test "$enableval" = yes; then
7389 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7391 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7396 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x
; then
7398 eval "DEFAULT_$LINE"
7403 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7407 eval "$ac_cv_use_clipboard"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_CLIPBOARD" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7425 # Check whether --enable-dnd or --disable-dnd was given.
7426 if test "${enable_dnd+set}" = set; then
7427 enableval
="$enable_dnd"
7429 if test "$enableval" = yes; then
7430 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7432 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7437 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x
; then
7439 eval "DEFAULT_$LINE"
7444 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7448 eval "$ac_cv_use_dnd"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7453 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7466 # Check whether --enable-metafile or --disable-metafile was given.
7467 if test "${enable_metafile+set}" = set; then
7468 enableval
="$enable_metafile"
7470 if test "$enableval" = yes; then
7471 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7473 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7478 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x
; then
7480 eval "DEFAULT_$LINE"
7485 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7489 eval "$ac_cv_use_metafile"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7494 if test "$wxUSE_METAFILE" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7510 # Check whether --enable-controls or --disable-controls was given.
7511 if test "${enable_controls+set}" = set; then
7512 enableval
="$enable_controls"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7517 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7522 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x
; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7533 eval "$ac_cv_use_controls"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_CONTROLS" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7547 if test "$wxUSE_CONTROLS" = "yes"; then
7548 DEFAULT_wxUSE_ACCEL
=yes
7549 DEFAULT_wxUSE_BMPBUTTON
=yes
7550 DEFAULT_wxUSE_BUTTON
=yes
7551 DEFAULT_wxUSE_CALCTRL
=yes
7552 DEFAULT_wxUSE_CARET
=yes
7553 DEFAULT_wxUSE_COMBOBOX
=yes
7554 DEFAULT_wxUSE_CHECKBOX
=yes
7555 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7556 DEFAULT_wxUSE_CHOICE
=yes
7557 DEFAULT_wxUSE_CHOICEBOOK
=yes
7558 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7559 DEFAULT_wxUSE_GAUGE
=yes
7560 DEFAULT_wxUSE_GRID
=yes
7561 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7562 DEFAULT_wxUSE_IMAGLIST
=yes
7563 DEFAULT_wxUSE_LISTBOOK
=yes
7564 DEFAULT_wxUSE_LISTBOX
=yes
7565 DEFAULT_wxUSE_LISTCTRL
=yes
7566 DEFAULT_wxUSE_NOTEBOOK
=yes
7567 DEFAULT_wxUSE_RADIOBOX
=yes
7568 DEFAULT_wxUSE_RADIOBTN
=yes
7569 DEFAULT_wxUSE_SASH
=yes
7570 DEFAULT_wxUSE_SCROLLBAR
=yes
7571 DEFAULT_wxUSE_SLIDER
=yes
7572 DEFAULT_wxUSE_SPINBTN
=yes
7573 DEFAULT_wxUSE_SPINCTRL
=yes
7574 DEFAULT_wxUSE_SPLITTER
=yes
7575 DEFAULT_wxUSE_STATBMP
=yes
7576 DEFAULT_wxUSE_STATBOX
=yes
7577 DEFAULT_wxUSE_STATLINE
=yes
7578 DEFAULT_wxUSE_STATUSBAR
=yes
7579 DEFAULT_wxUSE_TAB_DIALOG
=yes
7580 DEFAULT_wxUSE_TOGGLEBTN
=yes
7581 DEFAULT_wxUSE_TOOLBAR
=yes
7582 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7583 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7584 DEFAULT_wxUSE_TOOLTIPS
=yes
7585 DEFAULT_wxUSE_TREEBOOK
=yes
7586 DEFAULT_wxUSE_TOOLBOOK
=yes
7587 DEFAULT_wxUSE_TREECTRL
=yes
7588 DEFAULT_wxUSE_POPUPWIN
=yes
7589 DEFAULT_wxUSE_TIPWINDOW
=yes
7590 elif test "$wxUSE_CONTROLS" = "no"; then
7591 DEFAULT_wxUSE_ACCEL
=no
7592 DEFAULT_wxUSE_BMPBUTTON
=no
7593 DEFAULT_wxUSE_BUTTON
=no
7594 DEFAULT_wxUSE_CALCTRL
=no
7595 DEFAULT_wxUSE_CARET
=no
7596 DEFAULT_wxUSE_COMBOBOX
=no
7597 DEFAULT_wxUSE_CHECKBOX
=no
7598 DEFAULT_wxUSE_CHECKLISTBOX
=no
7599 DEFAULT_wxUSE_CHOICE
=no
7600 DEFAULT_wxUSE_CHOICEBOOK
=no
7601 DEFAULT_wxUSE_DATEPICKCTRL
=no
7602 DEFAULT_wxUSE_GAUGE
=no
7603 DEFAULT_wxUSE_GRID
=no
7604 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7605 DEFAULT_wxUSE_IMAGLIST
=no
7606 DEFAULT_wxUSE_LISTBOOK
=no
7607 DEFAULT_wxUSE_LISTBOX
=no
7608 DEFAULT_wxUSE_LISTCTRL
=no
7609 DEFAULT_wxUSE_NOTEBOOK
=no
7610 DEFAULT_wxUSE_RADIOBOX
=no
7611 DEFAULT_wxUSE_RADIOBTN
=no
7612 DEFAULT_wxUSE_SASH
=no
7613 DEFAULT_wxUSE_SCROLLBAR
=no
7614 DEFAULT_wxUSE_SLIDER
=no
7615 DEFAULT_wxUSE_SPINBTN
=no
7616 DEFAULT_wxUSE_SPINCTRL
=no
7617 DEFAULT_wxUSE_SPLITTER
=no
7618 DEFAULT_wxUSE_STATBMP
=no
7619 DEFAULT_wxUSE_STATBOX
=no
7620 DEFAULT_wxUSE_STATLINE
=no
7621 DEFAULT_wxUSE_STATUSBAR
=no
7622 DEFAULT_wxUSE_TAB_DIALOG
=no
7623 DEFAULT_wxUSE_TOGGLEBTN
=no
7624 DEFAULT_wxUSE_TOOLBAR
=no
7625 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7626 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7627 DEFAULT_wxUSE_TOOLTIPS
=no
7628 DEFAULT_wxUSE_TREEBOOK
=no
7629 DEFAULT_wxUSE_TOOLBOOK
=no
7630 DEFAULT_wxUSE_TREECTRL
=no
7631 DEFAULT_wxUSE_POPUPWIN
=no
7632 DEFAULT_wxUSE_TIPWINDOW
=no
7637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7640 # Check whether --enable-accel or --disable-accel was given.
7641 if test "${enable_accel+set}" = set; then
7642 enableval
="$enable_accel"
7644 if test "$enableval" = yes; then
7645 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7647 ac_cv_use_accel
='wxUSE_ACCEL=no'
7652 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x
; then
7654 eval "DEFAULT_$LINE"
7659 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7663 eval "$ac_cv_use_accel"
7664 if test "$no_cache" != 1; then
7665 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7668 if test "$wxUSE_ACCEL" = yes; then
7669 echo "$as_me:$LINENO: result: yes" >&5
7670 echo "${ECHO_T}yes" >&6
7672 echo "$as_me:$LINENO: result: no" >&5
7673 echo "${ECHO_T}no" >&6
7678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7679 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7681 # Check whether --enable-button or --disable-button was given.
7682 if test "${enable_button+set}" = set; then
7683 enableval
="$enable_button"
7685 if test "$enableval" = yes; then
7686 ac_cv_use_button
='wxUSE_BUTTON=yes'
7688 ac_cv_use_button
='wxUSE_BUTTON=no'
7693 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7694 if test "x$LINE" != x
; then
7695 eval "DEFAULT_$LINE"
7700 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7704 eval "$ac_cv_use_button"
7705 if test "$no_cache" != 1; then
7706 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7709 if test "$wxUSE_BUTTON" = yes; then
7710 echo "$as_me:$LINENO: result: yes" >&5
7711 echo "${ECHO_T}yes" >&6
7713 echo "$as_me:$LINENO: result: no" >&5
7714 echo "${ECHO_T}no" >&6
7719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7720 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7722 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7723 if test "${enable_bmpbutton+set}" = set; then
7724 enableval
="$enable_bmpbutton"
7726 if test "$enableval" = yes; then
7727 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7729 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7734 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x
; then
7736 eval "DEFAULT_$LINE"
7741 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7745 eval "$ac_cv_use_bmpbutton"
7746 if test "$no_cache" != 1; then
7747 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7750 if test "$wxUSE_BMPBUTTON" = yes; then
7751 echo "$as_me:$LINENO: result: yes" >&5
7752 echo "${ECHO_T}yes" >&6
7754 echo "$as_me:$LINENO: result: no" >&5
7755 echo "${ECHO_T}no" >&6
7760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7763 # Check whether --enable-calendar or --disable-calendar was given.
7764 if test "${enable_calendar+set}" = set; then
7765 enableval
="$enable_calendar"
7767 if test "$enableval" = yes; then
7768 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7770 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7775 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x
; then
7777 eval "DEFAULT_$LINE"
7782 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7786 eval "$ac_cv_use_calendar"
7787 if test "$no_cache" != 1; then
7788 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7791 if test "$wxUSE_CALCTRL" = yes; then
7792 echo "$as_me:$LINENO: result: yes" >&5
7793 echo "${ECHO_T}yes" >&6
7795 echo "$as_me:$LINENO: result: no" >&5
7796 echo "${ECHO_T}no" >&6
7801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7802 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7804 # Check whether --enable-caret or --disable-caret was given.
7805 if test "${enable_caret+set}" = set; then
7806 enableval
="$enable_caret"
7808 if test "$enableval" = yes; then
7809 ac_cv_use_caret
='wxUSE_CARET=yes'
7811 ac_cv_use_caret
='wxUSE_CARET=no'
7816 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x
; then
7818 eval "DEFAULT_$LINE"
7823 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7827 eval "$ac_cv_use_caret"
7828 if test "$no_cache" != 1; then
7829 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7832 if test "$wxUSE_CARET" = yes; then
7833 echo "$as_me:$LINENO: result: yes" >&5
7834 echo "${ECHO_T}yes" >&6
7836 echo "$as_me:$LINENO: result: no" >&5
7837 echo "${ECHO_T}no" >&6
7842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7843 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7845 # Check whether --enable-checkbox or --disable-checkbox was given.
7846 if test "${enable_checkbox+set}" = set; then
7847 enableval
="$enable_checkbox"
7849 if test "$enableval" = yes; then
7850 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7852 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7857 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x
; then
7859 eval "DEFAULT_$LINE"
7864 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7868 eval "$ac_cv_use_checkbox"
7869 if test "$no_cache" != 1; then
7870 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7873 if test "$wxUSE_CHECKBOX" = yes; then
7874 echo "$as_me:$LINENO: result: yes" >&5
7875 echo "${ECHO_T}yes" >&6
7877 echo "$as_me:$LINENO: result: no" >&5
7878 echo "${ECHO_T}no" >&6
7883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7884 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7886 # Check whether --enable-checklst or --disable-checklst was given.
7887 if test "${enable_checklst+set}" = set; then
7888 enableval
="$enable_checklst"
7890 if test "$enableval" = yes; then
7891 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7893 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7898 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7899 if test "x$LINE" != x
; then
7900 eval "DEFAULT_$LINE"
7905 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7909 eval "$ac_cv_use_checklst"
7910 if test "$no_cache" != 1; then
7911 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7914 if test "$wxUSE_CHECKLST" = yes; then
7915 echo "$as_me:$LINENO: result: yes" >&5
7916 echo "${ECHO_T}yes" >&6
7918 echo "$as_me:$LINENO: result: no" >&5
7919 echo "${ECHO_T}no" >&6
7924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7925 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7927 # Check whether --enable-choice or --disable-choice was given.
7928 if test "${enable_choice+set}" = set; then
7929 enableval
="$enable_choice"
7931 if test "$enableval" = yes; then
7932 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7934 ac_cv_use_choice
='wxUSE_CHOICE=no'
7939 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x
; then
7941 eval "DEFAULT_$LINE"
7946 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7950 eval "$ac_cv_use_choice"
7951 if test "$no_cache" != 1; then
7952 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7955 if test "$wxUSE_CHOICE" = yes; then
7956 echo "$as_me:$LINENO: result: yes" >&5
7957 echo "${ECHO_T}yes" >&6
7959 echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6
7965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7968 # Check whether --enable-choicebook or --disable-choicebook was given.
7969 if test "${enable_choicebook+set}" = set; then
7970 enableval
="$enable_choicebook"
7972 if test "$enableval" = yes; then
7973 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7975 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7980 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7981 if test "x$LINE" != x
; then
7982 eval "DEFAULT_$LINE"
7987 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7991 eval "$ac_cv_use_choicebook"
7992 if test "$no_cache" != 1; then
7993 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7996 if test "$wxUSE_CHOICEBOOK" = yes; then
7997 echo "$as_me:$LINENO: result: yes" >&5
7998 echo "${ECHO_T}yes" >&6
8000 echo "$as_me:$LINENO: result: no" >&5
8001 echo "${ECHO_T}no" >&6
8006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8009 # Check whether --enable-combobox or --disable-combobox was given.
8010 if test "${enable_combobox+set}" = set; then
8011 enableval
="$enable_combobox"
8013 if test "$enableval" = yes; then
8014 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8016 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8021 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x
; then
8023 eval "DEFAULT_$LINE"
8028 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8032 eval "$ac_cv_use_combobox"
8033 if test "$no_cache" != 1; then
8034 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8037 if test "$wxUSE_COMBOBOX" = yes; then
8038 echo "$as_me:$LINENO: result: yes" >&5
8039 echo "${ECHO_T}yes" >&6
8041 echo "$as_me:$LINENO: result: no" >&5
8042 echo "${ECHO_T}no" >&6
8047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combocontrol" >&5
8048 echo $ECHO_N "checking for --${enablestring:-enable}-combocontrol... $ECHO_C" >&6
8050 # Check whether --enable-combocontrol or --disable-combocontrol was given.
8051 if test "${enable_combocontrol+set}" = set; then
8052 enableval
="$enable_combocontrol"
8054 if test "$enableval" = yes; then
8055 ac_cv_use_combocontrol
='wxUSE_COMBOCONTROL=yes'
8057 ac_cv_use_combocontrol
='wxUSE_COMBOCONTROL=no'
8062 LINE
=`grep "wxUSE_COMBOCONTROL" ${wx_arg_cache_file}`
8063 if test "x$LINE" != x
; then
8064 eval "DEFAULT_$LINE"
8069 ac_cv_use_combocontrol
='wxUSE_COMBOCONTROL='$DEFAULT_wxUSE_COMBOCONTROL
8073 eval "$ac_cv_use_combocontrol"
8074 if test "$no_cache" != 1; then
8075 echo $ac_cv_use_combocontrol >> ${wx_arg_cache_file}.tmp
8078 if test "$wxUSE_COMBOCONTROL" = yes; then
8079 echo "$as_me:$LINENO: result: yes" >&5
8080 echo "${ECHO_T}yes" >&6
8082 echo "$as_me:$LINENO: result: no" >&5
8083 echo "${ECHO_T}no" >&6
8088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8089 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8091 # Check whether --enable-datepick or --disable-datepick was given.
8092 if test "${enable_datepick+set}" = set; then
8093 enableval
="$enable_datepick"
8095 if test "$enableval" = yes; then
8096 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8098 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8103 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8104 if test "x$LINE" != x
; then
8105 eval "DEFAULT_$LINE"
8110 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8114 eval "$ac_cv_use_datepick"
8115 if test "$no_cache" != 1; then
8116 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8119 if test "$wxUSE_DATEPICKCTRL" = yes; then
8120 echo "$as_me:$LINENO: result: yes" >&5
8121 echo "${ECHO_T}yes" >&6
8123 echo "$as_me:$LINENO: result: no" >&5
8124 echo "${ECHO_T}no" >&6
8129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8130 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8132 # Check whether --enable-display or --disable-display was given.
8133 if test "${enable_display+set}" = set; then
8134 enableval
="$enable_display"
8136 if test "$enableval" = yes; then
8137 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8139 ac_cv_use_display
='wxUSE_DISPLAY=no'
8144 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8145 if test "x$LINE" != x
; then
8146 eval "DEFAULT_$LINE"
8151 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8155 eval "$ac_cv_use_display"
8156 if test "$no_cache" != 1; then
8157 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8160 if test "$wxUSE_DISPLAY" = yes; then
8161 echo "$as_me:$LINENO: result: yes" >&5
8162 echo "${ECHO_T}yes" >&6
8164 echo "$as_me:$LINENO: result: no" >&5
8165 echo "${ECHO_T}no" >&6
8170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8173 # Check whether --enable-gauge or --disable-gauge was given.
8174 if test "${enable_gauge+set}" = set; then
8175 enableval
="$enable_gauge"
8177 if test "$enableval" = yes; then
8178 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8180 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8185 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8186 if test "x$LINE" != x
; then
8187 eval "DEFAULT_$LINE"
8192 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8196 eval "$ac_cv_use_gauge"
8197 if test "$no_cache" != 1; then
8198 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8201 if test "$wxUSE_GAUGE" = yes; then
8202 echo "$as_me:$LINENO: result: yes" >&5
8203 echo "${ECHO_T}yes" >&6
8205 echo "$as_me:$LINENO: result: no" >&5
8206 echo "${ECHO_T}no" >&6
8211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8212 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8214 # Check whether --enable-grid or --disable-grid was given.
8215 if test "${enable_grid+set}" = set; then
8216 enableval
="$enable_grid"
8218 if test "$enableval" = yes; then
8219 ac_cv_use_grid
='wxUSE_GRID=yes'
8221 ac_cv_use_grid
='wxUSE_GRID=no'
8226 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8227 if test "x$LINE" != x
; then
8228 eval "DEFAULT_$LINE"
8233 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8237 eval "$ac_cv_use_grid"
8238 if test "$no_cache" != 1; then
8239 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8242 if test "$wxUSE_GRID" = yes; then
8243 echo "$as_me:$LINENO: result: yes" >&5
8244 echo "${ECHO_T}yes" >&6
8246 echo "$as_me:$LINENO: result: no" >&5
8247 echo "${ECHO_T}no" >&6
8252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8253 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8255 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8256 if test "${enable_dataviewctrl+set}" = set; then
8257 enableval
="$enable_dataviewctrl"
8259 if test "$enableval" = yes; then
8260 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8262 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8267 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8268 if test "x$LINE" != x
; then
8269 eval "DEFAULT_$LINE"
8274 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8278 eval "$ac_cv_use_dataviewctrl"
8279 if test "$no_cache" != 1; then
8280 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8283 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8284 echo "$as_me:$LINENO: result: yes" >&5
8285 echo "${ECHO_T}yes" >&6
8287 echo "$as_me:$LINENO: result: no" >&5
8288 echo "${ECHO_T}no" >&6
8293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8294 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8296 # Check whether --enable-imaglist or --disable-imaglist was given.
8297 if test "${enable_imaglist+set}" = set; then
8298 enableval
="$enable_imaglist"
8300 if test "$enableval" = yes; then
8301 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8303 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8308 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x
; then
8310 eval "DEFAULT_$LINE"
8315 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8319 eval "$ac_cv_use_imaglist"
8320 if test "$no_cache" != 1; then
8321 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8324 if test "$wxUSE_IMAGLIST" = yes; then
8325 echo "$as_me:$LINENO: result: yes" >&5
8326 echo "${ECHO_T}yes" >&6
8328 echo "$as_me:$LINENO: result: no" >&5
8329 echo "${ECHO_T}no" >&6
8334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8335 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8337 # Check whether --enable-listbook or --disable-listbook was given.
8338 if test "${enable_listbook+set}" = set; then
8339 enableval
="$enable_listbook"
8341 if test "$enableval" = yes; then
8342 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8344 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8349 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8350 if test "x$LINE" != x
; then
8351 eval "DEFAULT_$LINE"
8356 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8360 eval "$ac_cv_use_listbook"
8361 if test "$no_cache" != 1; then
8362 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8365 if test "$wxUSE_LISTBOOK" = yes; then
8366 echo "$as_me:$LINENO: result: yes" >&5
8367 echo "${ECHO_T}yes" >&6
8369 echo "$as_me:$LINENO: result: no" >&5
8370 echo "${ECHO_T}no" >&6
8375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8376 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8378 # Check whether --enable-listbox or --disable-listbox was given.
8379 if test "${enable_listbox+set}" = set; then
8380 enableval
="$enable_listbox"
8382 if test "$enableval" = yes; then
8383 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8385 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8390 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8391 if test "x$LINE" != x
; then
8392 eval "DEFAULT_$LINE"
8397 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8401 eval "$ac_cv_use_listbox"
8402 if test "$no_cache" != 1; then
8403 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8406 if test "$wxUSE_LISTBOX" = yes; then
8407 echo "$as_me:$LINENO: result: yes" >&5
8408 echo "${ECHO_T}yes" >&6
8410 echo "$as_me:$LINENO: result: no" >&5
8411 echo "${ECHO_T}no" >&6
8416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8417 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8419 # Check whether --enable-listctrl or --disable-listctrl was given.
8420 if test "${enable_listctrl+set}" = set; then
8421 enableval
="$enable_listctrl"
8423 if test "$enableval" = yes; then
8424 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8426 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8431 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8432 if test "x$LINE" != x
; then
8433 eval "DEFAULT_$LINE"
8438 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8442 eval "$ac_cv_use_listctrl"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8447 if test "$wxUSE_LISTCTRL" = yes; then
8448 echo "$as_me:$LINENO: result: yes" >&5
8449 echo "${ECHO_T}yes" >&6
8451 echo "$as_me:$LINENO: result: no" >&5
8452 echo "${ECHO_T}no" >&6
8457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8458 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8460 # Check whether --enable-notebook or --disable-notebook was given.
8461 if test "${enable_notebook+set}" = set; then
8462 enableval
="$enable_notebook"
8464 if test "$enableval" = yes; then
8465 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8467 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8472 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8473 if test "x$LINE" != x
; then
8474 eval "DEFAULT_$LINE"
8479 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8483 eval "$ac_cv_use_notebook"
8484 if test "$no_cache" != 1; then
8485 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8488 if test "$wxUSE_NOTEBOOK" = yes; then
8489 echo "$as_me:$LINENO: result: yes" >&5
8490 echo "${ECHO_T}yes" >&6
8492 echo "$as_me:$LINENO: result: no" >&5
8493 echo "${ECHO_T}no" >&6
8498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombo" >&5
8499 echo $ECHO_N "checking for --${enablestring:-enable}-odcombo... $ECHO_C" >&6
8501 # Check whether --enable-odcombo or --disable-odcombo was given.
8502 if test "${enable_odcombo+set}" = set; then
8503 enableval
="$enable_odcombo"
8505 if test "$enableval" = yes; then
8506 ac_cv_use_odcombo
='wxUSE_OWNERDRAWNCOMBOBOX=yes'
8508 ac_cv_use_odcombo
='wxUSE_OWNERDRAWNCOMBOBOX=no'
8513 LINE
=`grep "wxUSE_OWNERDRAWNCOMBOBOX" ${wx_arg_cache_file}`
8514 if test "x$LINE" != x
; then
8515 eval "DEFAULT_$LINE"
8520 ac_cv_use_odcombo
='wxUSE_OWNERDRAWNCOMBOBOX='$DEFAULT_wxUSE_OWNERDRAWNCOMBOBOX
8524 eval "$ac_cv_use_odcombo"
8525 if test "$no_cache" != 1; then
8526 echo $ac_cv_use_odcombo >> ${wx_arg_cache_file}.tmp
8529 if test "$wxUSE_OWNERDRAWNCOMBOBOX" = yes; then
8530 echo "$as_me:$LINENO: result: yes" >&5
8531 echo "${ECHO_T}yes" >&6
8533 echo "$as_me:$LINENO: result: no" >&5
8534 echo "${ECHO_T}no" >&6
8539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8542 # Check whether --enable-radiobox or --disable-radiobox was given.
8543 if test "${enable_radiobox+set}" = set; then
8544 enableval
="$enable_radiobox"
8546 if test "$enableval" = yes; then
8547 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8549 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8554 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8555 if test "x$LINE" != x
; then
8556 eval "DEFAULT_$LINE"
8561 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8565 eval "$ac_cv_use_radiobox"
8566 if test "$no_cache" != 1; then
8567 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8570 if test "$wxUSE_RADIOBOX" = yes; then
8571 echo "$as_me:$LINENO: result: yes" >&5
8572 echo "${ECHO_T}yes" >&6
8574 echo "$as_me:$LINENO: result: no" >&5
8575 echo "${ECHO_T}no" >&6
8580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8581 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8583 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8584 if test "${enable_radiobtn+set}" = set; then
8585 enableval
="$enable_radiobtn"
8587 if test "$enableval" = yes; then
8588 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8590 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8595 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8596 if test "x$LINE" != x
; then
8597 eval "DEFAULT_$LINE"
8602 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8606 eval "$ac_cv_use_radiobtn"
8607 if test "$no_cache" != 1; then
8608 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8611 if test "$wxUSE_RADIOBTN" = yes; then
8612 echo "$as_me:$LINENO: result: yes" >&5
8613 echo "${ECHO_T}yes" >&6
8615 echo "$as_me:$LINENO: result: no" >&5
8616 echo "${ECHO_T}no" >&6
8621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8622 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8624 # Check whether --enable-sash or --disable-sash was given.
8625 if test "${enable_sash+set}" = set; then
8626 enableval
="$enable_sash"
8628 if test "$enableval" = yes; then
8629 ac_cv_use_sash
='wxUSE_SASH=yes'
8631 ac_cv_use_sash
='wxUSE_SASH=no'
8636 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8637 if test "x$LINE" != x
; then
8638 eval "DEFAULT_$LINE"
8643 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8647 eval "$ac_cv_use_sash"
8648 if test "$no_cache" != 1; then
8649 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8652 if test "$wxUSE_SASH" = yes; then
8653 echo "$as_me:$LINENO: result: yes" >&5
8654 echo "${ECHO_T}yes" >&6
8656 echo "$as_me:$LINENO: result: no" >&5
8657 echo "${ECHO_T}no" >&6
8662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8665 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8666 if test "${enable_scrollbar+set}" = set; then
8667 enableval
="$enable_scrollbar"
8669 if test "$enableval" = yes; then
8670 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8672 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8677 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x
; then
8679 eval "DEFAULT_$LINE"
8684 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8688 eval "$ac_cv_use_scrollbar"
8689 if test "$no_cache" != 1; then
8690 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8693 if test "$wxUSE_SCROLLBAR" = yes; then
8694 echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6
8697 echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6
8703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8706 # Check whether --enable-slider or --disable-slider was given.
8707 if test "${enable_slider+set}" = set; then
8708 enableval
="$enable_slider"
8710 if test "$enableval" = yes; then
8711 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8713 ac_cv_use_slider
='wxUSE_SLIDER=no'
8718 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8719 if test "x$LINE" != x
; then
8720 eval "DEFAULT_$LINE"
8725 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8729 eval "$ac_cv_use_slider"
8730 if test "$no_cache" != 1; then
8731 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8734 if test "$wxUSE_SLIDER" = yes; then
8735 echo "$as_me:$LINENO: result: yes" >&5
8736 echo "${ECHO_T}yes" >&6
8738 echo "$as_me:$LINENO: result: no" >&5
8739 echo "${ECHO_T}no" >&6
8744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8745 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8747 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8748 if test "${enable_spinbtn+set}" = set; then
8749 enableval
="$enable_spinbtn"
8751 if test "$enableval" = yes; then
8752 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8754 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8759 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8760 if test "x$LINE" != x
; then
8761 eval "DEFAULT_$LINE"
8766 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8770 eval "$ac_cv_use_spinbtn"
8771 if test "$no_cache" != 1; then
8772 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8775 if test "$wxUSE_SPINBTN" = yes; then
8776 echo "$as_me:$LINENO: result: yes" >&5
8777 echo "${ECHO_T}yes" >&6
8779 echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8788 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8789 if test "${enable_spinctrl+set}" = set; then
8790 enableval
="$enable_spinctrl"
8792 if test "$enableval" = yes; then
8793 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8795 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8800 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x
; then
8802 eval "DEFAULT_$LINE"
8807 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8811 eval "$ac_cv_use_spinctrl"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8816 if test "$wxUSE_SPINCTRL" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8829 # Check whether --enable-splitter or --disable-splitter was given.
8830 if test "${enable_splitter+set}" = set; then
8831 enableval
="$enable_splitter"
8833 if test "$enableval" = yes; then
8834 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8836 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8841 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x
; then
8843 eval "DEFAULT_$LINE"
8848 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8852 eval "$ac_cv_use_splitter"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8857 if test "$wxUSE_SPLITTER" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8870 # Check whether --enable-statbmp or --disable-statbmp was given.
8871 if test "${enable_statbmp+set}" = set; then
8872 enableval
="$enable_statbmp"
8874 if test "$enableval" = yes; then
8875 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8877 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8882 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x
; then
8884 eval "DEFAULT_$LINE"
8889 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8893 eval "$ac_cv_use_statbmp"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8898 if test "$wxUSE_STATBMP" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8911 # Check whether --enable-statbox or --disable-statbox was given.
8912 if test "${enable_statbox+set}" = set; then
8913 enableval
="$enable_statbox"
8915 if test "$enableval" = yes; then
8916 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8918 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8923 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x
; then
8925 eval "DEFAULT_$LINE"
8930 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8934 eval "$ac_cv_use_statbox"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8939 if test "$wxUSE_STATBOX" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8952 # Check whether --enable-statline or --disable-statline was given.
8953 if test "${enable_statline+set}" = set; then
8954 enableval
="$enable_statline"
8956 if test "$enableval" = yes; then
8957 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8959 ac_cv_use_statline
='wxUSE_STATLINE=no'
8964 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x
; then
8966 eval "DEFAULT_$LINE"
8971 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8975 eval "$ac_cv_use_statline"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8980 if test "$wxUSE_STATLINE" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8993 # Check whether --enable-stattext or --disable-stattext was given.
8994 if test "${enable_stattext+set}" = set; then
8995 enableval
="$enable_stattext"
8997 if test "$enableval" = yes; then
8998 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9000 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9005 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x
; then
9007 eval "DEFAULT_$LINE"
9012 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9016 eval "$ac_cv_use_stattext"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9021 if test "$wxUSE_STATTEXT" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9034 # Check whether --enable-statusbar or --disable-statusbar was given.
9035 if test "${enable_statusbar+set}" = set; then
9036 enableval
="$enable_statusbar"
9038 if test "$enableval" = yes; then
9039 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9041 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9046 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x
; then
9048 eval "DEFAULT_$LINE"
9053 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9057 eval "$ac_cv_use_statusbar"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9062 if test "$wxUSE_STATUSBAR" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9075 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9076 if test "${enable_tabdialog+set}" = set; then
9077 enableval
="$enable_tabdialog"
9079 if test "$enableval" = yes; then
9080 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9082 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9087 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x
; then
9089 eval "DEFAULT_$LINE"
9094 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9098 eval "$ac_cv_use_tabdialog"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9103 if test "$wxUSE_TAB_DIALOG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9116 # Check whether --enable-textctrl or --disable-textctrl was given.
9117 if test "${enable_textctrl+set}" = set; then
9118 enableval
="$enable_textctrl"
9120 if test "$enableval" = yes; then
9121 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9123 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9128 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x
; then
9130 eval "DEFAULT_$LINE"
9135 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9139 eval "$ac_cv_use_textctrl"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9144 if test "$wxUSE_TEXTCTRL" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9157 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9158 if test "${enable_togglebtn+set}" = set; then
9159 enableval
="$enable_togglebtn"
9161 if test "$enableval" = yes; then
9162 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9164 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9169 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x
; then
9171 eval "DEFAULT_$LINE"
9176 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9180 eval "$ac_cv_use_togglebtn"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9185 if test "$wxUSE_TOGGLEBTN" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9198 # Check whether --enable-toolbar or --disable-toolbar was given.
9199 if test "${enable_toolbar+set}" = set; then
9200 enableval
="$enable_toolbar"
9202 if test "$enableval" = yes; then
9203 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9205 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9210 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x
; then
9212 eval "DEFAULT_$LINE"
9217 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9221 eval "$ac_cv_use_toolbar"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9226 if test "$wxUSE_TOOLBAR" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9237 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9239 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9240 if test "${enable_tbarnative+set}" = set; then
9241 enableval
="$enable_tbarnative"
9243 if test "$enableval" = yes; then
9244 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9246 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9251 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9252 if test "x$LINE" != x
; then
9253 eval "DEFAULT_$LINE"
9258 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9262 eval "$ac_cv_use_tbarnative"
9263 if test "$no_cache" != 1; then
9264 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9267 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9268 echo "$as_me:$LINENO: result: yes" >&5
9269 echo "${ECHO_T}yes" >&6
9271 echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6
9277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9280 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9281 if test "${enable_tbarsmpl+set}" = set; then
9282 enableval
="$enable_tbarsmpl"
9284 if test "$enableval" = yes; then
9285 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9287 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9292 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9293 if test "x$LINE" != x
; then
9294 eval "DEFAULT_$LINE"
9299 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9303 eval "$ac_cv_use_tbarsmpl"
9304 if test "$no_cache" != 1; then
9305 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9308 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9309 echo "$as_me:$LINENO: result: yes" >&5
9310 echo "${ECHO_T}yes" >&6
9312 echo "$as_me:$LINENO: result: no" >&5
9313 echo "${ECHO_T}no" >&6
9318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9321 # Check whether --enable-treebook or --disable-treebook was given.
9322 if test "${enable_treebook+set}" = set; then
9323 enableval
="$enable_treebook"
9325 if test "$enableval" = yes; then
9326 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9328 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9333 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9334 if test "x$LINE" != x
; then
9335 eval "DEFAULT_$LINE"
9340 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9344 eval "$ac_cv_use_treebook"
9345 if test "$no_cache" != 1; then
9346 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9349 if test "$wxUSE_TREEBOOK" = yes; then
9350 echo "$as_me:$LINENO: result: yes" >&5
9351 echo "${ECHO_T}yes" >&6
9353 echo "$as_me:$LINENO: result: no" >&5
9354 echo "${ECHO_T}no" >&6
9359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9360 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9362 # Check whether --enable-toolbook or --disable-toolbook was given.
9363 if test "${enable_toolbook+set}" = set; then
9364 enableval
="$enable_toolbook"
9366 if test "$enableval" = yes; then
9367 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9369 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9374 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9375 if test "x$LINE" != x
; then
9376 eval "DEFAULT_$LINE"
9381 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9385 eval "$ac_cv_use_toolbook"
9386 if test "$no_cache" != 1; then
9387 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9390 if test "$wxUSE_TOOLBOOK" = yes; then
9391 echo "$as_me:$LINENO: result: yes" >&5
9392 echo "${ECHO_T}yes" >&6
9394 echo "$as_me:$LINENO: result: no" >&5
9395 echo "${ECHO_T}no" >&6
9400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9401 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9403 # Check whether --enable-treectrl or --disable-treectrl was given.
9404 if test "${enable_treectrl+set}" = set; then
9405 enableval
="$enable_treectrl"
9407 if test "$enableval" = yes; then
9408 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9410 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9415 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9416 if test "x$LINE" != x
; then
9417 eval "DEFAULT_$LINE"
9422 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9426 eval "$ac_cv_use_treectrl"
9427 if test "$no_cache" != 1; then
9428 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9431 if test "$wxUSE_TREECTRL" = yes; then
9432 echo "$as_me:$LINENO: result: yes" >&5
9433 echo "${ECHO_T}yes" >&6
9435 echo "$as_me:$LINENO: result: no" >&5
9436 echo "${ECHO_T}no" >&6
9441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9442 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9444 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9445 if test "${enable_tipwindow+set}" = set; then
9446 enableval
="$enable_tipwindow"
9448 if test "$enableval" = yes; then
9449 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9451 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9456 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9457 if test "x$LINE" != x
; then
9458 eval "DEFAULT_$LINE"
9463 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9467 eval "$ac_cv_use_tipwindow"
9468 if test "$no_cache" != 1; then
9469 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9472 if test "$wxUSE_TIPWINDOW" = yes; then
9473 echo "$as_me:$LINENO: result: yes" >&5
9474 echo "${ECHO_T}yes" >&6
9476 echo "$as_me:$LINENO: result: no" >&5
9477 echo "${ECHO_T}no" >&6
9482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9483 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9485 # Check whether --enable-popupwin or --disable-popupwin was given.
9486 if test "${enable_popupwin+set}" = set; then
9487 enableval
="$enable_popupwin"
9489 if test "$enableval" = yes; then
9490 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9492 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9497 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9498 if test "x$LINE" != x
; then
9499 eval "DEFAULT_$LINE"
9504 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9508 eval "$ac_cv_use_popupwin"
9509 if test "$no_cache" != 1; then
9510 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9513 if test "$wxUSE_POPUPWIN" = yes; then
9514 echo "$as_me:$LINENO: result: yes" >&5
9515 echo "${ECHO_T}yes" >&6
9517 echo "$as_me:$LINENO: result: no" >&5
9518 echo "${ECHO_T}no" >&6
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9528 # Check whether --enable-commondlg or --disable-commondlg was given.
9529 if test "${enable_commondlg+set}" = set; then
9530 enableval
="$enable_commondlg"
9532 if test "$enableval" = yes; then
9533 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9535 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9540 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x
; then
9542 eval "DEFAULT_$LINE"
9547 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9551 eval "$ac_cv_use_commondlg"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9556 if test "$wxUSE_COMMONDLGS" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9569 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9570 if test "${enable_choicedlg+set}" = set; then
9571 enableval
="$enable_choicedlg"
9573 if test "$enableval" = yes; then
9574 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9576 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9581 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x
; then
9583 eval "DEFAULT_$LINE"
9588 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9592 eval "$ac_cv_use_choicedlg"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9597 if test "$wxUSE_CHOICEDLG" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9610 # Check whether --enable-coldlg or --disable-coldlg was given.
9611 if test "${enable_coldlg+set}" = set; then
9612 enableval
="$enable_coldlg"
9614 if test "$enableval" = yes; then
9615 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9617 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9622 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x
; then
9624 eval "DEFAULT_$LINE"
9629 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9633 eval "$ac_cv_use_coldlg"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9638 if test "$wxUSE_COLOURDLG" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9651 # Check whether --enable-filedlg or --disable-filedlg was given.
9652 if test "${enable_filedlg+set}" = set; then
9653 enableval
="$enable_filedlg"
9655 if test "$enableval" = yes; then
9656 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9658 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9663 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9664 if test "x$LINE" != x
; then
9665 eval "DEFAULT_$LINE"
9670 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9674 eval "$ac_cv_use_filedlg"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9679 if test "$wxUSE_FILEDLG" = yes; then
9680 echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6
9683 echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6
9689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9692 # Check whether --enable-finddlg or --disable-finddlg was given.
9693 if test "${enable_finddlg+set}" = set; then
9694 enableval
="$enable_finddlg"
9696 if test "$enableval" = yes; then
9697 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9699 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9704 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9705 if test "x$LINE" != x
; then
9706 eval "DEFAULT_$LINE"
9711 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9715 eval "$ac_cv_use_finddlg"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9720 if test "$wxUSE_FINDREPLDLG" = yes; then
9721 echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6
9724 echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6
9730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9733 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9734 if test "${enable_fontdlg+set}" = set; then
9735 enableval
="$enable_fontdlg"
9737 if test "$enableval" = yes; then
9738 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9740 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9745 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9746 if test "x$LINE" != x
; then
9747 eval "DEFAULT_$LINE"
9752 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9756 eval "$ac_cv_use_fontdlg"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9761 if test "$wxUSE_FONTDLG" = yes; then
9762 echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6
9765 echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6
9771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9772 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9774 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9775 if test "${enable_dirdlg+set}" = set; then
9776 enableval
="$enable_dirdlg"
9778 if test "$enableval" = yes; then
9779 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9781 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9786 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9787 if test "x$LINE" != x
; then
9788 eval "DEFAULT_$LINE"
9793 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9797 eval "$ac_cv_use_dirdlg"
9798 if test "$no_cache" != 1; then
9799 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9802 if test "$wxUSE_DIRDLG" = yes; then
9803 echo "$as_me:$LINENO: result: yes" >&5
9804 echo "${ECHO_T}yes" >&6
9806 echo "$as_me:$LINENO: result: no" >&5
9807 echo "${ECHO_T}no" >&6
9812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9813 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9815 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9816 if test "${enable_msgdlg+set}" = set; then
9817 enableval
="$enable_msgdlg"
9819 if test "$enableval" = yes; then
9820 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9822 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9827 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9828 if test "x$LINE" != x
; then
9829 eval "DEFAULT_$LINE"
9834 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9838 eval "$ac_cv_use_msgdlg"
9839 if test "$no_cache" != 1; then
9840 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9843 if test "$wxUSE_MSGDLG" = yes; then
9844 echo "$as_me:$LINENO: result: yes" >&5
9845 echo "${ECHO_T}yes" >&6
9847 echo "$as_me:$LINENO: result: no" >&5
9848 echo "${ECHO_T}no" >&6
9853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9856 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9857 if test "${enable_numberdlg+set}" = set; then
9858 enableval
="$enable_numberdlg"
9860 if test "$enableval" = yes; then
9861 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9863 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9868 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9869 if test "x$LINE" != x
; then
9870 eval "DEFAULT_$LINE"
9875 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9879 eval "$ac_cv_use_numberdlg"
9880 if test "$no_cache" != 1; then
9881 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9884 if test "$wxUSE_NUMBERDLG" = yes; then
9885 echo "$as_me:$LINENO: result: yes" >&5
9886 echo "${ECHO_T}yes" >&6
9888 echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6
9894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9897 # Check whether --enable-splash or --disable-splash was given.
9898 if test "${enable_splash+set}" = set; then
9899 enableval
="$enable_splash"
9901 if test "$enableval" = yes; then
9902 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9904 ac_cv_use_splash
='wxUSE_SPLASH=no'
9909 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9910 if test "x$LINE" != x
; then
9911 eval "DEFAULT_$LINE"
9916 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9920 eval "$ac_cv_use_splash"
9921 if test "$no_cache" != 1; then
9922 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9925 if test "$wxUSE_SPLASH" = yes; then
9926 echo "$as_me:$LINENO: result: yes" >&5
9927 echo "${ECHO_T}yes" >&6
9929 echo "$as_me:$LINENO: result: no" >&5
9930 echo "${ECHO_T}no" >&6
9935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9938 # Check whether --enable-textdlg or --disable-textdlg was given.
9939 if test "${enable_textdlg+set}" = set; then
9940 enableval
="$enable_textdlg"
9942 if test "$enableval" = yes; then
9943 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9945 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9950 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9951 if test "x$LINE" != x
; then
9952 eval "DEFAULT_$LINE"
9957 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9961 eval "$ac_cv_use_textdlg"
9962 if test "$no_cache" != 1; then
9963 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9966 if test "$wxUSE_TEXTDLG" = yes; then
9967 echo "$as_me:$LINENO: result: yes" >&5
9968 echo "${ECHO_T}yes" >&6
9970 echo "$as_me:$LINENO: result: no" >&5
9971 echo "${ECHO_T}no" >&6
9976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9979 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9980 if test "${enable_tipdlg+set}" = set; then
9981 enableval
="$enable_tipdlg"
9983 if test "$enableval" = yes; then
9984 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9986 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9991 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9992 if test "x$LINE" != x
; then
9993 eval "DEFAULT_$LINE"
9998 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10002 eval "$ac_cv_use_tipdlg"
10003 if test "$no_cache" != 1; then
10004 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10007 if test "$wxUSE_STARTUP_TIPS" = yes; then
10008 echo "$as_me:$LINENO: result: yes" >&5
10009 echo "${ECHO_T}yes" >&6
10011 echo "$as_me:$LINENO: result: no" >&5
10012 echo "${ECHO_T}no" >&6
10017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10020 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10021 if test "${enable_progressdlg+set}" = set; then
10022 enableval
="$enable_progressdlg"
10024 if test "$enableval" = yes; then
10025 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10027 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10032 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10033 if test "x$LINE" != x
; then
10034 eval "DEFAULT_$LINE"
10039 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10043 eval "$ac_cv_use_progressdlg"
10044 if test "$no_cache" != 1; then
10045 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10048 if test "$wxUSE_PROGRESSDLG" = yes; then
10049 echo "$as_me:$LINENO: result: yes" >&5
10050 echo "${ECHO_T}yes" >&6
10052 echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6
10058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10061 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10062 if test "${enable_wizarddlg+set}" = set; then
10063 enableval
="$enable_wizarddlg"
10065 if test "$enableval" = yes; then
10066 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10068 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10073 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10074 if test "x$LINE" != x
; then
10075 eval "DEFAULT_$LINE"
10080 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10084 eval "$ac_cv_use_wizarddlg"
10085 if test "$no_cache" != 1; then
10086 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10089 if test "$wxUSE_WIZARDDLG" = yes; then
10090 echo "$as_me:$LINENO: result: yes" >&5
10091 echo "${ECHO_T}yes" >&6
10093 echo "$as_me:$LINENO: result: no" >&5
10094 echo "${ECHO_T}no" >&6
10101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10102 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10104 # Check whether --enable-menus or --disable-menus was given.
10105 if test "${enable_menus+set}" = set; then
10106 enableval
="$enable_menus"
10108 if test "$enableval" = yes; then
10109 ac_cv_use_menus
='wxUSE_MENUS=yes'
10111 ac_cv_use_menus
='wxUSE_MENUS=no'
10116 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10117 if test "x$LINE" != x
; then
10118 eval "DEFAULT_$LINE"
10123 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10127 eval "$ac_cv_use_menus"
10128 if test "$no_cache" != 1; then
10129 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10132 if test "$wxUSE_MENUS" = yes; then
10133 echo "$as_me:$LINENO: result: yes" >&5
10134 echo "${ECHO_T}yes" >&6
10136 echo "$as_me:$LINENO: result: no" >&5
10137 echo "${ECHO_T}no" >&6
10142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10143 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10145 # Check whether --enable-miniframe or --disable-miniframe was given.
10146 if test "${enable_miniframe+set}" = set; then
10147 enableval
="$enable_miniframe"
10149 if test "$enableval" = yes; then
10150 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10152 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10157 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10158 if test "x$LINE" != x
; then
10159 eval "DEFAULT_$LINE"
10164 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10168 eval "$ac_cv_use_miniframe"
10169 if test "$no_cache" != 1; then
10170 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10173 if test "$wxUSE_MINIFRAME" = yes; then
10174 echo "$as_me:$LINENO: result: yes" >&5
10175 echo "${ECHO_T}yes" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10186 # Check whether --enable-tooltips or --disable-tooltips was given.
10187 if test "${enable_tooltips+set}" = set; then
10188 enableval
="$enable_tooltips"
10190 if test "$enableval" = yes; then
10191 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10193 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10198 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10199 if test "x$LINE" != x
; then
10200 eval "DEFAULT_$LINE"
10205 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10209 eval "$ac_cv_use_tooltips"
10210 if test "$no_cache" != 1; then
10211 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10214 if test "$wxUSE_TOOLTIPS" = yes; then
10215 echo "$as_me:$LINENO: result: yes" >&5
10216 echo "${ECHO_T}yes" >&6
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10227 # Check whether --enable-splines or --disable-splines was given.
10228 if test "${enable_splines+set}" = set; then
10229 enableval
="$enable_splines"
10231 if test "$enableval" = yes; then
10232 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10234 ac_cv_use_splines
='wxUSE_SPLINES=no'
10239 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10240 if test "x$LINE" != x
; then
10241 eval "DEFAULT_$LINE"
10246 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10250 eval "$ac_cv_use_splines"
10251 if test "$no_cache" != 1; then
10252 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10255 if test "$wxUSE_SPLINES" = yes; then
10256 echo "$as_me:$LINENO: result: yes" >&5
10257 echo "${ECHO_T}yes" >&6
10259 echo "$as_me:$LINENO: result: no" >&5
10260 echo "${ECHO_T}no" >&6
10265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10268 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10269 if test "${enable_mousewheel+set}" = set; then
10270 enableval
="$enable_mousewheel"
10272 if test "$enableval" = yes; then
10273 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10275 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10280 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10281 if test "x$LINE" != x
; then
10282 eval "DEFAULT_$LINE"
10287 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10291 eval "$ac_cv_use_mousewheel"
10292 if test "$no_cache" != 1; then
10293 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10296 if test "$wxUSE_MOUSEWHEEL" = yes; then
10297 echo "$as_me:$LINENO: result: yes" >&5
10298 echo "${ECHO_T}yes" >&6
10300 echo "$as_me:$LINENO: result: no" >&5
10301 echo "${ECHO_T}no" >&6
10306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10307 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10309 # Check whether --enable-validators or --disable-validators was given.
10310 if test "${enable_validators+set}" = set; then
10311 enableval
="$enable_validators"
10313 if test "$enableval" = yes; then
10314 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10316 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10321 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10322 if test "x$LINE" != x
; then
10323 eval "DEFAULT_$LINE"
10328 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10332 eval "$ac_cv_use_validators"
10333 if test "$no_cache" != 1; then
10334 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10337 if test "$wxUSE_VALIDATORS" = yes; then
10338 echo "$as_me:$LINENO: result: yes" >&5
10339 echo "${ECHO_T}yes" >&6
10341 echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6
10347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10348 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10350 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10351 if test "${enable_busyinfo+set}" = set; then
10352 enableval
="$enable_busyinfo"
10354 if test "$enableval" = yes; then
10355 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10357 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10362 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10363 if test "x$LINE" != x
; then
10364 eval "DEFAULT_$LINE"
10369 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10373 eval "$ac_cv_use_busyinfo"
10374 if test "$no_cache" != 1; then
10375 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10378 if test "$wxUSE_BUSYINFO" = yes; then
10379 echo "$as_me:$LINENO: result: yes" >&5
10380 echo "${ECHO_T}yes" >&6
10382 echo "$as_me:$LINENO: result: no" >&5
10383 echo "${ECHO_T}no" >&6
10388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10389 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10391 # Check whether --enable-joystick or --disable-joystick was given.
10392 if test "${enable_joystick+set}" = set; then
10393 enableval
="$enable_joystick"
10395 if test "$enableval" = yes; then
10396 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10398 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10403 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x
; then
10405 eval "DEFAULT_$LINE"
10410 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10414 eval "$ac_cv_use_joystick"
10415 if test "$no_cache" != 1; then
10416 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10419 if test "$wxUSE_JOYSTICK" = yes; then
10420 echo "$as_me:$LINENO: result: yes" >&5
10421 echo "${ECHO_T}yes" >&6
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10432 # Check whether --enable-metafile or --disable-metafile was given.
10433 if test "${enable_metafile+set}" = set; then
10434 enableval
="$enable_metafile"
10436 if test "$enableval" = yes; then
10437 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10439 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10444 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10445 if test "x$LINE" != x
; then
10446 eval "DEFAULT_$LINE"
10451 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10455 eval "$ac_cv_use_metafile"
10456 if test "$no_cache" != 1; then
10457 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10460 if test "$wxUSE_METAFILE" = yes; then
10461 echo "$as_me:$LINENO: result: yes" >&5
10462 echo "${ECHO_T}yes" >&6
10464 echo "$as_me:$LINENO: result: no" >&5
10465 echo "${ECHO_T}no" >&6
10470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10471 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10473 # Check whether --enable-dragimage or --disable-dragimage was given.
10474 if test "${enable_dragimage+set}" = set; then
10475 enableval
="$enable_dragimage"
10477 if test "$enableval" = yes; then
10478 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10480 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10485 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10486 if test "x$LINE" != x
; then
10487 eval "DEFAULT_$LINE"
10492 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10496 eval "$ac_cv_use_dragimage"
10497 if test "$no_cache" != 1; then
10498 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10501 if test "$wxUSE_DRAGIMAGE" = yes; then
10502 echo "$as_me:$LINENO: result: yes" >&5
10503 echo "${ECHO_T}yes" >&6
10505 echo "$as_me:$LINENO: result: no" >&5
10506 echo "${ECHO_T}no" >&6
10511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10512 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10514 # Check whether --enable-accessibility or --disable-accessibility was given.
10515 if test "${enable_accessibility+set}" = set; then
10516 enableval
="$enable_accessibility"
10518 if test "$enableval" = yes; then
10519 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10521 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10526 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10527 if test "x$LINE" != x
; then
10528 eval "DEFAULT_$LINE"
10533 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10537 eval "$ac_cv_use_accessibility"
10538 if test "$no_cache" != 1; then
10539 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10542 if test "$wxUSE_ACCESSIBILITY" = yes; then
10543 echo "$as_me:$LINENO: result: yes" >&5
10544 echo "${ECHO_T}yes" >&6
10546 echo "$as_me:$LINENO: result: no" >&5
10547 echo "${ECHO_T}no" >&6
10551 if test "$wxUSE_MSW" = "1"; then
10554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10557 # Check whether --enable-dccache or --disable-dccache was given.
10558 if test "${enable_dccache+set}" = set; then
10559 enableval
="$enable_dccache"
10561 if test "$enableval" = yes; then
10562 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10564 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10569 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10570 if test "x$LINE" != x
; then
10571 eval "DEFAULT_$LINE"
10576 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10580 eval "$ac_cv_use_dccache"
10581 if test "$no_cache" != 1; then
10582 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10585 if test "$wxUSE_DC_CACHEING" = yes; then
10586 echo "$as_me:$LINENO: result: yes" >&5
10587 echo "${ECHO_T}yes" >&6
10589 echo "$as_me:$LINENO: result: no" >&5
10590 echo "${ECHO_T}no" >&6
10598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10601 # Check whether --enable-palette or --disable-palette was given.
10602 if test "${enable_palette+set}" = set; then
10603 enableval
="$enable_palette"
10605 if test "$enableval" = yes; then
10606 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10608 ac_cv_use_palette
='wxUSE_PALETTE=no'
10613 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10614 if test "x$LINE" != x
; then
10615 eval "DEFAULT_$LINE"
10620 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10624 eval "$ac_cv_use_palette"
10625 if test "$no_cache" != 1; then
10626 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10629 if test "$wxUSE_PALETTE" = yes; then
10630 echo "$as_me:$LINENO: result: yes" >&5
10631 echo "${ECHO_T}yes" >&6
10633 echo "$as_me:$LINENO: result: no" >&5
10634 echo "${ECHO_T}no" >&6
10639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10642 # Check whether --enable-image or --disable-image was given.
10643 if test "${enable_image+set}" = set; then
10644 enableval
="$enable_image"
10646 if test "$enableval" = yes; then
10647 ac_cv_use_image
='wxUSE_IMAGE=yes'
10649 ac_cv_use_image
='wxUSE_IMAGE=no'
10654 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10655 if test "x$LINE" != x
; then
10656 eval "DEFAULT_$LINE"
10661 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10665 eval "$ac_cv_use_image"
10666 if test "$no_cache" != 1; then
10667 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10670 if test "$wxUSE_IMAGE" = yes; then
10671 echo "$as_me:$LINENO: result: yes" >&5
10672 echo "${ECHO_T}yes" >&6
10674 echo "$as_me:$LINENO: result: no" >&5
10675 echo "${ECHO_T}no" >&6
10680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10683 # Check whether --enable-gif or --disable-gif was given.
10684 if test "${enable_gif+set}" = set; then
10685 enableval
="$enable_gif"
10687 if test "$enableval" = yes; then
10688 ac_cv_use_gif
='wxUSE_GIF=yes'
10690 ac_cv_use_gif
='wxUSE_GIF=no'
10695 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10696 if test "x$LINE" != x
; then
10697 eval "DEFAULT_$LINE"
10702 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10706 eval "$ac_cv_use_gif"
10707 if test "$no_cache" != 1; then
10708 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10711 if test "$wxUSE_GIF" = yes; then
10712 echo "$as_me:$LINENO: result: yes" >&5
10713 echo "${ECHO_T}yes" >&6
10715 echo "$as_me:$LINENO: result: no" >&5
10716 echo "${ECHO_T}no" >&6
10721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10724 # Check whether --enable-pcx or --disable-pcx was given.
10725 if test "${enable_pcx+set}" = set; then
10726 enableval
="$enable_pcx"
10728 if test "$enableval" = yes; then
10729 ac_cv_use_pcx
='wxUSE_PCX=yes'
10731 ac_cv_use_pcx
='wxUSE_PCX=no'
10736 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10737 if test "x$LINE" != x
; then
10738 eval "DEFAULT_$LINE"
10743 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10747 eval "$ac_cv_use_pcx"
10748 if test "$no_cache" != 1; then
10749 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10752 if test "$wxUSE_PCX" = yes; then
10753 echo "$as_me:$LINENO: result: yes" >&5
10754 echo "${ECHO_T}yes" >&6
10756 echo "$as_me:$LINENO: result: no" >&5
10757 echo "${ECHO_T}no" >&6
10762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10765 # Check whether --enable-iff or --disable-iff was given.
10766 if test "${enable_iff+set}" = set; then
10767 enableval
="$enable_iff"
10769 if test "$enableval" = yes; then
10770 ac_cv_use_iff
='wxUSE_IFF=yes'
10772 ac_cv_use_iff
='wxUSE_IFF=no'
10777 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10778 if test "x$LINE" != x
; then
10779 eval "DEFAULT_$LINE"
10784 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10788 eval "$ac_cv_use_iff"
10789 if test "$no_cache" != 1; then
10790 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10793 if test "$wxUSE_IFF" = yes; then
10794 echo "$as_me:$LINENO: result: yes" >&5
10795 echo "${ECHO_T}yes" >&6
10797 echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6
10803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10804 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10806 # Check whether --enable-pnm or --disable-pnm was given.
10807 if test "${enable_pnm+set}" = set; then
10808 enableval
="$enable_pnm"
10810 if test "$enableval" = yes; then
10811 ac_cv_use_pnm
='wxUSE_PNM=yes'
10813 ac_cv_use_pnm
='wxUSE_PNM=no'
10818 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10819 if test "x$LINE" != x
; then
10820 eval "DEFAULT_$LINE"
10825 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10829 eval "$ac_cv_use_pnm"
10830 if test "$no_cache" != 1; then
10831 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10834 if test "$wxUSE_PNM" = yes; then
10835 echo "$as_me:$LINENO: result: yes" >&5
10836 echo "${ECHO_T}yes" >&6
10838 echo "$as_me:$LINENO: result: no" >&5
10839 echo "${ECHO_T}no" >&6
10844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10847 # Check whether --enable-xpm or --disable-xpm was given.
10848 if test "${enable_xpm+set}" = set; then
10849 enableval
="$enable_xpm"
10851 if test "$enableval" = yes; then
10852 ac_cv_use_xpm
='wxUSE_XPM=yes'
10854 ac_cv_use_xpm
='wxUSE_XPM=no'
10859 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10860 if test "x$LINE" != x
; then
10861 eval "DEFAULT_$LINE"
10866 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10870 eval "$ac_cv_use_xpm"
10871 if test "$no_cache" != 1; then
10872 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10875 if test "$wxUSE_XPM" = yes; then
10876 echo "$as_me:$LINENO: result: yes" >&5
10877 echo "${ECHO_T}yes" >&6
10879 echo "$as_me:$LINENO: result: no" >&5
10880 echo "${ECHO_T}no" >&6
10885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10888 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10889 if test "${enable_ico_cur+set}" = set; then
10890 enableval
="$enable_ico_cur"
10892 if test "$enableval" = yes; then
10893 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10895 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10900 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10901 if test "x$LINE" != x
; then
10902 eval "DEFAULT_$LINE"
10907 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10911 eval "$ac_cv_use_ico_cur"
10912 if test "$no_cache" != 1; then
10913 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10916 if test "$wxUSE_ICO_CUR" = yes; then
10917 echo "$as_me:$LINENO: result: yes" >&5
10918 echo "${ECHO_T}yes" >&6
10920 echo "$as_me:$LINENO: result: no" >&5
10921 echo "${ECHO_T}no" >&6
10929 # Check whether --with-flavour or --without-flavour was given.
10930 if test "${with_flavour+set}" = set; then
10931 withval
="$with_flavour"
10932 WX_FLAVOUR
="$withval"
10938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10941 # Check whether --enable-official_build or --disable-official_build was given.
10942 if test "${enable_official_build+set}" = set; then
10943 enableval
="$enable_official_build"
10945 if test "$enableval" = yes; then
10946 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10948 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10953 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10954 if test "x$LINE" != x
; then
10955 eval "DEFAULT_$LINE"
10960 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10964 eval "$ac_cv_use_official_build"
10965 if test "$no_cache" != 1; then
10966 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10969 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10970 echo "$as_me:$LINENO: result: yes" >&5
10971 echo "${ECHO_T}yes" >&6
10973 echo "$as_me:$LINENO: result: no" >&5
10974 echo "${ECHO_T}no" >&6
10977 # Check whether --enable-vendor or --disable-vendor was given.
10978 if test "${enable_vendor+set}" = set; then
10979 enableval
="$enable_vendor"
10980 VENDOR
="$enableval"
10982 if test "x$VENDOR" = "x"; then
10989 echo "saving argument cache $wx_arg_cache_file"
10990 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10994 echo "$as_me:$LINENO: checking for toolkit" >&5
10995 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10997 # In Wine, we need to default to MSW, not GTK or MOTIF
10998 if test "$wxUSE_WINE" = "yes"; then
10999 DEFAULT_DEFAULT_wxUSE_GTK
=0
11000 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11001 DEFAULT_DEFAULT_wxUSE_MSW
=1
11006 if test "$wxUSE_GUI" = "yes"; then
11008 if test "$USE_BEOS" = 1; then
11009 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11010 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11011 { (exit 1); exit 1; }; }
11014 if test "$TOOLKIT_GIVEN" = 1; then
11015 for toolkit
in `echo $ALL_TOOLKITS`; do
11017 eval "value=\$${var}"
11018 if test "x$value" = "xno"; then
11020 elif test "x$value" != "x"; then
11024 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11025 eval "wx${toolkit}_VERSION=$value"
11029 for toolkit
in `echo $ALL_TOOLKITS`; do
11030 if test "$has_toolkit_in_cache" != 1; then
11031 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11033 var
=DEFAULT_wxUSE_
$toolkit
11035 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11036 if test "x$version" != "x"; then
11037 eval "wx${toolkit}_VERSION=$version"
11040 eval "wxUSE_$toolkit=\$${var}"
11044 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11045 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11046 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11049 *-pc-os2_emx | *-pc-os2-emx )
11050 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11053 case "$NUM_TOOLKITS" in
11057 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11058 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11059 { (exit 1); exit 1; }; }
11062 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11063 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11064 { (exit 1); exit 1; }; }
11067 # to be removed when --disable-gtk2 isn't needed
11068 if test "x$wxUSE_GTK2" = "xyes"; then
11070 elif test "x$wxUSE_GTK2" = "xno"; then
11074 for toolkit
in `echo $ALL_TOOLKITS`; do
11076 eval "value=\$${var}"
11077 if test "x$value" != x
; then
11078 cache_var
=CACHE_
$toolkit
11079 eval "cache=\$${cache_var}"
11080 if test "$cache" = 1; then
11081 echo "$var=$value" >> ${wx_arg_cache_file}
11082 eval "version=\$wx${toolkit}_VERSION"
11083 if test "x$version" != "x"; then
11084 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11087 if test "$value" = 1; then
11088 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11089 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11090 echo "${ECHO_T}$toolkit_echo" >&6
11095 if test "x$host_alias" != "x"; then
11096 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11097 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11099 echo "$as_me:$LINENO: result: base only" >&5
11100 echo "${ECHO_T}base only" >&6
11105 doesnt_want_win32
=0
11108 if test "$wxUSE_MSW" = 1 ; then
11110 BAKEFILE_FORCE_PLATFORM
=win32
11112 doesnt_want_win32
=1
11120 if test "$wxUSE_WINE" = "yes"; then
11124 LDFLAGS_GUI
="-mwindows"
11127 if test "$wants_win32" = 1 ; then
11130 cat >>confdefs.h
<<\_ACEOF
11131 #define __WIN32__ 1
11134 cat >>confdefs.h
<<\_ACEOF
11135 #define __WIN95__ 1
11138 cat >>confdefs.h
<<\_ACEOF
11139 #define __WINDOWS__ 1
11142 cat >>confdefs.h
<<\_ACEOF
11143 #define __GNUWIN32__ 1
11146 cat >>confdefs.h
<<\_ACEOF
11150 cat >>confdefs.h
<<\_ACEOF
11151 #define WINVER 0x0400
11155 if test "$doesnt_want_win32" = 1 ; then
11160 if test "$USE_UNIX" = 1 ; then
11162 cat >>confdefs.h
<<\_ACEOF
11169 cat >confcache
<<\_ACEOF
11170 # This file is a shell script that caches the results of configure
11171 # tests run on this system so they can be shared between configure
11172 # scripts and configure runs, see configure's option --config-cache.
11173 # It is not useful on other systems. If it contains results you don't
11174 # want to keep, you may remove or edit it.
11176 # config.status only pays attention to the cache file if you give it
11177 # the --recheck option to rerun configure.
11179 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11180 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11181 # following values.
11185 # The following way of writing the cache mishandles newlines in values,
11186 # but we know of no workaround that is simple, portable, and efficient.
11187 # So, don't put newlines in cache variables' values.
11188 # Ultrix sh set writes to stderr and can't be redirected directly,
11189 # and sets the high bit in the cache file unless we assign to the vars.
11192 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11194 # `set' does not quote correctly, so add quotes (double-quote
11195 # substitution turns \\\\ into \\, and sed turns \\ into \).
11198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11201 # `set' quotes correctly as required by POSIX, so do not add quotes.
11203 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11210 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11212 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11214 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11215 if test -w $cache_file; then
11216 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11217 cat confcache
>$cache_file
11219 echo "not updating unwritable cache $cache_file"
11229 ac_cpp
='$CPP $CPPFLAGS'
11230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11233 if test -n "$ac_tool_prefix"; then
11234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11235 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11236 echo "$as_me:$LINENO: checking for $ac_word" >&5
11237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11238 if test "${ac_cv_prog_CC+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 if test -n "$CC"; then
11242 ac_cv_prog_CC
="$CC" # Let the user override the test.
11244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11245 for as_dir
in $PATH
11248 test -z "$as_dir" && as_dir
=.
11249 for ac_exec_ext
in '' $ac_executable_extensions; do
11250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11251 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11261 if test -n "$CC"; then
11262 echo "$as_me:$LINENO: result: $CC" >&5
11263 echo "${ECHO_T}$CC" >&6
11265 echo "$as_me:$LINENO: result: no" >&5
11266 echo "${ECHO_T}no" >&6
11270 if test -z "$ac_cv_prog_CC"; then
11272 # Extract the first word of "gcc", so it can be a program name with args.
11273 set dummy gcc
; ac_word
=$2
11274 echo "$as_me:$LINENO: checking for $ac_word" >&5
11275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11276 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 if test -n "$ac_ct_CC"; then
11280 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11283 for as_dir
in $PATH
11286 test -z "$as_dir" && as_dir
=.
11287 for ac_exec_ext
in '' $ac_executable_extensions; do
11288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11289 ac_cv_prog_ac_ct_CC
="gcc"
11290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11298 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11299 if test -n "$ac_ct_CC"; then
11300 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11301 echo "${ECHO_T}$ac_ct_CC" >&6
11303 echo "$as_me:$LINENO: result: no" >&5
11304 echo "${ECHO_T}no" >&6
11309 CC
="$ac_cv_prog_CC"
11312 if test -z "$CC"; then
11313 if test -n "$ac_tool_prefix"; then
11314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11315 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11316 echo "$as_me:$LINENO: checking for $ac_word" >&5
11317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11318 if test "${ac_cv_prog_CC+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 if test -n "$CC"; then
11322 ac_cv_prog_CC
="$CC" # Let the user override the test.
11324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11325 for as_dir
in $PATH
11328 test -z "$as_dir" && as_dir
=.
11329 for ac_exec_ext
in '' $ac_executable_extensions; do
11330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11331 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11341 if test -n "$CC"; then
11342 echo "$as_me:$LINENO: result: $CC" >&5
11343 echo "${ECHO_T}$CC" >&6
11345 echo "$as_me:$LINENO: result: no" >&5
11346 echo "${ECHO_T}no" >&6
11350 if test -z "$ac_cv_prog_CC"; then
11352 # Extract the first word of "cc", so it can be a program name with args.
11353 set dummy cc
; ac_word
=$2
11354 echo "$as_me:$LINENO: checking for $ac_word" >&5
11355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11356 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11357 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 if test -n "$ac_ct_CC"; then
11360 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11363 for as_dir
in $PATH
11366 test -z "$as_dir" && as_dir
=.
11367 for ac_exec_ext
in '' $ac_executable_extensions; do
11368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11369 ac_cv_prog_ac_ct_CC
="cc"
11370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11378 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11379 if test -n "$ac_ct_CC"; then
11380 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11381 echo "${ECHO_T}$ac_ct_CC" >&6
11383 echo "$as_me:$LINENO: result: no" >&5
11384 echo "${ECHO_T}no" >&6
11389 CC
="$ac_cv_prog_CC"
11393 if test -z "$CC"; then
11394 # Extract the first word of "cc", so it can be a program name with args.
11395 set dummy cc
; ac_word
=$2
11396 echo "$as_me:$LINENO: checking for $ac_word" >&5
11397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11398 if test "${ac_cv_prog_CC+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 if test -n "$CC"; then
11402 ac_cv_prog_CC
="$CC" # Let the user override the test.
11404 ac_prog_rejected
=no
11405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11406 for as_dir
in $PATH
11409 test -z "$as_dir" && as_dir
=.
11410 for ac_exec_ext
in '' $ac_executable_extensions; do
11411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11412 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11413 ac_prog_rejected
=yes
11417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11423 if test $ac_prog_rejected = yes; then
11424 # We found a bogon in the path, so make sure we never use it.
11425 set dummy
$ac_cv_prog_CC
11427 if test $# != 0; then
11428 # We chose a different compiler from the bogus one.
11429 # However, it has the same basename, so the bogon will be chosen
11430 # first if we set CC to just the basename; use the full file name.
11432 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11438 if test -n "$CC"; then
11439 echo "$as_me:$LINENO: result: $CC" >&5
11440 echo "${ECHO_T}$CC" >&6
11442 echo "$as_me:$LINENO: result: no" >&5
11443 echo "${ECHO_T}no" >&6
11447 if test -z "$CC"; then
11448 if test -n "$ac_tool_prefix"; then
11451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11452 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11453 echo "$as_me:$LINENO: checking for $ac_word" >&5
11454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11455 if test "${ac_cv_prog_CC+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11458 if test -n "$CC"; then
11459 ac_cv_prog_CC
="$CC" # Let the user override the test.
11461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11462 for as_dir
in $PATH
11465 test -z "$as_dir" && as_dir
=.
11466 for ac_exec_ext
in '' $ac_executable_extensions; do
11467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11468 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11478 if test -n "$CC"; then
11479 echo "$as_me:$LINENO: result: $CC" >&5
11480 echo "${ECHO_T}$CC" >&6
11482 echo "$as_me:$LINENO: result: no" >&5
11483 echo "${ECHO_T}no" >&6
11486 test -n "$CC" && break
11489 if test -z "$CC"; then
11493 # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy
$ac_prog; ac_word
=$2
11495 echo "$as_me:$LINENO: checking for $ac_word" >&5
11496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11497 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11500 if test -n "$ac_ct_CC"; then
11501 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11504 for as_dir
in $PATH
11507 test -z "$as_dir" && as_dir
=.
11508 for ac_exec_ext
in '' $ac_executable_extensions; do
11509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11510 ac_cv_prog_ac_ct_CC
="$ac_prog"
11511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11519 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11520 if test -n "$ac_ct_CC"; then
11521 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11522 echo "${ECHO_T}$ac_ct_CC" >&6
11524 echo "$as_me:$LINENO: result: no" >&5
11525 echo "${ECHO_T}no" >&6
11528 test -n "$ac_ct_CC" && break
11537 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11538 See \`config.log' for more details." >&5
11539 echo "$as_me: error: no acceptable C compiler found in \$PATH
11540 See \`config.log' for more details." >&2;}
11541 { (exit 1); exit 1; }; }
11543 # Provide some information about the compiler.
11544 echo "$as_me:$LINENO:" \
11545 "checking for C compiler version" >&5
11546 ac_compiler
=`set X $ac_compile; echo $2`
11547 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11548 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }
11552 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11553 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); }
11557 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11558 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); }
11563 cat >conftest.
$ac_ext <<_ACEOF
11566 cat confdefs.h
>>conftest.
$ac_ext
11567 cat >>conftest.
$ac_ext <<_ACEOF
11568 /* end confdefs.h. */
11578 ac_clean_files_save
=$ac_clean_files
11579 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11580 # Try to create an executable without -o first, disregard a.out.
11581 # It will help us diagnose broken compilers, and finding out an intuition
11583 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11584 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11585 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11586 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11587 (eval $ac_link_default) 2>&5
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); }; then
11591 # Find the output, starting from the most likely. This scheme is
11592 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11595 # Be careful to initialize this variable, since it used to be cached.
11596 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11598 # b.out is created by i960 compilers.
11599 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11601 test -f "$ac_file" || continue
11603 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11606 # This is the source file.
11609 # We found the default executable, but exeext='' is most
11613 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11614 # FIXME: I believe we export ac_cv_exeext for Libtool,
11615 # but it would be cool to find out if it's true. Does anybody
11616 # maintain Libtool? --akim.
11617 export ac_cv_exeext
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.
$ac_ext >&5
11627 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11628 See \`config.log' for more details." >&5
11629 echo "$as_me: error: C compiler cannot create executables
11630 See \`config.log' for more details." >&2;}
11631 { (exit 77); exit 77; }; }
11634 ac_exeext
=$ac_cv_exeext
11635 echo "$as_me:$LINENO: result: $ac_file" >&5
11636 echo "${ECHO_T}$ac_file" >&6
11638 # Check the compiler produces executables we can run. If not, either
11639 # the compiler is broken, or we cross compile.
11640 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11641 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11642 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11643 # If not cross compiling, check that we can run a simple program.
11644 if test "$cross_compiling" != yes; then
11645 if { ac_try
='./$ac_file'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 (eval $ac_try) 2>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; }; then
11653 if test "$cross_compiling" = maybe
; then
11654 cross_compiling
=yes
11656 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11657 If you meant to cross compile, use \`--host'.
11658 See \`config.log' for more details." >&5
11659 echo "$as_me: error: cannot run C compiled programs.
11660 If you meant to cross compile, use \`--host'.
11661 See \`config.log' for more details." >&2;}
11662 { (exit 1); exit 1; }; }
11666 echo "$as_me:$LINENO: result: yes" >&5
11667 echo "${ECHO_T}yes" >&6
11669 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11670 ac_clean_files
=$ac_clean_files_save
11671 # Check the compiler produces executables we can run. If not, either
11672 # the compiler is broken, or we cross compile.
11673 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11674 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11675 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11676 echo "${ECHO_T}$cross_compiling" >&6
11678 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11679 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11681 (eval $ac_link) 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; then
11685 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11686 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11687 # work properly (i.e., refer to `conftest.exe'), while it won't with
11689 for ac_file
in conftest.exe conftest conftest.
*; do
11690 test -f "$ac_file" || continue
11692 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11693 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11694 export ac_cv_exeext
11700 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11701 See \`config.log' for more details." >&5
11702 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11703 See \`config.log' for more details." >&2;}
11704 { (exit 1); exit 1; }; }
11707 rm -f conftest
$ac_cv_exeext
11708 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11709 echo "${ECHO_T}$ac_cv_exeext" >&6
11711 rm -f conftest.
$ac_ext
11712 EXEEXT
=$ac_cv_exeext
11714 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11715 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11716 if test "${ac_cv_objext+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 cat >conftest.
$ac_ext <<_ACEOF
11722 cat confdefs.h
>>conftest.
$ac_ext
11723 cat >>conftest.
$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11734 rm -f conftest.o conftest.obj
11735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11736 (eval $ac_compile) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; then
11740 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11742 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11743 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11748 echo "$as_me: failed program was:" >&5
11749 sed 's/^/| /' conftest.
$ac_ext >&5
11751 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11752 See \`config.log' for more details." >&5
11753 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11754 See \`config.log' for more details." >&2;}
11755 { (exit 1); exit 1; }; }
11758 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11760 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11761 echo "${ECHO_T}$ac_cv_objext" >&6
11762 OBJEXT
=$ac_cv_objext
11764 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11765 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11766 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11769 cat >conftest.
$ac_ext <<_ACEOF
11772 cat confdefs.h
>>conftest.
$ac_ext
11773 cat >>conftest.
$ac_ext <<_ACEOF
11774 /* end confdefs.h. */
11787 rm -f conftest.
$ac_objext
11788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11789 (eval $ac_compile) 2>conftest.er1
11791 grep -v '^ *+' conftest.er1
>conftest.err
11793 cat conftest.err
>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try
='test -s conftest.$ac_objext'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; }; then
11808 ac_compiler_gnu
=yes
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.
$ac_ext >&5
11815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11816 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11819 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11820 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11821 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11822 ac_test_CFLAGS
=${CFLAGS+set}
11823 ac_save_CFLAGS
=$CFLAGS
11825 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11826 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11827 if test "${ac_cv_prog_cc_g+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 cat >conftest.
$ac_ext <<_ACEOF
11833 cat confdefs.h
>>conftest.
$ac_ext
11834 cat >>conftest.
$ac_ext <<_ACEOF
11835 /* end confdefs.h. */
11845 rm -f conftest.
$ac_objext
11846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11847 (eval $ac_compile) 2>conftest.er1
11849 grep -v '^ *+' conftest.er1
>conftest.err
11851 cat conftest.err
>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } &&
11854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; } &&
11860 { ac_try
='test -s conftest.$ac_objext'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; }; then
11866 ac_cv_prog_cc_g
=yes
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.
$ac_ext >&5
11873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11875 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11876 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11877 if test "$ac_test_CFLAGS" = set; then
11878 CFLAGS
=$ac_save_CFLAGS
11879 elif test $ac_cv_prog_cc_g = yes; then
11880 if test "$GCC" = yes; then
11886 if test "$GCC" = yes; then
11892 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11893 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11894 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11895 echo $ECHO_N "(cached) $ECHO_C" >&6
11897 ac_cv_prog_cc_stdc
=no
11899 cat >conftest.
$ac_ext <<_ACEOF
11902 cat confdefs.h
>>conftest.
$ac_ext
11903 cat >>conftest.
$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11905 #include <stdarg.h>
11907 #include <sys/types.h>
11908 #include <sys/stat.h>
11909 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11910 struct buf { int x; };
11911 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11912 static char *e (p, i)
11918 static char *f (char * (*g) (char **, int), char **p, ...)
11923 s = g (p, va_arg (v,int));
11928 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11929 function prototypes and stuff, but not '\xHH' hex character constants.
11930 These don't provoke an error unfortunately, instead are silently treated
11931 as 'x'. The following induces an error, until -std1 is added to get
11932 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11933 array size at least. It's necessary to write '\x00'==0 to get something
11934 that's true only with -std1. */
11935 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11937 int test (int i, double x);
11938 struct s1 {int (*f) (int a);};
11939 struct s2 {int (*f) (double a);};
11940 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11946 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11951 # Don't try gcc -ansi; that turns off useful extensions and
11952 # breaks some systems' header files.
11953 # AIX -qlanglvl=ansi
11954 # Ultrix and OSF/1 -std1
11955 # HP-UX 10.20 and later -Ae
11956 # HP-UX older versions -Aa -D_HPUX_SOURCE
11957 # SVR4 -Xc -D__EXTENSIONS__
11958 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11960 CC
="$ac_save_CC $ac_arg"
11961 rm -f conftest.
$ac_objext
11962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11963 (eval $ac_compile) 2>conftest.er1
11965 grep -v '^ *+' conftest.er1
>conftest.err
11967 cat conftest.err
>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; } &&
11976 { ac_try
='test -s conftest.$ac_objext'
11977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11978 (eval $ac_try) 2>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); }; }; then
11982 ac_cv_prog_cc_stdc
=$ac_arg
11985 echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.
$ac_ext >&5
11989 rm -f conftest.err conftest.
$ac_objext
11991 rm -f conftest.
$ac_ext conftest.
$ac_objext
11996 case "x$ac_cv_prog_cc_stdc" in
11998 echo "$as_me:$LINENO: result: none needed" >&5
11999 echo "${ECHO_T}none needed" >&6 ;;
12001 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12002 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12003 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12006 # Some people use a C++ compiler to compile C. Since we use `exit',
12007 # in C++ we need to declare it. In case someone uses the same compiler
12008 # for both compiling C and C++ we need to have the C++ compiler decide
12009 # the declaration of exit, since it's the most demanding environment.
12010 cat >conftest.
$ac_ext <<_ACEOF
12011 #ifndef __cplusplus
12015 rm -f conftest.
$ac_objext
12016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12017 (eval $ac_compile) 2>conftest.er1
12019 grep -v '^ *+' conftest.er1
>conftest.err
12021 cat conftest.err
>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); } &&
12024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; } &&
12030 { ac_try
='test -s conftest.$ac_objext'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; }; then
12036 for ac_declaration
in \
12038 'extern "C" void std::exit (int) throw (); using std::exit;' \
12039 'extern "C" void std::exit (int); using std::exit;' \
12040 'extern "C" void exit (int) throw ();' \
12041 'extern "C" void exit (int);' \
12044 cat >conftest.
$ac_ext <<_ACEOF
12047 cat confdefs.h
>>conftest.
$ac_ext
12048 cat >>conftest.
$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12051 #include <stdlib.h>
12060 rm -f conftest.
$ac_objext
12061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12062 (eval $ac_compile) 2>conftest.er1
12064 grep -v '^ *+' conftest.er1
>conftest.err
12066 cat conftest.err
>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } &&
12069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12071 (eval $ac_try) 2>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; } &&
12075 { ac_try
='test -s conftest.$ac_objext'
12076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12077 (eval $ac_try) 2>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }; }; then
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.
$ac_ext >&5
12088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12089 cat >conftest.
$ac_ext <<_ACEOF
12092 cat confdefs.h
>>conftest.
$ac_ext
12093 cat >>conftest.
$ac_ext <<_ACEOF
12094 /* end confdefs.h. */
12104 rm -f conftest.
$ac_objext
12105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12106 (eval $ac_compile) 2>conftest.er1
12108 grep -v '^ *+' conftest.er1
>conftest.err
12110 cat conftest.err
>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } &&
12113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; } &&
12119 { ac_try
='test -s conftest.$ac_objext'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.
$ac_ext >&5
12131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12134 if test -n "$ac_declaration"; then
12135 echo '#ifdef __cplusplus' >>confdefs.h
12136 echo $ac_declaration >>confdefs.h
12137 echo '#endif' >>confdefs.h
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.
$ac_ext >&5
12145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12147 ac_cpp
='$CPP $CPPFLAGS'
12148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12155 ac_cpp
='$CPP $CPPFLAGS'
12156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12160 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12161 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12162 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 cat >conftest.
$ac_ext <<_ACEOF
12168 cat confdefs.h
>>conftest.
$ac_ext
12169 cat >>conftest.
$ac_ext <<_ACEOF
12170 /* end confdefs.h. */
12176 #ifndef __INTEL_COMPILER
12184 rm -f conftest.
$ac_objext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12186 (eval $ac_compile) 2>conftest.er1
12188 grep -v '^ *+' conftest.er1
>conftest.err
12190 cat conftest.err
>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; } &&
12199 { ac_try
='test -s conftest.$ac_objext'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; }; then
12205 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12207 echo "$as_me: failed program was:" >&5
12208 sed 's/^/| /' conftest.
$ac_ext >&5
12210 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12217 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12218 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12220 ac_cpp
='$CPP $CPPFLAGS'
12221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12225 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12232 if test "x$GCC" != "xyes"; then
12233 if test "xCC" = "xC"; then
12234 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12235 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12236 if test "${bakefile_cv_c_exto+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 cat >conftest.
$ac_ext <<_ACEOF
12242 cat confdefs.h
>>conftest.
$ac_ext
12243 cat >>conftest.
$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12254 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12256 (eval $ac_compile) 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; then
12260 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12262 conftest.
$ac_ext.o
)
12263 bakefile_cv_c_exto
="-ext o"
12270 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12271 See \`config.log' for more details." >&5
12272 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12273 See \`config.log' for more details." >&2;}
12274 { (exit 1); exit 1; }; }
12278 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12281 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12282 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12283 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12284 if test "c" = "c"; then
12285 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12287 if test "c" = "cxx"; then
12288 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12292 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12293 unset ac_cv_prog_cc_g
12294 ac_test_CFLAGS
=${CFLAGS+set}
12295 ac_save_CFLAGS
=$CFLAGS
12297 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12298 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12299 if test "${ac_cv_prog_cc_g+set}" = set; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12302 cat >conftest.
$ac_ext <<_ACEOF
12305 cat confdefs.h
>>conftest.
$ac_ext
12306 cat >>conftest.
$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12317 rm -f conftest.
$ac_objext
12318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12319 (eval $ac_compile) 2>conftest.er1
12321 grep -v '^ *+' conftest.er1
>conftest.err
12323 cat conftest.err
>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; } &&
12332 { ac_try
='test -s conftest.$ac_objext'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; }; then
12338 ac_cv_prog_cc_g
=yes
12340 echo "$as_me: failed program was:" >&5
12341 sed 's/^/| /' conftest.
$ac_ext >&5
12345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12347 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12348 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12349 if test "$ac_test_CFLAGS" = set; then
12350 CFLAGS
=$ac_save_CFLAGS
12351 elif test $ac_cv_prog_cc_g = yes; then
12352 if test "$GCC" = yes; then
12358 if test "$GCC" = yes; then
12370 ac_cpp
='$CPP $CPPFLAGS'
12371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12375 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12376 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12377 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 cat >conftest.
$ac_ext <<_ACEOF
12383 cat confdefs.h
>>conftest.
$ac_ext
12384 cat >>conftest.
$ac_ext <<_ACEOF
12385 /* end confdefs.h. */
12398 rm -f conftest.
$ac_objext
12399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12400 (eval $ac_compile) 2>conftest.er1
12402 grep -v '^ *+' conftest.er1
>conftest.err
12404 cat conftest.err
>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } &&
12407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; } &&
12413 { ac_try
='test -s conftest.$ac_objext'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; }; then
12419 bakefile_compiler_xlc
=yes
12421 echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.
$ac_ext >&5
12424 bakefile_compiler_xlc
=no
12426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12427 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12430 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12431 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12433 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12435 ac_cpp
='$CPP $CPPFLAGS'
12436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12445 ac_cpp
='$CPP $CPPFLAGS'
12446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12450 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12451 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12452 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12458 cat confdefs.h
>>conftest.
$ac_ext
12459 cat >>conftest.
$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12473 rm -f conftest.
$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>conftest.er1
12477 grep -v '^ *+' conftest.er1
>conftest.err
12479 cat conftest.err
>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try
='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 bakefile_compiler_mwerks
=yes
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.
$ac_ext >&5
12499 bakefile_compiler_mwerks
=no
12501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12502 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12505 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12506 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12508 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12510 ac_cpp
='$CPP $CPPFLAGS'
12511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12517 ac_cpp
='$CPP $CPPFLAGS'
12518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12522 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12523 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12524 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12525 echo $ECHO_N "(cached) $ECHO_C" >&6
12527 cat >conftest.
$ac_ext <<_ACEOF
12530 cat confdefs.h
>>conftest.
$ac_ext
12531 cat >>conftest.
$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12545 rm -f conftest.
$ac_objext
12546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12547 (eval $ac_compile) 2>conftest.er1
12549 grep -v '^ *+' conftest.er1
>conftest.err
12551 cat conftest.err
>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); } &&
12554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; } &&
12560 { ac_try
='test -s conftest.$ac_objext'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; }; then
12566 bakefile_compiler_xlc
=yes
12568 echo "$as_me: failed program was:" >&5
12569 sed 's/^/| /' conftest.
$ac_ext >&5
12571 bakefile_compiler_xlc
=no
12573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12574 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12577 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12578 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12580 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12582 ac_cpp
='$CPP $CPPFLAGS'
12583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12594 ac_cpp
='$CPP $CPPFLAGS'
12595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12599 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12600 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12601 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12602 echo $ECHO_N "(cached) $ECHO_C" >&6
12604 cat >conftest.
$ac_ext <<_ACEOF
12607 cat confdefs.h
>>conftest.
$ac_ext
12608 cat >>conftest.
$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12615 #ifndef _SGI_COMPILER_VERSION
12623 rm -f conftest.
$ac_objext
12624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12625 (eval $ac_compile) 2>conftest.er1
12627 grep -v '^ *+' conftest.er1
>conftest.err
12629 cat conftest.err
>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); } &&
12632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634 (eval $ac_try) 2>&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; } &&
12638 { ac_try
='test -s conftest.$ac_objext'
12639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640 (eval $ac_try) 2>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; }; then
12644 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12646 echo "$as_me: failed program was:" >&5
12647 sed 's/^/| /' conftest.
$ac_ext >&5
12649 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12656 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12657 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12659 ac_cpp
='$CPP $CPPFLAGS'
12660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12664 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12677 ac_cpp
='$CPP $CPPFLAGS'
12678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12682 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12683 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12684 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12687 cat >conftest.
$ac_ext <<_ACEOF
12690 cat confdefs.h
>>conftest.
$ac_ext
12691 cat >>conftest.
$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12706 rm -f conftest.
$ac_objext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12708 (eval $ac_compile) 2>conftest.er1
12710 grep -v '^ *+' conftest.er1
>conftest.err
12712 cat conftest.err
>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; } &&
12721 { ac_try
='test -s conftest.$ac_objext'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; }; then
12727 bakefile_cv_c_compiler___HP_cc
=yes
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.
$ac_ext >&5
12732 bakefile_cv_c_compiler___HP_cc
=no
12735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12739 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12740 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12742 ac_cpp
='$CPP $CPPFLAGS'
12743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12747 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12760 ac_cpp
='$CPP $CPPFLAGS'
12761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12765 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12766 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12767 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12770 cat >conftest.
$ac_ext <<_ACEOF
12773 cat confdefs.h
>>conftest.
$ac_ext
12774 cat >>conftest.
$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12789 rm -f conftest.
$ac_objext
12790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12791 (eval $ac_compile) 2>conftest.er1
12793 grep -v '^ *+' conftest.er1
>conftest.err
12795 cat conftest.err
>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } &&
12798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; } &&
12804 { ac_try
='test -s conftest.$ac_objext'
12805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12806 (eval $ac_try) 2>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); }; }; then
12810 bakefile_cv_c_compiler___DECC
=yes
12812 echo "$as_me: failed program was:" >&5
12813 sed 's/^/| /' conftest.
$ac_ext >&5
12815 bakefile_cv_c_compiler___DECC
=no
12818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12822 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12823 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12825 ac_cpp
='$CPP $CPPFLAGS'
12826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12830 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12843 ac_cpp
='$CPP $CPPFLAGS'
12844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12848 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12849 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12850 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 cat >conftest.
$ac_ext <<_ACEOF
12856 cat confdefs.h
>>conftest.
$ac_ext
12857 cat >>conftest.
$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12872 rm -f conftest.
$ac_objext
12873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12874 (eval $ac_compile) 2>conftest.er1
12876 grep -v '^ *+' conftest.er1
>conftest.err
12878 cat conftest.err
>&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); } &&
12881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12883 (eval $ac_try) 2>&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); }; } &&
12887 { ac_try
='test -s conftest.$ac_objext'
12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 (eval $ac_try) 2>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; }; then
12893 bakefile_cv_c_compiler___SUNPRO_C
=yes
12895 echo "$as_me: failed program was:" >&5
12896 sed 's/^/| /' conftest.
$ac_ext >&5
12898 bakefile_cv_c_compiler___SUNPRO_C
=no
12901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12905 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12906 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12908 ac_cpp
='$CPP $CPPFLAGS'
12909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12913 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12927 ac_cpp
='$CPP $CPPFLAGS'
12928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12931 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12932 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12933 # On Suns, sometimes $CPP names a directory.
12934 if test -n "$CPP" && test -d "$CPP"; then
12937 if test -z "$CPP"; then
12938 if test "${ac_cv_prog_CPP+set}" = set; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 # Double quotes because CPP needs to be expanded
12942 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12944 ac_preproc_ok
=false
12945 for ac_c_preproc_warn_flag
in '' yes
12947 # Use a header file that comes with gcc, so configuring glibc
12948 # with a fresh cross-compiler works.
12949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12950 # <limits.h> exists even on freestanding compilers.
12951 # On the NeXT, cc -E runs the code through the compiler's parser,
12952 # not just through cpp. "Syntax error" is here to catch this case.
12953 cat >conftest.
$ac_ext <<_ACEOF
12956 cat confdefs.h
>>conftest.
$ac_ext
12957 cat >>conftest.
$ac_ext <<_ACEOF
12958 /* end confdefs.h. */
12960 # include <limits.h>
12962 # include <assert.h>
12966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12969 grep -v '^ *+' conftest.er1
>conftest.err
12971 cat conftest.err
>&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } >/dev
/null
; then
12974 if test -s conftest.err
; then
12975 ac_cpp_err
=$ac_c_preproc_warn_flag
12976 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12983 if test -z "$ac_cpp_err"; then
12986 echo "$as_me: failed program was:" >&5
12987 sed 's/^/| /' conftest.
$ac_ext >&5
12989 # Broken: fails on valid input.
12992 rm -f conftest.err conftest.
$ac_ext
12994 # OK, works on sane cases. Now check whether non-existent headers
12995 # can be detected and how.
12996 cat >conftest.
$ac_ext <<_ACEOF
12999 cat confdefs.h
>>conftest.
$ac_ext
13000 cat >>conftest.
$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002 #include <ac_nonexistent.h>
13004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13007 grep -v '^ *+' conftest.er1
>conftest.err
13009 cat conftest.err
>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); } >/dev
/null
; then
13012 if test -s conftest.err
; then
13013 ac_cpp_err
=$ac_c_preproc_warn_flag
13014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13021 if test -z "$ac_cpp_err"; then
13022 # Broken: success on invalid input.
13025 echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.
$ac_ext >&5
13028 # Passes both tests.
13032 rm -f conftest.err conftest.
$ac_ext
13035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13036 rm -f conftest.err conftest.
$ac_ext
13037 if $ac_preproc_ok; then
13042 ac_cv_prog_CPP
=$CPP
13045 CPP
=$ac_cv_prog_CPP
13047 ac_cv_prog_CPP
=$CPP
13049 echo "$as_me:$LINENO: result: $CPP" >&5
13050 echo "${ECHO_T}$CPP" >&6
13051 ac_preproc_ok
=false
13052 for ac_c_preproc_warn_flag
in '' yes
13054 # Use a header file that comes with gcc, so configuring glibc
13055 # with a fresh cross-compiler works.
13056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13057 # <limits.h> exists even on freestanding compilers.
13058 # On the NeXT, cc -E runs the code through the compiler's parser,
13059 # not just through cpp. "Syntax error" is here to catch this case.
13060 cat >conftest.
$ac_ext <<_ACEOF
13063 cat confdefs.h
>>conftest.
$ac_ext
13064 cat >>conftest.
$ac_ext <<_ACEOF
13065 /* end confdefs.h. */
13067 # include <limits.h>
13069 # include <assert.h>
13073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13076 grep -v '^ *+' conftest.er1
>conftest.err
13078 cat conftest.err
>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } >/dev
/null
; then
13081 if test -s conftest.err
; then
13082 ac_cpp_err
=$ac_c_preproc_warn_flag
13083 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13090 if test -z "$ac_cpp_err"; then
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.
$ac_ext >&5
13096 # Broken: fails on valid input.
13099 rm -f conftest.err conftest.
$ac_ext
13101 # OK, works on sane cases. Now check whether non-existent headers
13102 # can be detected and how.
13103 cat >conftest.
$ac_ext <<_ACEOF
13106 cat confdefs.h
>>conftest.
$ac_ext
13107 cat >>conftest.
$ac_ext <<_ACEOF
13108 /* end confdefs.h. */
13109 #include <ac_nonexistent.h>
13111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13114 grep -v '^ *+' conftest.er1
>conftest.err
13116 cat conftest.err
>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); } >/dev
/null
; then
13119 if test -s conftest.err
; then
13120 ac_cpp_err
=$ac_c_preproc_warn_flag
13121 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13128 if test -z "$ac_cpp_err"; then
13129 # Broken: success on invalid input.
13132 echo "$as_me: failed program was:" >&5
13133 sed 's/^/| /' conftest.
$ac_ext >&5
13135 # Passes both tests.
13139 rm -f conftest.err conftest.
$ac_ext
13142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13143 rm -f conftest.err conftest.
$ac_ext
13144 if $ac_preproc_ok; then
13147 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13148 See \`config.log' for more details." >&5
13149 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13150 See \`config.log' for more details." >&2;}
13151 { (exit 1); exit 1; }; }
13155 ac_cpp
='$CPP $CPPFLAGS'
13156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13161 echo "$as_me:$LINENO: checking for egrep" >&5
13162 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13163 if test "${ac_cv_prog_egrep+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13167 then ac_cv_prog_egrep
='grep -E'
13168 else ac_cv_prog_egrep
='egrep'
13171 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13172 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13173 EGREP
=$ac_cv_prog_egrep
13176 if test $ac_cv_c_compiler_gnu = yes; then
13177 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13178 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13179 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 ac_pattern
="Autoconf.*'x'"
13183 cat >conftest.
$ac_ext <<_ACEOF
13186 cat confdefs.h
>>conftest.
$ac_ext
13187 cat >>conftest.
$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13193 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13194 ac_cv_prog_gcc_traditional
=yes
13196 ac_cv_prog_gcc_traditional
=no
13201 if test $ac_cv_prog_gcc_traditional = no
; then
13202 cat >conftest.
$ac_ext <<_ACEOF
13205 cat confdefs.h
>>conftest.
$ac_ext
13206 cat >>conftest.
$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13208 #include <termio.h>
13211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13212 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13213 ac_cv_prog_gcc_traditional
=yes
13219 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13220 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13221 if test $ac_cv_prog_gcc_traditional = yes; then
13222 CC
="$CC -traditional"
13228 ac_cpp
='$CXXCPP $CPPFLAGS'
13229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13234 CXXFLAGS
=${CXXFLAGS:=}
13239 ac_cpp
='$CXXCPP $CPPFLAGS'
13240 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13241 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13242 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13243 if test -n "$ac_tool_prefix"; then
13244 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13246 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13247 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13248 echo "$as_me:$LINENO: checking for $ac_word" >&5
13249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13250 if test "${ac_cv_prog_CXX+set}" = set; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13253 if test -n "$CXX"; then
13254 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13257 for as_dir
in $PATH
13260 test -z "$as_dir" && as_dir
=.
13261 for ac_exec_ext
in '' $ac_executable_extensions; do
13262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13263 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13272 CXX
=$ac_cv_prog_CXX
13273 if test -n "$CXX"; then
13274 echo "$as_me:$LINENO: result: $CXX" >&5
13275 echo "${ECHO_T}$CXX" >&6
13277 echo "$as_me:$LINENO: result: no" >&5
13278 echo "${ECHO_T}no" >&6
13281 test -n "$CXX" && break
13284 if test -z "$CXX"; then
13286 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13288 # Extract the first word of "$ac_prog", so it can be a program name with args.
13289 set dummy
$ac_prog; ac_word
=$2
13290 echo "$as_me:$LINENO: checking for $ac_word" >&5
13291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13292 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 if test -n "$ac_ct_CXX"; then
13296 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13299 for as_dir
in $PATH
13302 test -z "$as_dir" && as_dir
=.
13303 for ac_exec_ext
in '' $ac_executable_extensions; do
13304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13305 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13314 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13315 if test -n "$ac_ct_CXX"; then
13316 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13317 echo "${ECHO_T}$ac_ct_CXX" >&6
13319 echo "$as_me:$LINENO: result: no" >&5
13320 echo "${ECHO_T}no" >&6
13323 test -n "$ac_ct_CXX" && break
13325 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13331 # Provide some information about the compiler.
13332 echo "$as_me:$LINENO:" \
13333 "checking for C++ compiler version" >&5
13334 ac_compiler
=`set X $ac_compile; echo $2`
13335 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13336 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }
13340 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13341 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }
13345 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13346 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }
13351 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13352 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13353 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13356 cat >conftest.
$ac_ext <<_ACEOF
13359 cat confdefs.h
>>conftest.
$ac_ext
13360 cat >>conftest.
$ac_ext <<_ACEOF
13361 /* end confdefs.h. */
13374 rm -f conftest.
$ac_objext
13375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13376 (eval $ac_compile) 2>conftest.er1
13378 grep -v '^ *+' conftest.er1
>conftest.err
13380 cat conftest.err
>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); } &&
13383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13385 (eval $ac_try) 2>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); }; } &&
13389 { ac_try
='test -s conftest.$ac_objext'
13390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13391 (eval $ac_try) 2>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); }; }; then
13395 ac_compiler_gnu
=yes
13397 echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.
$ac_ext >&5
13402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13403 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13406 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13407 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13408 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13409 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13410 ac_save_CXXFLAGS
=$CXXFLAGS
13412 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13413 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13414 if test "${ac_cv_prog_cxx_g+set}" = set; then
13415 echo $ECHO_N "(cached) $ECHO_C" >&6
13417 cat >conftest.
$ac_ext <<_ACEOF
13420 cat confdefs.h
>>conftest.
$ac_ext
13421 cat >>conftest.
$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13432 rm -f conftest.
$ac_objext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13434 (eval $ac_compile) 2>conftest.er1
13436 grep -v '^ *+' conftest.er1
>conftest.err
13438 cat conftest.err
>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try
='test -s conftest.$ac_objext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 ac_cv_prog_cxx_g
=yes
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.
$ac_ext >&5
13458 ac_cv_prog_cxx_g
=no
13460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13462 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13463 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13464 if test "$ac_test_CXXFLAGS" = set; then
13465 CXXFLAGS
=$ac_save_CXXFLAGS
13466 elif test $ac_cv_prog_cxx_g = yes; then
13467 if test "$GXX" = yes; then
13473 if test "$GXX" = yes; then
13479 for ac_declaration
in \
13481 'extern "C" void std::exit (int) throw (); using std::exit;' \
13482 'extern "C" void std::exit (int); using std::exit;' \
13483 'extern "C" void exit (int) throw ();' \
13484 'extern "C" void exit (int);' \
13487 cat >conftest.
$ac_ext <<_ACEOF
13490 cat confdefs.h
>>conftest.
$ac_ext
13491 cat >>conftest.
$ac_ext <<_ACEOF
13492 /* end confdefs.h. */
13494 #include <stdlib.h>
13503 rm -f conftest.
$ac_objext
13504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13505 (eval $ac_compile) 2>conftest.er1
13507 grep -v '^ *+' conftest.er1
>conftest.err
13509 cat conftest.err
>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } &&
13512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; } &&
13518 { ac_try
='test -s conftest.$ac_objext'
13519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13520 (eval $ac_try) 2>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); }; }; then
13526 echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.
$ac_ext >&5
13531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13532 cat >conftest.
$ac_ext <<_ACEOF
13535 cat confdefs.h
>>conftest.
$ac_ext
13536 cat >>conftest.
$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13547 rm -f conftest.
$ac_objext
13548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13549 (eval $ac_compile) 2>conftest.er1
13551 grep -v '^ *+' conftest.er1
>conftest.err
13553 cat conftest.err
>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } &&
13556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; } &&
13562 { ac_try
='test -s conftest.$ac_objext'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; }; then
13570 echo "$as_me: failed program was:" >&5
13571 sed 's/^/| /' conftest.
$ac_ext >&5
13574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13577 if test -n "$ac_declaration"; then
13578 echo '#ifdef __cplusplus' >>confdefs.h
13579 echo $ac_declaration >>confdefs.h
13580 echo '#endif' >>confdefs.h
13584 ac_cpp
='$CXXCPP $CPPFLAGS'
13585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13592 ac_cpp
='$CXXCPP $CPPFLAGS'
13593 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13594 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13595 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13597 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13598 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13599 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 cat >conftest.
$ac_ext <<_ACEOF
13605 cat confdefs.h
>>conftest.
$ac_ext
13606 cat >>conftest.
$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13613 #ifndef __INTEL_COMPILER
13621 rm -f conftest.
$ac_objext
13622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13623 (eval $ac_compile) 2>conftest.er1
13625 grep -v '^ *+' conftest.er1
>conftest.err
13627 cat conftest.err
>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } &&
13630 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; } &&
13636 { ac_try
='test -s conftest.$ac_objext'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; }; then
13642 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13644 echo "$as_me: failed program was:" >&5
13645 sed 's/^/| /' conftest.
$ac_ext >&5
13647 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13654 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13655 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13657 ac_cpp
='$CXXCPP $CPPFLAGS'
13658 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13659 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13660 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13662 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13669 if test "x$GCXX" != "xyes"; then
13670 if test "xCXX" = "xC"; then
13671 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13672 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13673 if test "${bakefile_cv_cxx_exto+set}" = set; then
13674 echo $ECHO_N "(cached) $ECHO_C" >&6
13676 cat >conftest.
$ac_ext <<_ACEOF
13679 cat confdefs.h
>>conftest.
$ac_ext
13680 cat >>conftest.
$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13691 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13693 (eval $ac_compile) 2>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); }; then
13697 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13699 conftest.
$ac_ext.o
)
13700 bakefile_cv_cxx_exto
="-ext o"
13707 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13708 See \`config.log' for more details." >&5
13709 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13710 See \`config.log' for more details." >&2;}
13711 { (exit 1); exit 1; }; }
13715 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13718 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13719 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13720 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13721 if test "cxx" = "c"; then
13722 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13724 if test "cxx" = "cxx"; then
13725 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13729 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13730 unset ac_cv_prog_cc_g
13731 ac_test_CFLAGS
=${CFLAGS+set}
13732 ac_save_CFLAGS
=$CFLAGS
13734 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13735 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13736 if test "${ac_cv_prog_cc_g+set}" = set; then
13737 echo $ECHO_N "(cached) $ECHO_C" >&6
13739 cat >conftest.
$ac_ext <<_ACEOF
13742 cat confdefs.h
>>conftest.
$ac_ext
13743 cat >>conftest.
$ac_ext <<_ACEOF
13744 /* end confdefs.h. */
13754 rm -f conftest.
$ac_objext
13755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13756 (eval $ac_compile) 2>conftest.er1
13758 grep -v '^ *+' conftest.er1
>conftest.err
13760 cat conftest.err
>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } &&
13763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; } &&
13769 { ac_try
='test -s conftest.$ac_objext'
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771 (eval $ac_try) 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; }; then
13775 ac_cv_prog_cc_g
=yes
13777 echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.
$ac_ext >&5
13782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13784 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13785 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13786 if test "$ac_test_CFLAGS" = set; then
13787 CFLAGS
=$ac_save_CFLAGS
13788 elif test $ac_cv_prog_cc_g = yes; then
13789 if test "$GCC" = yes; then
13795 if test "$GCC" = yes; then
13807 ac_cpp
='$CXXCPP $CPPFLAGS'
13808 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13809 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13810 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13812 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13813 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13814 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13815 echo $ECHO_N "(cached) $ECHO_C" >&6
13817 cat >conftest.
$ac_ext <<_ACEOF
13820 cat confdefs.h
>>conftest.
$ac_ext
13821 cat >>conftest.
$ac_ext <<_ACEOF
13822 /* end confdefs.h. */
13835 rm -f conftest.
$ac_objext
13836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13837 (eval $ac_compile) 2>conftest.er1
13839 grep -v '^ *+' conftest.er1
>conftest.err
13841 cat conftest.err
>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try
='test -s conftest.$ac_objext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 bakefile_compiler_xlc
=yes
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.
$ac_ext >&5
13861 bakefile_compiler_xlc
=no
13863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13864 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13867 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13868 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13870 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13872 ac_cpp
='$CXXCPP $CPPFLAGS'
13873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13882 ac_cpp
='$CXXCPP $CPPFLAGS'
13883 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13884 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13885 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13887 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13888 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13889 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 cat >conftest.
$ac_ext <<_ACEOF
13895 cat confdefs.h
>>conftest.
$ac_ext
13896 cat >>conftest.
$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13910 rm -f conftest.
$ac_objext
13911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13912 (eval $ac_compile) 2>conftest.er1
13914 grep -v '^ *+' conftest.er1
>conftest.err
13916 cat conftest.err
>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } &&
13919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13921 (eval $ac_try) 2>&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; } &&
13925 { ac_try
='test -s conftest.$ac_objext'
13926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13927 (eval $ac_try) 2>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 bakefile_compiler_mwerks
=yes
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.
$ac_ext >&5
13936 bakefile_compiler_mwerks
=no
13938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13939 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13942 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13943 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13945 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13947 ac_cpp
='$CXXCPP $CPPFLAGS'
13948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13954 ac_cpp
='$CXXCPP $CPPFLAGS'
13955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13959 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13960 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13961 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 cat >conftest.
$ac_ext <<_ACEOF
13967 cat confdefs.h
>>conftest.
$ac_ext
13968 cat >>conftest.
$ac_ext <<_ACEOF
13969 /* end confdefs.h. */
13982 rm -f conftest.
$ac_objext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13984 (eval $ac_compile) 2>conftest.er1
13986 grep -v '^ *+' conftest.er1
>conftest.err
13988 cat conftest.err
>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; } &&
13997 { ac_try
='test -s conftest.$ac_objext'
13998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13999 (eval $ac_try) 2>&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); }; }; then
14003 bakefile_compiler_xlc
=yes
14005 echo "$as_me: failed program was:" >&5
14006 sed 's/^/| /' conftest.
$ac_ext >&5
14008 bakefile_compiler_xlc
=no
14010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14011 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14014 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14015 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14017 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14019 ac_cpp
='$CXXCPP $CPPFLAGS'
14020 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14021 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14022 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14031 ac_cpp
='$CXXCPP $CPPFLAGS'
14032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14036 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14037 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14038 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 cat >conftest.
$ac_ext <<_ACEOF
14044 cat confdefs.h
>>conftest.
$ac_ext
14045 cat >>conftest.
$ac_ext <<_ACEOF
14046 /* end confdefs.h. */
14052 #ifndef _SGI_COMPILER_VERSION
14060 rm -f conftest.
$ac_objext
14061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14062 (eval $ac_compile) 2>conftest.er1
14064 grep -v '^ *+' conftest.er1
>conftest.err
14066 cat conftest.err
>&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; } &&
14075 { ac_try
='test -s conftest.$ac_objext'
14076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077 (eval $ac_try) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }; }; then
14081 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14083 echo "$as_me: failed program was:" >&5
14084 sed 's/^/| /' conftest.
$ac_ext >&5
14086 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14093 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14094 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14096 ac_cpp
='$CXXCPP $CPPFLAGS'
14097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14101 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14114 ac_cpp
='$CXXCPP $CPPFLAGS'
14115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14119 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14120 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14121 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 cat >conftest.
$ac_ext <<_ACEOF
14127 cat confdefs.h
>>conftest.
$ac_ext
14128 cat >>conftest.
$ac_ext <<_ACEOF
14129 /* end confdefs.h. */
14143 rm -f conftest.
$ac_objext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14145 (eval $ac_compile) 2>conftest.er1
14147 grep -v '^ *+' conftest.er1
>conftest.err
14149 cat conftest.err
>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; } &&
14158 { ac_try
='test -s conftest.$ac_objext'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; }; then
14164 bakefile_cv_cxx_compiler___HP_aCC
=yes
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.
$ac_ext >&5
14169 bakefile_cv_cxx_compiler___HP_aCC
=no
14172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14176 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14177 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14179 ac_cpp
='$CXXCPP $CPPFLAGS'
14180 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14181 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14182 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14184 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14197 ac_cpp
='$CXXCPP $CPPFLAGS'
14198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14202 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14203 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14204 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14205 echo $ECHO_N "(cached) $ECHO_C" >&6
14207 cat >conftest.
$ac_ext <<_ACEOF
14210 cat confdefs.h
>>conftest.
$ac_ext
14211 cat >>conftest.
$ac_ext <<_ACEOF
14212 /* end confdefs.h. */
14226 rm -f conftest.
$ac_objext
14227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14228 (eval $ac_compile) 2>conftest.er1
14230 grep -v '^ *+' conftest.er1
>conftest.err
14232 cat conftest.err
>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } &&
14235 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; } &&
14241 { ac_try
='test -s conftest.$ac_objext'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; }; then
14247 bakefile_cv_cxx_compiler___DECCXX
=yes
14249 echo "$as_me: failed program was:" >&5
14250 sed 's/^/| /' conftest.
$ac_ext >&5
14252 bakefile_cv_cxx_compiler___DECCXX
=no
14255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14259 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14260 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14262 ac_cpp
='$CXXCPP $CPPFLAGS'
14263 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14267 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14280 ac_cpp
='$CXXCPP $CPPFLAGS'
14281 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14282 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14283 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14285 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14286 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14287 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 cat >conftest.
$ac_ext <<_ACEOF
14293 cat confdefs.h
>>conftest.
$ac_ext
14294 cat >>conftest.
$ac_ext <<_ACEOF
14295 /* end confdefs.h. */
14301 #ifndef __SUNPRO_CC
14309 rm -f conftest.
$ac_objext
14310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14311 (eval $ac_compile) 2>conftest.er1
14313 grep -v '^ *+' conftest.er1
>conftest.err
14315 cat conftest.err
>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); } &&
14318 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; } &&
14324 { ac_try
='test -s conftest.$ac_objext'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; }; then
14330 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14332 echo "$as_me: failed program was:" >&5
14333 sed 's/^/| /' conftest.
$ac_ext >&5
14335 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14342 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14343 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14345 ac_cpp
='$CXXCPP $CPPFLAGS'
14346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14350 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14363 if test -n "$ac_tool_prefix"; then
14364 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14365 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14366 echo "$as_me:$LINENO: checking for $ac_word" >&5
14367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14368 if test "${ac_cv_prog_RANLIB+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14371 if test -n "$RANLIB"; then
14372 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14375 for as_dir
in $PATH
14378 test -z "$as_dir" && as_dir
=.
14379 for ac_exec_ext
in '' $ac_executable_extensions; do
14380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14381 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14390 RANLIB
=$ac_cv_prog_RANLIB
14391 if test -n "$RANLIB"; then
14392 echo "$as_me:$LINENO: result: $RANLIB" >&5
14393 echo "${ECHO_T}$RANLIB" >&6
14395 echo "$as_me:$LINENO: result: no" >&5
14396 echo "${ECHO_T}no" >&6
14400 if test -z "$ac_cv_prog_RANLIB"; then
14401 ac_ct_RANLIB
=$RANLIB
14402 # Extract the first word of "ranlib", so it can be a program name with args.
14403 set dummy ranlib
; ac_word
=$2
14404 echo "$as_me:$LINENO: checking for $ac_word" >&5
14405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14406 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14407 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 if test -n "$ac_ct_RANLIB"; then
14410 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14413 for as_dir
in $PATH
14416 test -z "$as_dir" && as_dir
=.
14417 for ac_exec_ext
in '' $ac_executable_extensions; do
14418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14419 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14426 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14429 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14430 if test -n "$ac_ct_RANLIB"; then
14431 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14432 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14434 echo "$as_me:$LINENO: result: no" >&5
14435 echo "${ECHO_T}no" >&6
14438 RANLIB
=$ac_ct_RANLIB
14440 RANLIB
="$ac_cv_prog_RANLIB"
14444 if test -n "$ac_tool_prefix"; then
14445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14446 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14447 echo "$as_me:$LINENO: checking for $ac_word" >&5
14448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14449 if test "${ac_cv_prog_AR+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14452 if test -n "$AR"; then
14453 ac_cv_prog_AR
="$AR" # Let the user override the test.
14455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14456 for as_dir
in $PATH
14459 test -z "$as_dir" && as_dir
=.
14460 for ac_exec_ext
in '' $ac_executable_extensions; do
14461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14462 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14472 if test -n "$AR"; then
14473 echo "$as_me:$LINENO: result: $AR" >&5
14474 echo "${ECHO_T}$AR" >&6
14476 echo "$as_me:$LINENO: result: no" >&5
14477 echo "${ECHO_T}no" >&6
14481 if test -z "$ac_cv_prog_AR"; then
14483 # Extract the first word of "ar", so it can be a program name with args.
14484 set dummy
ar; ac_word
=$2
14485 echo "$as_me:$LINENO: checking for $ac_word" >&5
14486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14487 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14488 echo $ECHO_N "(cached) $ECHO_C" >&6
14490 if test -n "$ac_ct_AR"; then
14491 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14494 for as_dir
in $PATH
14497 test -z "$as_dir" && as_dir
=.
14498 for ac_exec_ext
in '' $ac_executable_extensions; do
14499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14500 ac_cv_prog_ac_ct_AR
="ar"
14501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14509 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14510 if test -n "$ac_ct_AR"; then
14511 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14512 echo "${ECHO_T}$ac_ct_AR" >&6
14514 echo "$as_me:$LINENO: result: no" >&5
14515 echo "${ECHO_T}no" >&6
14520 AR
="$ac_cv_prog_AR"
14523 if test "x$AR" = "x" ; then
14524 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14525 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14526 { (exit 1); exit 1; }; }
14529 # Find a good install program. We prefer a C program (faster),
14530 # so one script is as good as another. But avoid the broken or
14531 # incompatible versions:
14532 # SysV /etc/install, /usr/sbin/install
14533 # SunOS /usr/etc/install
14534 # IRIX /sbin/install
14536 # AmigaOS /C/install, which installs bootblocks on floppy discs
14537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14540 # OS/2's system install, which has a completely different semantic
14541 # ./install, which can be erroneously created by make from ./install.sh.
14542 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14543 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14544 if test -z "$INSTALL"; then
14545 if test "${ac_cv_path_install+set}" = set; then
14546 echo $ECHO_N "(cached) $ECHO_C" >&6
14548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14549 for as_dir
in $PATH
14552 test -z "$as_dir" && as_dir
=.
14553 # Account for people who put trailing slashes in PATH elements.
14555 .
/ | .
// | /cC
/* | \
14556 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14557 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14560 # OSF1 and SCO ODT 3.0 have their own names for install.
14561 # Don't use installbsd from OSF since it installs stuff as root
14563 for ac_prog
in ginstall scoinst
install; do
14564 for ac_exec_ext
in '' $ac_executable_extensions; do
14565 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14566 if test $ac_prog = install &&
14567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14568 # AIX install. It has an incompatible calling convention.
14570 elif test $ac_prog = install &&
14571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14572 # program-specific install script used by HP pwplus--don't use.
14575 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14587 if test "${ac_cv_path_install+set}" = set; then
14588 INSTALL
=$ac_cv_path_install
14590 # As a last resort, use the slow shell script. We don't cache a
14591 # path for INSTALL within a source directory, because that will
14592 # break other packages using the cache if that directory is
14593 # removed, or if the path is relative.
14594 INSTALL
=$ac_install_sh
14597 echo "$as_me:$LINENO: result: $INSTALL" >&5
14598 echo "${ECHO_T}$INSTALL" >&6
14600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14601 # It thinks the first close brace ends the variable substitution.
14602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14606 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14612 ?
:* ) # Drive letter, considered as absolute.
14615 INSTALL
=`pwd`/${INSTALL} ;;
14622 INSTALL_PROGRAM
="cp -fp"
14623 INSTALL_DATA
="cp -fp"
14629 if test -n "$ac_tool_prefix"; then
14630 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14631 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14632 echo "$as_me:$LINENO: checking for $ac_word" >&5
14633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14634 if test "${ac_cv_prog_STRIP+set}" = set; then
14635 echo $ECHO_N "(cached) $ECHO_C" >&6
14637 if test -n "$STRIP"; then
14638 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14641 for as_dir
in $PATH
14644 test -z "$as_dir" && as_dir
=.
14645 for ac_exec_ext
in '' $ac_executable_extensions; do
14646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14647 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14656 STRIP
=$ac_cv_prog_STRIP
14657 if test -n "$STRIP"; then
14658 echo "$as_me:$LINENO: result: $STRIP" >&5
14659 echo "${ECHO_T}$STRIP" >&6
14661 echo "$as_me:$LINENO: result: no" >&5
14662 echo "${ECHO_T}no" >&6
14666 if test -z "$ac_cv_prog_STRIP"; then
14668 # Extract the first word of "strip", so it can be a program name with args.
14669 set dummy strip
; ac_word
=$2
14670 echo "$as_me:$LINENO: checking for $ac_word" >&5
14671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14675 if test -n "$ac_ct_STRIP"; then
14676 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14679 for as_dir
in $PATH
14682 test -z "$as_dir" && as_dir
=.
14683 for ac_exec_ext
in '' $ac_executable_extensions; do
14684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14685 ac_cv_prog_ac_ct_STRIP
="strip"
14686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14692 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14695 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14696 if test -n "$ac_ct_STRIP"; then
14697 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14698 echo "${ECHO_T}$ac_ct_STRIP" >&6
14700 echo "$as_me:$LINENO: result: no" >&5
14701 echo "${ECHO_T}no" >&6
14706 STRIP
="$ac_cv_prog_STRIP"
14710 if test "$wxUSE_WINE" = "yes"; then
14711 if test -n "$ac_tool_prefix"; then
14712 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14713 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14714 echo "$as_me:$LINENO: checking for $ac_word" >&5
14715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14716 if test "${ac_cv_prog_WINDRES+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 if test -n "$WINDRES"; then
14720 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14723 for as_dir
in $PATH
14726 test -z "$as_dir" && as_dir
=.
14727 for ac_exec_ext
in '' $ac_executable_extensions; do
14728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14729 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14738 WINDRES
=$ac_cv_prog_WINDRES
14739 if test -n "$WINDRES"; then
14740 echo "$as_me:$LINENO: result: $WINDRES" >&5
14741 echo "${ECHO_T}$WINDRES" >&6
14743 echo "$as_me:$LINENO: result: no" >&5
14744 echo "${ECHO_T}no" >&6
14748 if test -z "$ac_cv_prog_WINDRES"; then
14749 ac_ct_WINDRES
=$WINDRES
14750 # Extract the first word of "wrc", so it can be a program name with args.
14751 set dummy wrc
; ac_word
=$2
14752 echo "$as_me:$LINENO: checking for $ac_word" >&5
14753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14754 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14755 echo $ECHO_N "(cached) $ECHO_C" >&6
14757 if test -n "$ac_ct_WINDRES"; then
14758 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14761 for as_dir
in $PATH
14764 test -z "$as_dir" && as_dir
=.
14765 for ac_exec_ext
in '' $ac_executable_extensions; do
14766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14767 ac_cv_prog_ac_ct_WINDRES
="wrc"
14768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14776 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14777 if test -n "$ac_ct_WINDRES"; then
14778 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14779 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14781 echo "$as_me:$LINENO: result: no" >&5
14782 echo "${ECHO_T}no" >&6
14785 WINDRES
=$ac_ct_WINDRES
14787 WINDRES
="$ac_cv_prog_WINDRES"
14793 *-*-cygwin* | *-*-mingw32* )
14794 if test -n "$ac_tool_prefix"; then
14795 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14796 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14797 echo "$as_me:$LINENO: checking for $ac_word" >&5
14798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14799 if test "${ac_cv_prog_WINDRES+set}" = set; then
14800 echo $ECHO_N "(cached) $ECHO_C" >&6
14802 if test -n "$WINDRES"; then
14803 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14806 for as_dir
in $PATH
14809 test -z "$as_dir" && as_dir
=.
14810 for ac_exec_ext
in '' $ac_executable_extensions; do
14811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14812 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14821 WINDRES
=$ac_cv_prog_WINDRES
14822 if test -n "$WINDRES"; then
14823 echo "$as_me:$LINENO: result: $WINDRES" >&5
14824 echo "${ECHO_T}$WINDRES" >&6
14826 echo "$as_me:$LINENO: result: no" >&5
14827 echo "${ECHO_T}no" >&6
14831 if test -z "$ac_cv_prog_WINDRES"; then
14832 ac_ct_WINDRES
=$WINDRES
14833 # Extract the first word of "windres", so it can be a program name with args.
14834 set dummy windres
; ac_word
=$2
14835 echo "$as_me:$LINENO: checking for $ac_word" >&5
14836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14837 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 if test -n "$ac_ct_WINDRES"; then
14841 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14844 for as_dir
in $PATH
14847 test -z "$as_dir" && as_dir
=.
14848 for ac_exec_ext
in '' $ac_executable_extensions; do
14849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14850 ac_cv_prog_ac_ct_WINDRES
="windres"
14851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14859 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14860 if test -n "$ac_ct_WINDRES"; then
14861 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14862 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14864 echo "$as_me:$LINENO: result: no" >&5
14865 echo "${ECHO_T}no" >&6
14868 WINDRES
=$ac_ct_WINDRES
14870 WINDRES
="$ac_cv_prog_WINDRES"
14874 if test -n "$ac_tool_prefix"; then
14875 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14876 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14877 echo "$as_me:$LINENO: checking for $ac_word" >&5
14878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14879 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14880 echo $ECHO_N "(cached) $ECHO_C" >&6
14882 if test -n "$DLLTOOL"; then
14883 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14886 for as_dir
in $PATH
14889 test -z "$as_dir" && as_dir
=.
14890 for ac_exec_ext
in '' $ac_executable_extensions; do
14891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14892 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14901 DLLTOOL
=$ac_cv_prog_DLLTOOL
14902 if test -n "$DLLTOOL"; then
14903 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14904 echo "${ECHO_T}$DLLTOOL" >&6
14906 echo "$as_me:$LINENO: result: no" >&5
14907 echo "${ECHO_T}no" >&6
14911 if test -z "$ac_cv_prog_DLLTOOL"; then
14912 ac_ct_DLLTOOL
=$DLLTOOL
14913 # Extract the first word of "dlltool", so it can be a program name with args.
14914 set dummy dlltool
; ac_word
=$2
14915 echo "$as_me:$LINENO: checking for $ac_word" >&5
14916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14917 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 if test -n "$ac_ct_DLLTOOL"; then
14921 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14924 for as_dir
in $PATH
14927 test -z "$as_dir" && as_dir
=.
14928 for ac_exec_ext
in '' $ac_executable_extensions; do
14929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14930 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14939 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14940 if test -n "$ac_ct_DLLTOOL"; then
14941 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14942 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14944 echo "$as_me:$LINENO: result: no" >&5
14945 echo "${ECHO_T}no" >&6
14948 DLLTOOL
=$ac_ct_DLLTOOL
14950 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14957 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14958 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14959 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14964 egrep -s GNU
> /dev
/null
); then
14965 wx_cv_prog_makeisgnu
="yes"
14967 wx_cv_prog_makeisgnu
="no"
14971 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14972 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14974 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14982 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14983 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14984 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14985 if test "${wx_cv_prog_makevpath+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14989 cat - << EOF > confMake
14995 if test ! -d sub
; then
14998 echo dummy
> sub
/file
14999 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15001 rm -f sub
/file check final_file confMake
15003 if test "$RESULT" = 0; then
15004 wx_cv_prog_makevpath
="yes"
15006 wx_cv_prog_makevpath
="no"
15010 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15011 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15013 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15014 { { echo "$as_me:$LINENO: error:
15015 You need a make-utility that is able to use the variable
15017 If your version of make does not support VPATH correctly,
15018 please install GNU-make (possibly as gmake), and start
15019 configure with the following command:
15020 export MAKE=gmake; ./configure for sh-type shells
15021 setenv MAKE gmake; ./configure for csh-type shells
15022 Also please do remember to use gmake in this case every time
15023 you are trying to compile.
15025 echo "$as_me: error:
15026 You need a make-utility that is able to use the variable
15028 If your version of make does not support VPATH correctly,
15029 please install GNU-make (possibly as gmake), and start
15030 configure with the following command:
15031 export MAKE=gmake; ./configure for sh-type shells
15032 setenv MAKE gmake; ./configure for csh-type shells
15033 Also please do remember to use gmake in this case every time
15034 you are trying to compile.
15036 { (exit 1); exit 1; }; }
15038 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15039 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15041 if test "$LN_S" = "ln -s"; then
15042 echo "$as_me:$LINENO: result: yes" >&5
15043 echo "${ECHO_T}yes" >&6
15045 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15046 echo "${ECHO_T}no, using $LN_S" >&6
15052 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15053 CXXFLAGS
="-qunique $CXXFLAGS"
15057 powerpc
-*-darwin* )
15058 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15059 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15060 cat >conftest.
$ac_ext <<_ACEOF
15063 cat confdefs.h
>>conftest.
$ac_ext
15064 cat >>conftest.
$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15070 #ifndef __POWERPC__
15071 choke me for lack of PowerPC
15078 rm -f conftest.
$ac_objext
15079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15080 (eval $ac_compile) 2>conftest.er1
15082 grep -v '^ *+' conftest.er1
>conftest.err
15084 cat conftest.err
>&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; } &&
15093 { ac_try
='test -s conftest.$ac_objext'
15094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15095 (eval $ac_try) 2>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; }; then
15099 echo "$as_me:$LINENO: result: yes" >&5
15100 echo "${ECHO_T}yes" >&6
15102 echo "$as_me: failed program was:" >&5
15103 sed 's/^/| /' conftest.
$ac_ext >&5
15105 echo "$as_me:$LINENO: result: no" >&5
15106 echo "${ECHO_T}no" >&6
15107 cat >>confdefs.h
<<\_ACEOF
15108 #define __POWERPC__ 1
15113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15119 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15120 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15121 cat >conftest.
$ac_ext <<_ACEOF
15124 cat confdefs.h
>>conftest.
$ac_ext
15125 cat >>conftest.
$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15127 #include <CoreFoundation/CFBase.h>
15137 rm -f conftest.
$ac_objext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15139 (eval $ac_compile) 2>conftest.er1
15141 grep -v '^ *+' conftest.er1
>conftest.err
15143 cat conftest.err
>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
15146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; } &&
15152 { ac_try
='test -s conftest.$ac_objext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15158 echo "$as_me:$LINENO: result: yes" >&5
15159 echo "${ECHO_T}yes" >&6
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.
$ac_ext >&5
15164 echo "$as_me:$LINENO: result: no" >&5
15165 echo "${ECHO_T}no" >&6
15166 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15167 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15168 cat >conftest.
$ac_ext <<_ACEOF
15171 cat confdefs.h
>>conftest.
$ac_ext
15172 cat >>conftest.
$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15174 #define __CF_USE_FRAMEWORK_INCLUDES__
15175 #include <CoreFoundation/CFBase.h>
15185 rm -f conftest.
$ac_objext
15186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15187 (eval $ac_compile) 2>conftest.er1
15189 grep -v '^ *+' conftest.er1
>conftest.err
15191 cat conftest.err
>&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); } &&
15194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; } &&
15200 { ac_try
='test -s conftest.$ac_objext'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; }; then
15206 echo "$as_me:$LINENO: result: yes" >&5
15207 echo "${ECHO_T}yes" >&6
15208 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15210 echo "$as_me: failed program was:" >&5
15211 sed 's/^/| /' conftest.
$ac_ext >&5
15213 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15214 See \`config.log' for more details." >&5
15215 echo "$as_me: error: no. CoreFoundation not available.
15216 See \`config.log' for more details." >&2;}
15217 { (exit 1); exit 1; }; }
15220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15229 *-pc-os2_emx | *-pc-os2-emx )
15231 ac_cpp
='$CPP $CPPFLAGS'
15232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15236 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15237 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15238 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15239 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15240 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 ac_check_lib_save_LIBS
=$LIBS
15243 LIBS
="-lcExt $LIBS"
15244 cat >conftest.
$ac_ext <<_ACEOF
15247 cat confdefs.h
>>conftest.
$ac_ext
15248 cat >>conftest.
$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15251 /* Override any gcc2 internal prototype to avoid an error. */
15255 /* We use char because int might match the return type of a gcc2
15256 builtin and then its argument prototype would still apply. */
15266 rm -f conftest.
$ac_objext conftest
$ac_exeext
15267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15268 (eval $ac_link) 2>conftest.er1
15270 grep -v '^ *+' conftest.er1
>conftest.err
15272 cat conftest.err
>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } &&
15275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; } &&
15281 { ac_try
='test -s conftest$ac_exeext'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; }; then
15287 ac_cv_lib_cExt_drand48
=yes
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.
$ac_ext >&5
15292 ac_cv_lib_cExt_drand48
=no
15294 rm -f conftest.err conftest.
$ac_objext \
15295 conftest
$ac_exeext conftest.
$ac_ext
15296 LIBS
=$ac_check_lib_save_LIBS
15298 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15299 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15300 if test $ac_cv_lib_cExt_drand48 = yes; then
15301 LIBS
="$LIBS -lcExt"
15305 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15307 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15308 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15309 if test "${wx_cv_gccversion+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 if test "$cross_compiling" = yes; then
15314 wx_cv_gccversion
="EMX2"
15317 cat >conftest.
$ac_ext <<_ACEOF
15320 cat confdefs.h
>>conftest.
$ac_ext
15321 cat >>conftest.
$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15328 FILE *f=fopen("conftestval", "w");
15333 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15335 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15345 rm -f conftest
$ac_exeext
15346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15347 (eval $ac_link) 2>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15356 wx_cv_gccversion
=`cat conftestval`
15358 echo "$as_me: program exited with status $ac_status" >&5
15359 echo "$as_me: failed program was:" >&5
15360 sed 's/^/| /' conftest.
$ac_ext >&5
15362 ( exit $ac_status )
15363 wx_cv_gccversion
="EMX2"
15365 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15369 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15370 echo "${ECHO_T}$wx_cv_gccversion" >&6
15372 ac_cpp
='$CXXCPP $CPPFLAGS'
15373 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15374 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15375 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15377 if test "$wx_cv_gccversion" = "EMX2"; then
15378 LIBS
="$LIBS -lstdcpp"
15379 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15381 if test "$wx_cv_gccversion" = "EMX3"; then
15382 LIBS
="$LIBS -lstdcxx -lgcc"
15383 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15385 LIBS
="$LIBS -lstdc++"
15388 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15389 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15390 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15397 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15398 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15399 if test "${ac_cv_string_strcasecmp+set}" = set; then
15400 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 cat >conftest.
$ac_ext <<_ACEOF
15406 cat confdefs.h
>>conftest.
$ac_ext
15407 cat >>conftest.
$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15410 #include <string.h>
15416 strcasecmp("foo", "bar");
15422 rm -f conftest.
$ac_objext conftest
$ac_exeext
15423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15424 (eval $ac_link) 2>conftest.er1
15426 grep -v '^ *+' conftest.er1
>conftest.err
15428 cat conftest.err
>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } &&
15431 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; } &&
15437 { ac_try
='test -s conftest$ac_exeext'
15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439 (eval $ac_try) 2>&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }; }; then
15443 ac_cv_string_strcasecmp
=yes
15445 echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.
$ac_ext >&5
15448 ac_cv_string_strcasecmp
=no
15451 rm -f conftest.err conftest.
$ac_objext \
15452 conftest
$ac_exeext conftest.
$ac_ext
15455 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15456 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15458 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15459 cat >>confdefs.h
<<\_ACEOF
15460 #define HAVE_STRCASECMP_IN_STRING_H 1
15464 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15465 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15466 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15470 cat >conftest.
$ac_ext <<_ACEOF
15473 cat confdefs.h
>>conftest.
$ac_ext
15474 cat >>conftest.
$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15477 #include <strings.h>
15483 strcasecmp("foo", "bar");
15489 rm -f conftest.
$ac_objext conftest
$ac_exeext
15490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15491 (eval $ac_link) 2>conftest.er1
15493 grep -v '^ *+' conftest.er1
>conftest.err
15495 cat conftest.err
>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); } &&
15498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; } &&
15504 { ac_try
='test -s conftest$ac_exeext'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_cv_strings_strcasecmp
=yes
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.
$ac_ext >&5
15515 ac_cv_strings_strcasecmp
=no
15518 rm -f conftest.err conftest.
$ac_objext \
15519 conftest
$ac_exeext conftest.
$ac_ext
15522 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15523 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15525 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15526 cat >>confdefs.h
<<\_ACEOF
15527 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15531 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15532 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15533 { (exit 1); exit 1; }; }
15542 ac_cpp
='$CXXCPP $CPPFLAGS'
15543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15546 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15547 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15548 if test -z "$CXXCPP"; then
15549 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15550 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 # Double quotes because CXXCPP needs to be expanded
15553 for CXXCPP
in "$CXX -E" "/lib/cpp"
15555 ac_preproc_ok
=false
15556 for ac_cxx_preproc_warn_flag
in '' yes
15558 # Use a header file that comes with gcc, so configuring glibc
15559 # with a fresh cross-compiler works.
15560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15561 # <limits.h> exists even on freestanding compilers.
15562 # On the NeXT, cc -E runs the code through the compiler's parser,
15563 # not just through cpp. "Syntax error" is here to catch this case.
15564 cat >conftest.
$ac_ext <<_ACEOF
15567 cat confdefs.h
>>conftest.
$ac_ext
15568 cat >>conftest.
$ac_ext <<_ACEOF
15569 /* end confdefs.h. */
15571 # include <limits.h>
15573 # include <assert.h>
15577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15578 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15580 grep -v '^ *+' conftest.er1
>conftest.err
15582 cat conftest.err
>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } >/dev
/null
; then
15585 if test -s conftest.err
; then
15586 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15587 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15594 if test -z "$ac_cpp_err"; then
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.
$ac_ext >&5
15600 # Broken: fails on valid input.
15603 rm -f conftest.err conftest.
$ac_ext
15605 # OK, works on sane cases. Now check whether non-existent headers
15606 # can be detected and how.
15607 cat >conftest.
$ac_ext <<_ACEOF
15610 cat confdefs.h
>>conftest.
$ac_ext
15611 cat >>conftest.
$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613 #include <ac_nonexistent.h>
15615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15618 grep -v '^ *+' conftest.er1
>conftest.err
15620 cat conftest.err
>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } >/dev
/null
; then
15623 if test -s conftest.err
; then
15624 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15625 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15632 if test -z "$ac_cpp_err"; then
15633 # Broken: success on invalid input.
15636 echo "$as_me: failed program was:" >&5
15637 sed 's/^/| /' conftest.
$ac_ext >&5
15639 # Passes both tests.
15643 rm -f conftest.err conftest.
$ac_ext
15646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15647 rm -f conftest.err conftest.
$ac_ext
15648 if $ac_preproc_ok; then
15653 ac_cv_prog_CXXCPP
=$CXXCPP
15656 CXXCPP
=$ac_cv_prog_CXXCPP
15658 ac_cv_prog_CXXCPP
=$CXXCPP
15660 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15661 echo "${ECHO_T}$CXXCPP" >&6
15662 ac_preproc_ok
=false
15663 for ac_cxx_preproc_warn_flag
in '' yes
15665 # Use a header file that comes with gcc, so configuring glibc
15666 # with a fresh cross-compiler works.
15667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15668 # <limits.h> exists even on freestanding compilers.
15669 # On the NeXT, cc -E runs the code through the compiler's parser,
15670 # not just through cpp. "Syntax error" is here to catch this case.
15671 cat >conftest.
$ac_ext <<_ACEOF
15674 cat confdefs.h
>>conftest.
$ac_ext
15675 cat >>conftest.
$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15678 # include <limits.h>
15680 # include <assert.h>
15684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15685 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15687 grep -v '^ *+' conftest.er1
>conftest.err
15689 cat conftest.err
>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } >/dev
/null
; then
15692 if test -s conftest.err
; then
15693 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15694 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15701 if test -z "$ac_cpp_err"; then
15704 echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.
$ac_ext >&5
15707 # Broken: fails on valid input.
15710 rm -f conftest.err conftest.
$ac_ext
15712 # OK, works on sane cases. Now check whether non-existent headers
15713 # can be detected and how.
15714 cat >conftest.
$ac_ext <<_ACEOF
15717 cat confdefs.h
>>conftest.
$ac_ext
15718 cat >>conftest.
$ac_ext <<_ACEOF
15719 /* end confdefs.h. */
15720 #include <ac_nonexistent.h>
15722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15725 grep -v '^ *+' conftest.er1
>conftest.err
15727 cat conftest.err
>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } >/dev
/null
; then
15730 if test -s conftest.err
; then
15731 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15732 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15739 if test -z "$ac_cpp_err"; then
15740 # Broken: success on invalid input.
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.
$ac_ext >&5
15746 # Passes both tests.
15750 rm -f conftest.err conftest.
$ac_ext
15753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15754 rm -f conftest.err conftest.
$ac_ext
15755 if $ac_preproc_ok; then
15758 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15759 See \`config.log' for more details." >&5
15760 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15761 See \`config.log' for more details." >&2;}
15762 { (exit 1); exit 1; }; }
15766 ac_cpp
='$CXXCPP $CPPFLAGS'
15767 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15768 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15769 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15772 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15773 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15774 if test "${ac_cv_header_stdc+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 cat >conftest.
$ac_ext <<_ACEOF
15780 cat confdefs.h
>>conftest.
$ac_ext
15781 cat >>conftest.
$ac_ext <<_ACEOF
15782 /* end confdefs.h. */
15783 #include <stdlib.h>
15784 #include <stdarg.h>
15785 #include <string.h>
15796 rm -f conftest.
$ac_objext
15797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15798 (eval $ac_compile) 2>conftest.er1
15800 grep -v '^ *+' conftest.er1
>conftest.err
15802 cat conftest.err
>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } &&
15805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; } &&
15811 { ac_try
='test -s conftest.$ac_objext'
15812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15813 (eval $ac_try) 2>&5
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); }; }; then
15817 ac_cv_header_stdc
=yes
15819 echo "$as_me: failed program was:" >&5
15820 sed 's/^/| /' conftest.
$ac_ext >&5
15822 ac_cv_header_stdc
=no
15824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15826 if test $ac_cv_header_stdc = yes; then
15827 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15828 cat >conftest.
$ac_ext <<_ACEOF
15831 cat confdefs.h
>>conftest.
$ac_ext
15832 cat >>conftest.
$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15834 #include <string.h>
15837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15838 $EGREP "memchr" >/dev
/null
2>&1; then
15841 ac_cv_header_stdc
=no
15847 if test $ac_cv_header_stdc = yes; then
15848 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15849 cat >conftest.
$ac_ext <<_ACEOF
15852 cat confdefs.h
>>conftest.
$ac_ext
15853 cat >>conftest.
$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855 #include <stdlib.h>
15858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15859 $EGREP "free" >/dev
/null
2>&1; then
15862 ac_cv_header_stdc
=no
15868 if test $ac_cv_header_stdc = yes; then
15869 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15870 if test "$cross_compiling" = yes; then
15873 cat >conftest.
$ac_ext <<_ACEOF
15876 cat confdefs.h
>>conftest.
$ac_ext
15877 cat >>conftest.
$ac_ext <<_ACEOF
15878 /* end confdefs.h. */
15880 #if ((' ' & 0x0FF) == 0x020)
15881 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15882 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15884 # define ISLOWER(c) \
15885 (('a' <= (c) && (c) <= 'i') \
15886 || ('j' <= (c) && (c) <= 'r') \
15887 || ('s' <= (c) && (c) <= 'z'))
15888 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15891 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15896 for (i = 0; i < 256; i++)
15897 if (XOR (islower (i), ISLOWER (i))
15898 || toupper (i) != TOUPPER (i))
15903 rm -f conftest
$ac_exeext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15905 (eval $ac_link) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15916 echo "$as_me: program exited with status $ac_status" >&5
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.
$ac_ext >&5
15920 ( exit $ac_status )
15921 ac_cv_header_stdc
=no
15923 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15927 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15928 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15929 if test $ac_cv_header_stdc = yes; then
15931 cat >>confdefs.h
<<\_ACEOF
15932 #define STDC_HEADERS 1
15937 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15947 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15948 inttypes.h stdint.h unistd.h
15950 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15951 echo "$as_me:$LINENO: checking for $ac_header" >&5
15952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 cat >conftest.
$ac_ext <<_ACEOF
15959 cat confdefs.h
>>conftest.
$ac_ext
15960 cat >>conftest.
$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962 $ac_includes_default
15964 #include <$ac_header>
15966 rm -f conftest.
$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968 (eval $ac_compile) 2>conftest.er1
15970 grep -v '^ *+' conftest.er1
>conftest.err
15972 cat conftest.err
>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; } &&
15981 { ac_try
='test -s conftest.$ac_objext'
15982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15983 (eval $ac_try) 2>&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); }; }; then
15987 eval "$as_ac_Header=yes"
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.
$ac_ext >&5
15992 eval "$as_ac_Header=no"
15994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15999 cat >>confdefs.h
<<_ACEOF
16000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16009 for ac_header
in stdlib.h
16011 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16013 echo "$as_me:$LINENO: checking for $ac_header" >&5
16014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16021 # Is the header compilable?
16022 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16024 cat >conftest.
$ac_ext <<_ACEOF
16027 cat confdefs.h
>>conftest.
$ac_ext
16028 cat >>conftest.
$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16030 $ac_includes_default
16031 #include <$ac_header>
16033 rm -f conftest.
$ac_objext
16034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16035 (eval $ac_compile) 2>conftest.er1
16037 grep -v '^ *+' conftest.er1
>conftest.err
16039 cat conftest.err
>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } &&
16042 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; } &&
16048 { ac_try
='test -s conftest.$ac_objext'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 ac_header_compiler
=yes
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.
$ac_ext >&5
16059 ac_header_compiler
=no
16061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16063 echo "${ECHO_T}$ac_header_compiler" >&6
16065 # Is the header present?
16066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16068 cat >conftest.
$ac_ext <<_ACEOF
16071 cat confdefs.h
>>conftest.
$ac_ext
16072 cat >>conftest.
$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074 #include <$ac_header>
16076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16079 grep -v '^ *+' conftest.er1
>conftest.err
16081 cat conftest.err
>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } >/dev
/null
; then
16084 if test -s conftest.err
; then
16085 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16086 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16093 if test -z "$ac_cpp_err"; then
16094 ac_header_preproc
=yes
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.
$ac_ext >&5
16099 ac_header_preproc
=no
16101 rm -f conftest.err conftest.
$ac_ext
16102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16103 echo "${ECHO_T}$ac_header_preproc" >&6
16105 # So? What about this header?
16106 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16112 ac_header_preproc
=yes
16115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16129 ## ----------------------------------------- ##
16130 ## Report this to wx-dev@lists.wxwidgets.org ##
16131 ## ----------------------------------------- ##
16134 sed "s/^/$as_me: WARNING: /" >&2
16137 echo "$as_me:$LINENO: checking for $ac_header" >&5
16138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16140 echo $ECHO_N "(cached) $ECHO_C" >&6
16142 eval "$as_ac_Header=\$ac_header_preproc"
16144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16149 cat >>confdefs.h
<<_ACEOF
16150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16158 for ac_header
in malloc.h
16160 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16162 echo "$as_me:$LINENO: checking for $ac_header" >&5
16163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16165 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16170 # Is the header compilable?
16171 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16173 cat >conftest.
$ac_ext <<_ACEOF
16176 cat confdefs.h
>>conftest.
$ac_ext
16177 cat >>conftest.
$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16180 #include <$ac_header>
16182 rm -f conftest.
$ac_objext
16183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16184 (eval $ac_compile) 2>conftest.er1
16186 grep -v '^ *+' conftest.er1
>conftest.err
16188 cat conftest.err
>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); } &&
16191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16193 (eval $ac_try) 2>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; } &&
16197 { ac_try
='test -s conftest.$ac_objext'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; }; then
16203 ac_header_compiler
=yes
16205 echo "$as_me: failed program was:" >&5
16206 sed 's/^/| /' conftest.
$ac_ext >&5
16208 ac_header_compiler
=no
16210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16212 echo "${ECHO_T}$ac_header_compiler" >&6
16214 # Is the header present?
16215 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16217 cat >conftest.
$ac_ext <<_ACEOF
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 #include <$ac_header>
16225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16228 grep -v '^ *+' conftest.er1
>conftest.err
16230 cat conftest.err
>&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } >/dev
/null
; then
16233 if test -s conftest.err
; then
16234 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16235 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16242 if test -z "$ac_cpp_err"; then
16243 ac_header_preproc
=yes
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.
$ac_ext >&5
16248 ac_header_preproc
=no
16250 rm -f conftest.err conftest.
$ac_ext
16251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16252 echo "${ECHO_T}$ac_header_preproc" >&6
16254 # So? What about this header?
16255 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16257 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16258 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16260 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16261 ac_header_preproc
=yes
16264 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16266 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16267 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16268 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16269 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16270 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16271 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16274 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16275 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16278 ## ----------------------------------------- ##
16279 ## Report this to wx-dev@lists.wxwidgets.org ##
16280 ## ----------------------------------------- ##
16283 sed "s/^/$as_me: WARNING: /" >&2
16286 echo "$as_me:$LINENO: checking for $ac_header" >&5
16287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 eval "$as_ac_Header=\$ac_header_preproc"
16293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16298 cat >>confdefs.h
<<_ACEOF
16299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16307 for ac_header
in unistd.h
16309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16311 echo "$as_me:$LINENO: checking for $ac_header" >&5
16312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16319 # Is the header compilable?
16320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16322 cat >conftest.
$ac_ext <<_ACEOF
16325 cat confdefs.h
>>conftest.
$ac_ext
16326 cat >>conftest.
$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16329 #include <$ac_header>
16331 rm -f conftest.
$ac_objext
16332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16333 (eval $ac_compile) 2>conftest.er1
16335 grep -v '^ *+' conftest.er1
>conftest.err
16337 cat conftest.err
>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } &&
16340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; } &&
16346 { ac_try
='test -s conftest.$ac_objext'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; }; then
16352 ac_header_compiler
=yes
16354 echo "$as_me: failed program was:" >&5
16355 sed 's/^/| /' conftest.
$ac_ext >&5
16357 ac_header_compiler
=no
16359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16361 echo "${ECHO_T}$ac_header_compiler" >&6
16363 # Is the header present?
16364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16366 cat >conftest.
$ac_ext <<_ACEOF
16369 cat confdefs.h
>>conftest.
$ac_ext
16370 cat >>conftest.
$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 #include <$ac_header>
16374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16377 grep -v '^ *+' conftest.er1
>conftest.err
16379 cat conftest.err
>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } >/dev
/null
; then
16382 if test -s conftest.err
; then
16383 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16384 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16391 if test -z "$ac_cpp_err"; then
16392 ac_header_preproc
=yes
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.
$ac_ext >&5
16397 ac_header_preproc
=no
16399 rm -f conftest.err conftest.
$ac_ext
16400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16401 echo "${ECHO_T}$ac_header_preproc" >&6
16403 # So? What about this header?
16404 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16410 ac_header_preproc
=yes
16413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16427 ## ----------------------------------------- ##
16428 ## Report this to wx-dev@lists.wxwidgets.org ##
16429 ## ----------------------------------------- ##
16432 sed "s/^/$as_me: WARNING: /" >&2
16435 echo "$as_me:$LINENO: checking for $ac_header" >&5
16436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 eval "$as_ac_Header=\$ac_header_preproc"
16442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16447 cat >>confdefs.h
<<_ACEOF
16448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16456 for ac_header
in wchar.h
16458 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16460 echo "$as_me:$LINENO: checking for $ac_header" >&5
16461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16468 # Is the header compilable?
16469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16471 cat >conftest.
$ac_ext <<_ACEOF
16474 cat confdefs.h
>>conftest.
$ac_ext
16475 cat >>conftest.
$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477 $ac_includes_default
16478 #include <$ac_header>
16480 rm -f conftest.
$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>conftest.er1
16484 grep -v '^ *+' conftest.er1
>conftest.err
16486 cat conftest.err
>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } &&
16489 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; } &&
16495 { ac_try
='test -s conftest.$ac_objext'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; }; then
16501 ac_header_compiler
=yes
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.
$ac_ext >&5
16506 ac_header_compiler
=no
16508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16510 echo "${ECHO_T}$ac_header_compiler" >&6
16512 # Is the header present?
16513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16515 cat >conftest.
$ac_ext <<_ACEOF
16518 cat confdefs.h
>>conftest.
$ac_ext
16519 cat >>conftest.
$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16521 #include <$ac_header>
16523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16526 grep -v '^ *+' conftest.er1
>conftest.err
16528 cat conftest.err
>&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } >/dev
/null
; then
16531 if test -s conftest.err
; then
16532 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16533 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16540 if test -z "$ac_cpp_err"; then
16541 ac_header_preproc
=yes
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.
$ac_ext >&5
16546 ac_header_preproc
=no
16548 rm -f conftest.err conftest.
$ac_ext
16549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16550 echo "${ECHO_T}$ac_header_preproc" >&6
16552 # So? What about this header?
16553 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16559 ac_header_preproc
=yes
16562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16576 ## ----------------------------------------- ##
16577 ## Report this to wx-dev@lists.wxwidgets.org ##
16578 ## ----------------------------------------- ##
16581 sed "s/^/$as_me: WARNING: /" >&2
16584 echo "$as_me:$LINENO: checking for $ac_header" >&5
16585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 eval "$as_ac_Header=\$ac_header_preproc"
16591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16596 cat >>confdefs.h
<<_ACEOF
16597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16605 if test "$ac_cv_header_wchar_h" != "yes"; then
16607 for ac_header
in wcstr.h
16609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16611 echo "$as_me:$LINENO: checking for $ac_header" >&5
16612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16619 # Is the header compilable?
16620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16622 cat >conftest.
$ac_ext <<_ACEOF
16625 cat confdefs.h
>>conftest.
$ac_ext
16626 cat >>conftest.
$ac_ext <<_ACEOF
16627 /* end confdefs.h. */
16628 $ac_includes_default
16629 #include <$ac_header>
16631 rm -f conftest.
$ac_objext
16632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16633 (eval $ac_compile) 2>conftest.er1
16635 grep -v '^ *+' conftest.er1
>conftest.err
16637 cat conftest.err
>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); } &&
16640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16642 (eval $ac_try) 2>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }; } &&
16646 { ac_try
='test -s conftest.$ac_objext'
16647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16648 (eval $ac_try) 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; }; then
16652 ac_header_compiler
=yes
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.
$ac_ext >&5
16657 ac_header_compiler
=no
16659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16661 echo "${ECHO_T}$ac_header_compiler" >&6
16663 # Is the header present?
16664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16666 cat >conftest.
$ac_ext <<_ACEOF
16669 cat confdefs.h
>>conftest.
$ac_ext
16670 cat >>conftest.
$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 #include <$ac_header>
16674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16675 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16677 grep -v '^ *+' conftest.er1
>conftest.err
16679 cat conftest.err
>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } >/dev
/null
; then
16682 if test -s conftest.err
; then
16683 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16684 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16691 if test -z "$ac_cpp_err"; then
16692 ac_header_preproc
=yes
16694 echo "$as_me: failed program was:" >&5
16695 sed 's/^/| /' conftest.
$ac_ext >&5
16697 ac_header_preproc
=no
16699 rm -f conftest.err conftest.
$ac_ext
16700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16701 echo "${ECHO_T}$ac_header_preproc" >&6
16703 # So? What about this header?
16704 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16710 ac_header_preproc
=yes
16713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16727 ## ----------------------------------------- ##
16728 ## Report this to wx-dev@lists.wxwidgets.org ##
16729 ## ----------------------------------------- ##
16732 sed "s/^/$as_me: WARNING: /" >&2
16735 echo "$as_me:$LINENO: checking for $ac_header" >&5
16736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16740 eval "$as_ac_Header=\$ac_header_preproc"
16742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16747 cat >>confdefs.h
<<_ACEOF
16748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16758 for ac_header
in fnmatch.h
16760 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16762 echo "$as_me:$LINENO: checking for $ac_header" >&5
16763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16770 # Is the header compilable?
16771 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16773 cat >conftest.
$ac_ext <<_ACEOF
16776 cat confdefs.h
>>conftest.
$ac_ext
16777 cat >>conftest.
$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16779 $ac_includes_default
16780 #include <$ac_header>
16782 rm -f conftest.
$ac_objext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16784 (eval $ac_compile) 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } &&
16791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; } &&
16797 { ac_try
='test -s conftest.$ac_objext'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; }; then
16803 ac_header_compiler
=yes
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.
$ac_ext >&5
16808 ac_header_compiler
=no
16810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16812 echo "${ECHO_T}$ac_header_compiler" >&6
16814 # Is the header present?
16815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16817 cat >conftest.
$ac_ext <<_ACEOF
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 #include <$ac_header>
16825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16826 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16828 grep -v '^ *+' conftest.er1
>conftest.err
16830 cat conftest.err
>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } >/dev
/null
; then
16833 if test -s conftest.err
; then
16834 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16835 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16842 if test -z "$ac_cpp_err"; then
16843 ac_header_preproc
=yes
16845 echo "$as_me: failed program was:" >&5
16846 sed 's/^/| /' conftest.
$ac_ext >&5
16848 ac_header_preproc
=no
16850 rm -f conftest.err conftest.
$ac_ext
16851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16852 echo "${ECHO_T}$ac_header_preproc" >&6
16854 # So? What about this header?
16855 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16861 ac_header_preproc
=yes
16864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16878 ## ----------------------------------------- ##
16879 ## Report this to wx-dev@lists.wxwidgets.org ##
16880 ## ----------------------------------------- ##
16883 sed "s/^/$as_me: WARNING: /" >&2
16886 echo "$as_me:$LINENO: checking for $ac_header" >&5
16887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16891 eval "$as_ac_Header=\$ac_header_preproc"
16893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16898 cat >>confdefs.h
<<_ACEOF
16899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16908 for ac_header
in langinfo.h
16910 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16912 echo "$as_me:$LINENO: checking for $ac_header" >&5
16913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16920 # Is the header compilable?
16921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16923 cat >conftest.
$ac_ext <<_ACEOF
16926 cat confdefs.h
>>conftest.
$ac_ext
16927 cat >>conftest.
$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16930 #include <$ac_header>
16932 rm -f conftest.
$ac_objext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16934 (eval $ac_compile) 2>conftest.er1
16936 grep -v '^ *+' conftest.er1
>conftest.err
16938 cat conftest.err
>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; } &&
16947 { ac_try
='test -s conftest.$ac_objext'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; }; then
16953 ac_header_compiler
=yes
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.
$ac_ext >&5
16958 ac_header_compiler
=no
16960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16962 echo "${ECHO_T}$ac_header_compiler" >&6
16964 # Is the header present?
16965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16967 cat >conftest.
$ac_ext <<_ACEOF
16970 cat confdefs.h
>>conftest.
$ac_ext
16971 cat >>conftest.
$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973 #include <$ac_header>
16975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16978 grep -v '^ *+' conftest.er1
>conftest.err
16980 cat conftest.err
>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } >/dev
/null
; then
16983 if test -s conftest.err
; then
16984 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16985 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16992 if test -z "$ac_cpp_err"; then
16993 ac_header_preproc
=yes
16995 echo "$as_me: failed program was:" >&5
16996 sed 's/^/| /' conftest.
$ac_ext >&5
16998 ac_header_preproc
=no
17000 rm -f conftest.err conftest.
$ac_ext
17001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17002 echo "${ECHO_T}$ac_header_preproc" >&6
17004 # So? What about this header?
17005 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17011 ac_header_preproc
=yes
17014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17028 ## ----------------------------------------- ##
17029 ## Report this to wx-dev@lists.wxwidgets.org ##
17030 ## ----------------------------------------- ##
17033 sed "s/^/$as_me: WARNING: /" >&2
17036 echo "$as_me:$LINENO: checking for $ac_header" >&5
17037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 eval "$as_ac_Header=\$ac_header_preproc"
17043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17048 cat >>confdefs.h
<<_ACEOF
17049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17058 *-pc-os2_emx | *-pc-os2-emx )
17059 if test $ac_cv_header_langinfo_h = "yes" \
17060 -a \
( "$wx_cv_gccversion" = "EMX2" \
17061 -o "$wx_cv_gccversion" = "EMX3" \
17062 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17063 LIBS
="$LIBS -lintl"
17069 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17070 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17071 if test "${ac_cv_c_const+set}" = set; then
17072 echo $ECHO_N "(cached) $ECHO_C" >&6
17074 cat >conftest.
$ac_ext <<_ACEOF
17077 cat confdefs.h
>>conftest.
$ac_ext
17078 cat >>conftest.
$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17084 /* FIXME: Include the comments suggested by Paul. */
17085 #ifndef __cplusplus
17086 /* Ultrix mips cc rejects this. */
17087 typedef int charset[2];
17089 /* SunOS 4.1.1 cc rejects this. */
17090 char const *const *ccp;
17092 /* NEC SVR4.0.2 mips cc rejects this. */
17093 struct point {int x, y;};
17094 static struct point const zero = {0,0};
17095 /* AIX XL C 1.02.0.0 rejects this.
17096 It does not let you subtract one const X* pointer from another in
17097 an arm of an if-expression whose if-part is not a constant
17099 const char *g = "string";
17100 ccp = &g + (g ? g-g : 0);
17101 /* HPUX 7.0 cc rejects these. */
17104 ccp = (char const *const *) p;
17105 { /* SCO 3.2v4 cc rejects this. */
17107 char const *s = 0 ? (char *) 0 : (char const *) 0;
17111 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17112 int x[] = {25, 17};
17113 const int *foo = &x[0];
17116 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17117 typedef const int *iptr;
17121 { /* AIX XL C 1.02.0.0 rejects this saying
17122 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17123 struct s { int j; const int *ap[3]; };
17124 struct s *b; b->j = 5;
17126 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17127 const int foo = 10;
17135 rm -f conftest.
$ac_objext
17136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17137 (eval $ac_compile) 2>conftest.er1
17139 grep -v '^ *+' conftest.er1
>conftest.err
17141 cat conftest.err
>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } &&
17144 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146 (eval $ac_try) 2>&5
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; } &&
17150 { ac_try
='test -s conftest.$ac_objext'
17151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17152 (eval $ac_try) 2>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); }; }; then
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.
$ac_ext >&5
17163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17165 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17166 echo "${ECHO_T}$ac_cv_c_const" >&6
17167 if test $ac_cv_c_const = no
; then
17169 cat >>confdefs.h
<<\_ACEOF
17175 echo "$as_me:$LINENO: checking for inline" >&5
17176 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17177 if test "${ac_cv_c_inline+set}" = set; then
17178 echo $ECHO_N "(cached) $ECHO_C" >&6
17181 for ac_kw
in inline __inline__ __inline
; do
17182 cat >conftest.
$ac_ext <<_ACEOF
17185 cat confdefs.h
>>conftest.
$ac_ext
17186 cat >>conftest.
$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 #ifndef __cplusplus
17190 static $ac_kw foo_t static_foo () {return 0; }
17191 $ac_kw foo_t foo () {return 0; }
17195 rm -f conftest.
$ac_objext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17197 (eval $ac_compile) 2>conftest.er1
17199 grep -v '^ *+' conftest.er1
>conftest.err
17201 cat conftest.err
>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } &&
17204 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; } &&
17210 { ac_try
='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_cv_c_inline
=$ac_kw; break
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.
$ac_ext >&5
17222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17226 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17227 echo "${ECHO_T}$ac_cv_c_inline" >&6
17230 case $ac_cv_c_inline in
17233 case $ac_cv_c_inline in
17235 *) ac_val
=$ac_cv_c_inline;;
17237 cat >>confdefs.h
<<_ACEOF
17238 #ifndef __cplusplus
17239 #define inline $ac_val
17246 echo "$as_me:$LINENO: checking for char" >&5
17247 echo $ECHO_N "checking for char... $ECHO_C" >&6
17248 if test "${ac_cv_type_char+set}" = set; then
17249 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 cat >conftest.
$ac_ext <<_ACEOF
17254 cat confdefs.h
>>conftest.
$ac_ext
17255 cat >>conftest.
$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 $ac_includes_default
17269 rm -f conftest.
$ac_objext
17270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17271 (eval $ac_compile) 2>conftest.er1
17273 grep -v '^ *+' conftest.er1
>conftest.err
17275 cat conftest.err
>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } &&
17278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; } &&
17284 { ac_try
='test -s conftest.$ac_objext'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; }; then
17290 ac_cv_type_char
=yes
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.
$ac_ext >&5
17297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17299 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17300 echo "${ECHO_T}$ac_cv_type_char" >&6
17302 echo "$as_me:$LINENO: checking size of char" >&5
17303 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17304 if test "${ac_cv_sizeof_char+set}" = set; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 if test "$ac_cv_type_char" = yes; then
17308 # The cast to unsigned long works around a bug in the HP C Compiler
17309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17311 # This bug is HP SR number 8606223364.
17312 if test "$cross_compiling" = yes; then
17313 # Depending upon the size, compute the lo and hi bounds.
17314 cat >conftest.
$ac_ext <<_ACEOF
17317 cat confdefs.h
>>conftest.
$ac_ext
17318 cat >>conftest.
$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17320 $ac_includes_default
17324 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17331 rm -f conftest.
$ac_objext
17332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17333 (eval $ac_compile) 2>conftest.er1
17335 grep -v '^ *+' conftest.er1
>conftest.err
17337 cat conftest.err
>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); } &&
17340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try
='test -s conftest.$ac_objext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17354 cat >conftest.
$ac_ext <<_ACEOF
17357 cat confdefs.h
>>conftest.
$ac_ext
17358 cat >>conftest.
$ac_ext <<_ACEOF
17359 /* end confdefs.h. */
17360 $ac_includes_default
17364 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17371 rm -f conftest.
$ac_objext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17373 (eval $ac_compile) 2>conftest.er1
17375 grep -v '^ *+' conftest.er1
>conftest.err
17377 cat conftest.err
>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } &&
17380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; } &&
17386 { ac_try
='test -s conftest.$ac_objext'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; }; then
17392 ac_hi
=$ac_mid; break
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.
$ac_ext >&5
17397 ac_lo
=`expr $ac_mid + 1`
17398 if test $ac_lo -le $ac_mid; then
17402 ac_mid
=`expr 2 '*' $ac_mid + 1`
17404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17410 cat >conftest.
$ac_ext <<_ACEOF
17413 cat confdefs.h
>>conftest.
$ac_ext
17414 cat >>conftest.
$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 $ac_includes_default
17420 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17427 rm -f conftest.
$ac_objext
17428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429 (eval $ac_compile) 2>conftest.er1
17431 grep -v '^ *+' conftest.er1
>conftest.err
17433 cat conftest.err
>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } &&
17436 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try
='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17450 cat >conftest.
$ac_ext <<_ACEOF
17453 cat confdefs.h
>>conftest.
$ac_ext
17454 cat >>conftest.
$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17456 $ac_includes_default
17460 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17467 rm -f conftest.
$ac_objext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17469 (eval $ac_compile) 2>conftest.er1
17471 grep -v '^ *+' conftest.er1
>conftest.err
17473 cat conftest.err
>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } &&
17476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 (eval $ac_try) 2>&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); }; } &&
17482 { ac_try
='test -s conftest.$ac_objext'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; }; then
17488 ac_lo
=$ac_mid; break
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.
$ac_ext >&5
17493 ac_hi
=`expr '(' $ac_mid ')' - 1`
17494 if test $ac_mid -le $ac_hi; then
17498 ac_mid
=`expr 2 '*' $ac_mid`
17500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.
$ac_ext >&5
17508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17511 # Binary search between lo and hi bounds.
17512 while test "x$ac_lo" != "x$ac_hi"; do
17513 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17514 cat >conftest.
$ac_ext <<_ACEOF
17517 cat confdefs.h
>>conftest.
$ac_ext
17518 cat >>conftest.
$ac_ext <<_ACEOF
17519 /* end confdefs.h. */
17520 $ac_includes_default
17524 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17531 rm -f conftest.
$ac_objext
17532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17533 (eval $ac_compile) 2>conftest.er1
17535 grep -v '^ *+' conftest.er1
>conftest.err
17537 cat conftest.err
>&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); } &&
17540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; } &&
17546 { ac_try
='test -s conftest.$ac_objext'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; }; then
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.
$ac_ext >&5
17557 ac_lo
=`expr '(' $ac_mid ')' + 1`
17559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17562 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17563 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17564 See \`config.log' for more details." >&5
17565 echo "$as_me: error: cannot compute sizeof (char), 77
17566 See \`config.log' for more details." >&2;}
17567 { (exit 1); exit 1; }; } ;;
17570 if test "$cross_compiling" = yes; then
17571 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17572 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17573 { (exit 1); exit 1; }; }
17575 cat >conftest.
$ac_ext <<_ACEOF
17578 cat confdefs.h
>>conftest.
$ac_ext
17579 cat >>conftest.
$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17581 $ac_includes_default
17582 long longval () { return (long) (sizeof (char)); }
17583 unsigned long ulongval () { return (long) (sizeof (char)); }
17585 #include <stdlib.h>
17590 FILE *f = fopen ("conftest.val", "w");
17593 if (((long) (sizeof (char))) < 0)
17595 long i = longval ();
17596 if (i != ((long) (sizeof (char))))
17598 fprintf (f, "%ld\n", i);
17602 unsigned long i = ulongval ();
17603 if (i != ((long) (sizeof (char))))
17605 fprintf (f, "%lu\n", i);
17607 exit (ferror (f) || fclose (f) != 0);
17613 rm -f conftest
$ac_exeext
17614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17615 (eval $ac_link) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17624 ac_cv_sizeof_char
=`cat conftest.val`
17626 echo "$as_me: program exited with status $ac_status" >&5
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.
$ac_ext >&5
17630 ( exit $ac_status )
17631 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17632 See \`config.log' for more details." >&5
17633 echo "$as_me: error: cannot compute sizeof (char), 77
17634 See \`config.log' for more details." >&2;}
17635 { (exit 1); exit 1; }; }
17637 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17642 ac_cv_sizeof_char
=0
17645 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17646 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17647 cat >>confdefs.h
<<_ACEOF
17648 #define SIZEOF_CHAR $ac_cv_sizeof_char
17652 echo "$as_me:$LINENO: checking for short" >&5
17653 echo $ECHO_N "checking for short... $ECHO_C" >&6
17654 if test "${ac_cv_type_short+set}" = set; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 cat >conftest.
$ac_ext <<_ACEOF
17660 cat confdefs.h
>>conftest.
$ac_ext
17661 cat >>conftest.
$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17663 $ac_includes_default
17669 if (sizeof (short))
17675 rm -f conftest.
$ac_objext
17676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17677 (eval $ac_compile) 2>conftest.er1
17679 grep -v '^ *+' conftest.er1
>conftest.err
17681 cat conftest.err
>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } &&
17684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; } &&
17690 { ac_try
='test -s conftest.$ac_objext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 ac_cv_type_short
=yes
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.
$ac_ext >&5
17701 ac_cv_type_short
=no
17703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17705 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17706 echo "${ECHO_T}$ac_cv_type_short" >&6
17708 echo "$as_me:$LINENO: checking size of short" >&5
17709 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17710 if test "${ac_cv_sizeof_short+set}" = set; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 if test "$ac_cv_type_short" = yes; then
17714 # The cast to unsigned long works around a bug in the HP C Compiler
17715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17717 # This bug is HP SR number 8606223364.
17718 if test "$cross_compiling" = yes; then
17719 # Depending upon the size, compute the lo and hi bounds.
17720 cat >conftest.
$ac_ext <<_ACEOF
17723 cat confdefs.h
>>conftest.
$ac_ext
17724 cat >>conftest.
$ac_ext <<_ACEOF
17725 /* end confdefs.h. */
17726 $ac_includes_default
17730 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17737 rm -f conftest.
$ac_objext
17738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17739 (eval $ac_compile) 2>conftest.er1
17741 grep -v '^ *+' conftest.er1
>conftest.err
17743 cat conftest.err
>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); } &&
17746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; } &&
17752 { ac_try
='test -s conftest.$ac_objext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17760 cat >conftest.
$ac_ext <<_ACEOF
17763 cat confdefs.h
>>conftest.
$ac_ext
17764 cat >>conftest.
$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 $ac_includes_default
17770 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17777 rm -f conftest.
$ac_objext
17778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17779 (eval $ac_compile) 2>conftest.er1
17781 grep -v '^ *+' conftest.er1
>conftest.err
17783 cat conftest.err
>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } &&
17786 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17788 (eval $ac_try) 2>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }; } &&
17792 { ac_try
='test -s conftest.$ac_objext'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; }; then
17798 ac_hi
=$ac_mid; break
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.
$ac_ext >&5
17803 ac_lo
=`expr $ac_mid + 1`
17804 if test $ac_lo -le $ac_mid; then
17808 ac_mid
=`expr 2 '*' $ac_mid + 1`
17810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.
$ac_ext >&5
17816 cat >conftest.
$ac_ext <<_ACEOF
17819 cat confdefs.h
>>conftest.
$ac_ext
17820 cat >>conftest.
$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17822 $ac_includes_default
17826 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17833 rm -f conftest.
$ac_objext
17834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17835 (eval $ac_compile) 2>conftest.er1
17837 grep -v '^ *+' conftest.er1
>conftest.err
17839 cat conftest.err
>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } &&
17842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try
='test -s conftest.$ac_objext'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17856 cat >conftest.
$ac_ext <<_ACEOF
17859 cat confdefs.h
>>conftest.
$ac_ext
17860 cat >>conftest.
$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 $ac_includes_default
17866 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17873 rm -f conftest.
$ac_objext
17874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17875 (eval $ac_compile) 2>conftest.er1
17877 grep -v '^ *+' conftest.er1
>conftest.err
17879 cat conftest.err
>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } &&
17882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; } &&
17888 { ac_try
='test -s conftest.$ac_objext'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; }; then
17894 ac_lo
=$ac_mid; break
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.
$ac_ext >&5
17899 ac_hi
=`expr '(' $ac_mid ')' - 1`
17900 if test $ac_mid -le $ac_hi; then
17904 ac_mid
=`expr 2 '*' $ac_mid`
17906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.
$ac_ext >&5
17914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17917 # Binary search between lo and hi bounds.
17918 while test "x$ac_lo" != "x$ac_hi"; do
17919 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17920 cat >conftest.
$ac_ext <<_ACEOF
17923 cat confdefs.h
>>conftest.
$ac_ext
17924 cat >>conftest.
$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 $ac_includes_default
17930 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17937 rm -f conftest.
$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17941 grep -v '^ *+' conftest.er1
>conftest.err
17943 cat conftest.err
>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try
='test -s conftest.$ac_objext'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; }; then
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.
$ac_ext >&5
17963 ac_lo
=`expr '(' $ac_mid ')' + 1`
17965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17968 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17969 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17970 See \`config.log' for more details." >&5
17971 echo "$as_me: error: cannot compute sizeof (short), 77
17972 See \`config.log' for more details." >&2;}
17973 { (exit 1); exit 1; }; } ;;
17976 if test "$cross_compiling" = yes; then
17977 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17978 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17979 { (exit 1); exit 1; }; }
17981 cat >conftest.
$ac_ext <<_ACEOF
17984 cat confdefs.h
>>conftest.
$ac_ext
17985 cat >>conftest.
$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 $ac_includes_default
17988 long longval () { return (long) (sizeof (short)); }
17989 unsigned long ulongval () { return (long) (sizeof (short)); }
17991 #include <stdlib.h>
17996 FILE *f = fopen ("conftest.val", "w");
17999 if (((long) (sizeof (short))) < 0)
18001 long i = longval ();
18002 if (i != ((long) (sizeof (short))))
18004 fprintf (f, "%ld\n", i);
18008 unsigned long i = ulongval ();
18009 if (i != ((long) (sizeof (short))))
18011 fprintf (f, "%lu\n", i);
18013 exit (ferror (f) || fclose (f) != 0);
18019 rm -f conftest
$ac_exeext
18020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18021 (eval $ac_link) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 ac_cv_sizeof_short
=`cat conftest.val`
18032 echo "$as_me: program exited with status $ac_status" >&5
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.
$ac_ext >&5
18036 ( exit $ac_status )
18037 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18038 See \`config.log' for more details." >&5
18039 echo "$as_me: error: cannot compute sizeof (short), 77
18040 See \`config.log' for more details." >&2;}
18041 { (exit 1); exit 1; }; }
18043 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18048 ac_cv_sizeof_short
=0
18051 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18052 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18053 cat >>confdefs.h
<<_ACEOF
18054 #define SIZEOF_SHORT $ac_cv_sizeof_short
18058 echo "$as_me:$LINENO: checking for void *" >&5
18059 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18060 if test "${ac_cv_type_void_p+set}" = set; then
18061 echo $ECHO_N "(cached) $ECHO_C" >&6
18063 cat >conftest.
$ac_ext <<_ACEOF
18066 cat confdefs.h
>>conftest.
$ac_ext
18067 cat >>conftest.
$ac_ext <<_ACEOF
18068 /* end confdefs.h. */
18069 $ac_includes_default
18075 if (sizeof (void *))
18081 rm -f conftest.
$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083 (eval $ac_compile) 2>conftest.er1
18085 grep -v '^ *+' conftest.er1
>conftest.err
18087 cat conftest.err
>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try
='test -s conftest.$ac_objext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 ac_cv_type_void_p
=yes
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.
$ac_ext >&5
18107 ac_cv_type_void_p
=no
18109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18111 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18112 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18114 echo "$as_me:$LINENO: checking size of void *" >&5
18115 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18116 if test "${ac_cv_sizeof_void_p+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 if test "$ac_cv_type_void_p" = yes; then
18120 # The cast to unsigned long works around a bug in the HP C Compiler
18121 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18122 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18123 # This bug is HP SR number 8606223364.
18124 if test "$cross_compiling" = yes; then
18125 # Depending upon the size, compute the lo and hi bounds.
18126 cat >conftest.
$ac_ext <<_ACEOF
18129 cat confdefs.h
>>conftest.
$ac_ext
18130 cat >>conftest.
$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18132 $ac_includes_default
18136 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18143 rm -f conftest.
$ac_objext
18144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18145 (eval $ac_compile) 2>conftest.er1
18147 grep -v '^ *+' conftest.er1
>conftest.err
18149 cat conftest.err
>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } &&
18152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; } &&
18158 { ac_try
='test -s conftest.$ac_objext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18166 cat >conftest.
$ac_ext <<_ACEOF
18169 cat confdefs.h
>>conftest.
$ac_ext
18170 cat >>conftest.
$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 $ac_includes_default
18176 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18183 rm -f conftest.
$ac_objext
18184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18185 (eval $ac_compile) 2>conftest.er1
18187 grep -v '^ *+' conftest.er1
>conftest.err
18189 cat conftest.err
>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } &&
18192 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18194 (eval $ac_try) 2>&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); }; } &&
18198 { ac_try
='test -s conftest.$ac_objext'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; }; then
18204 ac_hi
=$ac_mid; break
18206 echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.
$ac_ext >&5
18209 ac_lo
=`expr $ac_mid + 1`
18210 if test $ac_lo -le $ac_mid; then
18214 ac_mid
=`expr 2 '*' $ac_mid + 1`
18216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18219 echo "$as_me: failed program was:" >&5
18220 sed 's/^/| /' conftest.
$ac_ext >&5
18222 cat >conftest.
$ac_ext <<_ACEOF
18225 cat confdefs.h
>>conftest.
$ac_ext
18226 cat >>conftest.
$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18228 $ac_includes_default
18232 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18239 rm -f conftest.
$ac_objext
18240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18241 (eval $ac_compile) 2>conftest.er1
18243 grep -v '^ *+' conftest.er1
>conftest.err
18245 cat conftest.err
>&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } &&
18248 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250 (eval $ac_try) 2>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); }; } &&
18254 { ac_try
='test -s conftest.$ac_objext'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; }; then
18262 cat >conftest.
$ac_ext <<_ACEOF
18265 cat confdefs.h
>>conftest.
$ac_ext
18266 cat >>conftest.
$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 $ac_includes_default
18272 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18279 rm -f conftest.
$ac_objext
18280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18281 (eval $ac_compile) 2>conftest.er1
18283 grep -v '^ *+' conftest.er1
>conftest.err
18285 cat conftest.err
>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); } &&
18288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try
='test -s conftest.$ac_objext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18300 ac_lo
=$ac_mid; break
18302 echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.
$ac_ext >&5
18305 ac_hi
=`expr '(' $ac_mid ')' - 1`
18306 if test $ac_mid -le $ac_hi; then
18310 ac_mid
=`expr 2 '*' $ac_mid`
18312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.
$ac_ext >&5
18320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18323 # Binary search between lo and hi bounds.
18324 while test "x$ac_lo" != "x$ac_hi"; do
18325 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18326 cat >conftest.
$ac_ext <<_ACEOF
18329 cat confdefs.h
>>conftest.
$ac_ext
18330 cat >>conftest.
$ac_ext <<_ACEOF
18331 /* end confdefs.h. */
18332 $ac_includes_default
18336 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18343 rm -f conftest.
$ac_objext
18344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18345 (eval $ac_compile) 2>conftest.er1
18347 grep -v '^ *+' conftest.er1
>conftest.err
18349 cat conftest.err
>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } &&
18352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; } &&
18358 { ac_try
='test -s conftest.$ac_objext'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; }; then
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.
$ac_ext >&5
18369 ac_lo
=`expr '(' $ac_mid ')' + 1`
18371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18374 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18375 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18376 See \`config.log' for more details." >&5
18377 echo "$as_me: error: cannot compute sizeof (void *), 77
18378 See \`config.log' for more details." >&2;}
18379 { (exit 1); exit 1; }; } ;;
18382 if test "$cross_compiling" = yes; then
18383 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18384 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18385 { (exit 1); exit 1; }; }
18387 cat >conftest.
$ac_ext <<_ACEOF
18390 cat confdefs.h
>>conftest.
$ac_ext
18391 cat >>conftest.
$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 $ac_includes_default
18394 long longval () { return (long) (sizeof (void *)); }
18395 unsigned long ulongval () { return (long) (sizeof (void *)); }
18397 #include <stdlib.h>
18402 FILE *f = fopen ("conftest.val", "w");
18405 if (((long) (sizeof (void *))) < 0)
18407 long i = longval ();
18408 if (i != ((long) (sizeof (void *))))
18410 fprintf (f, "%ld\n", i);
18414 unsigned long i = ulongval ();
18415 if (i != ((long) (sizeof (void *))))
18417 fprintf (f, "%lu\n", i);
18419 exit (ferror (f) || fclose (f) != 0);
18425 rm -f conftest
$ac_exeext
18426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18427 (eval $ac_link) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_cv_sizeof_void_p
=`cat conftest.val`
18438 echo "$as_me: program exited with status $ac_status" >&5
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.
$ac_ext >&5
18442 ( exit $ac_status )
18443 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18444 See \`config.log' for more details." >&5
18445 echo "$as_me: error: cannot compute sizeof (void *), 77
18446 See \`config.log' for more details." >&2;}
18447 { (exit 1); exit 1; }; }
18449 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18454 ac_cv_sizeof_void_p
=0
18457 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18458 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18459 cat >>confdefs.h
<<_ACEOF
18460 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18464 echo "$as_me:$LINENO: checking for int" >&5
18465 echo $ECHO_N "checking for int... $ECHO_C" >&6
18466 if test "${ac_cv_type_int+set}" = set; then
18467 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 cat >conftest.
$ac_ext <<_ACEOF
18472 cat confdefs.h
>>conftest.
$ac_ext
18473 cat >>conftest.
$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18475 $ac_includes_default
18487 rm -f conftest.
$ac_objext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18489 (eval $ac_compile) 2>conftest.er1
18491 grep -v '^ *+' conftest.er1
>conftest.err
18493 cat conftest.err
>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } &&
18496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18498 (eval $ac_try) 2>&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; } &&
18502 { ac_try
='test -s conftest.$ac_objext'
18503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18504 (eval $ac_try) 2>&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); }; }; then
18510 echo "$as_me: failed program was:" >&5
18511 sed 's/^/| /' conftest.
$ac_ext >&5
18515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18517 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18518 echo "${ECHO_T}$ac_cv_type_int" >&6
18520 echo "$as_me:$LINENO: checking size of int" >&5
18521 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18522 if test "${ac_cv_sizeof_int+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18525 if test "$ac_cv_type_int" = yes; then
18526 # The cast to unsigned long works around a bug in the HP C Compiler
18527 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18528 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18529 # This bug is HP SR number 8606223364.
18530 if test "$cross_compiling" = yes; then
18531 # Depending upon the size, compute the lo and hi bounds.
18532 cat >conftest.
$ac_ext <<_ACEOF
18535 cat confdefs.h
>>conftest.
$ac_ext
18536 cat >>conftest.
$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 $ac_includes_default
18542 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18549 rm -f conftest.
$ac_objext
18550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18551 (eval $ac_compile) 2>conftest.er1
18553 grep -v '^ *+' conftest.er1
>conftest.err
18555 cat conftest.err
>&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } &&
18558 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try
='test -s conftest.$ac_objext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18572 cat >conftest.
$ac_ext <<_ACEOF
18575 cat confdefs.h
>>conftest.
$ac_ext
18576 cat >>conftest.
$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 $ac_includes_default
18582 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18589 rm -f conftest.
$ac_objext
18590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18591 (eval $ac_compile) 2>conftest.er1
18593 grep -v '^ *+' conftest.er1
>conftest.err
18595 cat conftest.err
>&5
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); } &&
18598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; } &&
18604 { ac_try
='test -s conftest.$ac_objext'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; }; then
18610 ac_hi
=$ac_mid; break
18612 echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.
$ac_ext >&5
18615 ac_lo
=`expr $ac_mid + 1`
18616 if test $ac_lo -le $ac_mid; then
18620 ac_mid
=`expr 2 '*' $ac_mid + 1`
18622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.
$ac_ext >&5
18628 cat >conftest.
$ac_ext <<_ACEOF
18631 cat confdefs.h
>>conftest.
$ac_ext
18632 cat >>conftest.
$ac_ext <<_ACEOF
18633 /* end confdefs.h. */
18634 $ac_includes_default
18638 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18645 rm -f conftest.
$ac_objext
18646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18647 (eval $ac_compile) 2>conftest.er1
18649 grep -v '^ *+' conftest.er1
>conftest.err
18651 cat conftest.err
>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } &&
18654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18656 (eval $ac_try) 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; } &&
18660 { ac_try
='test -s conftest.$ac_objext'
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18662 (eval $ac_try) 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; }; then
18668 cat >conftest.
$ac_ext <<_ACEOF
18671 cat confdefs.h
>>conftest.
$ac_ext
18672 cat >>conftest.
$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 $ac_includes_default
18678 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18685 rm -f conftest.
$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18689 grep -v '^ *+' conftest.er1
>conftest.err
18691 cat conftest.err
>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; } &&
18700 { ac_try
='test -s conftest.$ac_objext'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18706 ac_lo
=$ac_mid; break
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.
$ac_ext >&5
18711 ac_hi
=`expr '(' $ac_mid ')' - 1`
18712 if test $ac_mid -le $ac_hi; then
18716 ac_mid
=`expr 2 '*' $ac_mid`
18718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.
$ac_ext >&5
18726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18729 # Binary search between lo and hi bounds.
18730 while test "x$ac_lo" != "x$ac_hi"; do
18731 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18732 cat >conftest.
$ac_ext <<_ACEOF
18735 cat confdefs.h
>>conftest.
$ac_ext
18736 cat >>conftest.
$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 $ac_includes_default
18742 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18749 rm -f conftest.
$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18753 grep -v '^ *+' conftest.er1
>conftest.err
18755 cat conftest.err
>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; } &&
18764 { ac_try
='test -s conftest.$ac_objext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 ac_lo
=`expr '(' $ac_mid ')' + 1`
18777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18780 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18781 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18782 See \`config.log' for more details." >&5
18783 echo "$as_me: error: cannot compute sizeof (int), 77
18784 See \`config.log' for more details." >&2;}
18785 { (exit 1); exit 1; }; } ;;
18788 if test "$cross_compiling" = yes; then
18789 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18790 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18791 { (exit 1); exit 1; }; }
18793 cat >conftest.
$ac_ext <<_ACEOF
18796 cat confdefs.h
>>conftest.
$ac_ext
18797 cat >>conftest.
$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 $ac_includes_default
18800 long longval () { return (long) (sizeof (int)); }
18801 unsigned long ulongval () { return (long) (sizeof (int)); }
18803 #include <stdlib.h>
18808 FILE *f = fopen ("conftest.val", "w");
18811 if (((long) (sizeof (int))) < 0)
18813 long i = longval ();
18814 if (i != ((long) (sizeof (int))))
18816 fprintf (f, "%ld\n", i);
18820 unsigned long i = ulongval ();
18821 if (i != ((long) (sizeof (int))))
18823 fprintf (f, "%lu\n", i);
18825 exit (ferror (f) || fclose (f) != 0);
18831 rm -f conftest
$ac_exeext
18832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18833 (eval $ac_link) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_cv_sizeof_int
=`cat conftest.val`
18844 echo "$as_me: program exited with status $ac_status" >&5
18845 echo "$as_me: failed program was:" >&5
18846 sed 's/^/| /' conftest.
$ac_ext >&5
18848 ( exit $ac_status )
18849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18850 See \`config.log' for more details." >&5
18851 echo "$as_me: error: cannot compute sizeof (int), 77
18852 See \`config.log' for more details." >&2;}
18853 { (exit 1); exit 1; }; }
18855 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18863 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18864 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18865 cat >>confdefs.h
<<_ACEOF
18866 #define SIZEOF_INT $ac_cv_sizeof_int
18870 echo "$as_me:$LINENO: checking for long" >&5
18871 echo $ECHO_N "checking for long... $ECHO_C" >&6
18872 if test "${ac_cv_type_long+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 cat >conftest.
$ac_ext <<_ACEOF
18878 cat confdefs.h
>>conftest.
$ac_ext
18879 cat >>conftest.
$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 $ac_includes_default
18893 rm -f conftest.
$ac_objext
18894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18895 (eval $ac_compile) 2>conftest.er1
18897 grep -v '^ *+' conftest.er1
>conftest.err
18899 cat conftest.err
>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); } &&
18902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904 (eval $ac_try) 2>&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; } &&
18908 { ac_try
='test -s conftest.$ac_objext'
18909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18910 (eval $ac_try) 2>&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); }; }; then
18914 ac_cv_type_long
=yes
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.
$ac_ext >&5
18921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18923 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18924 echo "${ECHO_T}$ac_cv_type_long" >&6
18926 echo "$as_me:$LINENO: checking size of long" >&5
18927 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18928 if test "${ac_cv_sizeof_long+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18931 if test "$ac_cv_type_long" = yes; then
18932 # The cast to unsigned long works around a bug in the HP C Compiler
18933 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18934 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18935 # This bug is HP SR number 8606223364.
18936 if test "$cross_compiling" = yes; then
18937 # Depending upon the size, compute the lo and hi bounds.
18938 cat >conftest.
$ac_ext <<_ACEOF
18941 cat confdefs.h
>>conftest.
$ac_ext
18942 cat >>conftest.
$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944 $ac_includes_default
18948 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18955 rm -f conftest.
$ac_objext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18957 (eval $ac_compile) 2>conftest.er1
18959 grep -v '^ *+' conftest.er1
>conftest.err
18961 cat conftest.err
>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; } &&
18970 { ac_try
='test -s conftest.$ac_objext'
18971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972 (eval $ac_try) 2>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); }; }; then
18978 cat >conftest.
$ac_ext <<_ACEOF
18981 cat confdefs.h
>>conftest.
$ac_ext
18982 cat >>conftest.
$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 $ac_includes_default
18988 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18995 rm -f conftest.
$ac_objext
18996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18997 (eval $ac_compile) 2>conftest.er1
18999 grep -v '^ *+' conftest.er1
>conftest.err
19001 cat conftest.err
>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } &&
19004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; } &&
19010 { ac_try
='test -s conftest.$ac_objext'
19011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19012 (eval $ac_try) 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); }; }; then
19016 ac_hi
=$ac_mid; break
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.
$ac_ext >&5
19021 ac_lo
=`expr $ac_mid + 1`
19022 if test $ac_lo -le $ac_mid; then
19026 ac_mid
=`expr 2 '*' $ac_mid + 1`
19028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19031 echo "$as_me: failed program was:" >&5
19032 sed 's/^/| /' conftest.
$ac_ext >&5
19034 cat >conftest.
$ac_ext <<_ACEOF
19037 cat confdefs.h
>>conftest.
$ac_ext
19038 cat >>conftest.
$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19040 $ac_includes_default
19044 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19051 rm -f conftest.
$ac_objext
19052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19053 (eval $ac_compile) 2>conftest.er1
19055 grep -v '^ *+' conftest.er1
>conftest.err
19057 cat conftest.err
>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19062 (eval $ac_try) 2>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; } &&
19066 { ac_try
='test -s conftest.$ac_objext'
19067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19068 (eval $ac_try) 2>&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }; }; then
19074 cat >conftest.
$ac_ext <<_ACEOF
19077 cat confdefs.h
>>conftest.
$ac_ext
19078 cat >>conftest.
$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19084 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19091 rm -f conftest.
$ac_objext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19093 (eval $ac_compile) 2>conftest.er1
19095 grep -v '^ *+' conftest.er1
>conftest.err
19097 cat conftest.err
>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; } &&
19106 { ac_try
='test -s conftest.$ac_objext'
19107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19108 (eval $ac_try) 2>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); }; }; then
19112 ac_lo
=$ac_mid; break
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.
$ac_ext >&5
19117 ac_hi
=`expr '(' $ac_mid ')' - 1`
19118 if test $ac_mid -le $ac_hi; then
19122 ac_mid
=`expr 2 '*' $ac_mid`
19124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19127 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.
$ac_ext >&5
19132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19135 # Binary search between lo and hi bounds.
19136 while test "x$ac_lo" != "x$ac_hi"; do
19137 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19138 cat >conftest.
$ac_ext <<_ACEOF
19141 cat confdefs.h
>>conftest.
$ac_ext
19142 cat >>conftest.
$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 $ac_includes_default
19148 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19155 rm -f conftest.
$ac_objext
19156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19157 (eval $ac_compile) 2>conftest.er1
19159 grep -v '^ *+' conftest.er1
>conftest.err
19161 cat conftest.err
>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } &&
19164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; } &&
19170 { ac_try
='test -s conftest.$ac_objext'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; }; then
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.
$ac_ext >&5
19181 ac_lo
=`expr '(' $ac_mid ')' + 1`
19183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19186 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19187 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19188 See \`config.log' for more details." >&5
19189 echo "$as_me: error: cannot compute sizeof (long), 77
19190 See \`config.log' for more details." >&2;}
19191 { (exit 1); exit 1; }; } ;;
19194 if test "$cross_compiling" = yes; then
19195 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19196 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19197 { (exit 1); exit 1; }; }
19199 cat >conftest.
$ac_ext <<_ACEOF
19202 cat confdefs.h
>>conftest.
$ac_ext
19203 cat >>conftest.
$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 $ac_includes_default
19206 long longval () { return (long) (sizeof (long)); }
19207 unsigned long ulongval () { return (long) (sizeof (long)); }
19209 #include <stdlib.h>
19214 FILE *f = fopen ("conftest.val", "w");
19217 if (((long) (sizeof (long))) < 0)
19219 long i = longval ();
19220 if (i != ((long) (sizeof (long))))
19222 fprintf (f, "%ld\n", i);
19226 unsigned long i = ulongval ();
19227 if (i != ((long) (sizeof (long))))
19229 fprintf (f, "%lu\n", i);
19231 exit (ferror (f) || fclose (f) != 0);
19237 rm -f conftest
$ac_exeext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19239 (eval $ac_link) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_cv_sizeof_long
=`cat conftest.val`
19250 echo "$as_me: program exited with status $ac_status" >&5
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 ( exit $ac_status )
19255 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19256 See \`config.log' for more details." >&5
19257 echo "$as_me: error: cannot compute sizeof (long), 77
19258 See \`config.log' for more details." >&2;}
19259 { (exit 1); exit 1; }; }
19261 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19266 ac_cv_sizeof_long
=0
19269 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19270 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19271 cat >>confdefs.h
<<_ACEOF
19272 #define SIZEOF_LONG $ac_cv_sizeof_long
19276 echo "$as_me:$LINENO: checking for size_t" >&5
19277 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19278 if test "${ac_cv_type_size_t+set}" = set; then
19279 echo $ECHO_N "(cached) $ECHO_C" >&6
19281 cat >conftest.
$ac_ext <<_ACEOF
19284 cat confdefs.h
>>conftest.
$ac_ext
19285 cat >>conftest.
$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19293 if (sizeof (size_t))
19299 rm -f conftest.
$ac_objext
19300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19301 (eval $ac_compile) 2>conftest.er1
19303 grep -v '^ *+' conftest.er1
>conftest.err
19305 cat conftest.err
>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } &&
19308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19310 (eval $ac_try) 2>&5
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); }; } &&
19314 { ac_try
='test -s conftest.$ac_objext'
19315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19316 (eval $ac_try) 2>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); }; }; then
19320 ac_cv_type_size_t
=yes
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.
$ac_ext >&5
19325 ac_cv_type_size_t
=no
19327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19329 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19330 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19332 echo "$as_me:$LINENO: checking size of size_t" >&5
19333 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19334 if test "${ac_cv_sizeof_size_t+set}" = set; then
19335 echo $ECHO_N "(cached) $ECHO_C" >&6
19337 if test "$ac_cv_type_size_t" = yes; then
19338 # The cast to unsigned long works around a bug in the HP C Compiler
19339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19341 # This bug is HP SR number 8606223364.
19342 if test "$cross_compiling" = yes; then
19343 # Depending upon the size, compute the lo and hi bounds.
19344 cat >conftest.
$ac_ext <<_ACEOF
19347 cat confdefs.h
>>conftest.
$ac_ext
19348 cat >>conftest.
$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 $ac_includes_default
19354 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19361 rm -f conftest.
$ac_objext
19362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19363 (eval $ac_compile) 2>conftest.er1
19365 grep -v '^ *+' conftest.er1
>conftest.err
19367 cat conftest.err
>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); } &&
19370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19372 (eval $ac_try) 2>&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); }; } &&
19376 { ac_try
='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19384 cat >conftest.
$ac_ext <<_ACEOF
19387 cat confdefs.h
>>conftest.
$ac_ext
19388 cat >>conftest.
$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 $ac_includes_default
19394 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19401 rm -f conftest.
$ac_objext
19402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19403 (eval $ac_compile) 2>conftest.er1
19405 grep -v '^ *+' conftest.er1
>conftest.err
19407 cat conftest.err
>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } &&
19410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; } &&
19416 { ac_try
='test -s conftest.$ac_objext'
19417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19418 (eval $ac_try) 2>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; }; then
19422 ac_hi
=$ac_mid; break
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.
$ac_ext >&5
19427 ac_lo
=`expr $ac_mid + 1`
19428 if test $ac_lo -le $ac_mid; then
19432 ac_mid
=`expr 2 '*' $ac_mid + 1`
19434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19437 echo "$as_me: failed program was:" >&5
19438 sed 's/^/| /' conftest.
$ac_ext >&5
19440 cat >conftest.
$ac_ext <<_ACEOF
19443 cat confdefs.h
>>conftest.
$ac_ext
19444 cat >>conftest.
$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 $ac_includes_default
19450 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19457 rm -f conftest.
$ac_objext
19458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19459 (eval $ac_compile) 2>conftest.er1
19461 grep -v '^ *+' conftest.er1
>conftest.err
19463 cat conftest.err
>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } &&
19466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; } &&
19472 { ac_try
='test -s conftest.$ac_objext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19480 cat >conftest.
$ac_ext <<_ACEOF
19483 cat confdefs.h
>>conftest.
$ac_ext
19484 cat >>conftest.
$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19490 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19497 rm -f conftest.
$ac_objext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19499 (eval $ac_compile) 2>conftest.er1
19501 grep -v '^ *+' conftest.er1
>conftest.err
19503 cat conftest.err
>&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } &&
19506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; } &&
19512 { ac_try
='test -s conftest.$ac_objext'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; }; then
19518 ac_lo
=$ac_mid; break
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.
$ac_ext >&5
19523 ac_hi
=`expr '(' $ac_mid ')' - 1`
19524 if test $ac_mid -le $ac_hi; then
19528 ac_mid
=`expr 2 '*' $ac_mid`
19530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.
$ac_ext >&5
19538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19541 # Binary search between lo and hi bounds.
19542 while test "x$ac_lo" != "x$ac_hi"; do
19543 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19544 cat >conftest.
$ac_ext <<_ACEOF
19547 cat confdefs.h
>>conftest.
$ac_ext
19548 cat >>conftest.
$ac_ext <<_ACEOF
19549 /* end confdefs.h. */
19550 $ac_includes_default
19554 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19561 rm -f conftest.
$ac_objext
19562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19563 (eval $ac_compile) 2>conftest.er1
19565 grep -v '^ *+' conftest.er1
>conftest.err
19567 cat conftest.err
>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try
='test -s conftest.$ac_objext'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.
$ac_ext >&5
19587 ac_lo
=`expr '(' $ac_mid ')' + 1`
19589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19592 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19593 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19594 See \`config.log' for more details." >&5
19595 echo "$as_me: error: cannot compute sizeof (size_t), 77
19596 See \`config.log' for more details." >&2;}
19597 { (exit 1); exit 1; }; } ;;
19600 if test "$cross_compiling" = yes; then
19601 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19602 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19603 { (exit 1); exit 1; }; }
19605 cat >conftest.
$ac_ext <<_ACEOF
19608 cat confdefs.h
>>conftest.
$ac_ext
19609 cat >>conftest.
$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 long longval () { return (long) (sizeof (size_t)); }
19613 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19615 #include <stdlib.h>
19620 FILE *f = fopen ("conftest.val", "w");
19623 if (((long) (sizeof (size_t))) < 0)
19625 long i = longval ();
19626 if (i != ((long) (sizeof (size_t))))
19628 fprintf (f, "%ld\n", i);
19632 unsigned long i = ulongval ();
19633 if (i != ((long) (sizeof (size_t))))
19635 fprintf (f, "%lu\n", i);
19637 exit (ferror (f) || fclose (f) != 0);
19643 rm -f conftest
$ac_exeext
19644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19645 (eval $ac_link) 2>&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; }; then
19654 ac_cv_sizeof_size_t
=`cat conftest.val`
19656 echo "$as_me: program exited with status $ac_status" >&5
19657 echo "$as_me: failed program was:" >&5
19658 sed 's/^/| /' conftest.
$ac_ext >&5
19660 ( exit $ac_status )
19661 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19662 See \`config.log' for more details." >&5
19663 echo "$as_me: error: cannot compute sizeof (size_t), 77
19664 See \`config.log' for more details." >&2;}
19665 { (exit 1); exit 1; }; }
19667 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19672 ac_cv_sizeof_size_t
=0
19675 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19676 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19677 cat >>confdefs.h
<<_ACEOF
19678 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19685 echo "$as_me:$LINENO: checking for long long" >&5
19686 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19687 if test "${ac_cv_type_long_long+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 cat >conftest.
$ac_ext <<_ACEOF
19693 cat confdefs.h
>>conftest.
$ac_ext
19694 cat >>conftest.
$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 $ac_includes_default
19700 if ((long long *) 0)
19702 if (sizeof (long long))
19708 rm -f conftest.
$ac_objext
19709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19710 (eval $ac_compile) 2>conftest.er1
19712 grep -v '^ *+' conftest.er1
>conftest.err
19714 cat conftest.err
>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); } &&
19717 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; } &&
19723 { ac_try
='test -s conftest.$ac_objext'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; }; then
19729 ac_cv_type_long_long
=yes
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.
$ac_ext >&5
19734 ac_cv_type_long_long
=no
19736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19738 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19739 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19741 echo "$as_me:$LINENO: checking size of long long" >&5
19742 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19743 if test "${ac_cv_sizeof_long_long+set}" = set; then
19744 echo $ECHO_N "(cached) $ECHO_C" >&6
19746 if test "$ac_cv_type_long_long" = yes; then
19747 # The cast to unsigned long works around a bug in the HP C Compiler
19748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19750 # This bug is HP SR number 8606223364.
19751 if test "$cross_compiling" = yes; then
19752 # Depending upon the size, compute the lo and hi bounds.
19753 cat >conftest.
$ac_ext <<_ACEOF
19756 cat confdefs.h
>>conftest.
$ac_ext
19757 cat >>conftest.
$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19763 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19770 rm -f conftest.
$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>conftest.er1
19774 grep -v '^ *+' conftest.er1
>conftest.err
19776 cat conftest.err
>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; } &&
19785 { ac_try
='test -s conftest.$ac_objext'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; }; then
19793 cat >conftest.
$ac_ext <<_ACEOF
19796 cat confdefs.h
>>conftest.
$ac_ext
19797 cat >>conftest.
$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19803 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19810 rm -f conftest.
$ac_objext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19812 (eval $ac_compile) 2>conftest.er1
19814 grep -v '^ *+' conftest.er1
>conftest.err
19816 cat conftest.err
>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; } &&
19825 { ac_try
='test -s conftest.$ac_objext'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; }; then
19831 ac_hi
=$ac_mid; break
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.
$ac_ext >&5
19836 ac_lo
=`expr $ac_mid + 1`
19837 if test $ac_lo -le $ac_mid; then
19841 ac_mid
=`expr 2 '*' $ac_mid + 1`
19843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.
$ac_ext >&5
19849 cat >conftest.
$ac_ext <<_ACEOF
19852 cat confdefs.h
>>conftest.
$ac_ext
19853 cat >>conftest.
$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 $ac_includes_default
19859 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19866 rm -f conftest.
$ac_objext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19868 (eval $ac_compile) 2>conftest.er1
19870 grep -v '^ *+' conftest.er1
>conftest.err
19872 cat conftest.err
>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } &&
19875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try
='test -s conftest.$ac_objext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19889 cat >conftest.
$ac_ext <<_ACEOF
19892 cat confdefs.h
>>conftest.
$ac_ext
19893 cat >>conftest.
$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 $ac_includes_default
19899 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19906 rm -f conftest.
$ac_objext
19907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19908 (eval $ac_compile) 2>conftest.er1
19910 grep -v '^ *+' conftest.er1
>conftest.err
19912 cat conftest.err
>&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); } &&
19915 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; } &&
19921 { ac_try
='test -s conftest.$ac_objext'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; }; then
19927 ac_lo
=$ac_mid; break
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.
$ac_ext >&5
19932 ac_hi
=`expr '(' $ac_mid ')' - 1`
19933 if test $ac_mid -le $ac_hi; then
19937 ac_mid
=`expr 2 '*' $ac_mid`
19939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.
$ac_ext >&5
19947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19950 # Binary search between lo and hi bounds.
19951 while test "x$ac_lo" != "x$ac_hi"; do
19952 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19953 cat >conftest.
$ac_ext <<_ACEOF
19956 cat confdefs.h
>>conftest.
$ac_ext
19957 cat >>conftest.
$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19959 $ac_includes_default
19963 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19970 rm -f conftest.
$ac_objext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19972 (eval $ac_compile) 2>conftest.er1
19974 grep -v '^ *+' conftest.er1
>conftest.err
19976 cat conftest.err
>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } &&
19979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try
='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.
$ac_ext >&5
19996 ac_lo
=`expr '(' $ac_mid ')' + 1`
19998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20001 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20002 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20003 See \`config.log' for more details." >&5
20004 echo "$as_me: error: cannot compute sizeof (long long), 77
20005 See \`config.log' for more details." >&2;}
20006 { (exit 1); exit 1; }; } ;;
20009 if test "$cross_compiling" = yes; then
20010 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20011 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20012 { (exit 1); exit 1; }; }
20014 cat >conftest.
$ac_ext <<_ACEOF
20017 cat confdefs.h
>>conftest.
$ac_ext
20018 cat >>conftest.
$ac_ext <<_ACEOF
20019 /* end confdefs.h. */
20020 $ac_includes_default
20021 long longval () { return (long) (sizeof (long long)); }
20022 unsigned long ulongval () { return (long) (sizeof (long long)); }
20024 #include <stdlib.h>
20029 FILE *f = fopen ("conftest.val", "w");
20032 if (((long) (sizeof (long long))) < 0)
20034 long i = longval ();
20035 if (i != ((long) (sizeof (long long))))
20037 fprintf (f, "%ld\n", i);
20041 unsigned long i = ulongval ();
20042 if (i != ((long) (sizeof (long long))))
20044 fprintf (f, "%lu\n", i);
20046 exit (ferror (f) || fclose (f) != 0);
20052 rm -f conftest
$ac_exeext
20053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20054 (eval $ac_link) 2>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; }; then
20063 ac_cv_sizeof_long_long
=`cat conftest.val`
20065 echo "$as_me: program exited with status $ac_status" >&5
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.
$ac_ext >&5
20069 ( exit $ac_status )
20070 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20071 See \`config.log' for more details." >&5
20072 echo "$as_me: error: cannot compute sizeof (long long), 77
20073 See \`config.log' for more details." >&2;}
20074 { (exit 1); exit 1; }; }
20076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20081 ac_cv_sizeof_long_long
=0
20084 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20085 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20086 cat >>confdefs.h
<<_ACEOF
20087 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20093 echo "$as_me:$LINENO: checking for long long" >&5
20094 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20095 if test "${ac_cv_type_long_long+set}" = set; then
20096 echo $ECHO_N "(cached) $ECHO_C" >&6
20098 cat >conftest.
$ac_ext <<_ACEOF
20101 cat confdefs.h
>>conftest.
$ac_ext
20102 cat >>conftest.
$ac_ext <<_ACEOF
20103 /* end confdefs.h. */
20104 $ac_includes_default
20108 if ((long long *) 0)
20110 if (sizeof (long long))
20116 rm -f conftest.
$ac_objext
20117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20118 (eval $ac_compile) 2>conftest.er1
20120 grep -v '^ *+' conftest.er1
>conftest.err
20122 cat conftest.err
>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127 (eval $ac_try) 2>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); }; } &&
20131 { ac_try
='test -s conftest.$ac_objext'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; }; then
20137 ac_cv_type_long_long
=yes
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.
$ac_ext >&5
20142 ac_cv_type_long_long
=no
20144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20146 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20147 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20149 echo "$as_me:$LINENO: checking size of long long" >&5
20150 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20151 if test "${ac_cv_sizeof_long_long+set}" = set; then
20152 echo $ECHO_N "(cached) $ECHO_C" >&6
20154 if test "$ac_cv_type_long_long" = yes; then
20155 # The cast to unsigned long works around a bug in the HP C Compiler
20156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20158 # This bug is HP SR number 8606223364.
20159 if test "$cross_compiling" = yes; then
20160 # Depending upon the size, compute the lo and hi bounds.
20161 cat >conftest.
$ac_ext <<_ACEOF
20164 cat confdefs.h
>>conftest.
$ac_ext
20165 cat >>conftest.
$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 $ac_includes_default
20171 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20178 rm -f conftest.
$ac_objext
20179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20180 (eval $ac_compile) 2>conftest.er1
20182 grep -v '^ *+' conftest.er1
>conftest.err
20184 cat conftest.err
>&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } &&
20187 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20189 (eval $ac_try) 2>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); }; } &&
20193 { ac_try
='test -s conftest.$ac_objext'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; }; then
20201 cat >conftest.
$ac_ext <<_ACEOF
20204 cat confdefs.h
>>conftest.
$ac_ext
20205 cat >>conftest.
$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 $ac_includes_default
20211 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20218 rm -f conftest.
$ac_objext
20219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20220 (eval $ac_compile) 2>conftest.er1
20222 grep -v '^ *+' conftest.er1
>conftest.err
20224 cat conftest.err
>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } &&
20227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20229 (eval $ac_try) 2>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); }; } &&
20233 { ac_try
='test -s conftest.$ac_objext'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; }; then
20239 ac_hi
=$ac_mid; break
20241 echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.
$ac_ext >&5
20244 ac_lo
=`expr $ac_mid + 1`
20245 if test $ac_lo -le $ac_mid; then
20249 ac_mid
=`expr 2 '*' $ac_mid + 1`
20251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.
$ac_ext >&5
20257 cat >conftest.
$ac_ext <<_ACEOF
20260 cat confdefs.h
>>conftest.
$ac_ext
20261 cat >>conftest.
$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 $ac_includes_default
20267 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20274 rm -f conftest.
$ac_objext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20276 (eval $ac_compile) 2>conftest.er1
20278 grep -v '^ *+' conftest.er1
>conftest.err
20280 cat conftest.err
>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } &&
20283 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; } &&
20289 { ac_try
='test -s conftest.$ac_objext'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; }; then
20297 cat >conftest.
$ac_ext <<_ACEOF
20300 cat confdefs.h
>>conftest.
$ac_ext
20301 cat >>conftest.
$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20307 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20314 rm -f conftest.
$ac_objext
20315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20316 (eval $ac_compile) 2>conftest.er1
20318 grep -v '^ *+' conftest.er1
>conftest.err
20320 cat conftest.err
>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; } &&
20329 { ac_try
='test -s conftest.$ac_objext'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; }; then
20335 ac_lo
=$ac_mid; break
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.
$ac_ext >&5
20340 ac_hi
=`expr '(' $ac_mid ')' - 1`
20341 if test $ac_mid -le $ac_hi; then
20345 ac_mid
=`expr 2 '*' $ac_mid`
20347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.
$ac_ext >&5
20355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20358 # Binary search between lo and hi bounds.
20359 while test "x$ac_lo" != "x$ac_hi"; do
20360 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20361 cat >conftest.
$ac_ext <<_ACEOF
20364 cat confdefs.h
>>conftest.
$ac_ext
20365 cat >>conftest.
$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 $ac_includes_default
20371 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20378 rm -f conftest.
$ac_objext
20379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20380 (eval $ac_compile) 2>conftest.er1
20382 grep -v '^ *+' conftest.er1
>conftest.err
20384 cat conftest.err
>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); } &&
20387 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; } &&
20393 { ac_try
='test -s conftest.$ac_objext'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; }; then
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.
$ac_ext >&5
20404 ac_lo
=`expr '(' $ac_mid ')' + 1`
20406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20409 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20410 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20411 See \`config.log' for more details." >&5
20412 echo "$as_me: error: cannot compute sizeof (long long), 77
20413 See \`config.log' for more details." >&2;}
20414 { (exit 1); exit 1; }; } ;;
20417 if test "$cross_compiling" = yes; then
20418 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20419 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20420 { (exit 1); exit 1; }; }
20422 cat >conftest.
$ac_ext <<_ACEOF
20425 cat confdefs.h
>>conftest.
$ac_ext
20426 cat >>conftest.
$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20428 $ac_includes_default
20429 long longval () { return (long) (sizeof (long long)); }
20430 unsigned long ulongval () { return (long) (sizeof (long long)); }
20432 #include <stdlib.h>
20437 FILE *f = fopen ("conftest.val", "w");
20440 if (((long) (sizeof (long long))) < 0)
20442 long i = longval ();
20443 if (i != ((long) (sizeof (long long))))
20445 fprintf (f, "%ld\n", i);
20449 unsigned long i = ulongval ();
20450 if (i != ((long) (sizeof (long long))))
20452 fprintf (f, "%lu\n", i);
20454 exit (ferror (f) || fclose (f) != 0);
20460 rm -f conftest
$ac_exeext
20461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20462 (eval $ac_link) 2>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467 (eval $ac_try) 2>&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; }; then
20471 ac_cv_sizeof_long_long
=`cat conftest.val`
20473 echo "$as_me: program exited with status $ac_status" >&5
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.
$ac_ext >&5
20477 ( exit $ac_status )
20478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20479 See \`config.log' for more details." >&5
20480 echo "$as_me: error: cannot compute sizeof (long long), 77
20481 See \`config.log' for more details." >&2;}
20482 { (exit 1); exit 1; }; }
20484 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20489 ac_cv_sizeof_long_long
=0
20492 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20493 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20494 cat >>confdefs.h
<<_ACEOF
20495 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20499 if test "$ac_cv_sizeof_long_long" != "0"; then
20500 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20504 echo "$as_me:$LINENO: checking for long long" >&5
20505 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20506 if test "${ac_cv_type_long_long+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20509 cat >conftest.
$ac_ext <<_ACEOF
20512 cat confdefs.h
>>conftest.
$ac_ext
20513 cat >>conftest.
$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20519 if ((long long *) 0)
20521 if (sizeof (long long))
20527 rm -f conftest.
$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529 (eval $ac_compile) 2>conftest.er1
20531 grep -v '^ *+' conftest.er1
>conftest.err
20533 cat conftest.err
>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; } &&
20542 { ac_try
='test -s conftest.$ac_objext'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; }; then
20548 ac_cv_type_long_long
=yes
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.
$ac_ext >&5
20553 ac_cv_type_long_long
=no
20555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20557 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20558 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20560 echo "$as_me:$LINENO: checking size of long long" >&5
20561 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20562 if test "${ac_cv_sizeof_long_long+set}" = set; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20565 if test "$ac_cv_type_long_long" = yes; then
20566 # The cast to unsigned long works around a bug in the HP C Compiler
20567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20569 # This bug is HP SR number 8606223364.
20570 if test "$cross_compiling" = yes; then
20571 # Depending upon the size, compute the lo and hi bounds.
20572 cat >conftest.
$ac_ext <<_ACEOF
20575 cat confdefs.h
>>conftest.
$ac_ext
20576 cat >>conftest.
$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 $ac_includes_default
20582 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20589 rm -f conftest.
$ac_objext
20590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20591 (eval $ac_compile) 2>conftest.er1
20593 grep -v '^ *+' conftest.er1
>conftest.err
20595 cat conftest.err
>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } &&
20598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try
='test -s conftest.$ac_objext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20612 cat >conftest.
$ac_ext <<_ACEOF
20615 cat confdefs.h
>>conftest.
$ac_ext
20616 cat >>conftest.
$ac_ext <<_ACEOF
20617 /* end confdefs.h. */
20618 $ac_includes_default
20622 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20629 rm -f conftest.
$ac_objext
20630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20631 (eval $ac_compile) 2>conftest.er1
20633 grep -v '^ *+' conftest.er1
>conftest.err
20635 cat conftest.err
>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } &&
20638 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; } &&
20644 { ac_try
='test -s conftest.$ac_objext'
20645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20646 (eval $ac_try) 2>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); }; }; then
20650 ac_hi
=$ac_mid; break
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.
$ac_ext >&5
20655 ac_lo
=`expr $ac_mid + 1`
20656 if test $ac_lo -le $ac_mid; then
20660 ac_mid
=`expr 2 '*' $ac_mid + 1`
20662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.
$ac_ext >&5
20668 cat >conftest.
$ac_ext <<_ACEOF
20671 cat confdefs.h
>>conftest.
$ac_ext
20672 cat >>conftest.
$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20678 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20685 rm -f conftest.
$ac_objext
20686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20687 (eval $ac_compile) 2>conftest.er1
20689 grep -v '^ *+' conftest.er1
>conftest.err
20691 cat conftest.err
>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } &&
20694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696 (eval $ac_try) 2>&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; } &&
20700 { ac_try
='test -s conftest.$ac_objext'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; }; then
20708 cat >conftest.
$ac_ext <<_ACEOF
20711 cat confdefs.h
>>conftest.
$ac_ext
20712 cat >>conftest.
$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20718 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20725 rm -f conftest.
$ac_objext
20726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20727 (eval $ac_compile) 2>conftest.er1
20729 grep -v '^ *+' conftest.er1
>conftest.err
20731 cat conftest.err
>&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } &&
20734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20736 (eval $ac_try) 2>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; } &&
20740 { ac_try
='test -s conftest.$ac_objext'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; }; then
20746 ac_lo
=$ac_mid; break
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.
$ac_ext >&5
20751 ac_hi
=`expr '(' $ac_mid ')' - 1`
20752 if test $ac_mid -le $ac_hi; then
20756 ac_mid
=`expr 2 '*' $ac_mid`
20758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.
$ac_ext >&5
20766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20769 # Binary search between lo and hi bounds.
20770 while test "x$ac_lo" != "x$ac_hi"; do
20771 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20772 cat >conftest.
$ac_ext <<_ACEOF
20775 cat confdefs.h
>>conftest.
$ac_ext
20776 cat >>conftest.
$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 $ac_includes_default
20782 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20789 rm -f conftest.
$ac_objext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791 (eval $ac_compile) 2>conftest.er1
20793 grep -v '^ *+' conftest.er1
>conftest.err
20795 cat conftest.err
>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try
='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.
$ac_ext >&5
20815 ac_lo
=`expr '(' $ac_mid ')' + 1`
20817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20820 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20821 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20822 See \`config.log' for more details." >&5
20823 echo "$as_me: error: cannot compute sizeof (long long), 77
20824 See \`config.log' for more details." >&2;}
20825 { (exit 1); exit 1; }; } ;;
20828 if test "$cross_compiling" = yes; then
20829 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20830 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20831 { (exit 1); exit 1; }; }
20833 cat >conftest.
$ac_ext <<_ACEOF
20836 cat confdefs.h
>>conftest.
$ac_ext
20837 cat >>conftest.
$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 $ac_includes_default
20840 long longval () { return (long) (sizeof (long long)); }
20841 unsigned long ulongval () { return (long) (sizeof (long long)); }
20843 #include <stdlib.h>
20848 FILE *f = fopen ("conftest.val", "w");
20851 if (((long) (sizeof (long long))) < 0)
20853 long i = longval ();
20854 if (i != ((long) (sizeof (long long))))
20856 fprintf (f, "%ld\n", i);
20860 unsigned long i = ulongval ();
20861 if (i != ((long) (sizeof (long long))))
20863 fprintf (f, "%lu\n", i);
20865 exit (ferror (f) || fclose (f) != 0);
20871 rm -f conftest
$ac_exeext
20872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20873 (eval $ac_link) 2>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; }; then
20882 ac_cv_sizeof_long_long
=`cat conftest.val`
20884 echo "$as_me: program exited with status $ac_status" >&5
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.
$ac_ext >&5
20888 ( exit $ac_status )
20889 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20890 See \`config.log' for more details." >&5
20891 echo "$as_me: error: cannot compute sizeof (long long), 77
20892 See \`config.log' for more details." >&2;}
20893 { (exit 1); exit 1; }; }
20895 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20900 ac_cv_sizeof_long_long
=0
20903 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20904 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20905 cat >>confdefs.h
<<_ACEOF
20906 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20912 echo "$as_me:$LINENO: checking for wchar_t" >&5
20913 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20914 if test "${ac_cv_type_wchar_t+set}" = set; then
20915 echo $ECHO_N "(cached) $ECHO_C" >&6
20917 cat >conftest.
$ac_ext <<_ACEOF
20920 cat confdefs.h
>>conftest.
$ac_ext
20921 cat >>conftest.
$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20924 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20925 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20926 # error "fake wchar_t"
20928 #ifdef HAVE_WCHAR_H
20930 # include <stddef.h>
20932 # include <wchar.h>
20934 #ifdef HAVE_STDLIB_H
20935 # include <stdlib.h>
20946 if (sizeof (wchar_t))
20952 rm -f conftest.
$ac_objext
20953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20954 (eval $ac_compile) 2>conftest.er1
20956 grep -v '^ *+' conftest.er1
>conftest.err
20958 cat conftest.err
>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; } &&
20967 { ac_try
='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20973 ac_cv_type_wchar_t
=yes
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.
$ac_ext >&5
20978 ac_cv_type_wchar_t
=no
20980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20982 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20983 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20985 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20986 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20987 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20988 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 if test "$ac_cv_type_wchar_t" = yes; then
20991 # The cast to unsigned long works around a bug in the HP C Compiler
20992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20994 # This bug is HP SR number 8606223364.
20995 if test "$cross_compiling" = yes; then
20996 # Depending upon the size, compute the lo and hi bounds.
20997 cat >conftest.
$ac_ext <<_ACEOF
21000 cat confdefs.h
>>conftest.
$ac_ext
21001 cat >>conftest.
$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21004 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21005 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21006 # error "fake wchar_t"
21008 #ifdef HAVE_WCHAR_H
21010 # include <stddef.h>
21012 # include <wchar.h>
21014 #ifdef HAVE_STDLIB_H
21015 # include <stdlib.h>
21024 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21031 rm -f conftest.
$ac_objext
21032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21033 (eval $ac_compile) 2>conftest.er1
21035 grep -v '^ *+' conftest.er1
>conftest.err
21037 cat conftest.err
>&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } &&
21040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; } &&
21046 { ac_try
='test -s conftest.$ac_objext'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; }; then
21054 cat >conftest.
$ac_ext <<_ACEOF
21057 cat confdefs.h
>>conftest.
$ac_ext
21058 cat >>conftest.
$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21061 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21062 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21063 # error "fake wchar_t"
21065 #ifdef HAVE_WCHAR_H
21067 # include <stddef.h>
21069 # include <wchar.h>
21071 #ifdef HAVE_STDLIB_H
21072 # include <stdlib.h>
21081 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21088 rm -f conftest.
$ac_objext
21089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21090 (eval $ac_compile) 2>conftest.er1
21092 grep -v '^ *+' conftest.er1
>conftest.err
21094 cat conftest.err
>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); } &&
21097 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21099 (eval $ac_try) 2>&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; } &&
21103 { ac_try
='test -s conftest.$ac_objext'
21104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21105 (eval $ac_try) 2>&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); }; }; then
21109 ac_hi
=$ac_mid; break
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.
$ac_ext >&5
21114 ac_lo
=`expr $ac_mid + 1`
21115 if test $ac_lo -le $ac_mid; then
21119 ac_mid
=`expr 2 '*' $ac_mid + 1`
21121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.
$ac_ext >&5
21127 cat >conftest.
$ac_ext <<_ACEOF
21130 cat confdefs.h
>>conftest.
$ac_ext
21131 cat >>conftest.
$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21134 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21135 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21136 # error "fake wchar_t"
21138 #ifdef HAVE_WCHAR_H
21140 # include <stddef.h>
21142 # include <wchar.h>
21144 #ifdef HAVE_STDLIB_H
21145 # include <stdlib.h>
21154 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21161 rm -f conftest.
$ac_objext
21162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21163 (eval $ac_compile) 2>conftest.er1
21165 grep -v '^ *+' conftest.er1
>conftest.err
21167 cat conftest.err
>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } &&
21170 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172 (eval $ac_try) 2>&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); }; } &&
21176 { ac_try
='test -s conftest.$ac_objext'
21177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21178 (eval $ac_try) 2>&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; }; then
21184 cat >conftest.
$ac_ext <<_ACEOF
21187 cat confdefs.h
>>conftest.
$ac_ext
21188 cat >>conftest.
$ac_ext <<_ACEOF
21189 /* end confdefs.h. */
21191 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21192 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21193 # error "fake wchar_t"
21195 #ifdef HAVE_WCHAR_H
21197 # include <stddef.h>
21199 # include <wchar.h>
21201 #ifdef HAVE_STDLIB_H
21202 # include <stdlib.h>
21211 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21218 rm -f conftest.
$ac_objext
21219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21220 (eval $ac_compile) 2>conftest.er1
21222 grep -v '^ *+' conftest.er1
>conftest.err
21224 cat conftest.err
>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } &&
21227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21229 (eval $ac_try) 2>&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); }; } &&
21233 { ac_try
='test -s conftest.$ac_objext'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; }; then
21239 ac_lo
=$ac_mid; break
21241 echo "$as_me: failed program was:" >&5
21242 sed 's/^/| /' conftest.
$ac_ext >&5
21244 ac_hi
=`expr '(' $ac_mid ')' - 1`
21245 if test $ac_mid -le $ac_hi; then
21249 ac_mid
=`expr 2 '*' $ac_mid`
21251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21254 echo "$as_me: failed program was:" >&5
21255 sed 's/^/| /' conftest.
$ac_ext >&5
21259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21262 # Binary search between lo and hi bounds.
21263 while test "x$ac_lo" != "x$ac_hi"; do
21264 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21265 cat >conftest.
$ac_ext <<_ACEOF
21268 cat confdefs.h
>>conftest.
$ac_ext
21269 cat >>conftest.
$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21272 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21273 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21274 # error "fake wchar_t"
21276 #ifdef HAVE_WCHAR_H
21278 # include <stddef.h>
21280 # include <wchar.h>
21282 #ifdef HAVE_STDLIB_H
21283 # include <stdlib.h>
21292 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21299 rm -f conftest.
$ac_objext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21301 (eval $ac_compile) 2>conftest.er1
21303 grep -v '^ *+' conftest.er1
>conftest.err
21305 cat conftest.err
>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } &&
21308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310 (eval $ac_try) 2>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; } &&
21314 { ac_try
='test -s conftest.$ac_objext'
21315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316 (eval $ac_try) 2>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); }; }; then
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.
$ac_ext >&5
21325 ac_lo
=`expr '(' $ac_mid ')' + 1`
21327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21330 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21331 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21332 See \`config.log' for more details." >&5
21333 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21334 See \`config.log' for more details." >&2;}
21335 { (exit 1); exit 1; }; } ;;
21338 if test "$cross_compiling" = yes; then
21339 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21340 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21341 { (exit 1); exit 1; }; }
21343 cat >conftest.
$ac_ext <<_ACEOF
21346 cat confdefs.h
>>conftest.
$ac_ext
21347 cat >>conftest.
$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21350 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21351 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21352 # error "fake wchar_t"
21354 #ifdef HAVE_WCHAR_H
21356 # include <stddef.h>
21358 # include <wchar.h>
21360 #ifdef HAVE_STDLIB_H
21361 # include <stdlib.h>
21367 long longval () { return (long) (sizeof (wchar_t)); }
21368 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21370 #include <stdlib.h>
21375 FILE *f = fopen ("conftest.val", "w");
21378 if (((long) (sizeof (wchar_t))) < 0)
21380 long i = longval ();
21381 if (i != ((long) (sizeof (wchar_t))))
21383 fprintf (f, "%ld\n", i);
21387 unsigned long i = ulongval ();
21388 if (i != ((long) (sizeof (wchar_t))))
21390 fprintf (f, "%lu\n", i);
21392 exit (ferror (f) || fclose (f) != 0);
21398 rm -f conftest
$ac_exeext
21399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21400 (eval $ac_link) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21411 echo "$as_me: program exited with status $ac_status" >&5
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.
$ac_ext >&5
21415 ( exit $ac_status )
21416 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21417 See \`config.log' for more details." >&5
21418 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21419 See \`config.log' for more details." >&2;}
21420 { (exit 1); exit 1; }; }
21422 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21427 ac_cv_sizeof_wchar_t
=0
21430 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21431 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21432 cat >>confdefs.h
<<_ACEOF
21433 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21437 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21443 echo "$as_me:$LINENO: checking for va_copy" >&5
21444 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21445 if test "${wx_cv_func_va_copy+set}" = set; then
21446 echo $ECHO_N "(cached) $ECHO_C" >&6
21449 cat >conftest.
$ac_ext <<_ACEOF
21451 #include <stdarg.h>
21452 void foo(char *f, ...)
21466 rm -f conftest.
$ac_objext conftest
$ac_exeext
21467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21468 (eval $ac_link) 2>conftest.er1
21470 grep -v '^ *+' conftest.er1
>conftest.err
21472 cat conftest.err
>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } &&
21475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477 (eval $ac_try) 2>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); }; } &&
21481 { ac_try
='test -s conftest$ac_exeext'
21482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483 (eval $ac_try) 2>&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); }; }; then
21487 wx_cv_func_va_copy
=yes
21489 echo "$as_me: failed program was:" >&5
21490 sed 's/^/| /' conftest.
$ac_ext >&5
21492 wx_cv_func_va_copy
=no
21495 rm -f conftest.err conftest.
$ac_objext \
21496 conftest
$ac_exeext conftest.
$ac_ext
21500 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21501 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21503 if test $wx_cv_func_va_copy = "yes"; then
21504 cat >>confdefs.h
<<\_ACEOF
21505 #define HAVE_VA_COPY 1
21509 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21510 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21511 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21515 if test "$cross_compiling" = yes; then
21516 wx_cv_type_va_list_lvalue
=yes
21519 cat >conftest.
$ac_ext <<_ACEOF
21521 #include <stdarg.h>
21522 int foo(char *f, ...)
21527 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21535 return foo("hi", 17);
21538 rm -f conftest
$ac_exeext
21539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21540 (eval $ac_link) 2>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21545 (eval $ac_try) 2>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); }; }; then
21549 wx_cv_type_va_list_lvalue
=yes
21551 echo "$as_me: program exited with status $ac_status" >&5
21552 echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.
$ac_ext >&5
21555 ( exit $ac_status )
21556 wx_cv_type_va_list_lvalue
=no
21558 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21563 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21564 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21566 if test $wx_cv_type_va_list_lvalue != "yes"; then
21567 cat >>confdefs.h
<<\_ACEOF
21568 #define VA_LIST_IS_ARRAY 1
21574 # Check whether --enable-largefile or --disable-largefile was given.
21575 if test "${enable_largefile+set}" = set; then
21576 enableval
="$enable_largefile"
21579 if test "$enable_largefile" != no
; then
21582 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21583 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21584 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21588 cat >conftest.
$ac_ext <<_ACEOF
21591 cat confdefs.h
>>conftest.
$ac_ext
21592 cat >>conftest.
$ac_ext <<_ACEOF
21593 /* end confdefs.h. */
21594 #define _FILE_OFFSET_BITS 64
21595 #include <sys/types.h>
21600 unsigned int field: sizeof(off_t) == 8;
21607 rm -f conftest.
$ac_objext
21608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21609 (eval $ac_compile) 2>conftest.er1
21611 grep -v '^ *+' conftest.er1
>conftest.err
21613 cat conftest.err
>&5
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); } &&
21616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; } &&
21622 { ac_try
='test -s conftest.$ac_objext'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; }; then
21628 ac_cv_sys_file_offset_bits
=64
21630 echo "$as_me: failed program was:" >&5
21631 sed 's/^/| /' conftest.
$ac_ext >&5
21633 ac_cv_sys_file_offset_bits
=no
21635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21639 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21640 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21642 if test "$ac_cv_sys_file_offset_bits" != no
; then
21644 cat >>confdefs.h
<<_ACEOF
21645 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21650 if test "x$wx_largefile" != "xyes"; then
21652 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21653 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21654 if test "${ac_cv_sys_large_files+set}" = set; then
21655 echo $ECHO_N "(cached) $ECHO_C" >&6
21658 cat >conftest.
$ac_ext <<_ACEOF
21661 cat confdefs.h
>>conftest.
$ac_ext
21662 cat >>conftest.
$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21664 #define _LARGE_FILES 1
21665 #include <sys/types.h>
21670 unsigned int field: sizeof(off_t) == 8;
21677 rm -f conftest.
$ac_objext
21678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21679 (eval $ac_compile) 2>conftest.er1
21681 grep -v '^ *+' conftest.er1
>conftest.err
21683 cat conftest.err
>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } &&
21686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21688 (eval $ac_try) 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; } &&
21692 { ac_try
='test -s conftest.$ac_objext'
21693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21694 (eval $ac_try) 2>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); }; }; then
21698 ac_cv_sys_large_files
=1
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.
$ac_ext >&5
21703 ac_cv_sys_large_files
=no
21705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21709 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21710 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21712 if test "$ac_cv_sys_large_files" != no
; then
21714 cat >>confdefs.h
<<_ACEOF
21715 #define _LARGE_FILES $ac_cv_sys_large_files
21722 echo "$as_me:$LINENO: checking if large file support is available" >&5
21723 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21724 if test "x$wx_largefile" = "xyes"; then
21725 cat >>confdefs.h
<<\_ACEOF
21726 #define HAVE_LARGEFILE_SUPPORT 1
21730 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21731 echo "${ECHO_T}$wx_largefile" >&6
21735 if test "x$wx_largefile" = "xyes"; then
21736 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21737 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21739 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21740 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21741 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21742 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21743 echo $ECHO_N "(cached) $ECHO_C" >&6
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21757 #ifndef __STDC_EXT__
21765 rm -f conftest.
$ac_objext
21766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21767 (eval $ac_compile) 2>conftest.er1
21769 grep -v '^ *+' conftest.er1
>conftest.err
21771 cat conftest.err
>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } &&
21774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21776 (eval $ac_try) 2>&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); }; } &&
21780 { ac_try
='test -s conftest.$ac_objext'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 wx_cv_STDC_EXT_required
=no
21788 echo "$as_me: failed program was:" >&5
21789 sed 's/^/| /' conftest.
$ac_ext >&5
21791 wx_cv_STDC_EXT_required
=yes
21794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21798 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21799 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21800 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21801 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21805 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21807 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21808 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21809 if test "${ac_cv_sys_largefile_source+set}" = set; then
21810 echo $ECHO_N "(cached) $ECHO_C" >&6
21813 ac_cv_sys_largefile_source
=no
21814 cat >conftest.
$ac_ext <<_ACEOF
21817 cat confdefs.h
>>conftest.
$ac_ext
21818 cat >>conftest.
$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21829 rm -f conftest.
$ac_objext
21830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21831 (eval $ac_compile) 2>conftest.er1
21833 grep -v '^ *+' conftest.er1
>conftest.err
21835 cat conftest.err
>&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); } &&
21838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21840 (eval $ac_try) 2>&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); }; } &&
21844 { ac_try
='test -s conftest.$ac_objext'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; }; then
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.
$ac_ext >&5
21856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21857 cat >conftest.
$ac_ext <<_ACEOF
21860 cat confdefs.h
>>conftest.
$ac_ext
21861 cat >>conftest.
$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 #define _LARGEFILE_SOURCE 1
21873 rm -f conftest.
$ac_objext
21874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21875 (eval $ac_compile) 2>conftest.er1
21877 grep -v '^ *+' conftest.er1
>conftest.err
21879 cat conftest.err
>&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } &&
21882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21884 (eval $ac_try) 2>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); }; } &&
21888 { ac_try
='test -s conftest.$ac_objext'
21889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21890 (eval $ac_try) 2>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; }; then
21894 ac_cv_sys_largefile_source
=1; break
21896 echo "$as_me: failed program was:" >&5
21897 sed 's/^/| /' conftest.
$ac_ext >&5
21900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21904 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21905 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21906 if test "$ac_cv_sys_largefile_source" != no
; then
21908 cat >>confdefs.h
<<_ACEOF
21909 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21915 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21916 # in glibc 2.1.3, but that breaks too many other things.
21917 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21918 echo "$as_me:$LINENO: checking for fseeko" >&5
21919 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21920 if test "${ac_cv_func_fseeko+set}" = set; then
21921 echo $ECHO_N "(cached) $ECHO_C" >&6
21923 cat >conftest.
$ac_ext <<_ACEOF
21926 cat confdefs.h
>>conftest.
$ac_ext
21927 cat >>conftest.
$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21933 return fseeko && fseeko (stdin, 0, 0);
21938 rm -f conftest.
$ac_objext conftest
$ac_exeext
21939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21940 (eval $ac_link) 2>conftest.er1
21942 grep -v '^ *+' conftest.er1
>conftest.err
21944 cat conftest.err
>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } &&
21947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; } &&
21953 { ac_try
='test -s conftest$ac_exeext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21959 ac_cv_func_fseeko
=yes
21961 echo "$as_me: failed program was:" >&5
21962 sed 's/^/| /' conftest.
$ac_ext >&5
21964 ac_cv_func_fseeko
=no
21966 rm -f conftest.err conftest.
$ac_objext \
21967 conftest
$ac_exeext conftest.
$ac_ext
21969 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21970 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21971 if test $ac_cv_func_fseeko = yes; then
21973 cat >>confdefs.h
<<\_ACEOF
21974 #define HAVE_FSEEKO 1
21979 if test "$ac_cv_sys_largefile_source" != no
; then
21980 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21984 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21985 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21986 if test "${ac_cv_c_bigendian+set}" = set; then
21987 echo $ECHO_N "(cached) $ECHO_C" >&6
21989 ac_cv_c_bigendian
=unknown
21990 # See if sys/param.h defines the BYTE_ORDER macro.
21991 cat >conftest.
$ac_ext <<_ACEOF
21994 cat confdefs.h
>>conftest.
$ac_ext
21995 cat >>conftest.
$ac_ext <<_ACEOF
21996 /* end confdefs.h. */
21997 #include <sys/types.h>
21998 #include <sys/param.h>
22003 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22004 bogus endian macros
22010 rm -f conftest.
$ac_objext
22011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22012 (eval $ac_compile) 2>conftest.er1
22014 grep -v '^ *+' conftest.er1
>conftest.err
22016 cat conftest.err
>&5
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); } &&
22019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22021 (eval $ac_try) 2>&5
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; } &&
22025 { ac_try
='test -s conftest.$ac_objext'
22026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22027 (eval $ac_try) 2>&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); }; }; then
22031 # It does; now see whether it defined to BIG_ENDIAN or not.
22032 cat >conftest.
$ac_ext <<_ACEOF
22035 cat confdefs.h
>>conftest.
$ac_ext
22036 cat >>conftest.
$ac_ext <<_ACEOF
22037 /* end confdefs.h. */
22038 #include <sys/types.h>
22039 #include <sys/param.h>
22044 #if BYTE_ORDER != BIG_ENDIAN
22051 rm -f conftest.
$ac_objext
22052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22053 (eval $ac_compile) 2>conftest.er1
22055 grep -v '^ *+' conftest.er1
>conftest.err
22057 cat conftest.err
>&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } &&
22060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 (eval $ac_try) 2>&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; } &&
22066 { ac_try
='test -s conftest.$ac_objext'
22067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22068 (eval $ac_try) 2>&5
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); }; }; then
22072 ac_cv_c_bigendian
=yes
22074 echo "$as_me: failed program was:" >&5
22075 sed 's/^/| /' conftest.
$ac_ext >&5
22077 ac_cv_c_bigendian
=no
22079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.
$ac_ext >&5
22085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22086 if test $ac_cv_c_bigendian = unknown
; then
22087 if test "$cross_compiling" = yes; then
22088 ac_cv_c_bigendian
=unknown
22090 cat >conftest.
$ac_ext <<_ACEOF
22093 cat confdefs.h
>>conftest.
$ac_ext
22094 cat >>conftest.
$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22097 /* Are we little or big endian? From Harbison&Steele. */
22101 char c[sizeof (long)];
22104 exit (u.c[sizeof (long) - 1] == 1);
22107 rm -f conftest
$ac_exeext
22108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22109 (eval $ac_link) 2>&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; }; then
22118 ac_cv_c_bigendian
=no
22120 echo "$as_me: program exited with status $ac_status" >&5
22121 echo "$as_me: failed program was:" >&5
22122 sed 's/^/| /' conftest.
$ac_ext >&5
22124 ( exit $ac_status )
22125 ac_cv_c_bigendian
=yes
22127 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22131 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22132 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22133 if test $ac_cv_c_bigendian = unknown
; then
22134 { 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
22135 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;}
22137 if test $ac_cv_c_bigendian = yes; then
22138 cat >>confdefs.h
<<\_ACEOF
22139 #define WORDS_BIGENDIAN 1
22149 ac_cpp
='$CXXCPP $CPPFLAGS'
22150 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22156 for ac_header
in iostream
22158 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22160 echo "$as_me:$LINENO: checking for $ac_header" >&5
22161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22163 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22168 # Is the header compilable?
22169 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22171 cat >conftest.
$ac_ext <<_ACEOF
22174 cat confdefs.h
>>conftest.
$ac_ext
22175 cat >>conftest.
$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 #include <$ac_header>
22180 rm -f conftest.
$ac_objext
22181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22182 (eval $ac_compile) 2>conftest.er1
22184 grep -v '^ *+' conftest.er1
>conftest.err
22186 cat conftest.err
>&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); } &&
22189 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22191 (eval $ac_try) 2>&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); }; } &&
22195 { ac_try
='test -s conftest.$ac_objext'
22196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22197 (eval $ac_try) 2>&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; }; then
22201 ac_header_compiler
=yes
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.
$ac_ext >&5
22206 ac_header_compiler
=no
22208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22210 echo "${ECHO_T}$ac_header_compiler" >&6
22212 # Is the header present?
22213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22215 cat >conftest.
$ac_ext <<_ACEOF
22218 cat confdefs.h
>>conftest.
$ac_ext
22219 cat >>conftest.
$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 #include <$ac_header>
22223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22226 grep -v '^ *+' conftest.er1
>conftest.err
22228 cat conftest.err
>&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } >/dev
/null
; then
22231 if test -s conftest.err
; then
22232 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22233 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22240 if test -z "$ac_cpp_err"; then
22241 ac_header_preproc
=yes
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.
$ac_ext >&5
22246 ac_header_preproc
=no
22248 rm -f conftest.err conftest.
$ac_ext
22249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22250 echo "${ECHO_T}$ac_header_preproc" >&6
22252 # So? What about this header?
22253 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22259 ac_header_preproc
=yes
22262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22276 ## ----------------------------------------- ##
22277 ## Report this to wx-dev@lists.wxwidgets.org ##
22278 ## ----------------------------------------- ##
22281 sed "s/^/$as_me: WARNING: /" >&2
22284 echo "$as_me:$LINENO: checking for $ac_header" >&5
22285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22287 echo $ECHO_N "(cached) $ECHO_C" >&6
22289 eval "$as_ac_Header=\$ac_header_preproc"
22291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22296 cat >>confdefs.h
<<_ACEOF
22297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22305 if test "$ac_cv_header_iostream" = "yes" ; then
22308 cat >>confdefs.h
<<\_ACEOF
22309 #define wxUSE_IOSTREAMH 1
22315 ac_cpp
='$CXXCPP $CPPFLAGS'
22316 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22317 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22318 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22323 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22324 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22325 if test "${wx_cv_cpp_bool+set}" = set; then
22326 echo $ECHO_N "(cached) $ECHO_C" >&6
22332 ac_cpp
='$CXXCPP $CPPFLAGS'
22333 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22334 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22335 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22338 cat >conftest.
$ac_ext <<_ACEOF
22341 cat confdefs.h
>>conftest.
$ac_ext
22342 cat >>conftest.
$ac_ext <<_ACEOF
22343 /* end confdefs.h. */
22358 rm -f conftest.
$ac_objext
22359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22360 (eval $ac_compile) 2>conftest.er1
22362 grep -v '^ *+' conftest.er1
>conftest.err
22364 cat conftest.err
>&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } &&
22367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22369 (eval $ac_try) 2>&5
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); }; } &&
22373 { ac_try
='test -s conftest.$ac_objext'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; }; then
22383 echo "$as_me: failed program was:" >&5
22384 sed 's/^/| /' conftest.
$ac_ext >&5
22391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22394 ac_cpp
='$CXXCPP $CPPFLAGS'
22395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22401 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22402 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22404 if test "$wx_cv_cpp_bool" = "yes"; then
22405 cat >>confdefs.h
<<\_ACEOF
22406 #define HAVE_BOOL 1
22413 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22414 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22415 if test "${wx_cv_explicit+set}" = set; then
22416 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 ac_cpp
='$CXXCPP $CPPFLAGS'
22423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22428 cat >conftest.
$ac_ext <<_ACEOF
22431 cat confdefs.h
>>conftest.
$ac_ext
22432 cat >>conftest.
$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22435 class Foo { public: explicit Foo(int) {} };
22447 rm -f conftest.
$ac_objext
22448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22449 (eval $ac_compile) 2>conftest.er1
22451 grep -v '^ *+' conftest.er1
>conftest.err
22453 cat conftest.err
>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } &&
22456 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; } &&
22462 { ac_try
='test -s conftest.$ac_objext'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; }; then
22469 cat >conftest.
$ac_ext <<_ACEOF
22472 cat confdefs.h
>>conftest.
$ac_ext
22473 cat >>conftest.
$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22476 class Foo { public: explicit Foo(int) {} };
22477 static void TakeFoo(const Foo& foo) { }
22490 rm -f conftest.
$ac_objext
22491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22492 (eval $ac_compile) 2>conftest.er1
22494 grep -v '^ *+' conftest.er1
>conftest.err
22496 cat conftest.err
>&5
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); } &&
22499 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; } &&
22505 { ac_try
='test -s conftest.$ac_objext'
22506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22507 (eval $ac_try) 2>&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); }; }; then
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.
$ac_ext >&5
22519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22522 echo "$as_me: failed program was:" >&5
22523 sed 's/^/| /' conftest.
$ac_ext >&5
22528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22531 ac_cpp
='$CXXCPP $CPPFLAGS'
22532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22538 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22539 echo "${ECHO_T}$wx_cv_explicit" >&6
22541 if test "$wx_cv_explicit" = "yes"; then
22542 cat >>confdefs.h
<<\_ACEOF
22543 #define HAVE_EXPLICIT 1
22549 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22550 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22551 if test "${ac_cv_cxx_const_cast+set}" = set; then
22552 echo $ECHO_N "(cached) $ECHO_C" >&6
22557 ac_cpp
='$CXXCPP $CPPFLAGS'
22558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22562 cat >conftest.
$ac_ext <<_ACEOF
22565 cat confdefs.h
>>conftest.
$ac_ext
22566 cat >>conftest.
$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22572 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22577 rm -f conftest.
$ac_objext
22578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22579 (eval $ac_compile) 2>conftest.er1
22581 grep -v '^ *+' conftest.er1
>conftest.err
22583 cat conftest.err
>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } &&
22586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22588 (eval $ac_try) 2>&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); }; } &&
22592 { ac_try
='test -s conftest.$ac_objext'
22593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22594 (eval $ac_try) 2>&5
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); }; }; then
22598 ac_cv_cxx_const_cast
=yes
22600 echo "$as_me: failed program was:" >&5
22601 sed 's/^/| /' conftest.
$ac_ext >&5
22603 ac_cv_cxx_const_cast
=no
22605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22607 ac_cpp
='$CXXCPP $CPPFLAGS'
22608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22614 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22615 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22616 if test "$ac_cv_cxx_const_cast" = yes; then
22618 cat >>confdefs.h
<<\_ACEOF
22619 #define HAVE_CONST_CAST
22624 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22625 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22626 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22627 echo $ECHO_N "(cached) $ECHO_C" >&6
22632 ac_cpp
='$CXXCPP $CPPFLAGS'
22633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22637 cat >conftest.
$ac_ext <<_ACEOF
22640 cat confdefs.h
>>conftest.
$ac_ext
22641 cat >>conftest.
$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643 #include <typeinfo>
22644 class Base { public : Base () {} virtual void f () = 0;};
22645 class Derived : public Base { public : Derived () {} virtual void f () {} };
22646 class Unrelated { public : Unrelated () {} };
22647 int g (Unrelated&) { return 0; }
22652 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22657 rm -f conftest.
$ac_objext
22658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22659 (eval $ac_compile) 2>conftest.er1
22661 grep -v '^ *+' conftest.er1
>conftest.err
22663 cat conftest.err
>&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); } &&
22666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 (eval $ac_try) 2>&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); }; } &&
22672 { ac_try
='test -s conftest.$ac_objext'
22673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22674 (eval $ac_try) 2>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); }; }; then
22678 ac_cv_cxx_reinterpret_cast
=yes
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.
$ac_ext >&5
22683 ac_cv_cxx_reinterpret_cast
=no
22685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22687 ac_cpp
='$CXXCPP $CPPFLAGS'
22688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22694 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22695 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22696 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22698 cat >>confdefs.h
<<\_ACEOF
22699 #define HAVE_REINTERPRET_CAST
22704 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22705 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22706 if test "${ac_cv_cxx_static_cast+set}" = set; then
22707 echo $ECHO_N "(cached) $ECHO_C" >&6
22712 ac_cpp
='$CXXCPP $CPPFLAGS'
22713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22717 cat >conftest.
$ac_ext <<_ACEOF
22720 cat confdefs.h
>>conftest.
$ac_ext
22721 cat >>conftest.
$ac_ext <<_ACEOF
22722 /* end confdefs.h. */
22723 #include <typeinfo>
22724 class Base { public : Base () {} virtual void f () = 0; };
22725 class Derived : public Base { public : Derived () {} virtual void f () {} };
22726 int g (Derived&) { return 0; }
22731 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
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 ac_cv_cxx_static_cast
=yes
22759 echo "$as_me: failed program was:" >&5
22760 sed 's/^/| /' conftest.
$ac_ext >&5
22762 ac_cv_cxx_static_cast
=no
22764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22766 ac_cpp
='$CXXCPP $CPPFLAGS'
22767 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22768 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22769 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22773 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22774 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22775 if test "$ac_cv_cxx_static_cast" = yes; then
22777 cat >>confdefs.h
<<\_ACEOF
22778 #define HAVE_STATIC_CAST
22784 if test "x$SUNCXX" = xyes
; then
22785 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22788 if test "x$SUNCC" = xyes
; then
22789 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22792 if test "x$SGICC" = "xyes"; then
22793 CFLAGS
="-woff 3970 $CFLAGS"
22795 if test "x$SGICXX" = "xyes"; then
22796 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22799 if test "x$HPCC" = "xyes"; then
22800 CFLAGS
="+W 2011,2450 $CFLAGS"
22802 if test "x$HPCXX" = "xyes"; then
22803 CXXFLAGS
="+W 2340 $CXXFLAGS"
22806 if test "x$COMPAQCXX" = "xyes"; then
22807 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22810 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22811 if test "$wxUSE_UNICODE" = "yes"; then
22812 std_string
="std::wstring"
22813 char_type
="wchar_t"
22815 std_string
="std::string"
22819 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22820 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22821 cat >conftest.
$ac_ext <<_ACEOF
22824 cat confdefs.h
>>conftest.
$ac_ext
22825 cat >>conftest.
$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22836 rm -f conftest.
$ac_objext
22837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22838 (eval $ac_compile) 2>conftest.er1
22840 grep -v '^ *+' conftest.er1
>conftest.err
22842 cat conftest.err
>&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } &&
22845 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847 (eval $ac_try) 2>&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); }; } &&
22851 { ac_try
='test -s conftest.$ac_objext'
22852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22853 (eval $ac_try) 2>&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); }; }; then
22857 echo "$as_me:$LINENO: result: yes" >&5
22858 echo "${ECHO_T}yes" >&6
22859 cat >>confdefs.h
<<\_ACEOF
22860 #define HAVE_STD_WSTRING 1
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.
$ac_ext >&5
22867 echo "$as_me:$LINENO: result: no" >&5
22868 echo "${ECHO_T}no" >&6
22869 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22870 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22871 cat >conftest.
$ac_ext <<_ACEOF
22874 cat confdefs.h
>>conftest.
$ac_ext
22875 cat >>conftest.
$ac_ext <<_ACEOF
22876 /* end confdefs.h. */
22878 #ifdef HAVE_WCHAR_H
22880 # include <stddef.h>
22882 # include <wchar.h>
22884 #ifdef HAVE_STDLIB_H
22885 # include <stdlib.h>
22893 std::basic_string<$char_type> foo;
22894 const $char_type* dummy = foo.c_str();
22899 rm -f conftest.
$ac_objext
22900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22901 (eval $ac_compile) 2>conftest.er1
22903 grep -v '^ *+' conftest.er1
>conftest.err
22905 cat conftest.err
>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } &&
22908 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; } &&
22914 { ac_try
='test -s conftest.$ac_objext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 echo "$as_me:$LINENO: result: yes" >&5
22921 echo "${ECHO_T}yes" >&6
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.
$ac_ext >&5
22926 echo "$as_me:$LINENO: result: no" >&5
22927 echo "${ECHO_T}no" >&6
22928 if test "$wxUSE_STL" = "yes"; then
22929 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22930 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22931 { (exit 1); exit 1; }; }
22932 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22933 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22934 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22935 { (exit 1); exit 1; }; }
22937 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22938 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22939 wxUSE_STD_STRING
=no
22944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22950 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22951 echo "$as_me:$LINENO: checking for std::istream" >&5
22952 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22953 if test "${ac_cv_type_std__istream+set}" = set; then
22954 echo $ECHO_N "(cached) $ECHO_C" >&6
22956 cat >conftest.
$ac_ext <<_ACEOF
22959 cat confdefs.h
>>conftest.
$ac_ext
22960 cat >>conftest.
$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22962 #include <iostream>
22967 if ((std::istream *) 0)
22969 if (sizeof (std::istream))
22975 rm -f conftest.
$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22979 grep -v '^ *+' conftest.er1
>conftest.err
22981 cat conftest.err
>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try
='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 ac_cv_type_std__istream
=yes
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.
$ac_ext >&5
23001 ac_cv_type_std__istream
=no
23003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23005 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23006 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23007 if test $ac_cv_type_std__istream = yes; then
23009 cat >>confdefs.h
<<_ACEOF
23010 #define HAVE_STD__ISTREAM 1
23015 wxUSE_STD_IOSTREAM
=no
23017 echo "$as_me:$LINENO: checking for std::ostream" >&5
23018 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23019 if test "${ac_cv_type_std__ostream+set}" = set; then
23020 echo $ECHO_N "(cached) $ECHO_C" >&6
23022 cat >conftest.
$ac_ext <<_ACEOF
23025 cat confdefs.h
>>conftest.
$ac_ext
23026 cat >>conftest.
$ac_ext <<_ACEOF
23027 /* end confdefs.h. */
23028 #include <iostream>
23033 if ((std::ostream *) 0)
23035 if (sizeof (std::ostream))
23041 rm -f conftest.
$ac_objext
23042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23043 (eval $ac_compile) 2>conftest.er1
23045 grep -v '^ *+' conftest.er1
>conftest.err
23047 cat conftest.err
>&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } &&
23050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23052 (eval $ac_try) 2>&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; } &&
23056 { ac_try
='test -s conftest.$ac_objext'
23057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23058 (eval $ac_try) 2>&5
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); }; }; then
23062 ac_cv_type_std__ostream
=yes
23064 echo "$as_me: failed program was:" >&5
23065 sed 's/^/| /' conftest.
$ac_ext >&5
23067 ac_cv_type_std__ostream
=no
23069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23071 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23072 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23073 if test $ac_cv_type_std__ostream = yes; then
23075 cat >>confdefs.h
<<_ACEOF
23076 #define HAVE_STD__OSTREAM 1
23081 wxUSE_STD_IOSTREAM
=no
23085 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23086 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23087 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23088 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23089 { (exit 1); exit 1; }; }
23091 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23092 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23097 if test "$wxUSE_STL" = "yes"; then
23098 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23099 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23100 cat >conftest.
$ac_ext <<_ACEOF
23103 cat confdefs.h
>>conftest.
$ac_ext
23104 cat >>conftest.
$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23107 #include <functional>
23108 #include <algorithm>
23114 std::vector<int> moo;
23115 std::list<int> foo;
23116 std::vector<int>::iterator it =
23117 std::find_if(moo.begin(), moo.end(),
23118 std::bind2nd(std::less<int>(), 3));
23123 rm -f conftest.
$ac_objext
23124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23125 (eval $ac_compile) 2>conftest.er1
23127 grep -v '^ *+' conftest.er1
>conftest.err
23129 cat conftest.err
>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } &&
23132 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; } &&
23138 { ac_try
='test -s conftest.$ac_objext'
23139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23140 (eval $ac_try) 2>&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); }; }; then
23144 echo "$as_me:$LINENO: result: yes" >&5
23145 echo "${ECHO_T}yes" >&6
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.
$ac_ext >&5
23150 echo "$as_me:$LINENO: result: no" >&5
23151 echo "${ECHO_T}no" >&6
23152 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23153 echo "$as_me: error: Basic STL functionality missing" >&2;}
23154 { (exit 1); exit 1; }; }
23156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23158 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23159 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23160 cat >conftest.
$ac_ext <<_ACEOF
23163 cat confdefs.h
>>conftest.
$ac_ext
23164 cat >>conftest.
$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23170 std::string foo, bar;
23172 foo.compare(1, 1, bar);
23173 foo.compare(1, 1, bar, 1, 1);
23175 foo.compare(1, 1, "");
23176 foo.compare(1, 1, "", 2);
23181 rm -f conftest.
$ac_objext
23182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23183 (eval $ac_compile) 2>conftest.er1
23185 grep -v '^ *+' conftest.er1
>conftest.err
23187 cat conftest.err
>&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); } &&
23190 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192 (eval $ac_try) 2>&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; } &&
23196 { ac_try
='test -s conftest.$ac_objext'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; }; then
23202 echo "$as_me:$LINENO: result: yes" >&5
23203 echo "${ECHO_T}yes" >&6
23204 cat >>confdefs.h
<<\_ACEOF
23205 #define HAVE_STD_STRING_COMPARE 1
23209 echo "$as_me: failed program was:" >&5
23210 sed 's/^/| /' conftest.
$ac_ext >&5
23212 echo "$as_me:$LINENO: result: no" >&5
23213 echo "${ECHO_T}no" >&6
23215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23217 if test "${ac_cv_header_hash_map+set}" = set; then
23218 echo "$as_me:$LINENO: checking for hash_map" >&5
23219 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23220 if test "${ac_cv_header_hash_map+set}" = set; then
23221 echo $ECHO_N "(cached) $ECHO_C" >&6
23223 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23224 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23226 # Is the header compilable?
23227 echo "$as_me:$LINENO: checking hash_map usability" >&5
23228 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23229 cat >conftest.
$ac_ext <<_ACEOF
23232 cat confdefs.h
>>conftest.
$ac_ext
23233 cat >>conftest.
$ac_ext <<_ACEOF
23234 /* end confdefs.h. */
23235 $ac_includes_default
23236 #include <hash_map>
23238 rm -f conftest.
$ac_objext
23239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23240 (eval $ac_compile) 2>conftest.er1
23242 grep -v '^ *+' conftest.er1
>conftest.err
23244 cat conftest.err
>&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } &&
23247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23249 (eval $ac_try) 2>&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); }; } &&
23253 { ac_try
='test -s conftest.$ac_objext'
23254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23255 (eval $ac_try) 2>&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); }; }; then
23259 ac_header_compiler
=yes
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.
$ac_ext >&5
23264 ac_header_compiler
=no
23266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23268 echo "${ECHO_T}$ac_header_compiler" >&6
23270 # Is the header present?
23271 echo "$as_me:$LINENO: checking hash_map presence" >&5
23272 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23273 cat >conftest.
$ac_ext <<_ACEOF
23276 cat confdefs.h
>>conftest.
$ac_ext
23277 cat >>conftest.
$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 #include <hash_map>
23281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23284 grep -v '^ *+' conftest.er1
>conftest.err
23286 cat conftest.err
>&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); } >/dev
/null
; then
23289 if test -s conftest.err
; then
23290 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23291 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23298 if test -z "$ac_cpp_err"; then
23299 ac_header_preproc
=yes
23301 echo "$as_me: failed program was:" >&5
23302 sed 's/^/| /' conftest.
$ac_ext >&5
23304 ac_header_preproc
=no
23306 rm -f conftest.err conftest.
$ac_ext
23307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23308 echo "${ECHO_T}$ac_header_preproc" >&6
23310 # So? What about this header?
23311 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23313 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23314 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23315 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23316 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23317 ac_header_preproc
=yes
23320 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23321 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23322 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23323 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23324 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23325 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23326 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23327 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23328 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23329 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23330 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23331 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23334 ## ----------------------------------------- ##
23335 ## Report this to wx-dev@lists.wxwidgets.org ##
23336 ## ----------------------------------------- ##
23339 sed "s/^/$as_me: WARNING: /" >&2
23342 echo "$as_me:$LINENO: checking for hash_map" >&5
23343 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23344 if test "${ac_cv_header_hash_map+set}" = set; then
23345 echo $ECHO_N "(cached) $ECHO_C" >&6
23347 ac_cv_header_hash_map
=$ac_header_preproc
23349 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23350 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23353 if test $ac_cv_header_hash_map = yes; then
23354 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23355 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23356 cat >conftest.
$ac_ext <<_ACEOF
23359 cat confdefs.h
>>conftest.
$ac_ext
23360 cat >>conftest.
$ac_ext <<_ACEOF
23361 /* end confdefs.h. */
23362 #include <hash_map>
23363 #include <hash_set>
23367 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23368 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23373 rm -f conftest.
$ac_objext
23374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23375 (eval $ac_compile) 2>conftest.er1
23377 grep -v '^ *+' conftest.er1
>conftest.err
23379 cat conftest.err
>&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); } &&
23382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23384 (eval $ac_try) 2>&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); }; } &&
23388 { ac_try
='test -s conftest.$ac_objext'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; }; then
23394 echo "$as_me:$LINENO: result: yes" >&5
23395 echo "${ECHO_T}yes" >&6
23396 cat >>confdefs.h
<<\_ACEOF
23397 #define HAVE_HASH_MAP 1
23400 cat >>confdefs.h
<<\_ACEOF
23401 #define HAVE_STD_HASH_MAP 1
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.
$ac_ext >&5
23408 echo "$as_me:$LINENO: result: no" >&5
23409 echo "${ECHO_T}no" >&6
23411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23417 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23418 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23419 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23420 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23421 echo $ECHO_N "(cached) $ECHO_C" >&6
23423 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23424 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23426 # Is the header compilable?
23427 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23428 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23429 cat >conftest.
$ac_ext <<_ACEOF
23432 cat confdefs.h
>>conftest.
$ac_ext
23433 cat >>conftest.
$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435 $ac_includes_default
23436 #include <ext/hash_map>
23438 rm -f conftest.
$ac_objext
23439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23440 (eval $ac_compile) 2>conftest.er1
23442 grep -v '^ *+' conftest.er1
>conftest.err
23444 cat conftest.err
>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } &&
23447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; } &&
23453 { ac_try
='test -s conftest.$ac_objext'
23454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23455 (eval $ac_try) 2>&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); }; }; then
23459 ac_header_compiler
=yes
23461 echo "$as_me: failed program was:" >&5
23462 sed 's/^/| /' conftest.
$ac_ext >&5
23464 ac_header_compiler
=no
23466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23468 echo "${ECHO_T}$ac_header_compiler" >&6
23470 # Is the header present?
23471 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23472 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23473 cat >conftest.
$ac_ext <<_ACEOF
23476 cat confdefs.h
>>conftest.
$ac_ext
23477 cat >>conftest.
$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23479 #include <ext/hash_map>
23481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23484 grep -v '^ *+' conftest.er1
>conftest.err
23486 cat conftest.err
>&5
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); } >/dev
/null
; then
23489 if test -s conftest.err
; then
23490 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23491 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23498 if test -z "$ac_cpp_err"; then
23499 ac_header_preproc
=yes
23501 echo "$as_me: failed program was:" >&5
23502 sed 's/^/| /' conftest.
$ac_ext >&5
23504 ac_header_preproc
=no
23506 rm -f conftest.err conftest.
$ac_ext
23507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23508 echo "${ECHO_T}$ac_header_preproc" >&6
23510 # So? What about this header?
23511 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23513 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23514 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23515 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23516 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23517 ac_header_preproc
=yes
23520 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23521 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23522 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23523 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23524 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23525 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23526 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23527 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23528 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23529 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23530 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23531 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23534 ## ----------------------------------------- ##
23535 ## Report this to wx-dev@lists.wxwidgets.org ##
23536 ## ----------------------------------------- ##
23539 sed "s/^/$as_me: WARNING: /" >&2
23542 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23543 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23544 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23545 echo $ECHO_N "(cached) $ECHO_C" >&6
23547 ac_cv_header_ext_hash_map
=$ac_header_preproc
23549 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23550 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23553 if test $ac_cv_header_ext_hash_map = yes; then
23554 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23555 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23556 cat >conftest.
$ac_ext <<_ACEOF
23559 cat confdefs.h
>>conftest.
$ac_ext
23560 cat >>conftest.
$ac_ext <<_ACEOF
23561 /* end confdefs.h. */
23562 #include <ext/hash_map>
23563 #include <ext/hash_set>
23567 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23568 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23573 rm -f conftest.
$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>conftest.er1
23577 grep -v '^ *+' conftest.er1
>conftest.err
23579 cat conftest.err
>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try
='test -s conftest.$ac_objext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 echo "$as_me:$LINENO: result: yes" >&5
23595 echo "${ECHO_T}yes" >&6
23596 cat >>confdefs.h
<<\_ACEOF
23597 #define HAVE_EXT_HASH_MAP 1
23600 cat >>confdefs.h
<<\_ACEOF
23601 #define HAVE_GNU_CXX_HASH_MAP 1
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.
$ac_ext >&5
23608 echo "$as_me:$LINENO: result: no" >&5
23609 echo "${ECHO_T}no" >&6
23611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23620 /usr/local/include \
23622 /usr/Motif-2.1/include \
23623 /usr/Motif-1.2/include \
23624 /usr/include/Motif1.2 \
23627 /usr/openwin/include \
23631 /usr/X11R6/include \
23632 /usr/X11R6.4/include \
23633 /usr/X11R5/include \
23634 /usr/X11R4/include \
23636 /usr/include/X11R6 \
23637 /usr/include/X11R5 \
23638 /usr/include/X11R4 \
23640 /usr/local/X11R6/include \
23641 /usr/local/X11R5/include \
23642 /usr/local/X11R4/include \
23644 /usr/local/include/X11R6 \
23645 /usr/local/include/X11R5 \
23646 /usr/local/include/X11R4 \
23650 /usr/local/X11/include \
23651 /usr/local/include/X11 \
23653 /usr/XFree86/include/X11 \
23656 /usr/openwin/share/include"
23658 echo "$as_me:$LINENO: checking for libraries directory" >&5
23659 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23663 if test "${wx_cv_std_libpath+set}" = set; then
23664 echo $ECHO_N "(cached) $ECHO_C" >&6
23667 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23668 for e
in a so sl dylib dll.a
; do
23670 if test -f $libc; then
23673 cat >conftest.
$ac_ext <<_ACEOF
23674 int main() { return 0; }
23676 rm -f conftest.
$ac_objext conftest
$ac_exeext
23677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23678 (eval $ac_link) 2>conftest.er1
23680 grep -v '^ *+' conftest.er1
>conftest.err
23682 cat conftest.err
>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } &&
23685 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; } &&
23691 { ac_try
='test -s conftest$ac_exeext'
23692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23693 (eval $ac_try) 2>&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; }; then
23697 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23699 echo "$as_me: failed program was:" >&5
23700 sed 's/^/| /' conftest.
$ac_ext >&5
23703 rm -f conftest.err conftest.
$ac_objext \
23704 conftest
$ac_exeext conftest.
$ac_ext
23706 if test "x$wx_cv_std_libpath" != "x"; then
23712 if test "x$wx_cv_std_libpath" = "x"; then
23713 wx_cv_std_libpath
="lib"
23722 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23723 wx_cv_std_libpath
="lib/64"
23725 wx_cv_std_libpath
="lib"
23730 if test "$ac_cv_sizeof_void_p" = 8 -a \
23731 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23732 wx_cv_std_libpath
="lib64"
23734 wx_cv_std_libpath
="lib"
23739 wx_cv_std_libpath
="lib";
23743 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23744 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23746 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23748 if test "$build" != "$host" -a "$GCC" = yes; then
23749 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23750 cross_root
=`dirname $cross_root`
23751 cross_root
=`dirname $cross_root`
23753 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23754 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23755 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23757 if test -z "$PKG_CONFIG_PATH"; then
23758 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23759 export PKG_CONFIG_PATH
23762 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23765 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23767 if test -f "$ac_dir/X11/Intrinsic.h"; then
23768 ac_find_includes
=$ac_dir
23773 x_includes
=$ac_find_includes
23775 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23778 for ac_dir
in $SEARCH_LIB;
23780 for ac_extension
in a so sl dylib dll.a
; do
23781 if test -f "$ac_dir/libXt.$ac_extension"; then
23782 ac_find_libraries
=$ac_dir
23788 x_libraries
=$ac_find_libraries
23794 cat >confcache
<<\_ACEOF
23795 # This file is a shell script that caches the results of configure
23796 # tests run on this system so they can be shared between configure
23797 # scripts and configure runs, see configure's option --config-cache.
23798 # It is not useful on other systems. If it contains results you don't
23799 # want to keep, you may remove or edit it.
23801 # config.status only pays attention to the cache file if you give it
23802 # the --recheck option to rerun configure.
23804 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23805 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23806 # following values.
23810 # The following way of writing the cache mishandles newlines in values,
23811 # but we know of no workaround that is simple, portable, and efficient.
23812 # So, don't put newlines in cache variables' values.
23813 # Ultrix sh set writes to stderr and can't be redirected directly,
23814 # and sets the high bit in the cache file unless we assign to the vars.
23817 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23819 # `set' does not quote correctly, so add quotes (double-quote
23820 # substitution turns \\\\ into \\, and sed turns \\ into \).
23823 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23826 # `set' quotes correctly as required by POSIX, so do not add quotes.
23828 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23837 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23839 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23840 if test -w $cache_file; then
23841 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23842 cat confcache
>$cache_file
23844 echo "not updating unwritable cache $cache_file"
23849 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23850 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23851 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23852 if test "${wx_cv_lib_glibc21+set}" = set; then
23853 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 cat >conftest.
$ac_ext <<_ACEOF
23859 cat confdefs.h
>>conftest.
$ac_ext
23860 cat >>conftest.
$ac_ext <<_ACEOF
23861 /* end confdefs.h. */
23862 #include <features.h>
23867 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23875 rm -f conftest.
$ac_objext
23876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23877 (eval $ac_compile) 2>conftest.er1
23879 grep -v '^ *+' conftest.er1
>conftest.err
23881 cat conftest.err
>&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); } &&
23884 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23886 (eval $ac_try) 2>&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); }; } &&
23890 { ac_try
='test -s conftest.$ac_objext'
23891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23892 (eval $ac_try) 2>&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); }; }; then
23897 wx_cv_lib_glibc21
=yes
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.
$ac_ext >&5
23904 wx_cv_lib_glibc21
=no
23908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23911 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23912 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23913 if test "$wx_cv_lib_glibc21" = "yes"; then
23914 cat >>confdefs.h
<<\_ACEOF
23915 #define wxHAVE_GLIBC2 1
23921 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23922 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23923 cat >>confdefs.h
<<\_ACEOF
23924 #define _GNU_SOURCE 1
23935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23936 echo "$as_me:$LINENO: checking for $ac_func" >&5
23937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23938 if eval "test \"\${$as_ac_var+set}\" = set"; then
23939 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 cat >conftest.
$ac_ext <<_ACEOF
23944 cat confdefs.h
>>conftest.
$ac_ext
23945 cat >>conftest.
$ac_ext <<_ACEOF
23946 /* end confdefs.h. */
23947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23949 #define $ac_func innocuous_$ac_func
23951 /* System header to define __stub macros and hopefully few prototypes,
23952 which can conflict with char $ac_func (); below.
23953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23954 <limits.h> exists even on freestanding compilers. */
23957 # include <limits.h>
23959 # include <assert.h>
23964 /* Override any gcc2 internal prototype to avoid an error. */
23969 /* We use char because int might match the return type of a gcc2
23970 builtin and then its argument prototype would still apply. */
23972 /* The GNU C library defines this for functions which it implements
23973 to always fail with ENOSYS. Some functions are actually named
23974 something starting with __ and the normal name is an alias. */
23975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23978 char (*f) () = $ac_func;
23987 return f != $ac_func;
23992 rm -f conftest.
$ac_objext conftest
$ac_exeext
23993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23994 (eval $ac_link) 2>conftest.er1
23996 grep -v '^ *+' conftest.er1
>conftest.err
23998 cat conftest.err
>&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); } &&
24001 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; } &&
24007 { ac_try
='test -s conftest$ac_exeext'
24008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24009 (eval $ac_try) 2>&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); }; }; then
24013 eval "$as_ac_var=yes"
24015 echo "$as_me: failed program was:" >&5
24016 sed 's/^/| /' conftest.
$ac_ext >&5
24018 eval "$as_ac_var=no"
24020 rm -f conftest.err conftest.
$ac_objext \
24021 conftest
$ac_exeext conftest.
$ac_ext
24023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24025 if test `eval echo '${'$as_ac_var'}'` = yes; then
24026 cat >>confdefs.h
<<_ACEOF
24027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24034 for ac_func
in floor
24036 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24037 echo "$as_me:$LINENO: checking for $ac_func" >&5
24038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24039 if eval "test \"\${$as_ac_var+set}\" = set"; then
24040 echo $ECHO_N "(cached) $ECHO_C" >&6
24042 cat >conftest.
$ac_ext <<_ACEOF
24045 cat confdefs.h
>>conftest.
$ac_ext
24046 cat >>conftest.
$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24050 #define $ac_func innocuous_$ac_func
24052 /* System header to define __stub macros and hopefully few prototypes,
24053 which can conflict with char $ac_func (); below.
24054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24055 <limits.h> exists even on freestanding compilers. */
24058 # include <limits.h>
24060 # include <assert.h>
24065 /* Override any gcc2 internal prototype to avoid an error. */
24070 /* We use char because int might match the return type of a gcc2
24071 builtin and then its argument prototype would still apply. */
24073 /* The GNU C library defines this for functions which it implements
24074 to always fail with ENOSYS. Some functions are actually named
24075 something starting with __ and the normal name is an alias. */
24076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24079 char (*f) () = $ac_func;
24088 return f != $ac_func;
24093 rm -f conftest.
$ac_objext conftest
$ac_exeext
24094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24095 (eval $ac_link) 2>conftest.er1
24097 grep -v '^ *+' conftest.er1
>conftest.err
24099 cat conftest.err
>&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } &&
24102 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24104 (eval $ac_try) 2>&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); }; } &&
24108 { ac_try
='test -s conftest$ac_exeext'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; }; then
24114 eval "$as_ac_var=yes"
24116 echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.
$ac_ext >&5
24119 eval "$as_ac_var=no"
24121 rm -f conftest.err conftest.
$ac_objext \
24122 conftest
$ac_exeext conftest.
$ac_ext
24124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24126 if test `eval echo '${'$as_ac_var'}'` = yes; then
24127 cat >>confdefs.h
<<_ACEOF
24128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24134 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24135 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24136 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24137 echo "$as_me:$LINENO: result: yes" >&5
24138 echo "${ECHO_T}yes" >&6
24140 echo "$as_me:$LINENO: result: no" >&5
24141 echo "${ECHO_T}no" >&6
24143 # use different functions to avoid configure caching
24149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24150 echo "$as_me:$LINENO: checking for $ac_func" >&5
24151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24152 if eval "test \"\${$as_ac_var+set}\" = set"; then
24153 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 cat >conftest.
$ac_ext <<_ACEOF
24158 cat confdefs.h
>>conftest.
$ac_ext
24159 cat >>conftest.
$ac_ext <<_ACEOF
24160 /* end confdefs.h. */
24161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24163 #define $ac_func innocuous_$ac_func
24165 /* System header to define __stub macros and hopefully few prototypes,
24166 which can conflict with char $ac_func (); below.
24167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24168 <limits.h> exists even on freestanding compilers. */
24171 # include <limits.h>
24173 # include <assert.h>
24178 /* Override any gcc2 internal prototype to avoid an error. */
24183 /* We use char because int might match the return type of a gcc2
24184 builtin and then its argument prototype would still apply. */
24186 /* The GNU C library defines this for functions which it implements
24187 to always fail with ENOSYS. Some functions are actually named
24188 something starting with __ and the normal name is an alias. */
24189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24192 char (*f) () = $ac_func;
24201 return f != $ac_func;
24206 rm -f conftest.
$ac_objext conftest
$ac_exeext
24207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24208 (eval $ac_link) 2>conftest.er1
24210 grep -v '^ *+' conftest.er1
>conftest.err
24212 cat conftest.err
>&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); } &&
24215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24217 (eval $ac_try) 2>&5
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); }; } &&
24221 { ac_try
='test -s conftest$ac_exeext'
24222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24223 (eval $ac_try) 2>&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); }; }; then
24227 eval "$as_ac_var=yes"
24229 echo "$as_me: failed program was:" >&5
24230 sed 's/^/| /' conftest.
$ac_ext >&5
24232 eval "$as_ac_var=no"
24234 rm -f conftest.err conftest.
$ac_objext \
24235 conftest
$ac_exeext conftest.
$ac_ext
24237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24239 if test `eval echo '${'$as_ac_var'}'` = yes; then
24240 cat >>confdefs.h
<<_ACEOF
24241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24248 for ac_func
in ceil
24250 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24251 echo "$as_me:$LINENO: checking for $ac_func" >&5
24252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24253 if eval "test \"\${$as_ac_var+set}\" = set"; then
24254 echo $ECHO_N "(cached) $ECHO_C" >&6
24256 cat >conftest.
$ac_ext <<_ACEOF
24259 cat confdefs.h
>>conftest.
$ac_ext
24260 cat >>conftest.
$ac_ext <<_ACEOF
24261 /* end confdefs.h. */
24262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24264 #define $ac_func innocuous_$ac_func
24266 /* System header to define __stub macros and hopefully few prototypes,
24267 which can conflict with char $ac_func (); below.
24268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24269 <limits.h> exists even on freestanding compilers. */
24272 # include <limits.h>
24274 # include <assert.h>
24279 /* Override any gcc2 internal prototype to avoid an error. */
24284 /* We use char because int might match the return type of a gcc2
24285 builtin and then its argument prototype would still apply. */
24287 /* The GNU C library defines this for functions which it implements
24288 to always fail with ENOSYS. Some functions are actually named
24289 something starting with __ and the normal name is an alias. */
24290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24293 char (*f) () = $ac_func;
24302 return f != $ac_func;
24307 rm -f conftest.
$ac_objext conftest
$ac_exeext
24308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24309 (eval $ac_link) 2>conftest.er1
24311 grep -v '^ *+' conftest.er1
>conftest.err
24313 cat conftest.err
>&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
24316 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; } &&
24322 { ac_try
='test -s conftest$ac_exeext'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 eval "$as_ac_var=yes"
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.
$ac_ext >&5
24333 eval "$as_ac_var=no"
24335 rm -f conftest.err conftest.
$ac_objext \
24336 conftest
$ac_exeext conftest.
$ac_ext
24338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24340 if test `eval echo '${'$as_ac_var'}'` = yes; then
24341 cat >>confdefs.h
<<_ACEOF
24342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24348 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24349 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24350 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24351 echo "$as_me:$LINENO: result: yes" >&5
24352 echo "${ECHO_T}yes" >&6
24354 echo "$as_me:$LINENO: result: no" >&5
24355 echo "${ECHO_T}no" >&6
24356 # not sure we should warn the user, crash, etc.
24362 if test "$wxUSE_REGEX" != "no"; then
24363 cat >>confdefs.h
<<\_ACEOF
24364 #define wxUSE_REGEX 1
24368 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24369 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24370 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24371 wxUSE_REGEX
=builtin
24374 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24375 if test "${ac_cv_header_regex_h+set}" = set; then
24376 echo "$as_me:$LINENO: checking for regex.h" >&5
24377 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24378 if test "${ac_cv_header_regex_h+set}" = set; then
24379 echo $ECHO_N "(cached) $ECHO_C" >&6
24381 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24382 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24384 # Is the header compilable?
24385 echo "$as_me:$LINENO: checking regex.h usability" >&5
24386 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24387 cat >conftest.
$ac_ext <<_ACEOF
24390 cat confdefs.h
>>conftest.
$ac_ext
24391 cat >>conftest.
$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24393 $ac_includes_default
24396 rm -f conftest.
$ac_objext
24397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24398 (eval $ac_compile) 2>conftest.er1
24400 grep -v '^ *+' conftest.er1
>conftest.err
24402 cat conftest.err
>&5
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); } &&
24405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24407 (eval $ac_try) 2>&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); }; } &&
24411 { ac_try
='test -s conftest.$ac_objext'
24412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24413 (eval $ac_try) 2>&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); }; }; then
24417 ac_header_compiler
=yes
24419 echo "$as_me: failed program was:" >&5
24420 sed 's/^/| /' conftest.
$ac_ext >&5
24422 ac_header_compiler
=no
24424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24425 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24426 echo "${ECHO_T}$ac_header_compiler" >&6
24428 # Is the header present?
24429 echo "$as_me:$LINENO: checking regex.h presence" >&5
24430 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24431 cat >conftest.
$ac_ext <<_ACEOF
24434 cat confdefs.h
>>conftest.
$ac_ext
24435 cat >>conftest.
$ac_ext <<_ACEOF
24436 /* end confdefs.h. */
24439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24442 grep -v '^ *+' conftest.er1
>conftest.err
24444 cat conftest.err
>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); } >/dev
/null
; then
24447 if test -s conftest.err
; then
24448 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24449 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24456 if test -z "$ac_cpp_err"; then
24457 ac_header_preproc
=yes
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.
$ac_ext >&5
24462 ac_header_preproc
=no
24464 rm -f conftest.err conftest.
$ac_ext
24465 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24466 echo "${ECHO_T}$ac_header_preproc" >&6
24468 # So? What about this header?
24469 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24471 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24472 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24473 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24474 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24475 ac_header_preproc
=yes
24478 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24479 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24480 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24481 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24482 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24483 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24484 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24485 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24486 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24487 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24488 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24489 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24492 ## ----------------------------------------- ##
24493 ## Report this to wx-dev@lists.wxwidgets.org ##
24494 ## ----------------------------------------- ##
24497 sed "s/^/$as_me: WARNING: /" >&2
24500 echo "$as_me:$LINENO: checking for regex.h" >&5
24501 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24502 if test "${ac_cv_header_regex_h+set}" = set; then
24503 echo $ECHO_N "(cached) $ECHO_C" >&6
24505 ac_cv_header_regex_h
=$ac_header_preproc
24507 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24508 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24511 if test $ac_cv_header_regex_h = yes; then
24514 for ac_func
in regcomp re_search
24516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24517 echo "$as_me:$LINENO: checking for $ac_func" >&5
24518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24519 if eval "test \"\${$as_ac_var+set}\" = set"; then
24520 echo $ECHO_N "(cached) $ECHO_C" >&6
24522 cat >conftest.
$ac_ext <<_ACEOF
24525 cat confdefs.h
>>conftest.
$ac_ext
24526 cat >>conftest.
$ac_ext <<_ACEOF
24527 /* end confdefs.h. */
24528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24530 #define $ac_func innocuous_$ac_func
24532 /* System header to define __stub macros and hopefully few prototypes,
24533 which can conflict with char $ac_func (); below.
24534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24535 <limits.h> exists even on freestanding compilers. */
24538 # include <limits.h>
24540 # include <assert.h>
24545 /* Override any gcc2 internal prototype to avoid an error. */
24550 /* We use char because int might match the return type of a gcc2
24551 builtin and then its argument prototype would still apply. */
24553 /* The GNU C library defines this for functions which it implements
24554 to always fail with ENOSYS. Some functions are actually named
24555 something starting with __ and the normal name is an alias. */
24556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24559 char (*f) () = $ac_func;
24568 return f != $ac_func;
24573 rm -f conftest.
$ac_objext conftest
$ac_exeext
24574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24575 (eval $ac_link) 2>conftest.er1
24577 grep -v '^ *+' conftest.er1
>conftest.err
24579 cat conftest.err
>&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); } &&
24582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24584 (eval $ac_try) 2>&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); }; } &&
24588 { ac_try
='test -s conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 eval "$as_ac_var=yes"
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.
$ac_ext >&5
24599 eval "$as_ac_var=no"
24601 rm -f conftest.err conftest.
$ac_objext \
24602 conftest
$ac_exeext conftest.
$ac_ext
24604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24606 if test `eval echo '${'$as_ac_var'}'` = yes; then
24607 cat >>confdefs.h
<<_ACEOF
24608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24618 if test "x$ac_cv_func_regcomp" != "xyes"; then
24619 if test "$wxUSE_REGEX" = "sys" ; then
24620 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24621 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24622 { (exit 1); exit 1; }; }
24624 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24625 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24626 wxUSE_REGEX
=builtin
24630 cat >>confdefs.h
<<\_ACEOF
24631 #define WX_NO_REGEX_ADVANCED 1
24640 if test "$wxUSE_ZLIB" != "no" ; then
24641 cat >>confdefs.h
<<\_ACEOF
24642 #define wxUSE_ZLIB 1
24646 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24647 if test "$USE_DARWIN" = 1; then
24648 system_zlib_h_ok
="yes"
24650 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24651 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24652 if test "${ac_cv_header_zlib_h+set}" = set; then
24653 echo $ECHO_N "(cached) $ECHO_C" >&6
24655 if test "$cross_compiling" = yes; then
24656 unset ac_cv_header_zlib_h
24659 cat >conftest.
$ac_ext <<_ACEOF
24662 cat confdefs.h
>>conftest.
$ac_ext
24663 cat >>conftest.
$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24671 FILE *f=fopen("conftestval", "w");
24674 ZLIB_VERSION[0] == '1' &&
24675 (ZLIB_VERSION[2] > '1' ||
24676 (ZLIB_VERSION[2] == '1' &&
24677 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24682 rm -f conftest
$ac_exeext
24683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24684 (eval $ac_link) 2>&5
24686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24689 (eval $ac_try) 2>&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); }; }; then
24693 ac_cv_header_zlib_h
=`cat conftestval`
24695 echo "$as_me: program exited with status $ac_status" >&5
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.
$ac_ext >&5
24699 ( exit $ac_status )
24700 ac_cv_header_zlib_h
=no
24702 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24706 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24707 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24708 if test "${ac_cv_header_zlib_h+set}" = set; then
24709 echo "$as_me:$LINENO: checking for zlib.h" >&5
24710 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24711 if test "${ac_cv_header_zlib_h+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24715 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24717 # Is the header compilable?
24718 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24719 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24720 cat >conftest.
$ac_ext <<_ACEOF
24723 cat confdefs.h
>>conftest.
$ac_ext
24724 cat >>conftest.
$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24726 $ac_includes_default
24729 rm -f conftest.
$ac_objext
24730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24731 (eval $ac_compile) 2>conftest.er1
24733 grep -v '^ *+' conftest.er1
>conftest.err
24735 cat conftest.err
>&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } &&
24738 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24740 (eval $ac_try) 2>&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); }; } &&
24744 { ac_try
='test -s conftest.$ac_objext'
24745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746 (eval $ac_try) 2>&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); }; }; then
24750 ac_header_compiler
=yes
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.
$ac_ext >&5
24755 ac_header_compiler
=no
24757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24759 echo "${ECHO_T}$ac_header_compiler" >&6
24761 # Is the header present?
24762 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24763 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24764 cat >conftest.
$ac_ext <<_ACEOF
24767 cat confdefs.h
>>conftest.
$ac_ext
24768 cat >>conftest.
$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24775 grep -v '^ *+' conftest.er1
>conftest.err
24777 cat conftest.err
>&5
24778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779 (exit $ac_status); } >/dev
/null
; then
24780 if test -s conftest.err
; then
24781 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24782 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24789 if test -z "$ac_cpp_err"; then
24790 ac_header_preproc
=yes
24792 echo "$as_me: failed program was:" >&5
24793 sed 's/^/| /' conftest.
$ac_ext >&5
24795 ac_header_preproc
=no
24797 rm -f conftest.err conftest.
$ac_ext
24798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24799 echo "${ECHO_T}$ac_header_preproc" >&6
24801 # So? What about this header?
24802 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24804 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24805 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24806 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24807 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24808 ac_header_preproc
=yes
24811 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24812 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24813 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24814 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24815 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24816 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24817 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24818 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24819 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24820 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24821 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24822 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24825 ## ----------------------------------------- ##
24826 ## Report this to wx-dev@lists.wxwidgets.org ##
24827 ## ----------------------------------------- ##
24830 sed "s/^/$as_me: WARNING: /" >&2
24833 echo "$as_me:$LINENO: checking for zlib.h" >&5
24834 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24835 if test "${ac_cv_header_zlib_h+set}" = set; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 ac_cv_header_zlib_h
=$ac_header_preproc
24840 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24841 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24847 system_zlib_h_ok
=$ac_cv_header_zlib_h
24850 if test "$system_zlib_h_ok" = "yes"; then
24851 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24852 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24853 if test "${ac_cv_lib_z_deflate+set}" = set; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 ac_check_lib_save_LIBS
=$LIBS
24858 cat >conftest.
$ac_ext <<_ACEOF
24861 cat confdefs.h
>>conftest.
$ac_ext
24862 cat >>conftest.
$ac_ext <<_ACEOF
24863 /* end confdefs.h. */
24865 /* Override any gcc2 internal prototype to avoid an error. */
24869 /* We use char because int might match the return type of a gcc2
24870 builtin and then its argument prototype would still apply. */
24880 rm -f conftest.
$ac_objext conftest
$ac_exeext
24881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24882 (eval $ac_link) 2>conftest.er1
24884 grep -v '^ *+' conftest.er1
>conftest.err
24886 cat conftest.err
>&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } &&
24889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24891 (eval $ac_try) 2>&5
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); }; } &&
24895 { ac_try
='test -s conftest$ac_exeext'
24896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24897 (eval $ac_try) 2>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); }; }; then
24901 ac_cv_lib_z_deflate
=yes
24903 echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.
$ac_ext >&5
24906 ac_cv_lib_z_deflate
=no
24908 rm -f conftest.err conftest.
$ac_objext \
24909 conftest
$ac_exeext conftest.
$ac_ext
24910 LIBS
=$ac_check_lib_save_LIBS
24912 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24913 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24914 if test $ac_cv_lib_z_deflate = yes; then
24920 if test "x$ZLIB_LINK" = "x" ; then
24921 if test "$wxUSE_ZLIB" = "sys" ; then
24922 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24923 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24924 { (exit 1); exit 1; }; }
24926 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24927 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24938 if test "$wxUSE_LIBPNG" != "no" ; then
24939 cat >>confdefs.h
<<\_ACEOF
24940 #define wxUSE_LIBPNG 1
24944 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24945 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24946 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24950 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24951 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24952 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24953 wxUSE_LIBPNG
=builtin
24956 if test "$wxUSE_MGL" != 1 ; then
24957 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24958 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24959 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24960 if test "${ac_cv_header_png_h+set}" = set; then
24961 echo $ECHO_N "(cached) $ECHO_C" >&6
24963 if test "$cross_compiling" = yes; then
24964 unset ac_cv_header_png_h
24967 cat >conftest.
$ac_ext <<_ACEOF
24970 cat confdefs.h
>>conftest.
$ac_ext
24971 cat >>conftest.
$ac_ext <<_ACEOF
24972 /* end confdefs.h. */
24979 FILE *f=fopen("conftestval", "w");
24982 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24987 rm -f conftest
$ac_exeext
24988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24989 (eval $ac_link) 2>&5
24991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24992 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; }; then
24998 ac_cv_header_png_h
=`cat conftestval`
25000 echo "$as_me: program exited with status $ac_status" >&5
25001 echo "$as_me: failed program was:" >&5
25002 sed 's/^/| /' conftest.
$ac_ext >&5
25004 ( exit $ac_status )
25005 ac_cv_header_png_h
=no
25007 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25011 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25012 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25013 if test "${ac_cv_header_png_h+set}" = set; then
25014 echo "$as_me:$LINENO: checking for png.h" >&5
25015 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25016 if test "${ac_cv_header_png_h+set}" = set; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25020 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25022 # Is the header compilable?
25023 echo "$as_me:$LINENO: checking png.h usability" >&5
25024 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25025 cat >conftest.
$ac_ext <<_ACEOF
25028 cat confdefs.h
>>conftest.
$ac_ext
25029 cat >>conftest.
$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031 $ac_includes_default
25034 rm -f conftest.
$ac_objext
25035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25036 (eval $ac_compile) 2>conftest.er1
25038 grep -v '^ *+' conftest.er1
>conftest.err
25040 cat conftest.err
>&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); } &&
25043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045 (eval $ac_try) 2>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); }; } &&
25049 { ac_try
='test -s conftest.$ac_objext'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; }; then
25055 ac_header_compiler
=yes
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.
$ac_ext >&5
25060 ac_header_compiler
=no
25062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25064 echo "${ECHO_T}$ac_header_compiler" >&6
25066 # Is the header present?
25067 echo "$as_me:$LINENO: checking png.h presence" >&5
25068 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25069 cat >conftest.
$ac_ext <<_ACEOF
25072 cat confdefs.h
>>conftest.
$ac_ext
25073 cat >>conftest.
$ac_ext <<_ACEOF
25074 /* end confdefs.h. */
25077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25078 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25080 grep -v '^ *+' conftest.er1
>conftest.err
25082 cat conftest.err
>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); } >/dev
/null
; then
25085 if test -s conftest.err
; then
25086 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25087 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25094 if test -z "$ac_cpp_err"; then
25095 ac_header_preproc
=yes
25097 echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.
$ac_ext >&5
25100 ac_header_preproc
=no
25102 rm -f conftest.err conftest.
$ac_ext
25103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25104 echo "${ECHO_T}$ac_header_preproc" >&6
25106 # So? What about this header?
25107 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25109 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25110 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25111 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25112 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25113 ac_header_preproc
=yes
25116 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25117 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25118 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25119 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25120 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25121 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25122 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25123 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25124 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25125 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25126 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25127 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25130 ## ----------------------------------------- ##
25131 ## Report this to wx-dev@lists.wxwidgets.org ##
25132 ## ----------------------------------------- ##
25135 sed "s/^/$as_me: WARNING: /" >&2
25138 echo "$as_me:$LINENO: checking for png.h" >&5
25139 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25140 if test "${ac_cv_header_png_h+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25143 ac_cv_header_png_h
=$ac_header_preproc
25145 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25146 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25152 if test "$ac_cv_header_png_h" = "yes"; then
25153 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25154 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25155 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25158 ac_check_lib_save_LIBS
=$LIBS
25159 LIBS
="-lpng -lz -lm $LIBS"
25160 cat >conftest.
$ac_ext <<_ACEOF
25163 cat confdefs.h
>>conftest.
$ac_ext
25164 cat >>conftest.
$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25167 /* Override any gcc2 internal prototype to avoid an error. */
25171 /* We use char because int might match the return type of a gcc2
25172 builtin and then its argument prototype would still apply. */
25173 char png_check_sig ();
25182 rm -f conftest.
$ac_objext conftest
$ac_exeext
25183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25184 (eval $ac_link) 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_exeext'
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_lib_png_png_check_sig
=yes
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.
$ac_ext >&5
25208 ac_cv_lib_png_png_check_sig
=no
25210 rm -f conftest.err conftest.
$ac_objext \
25211 conftest
$ac_exeext conftest.
$ac_ext
25212 LIBS
=$ac_check_lib_save_LIBS
25214 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25215 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25216 if test $ac_cv_lib_png_png_check_sig = yes; then
25217 PNG_LINK
=" -lpng -lz"
25222 if test "x$PNG_LINK" = "x" ; then
25223 if test "$wxUSE_LIBPNG" = "sys" ; then
25224 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25225 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25226 { (exit 1); exit 1; }; }
25228 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25229 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25230 wxUSE_LIBPNG
=builtin
25238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25243 if test "$wxUSE_LIBJPEG" != "no" ; then
25244 cat >>confdefs.h
<<\_ACEOF
25245 #define wxUSE_LIBJPEG 1
25249 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25250 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25251 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25255 if test "$wxUSE_MGL" != 1 ; then
25256 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25257 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25258 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25259 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25260 echo $ECHO_N "(cached) $ECHO_C" >&6
25262 cat >conftest.
$ac_ext <<_ACEOF
25265 cat confdefs.h
>>conftest.
$ac_ext
25266 cat >>conftest.
$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25269 #undef HAVE_STDLIB_H
25271 #include <jpeglib.h>
25282 rm -f conftest.
$ac_objext
25283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25284 (eval $ac_compile) 2>conftest.er1
25286 grep -v '^ *+' conftest.er1
>conftest.err
25288 cat conftest.err
>&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); } &&
25291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; } &&
25297 { ac_try
='test -s conftest.$ac_objext'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; }; then
25303 ac_cv_header_jpeglib_h
=yes
25305 echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.
$ac_ext >&5
25308 ac_cv_header_jpeglib_h
=no
25311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25315 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25316 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25318 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25319 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25320 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25321 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25322 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 ac_check_lib_save_LIBS
=$LIBS
25325 LIBS
="-ljpeg $LIBS"
25326 cat >conftest.
$ac_ext <<_ACEOF
25329 cat confdefs.h
>>conftest.
$ac_ext
25330 cat >>conftest.
$ac_ext <<_ACEOF
25331 /* end confdefs.h. */
25333 /* Override any gcc2 internal prototype to avoid an error. */
25337 /* We use char because int might match the return type of a gcc2
25338 builtin and then its argument prototype would still apply. */
25339 char jpeg_read_header ();
25343 jpeg_read_header ();
25348 rm -f conftest.
$ac_objext conftest
$ac_exeext
25349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25350 (eval $ac_link) 2>conftest.er1
25352 grep -v '^ *+' conftest.er1
>conftest.err
25354 cat conftest.err
>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } &&
25357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
25363 { ac_try
='test -s conftest$ac_exeext'
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; }; then
25369 ac_cv_lib_jpeg_jpeg_read_header
=yes
25371 echo "$as_me: failed program was:" >&5
25372 sed 's/^/| /' conftest.
$ac_ext >&5
25374 ac_cv_lib_jpeg_jpeg_read_header
=no
25376 rm -f conftest.err conftest.
$ac_objext \
25377 conftest
$ac_exeext conftest.
$ac_ext
25378 LIBS
=$ac_check_lib_save_LIBS
25380 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25381 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25382 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25383 JPEG_LINK
=" -ljpeg"
25388 if test "x$JPEG_LINK" = "x" ; then
25389 if test "$wxUSE_LIBJPEG" = "sys" ; then
25390 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25391 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25392 { (exit 1); exit 1; }; }
25394 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25395 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25396 wxUSE_LIBJPEG
=builtin
25407 TIFF_PREREQ_LINKS
=-lm
25408 if test "$wxUSE_LIBTIFF" != "no" ; then
25409 cat >>confdefs.h
<<\_ACEOF
25410 #define wxUSE_LIBTIFF 1
25414 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25415 if test "$wxUSE_LIBJPEG" = "sys"; then
25416 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25418 if test "$wxUSE_ZLIB" = "sys"; then
25419 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25421 if test "${ac_cv_header_tiffio_h+set}" = set; then
25422 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25423 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25424 if test "${ac_cv_header_tiffio_h+set}" = set; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25427 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25428 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25430 # Is the header compilable?
25431 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25432 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25433 cat >conftest.
$ac_ext <<_ACEOF
25436 cat confdefs.h
>>conftest.
$ac_ext
25437 cat >>conftest.
$ac_ext <<_ACEOF
25438 /* end confdefs.h. */
25439 $ac_includes_default
25440 #include <tiffio.h>
25442 rm -f conftest.
$ac_objext
25443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25444 (eval $ac_compile) 2>conftest.er1
25446 grep -v '^ *+' conftest.er1
>conftest.err
25448 cat conftest.err
>&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } &&
25451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25453 (eval $ac_try) 2>&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); }; } &&
25457 { ac_try
='test -s conftest.$ac_objext'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; }; then
25463 ac_header_compiler
=yes
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.
$ac_ext >&5
25468 ac_header_compiler
=no
25470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25472 echo "${ECHO_T}$ac_header_compiler" >&6
25474 # Is the header present?
25475 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25476 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25477 cat >conftest.
$ac_ext <<_ACEOF
25480 cat confdefs.h
>>conftest.
$ac_ext
25481 cat >>conftest.
$ac_ext <<_ACEOF
25482 /* end confdefs.h. */
25483 #include <tiffio.h>
25485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25488 grep -v '^ *+' conftest.er1
>conftest.err
25490 cat conftest.err
>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); } >/dev
/null
; then
25493 if test -s conftest.err
; then
25494 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25495 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25502 if test -z "$ac_cpp_err"; then
25503 ac_header_preproc
=yes
25505 echo "$as_me: failed program was:" >&5
25506 sed 's/^/| /' conftest.
$ac_ext >&5
25508 ac_header_preproc
=no
25510 rm -f conftest.err conftest.
$ac_ext
25511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25512 echo "${ECHO_T}$ac_header_preproc" >&6
25514 # So? What about this header?
25515 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25517 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25518 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25519 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25520 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25521 ac_header_preproc
=yes
25524 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25525 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25526 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25527 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25528 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25529 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25530 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25531 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25532 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25533 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25534 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25535 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25538 ## ----------------------------------------- ##
25539 ## Report this to wx-dev@lists.wxwidgets.org ##
25540 ## ----------------------------------------- ##
25543 sed "s/^/$as_me: WARNING: /" >&2
25546 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25547 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25548 if test "${ac_cv_header_tiffio_h+set}" = set; then
25549 echo $ECHO_N "(cached) $ECHO_C" >&6
25551 ac_cv_header_tiffio_h
=$ac_header_preproc
25553 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25554 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25557 if test $ac_cv_header_tiffio_h = yes; then
25559 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25560 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25561 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25562 echo $ECHO_N "(cached) $ECHO_C" >&6
25564 ac_check_lib_save_LIBS
=$LIBS
25565 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25566 cat >conftest.
$ac_ext <<_ACEOF
25569 cat confdefs.h
>>conftest.
$ac_ext
25570 cat >>conftest.
$ac_ext <<_ACEOF
25571 /* end confdefs.h. */
25573 /* Override any gcc2 internal prototype to avoid an error. */
25577 /* We use char because int might match the return type of a gcc2
25578 builtin and then its argument prototype would still apply. */
25588 rm -f conftest.
$ac_objext conftest
$ac_exeext
25589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25590 (eval $ac_link) 2>conftest.er1
25592 grep -v '^ *+' conftest.er1
>conftest.err
25594 cat conftest.err
>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); } &&
25597 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25599 (eval $ac_try) 2>&5
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); }; } &&
25603 { ac_try
='test -s conftest$ac_exeext'
25604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25605 (eval $ac_try) 2>&5
25607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608 (exit $ac_status); }; }; then
25609 ac_cv_lib_tiff_TIFFError
=yes
25611 echo "$as_me: failed program was:" >&5
25612 sed 's/^/| /' conftest.
$ac_ext >&5
25614 ac_cv_lib_tiff_TIFFError
=no
25616 rm -f conftest.err conftest.
$ac_objext \
25617 conftest
$ac_exeext conftest.
$ac_ext
25618 LIBS
=$ac_check_lib_save_LIBS
25620 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25621 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25622 if test $ac_cv_lib_tiff_TIFFError = yes; then
25623 TIFF_LINK
=" -ltiff"
25632 if test "x$TIFF_LINK" = "x" ; then
25633 if test "$wxUSE_LIBTIFF" = "sys" ; then
25634 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25635 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25636 { (exit 1); exit 1; }; }
25638 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25639 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25640 wxUSE_LIBTIFF
=builtin
25649 if test "$wxUSE_WCHAR_T" != "yes"; then
25650 if test "$wxUSE_EXPAT" != "no"; then
25651 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25652 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25655 if test "$wxUSE_XML" != "no"; then
25656 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25657 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25662 if test "$wxUSE_EXPAT" != "no"; then
25664 cat >>confdefs.h
<<\_ACEOF
25665 #define wxUSE_EXPAT 1
25668 cat >>confdefs.h
<<\_ACEOF
25669 #define wxUSE_XML 1
25673 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25674 if test "${ac_cv_header_expat_h+set}" = set; then
25675 echo "$as_me:$LINENO: checking for expat.h" >&5
25676 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25677 if test "${ac_cv_header_expat_h+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25681 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25683 # Is the header compilable?
25684 echo "$as_me:$LINENO: checking expat.h usability" >&5
25685 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25686 cat >conftest.
$ac_ext <<_ACEOF
25689 cat confdefs.h
>>conftest.
$ac_ext
25690 cat >>conftest.
$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25692 $ac_includes_default
25695 rm -f conftest.
$ac_objext
25696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25697 (eval $ac_compile) 2>conftest.er1
25699 grep -v '^ *+' conftest.er1
>conftest.err
25701 cat conftest.err
>&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); } &&
25704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; } &&
25710 { ac_try
='test -s conftest.$ac_objext'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; }; then
25716 ac_header_compiler
=yes
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.
$ac_ext >&5
25721 ac_header_compiler
=no
25723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25725 echo "${ECHO_T}$ac_header_compiler" >&6
25727 # Is the header present?
25728 echo "$as_me:$LINENO: checking expat.h presence" >&5
25729 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25730 cat >conftest.
$ac_ext <<_ACEOF
25733 cat confdefs.h
>>conftest.
$ac_ext
25734 cat >>conftest.
$ac_ext <<_ACEOF
25735 /* end confdefs.h. */
25738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25739 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
25746 if test -s conftest.err
; then
25747 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25748 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25755 if test -z "$ac_cpp_err"; then
25756 ac_header_preproc
=yes
25758 echo "$as_me: failed program was:" >&5
25759 sed 's/^/| /' conftest.
$ac_ext >&5
25761 ac_header_preproc
=no
25763 rm -f conftest.err conftest.
$ac_ext
25764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25765 echo "${ECHO_T}$ac_header_preproc" >&6
25767 # So? What about this header?
25768 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25770 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25771 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25772 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25773 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25774 ac_header_preproc
=yes
25777 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25778 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25779 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25780 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25781 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25782 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25783 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25784 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25785 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25786 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25787 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25788 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25791 ## ----------------------------------------- ##
25792 ## Report this to wx-dev@lists.wxwidgets.org ##
25793 ## ----------------------------------------- ##
25796 sed "s/^/$as_me: WARNING: /" >&2
25799 echo "$as_me:$LINENO: checking for expat.h" >&5
25800 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25801 if test "${ac_cv_header_expat_h+set}" = set; then
25802 echo $ECHO_N "(cached) $ECHO_C" >&6
25804 ac_cv_header_expat_h
=$ac_header_preproc
25806 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25807 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25810 if test $ac_cv_header_expat_h = yes; then
25815 if test "x$found_expat_h" = "x1"; then
25816 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25817 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25818 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25819 echo $ECHO_N "(cached) $ECHO_C" >&6
25822 cat >conftest.
$ac_ext <<_ACEOF
25825 cat confdefs.h
>>conftest.
$ac_ext
25826 cat >>conftest.
$ac_ext <<_ACEOF
25827 /* end confdefs.h. */
25837 rm -f conftest.
$ac_objext
25838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25839 (eval $ac_compile) 2>conftest.er1
25841 grep -v '^ *+' conftest.er1
>conftest.err
25843 cat conftest.err
>&5
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } &&
25846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25848 (eval $ac_try) 2>&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); }; } &&
25852 { ac_try
='test -s conftest.$ac_objext'
25853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854 (eval $ac_try) 2>&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); }; }; then
25858 wx_cv_expat_is_not_broken
=yes
25860 echo "$as_me: failed program was:" >&5
25861 sed 's/^/| /' conftest.
$ac_ext >&5
25863 wx_cv_expat_is_not_broken
=no
25866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25870 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25871 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25872 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25873 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25874 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25875 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25876 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 ac_check_lib_save_LIBS
=$LIBS
25879 LIBS
="-lexpat $LIBS"
25880 cat >conftest.
$ac_ext <<_ACEOF
25883 cat confdefs.h
>>conftest.
$ac_ext
25884 cat >>conftest.
$ac_ext <<_ACEOF
25885 /* end confdefs.h. */
25887 /* Override any gcc2 internal prototype to avoid an error. */
25891 /* We use char because int might match the return type of a gcc2
25892 builtin and then its argument prototype would still apply. */
25893 char XML_ParserCreate ();
25897 XML_ParserCreate ();
25902 rm -f conftest.
$ac_objext conftest
$ac_exeext
25903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25904 (eval $ac_link) 2>conftest.er1
25906 grep -v '^ *+' conftest.er1
>conftest.err
25908 cat conftest.err
>&5
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); } &&
25911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25913 (eval $ac_try) 2>&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); }; } &&
25917 { ac_try
='test -s conftest$ac_exeext'
25918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919 (eval $ac_try) 2>&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); }; }; then
25923 ac_cv_lib_expat_XML_ParserCreate
=yes
25925 echo "$as_me: failed program was:" >&5
25926 sed 's/^/| /' conftest.
$ac_ext >&5
25928 ac_cv_lib_expat_XML_ParserCreate
=no
25930 rm -f conftest.err conftest.
$ac_objext \
25931 conftest
$ac_exeext conftest.
$ac_ext
25932 LIBS
=$ac_check_lib_save_LIBS
25934 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25935 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25936 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25937 EXPAT_LINK
=" -lexpat"
25942 if test "x$EXPAT_LINK" = "x" ; then
25943 if test "$wxUSE_EXPAT" = "sys" ; then
25944 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25945 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25946 { (exit 1); exit 1; }; }
25948 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25949 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25950 wxUSE_EXPAT
=builtin
25956 if test "$wxUSE_EXPAT" = "builtin" ; then
25959 subdirs
="$subdirs src/expat"
25966 if test "$wxUSE_LIBMSPACK" != "no"; then
25967 if test "${ac_cv_header_mspack_h+set}" = set; then
25968 echo "$as_me:$LINENO: checking for mspack.h" >&5
25969 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25970 if test "${ac_cv_header_mspack_h+set}" = set; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25973 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25974 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25976 # Is the header compilable?
25977 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25978 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25979 cat >conftest.
$ac_ext <<_ACEOF
25982 cat confdefs.h
>>conftest.
$ac_ext
25983 cat >>conftest.
$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985 $ac_includes_default
25986 #include <mspack.h>
25988 rm -f conftest.
$ac_objext
25989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25990 (eval $ac_compile) 2>conftest.er1
25992 grep -v '^ *+' conftest.er1
>conftest.err
25994 cat conftest.err
>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } &&
25997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25999 (eval $ac_try) 2>&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); }; } &&
26003 { ac_try
='test -s conftest.$ac_objext'
26004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26005 (eval $ac_try) 2>&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; }; then
26009 ac_header_compiler
=yes
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.
$ac_ext >&5
26014 ac_header_compiler
=no
26016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26018 echo "${ECHO_T}$ac_header_compiler" >&6
26020 # Is the header present?
26021 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26022 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26023 cat >conftest.
$ac_ext <<_ACEOF
26026 cat confdefs.h
>>conftest.
$ac_ext
26027 cat >>conftest.
$ac_ext <<_ACEOF
26028 /* end confdefs.h. */
26029 #include <mspack.h>
26031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26034 grep -v '^ *+' conftest.er1
>conftest.err
26036 cat conftest.err
>&5
26037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038 (exit $ac_status); } >/dev
/null
; then
26039 if test -s conftest.err
; then
26040 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26041 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26048 if test -z "$ac_cpp_err"; then
26049 ac_header_preproc
=yes
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.
$ac_ext >&5
26054 ac_header_preproc
=no
26056 rm -f conftest.err conftest.
$ac_ext
26057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26058 echo "${ECHO_T}$ac_header_preproc" >&6
26060 # So? What about this header?
26061 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26063 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26064 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26065 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26066 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26067 ac_header_preproc
=yes
26070 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26071 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26072 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26073 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26074 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26075 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26076 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26077 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26078 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26079 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26080 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26081 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26084 ## ----------------------------------------- ##
26085 ## Report this to wx-dev@lists.wxwidgets.org ##
26086 ## ----------------------------------------- ##
26089 sed "s/^/$as_me: WARNING: /" >&2
26092 echo "$as_me:$LINENO: checking for mspack.h" >&5
26093 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26094 if test "${ac_cv_header_mspack_h+set}" = set; then
26095 echo $ECHO_N "(cached) $ECHO_C" >&6
26097 ac_cv_header_mspack_h
=$ac_header_preproc
26099 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26100 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26103 if test $ac_cv_header_mspack_h = yes; then
26108 if test "x$found_mspack_h" = "x1"; then
26109 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26110 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26111 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26112 echo $ECHO_N "(cached) $ECHO_C" >&6
26114 ac_check_lib_save_LIBS
=$LIBS
26115 LIBS
="-lmspack $LIBS"
26116 cat >conftest.
$ac_ext <<_ACEOF
26119 cat confdefs.h
>>conftest.
$ac_ext
26120 cat >>conftest.
$ac_ext <<_ACEOF
26121 /* end confdefs.h. */
26123 /* Override any gcc2 internal prototype to avoid an error. */
26127 /* We use char because int might match the return type of a gcc2
26128 builtin and then its argument prototype would still apply. */
26129 char mspack_create_chm_decompressor ();
26133 mspack_create_chm_decompressor ();
26138 rm -f conftest.
$ac_objext conftest
$ac_exeext
26139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26140 (eval $ac_link) 2>conftest.er1
26142 grep -v '^ *+' conftest.er1
>conftest.err
26144 cat conftest.err
>&5
26145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26146 (exit $ac_status); } &&
26147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26149 (eval $ac_try) 2>&5
26151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26152 (exit $ac_status); }; } &&
26153 { ac_try
='test -s conftest$ac_exeext'
26154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26155 (eval $ac_try) 2>&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); }; }; then
26159 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.
$ac_ext >&5
26164 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26166 rm -f conftest.err conftest.
$ac_objext \
26167 conftest
$ac_exeext conftest.
$ac_ext
26168 LIBS
=$ac_check_lib_save_LIBS
26170 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26171 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26172 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26173 MSPACK_LINK
=" -lmspack"
26177 if test "x$MSPACK_LINK" = "x" ; then
26182 if test "$wxUSE_LIBMSPACK" != "no"; then
26183 cat >>confdefs.h
<<\_ACEOF
26184 #define wxUSE_LIBMSPACK 1
26198 if test "$USE_WIN32" = 1 ; then
26200 for ac_header
in w32api.h
26202 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26204 echo "$as_me:$LINENO: checking for $ac_header" >&5
26205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26207 echo $ECHO_N "(cached) $ECHO_C" >&6
26209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26212 # Is the header compilable?
26213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26215 cat >conftest.
$ac_ext <<_ACEOF
26218 cat confdefs.h
>>conftest.
$ac_ext
26219 cat >>conftest.
$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26221 $ac_includes_default
26222 #include <$ac_header>
26224 rm -f conftest.
$ac_objext
26225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26226 (eval $ac_compile) 2>conftest.er1
26228 grep -v '^ *+' conftest.er1
>conftest.err
26230 cat conftest.err
>&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); } &&
26233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235 (eval $ac_try) 2>&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); }; } &&
26239 { ac_try
='test -s conftest.$ac_objext'
26240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241 (eval $ac_try) 2>&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; }; then
26245 ac_header_compiler
=yes
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.
$ac_ext >&5
26250 ac_header_compiler
=no
26252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26254 echo "${ECHO_T}$ac_header_compiler" >&6
26256 # Is the header present?
26257 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26259 cat >conftest.
$ac_ext <<_ACEOF
26262 cat confdefs.h
>>conftest.
$ac_ext
26263 cat >>conftest.
$ac_ext <<_ACEOF
26264 /* end confdefs.h. */
26265 #include <$ac_header>
26267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26268 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26270 grep -v '^ *+' conftest.er1
>conftest.err
26272 cat conftest.err
>&5
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); } >/dev
/null
; then
26275 if test -s conftest.err
; then
26276 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26277 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26284 if test -z "$ac_cpp_err"; then
26285 ac_header_preproc
=yes
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.
$ac_ext >&5
26290 ac_header_preproc
=no
26292 rm -f conftest.err conftest.
$ac_ext
26293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26294 echo "${ECHO_T}$ac_header_preproc" >&6
26296 # So? What about this header?
26297 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26302 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26303 ac_header_preproc
=yes
26306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26307 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26309 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26310 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26311 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26312 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26313 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26316 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26317 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26320 ## ----------------------------------------- ##
26321 ## Report this to wx-dev@lists.wxwidgets.org ##
26322 ## ----------------------------------------- ##
26325 sed "s/^/$as_me: WARNING: /" >&2
26328 echo "$as_me:$LINENO: checking for $ac_header" >&5
26329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26333 eval "$as_ac_Header=\$ac_header_preproc"
26335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26340 cat >>confdefs.h
<<_ACEOF
26341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26348 if test "${ac_cv_header_windows_h+set}" = set; then
26349 echo "$as_me:$LINENO: checking for windows.h" >&5
26350 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26351 if test "${ac_cv_header_windows_h+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26354 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26355 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26357 # Is the header compilable?
26358 echo "$as_me:$LINENO: checking windows.h usability" >&5
26359 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26360 cat >conftest.
$ac_ext <<_ACEOF
26363 cat confdefs.h
>>conftest.
$ac_ext
26364 cat >>conftest.
$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26366 $ac_includes_default
26367 #include <windows.h>
26369 rm -f conftest.
$ac_objext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26371 (eval $ac_compile) 2>conftest.er1
26373 grep -v '^ *+' conftest.er1
>conftest.err
26375 cat conftest.err
>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26380 (eval $ac_try) 2>&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); }; } &&
26384 { ac_try
='test -s conftest.$ac_objext'
26385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26386 (eval $ac_try) 2>&5
26388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26389 (exit $ac_status); }; }; then
26390 ac_header_compiler
=yes
26392 echo "$as_me: failed program was:" >&5
26393 sed 's/^/| /' conftest.
$ac_ext >&5
26395 ac_header_compiler
=no
26397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26398 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26399 echo "${ECHO_T}$ac_header_compiler" >&6
26401 # Is the header present?
26402 echo "$as_me:$LINENO: checking windows.h presence" >&5
26403 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26404 cat >conftest.
$ac_ext <<_ACEOF
26407 cat confdefs.h
>>conftest.
$ac_ext
26408 cat >>conftest.
$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26410 #include <windows.h>
26412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26415 grep -v '^ *+' conftest.er1
>conftest.err
26417 cat conftest.err
>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); } >/dev
/null
; then
26420 if test -s conftest.err
; then
26421 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26422 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26429 if test -z "$ac_cpp_err"; then
26430 ac_header_preproc
=yes
26432 echo "$as_me: failed program was:" >&5
26433 sed 's/^/| /' conftest.
$ac_ext >&5
26435 ac_header_preproc
=no
26437 rm -f conftest.err conftest.
$ac_ext
26438 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26439 echo "${ECHO_T}$ac_header_preproc" >&6
26441 # So? What about this header?
26442 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26444 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26445 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26446 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26447 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26448 ac_header_preproc
=yes
26451 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26452 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26453 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26454 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26455 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26456 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26457 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26458 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26459 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26460 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26461 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26462 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26465 ## ----------------------------------------- ##
26466 ## Report this to wx-dev@lists.wxwidgets.org ##
26467 ## ----------------------------------------- ##
26470 sed "s/^/$as_me: WARNING: /" >&2
26473 echo "$as_me:$LINENO: checking for windows.h" >&5
26474 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26475 if test "${ac_cv_header_windows_h+set}" = set; then
26476 echo $ECHO_N "(cached) $ECHO_C" >&6
26478 ac_cv_header_windows_h
=$ac_header_preproc
26480 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26484 if test $ac_cv_header_windows_h = yes; then
26488 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26489 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26490 { (exit 1); exit 1; }; }
26496 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26498 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26499 LIBS
="$LIBS -loleacc"
26504 LIBS
="$LIBS -lkernel32 -luser32"
26507 if test "$wxUSE_ODBC" = "sys" ; then
26510 if test "$wxUSE_ODBC" = "yes" ; then
26511 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26512 cat >>confdefs.h
<<\_ACEOF
26513 #define wxUSE_ODBC 1
26518 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26519 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26521 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26523 WIN32INSTALL
=win32install
26526 if test "$wxUSE_GUI" = "yes"; then
26536 if test "$wxUSE_COCOA" = 1 ; then
26537 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26538 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26539 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26540 wxUSE_PRINTING_ARCHITECTURE
=no
26542 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26543 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26544 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26545 wxUSE_DRAG_AND_DROP
=no
26547 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26548 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26549 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26554 if test "$wxUSE_MSW" = 1 ; then
26560 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26564 if test "$wxUSE_GTK" = 1; then
26566 ac_cpp
='$CPP $CPPFLAGS'
26567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26572 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26573 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26575 gtk_version_cached
=1
26576 if test "${wx_cv_lib_gtk+set}" = set; then
26577 echo $ECHO_N "(cached) $ECHO_C" >&6
26580 gtk_version_cached
=0
26581 echo "$as_me:$LINENO: result: " >&5
26582 echo "${ECHO_T}" >&6
26585 if test "$wxUSE_THREADS" = "yes"; then
26586 GTK_MODULES
=gthread
26590 if test "x$wxGTK_VERSION" != "x1"
26594 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26599 # Check whether --enable-gtktest or --disable-gtktest was given.
26600 if test "${enable_gtktest+set}" = set; then
26601 enableval
="$enable_gtktest"
26607 pkg_config_args
=gtk
+-2.0
26608 for module
in .
$GTK_MODULES
26612 pkg_config_args
="$pkg_config_args gthread-2.0"
26619 # Extract the first word of "pkg-config", so it can be a program name with args.
26620 set dummy pkg
-config; ac_word
=$2
26621 echo "$as_me:$LINENO: checking for $ac_word" >&5
26622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26623 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26624 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 case $PKG_CONFIG in
26628 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26632 for as_dir
in $PATH
26635 test -z "$as_dir" && as_dir
=.
26636 for ac_exec_ext
in '' $ac_executable_extensions; do
26637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26638 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26645 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26649 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26651 if test -n "$PKG_CONFIG"; then
26652 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26653 echo "${ECHO_T}$PKG_CONFIG" >&6
26655 echo "$as_me:$LINENO: result: no" >&5
26656 echo "${ECHO_T}no" >&6
26660 if test x
$PKG_CONFIG != xno
; then
26661 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26664 echo "*** pkg-config too old; version 0.7 or better required."
26672 min_gtk_version
=2.0.0
26673 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26674 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26676 if test x
$PKG_CONFIG != xno
; then
26677 ## don't try to run the test against uninstalled libtool libs
26678 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26679 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26683 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26690 if test x
"$no_gtk" = x
; then
26691 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26692 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26693 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26695 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26696 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26697 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26699 if test "x$enable_gtktest" = "xyes" ; then
26700 ac_save_CFLAGS
="$CFLAGS"
26701 ac_save_LIBS
="$LIBS"
26702 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26703 LIBS
="$GTK_LIBS $LIBS"
26705 if test "$cross_compiling" = yes; then
26706 echo $ac_n "cross compiling; assumed OK... $ac_c"
26708 cat >conftest.
$ac_ext <<_ACEOF
26711 cat confdefs.h
>>conftest.
$ac_ext
26712 cat >>conftest.
$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26715 #include <gtk/gtk.h>
26717 #include <stdlib.h>
26722 int major, minor, micro;
26725 system ("touch conf.gtktest");
26727 /* HP/UX 9 (%@#!) writes to sscanf strings */
26728 tmp_version = g_strdup("$min_gtk_version");
26729 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26730 printf("%s, bad version string\n", "$min_gtk_version");
26734 if ((gtk_major_version != $gtk_config_major_version) ||
26735 (gtk_minor_version != $gtk_config_minor_version) ||
26736 (gtk_micro_version != $gtk_config_micro_version))
26738 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26739 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26740 gtk_major_version, gtk_minor_version, gtk_micro_version);
26741 printf ("*** was found! If pkg-config was correct, then it is best\n");
26742 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26743 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26744 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26745 printf("*** required on your system.\n");
26746 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26747 printf("*** to point to the correct configuration files\n");
26749 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26750 (gtk_minor_version != GTK_MINOR_VERSION) ||
26751 (gtk_micro_version != GTK_MICRO_VERSION))
26753 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26754 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26755 printf("*** library (version %d.%d.%d)\n",
26756 gtk_major_version, gtk_minor_version, gtk_micro_version);
26760 if ((gtk_major_version > major) ||
26761 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26762 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26768 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26769 gtk_major_version, gtk_minor_version, gtk_micro_version);
26770 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26771 major, minor, micro);
26772 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26774 printf("*** If you have already installed a sufficiently new version, this error\n");
26775 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26776 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26777 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26778 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26779 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26780 printf("*** so that the correct libraries are found at run-time))\n");
26787 rm -f conftest
$ac_exeext
26788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26789 (eval $ac_link) 2>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26794 (eval $ac_try) 2>&5
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); }; }; then
26800 echo "$as_me: program exited with status $ac_status" >&5
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.
$ac_ext >&5
26804 ( exit $ac_status )
26807 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26809 CFLAGS
="$ac_save_CFLAGS"
26810 LIBS
="$ac_save_LIBS"
26813 if test "x$no_gtk" = x
; then
26814 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26815 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26818 echo "$as_me:$LINENO: result: no" >&5
26819 echo "${ECHO_T}no" >&6
26820 if test "$PKG_CONFIG" = "no" ; then
26821 echo "*** A new enough version of pkg-config was not found."
26822 echo "*** See http://pkgconfig.sourceforge.net"
26824 if test -f conf.gtktest
; then
26827 echo "*** Could not run GTK+ test program, checking why..."
26828 ac_save_CFLAGS
="$CFLAGS"
26829 ac_save_LIBS
="$LIBS"
26830 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26831 LIBS
="$LIBS $GTK_LIBS"
26832 cat >conftest.
$ac_ext <<_ACEOF
26835 cat confdefs.h
>>conftest.
$ac_ext
26836 cat >>conftest.
$ac_ext <<_ACEOF
26837 /* end confdefs.h. */
26839 #include <gtk/gtk.h>
26845 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26850 rm -f conftest.
$ac_objext conftest
$ac_exeext
26851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26852 (eval $ac_link) 2>conftest.er1
26854 grep -v '^ *+' conftest.er1
>conftest.err
26856 cat conftest.err
>&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } &&
26859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26861 (eval $ac_try) 2>&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); }; } &&
26865 { ac_try
='test -s conftest$ac_exeext'
26866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26867 (eval $ac_try) 2>&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); }; }; then
26871 echo "*** The test program compiled, but did not run. This usually means"
26872 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26873 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26874 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26875 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26876 echo "*** is required on your system"
26878 echo "*** If you have an old version installed, it is best to remove it, although"
26879 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.
$ac_ext >&5
26884 echo "*** The test program failed to compile or link. See the file config.log for the"
26885 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26887 rm -f conftest.err conftest.
$ac_objext \
26888 conftest
$ac_exeext conftest.
$ac_ext
26889 CFLAGS
="$ac_save_CFLAGS"
26890 LIBS
="$ac_save_LIBS"
26904 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26905 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26906 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26908 if test "$wxUSE_SHARED" != "yes"; then
26909 GTK_LIBS
="$GTK_LIBS -lX11"
26914 if test -z "$wx_cv_lib_gtk"; then
26915 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26917 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26918 if test "${with_gtk_prefix+set}" = set; then
26919 withval
="$with_gtk_prefix"
26920 gtk_config_prefix
="$withval"
26922 gtk_config_prefix
=""
26925 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26926 if test "${with_gtk_exec_prefix+set}" = set; then
26927 withval
="$with_gtk_exec_prefix"
26928 gtk_config_exec_prefix
="$withval"
26930 gtk_config_exec_prefix
=""
26932 # Check whether --enable-gtktest or --disable-gtktest was given.
26933 if test "${enable_gtktest+set}" = set; then
26934 enableval
="$enable_gtktest"
26940 for module
in .
$GTK_MODULES
26944 gtk_config_args
="$gtk_config_args gthread"
26949 if test x
$gtk_config_exec_prefix != x
; then
26950 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26951 if test x
${GTK_CONFIG+set} != xset
; then
26952 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26955 if test x
$gtk_config_prefix != x
; then
26956 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26957 if test x
${GTK_CONFIG+set} != xset
; then
26958 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26962 # Extract the first word of "gtk-config", so it can be a program name with args.
26963 set dummy gtk
-config; ac_word
=$2
26964 echo "$as_me:$LINENO: checking for $ac_word" >&5
26965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26966 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26967 echo $ECHO_N "(cached) $ECHO_C" >&6
26969 case $GTK_CONFIG in
26971 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26975 for as_dir
in $PATH
26978 test -z "$as_dir" && as_dir
=.
26979 for ac_exec_ext
in '' $ac_executable_extensions; do
26980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26981 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26988 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26992 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26994 if test -n "$GTK_CONFIG"; then
26995 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26996 echo "${ECHO_T}$GTK_CONFIG" >&6
26998 echo "$as_me:$LINENO: result: no" >&5
26999 echo "${ECHO_T}no" >&6
27002 min_gtk_version
=1.2.7
27003 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27004 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27006 if test "$GTK_CONFIG" = "no" ; then
27009 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27010 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27011 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27012 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27013 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27014 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27015 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27016 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27017 if test "x$enable_gtktest" = "xyes" ; then
27018 ac_save_CFLAGS
="$CFLAGS"
27019 ac_save_LIBS
="$LIBS"
27020 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27021 LIBS
="$GTK_LIBS $LIBS"
27023 if test "$cross_compiling" = yes; then
27024 echo $ac_n "cross compiling; assumed OK... $ac_c"
27026 cat >conftest.
$ac_ext <<_ACEOF
27029 cat confdefs.h
>>conftest.
$ac_ext
27030 cat >>conftest.
$ac_ext <<_ACEOF
27031 /* end confdefs.h. */
27033 #include <gtk/gtk.h>
27035 #include <stdlib.h>
27040 int major, minor, micro;
27043 system ("touch conf.gtktest");
27045 /* HP/UX 9 (%@#!) writes to sscanf strings */
27046 tmp_version = g_strdup("$min_gtk_version");
27047 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27048 printf("%s, bad version string\n", "$min_gtk_version");
27052 if ((gtk_major_version != $gtk_config_major_version) ||
27053 (gtk_minor_version != $gtk_config_minor_version) ||
27054 (gtk_micro_version != $gtk_config_micro_version))
27056 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27057 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27058 gtk_major_version, gtk_minor_version, gtk_micro_version);
27059 printf ("*** was found! If gtk-config was correct, then it is best\n");
27060 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27061 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27062 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27063 printf("*** required on your system.\n");
27064 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27065 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27066 printf("*** before re-running configure\n");
27068 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27069 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27070 (gtk_minor_version != GTK_MINOR_VERSION) ||
27071 (gtk_micro_version != GTK_MICRO_VERSION))
27073 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27074 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27075 printf("*** library (version %d.%d.%d)\n",
27076 gtk_major_version, gtk_minor_version, gtk_micro_version);
27078 #endif /* defined (GTK_MAJOR_VERSION) ... */
27081 if ((gtk_major_version > major) ||
27082 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27083 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27089 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27090 gtk_major_version, gtk_minor_version, gtk_micro_version);
27091 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27092 major, minor, micro);
27093 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27095 printf("*** If you have already installed a sufficiently new version, this error\n");
27096 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27097 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27098 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27099 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27100 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27101 printf("*** so that the correct libraries are found at run-time))\n");
27108 rm -f conftest
$ac_exeext
27109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27110 (eval $ac_link) 2>&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27115 (eval $ac_try) 2>&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); }; }; then
27121 echo "$as_me: program exited with status $ac_status" >&5
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.
$ac_ext >&5
27125 ( exit $ac_status )
27128 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27130 CFLAGS
="$ac_save_CFLAGS"
27131 LIBS
="$ac_save_LIBS"
27134 if test "x$no_gtk" = x
; then
27135 echo "$as_me:$LINENO: result: yes" >&5
27136 echo "${ECHO_T}yes" >&6
27137 wx_cv_lib_gtk
=1.2.7
27139 echo "$as_me:$LINENO: result: no" >&5
27140 echo "${ECHO_T}no" >&6
27141 if test "$GTK_CONFIG" = "no" ; then
27142 echo "*** The gtk-config script installed by GTK could not be found"
27143 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27144 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27145 echo "*** full path to gtk-config."
27147 if test -f conf.gtktest
; then
27150 echo "*** Could not run GTK test program, checking why..."
27151 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27152 LIBS
="$LIBS $GTK_LIBS"
27153 cat >conftest.
$ac_ext <<_ACEOF
27156 cat confdefs.h
>>conftest.
$ac_ext
27157 cat >>conftest.
$ac_ext <<_ACEOF
27158 /* end confdefs.h. */
27160 #include <gtk/gtk.h>
27166 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27171 rm -f conftest.
$ac_objext conftest
$ac_exeext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27173 (eval $ac_link) 2>conftest.er1
27175 grep -v '^ *+' conftest.er1
>conftest.err
27177 cat conftest.err
>&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27182 (eval $ac_try) 2>&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); }; } &&
27186 { ac_try
='test -s conftest$ac_exeext'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; }; then
27192 echo "*** The test program compiled, but did not run. This usually means"
27193 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27194 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27195 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27196 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27197 echo "*** is required on your system"
27199 echo "*** If you have an old version installed, it is best to remove it, although"
27200 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27202 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27203 echo "*** came with the system with the command"
27205 echo "*** rpm --erase --nodeps gtk gtk-devel"
27207 echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.
$ac_ext >&5
27210 echo "*** The test program failed to compile or link. See the file config.log for the"
27211 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27212 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27213 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27215 rm -f conftest.err conftest.
$ac_objext \
27216 conftest
$ac_exeext conftest.
$ac_ext
27217 CFLAGS
="$ac_save_CFLAGS"
27218 LIBS
="$ac_save_LIBS"
27230 if test -z "$wx_cv_lib_gtk"; then
27232 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27233 if test "${with_gtk_prefix+set}" = set; then
27234 withval
="$with_gtk_prefix"
27235 gtk_config_prefix
="$withval"
27237 gtk_config_prefix
=""
27240 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27241 if test "${with_gtk_exec_prefix+set}" = set; then
27242 withval
="$with_gtk_exec_prefix"
27243 gtk_config_exec_prefix
="$withval"
27245 gtk_config_exec_prefix
=""
27247 # Check whether --enable-gtktest or --disable-gtktest was given.
27248 if test "${enable_gtktest+set}" = set; then
27249 enableval
="$enable_gtktest"
27255 for module
in .
$GTK_MODULES
27259 gtk_config_args
="$gtk_config_args gthread"
27264 if test x
$gtk_config_exec_prefix != x
; then
27265 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27266 if test x
${GTK_CONFIG+set} != xset
; then
27267 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27270 if test x
$gtk_config_prefix != x
; then
27271 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27272 if test x
${GTK_CONFIG+set} != xset
; then
27273 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27277 # Extract the first word of "gtk-config", so it can be a program name with args.
27278 set dummy gtk
-config; ac_word
=$2
27279 echo "$as_me:$LINENO: checking for $ac_word" >&5
27280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27281 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27282 echo $ECHO_N "(cached) $ECHO_C" >&6
27284 case $GTK_CONFIG in
27286 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27290 for as_dir
in $PATH
27293 test -z "$as_dir" && as_dir
=.
27294 for ac_exec_ext
in '' $ac_executable_extensions; do
27295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27296 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27303 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27307 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27309 if test -n "$GTK_CONFIG"; then
27310 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27311 echo "${ECHO_T}$GTK_CONFIG" >&6
27313 echo "$as_me:$LINENO: result: no" >&5
27314 echo "${ECHO_T}no" >&6
27317 min_gtk_version
=1.2.3
27318 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27319 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27321 if test "$GTK_CONFIG" = "no" ; then
27324 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27325 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27326 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27327 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27328 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27329 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27330 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27331 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27332 if test "x$enable_gtktest" = "xyes" ; then
27333 ac_save_CFLAGS
="$CFLAGS"
27334 ac_save_LIBS
="$LIBS"
27335 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27336 LIBS
="$GTK_LIBS $LIBS"
27338 if test "$cross_compiling" = yes; then
27339 echo $ac_n "cross compiling; assumed OK... $ac_c"
27341 cat >conftest.
$ac_ext <<_ACEOF
27344 cat confdefs.h
>>conftest.
$ac_ext
27345 cat >>conftest.
$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27348 #include <gtk/gtk.h>
27350 #include <stdlib.h>
27355 int major, minor, micro;
27358 system ("touch conf.gtktest");
27360 /* HP/UX 9 (%@#!) writes to sscanf strings */
27361 tmp_version = g_strdup("$min_gtk_version");
27362 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27363 printf("%s, bad version string\n", "$min_gtk_version");
27367 if ((gtk_major_version != $gtk_config_major_version) ||
27368 (gtk_minor_version != $gtk_config_minor_version) ||
27369 (gtk_micro_version != $gtk_config_micro_version))
27371 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27372 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27373 gtk_major_version, gtk_minor_version, gtk_micro_version);
27374 printf ("*** was found! If gtk-config was correct, then it is best\n");
27375 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27376 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27377 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27378 printf("*** required on your system.\n");
27379 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27380 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27381 printf("*** before re-running configure\n");
27383 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27384 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27385 (gtk_minor_version != GTK_MINOR_VERSION) ||
27386 (gtk_micro_version != GTK_MICRO_VERSION))
27388 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27389 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27390 printf("*** library (version %d.%d.%d)\n",
27391 gtk_major_version, gtk_minor_version, gtk_micro_version);
27393 #endif /* defined (GTK_MAJOR_VERSION) ... */
27396 if ((gtk_major_version > major) ||
27397 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27398 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27404 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27405 gtk_major_version, gtk_minor_version, gtk_micro_version);
27406 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27407 major, minor, micro);
27408 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27410 printf("*** If you have already installed a sufficiently new version, this error\n");
27411 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27412 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27413 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27414 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27415 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27416 printf("*** so that the correct libraries are found at run-time))\n");
27423 rm -f conftest
$ac_exeext
27424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27425 (eval $ac_link) 2>&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27430 (eval $ac_try) 2>&5
27432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433 (exit $ac_status); }; }; then
27436 echo "$as_me: program exited with status $ac_status" >&5
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.
$ac_ext >&5
27440 ( exit $ac_status )
27443 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27445 CFLAGS
="$ac_save_CFLAGS"
27446 LIBS
="$ac_save_LIBS"
27449 if test "x$no_gtk" = x
; then
27450 echo "$as_me:$LINENO: result: yes" >&5
27451 echo "${ECHO_T}yes" >&6
27452 wx_cv_lib_gtk
=1.2.3
27454 echo "$as_me:$LINENO: result: no" >&5
27455 echo "${ECHO_T}no" >&6
27456 if test "$GTK_CONFIG" = "no" ; then
27457 echo "*** The gtk-config script installed by GTK could not be found"
27458 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27459 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27460 echo "*** full path to gtk-config."
27462 if test -f conf.gtktest
; then
27465 echo "*** Could not run GTK test program, checking why..."
27466 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27467 LIBS
="$LIBS $GTK_LIBS"
27468 cat >conftest.
$ac_ext <<_ACEOF
27471 cat confdefs.h
>>conftest.
$ac_ext
27472 cat >>conftest.
$ac_ext <<_ACEOF
27473 /* end confdefs.h. */
27475 #include <gtk/gtk.h>
27481 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27486 rm -f conftest.
$ac_objext conftest
$ac_exeext
27487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27488 (eval $ac_link) 2>conftest.er1
27490 grep -v '^ *+' conftest.er1
>conftest.err
27492 cat conftest.err
>&5
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); } &&
27495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27497 (eval $ac_try) 2>&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); }; } &&
27501 { ac_try
='test -s conftest$ac_exeext'
27502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27503 (eval $ac_try) 2>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); }; }; then
27507 echo "*** The test program compiled, but did not run. This usually means"
27508 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27509 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27510 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27511 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27512 echo "*** is required on your system"
27514 echo "*** If you have an old version installed, it is best to remove it, although"
27515 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27517 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27518 echo "*** came with the system with the command"
27520 echo "*** rpm --erase --nodeps gtk gtk-devel"
27522 echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.
$ac_ext >&5
27525 echo "*** The test program failed to compile or link. See the file config.log for the"
27526 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27527 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27528 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27530 rm -f conftest.err conftest.
$ac_objext \
27531 conftest
$ac_exeext conftest.
$ac_ext
27532 CFLAGS
="$ac_save_CFLAGS"
27533 LIBS
="$ac_save_LIBS"
27548 if test -z "$wx_cv_lib_gtk"; then
27551 wx_cv_cflags_gtk
=$GTK_CFLAGS
27552 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27559 if test "$gtk_version_cached" = 1; then
27560 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27561 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27564 case "$wx_cv_lib_gtk" in
27573 *) { { echo "$as_me:$LINENO: error:
27574 The development files for GTK+ were not found. For GTK+ 2, please
27575 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27576 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27577 and that the version is 1.2.3 or above. Also check that the
27578 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27579 --libs' are in the LD_LIBRARY_PATH or equivalent.
27581 echo "$as_me: error:
27582 The development files for GTK+ were not found. For GTK+ 2, please
27583 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27584 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27585 and that the version is 1.2.3 or above. Also check that the
27586 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27587 --libs' are in the LD_LIBRARY_PATH or equivalent.
27589 { (exit 1); exit 1; }; }
27593 if test "$WXGTK20" = 1; then
27594 save_CXXFLAGS
="$CFLAGS"
27596 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27597 LIBS
="$LIBS $wx_cv_libs_gtk"
27599 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27600 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27601 cat >conftest.
$ac_ext <<_ACEOF
27604 cat confdefs.h
>>conftest.
$ac_ext
27605 cat >>conftest.
$ac_ext <<_ACEOF
27606 /* end confdefs.h. */
27608 #include <gtk/gtk.h>
27614 void *f = gtk_icon_size_lookup;
27620 rm -f conftest.
$ac_objext
27621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27622 (eval $ac_compile) 2>conftest.er1
27624 grep -v '^ *+' conftest.er1
>conftest.err
27626 cat conftest.err
>&5
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); } &&
27629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27631 (eval $ac_try) 2>&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); }; } &&
27635 { ac_try
='test -s conftest.$ac_objext'
27636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27637 (eval $ac_try) 2>&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); }; }; then
27642 echo "$as_me:$LINENO: result: no" >&5
27643 echo "${ECHO_T}no" >&6
27646 echo "$as_me: failed program was:" >&5
27647 sed 's/^/| /' conftest.
$ac_ext >&5
27650 cat >>confdefs.h
<<\_ACEOF
27651 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27654 echo "$as_me:$LINENO: result: yes" >&5
27655 echo "${ECHO_T}yes" >&6
27658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27660 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27661 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27662 cat >conftest.
$ac_ext <<_ACEOF
27665 cat confdefs.h
>>conftest.
$ac_ext
27666 cat >>conftest.
$ac_ext <<_ACEOF
27667 /* end confdefs.h. */
27669 #include <gtk/gtk.h>
27675 #if !GTK_CHECK_VERSION(2,4,0)
27683 rm -f conftest.
$ac_objext
27684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27685 (eval $ac_compile) 2>conftest.er1
27687 grep -v '^ *+' conftest.er1
>conftest.err
27689 cat conftest.err
>&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); } &&
27692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; } &&
27698 { ac_try
='test -s conftest.$ac_objext'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; }; then
27705 cat >>confdefs.h
<<\_ACEOF
27706 #define __WXGTK24__ 1
27709 echo "$as_me:$LINENO: result: yes" >&5
27710 echo "${ECHO_T}yes" >&6
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.
$ac_ext >&5
27717 echo "$as_me:$LINENO: result: no" >&5
27718 echo "${ECHO_T}no" >&6
27721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27723 CFLAGS
="$save_CFLAGS"
27726 if test "$wxUSE_UNICODE" = "yes"; then
27727 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27728 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27734 ac_cpp
='$CXXCPP $CPPFLAGS'
27735 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27736 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27737 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27740 if test "$USE_DARWIN" != 1; then
27742 for ac_func
in poll
27744 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27745 echo "$as_me:$LINENO: checking for $ac_func" >&5
27746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27747 if eval "test \"\${$as_ac_var+set}\" = set"; then
27748 echo $ECHO_N "(cached) $ECHO_C" >&6
27750 cat >conftest.
$ac_ext <<_ACEOF
27753 cat confdefs.h
>>conftest.
$ac_ext
27754 cat >>conftest.
$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27758 #define $ac_func innocuous_$ac_func
27760 /* System header to define __stub macros and hopefully few prototypes,
27761 which can conflict with char $ac_func (); below.
27762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27763 <limits.h> exists even on freestanding compilers. */
27766 # include <limits.h>
27768 # include <assert.h>
27773 /* Override any gcc2 internal prototype to avoid an error. */
27778 /* We use char because int might match the return type of a gcc2
27779 builtin and then its argument prototype would still apply. */
27781 /* The GNU C library defines this for functions which it implements
27782 to always fail with ENOSYS. Some functions are actually named
27783 something starting with __ and the normal name is an alias. */
27784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27787 char (*f) () = $ac_func;
27796 return f != $ac_func;
27801 rm -f conftest.
$ac_objext conftest
$ac_exeext
27802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27803 (eval $ac_link) 2>conftest.er1
27805 grep -v '^ *+' conftest.er1
>conftest.err
27807 cat conftest.err
>&5
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); } &&
27810 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27812 (eval $ac_try) 2>&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; } &&
27816 { ac_try
='test -s conftest$ac_exeext'
27817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27818 (eval $ac_try) 2>&5
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); }; }; then
27822 eval "$as_ac_var=yes"
27824 echo "$as_me: failed program was:" >&5
27825 sed 's/^/| /' conftest.
$ac_ext >&5
27827 eval "$as_ac_var=no"
27829 rm -f conftest.err conftest.
$ac_objext \
27830 conftest
$ac_exeext conftest.
$ac_ext
27832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27834 if test `eval echo '${'$as_ac_var'}'` = yes; then
27835 cat >>confdefs.h
<<_ACEOF
27836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27844 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27845 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27847 AFMINSTALL
=afminstall
27851 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27852 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27853 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27856 ac_check_lib_save_LIBS
=$LIBS
27858 cat >conftest.
$ac_ext <<_ACEOF
27861 cat confdefs.h
>>conftest.
$ac_ext
27862 cat >>conftest.
$ac_ext <<_ACEOF
27863 /* end confdefs.h. */
27865 /* Override any gcc2 internal prototype to avoid an error. */
27869 /* We use char because int might match the return type of a gcc2
27870 builtin and then its argument prototype would still apply. */
27871 char gdk_im_open ();
27880 rm -f conftest.
$ac_objext conftest
$ac_exeext
27881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27882 (eval $ac_link) 2>conftest.er1
27884 grep -v '^ *+' conftest.er1
>conftest.err
27886 cat conftest.err
>&5
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); } &&
27889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27891 (eval $ac_try) 2>&5
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); }; } &&
27895 { ac_try
='test -s conftest$ac_exeext'
27896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27897 (eval $ac_try) 2>&5
27899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27900 (exit $ac_status); }; }; then
27901 ac_cv_lib_gdk_gdk_im_open
=yes
27903 echo "$as_me: failed program was:" >&5
27904 sed 's/^/| /' conftest.
$ac_ext >&5
27906 ac_cv_lib_gdk_gdk_im_open
=no
27908 rm -f conftest.err conftest.
$ac_objext \
27909 conftest
$ac_exeext conftest.
$ac_ext
27910 LIBS
=$ac_check_lib_save_LIBS
27912 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27913 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27914 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27915 cat >>confdefs.h
<<\_ACEOF
27923 if test "$wxUSE_GPE" = "yes"; then
27924 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27925 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27928 for ac_dir
in $SEARCH_LIB;
27930 for ac_extension
in a so sl dylib dll.a
; do
27931 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27932 ac_find_libraries
=$ac_dir
27938 if test "$ac_find_libraries" != "" ; then
27940 if test "$ac_find_libraries" = "default location"; then
27943 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27945 if test $result = 0; then
27948 ac_path_to_link
=" -L$ac_find_libraries"
27952 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27954 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27955 echo "${ECHO_T}found in $ac_find_libraries" >&6
27957 echo "$as_me:$LINENO: result: not found" >&5
27958 echo "${ECHO_T}not found" >&6
27964 if test "$wxUSE_MGL" = 1; then
27965 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27966 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27967 if test "x$MGL_ROOT" = x
; then
27968 echo "$as_me:$LINENO: result: not found" >&5
27969 echo "${ECHO_T}not found" >&6
27970 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27971 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27972 { (exit 1); exit 1; }; }
27974 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27975 echo "${ECHO_T}$MGL_ROOT" >&6
27978 echo "$as_me:$LINENO: checking for libmgl location" >&5
27979 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27982 if test "x$wxUSE_SHARED" = xyes
; then
27983 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27985 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27989 mgl_os_candidates
="dos32/dj2"
27992 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27993 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27994 { (exit 1); exit 1; }; }
28000 for mgl_os_i
in $mgl_os_candidates ; do
28001 if test "x$mgl_os" = x
; then
28002 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28003 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28004 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28009 if test "x$mgl_lib_type" = x
; then
28010 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28011 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28012 mgl_lib_type
=release
28019 if test "x$mgl_os" = x
; then
28020 echo "$as_me:$LINENO: result: not found" >&5
28021 echo "${ECHO_T}not found" >&6
28022 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28023 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28024 { (exit 1); exit 1; }; }
28026 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28027 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28029 wxUSE_UNIVERSAL
="yes"
28031 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28032 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28034 AFMINSTALL
=afminstall
28039 if test "$wxUSE_MICROWIN" = 1; then
28040 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28041 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28042 if test "x$MICROWINDOWS" = x
; then
28043 echo "$as_me:$LINENO: result: not found" >&5
28044 echo "${ECHO_T}not found" >&6
28045 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28046 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28047 { (exit 1); exit 1; }; }
28049 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28050 echo "${ECHO_T}$MICROWINDOWS" >&6
28053 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28054 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28055 echo "${ECHO_T}MicroWindows' libraries found." >&6
28057 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28058 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28059 { (exit 1); exit 1; }; }
28062 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28063 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28065 wxUSE_UNIVERSAL
="yes"
28067 AFMINSTALL
=afminstall
28069 GUIDIST
=MICROWIN_DIST
28071 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28074 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28076 if test "x$ac_path_x_has_been_run" != xyes
; then
28077 echo "$as_me:$LINENO: checking for X" >&5
28078 echo $ECHO_N "checking for X... $ECHO_C" >&6
28080 ac_path_x_has_been_run
=yes
28082 # Check whether --with-x or --without-x was given.
28083 if test "${with_x+set}" = set; then
28087 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28088 if test "x$with_x" = xno
; then
28089 # The user explicitly disabled X.
28092 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28093 # Both variables are already set.
28096 if test "${ac_cv_have_x+set}" = set; then
28097 echo $ECHO_N "(cached) $ECHO_C" >&6
28099 # One or both of the vars are not set, and there is no cached value.
28100 ac_x_includes
=no ac_x_libraries
=no
28101 rm -fr conftest.dir
28102 if mkdir conftest.dir
; then
28104 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28105 cat >Imakefile
<<'_ACEOF'
28107 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28109 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28110 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28111 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28112 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28113 for ac_extension
in a so sl
; do
28114 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28115 test -f $ac_im_libdir/libX11.
$ac_extension; then
28116 ac_im_usrlibdir
=$ac_im_libdir; break
28119 # Screen out bogus values from the imake configuration. They are
28120 # bogus both because they are the default anyway, and because
28121 # using them would break gcc on systems where it needs fixed includes.
28122 case $ac_im_incroot in
28124 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28126 case $ac_im_usrlibdir in
28127 /usr
/lib
| /lib
) ;;
28128 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28132 rm -fr conftest.dir
28135 # Standard set of common directories for X headers.
28136 # Check X11 before X11Rn because it is often a symlink to the current release.
28148 /usr/local/X11/include
28149 /usr/local/X11R6/include
28150 /usr/local/X11R5/include
28151 /usr/local/X11R4/include
28153 /usr/local/include/X11
28154 /usr/local/include/X11R6
28155 /usr/local/include/X11R5
28156 /usr/local/include/X11R4
28160 /usr/XFree86/include/X11
28164 /usr/unsupported/include
28165 /usr/athena/include
28166 /usr/local/x11r5/include
28167 /usr/lpp/Xamples/include
28169 /usr/openwin/include
28170 /usr/openwin/share/include'
28172 if test "$ac_x_includes" = no
; then
28173 # Guess where to find include files, by looking for a specified header file.
28174 # First, try using that file with no special directory specified.
28175 cat >conftest.
$ac_ext <<_ACEOF
28178 cat confdefs.h
>>conftest.
$ac_ext
28179 cat >>conftest.
$ac_ext <<_ACEOF
28180 /* end confdefs.h. */
28181 #include <X11/Xlib.h>
28183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28184 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28186 grep -v '^ *+' conftest.er1
>conftest.err
28188 cat conftest.err
>&5
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); } >/dev
/null
; then
28191 if test -s conftest.err
; then
28192 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28193 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28200 if test -z "$ac_cpp_err"; then
28201 # We can compile using X headers with no special include directory.
28204 echo "$as_me: failed program was:" >&5
28205 sed 's/^/| /' conftest.
$ac_ext >&5
28207 for ac_dir
in $ac_x_header_dirs; do
28208 if test -r "$ac_dir/X11/Xlib.h"; then
28209 ac_x_includes
=$ac_dir
28214 rm -f conftest.err conftest.
$ac_ext
28215 fi # $ac_x_includes = no
28217 if test "$ac_x_libraries" = no
; then
28218 # Check for the libraries.
28219 # See if we find them without any special options.
28220 # Don't add to $LIBS permanently.
28223 cat >conftest.
$ac_ext <<_ACEOF
28226 cat confdefs.h
>>conftest.
$ac_ext
28227 cat >>conftest.
$ac_ext <<_ACEOF
28228 /* end confdefs.h. */
28229 #include <X11/Xlib.h>
28238 rm -f conftest.
$ac_objext conftest
$ac_exeext
28239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28240 (eval $ac_link) 2>conftest.er1
28242 grep -v '^ *+' conftest.er1
>conftest.err
28244 cat conftest.err
>&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); } &&
28247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; } &&
28253 { ac_try
='test -s conftest$ac_exeext'
28254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28255 (eval $ac_try) 2>&5
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); }; }; then
28260 # We can link X programs with no special library path.
28263 echo "$as_me: failed program was:" >&5
28264 sed 's/^/| /' conftest.
$ac_ext >&5
28267 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28269 # Don't even attempt the hair of trying to link an X program!
28270 for ac_extension
in a so sl
; do
28271 if test -r $ac_dir/libX11.
$ac_extension; then
28272 ac_x_libraries
=$ac_dir
28278 rm -f conftest.err conftest.
$ac_objext \
28279 conftest
$ac_exeext conftest.
$ac_ext
28280 fi # $ac_x_libraries = no
28282 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28283 # Didn't find X anywhere. Cache the known absence of X.
28284 ac_cv_have_x
="have_x=no"
28286 # Record where we found X for the cache.
28287 ac_cv_have_x
="have_x=yes \
28288 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28293 eval "$ac_cv_have_x"
28296 if test "$have_x" != yes; then
28297 echo "$as_me:$LINENO: result: $have_x" >&5
28298 echo "${ECHO_T}$have_x" >&6
28301 # If each of the values was on the command line, it overrides each guess.
28302 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28303 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28304 # Update the cache value to reflect the command line values.
28305 ac_cv_have_x
="have_x=yes \
28306 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28307 # It might be that x_includes is empty (headers are found in the
28308 # standard search path. Then output the corresponding message
28309 ac_out_x_includes
=$x_includes
28310 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
28311 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28312 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28316 if test "$no_x" = yes; then
28317 # Not all programs may use this symbol, but it does not hurt to define it.
28319 cat >>confdefs.h
<<\_ACEOF
28320 #define X_DISPLAY_MISSING 1
28323 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28325 if test -n "$x_includes"; then
28326 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28329 # It would also be nice to do this for all -L options, not just this one.
28330 if test -n "$x_libraries"; then
28331 X_LIBS
="$X_LIBS -L$x_libraries"
28332 # For Solaris; some versions of Sun CC require a space after -R and
28333 # others require no space. Words are not sufficient . . . .
28334 case `(uname -sr) 2>/dev/null` in
28336 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28337 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28338 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28339 cat >conftest.
$ac_ext <<_ACEOF
28342 cat confdefs.h
>>conftest.
$ac_ext
28343 cat >>conftest.
$ac_ext <<_ACEOF
28344 /* end confdefs.h. */
28354 rm -f conftest.
$ac_objext conftest
$ac_exeext
28355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28356 (eval $ac_link) 2>conftest.er1
28358 grep -v '^ *+' conftest.er1
>conftest.err
28360 cat conftest.err
>&5
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); } &&
28363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28365 (eval $ac_try) 2>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); }; } &&
28369 { ac_try
='test -s conftest$ac_exeext'
28370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28371 (eval $ac_try) 2>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); }; }; then
28377 echo "$as_me: failed program was:" >&5
28378 sed 's/^/| /' conftest.
$ac_ext >&5
28382 rm -f conftest.err conftest.
$ac_objext \
28383 conftest
$ac_exeext conftest.
$ac_ext
28384 if test $ac_R_nospace = yes; then
28385 echo "$as_me:$LINENO: result: no" >&5
28386 echo "${ECHO_T}no" >&6
28387 X_LIBS
="$X_LIBS -R$x_libraries"
28389 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28390 cat >conftest.
$ac_ext <<_ACEOF
28393 cat confdefs.h
>>conftest.
$ac_ext
28394 cat >>conftest.
$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28405 rm -f conftest.
$ac_objext conftest
$ac_exeext
28406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28407 (eval $ac_link) 2>conftest.er1
28409 grep -v '^ *+' conftest.er1
>conftest.err
28411 cat conftest.err
>&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); } &&
28414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28416 (eval $ac_try) 2>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; } &&
28420 { ac_try
='test -s conftest$ac_exeext'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; }; then
28428 echo "$as_me: failed program was:" >&5
28429 sed 's/^/| /' conftest.
$ac_ext >&5
28433 rm -f conftest.err conftest.
$ac_objext \
28434 conftest
$ac_exeext conftest.
$ac_ext
28435 if test $ac_R_space = yes; then
28436 echo "$as_me:$LINENO: result: yes" >&5
28437 echo "${ECHO_T}yes" >&6
28438 X_LIBS
="$X_LIBS -R $x_libraries"
28440 echo "$as_me:$LINENO: result: neither works" >&5
28441 echo "${ECHO_T}neither works" >&6
28444 LIBS
=$ac_xsave_LIBS
28448 # Check for system-dependent libraries X programs must link with.
28449 # Do this before checking for the system-independent R6 libraries
28450 # (-lICE), since we may need -lsocket or whatever for X linking.
28452 if test "$ISC" = yes; then
28453 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28455 # Martyn Johnson says this is needed for Ultrix, if the X
28456 # libraries were built with DECnet support. And Karl Berry says
28457 # the Alpha needs dnet_stub (dnet does not exist).
28458 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28459 cat >conftest.
$ac_ext <<_ACEOF
28462 cat confdefs.h
>>conftest.
$ac_ext
28463 cat >>conftest.
$ac_ext <<_ACEOF
28464 /* end confdefs.h. */
28466 /* Override any gcc2 internal prototype to avoid an error. */
28470 /* We use char because int might match the return type of a gcc2
28471 builtin and then its argument prototype would still apply. */
28472 char XOpenDisplay ();
28481 rm -f conftest.
$ac_objext conftest
$ac_exeext
28482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28483 (eval $ac_link) 2>conftest.er1
28485 grep -v '^ *+' conftest.er1
>conftest.err
28487 cat conftest.err
>&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); } &&
28490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492 (eval $ac_try) 2>&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); }; } &&
28496 { ac_try
='test -s conftest$ac_exeext'
28497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28498 (eval $ac_try) 2>&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); }; }; then
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.
$ac_ext >&5
28507 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28508 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28509 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28512 ac_check_lib_save_LIBS
=$LIBS
28513 LIBS
="-ldnet $LIBS"
28514 cat >conftest.
$ac_ext <<_ACEOF
28517 cat confdefs.h
>>conftest.
$ac_ext
28518 cat >>conftest.
$ac_ext <<_ACEOF
28519 /* end confdefs.h. */
28521 /* Override any gcc2 internal prototype to avoid an error. */
28525 /* We use char because int might match the return type of a gcc2
28526 builtin and then its argument prototype would still apply. */
28536 rm -f conftest.
$ac_objext conftest
$ac_exeext
28537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28538 (eval $ac_link) 2>conftest.er1
28540 grep -v '^ *+' conftest.er1
>conftest.err
28542 cat conftest.err
>&5
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); } &&
28545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28547 (eval $ac_try) 2>&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); }; } &&
28551 { ac_try
='test -s conftest$ac_exeext'
28552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28553 (eval $ac_try) 2>&5
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); }; }; then
28557 ac_cv_lib_dnet_dnet_ntoa
=yes
28559 echo "$as_me: failed program was:" >&5
28560 sed 's/^/| /' conftest.
$ac_ext >&5
28562 ac_cv_lib_dnet_dnet_ntoa
=no
28564 rm -f conftest.err conftest.
$ac_objext \
28565 conftest
$ac_exeext conftest.
$ac_ext
28566 LIBS
=$ac_check_lib_save_LIBS
28568 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28569 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28570 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28571 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28574 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28575 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28576 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28577 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 ac_check_lib_save_LIBS
=$LIBS
28581 LIBS
="-ldnet_stub $LIBS"
28582 cat >conftest.
$ac_ext <<_ACEOF
28585 cat confdefs.h
>>conftest.
$ac_ext
28586 cat >>conftest.
$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28589 /* Override any gcc2 internal prototype to avoid an error. */
28593 /* We use char because int might match the return type of a gcc2
28594 builtin and then its argument prototype would still apply. */
28604 rm -f conftest.
$ac_objext conftest
$ac_exeext
28605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28606 (eval $ac_link) 2>conftest.er1
28608 grep -v '^ *+' conftest.er1
>conftest.err
28610 cat conftest.err
>&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); } &&
28613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28615 (eval $ac_try) 2>&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); }; } &&
28619 { ac_try
='test -s conftest$ac_exeext'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; }; then
28625 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.
$ac_ext >&5
28630 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28632 rm -f conftest.err conftest.
$ac_objext \
28633 conftest
$ac_exeext conftest.
$ac_ext
28634 LIBS
=$ac_check_lib_save_LIBS
28636 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28637 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28638 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28639 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28644 rm -f conftest.err conftest.
$ac_objext \
28645 conftest
$ac_exeext conftest.
$ac_ext
28646 LIBS
="$ac_xsave_LIBS"
28648 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28649 # to get the SysV transport functions.
28650 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28652 # The nsl library prevents programs from opening the X display
28653 # on Irix 5.2, according to T.E. Dickey.
28654 # The functions gethostbyname, getservbyname, and inet_addr are
28655 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28656 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28657 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28658 if test "${ac_cv_func_gethostbyname+set}" = set; then
28659 echo $ECHO_N "(cached) $ECHO_C" >&6
28661 cat >conftest.
$ac_ext <<_ACEOF
28664 cat confdefs.h
>>conftest.
$ac_ext
28665 cat >>conftest.
$ac_ext <<_ACEOF
28666 /* end confdefs.h. */
28667 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28669 #define gethostbyname innocuous_gethostbyname
28671 /* System header to define __stub macros and hopefully few prototypes,
28672 which can conflict with char gethostbyname (); below.
28673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28674 <limits.h> exists even on freestanding compilers. */
28677 # include <limits.h>
28679 # include <assert.h>
28682 #undef gethostbyname
28684 /* Override any gcc2 internal prototype to avoid an error. */
28689 /* We use char because int might match the return type of a gcc2
28690 builtin and then its argument prototype would still apply. */
28691 char gethostbyname ();
28692 /* The GNU C library defines this for functions which it implements
28693 to always fail with ENOSYS. Some functions are actually named
28694 something starting with __ and the normal name is an alias. */
28695 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28698 char (*f) () = gethostbyname;
28707 return f != gethostbyname;
28712 rm -f conftest.
$ac_objext conftest
$ac_exeext
28713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28714 (eval $ac_link) 2>conftest.er1
28716 grep -v '^ *+' conftest.er1
>conftest.err
28718 cat conftest.err
>&5
28719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 (exit $ac_status); } &&
28721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28723 (eval $ac_try) 2>&5
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); }; } &&
28727 { ac_try
='test -s conftest$ac_exeext'
28728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28729 (eval $ac_try) 2>&5
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; }; then
28733 ac_cv_func_gethostbyname
=yes
28735 echo "$as_me: failed program was:" >&5
28736 sed 's/^/| /' conftest.
$ac_ext >&5
28738 ac_cv_func_gethostbyname
=no
28740 rm -f conftest.err conftest.
$ac_objext \
28741 conftest
$ac_exeext conftest.
$ac_ext
28743 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28744 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28746 if test $ac_cv_func_gethostbyname = no
; then
28747 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28748 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28749 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28750 echo $ECHO_N "(cached) $ECHO_C" >&6
28752 ac_check_lib_save_LIBS
=$LIBS
28754 cat >conftest.
$ac_ext <<_ACEOF
28757 cat confdefs.h
>>conftest.
$ac_ext
28758 cat >>conftest.
$ac_ext <<_ACEOF
28759 /* end confdefs.h. */
28761 /* Override any gcc2 internal prototype to avoid an error. */
28765 /* We use char because int might match the return type of a gcc2
28766 builtin and then its argument prototype would still apply. */
28767 char gethostbyname ();
28776 rm -f conftest.
$ac_objext conftest
$ac_exeext
28777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28778 (eval $ac_link) 2>conftest.er1
28780 grep -v '^ *+' conftest.er1
>conftest.err
28782 cat conftest.err
>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); } &&
28785 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28787 (eval $ac_try) 2>&5
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); }; } &&
28791 { ac_try
='test -s conftest$ac_exeext'
28792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28793 (eval $ac_try) 2>&5
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); }; }; then
28797 ac_cv_lib_nsl_gethostbyname
=yes
28799 echo "$as_me: failed program was:" >&5
28800 sed 's/^/| /' conftest.
$ac_ext >&5
28802 ac_cv_lib_nsl_gethostbyname
=no
28804 rm -f conftest.err conftest.
$ac_objext \
28805 conftest
$ac_exeext conftest.
$ac_ext
28806 LIBS
=$ac_check_lib_save_LIBS
28808 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28809 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28810 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28811 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28814 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28815 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28816 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28817 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28818 echo $ECHO_N "(cached) $ECHO_C" >&6
28820 ac_check_lib_save_LIBS
=$LIBS
28822 cat >conftest.
$ac_ext <<_ACEOF
28825 cat confdefs.h
>>conftest.
$ac_ext
28826 cat >>conftest.
$ac_ext <<_ACEOF
28827 /* end confdefs.h. */
28829 /* Override any gcc2 internal prototype to avoid an error. */
28833 /* We use char because int might match the return type of a gcc2
28834 builtin and then its argument prototype would still apply. */
28835 char gethostbyname ();
28844 rm -f conftest.
$ac_objext conftest
$ac_exeext
28845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28846 (eval $ac_link) 2>conftest.er1
28848 grep -v '^ *+' conftest.er1
>conftest.err
28850 cat conftest.err
>&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); } &&
28853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28855 (eval $ac_try) 2>&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); }; } &&
28859 { ac_try
='test -s conftest$ac_exeext'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; }; then
28865 ac_cv_lib_bsd_gethostbyname
=yes
28867 echo "$as_me: failed program was:" >&5
28868 sed 's/^/| /' conftest.
$ac_ext >&5
28870 ac_cv_lib_bsd_gethostbyname
=no
28872 rm -f conftest.err conftest.
$ac_objext \
28873 conftest
$ac_exeext conftest.
$ac_ext
28874 LIBS
=$ac_check_lib_save_LIBS
28876 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28877 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28878 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28879 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28885 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28886 # socket/setsockopt and other routines are undefined under SCO ODT
28887 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28888 # on later versions), says Simon Leinen: it contains gethostby*
28889 # variants that don't use the name server (or something). -lsocket
28890 # must be given before -lnsl if both are needed. We assume that
28891 # if connect needs -lnsl, so does gethostbyname.
28892 echo "$as_me:$LINENO: checking for connect" >&5
28893 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28894 if test "${ac_cv_func_connect+set}" = set; then
28895 echo $ECHO_N "(cached) $ECHO_C" >&6
28897 cat >conftest.
$ac_ext <<_ACEOF
28900 cat confdefs.h
>>conftest.
$ac_ext
28901 cat >>conftest.
$ac_ext <<_ACEOF
28902 /* end confdefs.h. */
28903 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28905 #define connect innocuous_connect
28907 /* System header to define __stub macros and hopefully few prototypes,
28908 which can conflict with char connect (); below.
28909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28910 <limits.h> exists even on freestanding compilers. */
28913 # include <limits.h>
28915 # include <assert.h>
28920 /* Override any gcc2 internal prototype to avoid an error. */
28925 /* We use char because int might match the return type of a gcc2
28926 builtin and then its argument prototype would still apply. */
28928 /* The GNU C library defines this for functions which it implements
28929 to always fail with ENOSYS. Some functions are actually named
28930 something starting with __ and the normal name is an alias. */
28931 #if defined (__stub_connect) || defined (__stub___connect)
28934 char (*f) () = connect;
28943 return f != connect;
28948 rm -f conftest.
$ac_objext conftest
$ac_exeext
28949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28950 (eval $ac_link) 2>conftest.er1
28952 grep -v '^ *+' conftest.er1
>conftest.err
28954 cat conftest.err
>&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); } &&
28957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959 (eval $ac_try) 2>&5
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); }; } &&
28963 { ac_try
='test -s conftest$ac_exeext'
28964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28965 (eval $ac_try) 2>&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); }; }; then
28969 ac_cv_func_connect
=yes
28971 echo "$as_me: failed program was:" >&5
28972 sed 's/^/| /' conftest.
$ac_ext >&5
28974 ac_cv_func_connect
=no
28976 rm -f conftest.err conftest.
$ac_objext \
28977 conftest
$ac_exeext conftest.
$ac_ext
28979 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28980 echo "${ECHO_T}$ac_cv_func_connect" >&6
28982 if test $ac_cv_func_connect = no
; then
28983 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28984 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28985 if test "${ac_cv_lib_socket_connect+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 ac_check_lib_save_LIBS
=$LIBS
28989 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28990 cat >conftest.
$ac_ext <<_ACEOF
28993 cat confdefs.h
>>conftest.
$ac_ext
28994 cat >>conftest.
$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28997 /* Override any gcc2 internal prototype to avoid an error. */
29001 /* We use char because int might match the return type of a gcc2
29002 builtin and then its argument prototype would still apply. */
29012 rm -f conftest.
$ac_objext conftest
$ac_exeext
29013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29014 (eval $ac_link) 2>conftest.er1
29016 grep -v '^ *+' conftest.er1
>conftest.err
29018 cat conftest.err
>&5
29019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020 (exit $ac_status); } &&
29021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29023 (eval $ac_try) 2>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); }; } &&
29027 { ac_try
='test -s conftest$ac_exeext'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; }; then
29033 ac_cv_lib_socket_connect
=yes
29035 echo "$as_me: failed program was:" >&5
29036 sed 's/^/| /' conftest.
$ac_ext >&5
29038 ac_cv_lib_socket_connect
=no
29040 rm -f conftest.err conftest.
$ac_objext \
29041 conftest
$ac_exeext conftest.
$ac_ext
29042 LIBS
=$ac_check_lib_save_LIBS
29044 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29045 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29046 if test $ac_cv_lib_socket_connect = yes; then
29047 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29052 # Guillermo Gomez says -lposix is necessary on A/UX.
29053 echo "$as_me:$LINENO: checking for remove" >&5
29054 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29055 if test "${ac_cv_func_remove+set}" = set; then
29056 echo $ECHO_N "(cached) $ECHO_C" >&6
29058 cat >conftest.
$ac_ext <<_ACEOF
29061 cat confdefs.h
>>conftest.
$ac_ext
29062 cat >>conftest.
$ac_ext <<_ACEOF
29063 /* end confdefs.h. */
29064 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29066 #define remove innocuous_remove
29068 /* System header to define __stub macros and hopefully few prototypes,
29069 which can conflict with char remove (); below.
29070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29071 <limits.h> exists even on freestanding compilers. */
29074 # include <limits.h>
29076 # include <assert.h>
29081 /* Override any gcc2 internal prototype to avoid an error. */
29086 /* We use char because int might match the return type of a gcc2
29087 builtin and then its argument prototype would still apply. */
29089 /* The GNU C library defines this for functions which it implements
29090 to always fail with ENOSYS. Some functions are actually named
29091 something starting with __ and the normal name is an alias. */
29092 #if defined (__stub_remove) || defined (__stub___remove)
29095 char (*f) () = remove;
29104 return f != remove;
29109 rm -f conftest.
$ac_objext conftest
$ac_exeext
29110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29111 (eval $ac_link) 2>conftest.er1
29113 grep -v '^ *+' conftest.er1
>conftest.err
29115 cat conftest.err
>&5
29116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117 (exit $ac_status); } &&
29118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29120 (eval $ac_try) 2>&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); }; } &&
29124 { ac_try
='test -s conftest$ac_exeext'
29125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29126 (eval $ac_try) 2>&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; }; then
29130 ac_cv_func_remove
=yes
29132 echo "$as_me: failed program was:" >&5
29133 sed 's/^/| /' conftest.
$ac_ext >&5
29135 ac_cv_func_remove
=no
29137 rm -f conftest.err conftest.
$ac_objext \
29138 conftest
$ac_exeext conftest.
$ac_ext
29140 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29141 echo "${ECHO_T}$ac_cv_func_remove" >&6
29143 if test $ac_cv_func_remove = no
; then
29144 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29145 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29146 if test "${ac_cv_lib_posix_remove+set}" = set; then
29147 echo $ECHO_N "(cached) $ECHO_C" >&6
29149 ac_check_lib_save_LIBS
=$LIBS
29150 LIBS
="-lposix $LIBS"
29151 cat >conftest.
$ac_ext <<_ACEOF
29154 cat confdefs.h
>>conftest.
$ac_ext
29155 cat >>conftest.
$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29158 /* Override any gcc2 internal prototype to avoid an error. */
29162 /* We use char because int might match the return type of a gcc2
29163 builtin and then its argument prototype would still apply. */
29173 rm -f conftest.
$ac_objext conftest
$ac_exeext
29174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29175 (eval $ac_link) 2>conftest.er1
29177 grep -v '^ *+' conftest.er1
>conftest.err
29179 cat conftest.err
>&5
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); } &&
29182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29184 (eval $ac_try) 2>&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); }; } &&
29188 { ac_try
='test -s conftest$ac_exeext'
29189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29190 (eval $ac_try) 2>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); }; }; then
29194 ac_cv_lib_posix_remove
=yes
29196 echo "$as_me: failed program was:" >&5
29197 sed 's/^/| /' conftest.
$ac_ext >&5
29199 ac_cv_lib_posix_remove
=no
29201 rm -f conftest.err conftest.
$ac_objext \
29202 conftest
$ac_exeext conftest.
$ac_ext
29203 LIBS
=$ac_check_lib_save_LIBS
29205 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29206 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29207 if test $ac_cv_lib_posix_remove = yes; then
29208 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29213 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29214 echo "$as_me:$LINENO: checking for shmat" >&5
29215 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29216 if test "${ac_cv_func_shmat+set}" = set; then
29217 echo $ECHO_N "(cached) $ECHO_C" >&6
29219 cat >conftest.
$ac_ext <<_ACEOF
29222 cat confdefs.h
>>conftest.
$ac_ext
29223 cat >>conftest.
$ac_ext <<_ACEOF
29224 /* end confdefs.h. */
29225 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29227 #define shmat innocuous_shmat
29229 /* System header to define __stub macros and hopefully few prototypes,
29230 which can conflict with char shmat (); below.
29231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29232 <limits.h> exists even on freestanding compilers. */
29235 # include <limits.h>
29237 # include <assert.h>
29242 /* Override any gcc2 internal prototype to avoid an error. */
29247 /* We use char because int might match the return type of a gcc2
29248 builtin and then its argument prototype would still apply. */
29250 /* The GNU C library defines this for functions which it implements
29251 to always fail with ENOSYS. Some functions are actually named
29252 something starting with __ and the normal name is an alias. */
29253 #if defined (__stub_shmat) || defined (__stub___shmat)
29256 char (*f) () = shmat;
29270 rm -f conftest.
$ac_objext conftest
$ac_exeext
29271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29272 (eval $ac_link) 2>conftest.er1
29274 grep -v '^ *+' conftest.er1
>conftest.err
29276 cat conftest.err
>&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); } &&
29279 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29281 (eval $ac_try) 2>&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); }; } &&
29285 { ac_try
='test -s conftest$ac_exeext'
29286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29287 (eval $ac_try) 2>&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); }; }; then
29291 ac_cv_func_shmat
=yes
29293 echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.
$ac_ext >&5
29296 ac_cv_func_shmat
=no
29298 rm -f conftest.err conftest.
$ac_objext \
29299 conftest
$ac_exeext conftest.
$ac_ext
29301 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29302 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29304 if test $ac_cv_func_shmat = no
; then
29305 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29306 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29307 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29308 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 ac_check_lib_save_LIBS
=$LIBS
29312 cat >conftest.
$ac_ext <<_ACEOF
29315 cat confdefs.h
>>conftest.
$ac_ext
29316 cat >>conftest.
$ac_ext <<_ACEOF
29317 /* end confdefs.h. */
29319 /* Override any gcc2 internal prototype to avoid an error. */
29323 /* We use char because int might match the return type of a gcc2
29324 builtin and then its argument prototype would still apply. */
29334 rm -f conftest.
$ac_objext conftest
$ac_exeext
29335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29336 (eval $ac_link) 2>conftest.er1
29338 grep -v '^ *+' conftest.er1
>conftest.err
29340 cat conftest.err
>&5
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); } &&
29343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29345 (eval $ac_try) 2>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; } &&
29349 { ac_try
='test -s conftest$ac_exeext'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; }; then
29355 ac_cv_lib_ipc_shmat
=yes
29357 echo "$as_me: failed program was:" >&5
29358 sed 's/^/| /' conftest.
$ac_ext >&5
29360 ac_cv_lib_ipc_shmat
=no
29362 rm -f conftest.err conftest.
$ac_objext \
29363 conftest
$ac_exeext conftest.
$ac_ext
29364 LIBS
=$ac_check_lib_save_LIBS
29366 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29367 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29368 if test $ac_cv_lib_ipc_shmat = yes; then
29369 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29375 # Check for libraries that X11R6 Xt/Xaw programs need.
29376 ac_save_LDFLAGS
=$LDFLAGS
29377 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29378 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29379 # check for ICE first), but we must link in the order -lSM -lICE or
29380 # we get undefined symbols. So assume we have SM if we have ICE.
29381 # These have to be linked with before -lX11, unlike the other
29382 # libraries we check for below, so use a different variable.
29383 # John Interrante, Karl Berry
29384 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29385 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29386 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29389 ac_check_lib_save_LIBS
=$LIBS
29390 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29391 cat >conftest.
$ac_ext <<_ACEOF
29394 cat confdefs.h
>>conftest.
$ac_ext
29395 cat >>conftest.
$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29398 /* Override any gcc2 internal prototype to avoid an error. */
29402 /* We use char because int might match the return type of a gcc2
29403 builtin and then its argument prototype would still apply. */
29404 char IceConnectionNumber ();
29408 IceConnectionNumber ();
29413 rm -f conftest.
$ac_objext conftest
$ac_exeext
29414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29415 (eval $ac_link) 2>conftest.er1
29417 grep -v '^ *+' conftest.er1
>conftest.err
29419 cat conftest.err
>&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); } &&
29422 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29424 (eval $ac_try) 2>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; } &&
29428 { ac_try
='test -s conftest$ac_exeext'
29429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29430 (eval $ac_try) 2>&5
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); }; }; then
29434 ac_cv_lib_ICE_IceConnectionNumber
=yes
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.
$ac_ext >&5
29439 ac_cv_lib_ICE_IceConnectionNumber
=no
29441 rm -f conftest.err conftest.
$ac_objext \
29442 conftest
$ac_exeext conftest.
$ac_ext
29443 LIBS
=$ac_check_lib_save_LIBS
29445 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29446 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29447 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29448 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29451 LDFLAGS
=$ac_save_LDFLAGS
29456 if test "$no_x" = "yes"; then
29457 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29458 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29459 { (exit 1); exit 1; }; }
29462 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29463 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29464 AFMINSTALL
=afminstall
29465 COMPILED_X_PROGRAM
=0
29469 if test "$wxUSE_X11" = 1; then
29470 if test "$wxUSE_NANOX" = "yes"; then
29471 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29472 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29473 if test "x$MICROWIN" = x
; then
29474 echo "$as_me:$LINENO: result: not found" >&5
29475 echo "${ECHO_T}not found" >&6
29476 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29477 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29478 { (exit 1); exit 1; }; }
29480 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29481 echo "${ECHO_T}$MICROWIN" >&6
29482 cat >>confdefs.h
<<\_ACEOF
29483 #define wxUSE_NANOX 1
29489 if test "$wxUSE_UNICODE" = "yes"; then
29493 if test -z "$PKG_CONFIG"; then
29494 # Extract the first word of "pkg-config", so it can be a program name with args.
29495 set dummy pkg
-config; ac_word
=$2
29496 echo "$as_me:$LINENO: checking for $ac_word" >&5
29497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29498 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29499 echo $ECHO_N "(cached) $ECHO_C" >&6
29501 case $PKG_CONFIG in
29503 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29507 for as_dir
in $PATH
29510 test -z "$as_dir" && as_dir
=.
29511 for ac_exec_ext
in '' $ac_executable_extensions; do
29512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29513 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29520 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29524 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29526 if test -n "$PKG_CONFIG"; then
29527 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29528 echo "${ECHO_T}$PKG_CONFIG" >&6
29530 echo "$as_me:$LINENO: result: no" >&5
29531 echo "${ECHO_T}no" >&6
29536 if test "$PKG_CONFIG" = "no" ; then
29537 echo "*** The pkg-config script could not be found. Make sure it is"
29538 echo "*** in your path, or set the PKG_CONFIG environment variable"
29539 echo "*** to the full path to pkg-config."
29540 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29542 PKG_CONFIG_MIN_VERSION
=0.9.0
29543 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29544 echo "$as_me:$LINENO: checking for pangox" >&5
29545 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29547 if $PKG_CONFIG --exists "pangox" ; then
29548 echo "$as_me:$LINENO: result: yes" >&5
29549 echo "${ECHO_T}yes" >&6
29552 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29553 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29554 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29555 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29556 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29558 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29559 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29560 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29561 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29562 echo "${ECHO_T}$PANGOX_LIBS" >&6
29566 ## If we have a custom action on failure, don't print errors, but
29567 ## do set a variable so people can do so.
29568 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29575 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29576 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29580 if test $succeeded = yes; then
29582 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29583 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29587 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29588 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29589 { (exit 1); exit 1; }; }
29597 if test -z "$PKG_CONFIG"; then
29598 # Extract the first word of "pkg-config", so it can be a program name with args.
29599 set dummy pkg
-config; ac_word
=$2
29600 echo "$as_me:$LINENO: checking for $ac_word" >&5
29601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29602 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29603 echo $ECHO_N "(cached) $ECHO_C" >&6
29605 case $PKG_CONFIG in
29607 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29611 for as_dir
in $PATH
29614 test -z "$as_dir" && as_dir
=.
29615 for ac_exec_ext
in '' $ac_executable_extensions; do
29616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29617 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29624 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29628 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29630 if test -n "$PKG_CONFIG"; then
29631 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29632 echo "${ECHO_T}$PKG_CONFIG" >&6
29634 echo "$as_me:$LINENO: result: no" >&5
29635 echo "${ECHO_T}no" >&6
29640 if test "$PKG_CONFIG" = "no" ; then
29641 echo "*** The pkg-config script could not be found. Make sure it is"
29642 echo "*** in your path, or set the PKG_CONFIG environment variable"
29643 echo "*** to the full path to pkg-config."
29644 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29646 PKG_CONFIG_MIN_VERSION
=0.9.0
29647 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29648 echo "$as_me:$LINENO: checking for pangoft2" >&5
29649 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29651 if $PKG_CONFIG --exists "pangoft2" ; then
29652 echo "$as_me:$LINENO: result: yes" >&5
29653 echo "${ECHO_T}yes" >&6
29656 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29657 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29658 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29659 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29660 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29662 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29663 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29664 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29665 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29666 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29670 ## If we have a custom action on failure, don't print errors, but
29671 ## do set a variable so people can do so.
29672 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29679 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29680 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29684 if test $succeeded = yes; then
29686 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29687 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29691 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29692 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29693 wxUSE_PRINTING_ARCHITECTURE
="no"
29701 if test -z "$PKG_CONFIG"; then
29702 # Extract the first word of "pkg-config", so it can be a program name with args.
29703 set dummy pkg
-config; ac_word
=$2
29704 echo "$as_me:$LINENO: checking for $ac_word" >&5
29705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29706 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29707 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 case $PKG_CONFIG in
29711 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29715 for as_dir
in $PATH
29718 test -z "$as_dir" && as_dir
=.
29719 for ac_exec_ext
in '' $ac_executable_extensions; do
29720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29721 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29728 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29732 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29734 if test -n "$PKG_CONFIG"; then
29735 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29736 echo "${ECHO_T}$PKG_CONFIG" >&6
29738 echo "$as_me:$LINENO: result: no" >&5
29739 echo "${ECHO_T}no" >&6
29744 if test "$PKG_CONFIG" = "no" ; then
29745 echo "*** The pkg-config script could not be found. Make sure it is"
29746 echo "*** in your path, or set the PKG_CONFIG environment variable"
29747 echo "*** to the full path to pkg-config."
29748 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29750 PKG_CONFIG_MIN_VERSION
=0.9.0
29751 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29752 echo "$as_me:$LINENO: checking for pangoxft" >&5
29753 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29755 if $PKG_CONFIG --exists "pangoxft" ; then
29756 echo "$as_me:$LINENO: result: yes" >&5
29757 echo "${ECHO_T}yes" >&6
29760 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29761 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29762 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29763 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29764 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29766 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29767 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29768 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29769 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29770 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29774 ## If we have a custom action on failure, don't print errors, but
29775 ## do set a variable so people can do so.
29776 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29783 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29784 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29788 if test $succeeded = yes; then
29790 cat >>confdefs.h
<<\_ACEOF
29791 #define HAVE_PANGO_XFT 1
29794 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29795 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29799 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29800 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29805 save_CXXFLAGS
="$CXXFLAGS"
29807 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29808 LIBS
="$LIBS $PANGOX_LIBS"
29810 for ac_func
in pango_font_family_is_monospace
29812 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29813 echo "$as_me:$LINENO: checking for $ac_func" >&5
29814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29815 if eval "test \"\${$as_ac_var+set}\" = set"; then
29816 echo $ECHO_N "(cached) $ECHO_C" >&6
29818 cat >conftest.
$ac_ext <<_ACEOF
29821 cat confdefs.h
>>conftest.
$ac_ext
29822 cat >>conftest.
$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29826 #define $ac_func innocuous_$ac_func
29828 /* System header to define __stub macros and hopefully few prototypes,
29829 which can conflict with char $ac_func (); below.
29830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29831 <limits.h> exists even on freestanding compilers. */
29834 # include <limits.h>
29836 # include <assert.h>
29841 /* Override any gcc2 internal prototype to avoid an error. */
29846 /* We use char because int might match the return type of a gcc2
29847 builtin and then its argument prototype would still apply. */
29849 /* The GNU C library defines this for functions which it implements
29850 to always fail with ENOSYS. Some functions are actually named
29851 something starting with __ and the normal name is an alias. */
29852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29855 char (*f) () = $ac_func;
29864 return f != $ac_func;
29869 rm -f conftest.
$ac_objext conftest
$ac_exeext
29870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29871 (eval $ac_link) 2>conftest.er1
29873 grep -v '^ *+' conftest.er1
>conftest.err
29875 cat conftest.err
>&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } &&
29878 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29880 (eval $ac_try) 2>&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; } &&
29884 { ac_try
='test -s conftest$ac_exeext'
29885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29886 (eval $ac_try) 2>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 eval "$as_ac_var=yes"
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.
$ac_ext >&5
29895 eval "$as_ac_var=no"
29897 rm -f conftest.err conftest.
$ac_objext \
29898 conftest
$ac_exeext conftest.
$ac_ext
29900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29902 if test `eval echo '${'$as_ac_var'}'` = yes; then
29903 cat >>confdefs.h
<<_ACEOF
29904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29910 CXXFLAGS
="$save_CXXFLAGS"
29914 wxUSE_UNIVERSAL
="yes"
29916 if test "$wxUSE_NANOX" = "yes"; then
29917 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29918 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"
29919 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29921 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29928 if test "$wxUSE_MOTIF" = 1; then
29929 if test "$wxUSE_UNICODE" = "yes"; then
29930 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29931 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29932 { (exit 1); exit 1; }; }
29935 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29936 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29939 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29941 if test -f "$ac_dir/Xm/Xm.h"; then
29942 ac_find_includes
=$ac_dir
29947 if test "$ac_find_includes" != "" ; then
29948 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29949 echo "${ECHO_T}found in $ac_find_includes" >&6
29951 if test "x$ac_find_includes" = "x/usr/include"; then
29952 ac_path_to_include
=""
29954 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29956 if test $result = 0; then
29957 ac_path_to_include
=""
29959 ac_path_to_include
=" -I$ac_find_includes"
29963 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29965 save_CXXFLAGS
=$CXXFLAGS
29966 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
29968 cat >conftest.
$ac_ext <<_ACEOF
29971 cat confdefs.h
>>conftest.
$ac_ext
29972 cat >>conftest.
$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29982 version = xmUseVersion;
29988 rm -f conftest.
$ac_objext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29990 (eval $ac_compile) 2>conftest.er1
29992 grep -v '^ *+' conftest.er1
>conftest.err
29994 cat conftest.err
>&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); } &&
29997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29999 (eval $ac_try) 2>&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); }; } &&
30003 { ac_try
='test -s conftest.$ac_objext'
30004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30005 (eval $ac_try) 2>&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); }; }; then
30010 echo "$as_me:$LINENO: result: found in default search path" >&5
30011 echo "${ECHO_T}found in default search path" >&6
30012 COMPILED_X_PROGRAM
=1
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.
$ac_ext >&5
30019 echo "$as_me:$LINENO: result: no" >&5
30020 echo "${ECHO_T}no" >&6
30021 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30022 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30023 { (exit 1); exit 1; }; }
30027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30029 CXXFLAGS
=$save_CXXFLAGS
30033 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30034 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30037 for ac_dir
in $SEARCH_LIB;
30039 for ac_extension
in a so sl dylib dll.a
; do
30040 if test -f "$ac_dir/libXm.$ac_extension"; then
30041 ac_find_libraries
=$ac_dir
30048 if test "x$ac_find_libraries" != "x" ; then
30049 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30050 echo "${ECHO_T}found in $ac_find_libraries" >&6
30053 if test "$ac_find_libraries" = "default location"; then
30056 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30058 if test $result = 0; then
30061 ac_path_to_link
=" -L$ac_find_libraries"
30065 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30067 save_CXXFLAGS
=$CXXFLAGS
30068 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30070 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30072 cat >conftest.
$ac_ext <<_ACEOF
30075 cat confdefs.h
>>conftest.
$ac_ext
30076 cat >>conftest.
$ac_ext <<_ACEOF
30077 /* end confdefs.h. */
30086 version = xmUseVersion;
30092 rm -f conftest.
$ac_objext conftest
$ac_exeext
30093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30094 (eval $ac_link) 2>conftest.er1
30096 grep -v '^ *+' conftest.er1
>conftest.err
30098 cat conftest.err
>&5
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); } &&
30101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30103 (eval $ac_try) 2>&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); }; } &&
30107 { ac_try
='test -s conftest$ac_exeext'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; }; then
30114 echo "$as_me:$LINENO: result: found in default search path" >&5
30115 echo "${ECHO_T}found in default search path" >&6
30116 COMPILED_X_PROGRAM
=1
30119 echo "$as_me: failed program was:" >&5
30120 sed 's/^/| /' conftest.
$ac_ext >&5
30123 echo "$as_me:$LINENO: result: no" >&5
30124 echo "${ECHO_T}no" >&6
30125 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30126 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30127 { (exit 1); exit 1; }; }
30131 rm -f conftest.err conftest.
$ac_objext \
30132 conftest
$ac_exeext conftest.
$ac_ext
30134 CXXFLAGS
=$save_CXXFLAGS
30138 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30139 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30143 for libp
in "" " -lXp"; do
30144 if test "$libs_found" = "0"; then
30145 for libsm_ice
in "" " -lSM -lICE"; do
30146 if test "$libs_found" = "0"; then
30148 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30149 save_CXXFLAGS
=$CXXFLAGS
30150 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30152 cat >conftest.
$ac_ext <<_ACEOF
30155 cat confdefs.h
>>conftest.
$ac_ext
30156 cat >>conftest.
$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30160 #include <Xm/List.h>
30166 XmString string = NULL;
30169 XmListAddItem(w, string, position);
30175 rm -f conftest.
$ac_objext conftest
$ac_exeext
30176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30177 (eval $ac_link) 2>conftest.er1
30179 grep -v '^ *+' conftest.er1
>conftest.err
30181 cat conftest.err
>&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } &&
30184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186 (eval $ac_try) 2>&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; } &&
30190 { ac_try
='test -s conftest$ac_exeext'
30191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30192 (eval $ac_try) 2>&5
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); }; }; then
30198 libsm_ice_link
="$libsm_ice"
30199 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30200 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30204 echo "$as_me: failed program was:" >&5
30205 sed 's/^/| /' conftest.
$ac_ext >&5
30210 rm -f conftest.err conftest.
$ac_objext \
30211 conftest
$ac_exeext conftest.
$ac_ext
30214 CXXFLAGS
=$save_CXXFLAGS
30220 if test "$libs_found" = "0"; then
30221 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30222 echo "${ECHO_T}can't find the right libraries" >&6
30223 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30224 echo "$as_me: error: can't link a simple motif program" >&2;}
30225 { (exit 1); exit 1; }; }
30228 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30229 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30230 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30231 echo $ECHO_N "(cached) $ECHO_C" >&6
30233 ac_check_lib_save_LIBS
=$LIBS
30235 cat >conftest.
$ac_ext <<_ACEOF
30238 cat confdefs.h
>>conftest.
$ac_ext
30239 cat >>conftest.
$ac_ext <<_ACEOF
30240 /* end confdefs.h. */
30242 /* Override any gcc2 internal prototype to avoid an error. */
30246 /* We use char because int might match the return type of a gcc2
30247 builtin and then its argument prototype would still apply. */
30248 char SgCreateList ();
30257 rm -f conftest.
$ac_objext conftest
$ac_exeext
30258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30259 (eval $ac_link) 2>conftest.er1
30261 grep -v '^ *+' conftest.er1
>conftest.err
30263 cat conftest.err
>&5
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); } &&
30266 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30268 (eval $ac_try) 2>&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); }; } &&
30272 { ac_try
='test -s conftest$ac_exeext'
30273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274 (eval $ac_try) 2>&5
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; }; then
30278 ac_cv_lib_Sgm_SgCreateList
=yes
30280 echo "$as_me: failed program was:" >&5
30281 sed 's/^/| /' conftest.
$ac_ext >&5
30283 ac_cv_lib_Sgm_SgCreateList
=no
30285 rm -f conftest.err conftest.
$ac_objext \
30286 conftest
$ac_exeext conftest.
$ac_ext
30287 LIBS
=$ac_check_lib_save_LIBS
30289 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30290 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30291 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30292 libsgm_link
=" -lSgm"
30296 save_CXXFLAGS
=$CXXFLAGS
30297 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30299 echo "$as_me:$LINENO: checking for Motif 2" >&5
30300 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30301 if test "${wx_cv_lib_motif2+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 cat >conftest.
$ac_ext <<_ACEOF
30307 cat confdefs.h
>>conftest.
$ac_ext
30308 cat >>conftest.
$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30317 #if XmVersion < 2000
30325 rm -f conftest.
$ac_objext
30326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30327 (eval $ac_compile) 2>conftest.er1
30329 grep -v '^ *+' conftest.er1
>conftest.err
30331 cat conftest.err
>&5
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); } &&
30334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30336 (eval $ac_try) 2>&5
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); }; } &&
30340 { ac_try
='test -s conftest.$ac_objext'
30341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30342 (eval $ac_try) 2>&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); }; }; then
30346 wx_cv_lib_motif2
="yes"
30348 echo "$as_me: failed program was:" >&5
30349 sed 's/^/| /' conftest.
$ac_ext >&5
30351 wx_cv_lib_motif2
="no"
30353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30355 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30356 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30357 if test "$wx_cv_lib_motif2" = "yes"; then
30358 cat >>confdefs.h
<<\_ACEOF
30359 #define __WXMOTIF20__ 1
30363 cat >>confdefs.h
<<\_ACEOF
30364 #define __WXMOTIF20__ 0
30369 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30370 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30371 if test "${wx_cv_lib_lesstif+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30374 cat >conftest.
$ac_ext <<_ACEOF
30377 cat confdefs.h
>>conftest.
$ac_ext
30378 cat >>conftest.
$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30387 #if !defined(LesstifVersion) || LesstifVersion <= 0
30395 rm -f conftest.
$ac_objext
30396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30397 (eval $ac_compile) 2>conftest.er1
30399 grep -v '^ *+' conftest.er1
>conftest.err
30401 cat conftest.err
>&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } &&
30404 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30406 (eval $ac_try) 2>&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); }; } &&
30410 { ac_try
='test -s conftest.$ac_objext'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; }; then
30416 wx_cv_lib_lesstif
="yes"
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.
$ac_ext >&5
30421 wx_cv_lib_lesstif
="no"
30423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30426 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30427 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30428 if test "$wx_cv_lib_lesstif" = "yes"; then
30429 cat >>confdefs.h
<<\_ACEOF
30430 #define __WXLESSTIF__ 1
30434 cat >>confdefs.h
<<\_ACEOF
30435 #define __WXLESSTIF__ 0
30440 CXXFLAGS
=$save_CXXFLAGS
30442 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30447 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30448 if test "$wxUSE_LIBXPM" = "sys"; then
30449 echo "$as_me:$LINENO: checking for Xpm library" >&5
30450 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30453 for ac_dir
in $SEARCH_LIB;
30455 for ac_extension
in a so sl dylib dll.a
; do
30456 if test -f "$ac_dir/libXpm.$ac_extension"; then
30457 ac_find_libraries
=$ac_dir
30463 if test "$ac_find_libraries" != "" ; then
30465 if test "$ac_find_libraries" = "default location"; then
30468 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30470 if test $result = 0; then
30473 ac_path_to_link
=" -L$ac_find_libraries"
30477 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30478 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30479 echo "${ECHO_T}found in $ac_find_libraries" >&6
30481 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30482 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30483 if test "${wx_cv_x11_xpm_h+set}" = set; then
30484 echo $ECHO_N "(cached) $ECHO_C" >&6
30487 save_CXXFLAGS
=$CXXFLAGS
30488 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30490 cat >conftest.
$ac_ext <<_ACEOF
30493 cat confdefs.h
>>conftest.
$ac_ext
30494 cat >>conftest.
$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30497 #include <X11/xpm.h>
30504 version = XpmLibraryVersion();
30510 rm -f conftest.
$ac_objext
30511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30512 (eval $ac_compile) 2>conftest.er1
30514 grep -v '^ *+' conftest.er1
>conftest.err
30516 cat conftest.err
>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } &&
30519 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; } &&
30525 { ac_try
='test -s conftest.$ac_objext'
30526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30527 (eval $ac_try) 2>&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); }; }; then
30531 wx_cv_x11_xpm_h
=yes
30533 echo "$as_me: failed program was:" >&5
30534 sed 's/^/| /' conftest.
$ac_ext >&5
30539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30541 CXXFLAGS
=$save_CXXFLAGS
30545 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30546 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30548 if test $wx_cv_x11_xpm_h = "yes"; then
30549 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30550 cat >>confdefs.h
<<\_ACEOF
30551 #define wxHAVE_LIB_XPM 1
30555 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30556 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30562 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30563 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30564 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30565 echo $ECHO_N "(cached) $ECHO_C" >&6
30567 ac_check_lib_save_LIBS
=$LIBS
30568 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30569 cat >conftest.
$ac_ext <<_ACEOF
30572 cat confdefs.h
>>conftest.
$ac_ext
30573 cat >>conftest.
$ac_ext <<_ACEOF
30574 /* end confdefs.h. */
30576 /* Override any gcc2 internal prototype to avoid an error. */
30580 /* We use char because int might match the return type of a gcc2
30581 builtin and then its argument prototype would still apply. */
30582 char XShapeQueryExtension ();
30586 XShapeQueryExtension ();
30591 rm -f conftest.
$ac_objext conftest
$ac_exeext
30592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30593 (eval $ac_link) 2>conftest.er1
30595 grep -v '^ *+' conftest.er1
>conftest.err
30597 cat conftest.err
>&5
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); } &&
30600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30602 (eval $ac_try) 2>&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); }; } &&
30606 { ac_try
='test -s conftest$ac_exeext'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; }; then
30612 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30614 echo "$as_me: failed program was:" >&5
30615 sed 's/^/| /' conftest.
$ac_ext >&5
30617 ac_cv_lib_Xext_XShapeQueryExtension
=no
30619 rm -f conftest.err conftest.
$ac_objext \
30620 conftest
$ac_exeext conftest.
$ac_ext
30621 LIBS
=$ac_check_lib_save_LIBS
30623 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30624 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30625 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30627 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30633 if test "$wxHAVE_XEXT_LIB" = 1; then
30634 save_CXXFLAGS
="$CXXFLAGS"
30635 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30637 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30638 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30639 cat >conftest.
$ac_ext <<_ACEOF
30642 cat confdefs.h
>>conftest.
$ac_ext
30643 cat >>conftest.
$ac_ext <<_ACEOF
30644 /* end confdefs.h. */
30646 #include <X11/Xlib.h>
30647 #include <X11/extensions/shape.h>
30653 int dummy1, dummy2;
30654 XShapeQueryExtension((Display*)NULL,
30655 (int*)NULL, (int*)NULL);
30661 rm -f conftest.
$ac_objext
30662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30663 (eval $ac_compile) 2>conftest.er1
30665 grep -v '^ *+' conftest.er1
>conftest.err
30667 cat conftest.err
>&5
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); } &&
30670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; } &&
30676 { ac_try
='test -s conftest.$ac_objext'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30683 cat >>confdefs.h
<<\_ACEOF
30684 #define HAVE_XSHAPE 1
30687 echo "$as_me:$LINENO: result: found" >&5
30688 echo "${ECHO_T}found" >&6
30691 echo "$as_me: failed program was:" >&5
30692 sed 's/^/| /' conftest.
$ac_ext >&5
30695 echo "$as_me:$LINENO: result: not found" >&5
30696 echo "${ECHO_T}not found" >&6
30699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30700 CXXFLAGS
="$save_CXXFLAGS"
30705 if test "$wxUSE_MAC" = 1; then
30706 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30707 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30708 if test "$GCC" = yes; then
30709 echo "$as_me:$LINENO: result: gcc" >&5
30710 echo "${ECHO_T}gcc" >&6
30711 CPPFLAGS_PASCAL
="-fpascal-strings"
30712 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30713 echo "$as_me:$LINENO: result: xlc" >&5
30714 echo "${ECHO_T}xlc" >&6
30715 CPPFLAGS_PASCAL
="-qmacpstr"
30717 echo "$as_me:$LINENO: result: none" >&5
30718 echo "${ECHO_T}none" >&6
30721 if test "x$wxUSE_UNIX" = "xyes"; then
30722 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30724 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30729 WXBASEPORT
="_carbon"
30732 if test "$wxUSE_COCOA" = 1; then
30737 if test "$wxUSE_PM" = 1; then
30740 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30741 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30742 if test "${wx_cv_spbcdata+set}" = set; then
30743 echo $ECHO_N "(cached) $ECHO_C" >&6
30746 cat >conftest.
$ac_ext <<_ACEOF
30749 cat confdefs.h
>>conftest.
$ac_ext
30750 cat >>conftest.
$ac_ext <<_ACEOF
30751 /* end confdefs.h. */
30766 rm -f conftest.
$ac_objext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30768 (eval $ac_compile) 2>conftest.er1
30770 grep -v '^ *+' conftest.er1
>conftest.err
30772 cat conftest.err
>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); } &&
30775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; } &&
30781 { ac_try
='test -s conftest.$ac_objext'
30782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30783 (eval $ac_try) 2>&5
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); }; }; then
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.
$ac_ext >&5
30795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30799 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30800 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30802 if test $wx_cv_spbcdata = "yes"; then
30803 cat >>confdefs.h
<<\_ACEOF
30804 #define HAVE_SPBCDATA 1
30810 if test "$TOOLKIT" = "PM" ; then
30813 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30816 if test "$wxUSE_UNIVERSAL" = "yes"; then
30817 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30821 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30822 DISTDIR
="wx\$(TOOLKIT)"
30828 if test "$USE_WIN32" = 1 ; then
30832 GUIDIST
="BASE_DIST"
30837 if test "$wxUSE_GUI" = "yes"; then
30838 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30840 for ac_header
in X
11/Xlib.h
30842 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30844 echo "$as_me:$LINENO: checking for $ac_header" >&5
30845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30852 # Is the header compilable?
30853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30855 cat >conftest.
$ac_ext <<_ACEOF
30858 cat confdefs.h
>>conftest.
$ac_ext
30859 cat >>conftest.
$ac_ext <<_ACEOF
30860 /* end confdefs.h. */
30861 $ac_includes_default
30862 #include <$ac_header>
30864 rm -f conftest.
$ac_objext
30865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30866 (eval $ac_compile) 2>conftest.er1
30868 grep -v '^ *+' conftest.er1
>conftest.err
30870 cat conftest.err
>&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); } &&
30873 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30875 (eval $ac_try) 2>&5
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); }; } &&
30879 { ac_try
='test -s conftest.$ac_objext'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; }; then
30885 ac_header_compiler
=yes
30887 echo "$as_me: failed program was:" >&5
30888 sed 's/^/| /' conftest.
$ac_ext >&5
30890 ac_header_compiler
=no
30892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30894 echo "${ECHO_T}$ac_header_compiler" >&6
30896 # Is the header present?
30897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30899 cat >conftest.
$ac_ext <<_ACEOF
30902 cat confdefs.h
>>conftest.
$ac_ext
30903 cat >>conftest.
$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905 #include <$ac_header>
30907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30910 grep -v '^ *+' conftest.er1
>conftest.err
30912 cat conftest.err
>&5
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); } >/dev
/null
; then
30915 if test -s conftest.err
; then
30916 ac_cpp_err
=$ac_cxx_preproc_warn_flag
30917 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
30924 if test -z "$ac_cpp_err"; then
30925 ac_header_preproc
=yes
30927 echo "$as_me: failed program was:" >&5
30928 sed 's/^/| /' conftest.
$ac_ext >&5
30930 ac_header_preproc
=no
30932 rm -f conftest.err conftest.
$ac_ext
30933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30934 echo "${ECHO_T}$ac_header_preproc" >&6
30936 # So? What about this header?
30937 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30943 ac_header_preproc
=yes
30946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30960 ## ----------------------------------------- ##
30961 ## Report this to wx-dev@lists.wxwidgets.org ##
30962 ## ----------------------------------------- ##
30965 sed "s/^/$as_me: WARNING: /" >&2
30968 echo "$as_me:$LINENO: checking for $ac_header" >&5
30969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30971 echo $ECHO_N "(cached) $ECHO_C" >&6
30973 eval "$as_ac_Header=\$ac_header_preproc"
30975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30980 cat >>confdefs.h
<<_ACEOF
30981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30989 for ac_header
in X
11/XKBlib.h
30991 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30992 echo "$as_me:$LINENO: checking for $ac_header" >&5
30993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30995 echo $ECHO_N "(cached) $ECHO_C" >&6
30997 cat >conftest.
$ac_ext <<_ACEOF
31000 cat confdefs.h
>>conftest.
$ac_ext
31001 cat >>conftest.
$ac_ext <<_ACEOF
31002 /* end confdefs.h. */
31004 #if HAVE_X11_XLIB_H
31005 #include <X11/Xlib.h>
31009 #include <$ac_header>
31011 rm -f conftest.
$ac_objext
31012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31013 (eval $ac_compile) 2>conftest.er1
31015 grep -v '^ *+' conftest.er1
>conftest.err
31017 cat conftest.err
>&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); } &&
31020 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31022 (eval $ac_try) 2>&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; } &&
31026 { ac_try
='test -s conftest.$ac_objext'
31027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31028 (eval $ac_try) 2>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; }; then
31032 eval "$as_ac_Header=yes"
31034 echo "$as_me: failed program was:" >&5
31035 sed 's/^/| /' conftest.
$ac_ext >&5
31037 eval "$as_ac_Header=no"
31039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31044 cat >>confdefs.h
<<_ACEOF
31045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31060 if test "$TOOLKIT" != "MSW" ; then
31062 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31064 if test "${ac_cv_header_sql_h+set}" = set; then
31065 echo "$as_me:$LINENO: checking for sql.h" >&5
31066 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31067 if test "${ac_cv_header_sql_h+set}" = set; then
31068 echo $ECHO_N "(cached) $ECHO_C" >&6
31070 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31071 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31073 # Is the header compilable?
31074 echo "$as_me:$LINENO: checking sql.h usability" >&5
31075 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31076 cat >conftest.
$ac_ext <<_ACEOF
31079 cat confdefs.h
>>conftest.
$ac_ext
31080 cat >>conftest.
$ac_ext <<_ACEOF
31081 /* end confdefs.h. */
31082 $ac_includes_default
31085 rm -f conftest.
$ac_objext
31086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31087 (eval $ac_compile) 2>conftest.er1
31089 grep -v '^ *+' conftest.er1
>conftest.err
31091 cat conftest.err
>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } &&
31094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; } &&
31100 { ac_try
='test -s conftest.$ac_objext'
31101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31102 (eval $ac_try) 2>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; }; then
31106 ac_header_compiler
=yes
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.
$ac_ext >&5
31111 ac_header_compiler
=no
31113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31115 echo "${ECHO_T}$ac_header_compiler" >&6
31117 # Is the header present?
31118 echo "$as_me:$LINENO: checking sql.h presence" >&5
31119 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31120 cat >conftest.
$ac_ext <<_ACEOF
31123 cat confdefs.h
>>conftest.
$ac_ext
31124 cat >>conftest.
$ac_ext <<_ACEOF
31125 /* end confdefs.h. */
31128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31131 grep -v '^ *+' conftest.er1
>conftest.err
31133 cat conftest.err
>&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); } >/dev
/null
; then
31136 if test -s conftest.err
; then
31137 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31138 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31145 if test -z "$ac_cpp_err"; then
31146 ac_header_preproc
=yes
31148 echo "$as_me: failed program was:" >&5
31149 sed 's/^/| /' conftest.
$ac_ext >&5
31151 ac_header_preproc
=no
31153 rm -f conftest.err conftest.
$ac_ext
31154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31155 echo "${ECHO_T}$ac_header_preproc" >&6
31157 # So? What about this header?
31158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31160 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31161 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31162 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31163 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31164 ac_header_preproc
=yes
31167 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31168 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31169 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31170 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31171 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31172 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31173 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31174 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31175 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31176 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31177 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31178 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31181 ## ----------------------------------------- ##
31182 ## Report this to wx-dev@lists.wxwidgets.org ##
31183 ## ----------------------------------------- ##
31186 sed "s/^/$as_me: WARNING: /" >&2
31189 echo "$as_me:$LINENO: checking for sql.h" >&5
31190 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31191 if test "${ac_cv_header_sql_h+set}" = set; then
31192 echo $ECHO_N "(cached) $ECHO_C" >&6
31194 ac_cv_header_sql_h
=$ac_header_preproc
31196 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31197 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31200 if test $ac_cv_header_sql_h = yes; then
31205 if test "x$found_sql_h" = "x1" ; then
31206 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31207 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31208 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31209 echo $ECHO_N "(cached) $ECHO_C" >&6
31211 ac_check_lib_save_LIBS
=$LIBS
31212 LIBS
="-liodbc $LIBS"
31213 cat >conftest.
$ac_ext <<_ACEOF
31216 cat confdefs.h
>>conftest.
$ac_ext
31217 cat >>conftest.
$ac_ext <<_ACEOF
31218 /* end confdefs.h. */
31220 /* Override any gcc2 internal prototype to avoid an error. */
31224 /* We use char because int might match the return type of a gcc2
31225 builtin and then its argument prototype would still apply. */
31226 char SQLAllocEnv ();
31235 rm -f conftest.
$ac_objext conftest
$ac_exeext
31236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31237 (eval $ac_link) 2>conftest.er1
31239 grep -v '^ *+' conftest.er1
>conftest.err
31241 cat conftest.err
>&5
31242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31243 (exit $ac_status); } &&
31244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31246 (eval $ac_try) 2>&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; } &&
31250 { ac_try
='test -s conftest$ac_exeext'
31251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252 (eval $ac_try) 2>&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); }; }; then
31256 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31258 echo "$as_me: failed program was:" >&5
31259 sed 's/^/| /' conftest.
$ac_ext >&5
31261 ac_cv_lib_iodbc_SQLAllocEnv
=no
31263 rm -f conftest.err conftest.
$ac_objext \
31264 conftest
$ac_exeext conftest.
$ac_ext
31265 LIBS
=$ac_check_lib_save_LIBS
31267 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31268 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31269 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31270 ODBC_LINK
=" -liodbc"
31273 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31274 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31275 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31276 echo $ECHO_N "(cached) $ECHO_C" >&6
31278 ac_check_lib_save_LIBS
=$LIBS
31279 LIBS
="-lunixodbc $LIBS"
31280 cat >conftest.
$ac_ext <<_ACEOF
31283 cat confdefs.h
>>conftest.
$ac_ext
31284 cat >>conftest.
$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31287 /* Override any gcc2 internal prototype to avoid an error. */
31291 /* We use char because int might match the return type of a gcc2
31292 builtin and then its argument prototype would still apply. */
31293 char SQLAllocEnv ();
31302 rm -f conftest.
$ac_objext conftest
$ac_exeext
31303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31304 (eval $ac_link) 2>conftest.er1
31306 grep -v '^ *+' conftest.er1
>conftest.err
31308 cat conftest.err
>&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); } &&
31311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31313 (eval $ac_try) 2>&5
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); }; } &&
31317 { ac_try
='test -s conftest$ac_exeext'
31318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31319 (eval $ac_try) 2>&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); }; }; then
31323 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31325 echo "$as_me: failed program was:" >&5
31326 sed 's/^/| /' conftest.
$ac_ext >&5
31328 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31330 rm -f conftest.err conftest.
$ac_objext \
31331 conftest
$ac_exeext conftest.
$ac_ext
31332 LIBS
=$ac_check_lib_save_LIBS
31334 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31335 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31336 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31337 ODBC_LINK
=" -lunixodbc"
31340 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31341 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31342 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31343 echo $ECHO_N "(cached) $ECHO_C" >&6
31345 ac_check_lib_save_LIBS
=$LIBS
31346 LIBS
="-lodbc $LIBS"
31347 cat >conftest.
$ac_ext <<_ACEOF
31350 cat confdefs.h
>>conftest.
$ac_ext
31351 cat >>conftest.
$ac_ext <<_ACEOF
31352 /* end confdefs.h. */
31354 /* Override any gcc2 internal prototype to avoid an error. */
31358 /* We use char because int might match the return type of a gcc2
31359 builtin and then its argument prototype would still apply. */
31360 char SQLAllocEnv ();
31369 rm -f conftest.
$ac_objext conftest
$ac_exeext
31370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31371 (eval $ac_link) 2>conftest.er1
31373 grep -v '^ *+' conftest.er1
>conftest.err
31375 cat conftest.err
>&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); } &&
31378 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31380 (eval $ac_try) 2>&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; } &&
31384 { ac_try
='test -s conftest$ac_exeext'
31385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31386 (eval $ac_try) 2>&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); }; }; then
31390 ac_cv_lib_odbc_SQLAllocEnv
=yes
31392 echo "$as_me: failed program was:" >&5
31393 sed 's/^/| /' conftest.
$ac_ext >&5
31395 ac_cv_lib_odbc_SQLAllocEnv
=no
31397 rm -f conftest.err conftest.
$ac_objext \
31398 conftest
$ac_exeext conftest.
$ac_ext
31399 LIBS
=$ac_check_lib_save_LIBS
31401 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31402 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31403 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31404 ODBC_LINK
=" -lodbc"
31414 if test "x$ODBC_LINK" = "x" ; then
31415 if test "$wxUSE_ODBC" = "sys" ; then
31416 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31417 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31418 { (exit 1); exit 1; }; }
31420 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31421 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31429 if test "$wxUSE_ODBC" = "builtin" ; then
31430 cat >>confdefs.h
<<\_ACEOF
31431 #define wxUSE_BUILTIN_IODBC 1
31437 if test "$wxUSE_ODBC" != "no" ; then
31438 cat >>confdefs.h
<<\_ACEOF
31439 #define wxUSE_ODBC 1
31442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31444 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31448 if test "$wxUSE_DISPLAY" = "yes"; then
31449 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31450 echo "$as_me:$LINENO: checking for Xinerama" >&5
31451 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31454 for ac_dir
in $SEARCH_LIB;
31456 for ac_extension
in a so sl dylib dll.a
; do
31457 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31458 ac_find_libraries
=$ac_dir
31464 if test "$ac_find_libraries" != "" ; then
31466 if test "$ac_find_libraries" = "default location"; then
31469 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31471 if test $result = 0; then
31474 ac_path_to_link
=" -L$ac_find_libraries"
31478 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31479 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31481 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31482 echo "$as_me:$LINENO: result: yes" >&5
31483 echo "${ECHO_T}yes" >&6
31485 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31486 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31489 for ac_dir
in $SEARCH_LIB;
31491 for ac_extension
in a so sl dylib dll.a
; do
31492 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31493 ac_find_libraries
=$ac_dir
31499 if test "$ac_find_libraries" != "" ; then
31500 echo "$as_me:$LINENO: result: yes" >&5
31501 echo "${ECHO_T}yes" >&6
31503 for ac_header
in X
11/extensions
/xf86vmode.h
31505 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31506 echo "$as_me:$LINENO: checking for $ac_header" >&5
31507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31509 echo $ECHO_N "(cached) $ECHO_C" >&6
31511 cat >conftest.
$ac_ext <<_ACEOF
31514 cat confdefs.h
>>conftest.
$ac_ext
31515 cat >>conftest.
$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31518 #if HAVE_X11_XLIB_H
31519 #include <X11/Xlib.h>
31523 #include <$ac_header>
31525 rm -f conftest.
$ac_objext
31526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31527 (eval $ac_compile) 2>conftest.er1
31529 grep -v '^ *+' conftest.er1
>conftest.err
31531 cat conftest.err
>&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } &&
31534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; } &&
31540 { ac_try
='test -s conftest.$ac_objext'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; }; then
31546 eval "$as_ac_Header=yes"
31548 echo "$as_me: failed program was:" >&5
31549 sed 's/^/| /' conftest.
$ac_ext >&5
31551 eval "$as_ac_Header=no"
31553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31558 cat >>confdefs.h
<<_ACEOF
31559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31562 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31569 echo "$as_me:$LINENO: result: no" >&5
31570 echo "${ECHO_T}no" >&6
31574 echo "$as_me:$LINENO: result: no" >&5
31575 echo "${ECHO_T}no" >&6
31576 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31577 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31580 elif test "$wxUSE_MSW" = 1; then
31582 for ac_header
in ddraw.h
31584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31585 echo "$as_me:$LINENO: checking for $ac_header" >&5
31586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31588 echo $ECHO_N "(cached) $ECHO_C" >&6
31590 cat >conftest.
$ac_ext <<_ACEOF
31593 cat confdefs.h
>>conftest.
$ac_ext
31594 cat >>conftest.
$ac_ext <<_ACEOF
31595 /* end confdefs.h. */
31596 #include <windows.h>
31598 #include <$ac_header>
31600 rm -f conftest.
$ac_objext
31601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31602 (eval $ac_compile) 2>conftest.er1
31604 grep -v '^ *+' conftest.er1
>conftest.err
31606 cat conftest.err
>&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); } &&
31609 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31611 (eval $ac_try) 2>&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); }; } &&
31615 { ac_try
='test -s conftest.$ac_objext'
31616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31617 (eval $ac_try) 2>&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); }; }; then
31621 eval "$as_ac_Header=yes"
31623 echo "$as_me: failed program was:" >&5
31624 sed 's/^/| /' conftest.
$ac_ext >&5
31626 eval "$as_ac_Header=no"
31628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31633 cat >>confdefs.h
<<_ACEOF
31634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31646 if test "$wxUSE_OPENGL" = "yes"; then
31647 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31648 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31649 elif test "$wxUSE_MSW" = 1; then
31650 OPENGL_LIBS
="-lopengl32 -lglu32"
31655 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31657 if test -f "$ac_dir/GL/gl.h"; then
31658 ac_find_includes
=$ac_dir
31663 if test "$ac_find_includes" != "" ; then
31664 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31665 echo "${ECHO_T}found in $ac_find_includes" >&6
31667 if test "x$ac_find_includes" = "x/usr/include"; then
31668 ac_path_to_include
=""
31670 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31672 if test $result = 0; then
31673 ac_path_to_include
=""
31675 ac_path_to_include
=" -I$ac_find_includes"
31679 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31682 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31683 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31684 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31685 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31686 echo $ECHO_N "(cached) $ECHO_C" >&6
31688 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31689 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31691 # Is the header compilable?
31692 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31693 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31694 cat >conftest.
$ac_ext <<_ACEOF
31697 cat confdefs.h
>>conftest.
$ac_ext
31698 cat >>conftest.
$ac_ext <<_ACEOF
31699 /* end confdefs.h. */
31700 $ac_includes_default
31703 rm -f conftest.
$ac_objext
31704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31705 (eval $ac_compile) 2>conftest.er1
31707 grep -v '^ *+' conftest.er1
>conftest.err
31709 cat conftest.err
>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); } &&
31712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31714 (eval $ac_try) 2>&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); }; } &&
31718 { ac_try
='test -s conftest.$ac_objext'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; }; then
31724 ac_header_compiler
=yes
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.
$ac_ext >&5
31729 ac_header_compiler
=no
31731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31733 echo "${ECHO_T}$ac_header_compiler" >&6
31735 # Is the header present?
31736 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31737 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31738 cat >conftest.
$ac_ext <<_ACEOF
31741 cat confdefs.h
>>conftest.
$ac_ext
31742 cat >>conftest.
$ac_ext <<_ACEOF
31743 /* end confdefs.h. */
31746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31749 grep -v '^ *+' conftest.er1
>conftest.err
31751 cat conftest.err
>&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } >/dev
/null
; then
31754 if test -s conftest.err
; then
31755 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31756 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31763 if test -z "$ac_cpp_err"; then
31764 ac_header_preproc
=yes
31766 echo "$as_me: failed program was:" >&5
31767 sed 's/^/| /' conftest.
$ac_ext >&5
31769 ac_header_preproc
=no
31771 rm -f conftest.err conftest.
$ac_ext
31772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31773 echo "${ECHO_T}$ac_header_preproc" >&6
31775 # So? What about this header?
31776 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31778 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31779 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31780 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31781 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31782 ac_header_preproc
=yes
31785 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31786 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31787 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31788 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31789 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31790 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31791 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31792 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31793 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31794 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31795 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31796 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31799 ## ----------------------------------------- ##
31800 ## Report this to wx-dev@lists.wxwidgets.org ##
31801 ## ----------------------------------------- ##
31804 sed "s/^/$as_me: WARNING: /" >&2
31807 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31808 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31809 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31810 echo $ECHO_N "(cached) $ECHO_C" >&6
31812 ac_cv_header_GL_gl_h
=$ac_header_preproc
31814 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31815 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31818 if test $ac_cv_header_GL_gl_h = yes; then
31822 echo "$as_me:$LINENO: checking for -lGL" >&5
31823 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31826 for ac_dir
in $SEARCH_LIB;
31828 for ac_extension
in a so sl dylib dll.a
; do
31829 if test -f "$ac_dir/libGL.$ac_extension"; then
31830 ac_find_libraries
=$ac_dir
31836 if test "$ac_find_libraries" != "" ; then
31837 echo "$as_me:$LINENO: result: yes" >&5
31838 echo "${ECHO_T}yes" >&6
31841 if test "$ac_find_libraries" = "default location"; then
31844 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31846 if test $result = 0; then
31849 ac_path_to_link
=" -L$ac_find_libraries"
31853 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31854 LDFLAGS_GL
="$ac_path_to_link"
31857 echo "$as_me:$LINENO: checking for -lGLU" >&5
31858 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31861 for ac_dir
in $SEARCH_LIB;
31863 for ac_extension
in a so sl dylib dll.a
; do
31864 if test -f "$ac_dir/libGLU.$ac_extension"; then
31865 ac_find_libraries
=$ac_dir
31871 if test "$ac_find_libraries" != "" ; then
31873 if test "$ac_find_libraries" = "default location"; then
31876 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31878 if test $result = 0; then
31881 ac_path_to_link
=" -L$ac_find_libraries"
31885 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31886 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31887 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31891 OPENGL_LIBS
="-lGL -lGLU"
31892 echo "$as_me:$LINENO: result: yes" >&5
31893 echo "${ECHO_T}yes" >&6
31895 echo "$as_me:$LINENO: result: no" >&5
31896 echo "${ECHO_T}no" >&6
31899 echo "$as_me:$LINENO: result: no" >&5
31900 echo "${ECHO_T}no" >&6
31903 if test "$found_gl" != 1; then
31904 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31905 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31908 for ac_dir
in $SEARCH_LIB;
31910 for ac_extension
in a so sl dylib dll.a
; do
31911 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31912 ac_find_libraries
=$ac_dir
31918 if test "$ac_find_libraries" != "" ; then
31920 if test "$ac_find_libraries" = "default location"; then
31923 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31925 if test $result = 0; then
31928 ac_path_to_link
=" -L$ac_find_libraries"
31932 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31933 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31934 echo "$as_me:$LINENO: result: yes" >&5
31935 echo "${ECHO_T}yes" >&6
31937 echo "$as_me:$LINENO: result: no" >&5
31938 echo "${ECHO_T}no" >&6
31946 if test "x$OPENGL_LIBS" = "x"; then
31947 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31948 echo "$as_me: error: OpenGL libraries not available" >&2;}
31949 { (exit 1); exit 1; }; }
31953 if test "$wxUSE_OPENGL" = "yes"; then
31955 cat >>confdefs.h
<<\_ACEOF
31956 #define wxUSE_OPENGL 1
31959 cat >>confdefs.h
<<\_ACEOF
31960 #define wxUSE_GLCANVAS 1
31963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31968 if test -n "$TOOLKIT" ; then
31969 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31974 if test "$wxUSE_SHARED" = "yes"; then
31978 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31979 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31984 if test "$wxUSE_SHARED" = "yes"; then
31987 found_versioning
=no
31990 if test $found_versioning = no
; then
31991 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31992 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31993 if test "${wx_cv_version_script+set}" = set; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31997 echo "VER_1 { *; };" >conftest.sym
31998 echo "int main() { return 0; }" >conftest.cpp
32001 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32002 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; } ; then
32008 if test -s conftest.stderr
; then
32009 wx_cv_version_script
=no
32011 wx_cv_version_script
=yes
32014 wx_cv_version_script
=no
32017 if test $wx_cv_version_script = yes
32019 echo "struct B { virtual ~B() { } }; \
32020 struct D : public B { }; \
32021 void F() { D d; }" > conftest.cpp
32024 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32025 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32027 (eval $ac_try) 2>&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); }; } &&
32032 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32033 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32035 (eval $ac_try) 2>&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); }; }
32041 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32042 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; }
32049 wx_cv_version_script
=yes
32051 wx_cv_version_script
=no
32056 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32057 rm -f conftest1.output conftest2.output conftest3.output
32060 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32061 echo "${ECHO_T}$wx_cv_version_script" >&6
32062 if test $wx_cv_version_script = yes ; then
32063 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32069 *-*-linux* | *-*-gnu* )
32070 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32071 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32075 if test "$GCC" = yes ; then
32076 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32078 saveLdflags
="$LDFLAGS"
32079 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32080 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32081 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32082 cat >conftest.
$ac_ext <<_ACEOF
32085 cat confdefs.h
>>conftest.
$ac_ext
32086 cat >>conftest.
$ac_ext <<_ACEOF
32087 /* end confdefs.h. */
32097 rm -f conftest.
$ac_objext conftest
$ac_exeext
32098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32099 (eval $ac_link) 2>conftest.er1
32101 grep -v '^ *+' conftest.er1
>conftest.err
32103 cat conftest.err
>&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } &&
32106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32108 (eval $ac_try) 2>&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); }; } &&
32112 { ac_try
='test -s conftest$ac_exeext'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; }; then
32119 echo "$as_me:$LINENO: result: yes" >&5
32120 echo "${ECHO_T}yes" >&6
32121 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32122 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32125 echo "$as_me: failed program was:" >&5
32126 sed 's/^/| /' conftest.
$ac_ext >&5
32129 echo "$as_me:$LINENO: result: no" >&5
32130 echo "${ECHO_T}no" >&6
32131 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32132 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32133 LDFLAGS
="$saveLdflags -Wl,-R,/"
32134 cat >conftest.
$ac_ext <<_ACEOF
32137 cat confdefs.h
>>conftest.
$ac_ext
32138 cat >>conftest.
$ac_ext <<_ACEOF
32139 /* end confdefs.h. */
32149 rm -f conftest.
$ac_objext conftest
$ac_exeext
32150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32151 (eval $ac_link) 2>conftest.er1
32153 grep -v '^ *+' conftest.er1
>conftest.err
32155 cat conftest.err
>&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); } &&
32158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32160 (eval $ac_try) 2>&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); }; } &&
32164 { ac_try
='test -s conftest$ac_exeext'
32165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32166 (eval $ac_try) 2>&5
32168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32169 (exit $ac_status); }; }; then
32171 echo "$as_me:$LINENO: result: yes" >&5
32172 echo "${ECHO_T}yes" >&6
32173 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32174 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32177 echo "$as_me: failed program was:" >&5
32178 sed 's/^/| /' conftest.
$ac_ext >&5
32181 echo "$as_me:$LINENO: result: no" >&5
32182 echo "${ECHO_T}no" >&6
32185 rm -f conftest.err conftest.
$ac_objext \
32186 conftest
$ac_exeext conftest.
$ac_ext
32189 rm -f conftest.err conftest.
$ac_objext \
32190 conftest
$ac_exeext conftest.
$ac_ext
32191 LDFLAGS
="$saveLdflags"
32193 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32194 WXCONFIG_RPATH
="-R\$libdir"
32199 install_name_tool
=`which install_name_tool`
32200 if test "$install_name_tool" -a -x "$install_name_tool"; then
32201 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32202 cat <<EOF >change-install-names
32204 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32205 inst_cmd="install_name_tool "
32206 for i in \${libnames} ; do
32207 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32211 chmod +x change
-install-names
32215 *-*-cygwin* | *-*-mingw32* )
32216 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32220 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32221 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32226 if test $wxUSE_RPATH = "no"; then
32227 SAMPLES_RPATH_FLAG
=''
32228 SAMPLES_RPATH_POSTLINK
=''
32236 config_linkage_component
="-static"
32243 lib_unicode_suffix
=
32245 if test "$wxUSE_UNICODE" = "yes"; then
32246 lib_unicode_suffix
=u
32247 WX_CHARTYPE
="unicode"
32252 WX_DEBUGTYPE
="release"
32254 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32256 WX_DEBUGTYPE
="debug"
32260 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32261 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32264 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32268 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32270 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32272 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32274 if test "$cross_compiling" = "yes"; then
32275 HOST_SUFFIX
="-$host_alias"
32276 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32277 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32280 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32281 if test "${TOOLKIT_DIR}" = "os2"; then
32282 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32284 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32289 if test "$wxUSE_COCOA" = 1; then
32293 ac_cpp
='$CPP $CPPFLAGS'
32294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32300 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32301 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32302 cat >conftest.
$ac_ext <<_ACEOF
32305 cat confdefs.h
>>conftest.
$ac_ext
32306 cat >>conftest.
$ac_ext <<_ACEOF
32307 /* end confdefs.h. */
32308 #include <AppKit/NSEvent.h>
32309 #include <CoreFoundation/CoreFoundation.h>
32319 rm -f conftest.
$ac_objext
32320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32321 (eval $ac_compile) 2>conftest.er1
32323 grep -v '^ *+' conftest.er1
>conftest.err
32325 cat conftest.err
>&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); } &&
32328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32330 (eval $ac_try) 2>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); }; } &&
32334 { ac_try
='test -s conftest.$ac_objext'
32335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32336 (eval $ac_try) 2>&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); }; }; then
32340 echo "$as_me:$LINENO: result: no" >&5
32341 echo "${ECHO_T}no" >&6
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.
$ac_ext >&5
32346 echo "$as_me:$LINENO: result: yes" >&5
32347 echo "${ECHO_T}yes" >&6
32348 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32349 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32350 cat >conftest.
$ac_ext <<_ACEOF
32353 cat confdefs.h
>>conftest.
$ac_ext
32354 cat >>conftest.
$ac_ext <<_ACEOF
32355 /* end confdefs.h. */
32356 #define __Point__ 1
32357 #include <AppKit/NSEvent.h>
32358 #include <CoreFoundation/CoreFoundation.h>
32368 rm -f conftest.
$ac_objext
32369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32370 (eval $ac_compile) 2>conftest.er1
32372 grep -v '^ *+' conftest.er1
>conftest.err
32374 cat conftest.err
>&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } &&
32377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 (eval $ac_try) 2>&5
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); }; } &&
32383 { ac_try
='test -s conftest.$ac_objext'
32384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32385 (eval $ac_try) 2>&5
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); }; }; then
32389 echo "$as_me:$LINENO: result: yes" >&5
32390 echo "${ECHO_T}yes" >&6
32391 cat >>confdefs.h
<<\_ACEOF
32392 #define __Point__ 1
32397 echo "$as_me: failed program was:" >&5
32398 sed 's/^/| /' conftest.
$ac_ext >&5
32400 { { echo "$as_me:$LINENO: error: no
32401 See \`config.log' for more details." >&5
32402 echo "$as_me: error: no
32403 See \`config.log' for more details." >&2;}
32404 { (exit 1); exit 1; }; }
32407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32412 ac_cpp
='$CXXCPP $CPPFLAGS'
32413 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32414 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32415 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32419 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32420 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32421 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32423 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32425 # Extract the first word of "Rez", so it can be a program name with args.
32426 set dummy Rez
; ac_word
=$2
32427 echo "$as_me:$LINENO: checking for $ac_word" >&5
32428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32429 if test "${ac_cv_prog_REZ+set}" = set; then
32430 echo $ECHO_N "(cached) $ECHO_C" >&6
32432 if test -n "$REZ"; then
32433 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32436 for as_dir
in $PATH
32439 test -z "$as_dir" && as_dir
=.
32440 for ac_exec_ext
in '' $ac_executable_extensions; do
32441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32442 ac_cv_prog_REZ
="Rez"
32443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32449 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32452 REZ
=$ac_cv_prog_REZ
32453 if test -n "$REZ"; then
32454 echo "$as_me:$LINENO: result: $REZ" >&5
32455 echo "${ECHO_T}$REZ" >&6
32457 echo "$as_me:$LINENO: result: no" >&5
32458 echo "${ECHO_T}no" >&6
32461 # Extract the first word of "DeRez", so it can be a program name with args.
32462 set dummy DeRez
; ac_word
=$2
32463 echo "$as_me:$LINENO: checking for $ac_word" >&5
32464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32465 if test "${ac_cv_prog_DEREZ+set}" = set; then
32466 echo $ECHO_N "(cached) $ECHO_C" >&6
32468 if test -n "$DEREZ"; then
32469 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32472 for as_dir
in $PATH
32475 test -z "$as_dir" && as_dir
=.
32476 for ac_exec_ext
in '' $ac_executable_extensions; do
32477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32478 ac_cv_prog_DEREZ
="DeRez"
32479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32485 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32488 DEREZ
=$ac_cv_prog_DEREZ
32489 if test -n "$DEREZ"; then
32490 echo "$as_me:$LINENO: result: $DEREZ" >&5
32491 echo "${ECHO_T}$DEREZ" >&6
32493 echo "$as_me:$LINENO: result: no" >&5
32494 echo "${ECHO_T}no" >&6
32497 # Extract the first word of "SetFile", so it can be a program name with args.
32498 set dummy SetFile
; ac_word
=$2
32499 echo "$as_me:$LINENO: checking for $ac_word" >&5
32500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32501 if test "${ac_cv_prog_SETFILE+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32504 if test -n "$SETFILE"; then
32505 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32508 for as_dir
in $PATH
32511 test -z "$as_dir" && as_dir
=.
32512 for ac_exec_ext
in '' $ac_executable_extensions; do
32513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32514 ac_cv_prog_SETFILE
="SetFile"
32515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32521 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32524 SETFILE
=$ac_cv_prog_SETFILE
32525 if test -n "$SETFILE"; then
32526 echo "$as_me:$LINENO: result: $SETFILE" >&5
32527 echo "${ECHO_T}$SETFILE" >&6
32529 echo "$as_me:$LINENO: result: no" >&5
32530 echo "${ECHO_T}no" >&6
32534 MACSETFILE
="\$(SETFILE)"
32536 if test "$wxUSE_MAC" = 1; then
32537 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32539 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32541 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32542 RESCOMP
="echo -n \| $REZ"
32543 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32549 if test "$wxUSE_PM" = 1; then
32551 WXCONFIG_RESFLAGS
="-ep"
32553 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32555 POSTLINK_COMMAND
="@true"
32562 echo "$as_me:$LINENO: checking for mode_t" >&5
32563 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32564 if test "${ac_cv_type_mode_t+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 cat >conftest.
$ac_ext <<_ACEOF
32570 cat confdefs.h
>>conftest.
$ac_ext
32571 cat >>conftest.
$ac_ext <<_ACEOF
32572 /* end confdefs.h. */
32573 $ac_includes_default
32579 if (sizeof (mode_t))
32585 rm -f conftest.
$ac_objext
32586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32587 (eval $ac_compile) 2>conftest.er1
32589 grep -v '^ *+' conftest.er1
>conftest.err
32591 cat conftest.err
>&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } &&
32594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32596 (eval $ac_try) 2>&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); }; } &&
32600 { ac_try
='test -s conftest.$ac_objext'
32601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32602 (eval $ac_try) 2>&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); }; }; then
32606 ac_cv_type_mode_t
=yes
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.
$ac_ext >&5
32611 ac_cv_type_mode_t
=no
32613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32615 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32616 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32617 if test $ac_cv_type_mode_t = yes; then
32621 cat >>confdefs.h
<<_ACEOF
32627 echo "$as_me:$LINENO: checking for off_t" >&5
32628 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32629 if test "${ac_cv_type_off_t+set}" = set; then
32630 echo $ECHO_N "(cached) $ECHO_C" >&6
32632 cat >conftest.
$ac_ext <<_ACEOF
32635 cat confdefs.h
>>conftest.
$ac_ext
32636 cat >>conftest.
$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638 $ac_includes_default
32644 if (sizeof (off_t))
32650 rm -f conftest.
$ac_objext
32651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32652 (eval $ac_compile) 2>conftest.er1
32654 grep -v '^ *+' conftest.er1
>conftest.err
32656 cat conftest.err
>&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } &&
32659 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32661 (eval $ac_try) 2>&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); }; } &&
32665 { ac_try
='test -s conftest.$ac_objext'
32666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32667 (eval $ac_try) 2>&5
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); }; }; then
32671 ac_cv_type_off_t
=yes
32673 echo "$as_me: failed program was:" >&5
32674 sed 's/^/| /' conftest.
$ac_ext >&5
32676 ac_cv_type_off_t
=no
32678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32680 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32681 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32682 if test $ac_cv_type_off_t = yes; then
32686 cat >>confdefs.h
<<_ACEOF
32692 echo "$as_me:$LINENO: checking for pid_t" >&5
32693 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32694 if test "${ac_cv_type_pid_t+set}" = set; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32697 cat >conftest.
$ac_ext <<_ACEOF
32700 cat confdefs.h
>>conftest.
$ac_ext
32701 cat >>conftest.
$ac_ext <<_ACEOF
32702 /* end confdefs.h. */
32703 $ac_includes_default
32709 if (sizeof (pid_t))
32715 rm -f conftest.
$ac_objext
32716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32717 (eval $ac_compile) 2>conftest.er1
32719 grep -v '^ *+' conftest.er1
>conftest.err
32721 cat conftest.err
>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } &&
32724 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; } &&
32730 { ac_try
='test -s conftest.$ac_objext'
32731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732 (eval $ac_try) 2>&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; }; then
32736 ac_cv_type_pid_t
=yes
32738 echo "$as_me: failed program was:" >&5
32739 sed 's/^/| /' conftest.
$ac_ext >&5
32741 ac_cv_type_pid_t
=no
32743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32745 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32746 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32747 if test $ac_cv_type_pid_t = yes; then
32751 cat >>confdefs.h
<<_ACEOF
32757 echo "$as_me:$LINENO: checking for size_t" >&5
32758 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32759 if test "${ac_cv_type_size_t+set}" = set; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 cat >conftest.
$ac_ext <<_ACEOF
32765 cat confdefs.h
>>conftest.
$ac_ext
32766 cat >>conftest.
$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32768 $ac_includes_default
32774 if (sizeof (size_t))
32780 rm -f conftest.
$ac_objext
32781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32782 (eval $ac_compile) 2>conftest.er1
32784 grep -v '^ *+' conftest.er1
>conftest.err
32786 cat conftest.err
>&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); } &&
32789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; } &&
32795 { ac_try
='test -s conftest.$ac_objext'
32796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32797 (eval $ac_try) 2>&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); }; }; then
32801 ac_cv_type_size_t
=yes
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.
$ac_ext >&5
32806 ac_cv_type_size_t
=no
32808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32810 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32811 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32812 if test $ac_cv_type_size_t = yes; then
32816 cat >>confdefs.h
<<_ACEOF
32817 #define size_t unsigned
32822 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32823 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32824 if test "${ac_cv_type_uid_t+set}" = set; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32827 cat >conftest.
$ac_ext <<_ACEOF
32830 cat confdefs.h
>>conftest.
$ac_ext
32831 cat >>conftest.
$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32833 #include <sys/types.h>
32836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32837 $EGREP "uid_t" >/dev
/null
2>&1; then
32838 ac_cv_type_uid_t
=yes
32840 ac_cv_type_uid_t
=no
32845 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32846 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32847 if test $ac_cv_type_uid_t = no
; then
32849 cat >>confdefs.h
<<\_ACEOF
32854 cat >>confdefs.h
<<\_ACEOF
32861 echo "$as_me:$LINENO: checking for ssize_t" >&5
32862 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32863 if test "${ac_cv_type_ssize_t+set}" = set; then
32864 echo $ECHO_N "(cached) $ECHO_C" >&6
32866 cat >conftest.
$ac_ext <<_ACEOF
32869 cat confdefs.h
>>conftest.
$ac_ext
32870 cat >>conftest.
$ac_ext <<_ACEOF
32871 /* end confdefs.h. */
32872 $ac_includes_default
32878 if (sizeof (ssize_t))
32884 rm -f conftest.
$ac_objext
32885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32886 (eval $ac_compile) 2>conftest.er1
32888 grep -v '^ *+' conftest.er1
>conftest.err
32890 cat conftest.err
>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); } &&
32893 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; } &&
32899 { ac_try
='test -s conftest.$ac_objext'
32900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32901 (eval $ac_try) 2>&5
32903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904 (exit $ac_status); }; }; then
32905 ac_cv_type_ssize_t
=yes
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.
$ac_ext >&5
32910 ac_cv_type_ssize_t
=no
32912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32914 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32915 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32916 if test $ac_cv_type_ssize_t = yes; then
32918 cat >>confdefs.h
<<_ACEOF
32919 #define HAVE_SSIZE_T 1
32926 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32927 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32928 if test "${wx_cv_size_t_is_uint+set}" = set; then
32929 echo $ECHO_N "(cached) $ECHO_C" >&6
32932 cat >conftest.
$ac_ext <<_ACEOF
32935 cat confdefs.h
>>conftest.
$ac_ext
32936 cat >>conftest.
$ac_ext <<_ACEOF
32937 /* end confdefs.h. */
32938 #include <stddef.h>
32945 struct Foo { void foo(size_t); void foo(unsigned int); };
32953 rm -f conftest.
$ac_objext
32954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32955 (eval $ac_compile) 2>conftest.er1
32957 grep -v '^ *+' conftest.er1
>conftest.err
32959 cat conftest.err
>&5
32960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32961 (exit $ac_status); } &&
32962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32964 (eval $ac_try) 2>&5
32966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32967 (exit $ac_status); }; } &&
32968 { ac_try
='test -s conftest.$ac_objext'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; }; then
32974 wx_cv_size_t_is_uint
=no
32976 echo "$as_me: failed program was:" >&5
32977 sed 's/^/| /' conftest.
$ac_ext >&5
32979 wx_cv_size_t_is_uint
=yes
32982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32986 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32987 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32989 if test "$wx_cv_size_t_is_uint" = "yes"; then
32990 cat >>confdefs.h
<<\_ACEOF
32991 #define wxSIZE_T_IS_UINT 1
32995 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32996 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32997 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 cat >conftest.
$ac_ext <<_ACEOF
33003 cat confdefs.h
>>conftest.
$ac_ext
33004 cat >>conftest.
$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33006 #include <stddef.h>
33013 struct Foo { void foo(size_t); void foo(unsigned long); };
33021 rm -f conftest.
$ac_objext
33022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33023 (eval $ac_compile) 2>conftest.er1
33025 grep -v '^ *+' conftest.er1
>conftest.err
33027 cat conftest.err
>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); } &&
33030 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; } &&
33036 { ac_try
='test -s conftest.$ac_objext'
33037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33038 (eval $ac_try) 2>&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; }; then
33042 wx_cv_size_t_is_ulong
=no
33044 echo "$as_me: failed program was:" >&5
33045 sed 's/^/| /' conftest.
$ac_ext >&5
33047 wx_cv_size_t_is_ulong
=yes
33050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33053 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33054 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33056 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33057 cat >>confdefs.h
<<\_ACEOF
33058 #define wxSIZE_T_IS_ULONG 1
33065 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33066 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33067 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33068 echo $ECHO_N "(cached) $ECHO_C" >&6
33071 cat >conftest.
$ac_ext <<_ACEOF
33074 cat confdefs.h
>>conftest.
$ac_ext
33075 cat >>conftest.
$ac_ext <<_ACEOF
33076 /* end confdefs.h. */
33090 rm -f conftest.
$ac_objext
33091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33092 (eval $ac_compile) 2>conftest.er1
33094 grep -v '^ *+' conftest.er1
>conftest.err
33096 cat conftest.err
>&5
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); } &&
33099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; } &&
33105 { ac_try
='test -s conftest.$ac_objext'
33106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33107 (eval $ac_try) 2>&5
33109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33110 (exit $ac_status); }; }; then
33112 wx_cv_struct_pw_gecos
=yes
33115 echo "$as_me: failed program was:" >&5
33116 sed 's/^/| /' conftest.
$ac_ext >&5
33119 wx_cv_struct_pw_gecos
=no
33123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33127 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33128 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33130 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33131 cat >>confdefs.h
<<\_ACEOF
33132 #define HAVE_PW_GECOS 1
33138 if test "$wxUSE_WCHAR_T" = "yes"; then
33139 cat >>confdefs.h
<<\_ACEOF
33140 #define wxUSE_WCHAR_T 1
33147 for ac_func
in wcslen
33149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33150 echo "$as_me:$LINENO: checking for $ac_func" >&5
33151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33152 if eval "test \"\${$as_ac_var+set}\" = set"; then
33153 echo $ECHO_N "(cached) $ECHO_C" >&6
33155 cat >conftest.
$ac_ext <<_ACEOF
33158 cat confdefs.h
>>conftest.
$ac_ext
33159 cat >>conftest.
$ac_ext <<_ACEOF
33160 /* end confdefs.h. */
33161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33163 #define $ac_func innocuous_$ac_func
33165 /* System header to define __stub macros and hopefully few prototypes,
33166 which can conflict with char $ac_func (); below.
33167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33168 <limits.h> exists even on freestanding compilers. */
33171 # include <limits.h>
33173 # include <assert.h>
33178 /* Override any gcc2 internal prototype to avoid an error. */
33183 /* We use char because int might match the return type of a gcc2
33184 builtin and then its argument prototype would still apply. */
33186 /* The GNU C library defines this for functions which it implements
33187 to always fail with ENOSYS. Some functions are actually named
33188 something starting with __ and the normal name is an alias. */
33189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33192 char (*f) () = $ac_func;
33201 return f != $ac_func;
33206 rm -f conftest.
$ac_objext conftest
$ac_exeext
33207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33208 (eval $ac_link) 2>conftest.er1
33210 grep -v '^ *+' conftest.er1
>conftest.err
33212 cat conftest.err
>&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); } &&
33215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33217 (eval $ac_try) 2>&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); }; } &&
33221 { ac_try
='test -s conftest$ac_exeext'
33222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33223 (eval $ac_try) 2>&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); }; }; then
33227 eval "$as_ac_var=yes"
33229 echo "$as_me: failed program was:" >&5
33230 sed 's/^/| /' conftest.
$ac_ext >&5
33232 eval "$as_ac_var=no"
33234 rm -f conftest.err conftest.
$ac_objext \
33235 conftest
$ac_exeext conftest.
$ac_ext
33237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33239 if test `eval echo '${'$as_ac_var'}'` = yes; then
33240 cat >>confdefs.h
<<_ACEOF
33241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33248 if test "$WCSLEN_FOUND" = 0; then
33249 if test "$TOOLKIT" = "MSW"; then
33250 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33251 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33252 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33253 echo $ECHO_N "(cached) $ECHO_C" >&6
33255 ac_check_lib_save_LIBS
=$LIBS
33256 LIBS
="-lmsvcrt $LIBS"
33257 cat >conftest.
$ac_ext <<_ACEOF
33260 cat confdefs.h
>>conftest.
$ac_ext
33261 cat >>conftest.
$ac_ext <<_ACEOF
33262 /* end confdefs.h. */
33264 /* Override any gcc2 internal prototype to avoid an error. */
33268 /* We use char because int might match the return type of a gcc2
33269 builtin and then its argument prototype would still apply. */
33279 rm -f conftest.
$ac_objext conftest
$ac_exeext
33280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33281 (eval $ac_link) 2>conftest.er1
33283 grep -v '^ *+' conftest.er1
>conftest.err
33285 cat conftest.err
>&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); } &&
33288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33290 (eval $ac_try) 2>&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; } &&
33294 { ac_try
='test -s conftest$ac_exeext'
33295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33296 (eval $ac_try) 2>&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); }; }; then
33300 ac_cv_lib_msvcrt_wcslen
=yes
33302 echo "$as_me: failed program was:" >&5
33303 sed 's/^/| /' conftest.
$ac_ext >&5
33305 ac_cv_lib_msvcrt_wcslen
=no
33307 rm -f conftest.err conftest.
$ac_objext \
33308 conftest
$ac_exeext conftest.
$ac_ext
33309 LIBS
=$ac_check_lib_save_LIBS
33311 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33312 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33313 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33318 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33319 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33320 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33321 echo $ECHO_N "(cached) $ECHO_C" >&6
33323 ac_check_lib_save_LIBS
=$LIBS
33325 cat >conftest.
$ac_ext <<_ACEOF
33328 cat confdefs.h
>>conftest.
$ac_ext
33329 cat >>conftest.
$ac_ext <<_ACEOF
33330 /* end confdefs.h. */
33332 /* Override any gcc2 internal prototype to avoid an error. */
33336 /* We use char because int might match the return type of a gcc2
33337 builtin and then its argument prototype would still apply. */
33347 rm -f conftest.
$ac_objext conftest
$ac_exeext
33348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33349 (eval $ac_link) 2>conftest.er1
33351 grep -v '^ *+' conftest.er1
>conftest.err
33353 cat conftest.err
>&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } &&
33356 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; } &&
33362 { ac_try
='test -s conftest$ac_exeext'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }; then
33368 ac_cv_lib_w_wcslen
=yes
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.
$ac_ext >&5
33373 ac_cv_lib_w_wcslen
=no
33375 rm -f conftest.err conftest.
$ac_objext \
33376 conftest
$ac_exeext conftest.
$ac_ext
33377 LIBS
=$ac_check_lib_save_LIBS
33379 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33380 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33381 if test $ac_cv_lib_w_wcslen = yes; then
33391 if test "$WCSLEN_FOUND" = 1; then
33392 cat >>confdefs.h
<<\_ACEOF
33393 #define HAVE_WCSLEN 1
33398 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33399 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33402 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33403 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33404 if test "${ac_cv_type_mbstate_t+set}" = set; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 cat >conftest.
$ac_ext <<_ACEOF
33410 cat confdefs.h
>>conftest.
$ac_ext
33411 cat >>conftest.
$ac_ext <<_ACEOF
33412 /* end confdefs.h. */
33418 if ((mbstate_t *) 0)
33420 if (sizeof (mbstate_t))
33426 rm -f conftest.
$ac_objext
33427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33428 (eval $ac_compile) 2>conftest.er1
33430 grep -v '^ *+' conftest.er1
>conftest.err
33432 cat conftest.err
>&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); } &&
33435 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33437 (eval $ac_try) 2>&5
33439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440 (exit $ac_status); }; } &&
33441 { ac_try
='test -s conftest.$ac_objext'
33442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33443 (eval $ac_try) 2>&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); }; }; then
33447 ac_cv_type_mbstate_t
=yes
33449 echo "$as_me: failed program was:" >&5
33450 sed 's/^/| /' conftest.
$ac_ext >&5
33452 ac_cv_type_mbstate_t
=no
33454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33456 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33457 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33458 if test $ac_cv_type_mbstate_t = yes; then
33460 cat >>confdefs.h
<<_ACEOF
33461 #define HAVE_MBSTATE_T 1
33465 for ac_func
in wcsrtombs
33467 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33468 echo "$as_me:$LINENO: checking for $ac_func" >&5
33469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33470 if eval "test \"\${$as_ac_var+set}\" = set"; then
33471 echo $ECHO_N "(cached) $ECHO_C" >&6
33473 cat >conftest.
$ac_ext <<_ACEOF
33476 cat confdefs.h
>>conftest.
$ac_ext
33477 cat >>conftest.
$ac_ext <<_ACEOF
33478 /* end confdefs.h. */
33479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33481 #define $ac_func innocuous_$ac_func
33483 /* System header to define __stub macros and hopefully few prototypes,
33484 which can conflict with char $ac_func (); below.
33485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33486 <limits.h> exists even on freestanding compilers. */
33489 # include <limits.h>
33491 # include <assert.h>
33496 /* Override any gcc2 internal prototype to avoid an error. */
33501 /* We use char because int might match the return type of a gcc2
33502 builtin and then its argument prototype would still apply. */
33504 /* The GNU C library defines this for functions which it implements
33505 to always fail with ENOSYS. Some functions are actually named
33506 something starting with __ and the normal name is an alias. */
33507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33510 char (*f) () = $ac_func;
33519 return f != $ac_func;
33524 rm -f conftest.
$ac_objext conftest
$ac_exeext
33525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33526 (eval $ac_link) 2>conftest.er1
33528 grep -v '^ *+' conftest.er1
>conftest.err
33530 cat conftest.err
>&5
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); } &&
33533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33535 (eval $ac_try) 2>&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); }; } &&
33539 { ac_try
='test -s conftest$ac_exeext'
33540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33541 (eval $ac_try) 2>&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); }; }; then
33545 eval "$as_ac_var=yes"
33547 echo "$as_me: failed program was:" >&5
33548 sed 's/^/| /' conftest.
$ac_ext >&5
33550 eval "$as_ac_var=no"
33552 rm -f conftest.err conftest.
$ac_objext \
33553 conftest
$ac_exeext conftest.
$ac_ext
33555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33557 if test `eval echo '${'$as_ac_var'}'` = yes; then
33558 cat >>confdefs.h
<<_ACEOF
33559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33568 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33569 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33574 for ac_func
in snprintf vsnprintf
33576 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33577 echo "$as_me:$LINENO: checking for $ac_func" >&5
33578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33579 if eval "test \"\${$as_ac_var+set}\" = set"; then
33580 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. */
33588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33590 #define $ac_func innocuous_$ac_func
33592 /* System header to define __stub macros and hopefully few prototypes,
33593 which can conflict with char $ac_func (); below.
33594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33595 <limits.h> exists even on freestanding compilers. */
33598 # include <limits.h>
33600 # include <assert.h>
33605 /* Override any gcc2 internal prototype to avoid an error. */
33610 /* We use char because int might match the return type of a gcc2
33611 builtin and then its argument prototype would still apply. */
33613 /* The GNU C library defines this for functions which it implements
33614 to always fail with ENOSYS. Some functions are actually named
33615 something starting with __ and the normal name is an alias. */
33616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33619 char (*f) () = $ac_func;
33628 return f != $ac_func;
33633 rm -f conftest.
$ac_objext conftest
$ac_exeext
33634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33635 (eval $ac_link) 2>conftest.er1
33637 grep -v '^ *+' conftest.er1
>conftest.err
33639 cat conftest.err
>&5
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); } &&
33642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33644 (eval $ac_try) 2>&5
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); }; } &&
33648 { ac_try
='test -s conftest$ac_exeext'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; }; then
33654 eval "$as_ac_var=yes"
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.
$ac_ext >&5
33659 eval "$as_ac_var=no"
33661 rm -f conftest.err conftest.
$ac_objext \
33662 conftest
$ac_exeext conftest.
$ac_ext
33664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33666 if test `eval echo '${'$as_ac_var'}'` = yes; then
33667 cat >>confdefs.h
<<_ACEOF
33668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33675 if test "$ac_cv_func_vsnprintf" = "yes"; then
33676 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33677 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33678 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33679 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 cat >conftest.
$ac_ext <<_ACEOF
33685 cat confdefs.h
>>conftest.
$ac_ext
33686 cat >>conftest.
$ac_ext <<_ACEOF
33687 /* end confdefs.h. */
33690 #include <stdarg.h>
33692 #if __MSL__ >= 0x6000
33694 using namespace std;
33704 vsnprintf(buf, 10u, "%s", ap);
33710 rm -f conftest.
$ac_objext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33712 (eval $ac_compile) 2>conftest.er1
33714 grep -v '^ *+' conftest.er1
>conftest.err
33716 cat conftest.err
>&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33721 (eval $ac_try) 2>&5
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); }; } &&
33725 { ac_try
='test -s conftest.$ac_objext'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; }; then
33731 wx_cv_func_vsnprintf_decl
=yes
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.
$ac_ext >&5
33736 wx_cv_func_vsnprintf_decl
=no
33739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33743 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33744 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33746 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33747 cat >>confdefs.h
<<\_ACEOF
33748 #define HAVE_VSNPRINTF_DECL 1
33752 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33753 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33754 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33755 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 cat >conftest.
$ac_ext <<_ACEOF
33761 cat confdefs.h
>>conftest.
$ac_ext
33762 cat >>conftest.
$ac_ext <<_ACEOF
33763 /* end confdefs.h. */
33766 #include <stdarg.h>
33768 #if __MSL__ >= 0x6000
33770 using namespace std;
33780 const char *fmt = "%s";
33781 vsnprintf(buf, 10u, fmt, ap);
33787 rm -f conftest.
$ac_objext
33788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33789 (eval $ac_compile) 2>conftest.er1
33791 grep -v '^ *+' conftest.er1
>conftest.err
33793 cat conftest.err
>&5
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); } &&
33796 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; } &&
33802 { ac_try
='test -s conftest.$ac_objext'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; }; then
33808 wx_cv_func_broken_vsnprintf_decl
=no
33810 echo "$as_me: failed program was:" >&5
33811 sed 's/^/| /' conftest.
$ac_ext >&5
33813 wx_cv_func_broken_vsnprintf_decl
=yes
33816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33820 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33821 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33823 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33824 cat >>confdefs.h
<<\_ACEOF
33825 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33832 if test "$ac_cv_func_snprintf" = "yes"; then
33833 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33834 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33835 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33836 echo $ECHO_N "(cached) $ECHO_C" >&6
33839 cat >conftest.
$ac_ext <<_ACEOF
33842 cat confdefs.h
>>conftest.
$ac_ext
33843 cat >>conftest.
$ac_ext <<_ACEOF
33844 /* end confdefs.h. */
33847 #include <stdarg.h>
33849 #if __MSL__ >= 0x6000
33851 using namespace std;
33860 snprintf(buf, 10u, "%s", "wx");
33866 rm -f conftest.
$ac_objext
33867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33868 (eval $ac_compile) 2>conftest.er1
33870 grep -v '^ *+' conftest.er1
>conftest.err
33872 cat conftest.err
>&5
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); } &&
33875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33877 (eval $ac_try) 2>&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; } &&
33881 { ac_try
='test -s conftest.$ac_objext'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; }; then
33887 wx_cv_func_snprintf_decl
=yes
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.
$ac_ext >&5
33892 wx_cv_func_snprintf_decl
=no
33895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33899 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33900 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33902 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33903 cat >>confdefs.h
<<\_ACEOF
33904 #define HAVE_SNPRINTF_DECL 1
33908 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33909 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33910 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33911 echo $ECHO_N "(cached) $ECHO_C" >&6
33914 cat >conftest.
$ac_ext <<_ACEOF
33917 cat confdefs.h
>>conftest.
$ac_ext
33918 cat >>conftest.
$ac_ext <<_ACEOF
33919 /* end confdefs.h. */
33922 #include <stdarg.h>
33924 #if __MSL__ >= 0x6000
33926 using namespace std;
33935 const char *fmt = "%s";
33936 snprintf(buf, 10u, fmt, "wx");
33942 rm -f conftest.
$ac_objext
33943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33944 (eval $ac_compile) 2>conftest.er1
33946 grep -v '^ *+' conftest.er1
>conftest.err
33948 cat conftest.err
>&5
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); } &&
33951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33953 (eval $ac_try) 2>&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); }; } &&
33957 { ac_try
='test -s conftest.$ac_objext'
33958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33959 (eval $ac_try) 2>&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); }; }; then
33963 wx_cv_func_broken_snprintf_decl
=no
33965 echo "$as_me: failed program was:" >&5
33966 sed 's/^/| /' conftest.
$ac_ext >&5
33968 wx_cv_func_broken_snprintf_decl
=yes
33971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33975 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33976 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33978 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33979 cat >>confdefs.h
<<\_ACEOF
33980 #define HAVE_BROKEN_SNPRINTF_DECL 1
33987 if test "$wxUSE_UNICODE" = yes; then
33994 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33996 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33997 echo "$as_me:$LINENO: checking for $ac_func" >&5
33998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33999 if eval "test \"\${$as_ac_var+set}\" = set"; then
34000 echo $ECHO_N "(cached) $ECHO_C" >&6
34002 cat >conftest.
$ac_ext <<_ACEOF
34005 cat confdefs.h
>>conftest.
$ac_ext
34006 cat >>conftest.
$ac_ext <<_ACEOF
34007 /* end confdefs.h. */
34008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34010 #define $ac_func innocuous_$ac_func
34012 /* System header to define __stub macros and hopefully few prototypes,
34013 which can conflict with char $ac_func (); below.
34014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34015 <limits.h> exists even on freestanding compilers. */
34018 # include <limits.h>
34020 # include <assert.h>
34025 /* Override any gcc2 internal prototype to avoid an error. */
34030 /* We use char because int might match the return type of a gcc2
34031 builtin and then its argument prototype would still apply. */
34033 /* The GNU C library defines this for functions which it implements
34034 to always fail with ENOSYS. Some functions are actually named
34035 something starting with __ and the normal name is an alias. */
34036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34039 char (*f) () = $ac_func;
34048 return f != $ac_func;
34053 rm -f conftest.
$ac_objext conftest
$ac_exeext
34054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34055 (eval $ac_link) 2>conftest.er1
34057 grep -v '^ *+' conftest.er1
>conftest.err
34059 cat conftest.err
>&5
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); } &&
34062 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34064 (eval $ac_try) 2>&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); }; } &&
34068 { ac_try
='test -s conftest$ac_exeext'
34069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34070 (eval $ac_try) 2>&5
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); }; }; then
34074 eval "$as_ac_var=yes"
34076 echo "$as_me: failed program was:" >&5
34077 sed 's/^/| /' conftest.
$ac_ext >&5
34079 eval "$as_ac_var=no"
34081 rm -f conftest.err conftest.
$ac_objext \
34082 conftest
$ac_exeext conftest.
$ac_ext
34084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34086 if test `eval echo '${'$as_ac_var'}'` = yes; then
34087 cat >>confdefs.h
<<_ACEOF
34088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34095 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34096 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34097 cat >conftest.
$ac_ext <<_ACEOF
34100 cat confdefs.h
>>conftest.
$ac_ext
34101 cat >>conftest.
$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34112 rm -f conftest.
$ac_objext
34113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34114 (eval $ac_compile) 2>conftest.er1
34116 grep -v '^ *+' conftest.er1
>conftest.err
34118 cat conftest.err
>&5
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); } &&
34121 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34123 (eval $ac_try) 2>&5
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); }; } &&
34127 { ac_try
='test -s conftest.$ac_objext'
34128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34129 (eval $ac_try) 2>&5
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; }; then
34133 echo "$as_me:$LINENO: result: yes" >&5
34134 echo "${ECHO_T}yes" >&6
34135 cat >>confdefs.h
<<\_ACEOF
34136 #define HAVE__VSNWPRINTF 1
34140 echo "$as_me: failed program was:" >&5
34141 sed 's/^/| /' conftest.
$ac_ext >&5
34143 echo "$as_me:$LINENO: result: no" >&5
34144 echo "${ECHO_T}no" >&6
34146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34149 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34151 for ac_func
in fnmatch
34153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34154 echo "$as_me:$LINENO: checking for $ac_func" >&5
34155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34156 if eval "test \"\${$as_ac_var+set}\" = set"; then
34157 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 cat >conftest.
$ac_ext <<_ACEOF
34162 cat confdefs.h
>>conftest.
$ac_ext
34163 cat >>conftest.
$ac_ext <<_ACEOF
34164 /* end confdefs.h. */
34165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34167 #define $ac_func innocuous_$ac_func
34169 /* System header to define __stub macros and hopefully few prototypes,
34170 which can conflict with char $ac_func (); below.
34171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34172 <limits.h> exists even on freestanding compilers. */
34175 # include <limits.h>
34177 # include <assert.h>
34182 /* Override any gcc2 internal prototype to avoid an error. */
34187 /* We use char because int might match the return type of a gcc2
34188 builtin and then its argument prototype would still apply. */
34190 /* The GNU C library defines this for functions which it implements
34191 to always fail with ENOSYS. Some functions are actually named
34192 something starting with __ and the normal name is an alias. */
34193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34196 char (*f) () = $ac_func;
34205 return f != $ac_func;
34210 rm -f conftest.
$ac_objext conftest
$ac_exeext
34211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34212 (eval $ac_link) 2>conftest.er1
34214 grep -v '^ *+' conftest.er1
>conftest.err
34216 cat conftest.err
>&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); } &&
34219 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; } &&
34225 { ac_try
='test -s conftest$ac_exeext'
34226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34227 (eval $ac_try) 2>&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); }; }; then
34231 eval "$as_ac_var=yes"
34233 echo "$as_me: failed program was:" >&5
34234 sed 's/^/| /' conftest.
$ac_ext >&5
34236 eval "$as_ac_var=no"
34238 rm -f conftest.err conftest.
$ac_objext \
34239 conftest
$ac_exeext conftest.
$ac_ext
34241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34243 if test `eval echo '${'$as_ac_var'}'` = yes; then
34244 cat >>confdefs.h
<<_ACEOF
34245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34253 if test "$wxUSE_FILE" = "yes"; then
34255 for ac_func
in fsync
34257 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34258 echo "$as_me:$LINENO: checking for $ac_func" >&5
34259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34260 if eval "test \"\${$as_ac_var+set}\" = set"; then
34261 echo $ECHO_N "(cached) $ECHO_C" >&6
34263 cat >conftest.
$ac_ext <<_ACEOF
34266 cat confdefs.h
>>conftest.
$ac_ext
34267 cat >>conftest.
$ac_ext <<_ACEOF
34268 /* end confdefs.h. */
34269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34271 #define $ac_func innocuous_$ac_func
34273 /* System header to define __stub macros and hopefully few prototypes,
34274 which can conflict with char $ac_func (); below.
34275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34276 <limits.h> exists even on freestanding compilers. */
34279 # include <limits.h>
34281 # include <assert.h>
34286 /* Override any gcc2 internal prototype to avoid an error. */
34291 /* We use char because int might match the return type of a gcc2
34292 builtin and then its argument prototype would still apply. */
34294 /* The GNU C library defines this for functions which it implements
34295 to always fail with ENOSYS. Some functions are actually named
34296 something starting with __ and the normal name is an alias. */
34297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34300 char (*f) () = $ac_func;
34309 return f != $ac_func;
34314 rm -f conftest.
$ac_objext conftest
$ac_exeext
34315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34316 (eval $ac_link) 2>conftest.er1
34318 grep -v '^ *+' conftest.er1
>conftest.err
34320 cat conftest.err
>&5
34321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34322 (exit $ac_status); } &&
34323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34325 (eval $ac_try) 2>&5
34327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 (exit $ac_status); }; } &&
34329 { ac_try
='test -s conftest$ac_exeext'
34330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34331 (eval $ac_try) 2>&5
34333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34334 (exit $ac_status); }; }; then
34335 eval "$as_ac_var=yes"
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.
$ac_ext >&5
34340 eval "$as_ac_var=no"
34342 rm -f conftest.err conftest.
$ac_objext \
34343 conftest
$ac_exeext conftest.
$ac_ext
34345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34347 if test `eval echo '${'$as_ac_var'}'` = yes; then
34348 cat >>confdefs.h
<<_ACEOF
34349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34358 if test "$TOOLKIT" != "MSW"; then
34364 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34365 if test "${with_libiconv_prefix+set}" = set; then
34366 withval
="$with_libiconv_prefix"
34368 for dir
in `echo "$withval" | tr : ' '`; do
34369 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34370 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34375 echo "$as_me:$LINENO: checking for iconv" >&5
34376 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34377 if test "${am_cv_func_iconv+set}" = set; then
34378 echo $ECHO_N "(cached) $ECHO_C" >&6
34381 am_cv_func_iconv
="no, consider installing GNU libiconv"
34383 cat >conftest.
$ac_ext <<_ACEOF
34386 cat confdefs.h
>>conftest.
$ac_ext
34387 cat >>conftest.
$ac_ext <<_ACEOF
34388 /* end confdefs.h. */
34389 #include <stdlib.h>
34394 iconv_t cd = iconv_open("","");
34395 iconv(cd,NULL,NULL,NULL,NULL);
34401 rm -f conftest.
$ac_objext conftest
$ac_exeext
34402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34403 (eval $ac_link) 2>conftest.er1
34405 grep -v '^ *+' conftest.er1
>conftest.err
34407 cat conftest.err
>&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } &&
34410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34412 (eval $ac_try) 2>&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); }; } &&
34416 { ac_try
='test -s conftest$ac_exeext'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; }; then
34422 am_cv_func_iconv
=yes
34424 echo "$as_me: failed program was:" >&5
34425 sed 's/^/| /' conftest.
$ac_ext >&5
34428 rm -f conftest.err conftest.
$ac_objext \
34429 conftest
$ac_exeext conftest.
$ac_ext
34430 if test "$am_cv_func_iconv" != yes; then
34431 am_save_LIBS
="$LIBS"
34432 LIBS
="$LIBS -liconv"
34433 cat >conftest.
$ac_ext <<_ACEOF
34436 cat confdefs.h
>>conftest.
$ac_ext
34437 cat >>conftest.
$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439 #include <stdlib.h>
34444 iconv_t cd = iconv_open("","");
34445 iconv(cd,NULL,NULL,NULL,NULL);
34451 rm -f conftest.
$ac_objext conftest
$ac_exeext
34452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34453 (eval $ac_link) 2>conftest.er1
34455 grep -v '^ *+' conftest.er1
>conftest.err
34457 cat conftest.err
>&5
34458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34459 (exit $ac_status); } &&
34460 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34462 (eval $ac_try) 2>&5
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); }; } &&
34466 { ac_try
='test -s conftest$ac_exeext'
34467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34468 (eval $ac_try) 2>&5
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); }; }; then
34472 am_cv_lib_iconv
=yes
34473 am_cv_func_iconv
=yes
34475 echo "$as_me: failed program was:" >&5
34476 sed 's/^/| /' conftest.
$ac_ext >&5
34479 rm -f conftest.err conftest.
$ac_objext \
34480 conftest
$ac_exeext conftest.
$ac_ext
34481 LIBS
="$am_save_LIBS"
34485 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34486 echo "${ECHO_T}$am_cv_func_iconv" >&6
34487 if test "$am_cv_func_iconv" = yes; then
34489 cat >>confdefs.h
<<\_ACEOF
34490 #define HAVE_ICONV 1
34493 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34494 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34495 if test "${wx_cv_func_iconv_const+set}" = set; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34498 cat >conftest.
$ac_ext <<_ACEOF
34501 cat confdefs.h
>>conftest.
$ac_ext
34502 cat >>conftest.
$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34505 #include <stdlib.h>
34511 #if defined(__STDC__) || defined(__cplusplus)
34512 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34525 rm -f conftest.
$ac_objext
34526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34527 (eval $ac_compile) 2>conftest.er1
34529 grep -v '^ *+' conftest.er1
>conftest.err
34531 cat conftest.err
>&5
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); } &&
34534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34536 (eval $ac_try) 2>&5
34538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539 (exit $ac_status); }; } &&
34540 { ac_try
='test -s conftest.$ac_objext'
34541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34542 (eval $ac_try) 2>&5
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); }; }; then
34546 wx_cv_func_iconv_const
="no"
34548 echo "$as_me: failed program was:" >&5
34549 sed 's/^/| /' conftest.
$ac_ext >&5
34551 wx_cv_func_iconv_const
="yes"
34554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34557 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34558 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34561 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34562 iconv_const
="const"
34566 cat >>confdefs.h
<<_ACEOF
34567 #define ICONV_CONST $iconv_const
34572 if test "$am_cv_lib_iconv" = yes; then
34577 LIBS
="$LIBICONV $LIBS"
34579 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34581 for ac_func
in sigaction
34583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34584 echo "$as_me:$LINENO: checking for $ac_func" >&5
34585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34586 if eval "test \"\${$as_ac_var+set}\" = set"; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 cat >conftest.
$ac_ext <<_ACEOF
34592 cat confdefs.h
>>conftest.
$ac_ext
34593 cat >>conftest.
$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34597 #define $ac_func innocuous_$ac_func
34599 /* System header to define __stub macros and hopefully few prototypes,
34600 which can conflict with char $ac_func (); below.
34601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34602 <limits.h> exists even on freestanding compilers. */
34605 # include <limits.h>
34607 # include <assert.h>
34612 /* Override any gcc2 internal prototype to avoid an error. */
34617 /* We use char because int might match the return type of a gcc2
34618 builtin and then its argument prototype would still apply. */
34620 /* The GNU C library defines this for functions which it implements
34621 to always fail with ENOSYS. Some functions are actually named
34622 something starting with __ and the normal name is an alias. */
34623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34626 char (*f) () = $ac_func;
34635 return f != $ac_func;
34640 rm -f conftest.
$ac_objext conftest
$ac_exeext
34641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34642 (eval $ac_link) 2>conftest.er1
34644 grep -v '^ *+' conftest.er1
>conftest.err
34646 cat conftest.err
>&5
34647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648 (exit $ac_status); } &&
34649 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34651 (eval $ac_try) 2>&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); }; } &&
34655 { ac_try
='test -s conftest$ac_exeext'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; }; then
34661 eval "$as_ac_var=yes"
34663 echo "$as_me: failed program was:" >&5
34664 sed 's/^/| /' conftest.
$ac_ext >&5
34666 eval "$as_ac_var=no"
34668 rm -f conftest.err conftest.
$ac_objext \
34669 conftest
$ac_exeext conftest.
$ac_ext
34671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34673 if test `eval echo '${'$as_ac_var'}'` = yes; then
34674 cat >>confdefs.h
<<_ACEOF
34675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34682 if test "$ac_cv_func_sigaction" = "no"; then
34683 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34684 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34685 wxUSE_ON_FATAL_EXCEPTION
=no
34688 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34689 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34690 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34691 if test "${wx_cv_type_sa_handler+set}" = set; then
34692 echo $ECHO_N "(cached) $ECHO_C" >&6
34695 cat >conftest.
$ac_ext <<_ACEOF
34698 cat confdefs.h
>>conftest.
$ac_ext
34699 cat >>conftest.
$ac_ext <<_ACEOF
34700 /* end confdefs.h. */
34701 #include <signal.h>
34706 extern void testSigHandler(int);
34708 struct sigaction sa;
34709 sa.sa_handler = testSigHandler;
34715 rm -f conftest.
$ac_objext
34716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34717 (eval $ac_compile) 2>conftest.er1
34719 grep -v '^ *+' conftest.er1
>conftest.err
34721 cat conftest.err
>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } &&
34724 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34726 (eval $ac_try) 2>&5
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); }; } &&
34730 { ac_try
='test -s conftest.$ac_objext'
34731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34732 (eval $ac_try) 2>&5
34734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735 (exit $ac_status); }; }; then
34737 wx_cv_type_sa_handler
=int
34740 echo "$as_me: failed program was:" >&5
34741 sed 's/^/| /' conftest.
$ac_ext >&5
34744 wx_cv_type_sa_handler
=void
34747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34750 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34751 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34753 cat >>confdefs.h
<<_ACEOF
34754 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34760 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34761 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34762 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34763 if test "${wx_cv_func_backtrace+set}" = set; then
34764 echo $ECHO_N "(cached) $ECHO_C" >&6
34767 cat >conftest.
$ac_ext <<_ACEOF
34770 cat confdefs.h
>>conftest.
$ac_ext
34771 cat >>conftest.
$ac_ext <<_ACEOF
34772 /* end confdefs.h. */
34773 #include <execinfo.h>
34781 backtrace(trace, 1);
34782 messages = backtrace_symbols(trace, 1);
34788 rm -f conftest.
$ac_objext
34789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34790 (eval $ac_compile) 2>conftest.er1
34792 grep -v '^ *+' conftest.er1
>conftest.err
34794 cat conftest.err
>&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } &&
34797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34799 (eval $ac_try) 2>&5
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); }; } &&
34803 { ac_try
='test -s conftest.$ac_objext'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; }; then
34809 wx_cv_func_backtrace
=yes
34811 echo "$as_me: failed program was:" >&5
34812 sed 's/^/| /' conftest.
$ac_ext >&5
34814 wx_cv_func_backtrace
=no
34817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34821 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34822 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34825 if test "$wx_cv_func_backtrace" = "no"; then
34826 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34827 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34828 wxUSE_STACKWALKER
=no
34830 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34831 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34832 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34833 echo $ECHO_N "(cached) $ECHO_C" >&6
34836 cat >conftest.
$ac_ext <<_ACEOF
34839 cat confdefs.h
>>conftest.
$ac_ext
34840 cat >>conftest.
$ac_ext <<_ACEOF
34841 /* end confdefs.h. */
34842 #include <cxxabi.h>
34848 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34854 rm -f conftest.
$ac_objext conftest
$ac_exeext
34855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34856 (eval $ac_link) 2>conftest.er1
34858 grep -v '^ *+' conftest.er1
>conftest.err
34860 cat conftest.err
>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } &&
34863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; } &&
34869 { ac_try
='test -s conftest$ac_exeext'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; }; then
34875 wx_cv_func_cxa_demangle
=yes
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.
$ac_ext >&5
34880 wx_cv_func_cxa_demangle
=no
34883 rm -f conftest.err conftest.
$ac_objext \
34884 conftest
$ac_exeext conftest.
$ac_ext
34888 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34889 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34891 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34892 cat >>confdefs.h
<<\_ACEOF
34893 #define HAVE_CXA_DEMANGLE 1
34900 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34901 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34902 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34903 wxUSE_STACKWALKER
=no
34909 for ac_func
in mkstemp mktemp
34911 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34912 echo "$as_me:$LINENO: checking for $ac_func" >&5
34913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34914 if eval "test \"\${$as_ac_var+set}\" = set"; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34917 cat >conftest.
$ac_ext <<_ACEOF
34920 cat confdefs.h
>>conftest.
$ac_ext
34921 cat >>conftest.
$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34925 #define $ac_func innocuous_$ac_func
34927 /* System header to define __stub macros and hopefully few prototypes,
34928 which can conflict with char $ac_func (); below.
34929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34930 <limits.h> exists even on freestanding compilers. */
34933 # include <limits.h>
34935 # include <assert.h>
34940 /* Override any gcc2 internal prototype to avoid an error. */
34945 /* We use char because int might match the return type of a gcc2
34946 builtin and then its argument prototype would still apply. */
34948 /* The GNU C library defines this for functions which it implements
34949 to always fail with ENOSYS. Some functions are actually named
34950 something starting with __ and the normal name is an alias. */
34951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34954 char (*f) () = $ac_func;
34963 return f != $ac_func;
34968 rm -f conftest.
$ac_objext conftest
$ac_exeext
34969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34970 (eval $ac_link) 2>conftest.er1
34972 grep -v '^ *+' conftest.er1
>conftest.err
34974 cat conftest.err
>&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); } &&
34977 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34979 (eval $ac_try) 2>&5
34981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34982 (exit $ac_status); }; } &&
34983 { ac_try
='test -s conftest$ac_exeext'
34984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985 (eval $ac_try) 2>&5
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); }; }; then
34989 eval "$as_ac_var=yes"
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.
$ac_ext >&5
34994 eval "$as_ac_var=no"
34996 rm -f conftest.err conftest.
$ac_objext \
34997 conftest
$ac_exeext conftest.
$ac_ext
34999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35001 if test `eval echo '${'$as_ac_var'}'` = yes; then
35002 cat >>confdefs.h
<<_ACEOF
35003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35010 echo "$as_me:$LINENO: checking for statfs" >&5
35011 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35012 if test "${wx_cv_func_statfs+set}" = set; then
35013 echo $ECHO_N "(cached) $ECHO_C" >&6
35015 cat >conftest.
$ac_ext <<_ACEOF
35018 cat confdefs.h
>>conftest.
$ac_ext
35019 cat >>conftest.
$ac_ext <<_ACEOF
35020 /* end confdefs.h. */
35022 #if defined(__BSD__)
35023 #include <sys/param.h>
35024 #include <sys/mount.h>
35026 #include <sys/vfs.h>
35044 rm -f conftest.
$ac_objext
35045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35046 (eval $ac_compile) 2>conftest.er1
35048 grep -v '^ *+' conftest.er1
>conftest.err
35050 cat conftest.err
>&5
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); } &&
35053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35055 (eval $ac_try) 2>&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); }; } &&
35059 { ac_try
='test -s conftest.$ac_objext'
35060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061 (eval $ac_try) 2>&5
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); }; }; then
35065 wx_cv_func_statfs
=yes
35067 echo "$as_me: failed program was:" >&5
35068 sed 's/^/| /' conftest.
$ac_ext >&5
35070 wx_cv_func_statfs
=no
35073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35076 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35077 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35079 if test "$wx_cv_func_statfs" = "yes"; then
35080 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35081 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35082 if test "${wx_cv_func_statfs_decl+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 cat >conftest.
$ac_ext <<_ACEOF
35088 cat confdefs.h
>>conftest.
$ac_ext
35089 cat >>conftest.
$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35092 #if defined(__BSD__)
35093 #include <sys/param.h>
35094 #include <sys/mount.h>
35096 #include <sys/vfs.h>
35110 rm -f conftest.
$ac_objext
35111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35112 (eval $ac_compile) 2>conftest.er1
35114 grep -v '^ *+' conftest.er1
>conftest.err
35116 cat conftest.err
>&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; } &&
35125 { ac_try
='test -s conftest.$ac_objext'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; }; then
35131 wx_cv_func_statfs_decl
=yes
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.
$ac_ext >&5
35136 wx_cv_func_statfs_decl
=no
35139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35142 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35143 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35145 if test "$wx_cv_func_statfs_decl" = "yes"; then
35146 cat >>confdefs.h
<<\_ACEOF
35147 #define HAVE_STATFS_DECL 1
35152 wx_cv_type_statvfs_t
="struct statfs"
35153 cat >>confdefs.h
<<\_ACEOF
35154 #define HAVE_STATFS 1
35158 echo "$as_me:$LINENO: checking for statvfs" >&5
35159 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35160 if test "${wx_cv_func_statvfs+set}" = set; then
35161 echo $ECHO_N "(cached) $ECHO_C" >&6
35163 cat >conftest.
$ac_ext <<_ACEOF
35166 cat confdefs.h
>>conftest.
$ac_ext
35167 cat >>conftest.
$ac_ext <<_ACEOF
35168 /* end confdefs.h. */
35170 #include <stddef.h>
35171 #include <sys/statvfs.h>
35177 statvfs("/", NULL);
35183 rm -f conftest.
$ac_objext
35184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35185 (eval $ac_compile) 2>conftest.er1
35187 grep -v '^ *+' conftest.er1
>conftest.err
35189 cat conftest.err
>&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); } &&
35192 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194 (eval $ac_try) 2>&5
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; } &&
35198 { ac_try
='test -s conftest.$ac_objext'
35199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35200 (eval $ac_try) 2>&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); }; }; then
35204 wx_cv_func_statvfs
=yes
35206 echo "$as_me: failed program was:" >&5
35207 sed 's/^/| /' conftest.
$ac_ext >&5
35209 wx_cv_func_statvfs
=no
35212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35215 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35216 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35218 if test "$wx_cv_func_statvfs" = "yes"; then
35219 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35220 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35221 if test "${wx_cv_type_statvfs_t+set}" = set; then
35222 echo $ECHO_N "(cached) $ECHO_C" >&6
35224 cat >conftest.
$ac_ext <<_ACEOF
35227 cat confdefs.h
>>conftest.
$ac_ext
35228 cat >>conftest.
$ac_ext <<_ACEOF
35229 /* end confdefs.h. */
35231 #include <sys/statvfs.h>
35248 rm -f conftest.
$ac_objext
35249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35250 (eval $ac_compile) 2>conftest.er1
35252 grep -v '^ *+' conftest.er1
>conftest.err
35254 cat conftest.err
>&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); } &&
35257 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; } &&
35263 { ac_try
='test -s conftest.$ac_objext'
35264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35265 (eval $ac_try) 2>&5
35267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35268 (exit $ac_status); }; }; then
35269 wx_cv_type_statvfs_t
=statvfs_t
35271 echo "$as_me: failed program was:" >&5
35272 sed 's/^/| /' conftest.
$ac_ext >&5
35275 cat >conftest.
$ac_ext <<_ACEOF
35278 cat confdefs.h
>>conftest.
$ac_ext
35279 cat >>conftest.
$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35282 #include <sys/statvfs.h>
35299 rm -f conftest.
$ac_objext
35300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35301 (eval $ac_compile) 2>conftest.er1
35303 grep -v '^ *+' conftest.er1
>conftest.err
35305 cat conftest.err
>&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } &&
35308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35310 (eval $ac_try) 2>&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); }; } &&
35314 { ac_try
='test -s conftest.$ac_objext'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; }; then
35320 wx_cv_type_statvfs_t
="struct statvfs"
35322 echo "$as_me: failed program was:" >&5
35323 sed 's/^/| /' conftest.
$ac_ext >&5
35325 wx_cv_type_statvfs_t
="unknown"
35328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35335 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35336 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35338 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35339 cat >>confdefs.h
<<\_ACEOF
35340 #define HAVE_STATVFS 1
35345 wx_cv_type_statvfs_t
="unknown"
35349 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35350 cat >>confdefs.h
<<_ACEOF
35351 #define WX_STATFS_T $wx_cv_type_statvfs_t
35355 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35356 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35359 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35362 for ac_func
in fcntl flock
35364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35365 echo "$as_me:$LINENO: checking for $ac_func" >&5
35366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35367 if eval "test \"\${$as_ac_var+set}\" = set"; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35370 cat >conftest.
$ac_ext <<_ACEOF
35373 cat confdefs.h
>>conftest.
$ac_ext
35374 cat >>conftest.
$ac_ext <<_ACEOF
35375 /* end confdefs.h. */
35376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35378 #define $ac_func innocuous_$ac_func
35380 /* System header to define __stub macros and hopefully few prototypes,
35381 which can conflict with char $ac_func (); below.
35382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35383 <limits.h> exists even on freestanding compilers. */
35386 # include <limits.h>
35388 # include <assert.h>
35393 /* Override any gcc2 internal prototype to avoid an error. */
35398 /* We use char because int might match the return type of a gcc2
35399 builtin and then its argument prototype would still apply. */
35401 /* The GNU C library defines this for functions which it implements
35402 to always fail with ENOSYS. Some functions are actually named
35403 something starting with __ and the normal name is an alias. */
35404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35407 char (*f) () = $ac_func;
35416 return f != $ac_func;
35421 rm -f conftest.
$ac_objext conftest
$ac_exeext
35422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35423 (eval $ac_link) 2>conftest.er1
35425 grep -v '^ *+' conftest.er1
>conftest.err
35427 cat conftest.err
>&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } &&
35430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35432 (eval $ac_try) 2>&5
35434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435 (exit $ac_status); }; } &&
35436 { ac_try
='test -s conftest$ac_exeext'
35437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35438 (eval $ac_try) 2>&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); }; }; then
35442 eval "$as_ac_var=yes"
35444 echo "$as_me: failed program was:" >&5
35445 sed 's/^/| /' conftest.
$ac_ext >&5
35447 eval "$as_ac_var=no"
35449 rm -f conftest.err conftest.
$ac_objext \
35450 conftest
$ac_exeext conftest.
$ac_ext
35452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35454 if test `eval echo '${'$as_ac_var'}'` = yes; then
35455 cat >>confdefs.h
<<_ACEOF
35456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35463 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35464 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35465 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35466 wxUSE_SNGLINST_CHECKER
=no
35471 for ac_func
in timegm
35473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35474 echo "$as_me:$LINENO: checking for $ac_func" >&5
35475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35476 if eval "test \"\${$as_ac_var+set}\" = set"; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35479 cat >conftest.
$ac_ext <<_ACEOF
35482 cat confdefs.h
>>conftest.
$ac_ext
35483 cat >>conftest.
$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35487 #define $ac_func innocuous_$ac_func
35489 /* System header to define __stub macros and hopefully few prototypes,
35490 which can conflict with char $ac_func (); below.
35491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35492 <limits.h> exists even on freestanding compilers. */
35495 # include <limits.h>
35497 # include <assert.h>
35502 /* Override any gcc2 internal prototype to avoid an error. */
35507 /* We use char because int might match the return type of a gcc2
35508 builtin and then its argument prototype would still apply. */
35510 /* The GNU C library defines this for functions which it implements
35511 to always fail with ENOSYS. Some functions are actually named
35512 something starting with __ and the normal name is an alias. */
35513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35516 char (*f) () = $ac_func;
35525 return f != $ac_func;
35530 rm -f conftest.
$ac_objext conftest
$ac_exeext
35531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35532 (eval $ac_link) 2>conftest.er1
35534 grep -v '^ *+' conftest.er1
>conftest.err
35536 cat conftest.err
>&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); } &&
35539 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35541 (eval $ac_try) 2>&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); }; } &&
35545 { ac_try
='test -s conftest$ac_exeext'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; }; then
35551 eval "$as_ac_var=yes"
35553 echo "$as_me: failed program was:" >&5
35554 sed 's/^/| /' conftest.
$ac_ext >&5
35556 eval "$as_ac_var=no"
35558 rm -f conftest.err conftest.
$ac_objext \
35559 conftest
$ac_exeext conftest.
$ac_ext
35561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35563 if test `eval echo '${'$as_ac_var'}'` = yes; then
35564 cat >>confdefs.h
<<_ACEOF
35565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35574 for ac_func
in putenv setenv
35576 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35577 echo "$as_me:$LINENO: checking for $ac_func" >&5
35578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35579 if eval "test \"\${$as_ac_var+set}\" = set"; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35582 cat >conftest.
$ac_ext <<_ACEOF
35585 cat confdefs.h
>>conftest.
$ac_ext
35586 cat >>conftest.
$ac_ext <<_ACEOF
35587 /* end confdefs.h. */
35588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35590 #define $ac_func innocuous_$ac_func
35592 /* System header to define __stub macros and hopefully few prototypes,
35593 which can conflict with char $ac_func (); below.
35594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35595 <limits.h> exists even on freestanding compilers. */
35598 # include <limits.h>
35600 # include <assert.h>
35605 /* Override any gcc2 internal prototype to avoid an error. */
35610 /* We use char because int might match the return type of a gcc2
35611 builtin and then its argument prototype would still apply. */
35613 /* The GNU C library defines this for functions which it implements
35614 to always fail with ENOSYS. Some functions are actually named
35615 something starting with __ and the normal name is an alias. */
35616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35619 char (*f) () = $ac_func;
35628 return f != $ac_func;
35633 rm -f conftest.
$ac_objext conftest
$ac_exeext
35634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35635 (eval $ac_link) 2>conftest.er1
35637 grep -v '^ *+' conftest.er1
>conftest.err
35639 cat conftest.err
>&5
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); } &&
35642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35644 (eval $ac_try) 2>&5
35646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35647 (exit $ac_status); }; } &&
35648 { ac_try
='test -s conftest$ac_exeext'
35649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35650 (eval $ac_try) 2>&5
35652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35653 (exit $ac_status); }; }; then
35654 eval "$as_ac_var=yes"
35656 echo "$as_me: failed program was:" >&5
35657 sed 's/^/| /' conftest.
$ac_ext >&5
35659 eval "$as_ac_var=no"
35661 rm -f conftest.err conftest.
$ac_objext \
35662 conftest
$ac_exeext conftest.
$ac_ext
35664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35666 if test `eval echo '${'$as_ac_var'}'` = yes; then
35667 cat >>confdefs.h
<<_ACEOF
35668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35675 HAVE_SOME_SLEEP_FUNC
=0
35676 if test "$USE_BEOS" = 1; then
35677 cat >>confdefs.h
<<\_ACEOF
35678 #define HAVE_SLEEP 1
35681 HAVE_SOME_SLEEP_FUNC
=1
35684 if test "$USE_DARWIN" = 1; then
35685 cat >>confdefs.h
<<\_ACEOF
35686 #define HAVE_USLEEP 1
35689 HAVE_SOME_SLEEP_FUNC
=1
35692 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35695 for ac_func
in nanosleep
35697 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35698 echo "$as_me:$LINENO: checking for $ac_func" >&5
35699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35700 if eval "test \"\${$as_ac_var+set}\" = set"; then
35701 echo $ECHO_N "(cached) $ECHO_C" >&6
35703 cat >conftest.
$ac_ext <<_ACEOF
35706 cat confdefs.h
>>conftest.
$ac_ext
35707 cat >>conftest.
$ac_ext <<_ACEOF
35708 /* end confdefs.h. */
35709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35711 #define $ac_func innocuous_$ac_func
35713 /* System header to define __stub macros and hopefully few prototypes,
35714 which can conflict with char $ac_func (); below.
35715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35716 <limits.h> exists even on freestanding compilers. */
35719 # include <limits.h>
35721 # include <assert.h>
35726 /* Override any gcc2 internal prototype to avoid an error. */
35731 /* We use char because int might match the return type of a gcc2
35732 builtin and then its argument prototype would still apply. */
35734 /* The GNU C library defines this for functions which it implements
35735 to always fail with ENOSYS. Some functions are actually named
35736 something starting with __ and the normal name is an alias. */
35737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35740 char (*f) () = $ac_func;
35749 return f != $ac_func;
35754 rm -f conftest.
$ac_objext conftest
$ac_exeext
35755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35756 (eval $ac_link) 2>conftest.er1
35758 grep -v '^ *+' conftest.er1
>conftest.err
35760 cat conftest.err
>&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } &&
35763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } &&
35769 { ac_try
='test -s conftest$ac_exeext'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; }; then
35775 eval "$as_ac_var=yes"
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.
$ac_ext >&5
35780 eval "$as_ac_var=no"
35782 rm -f conftest.err conftest.
$ac_objext \
35783 conftest
$ac_exeext conftest.
$ac_ext
35785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35787 if test `eval echo '${'$as_ac_var'}'` = yes; then
35788 cat >>confdefs.h
<<_ACEOF
35789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35791 cat >>confdefs.h
<<\_ACEOF
35792 #define HAVE_NANOSLEEP 1
35797 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35798 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35799 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35800 echo $ECHO_N "(cached) $ECHO_C" >&6
35802 ac_check_lib_save_LIBS
=$LIBS
35803 LIBS
="-lposix4 $LIBS"
35804 cat >conftest.
$ac_ext <<_ACEOF
35807 cat confdefs.h
>>conftest.
$ac_ext
35808 cat >>conftest.
$ac_ext <<_ACEOF
35809 /* end confdefs.h. */
35811 /* Override any gcc2 internal prototype to avoid an error. */
35815 /* We use char because int might match the return type of a gcc2
35816 builtin and then its argument prototype would still apply. */
35826 rm -f conftest.
$ac_objext conftest
$ac_exeext
35827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35828 (eval $ac_link) 2>conftest.er1
35830 grep -v '^ *+' conftest.er1
>conftest.err
35832 cat conftest.err
>&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); } &&
35835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35837 (eval $ac_try) 2>&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); }; } &&
35841 { ac_try
='test -s conftest$ac_exeext'
35842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35843 (eval $ac_try) 2>&5
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); }; }; then
35847 ac_cv_lib_posix4_nanosleep
=yes
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.
$ac_ext >&5
35852 ac_cv_lib_posix4_nanosleep
=no
35854 rm -f conftest.err conftest.
$ac_objext \
35855 conftest
$ac_exeext conftest.
$ac_ext
35856 LIBS
=$ac_check_lib_save_LIBS
35858 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35859 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35860 if test $ac_cv_lib_posix4_nanosleep = yes; then
35862 cat >>confdefs.h
<<\_ACEOF
35863 #define HAVE_NANOSLEEP 1
35866 POSIX4_LINK
=" -lposix4"
35871 for ac_func
in usleep
35873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35874 echo "$as_me:$LINENO: checking for $ac_func" >&5
35875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35876 if eval "test \"\${$as_ac_var+set}\" = set"; then
35877 echo $ECHO_N "(cached) $ECHO_C" >&6
35879 cat >conftest.
$ac_ext <<_ACEOF
35882 cat confdefs.h
>>conftest.
$ac_ext
35883 cat >>conftest.
$ac_ext <<_ACEOF
35884 /* end confdefs.h. */
35885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35887 #define $ac_func innocuous_$ac_func
35889 /* System header to define __stub macros and hopefully few prototypes,
35890 which can conflict with char $ac_func (); below.
35891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35892 <limits.h> exists even on freestanding compilers. */
35895 # include <limits.h>
35897 # include <assert.h>
35902 /* Override any gcc2 internal prototype to avoid an error. */
35907 /* We use char because int might match the return type of a gcc2
35908 builtin and then its argument prototype would still apply. */
35910 /* The GNU C library defines this for functions which it implements
35911 to always fail with ENOSYS. Some functions are actually named
35912 something starting with __ and the normal name is an alias. */
35913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35916 char (*f) () = $ac_func;
35925 return f != $ac_func;
35930 rm -f conftest.
$ac_objext conftest
$ac_exeext
35931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35932 (eval $ac_link) 2>conftest.er1
35934 grep -v '^ *+' conftest.er1
>conftest.err
35936 cat conftest.err
>&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); } &&
35939 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; } &&
35945 { ac_try
='test -s conftest$ac_exeext'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; }; then
35951 eval "$as_ac_var=yes"
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.
$ac_ext >&5
35956 eval "$as_ac_var=no"
35958 rm -f conftest.err conftest.
$ac_objext \
35959 conftest
$ac_exeext conftest.
$ac_ext
35961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35963 if test `eval echo '${'$as_ac_var'}'` = yes; then
35964 cat >>confdefs.h
<<_ACEOF
35965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35967 cat >>confdefs.h
<<\_ACEOF
35968 #define HAVE_USLEEP 1
35972 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35973 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35991 for ac_func
in uname gethostname
35993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35994 echo "$as_me:$LINENO: checking for $ac_func" >&5
35995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35996 if eval "test \"\${$as_ac_var+set}\" = set"; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35999 cat >conftest.
$ac_ext <<_ACEOF
36002 cat confdefs.h
>>conftest.
$ac_ext
36003 cat >>conftest.
$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36007 #define $ac_func innocuous_$ac_func
36009 /* System header to define __stub macros and hopefully few prototypes,
36010 which can conflict with char $ac_func (); below.
36011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36012 <limits.h> exists even on freestanding compilers. */
36015 # include <limits.h>
36017 # include <assert.h>
36022 /* Override any gcc2 internal prototype to avoid an error. */
36027 /* We use char because int might match the return type of a gcc2
36028 builtin and then its argument prototype would still apply. */
36030 /* The GNU C library defines this for functions which it implements
36031 to always fail with ENOSYS. Some functions are actually named
36032 something starting with __ and the normal name is an alias. */
36033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36036 char (*f) () = $ac_func;
36045 return f != $ac_func;
36050 rm -f conftest.
$ac_objext conftest
$ac_exeext
36051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36052 (eval $ac_link) 2>conftest.er1
36054 grep -v '^ *+' conftest.er1
>conftest.err
36056 cat conftest.err
>&5
36057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36058 (exit $ac_status); } &&
36059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36061 (eval $ac_try) 2>&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); }; } &&
36065 { ac_try
='test -s conftest$ac_exeext'
36066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36067 (eval $ac_try) 2>&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; }; then
36071 eval "$as_ac_var=yes"
36073 echo "$as_me: failed program was:" >&5
36074 sed 's/^/| /' conftest.
$ac_ext >&5
36076 eval "$as_ac_var=no"
36078 rm -f conftest.err conftest.
$ac_objext \
36079 conftest
$ac_exeext conftest.
$ac_ext
36081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36083 if test `eval echo '${'$as_ac_var'}'` = yes; then
36084 cat >>confdefs.h
<<_ACEOF
36085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36093 for ac_func
in strtok_r
36095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36096 echo "$as_me:$LINENO: checking for $ac_func" >&5
36097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36098 if eval "test \"\${$as_ac_var+set}\" = set"; then
36099 echo $ECHO_N "(cached) $ECHO_C" >&6
36101 cat >conftest.
$ac_ext <<_ACEOF
36104 cat confdefs.h
>>conftest.
$ac_ext
36105 cat >>conftest.
$ac_ext <<_ACEOF
36106 /* end confdefs.h. */
36107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36109 #define $ac_func innocuous_$ac_func
36111 /* System header to define __stub macros and hopefully few prototypes,
36112 which can conflict with char $ac_func (); below.
36113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36114 <limits.h> exists even on freestanding compilers. */
36117 # include <limits.h>
36119 # include <assert.h>
36124 /* Override any gcc2 internal prototype to avoid an error. */
36129 /* We use char because int might match the return type of a gcc2
36130 builtin and then its argument prototype would still apply. */
36132 /* The GNU C library defines this for functions which it implements
36133 to always fail with ENOSYS. Some functions are actually named
36134 something starting with __ and the normal name is an alias. */
36135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36138 char (*f) () = $ac_func;
36147 return f != $ac_func;
36152 rm -f conftest.
$ac_objext conftest
$ac_exeext
36153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36154 (eval $ac_link) 2>conftest.er1
36156 grep -v '^ *+' conftest.er1
>conftest.err
36158 cat conftest.err
>&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } &&
36161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; } &&
36167 { ac_try
='test -s conftest$ac_exeext'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; }; then
36173 eval "$as_ac_var=yes"
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.
$ac_ext >&5
36178 eval "$as_ac_var=no"
36180 rm -f conftest.err conftest.
$ac_objext \
36181 conftest
$ac_exeext conftest.
$ac_ext
36183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36185 if test `eval echo '${'$as_ac_var'}'` = yes; then
36186 cat >>confdefs.h
<<_ACEOF
36187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36196 for ac_func
in inet_addr
36198 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36199 echo "$as_me:$LINENO: checking for $ac_func" >&5
36200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36201 if eval "test \"\${$as_ac_var+set}\" = set"; then
36202 echo $ECHO_N "(cached) $ECHO_C" >&6
36204 cat >conftest.
$ac_ext <<_ACEOF
36207 cat confdefs.h
>>conftest.
$ac_ext
36208 cat >>conftest.
$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36212 #define $ac_func innocuous_$ac_func
36214 /* System header to define __stub macros and hopefully few prototypes,
36215 which can conflict with char $ac_func (); below.
36216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36217 <limits.h> exists even on freestanding compilers. */
36220 # include <limits.h>
36222 # include <assert.h>
36227 /* Override any gcc2 internal prototype to avoid an error. */
36232 /* We use char because int might match the return type of a gcc2
36233 builtin and then its argument prototype would still apply. */
36235 /* The GNU C library defines this for functions which it implements
36236 to always fail with ENOSYS. Some functions are actually named
36237 something starting with __ and the normal name is an alias. */
36238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36241 char (*f) () = $ac_func;
36250 return f != $ac_func;
36255 rm -f conftest.
$ac_objext conftest
$ac_exeext
36256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36257 (eval $ac_link) 2>conftest.er1
36259 grep -v '^ *+' conftest.er1
>conftest.err
36261 cat conftest.err
>&5
36262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36263 (exit $ac_status); } &&
36264 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36266 (eval $ac_try) 2>&5
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); }; } &&
36270 { ac_try
='test -s conftest$ac_exeext'
36271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272 (eval $ac_try) 2>&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); }; }; then
36276 eval "$as_ac_var=yes"
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.
$ac_ext >&5
36281 eval "$as_ac_var=no"
36283 rm -f conftest.err conftest.
$ac_objext \
36284 conftest
$ac_exeext conftest.
$ac_ext
36286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36288 if test `eval echo '${'$as_ac_var'}'` = yes; then
36289 cat >>confdefs.h
<<_ACEOF
36290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36292 cat >>confdefs.h
<<\_ACEOF
36293 #define HAVE_INET_ADDR 1
36298 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36299 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36300 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36301 echo $ECHO_N "(cached) $ECHO_C" >&6
36303 ac_check_lib_save_LIBS
=$LIBS
36305 cat >conftest.
$ac_ext <<_ACEOF
36308 cat confdefs.h
>>conftest.
$ac_ext
36309 cat >>conftest.
$ac_ext <<_ACEOF
36310 /* end confdefs.h. */
36312 /* Override any gcc2 internal prototype to avoid an error. */
36316 /* We use char because int might match the return type of a gcc2
36317 builtin and then its argument prototype would still apply. */
36327 rm -f conftest.
$ac_objext conftest
$ac_exeext
36328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36329 (eval $ac_link) 2>conftest.er1
36331 grep -v '^ *+' conftest.er1
>conftest.err
36333 cat conftest.err
>&5
36334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335 (exit $ac_status); } &&
36336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36338 (eval $ac_try) 2>&5
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); }; } &&
36342 { ac_try
='test -s conftest$ac_exeext'
36343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36344 (eval $ac_try) 2>&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); }; }; then
36348 ac_cv_lib_nsl_inet_addr
=yes
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.
$ac_ext >&5
36353 ac_cv_lib_nsl_inet_addr
=no
36355 rm -f conftest.err conftest.
$ac_objext \
36356 conftest
$ac_exeext conftest.
$ac_ext
36357 LIBS
=$ac_check_lib_save_LIBS
36359 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36360 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36361 if test $ac_cv_lib_nsl_inet_addr = yes; then
36365 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36366 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36367 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36368 echo $ECHO_N "(cached) $ECHO_C" >&6
36370 ac_check_lib_save_LIBS
=$LIBS
36371 LIBS
="-lresolv $LIBS"
36372 cat >conftest.
$ac_ext <<_ACEOF
36375 cat confdefs.h
>>conftest.
$ac_ext
36376 cat >>conftest.
$ac_ext <<_ACEOF
36377 /* end confdefs.h. */
36379 /* Override any gcc2 internal prototype to avoid an error. */
36383 /* We use char because int might match the return type of a gcc2
36384 builtin and then its argument prototype would still apply. */
36394 rm -f conftest.
$ac_objext conftest
$ac_exeext
36395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36396 (eval $ac_link) 2>conftest.er1
36398 grep -v '^ *+' conftest.er1
>conftest.err
36400 cat conftest.err
>&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); } &&
36403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36405 (eval $ac_try) 2>&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); }; } &&
36409 { ac_try
='test -s conftest$ac_exeext'
36410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36411 (eval $ac_try) 2>&5
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); }; }; then
36415 ac_cv_lib_resolv_inet_addr
=yes
36417 echo "$as_me: failed program was:" >&5
36418 sed 's/^/| /' conftest.
$ac_ext >&5
36420 ac_cv_lib_resolv_inet_addr
=no
36422 rm -f conftest.err conftest.
$ac_objext \
36423 conftest
$ac_exeext conftest.
$ac_ext
36424 LIBS
=$ac_check_lib_save_LIBS
36426 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36427 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36428 if test $ac_cv_lib_resolv_inet_addr = yes; then
36432 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36433 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36434 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36435 echo $ECHO_N "(cached) $ECHO_C" >&6
36437 ac_check_lib_save_LIBS
=$LIBS
36438 LIBS
="-lsocket $LIBS"
36439 cat >conftest.
$ac_ext <<_ACEOF
36442 cat confdefs.h
>>conftest.
$ac_ext
36443 cat >>conftest.
$ac_ext <<_ACEOF
36444 /* end confdefs.h. */
36446 /* Override any gcc2 internal prototype to avoid an error. */
36450 /* We use char because int might match the return type of a gcc2
36451 builtin and then its argument prototype would still apply. */
36461 rm -f conftest.
$ac_objext conftest
$ac_exeext
36462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36463 (eval $ac_link) 2>conftest.er1
36465 grep -v '^ *+' conftest.er1
>conftest.err
36467 cat conftest.err
>&5
36468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36469 (exit $ac_status); } &&
36470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36472 (eval $ac_try) 2>&5
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); }; } &&
36476 { ac_try
='test -s conftest$ac_exeext'
36477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36478 (eval $ac_try) 2>&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); }; }; then
36482 ac_cv_lib_socket_inet_addr
=yes
36484 echo "$as_me: failed program was:" >&5
36485 sed 's/^/| /' conftest.
$ac_ext >&5
36487 ac_cv_lib_socket_inet_addr
=no
36489 rm -f conftest.err conftest.
$ac_objext \
36490 conftest
$ac_exeext conftest.
$ac_ext
36491 LIBS
=$ac_check_lib_save_LIBS
36493 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36494 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36495 if test $ac_cv_lib_socket_inet_addr = yes; then
36515 for ac_func
in inet_aton
36517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36518 echo "$as_me:$LINENO: checking for $ac_func" >&5
36519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36520 if eval "test \"\${$as_ac_var+set}\" = set"; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 cat >conftest.
$ac_ext <<_ACEOF
36526 cat confdefs.h
>>conftest.
$ac_ext
36527 cat >>conftest.
$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36531 #define $ac_func innocuous_$ac_func
36533 /* System header to define __stub macros and hopefully few prototypes,
36534 which can conflict with char $ac_func (); below.
36535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36536 <limits.h> exists even on freestanding compilers. */
36539 # include <limits.h>
36541 # include <assert.h>
36546 /* Override any gcc2 internal prototype to avoid an error. */
36551 /* We use char because int might match the return type of a gcc2
36552 builtin and then its argument prototype would still apply. */
36554 /* The GNU C library defines this for functions which it implements
36555 to always fail with ENOSYS. Some functions are actually named
36556 something starting with __ and the normal name is an alias. */
36557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36560 char (*f) () = $ac_func;
36569 return f != $ac_func;
36574 rm -f conftest.
$ac_objext conftest
$ac_exeext
36575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36576 (eval $ac_link) 2>conftest.er1
36578 grep -v '^ *+' conftest.er1
>conftest.err
36580 cat conftest.err
>&5
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); } &&
36583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585 (eval $ac_try) 2>&5
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); }; } &&
36589 { ac_try
='test -s conftest$ac_exeext'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; }; then
36595 eval "$as_ac_var=yes"
36597 echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.
$ac_ext >&5
36600 eval "$as_ac_var=no"
36602 rm -f conftest.err conftest.
$ac_objext \
36603 conftest
$ac_exeext conftest.
$ac_ext
36605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36607 if test `eval echo '${'$as_ac_var'}'` = yes; then
36608 cat >>confdefs.h
<<_ACEOF
36609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36611 cat >>confdefs.h
<<\_ACEOF
36612 #define HAVE_INET_ATON 1
36617 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36618 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36619 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36620 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36621 echo $ECHO_N "(cached) $ECHO_C" >&6
36623 ac_check_lib_save_LIBS
=$LIBS
36624 LIBS
="-l$INET_LINK $LIBS"
36625 cat >conftest.
$ac_ext <<_ACEOF
36628 cat confdefs.h
>>conftest.
$ac_ext
36629 cat >>conftest.
$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36632 /* Override any gcc2 internal prototype to avoid an error. */
36636 /* We use char because int might match the return type of a gcc2
36637 builtin and then its argument prototype would still apply. */
36647 rm -f conftest.
$ac_objext conftest
$ac_exeext
36648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36649 (eval $ac_link) 2>conftest.er1
36651 grep -v '^ *+' conftest.er1
>conftest.err
36653 cat conftest.err
>&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } &&
36656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36658 (eval $ac_try) 2>&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); }; } &&
36662 { ac_try
='test -s conftest$ac_exeext'
36663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36664 (eval $ac_try) 2>&5
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); }; }; then
36668 eval "$as_ac_Lib=yes"
36670 echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.
$ac_ext >&5
36673 eval "$as_ac_Lib=no"
36675 rm -f conftest.err conftest.
$ac_objext \
36676 conftest
$ac_exeext conftest.
$ac_ext
36677 LIBS
=$ac_check_lib_save_LIBS
36679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36680 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36681 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36682 cat >>confdefs.h
<<\_ACEOF
36683 #define HAVE_INET_ATON 1
36693 if test "x$INET_LINK" != "x"; then
36694 cat >>confdefs.h
<<\_ACEOF
36695 #define HAVE_INET_ADDR 1
36698 INET_LINK
=" -l$INET_LINK"
36706 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36707 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36708 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36709 echo $ECHO_N "(cached) $ECHO_C" >&6
36711 ac_check_lib_save_LIBS
=$LIBS
36713 cat >conftest.
$ac_ext <<_ACEOF
36716 cat confdefs.h
>>conftest.
$ac_ext
36717 cat >>conftest.
$ac_ext <<_ACEOF
36718 /* end confdefs.h. */
36720 /* Override any gcc2 internal prototype to avoid an error. */
36724 /* We use char because int might match the return type of a gcc2
36725 builtin and then its argument prototype would still apply. */
36735 rm -f conftest.
$ac_objext conftest
$ac_exeext
36736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36737 (eval $ac_link) 2>conftest.er1
36739 grep -v '^ *+' conftest.er1
>conftest.err
36741 cat conftest.err
>&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); } &&
36744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746 (eval $ac_try) 2>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); }; } &&
36750 { ac_try
='test -s conftest$ac_exeext'
36751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36752 (eval $ac_try) 2>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); }; }; then
36756 ac_cv_lib_esd_esd_close
=yes
36758 echo "$as_me: failed program was:" >&5
36759 sed 's/^/| /' conftest.
$ac_ext >&5
36761 ac_cv_lib_esd_esd_close
=no
36763 rm -f conftest.err conftest.
$ac_objext \
36764 conftest
$ac_exeext conftest.
$ac_ext
36765 LIBS
=$ac_check_lib_save_LIBS
36767 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36768 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36769 if test $ac_cv_lib_esd_esd_close = yes; then
36772 for ac_header
in esd.h
36774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36776 echo "$as_me:$LINENO: checking for $ac_header" >&5
36777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36779 echo $ECHO_N "(cached) $ECHO_C" >&6
36781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36784 # Is the header compilable?
36785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36787 cat >conftest.
$ac_ext <<_ACEOF
36790 cat confdefs.h
>>conftest.
$ac_ext
36791 cat >>conftest.
$ac_ext <<_ACEOF
36792 /* end confdefs.h. */
36793 $ac_includes_default
36794 #include <$ac_header>
36796 rm -f conftest.
$ac_objext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36798 (eval $ac_compile) 2>conftest.er1
36800 grep -v '^ *+' conftest.er1
>conftest.err
36802 cat conftest.err
>&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36807 (eval $ac_try) 2>&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); }; } &&
36811 { ac_try
='test -s conftest.$ac_objext'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; }; then
36817 ac_header_compiler
=yes
36819 echo "$as_me: failed program was:" >&5
36820 sed 's/^/| /' conftest.
$ac_ext >&5
36822 ac_header_compiler
=no
36824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36826 echo "${ECHO_T}$ac_header_compiler" >&6
36828 # Is the header present?
36829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36831 cat >conftest.
$ac_ext <<_ACEOF
36834 cat confdefs.h
>>conftest.
$ac_ext
36835 cat >>conftest.
$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36837 #include <$ac_header>
36839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36842 grep -v '^ *+' conftest.er1
>conftest.err
36844 cat conftest.err
>&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } >/dev
/null
; then
36847 if test -s conftest.err
; then
36848 ac_cpp_err
=$ac_cxx_preproc_warn_flag
36849 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
36856 if test -z "$ac_cpp_err"; then
36857 ac_header_preproc
=yes
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.
$ac_ext >&5
36862 ac_header_preproc
=no
36864 rm -f conftest.err conftest.
$ac_ext
36865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36866 echo "${ECHO_T}$ac_header_preproc" >&6
36868 # So? What about this header?
36869 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
36871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36875 ac_header_preproc
=yes
36878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36882 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36884 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36885 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36888 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36892 ## ----------------------------------------- ##
36893 ## Report this to wx-dev@lists.wxwidgets.org ##
36894 ## ----------------------------------------- ##
36897 sed "s/^/$as_me: WARNING: /" >&2
36900 echo "$as_me:$LINENO: checking for $ac_header" >&5
36901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36903 echo $ECHO_N "(cached) $ECHO_C" >&6
36905 eval "$as_ac_Header=\$ac_header_preproc"
36907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36912 cat >>confdefs.h
<<_ACEOF
36913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36916 EXTRALIBS_ESD
="-lesd"
36927 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36928 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36929 cat >conftest.
$ac_ext <<_ACEOF
36932 cat confdefs.h
>>conftest.
$ac_ext
36933 cat >>conftest.
$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36936 #include <linux/cdrom.h>
36939 #include <sys/cdio.h>
36945 struct cdrom_tocentry entry, old_entry;
36950 rm -f conftest.
$ac_objext
36951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36952 (eval $ac_compile) 2>conftest.er1
36954 grep -v '^ *+' conftest.er1
>conftest.err
36956 cat conftest.err
>&5
36957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958 (exit $ac_status); } &&
36959 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36961 (eval $ac_try) 2>&5
36963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964 (exit $ac_status); }; } &&
36965 { ac_try
='test -s conftest.$ac_objext'
36966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36967 (eval $ac_try) 2>&5
36969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970 (exit $ac_status); }; }; then
36971 echo "$as_me:$LINENO: result: yes" >&5
36972 echo "${ECHO_T}yes" >&6
36973 cat >>confdefs.h
<<\_ACEOF
36974 #define HAVE_KNOWN_CDROM_INTERFACE 1
36978 echo "$as_me: failed program was:" >&5
36979 sed 's/^/| /' conftest.
$ac_ext >&5
36981 echo "$as_me:$LINENO: result: no" >&5
36982 echo "${ECHO_T}no" >&6
36984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36987 cat >confcache
<<\_ACEOF
36988 # This file is a shell script that caches the results of configure
36989 # tests run on this system so they can be shared between configure
36990 # scripts and configure runs, see configure's option --config-cache.
36991 # It is not useful on other systems. If it contains results you don't
36992 # want to keep, you may remove or edit it.
36994 # config.status only pays attention to the cache file if you give it
36995 # the --recheck option to rerun configure.
36997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36999 # following values.
37003 # The following way of writing the cache mishandles newlines in values,
37004 # but we know of no workaround that is simple, portable, and efficient.
37005 # So, don't put newlines in cache variables' values.
37006 # Ultrix sh set writes to stderr and can't be redirected directly,
37007 # and sets the high bit in the cache file unless we assign to the vars.
37010 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37012 # `set' does not quote correctly, so add quotes (double-quote
37013 # substitution turns \\\\ into \\, and sed turns \\ into \).
37016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37019 # `set' quotes correctly as required by POSIX, so do not add quotes.
37021 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37030 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37032 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37033 if test -w $cache_file; then
37034 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37035 cat confcache
>$cache_file
37037 echo "not updating unwritable cache $cache_file"
37043 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37049 if test "$wxUSE_THREADS" = "yes" ; then
37050 if test "$USE_BEOS" = 1; then
37051 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37052 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37057 if test "$wxUSE_THREADS" = "yes" ; then
37060 THREAD_OPTS
="-pthread"
37062 *-*-solaris2* | *-*-sunos4* )
37063 if test "x$GCC" = "xyes"; then
37064 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37066 THREAD_OPTS
="-mt $THREAD_OPTS"
37070 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37072 *-*-darwin* | *-*-cygwin* )
37076 THREAD_OPTS
="pthreads"
37079 if test "x$GCC" = "xyes"; then
37080 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37088 if test "x$GCC" = "xyes"; then
37094 if test "x$GCC" != "xyes"; then
37095 THREAD_OPTS
="-Ethread"
37100 THREAD_OPTS
="$THREAD_OPTS pthread none"
37103 for flag
in $THREAD_OPTS; do
37106 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37107 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37111 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37112 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37113 THREADS_CXXFLAGS
="$flag"
37117 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37118 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37119 THREADS_LINK
="-l$flag"
37124 save_CXXFLAGS
="$CXXFLAGS"
37125 LIBS
="$THREADS_LINK $LIBS"
37126 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37128 cat >conftest.
$ac_ext <<_ACEOF
37131 cat confdefs.h
>>conftest.
$ac_ext
37132 cat >>conftest.
$ac_ext <<_ACEOF
37133 /* end confdefs.h. */
37134 #include <pthread.h>
37138 pthread_create(0,0,0,0);
37143 rm -f conftest.
$ac_objext conftest
$ac_exeext
37144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37145 (eval $ac_link) 2>conftest.er1
37147 grep -v '^ *+' conftest.er1
>conftest.err
37149 cat conftest.err
>&5
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); } &&
37152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37154 (eval $ac_try) 2>&5
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); }; } &&
37158 { ac_try
='test -s conftest$ac_exeext'
37159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37160 (eval $ac_try) 2>&5
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); }; }; then
37166 echo "$as_me: failed program was:" >&5
37167 sed 's/^/| /' conftest.
$ac_ext >&5
37170 rm -f conftest.err conftest.
$ac_objext \
37171 conftest
$ac_exeext conftest.
$ac_ext
37174 CXXFLAGS
="$save_CXXFLAGS"
37176 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37177 echo "${ECHO_T}$THREADS_OK" >&6
37178 if test "x$THREADS_OK" = "xyes"; then
37183 THREADS_CXXFLAGS
=""
37186 if test "x$THREADS_OK" != "xyes"; then
37188 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37189 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37191 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37192 LIBS
="$THREADS_LINK $LIBS"
37194 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37195 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37199 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37200 flag
="-D_THREAD_SAFE"
37203 flag
="-D_THREAD_SAFE"
37206 flag
="-D_REENTRANT"
37207 if test "x$GCC" != "xyes"; then
37208 flag
="$flag -D_RWSTD_MULTI_THREAD"
37211 *solaris
* | alpha
*-osf*)
37212 flag
="-D_REENTRANT"
37215 echo "$as_me:$LINENO: result: ${flag}" >&5
37216 echo "${ECHO_T}${flag}" >&6
37217 if test "x$flag" != xno
; then
37218 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
37221 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37225 if test "$wxUSE_THREADS" = "yes" ; then
37227 for ac_func
in thr_setconcurrency
37229 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37230 echo "$as_me:$LINENO: checking for $ac_func" >&5
37231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37232 if eval "test \"\${$as_ac_var+set}\" = set"; then
37233 echo $ECHO_N "(cached) $ECHO_C" >&6
37235 cat >conftest.
$ac_ext <<_ACEOF
37238 cat confdefs.h
>>conftest.
$ac_ext
37239 cat >>conftest.
$ac_ext <<_ACEOF
37240 /* end confdefs.h. */
37241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37243 #define $ac_func innocuous_$ac_func
37245 /* System header to define __stub macros and hopefully few prototypes,
37246 which can conflict with char $ac_func (); below.
37247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37248 <limits.h> exists even on freestanding compilers. */
37251 # include <limits.h>
37253 # include <assert.h>
37258 /* Override any gcc2 internal prototype to avoid an error. */
37263 /* We use char because int might match the return type of a gcc2
37264 builtin and then its argument prototype would still apply. */
37266 /* The GNU C library defines this for functions which it implements
37267 to always fail with ENOSYS. Some functions are actually named
37268 something starting with __ and the normal name is an alias. */
37269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37272 char (*f) () = $ac_func;
37281 return f != $ac_func;
37286 rm -f conftest.
$ac_objext conftest
$ac_exeext
37287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37288 (eval $ac_link) 2>conftest.er1
37290 grep -v '^ *+' conftest.er1
>conftest.err
37292 cat conftest.err
>&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); } &&
37295 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37297 (eval $ac_try) 2>&5
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); }; } &&
37301 { ac_try
='test -s conftest$ac_exeext'
37302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37303 (eval $ac_try) 2>&5
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); }; }; then
37307 eval "$as_ac_var=yes"
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.
$ac_ext >&5
37312 eval "$as_ac_var=no"
37314 rm -f conftest.err conftest.
$ac_objext \
37315 conftest
$ac_exeext conftest.
$ac_ext
37317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37319 if test `eval echo '${'$as_ac_var'}'` = yes; then
37320 cat >>confdefs.h
<<_ACEOF
37321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37328 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37329 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37330 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37331 echo $ECHO_N "(cached) $ECHO_C" >&6
37334 cat >conftest.
$ac_ext <<_ACEOF
37337 cat confdefs.h
>>conftest.
$ac_ext
37338 cat >>conftest.
$ac_ext <<_ACEOF
37339 /* end confdefs.h. */
37340 #include <pthread.h>
37341 void ThreadCleanupFunc(void *p);
37348 pthread_cleanup_push(ThreadCleanupFunc, p);
37349 pthread_cleanup_pop(0);
37355 rm -f conftest.
$ac_objext
37356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37357 (eval $ac_compile) 2>conftest.er1
37359 grep -v '^ *+' conftest.er1
>conftest.err
37361 cat conftest.err
>&5
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); } &&
37364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; } &&
37370 { ac_try
='test -s conftest.$ac_objext'
37371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37372 (eval $ac_try) 2>&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); }; }; then
37377 wx_cv_func_pthread_cleanup
=yes
37380 echo "$as_me: failed program was:" >&5
37381 sed 's/^/| /' conftest.
$ac_ext >&5
37384 wx_cv_func_pthread_cleanup
=no
37388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37391 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37392 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37393 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37394 cat >>confdefs.h
<<\_ACEOF
37395 #define wxHAVE_PTHREAD_CLEANUP 1
37401 for ac_header
in sched.h
37403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37405 echo "$as_me:$LINENO: checking for $ac_header" >&5
37406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37413 # Is the header compilable?
37414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37416 cat >conftest.
$ac_ext <<_ACEOF
37419 cat confdefs.h
>>conftest.
$ac_ext
37420 cat >>conftest.
$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37422 $ac_includes_default
37423 #include <$ac_header>
37425 rm -f conftest.
$ac_objext
37426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37427 (eval $ac_compile) 2>conftest.er1
37429 grep -v '^ *+' conftest.er1
>conftest.err
37431 cat conftest.err
>&5
37432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37433 (exit $ac_status); } &&
37434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37436 (eval $ac_try) 2>&5
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); }; } &&
37440 { ac_try
='test -s conftest.$ac_objext'
37441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37442 (eval $ac_try) 2>&5
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); }; }; then
37446 ac_header_compiler
=yes
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.
$ac_ext >&5
37451 ac_header_compiler
=no
37453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37455 echo "${ECHO_T}$ac_header_compiler" >&6
37457 # Is the header present?
37458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37460 cat >conftest.
$ac_ext <<_ACEOF
37463 cat confdefs.h
>>conftest.
$ac_ext
37464 cat >>conftest.
$ac_ext <<_ACEOF
37465 /* end confdefs.h. */
37466 #include <$ac_header>
37468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37469 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37471 grep -v '^ *+' conftest.er1
>conftest.err
37473 cat conftest.err
>&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } >/dev
/null
; then
37476 if test -s conftest.err
; then
37477 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37478 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37485 if test -z "$ac_cpp_err"; then
37486 ac_header_preproc
=yes
37488 echo "$as_me: failed program was:" >&5
37489 sed 's/^/| /' conftest.
$ac_ext >&5
37491 ac_header_preproc
=no
37493 rm -f conftest.err conftest.
$ac_ext
37494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37495 echo "${ECHO_T}$ac_header_preproc" >&6
37497 # So? What about this header?
37498 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37504 ac_header_preproc
=yes
37507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37521 ## ----------------------------------------- ##
37522 ## Report this to wx-dev@lists.wxwidgets.org ##
37523 ## ----------------------------------------- ##
37526 sed "s/^/$as_me: WARNING: /" >&2
37529 echo "$as_me:$LINENO: checking for $ac_header" >&5
37530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37532 echo $ECHO_N "(cached) $ECHO_C" >&6
37534 eval "$as_ac_Header=\$ac_header_preproc"
37536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37541 cat >>confdefs.h
<<_ACEOF
37542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37549 if test "$ac_cv_header_sched_h" = "yes"; then
37550 echo "$as_me:$LINENO: checking for sched_yield" >&5
37551 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37552 if test "${ac_cv_func_sched_yield+set}" = set; then
37553 echo $ECHO_N "(cached) $ECHO_C" >&6
37555 cat >conftest.
$ac_ext <<_ACEOF
37558 cat confdefs.h
>>conftest.
$ac_ext
37559 cat >>conftest.
$ac_ext <<_ACEOF
37560 /* end confdefs.h. */
37561 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37563 #define sched_yield innocuous_sched_yield
37565 /* System header to define __stub macros and hopefully few prototypes,
37566 which can conflict with char sched_yield (); below.
37567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37568 <limits.h> exists even on freestanding compilers. */
37571 # include <limits.h>
37573 # include <assert.h>
37578 /* Override any gcc2 internal prototype to avoid an error. */
37583 /* We use char because int might match the return type of a gcc2
37584 builtin and then its argument prototype would still apply. */
37585 char sched_yield ();
37586 /* The GNU C library defines this for functions which it implements
37587 to always fail with ENOSYS. Some functions are actually named
37588 something starting with __ and the normal name is an alias. */
37589 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37592 char (*f) () = sched_yield;
37601 return f != sched_yield;
37606 rm -f conftest.
$ac_objext conftest
$ac_exeext
37607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37608 (eval $ac_link) 2>conftest.er1
37610 grep -v '^ *+' conftest.er1
>conftest.err
37612 cat conftest.err
>&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } &&
37615 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37617 (eval $ac_try) 2>&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); }; } &&
37621 { ac_try
='test -s conftest$ac_exeext'
37622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37623 (eval $ac_try) 2>&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); }; }; then
37627 ac_cv_func_sched_yield
=yes
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.
$ac_ext >&5
37632 ac_cv_func_sched_yield
=no
37634 rm -f conftest.err conftest.
$ac_objext \
37635 conftest
$ac_exeext conftest.
$ac_ext
37637 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37638 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37639 if test $ac_cv_func_sched_yield = yes; then
37640 cat >>confdefs.h
<<\_ACEOF
37641 #define HAVE_SCHED_YIELD 1
37646 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37647 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37648 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37649 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 ac_check_lib_save_LIBS
=$LIBS
37652 LIBS
="-lposix4 $LIBS"
37653 cat >conftest.
$ac_ext <<_ACEOF
37656 cat confdefs.h
>>conftest.
$ac_ext
37657 cat >>conftest.
$ac_ext <<_ACEOF
37658 /* end confdefs.h. */
37660 /* Override any gcc2 internal prototype to avoid an error. */
37664 /* We use char because int might match the return type of a gcc2
37665 builtin and then its argument prototype would still apply. */
37666 char sched_yield ();
37675 rm -f conftest.
$ac_objext conftest
$ac_exeext
37676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37677 (eval $ac_link) 2>conftest.er1
37679 grep -v '^ *+' conftest.er1
>conftest.err
37681 cat conftest.err
>&5
37682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37683 (exit $ac_status); } &&
37684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37686 (eval $ac_try) 2>&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); }; } &&
37690 { ac_try
='test -s conftest$ac_exeext'
37691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37692 (eval $ac_try) 2>&5
37694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695 (exit $ac_status); }; }; then
37696 ac_cv_lib_posix4_sched_yield
=yes
37698 echo "$as_me: failed program was:" >&5
37699 sed 's/^/| /' conftest.
$ac_ext >&5
37701 ac_cv_lib_posix4_sched_yield
=no
37703 rm -f conftest.err conftest.
$ac_objext \
37704 conftest
$ac_exeext conftest.
$ac_ext
37705 LIBS
=$ac_check_lib_save_LIBS
37707 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37708 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37709 if test $ac_cv_lib_posix4_sched_yield = yes; then
37710 cat >>confdefs.h
<<\_ACEOF
37711 #define HAVE_SCHED_YIELD 1
37713 POSIX4_LINK
=" -lposix4"
37715 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37716 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37727 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37728 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37729 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37730 echo $ECHO_N "(cached) $ECHO_C" >&6
37732 cat >conftest.
$ac_ext <<_ACEOF
37735 cat confdefs.h
>>conftest.
$ac_ext
37736 cat >>conftest.
$ac_ext <<_ACEOF
37737 /* end confdefs.h. */
37738 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37740 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37742 /* System header to define __stub macros and hopefully few prototypes,
37743 which can conflict with char pthread_attr_getschedpolicy (); below.
37744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37745 <limits.h> exists even on freestanding compilers. */
37748 # include <limits.h>
37750 # include <assert.h>
37753 #undef pthread_attr_getschedpolicy
37755 /* Override any gcc2 internal prototype to avoid an error. */
37760 /* We use char because int might match the return type of a gcc2
37761 builtin and then its argument prototype would still apply. */
37762 char pthread_attr_getschedpolicy ();
37763 /* The GNU C library defines this for functions which it implements
37764 to always fail with ENOSYS. Some functions are actually named
37765 something starting with __ and the normal name is an alias. */
37766 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37769 char (*f) () = pthread_attr_getschedpolicy;
37778 return f != pthread_attr_getschedpolicy;
37783 rm -f conftest.
$ac_objext conftest
$ac_exeext
37784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37785 (eval $ac_link) 2>conftest.er1
37787 grep -v '^ *+' conftest.er1
>conftest.err
37789 cat conftest.err
>&5
37790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37791 (exit $ac_status); } &&
37792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37794 (eval $ac_try) 2>&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); }; } &&
37798 { ac_try
='test -s conftest$ac_exeext'
37799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37800 (eval $ac_try) 2>&5
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); }; }; then
37804 ac_cv_func_pthread_attr_getschedpolicy
=yes
37806 echo "$as_me: failed program was:" >&5
37807 sed 's/^/| /' conftest.
$ac_ext >&5
37809 ac_cv_func_pthread_attr_getschedpolicy
=no
37811 rm -f conftest.err conftest.
$ac_objext \
37812 conftest
$ac_exeext conftest.
$ac_ext
37814 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37815 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37816 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37817 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37818 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37819 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37820 echo $ECHO_N "(cached) $ECHO_C" >&6
37822 cat >conftest.
$ac_ext <<_ACEOF
37825 cat confdefs.h
>>conftest.
$ac_ext
37826 cat >>conftest.
$ac_ext <<_ACEOF
37827 /* end confdefs.h. */
37828 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37830 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37832 /* System header to define __stub macros and hopefully few prototypes,
37833 which can conflict with char pthread_attr_setschedparam (); below.
37834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37835 <limits.h> exists even on freestanding compilers. */
37838 # include <limits.h>
37840 # include <assert.h>
37843 #undef pthread_attr_setschedparam
37845 /* Override any gcc2 internal prototype to avoid an error. */
37850 /* We use char because int might match the return type of a gcc2
37851 builtin and then its argument prototype would still apply. */
37852 char pthread_attr_setschedparam ();
37853 /* The GNU C library defines this for functions which it implements
37854 to always fail with ENOSYS. Some functions are actually named
37855 something starting with __ and the normal name is an alias. */
37856 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37859 char (*f) () = pthread_attr_setschedparam;
37868 return f != pthread_attr_setschedparam;
37873 rm -f conftest.
$ac_objext conftest
$ac_exeext
37874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37875 (eval $ac_link) 2>conftest.er1
37877 grep -v '^ *+' conftest.er1
>conftest.err
37879 cat conftest.err
>&5
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); } &&
37882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37884 (eval $ac_try) 2>&5
37886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37887 (exit $ac_status); }; } &&
37888 { ac_try
='test -s conftest$ac_exeext'
37889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37890 (eval $ac_try) 2>&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); }; }; then
37894 ac_cv_func_pthread_attr_setschedparam
=yes
37896 echo "$as_me: failed program was:" >&5
37897 sed 's/^/| /' conftest.
$ac_ext >&5
37899 ac_cv_func_pthread_attr_setschedparam
=no
37901 rm -f conftest.err conftest.
$ac_objext \
37902 conftest
$ac_exeext conftest.
$ac_ext
37904 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37905 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37906 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37907 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37908 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37909 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37910 echo $ECHO_N "(cached) $ECHO_C" >&6
37912 cat >conftest.
$ac_ext <<_ACEOF
37915 cat confdefs.h
>>conftest.
$ac_ext
37916 cat >>conftest.
$ac_ext <<_ACEOF
37917 /* end confdefs.h. */
37918 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37920 #define sched_get_priority_max innocuous_sched_get_priority_max
37922 /* System header to define __stub macros and hopefully few prototypes,
37923 which can conflict with char sched_get_priority_max (); below.
37924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37925 <limits.h> exists even on freestanding compilers. */
37928 # include <limits.h>
37930 # include <assert.h>
37933 #undef sched_get_priority_max
37935 /* Override any gcc2 internal prototype to avoid an error. */
37940 /* We use char because int might match the return type of a gcc2
37941 builtin and then its argument prototype would still apply. */
37942 char sched_get_priority_max ();
37943 /* The GNU C library defines this for functions which it implements
37944 to always fail with ENOSYS. Some functions are actually named
37945 something starting with __ and the normal name is an alias. */
37946 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37949 char (*f) () = sched_get_priority_max;
37958 return f != sched_get_priority_max;
37963 rm -f conftest.
$ac_objext conftest
$ac_exeext
37964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37965 (eval $ac_link) 2>conftest.er1
37967 grep -v '^ *+' conftest.er1
>conftest.err
37969 cat conftest.err
>&5
37970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971 (exit $ac_status); } &&
37972 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37974 (eval $ac_try) 2>&5
37976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37977 (exit $ac_status); }; } &&
37978 { ac_try
='test -s conftest$ac_exeext'
37979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37980 (eval $ac_try) 2>&5
37982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37983 (exit $ac_status); }; }; then
37984 ac_cv_func_sched_get_priority_max
=yes
37986 echo "$as_me: failed program was:" >&5
37987 sed 's/^/| /' conftest.
$ac_ext >&5
37989 ac_cv_func_sched_get_priority_max
=no
37991 rm -f conftest.err conftest.
$ac_objext \
37992 conftest
$ac_exeext conftest.
$ac_ext
37994 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37995 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37996 if test $ac_cv_func_sched_get_priority_max = yes; then
37999 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38000 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38001 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38002 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 ac_check_lib_save_LIBS
=$LIBS
38005 LIBS
="-lposix4 $LIBS"
38006 cat >conftest.
$ac_ext <<_ACEOF
38009 cat confdefs.h
>>conftest.
$ac_ext
38010 cat >>conftest.
$ac_ext <<_ACEOF
38011 /* end confdefs.h. */
38013 /* Override any gcc2 internal prototype to avoid an error. */
38017 /* We use char because int might match the return type of a gcc2
38018 builtin and then its argument prototype would still apply. */
38019 char sched_get_priority_max ();
38023 sched_get_priority_max ();
38028 rm -f conftest.
$ac_objext conftest
$ac_exeext
38029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38030 (eval $ac_link) 2>conftest.er1
38032 grep -v '^ *+' conftest.er1
>conftest.err
38034 cat conftest.err
>&5
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } &&
38037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38039 (eval $ac_try) 2>&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); }; } &&
38043 { ac_try
='test -s conftest$ac_exeext'
38044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38045 (eval $ac_try) 2>&5
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); }; }; then
38049 ac_cv_lib_posix4_sched_get_priority_max
=yes
38051 echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.
$ac_ext >&5
38054 ac_cv_lib_posix4_sched_get_priority_max
=no
38056 rm -f conftest.err conftest.
$ac_objext \
38057 conftest
$ac_exeext conftest.
$ac_ext
38058 LIBS
=$ac_check_lib_save_LIBS
38060 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38061 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38062 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38065 POSIX4_LINK
=" -lposix4"
38079 if test "$HAVE_PRIOR_FUNCS" = 1; then
38080 cat >>confdefs.h
<<\_ACEOF
38081 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38085 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38086 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38089 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38090 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38091 if test "${ac_cv_func_pthread_cancel+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_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38102 #define pthread_cancel innocuous_pthread_cancel
38104 /* System header to define __stub macros and hopefully few prototypes,
38105 which can conflict with char pthread_cancel (); 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_cancel
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_cancel ();
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_cancel) || defined (__stub___pthread_cancel)
38131 char (*f) () = pthread_cancel;
38140 return f != pthread_cancel;
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_cancel
=yes
38168 echo "$as_me: failed program was:" >&5
38169 sed 's/^/| /' conftest.
$ac_ext >&5
38171 ac_cv_func_pthread_cancel
=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_cancel" >&5
38177 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38178 if test $ac_cv_func_pthread_cancel = yes; then
38179 cat >>confdefs.h
<<\_ACEOF
38180 #define HAVE_PTHREAD_CANCEL 1
38184 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38185 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38189 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38190 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38191 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38192 echo $ECHO_N "(cached) $ECHO_C" >&6
38194 cat >conftest.
$ac_ext <<_ACEOF
38197 cat confdefs.h
>>conftest.
$ac_ext
38198 cat >>conftest.
$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38200 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38202 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38204 /* System header to define __stub macros and hopefully few prototypes,
38205 which can conflict with char pthread_attr_setstacksize (); below.
38206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38207 <limits.h> exists even on freestanding compilers. */
38210 # include <limits.h>
38212 # include <assert.h>
38215 #undef pthread_attr_setstacksize
38217 /* Override any gcc2 internal prototype to avoid an error. */
38222 /* We use char because int might match the return type of a gcc2
38223 builtin and then its argument prototype would still apply. */
38224 char pthread_attr_setstacksize ();
38225 /* The GNU C library defines this for functions which it implements
38226 to always fail with ENOSYS. Some functions are actually named
38227 something starting with __ and the normal name is an alias. */
38228 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38231 char (*f) () = pthread_attr_setstacksize;
38240 return f != pthread_attr_setstacksize;
38245 rm -f conftest.
$ac_objext conftest
$ac_exeext
38246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38247 (eval $ac_link) 2>conftest.er1
38249 grep -v '^ *+' conftest.er1
>conftest.err
38251 cat conftest.err
>&5
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); } &&
38254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38256 (eval $ac_try) 2>&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); }; } &&
38260 { ac_try
='test -s conftest$ac_exeext'
38261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38262 (eval $ac_try) 2>&5
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); }; }; then
38266 ac_cv_func_pthread_attr_setstacksize
=yes
38268 echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.
$ac_ext >&5
38271 ac_cv_func_pthread_attr_setstacksize
=no
38273 rm -f conftest.err conftest.
$ac_objext \
38274 conftest
$ac_exeext conftest.
$ac_ext
38276 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38277 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38278 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38279 cat >>confdefs.h
<<\_ACEOF
38280 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38287 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38288 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38289 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38290 echo $ECHO_N "(cached) $ECHO_C" >&6
38293 cat >conftest.
$ac_ext <<_ACEOF
38296 cat confdefs.h
>>conftest.
$ac_ext
38297 cat >>conftest.
$ac_ext <<_ACEOF
38298 /* end confdefs.h. */
38299 #include <pthread.h>
38304 pthread_mutexattr_t attr;
38305 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38311 rm -f conftest.
$ac_objext
38312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38313 (eval $ac_compile) 2>conftest.er1
38315 grep -v '^ *+' conftest.er1
>conftest.err
38317 cat conftest.err
>&5
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); } &&
38320 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38322 (eval $ac_try) 2>&5
38324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38325 (exit $ac_status); }; } &&
38326 { ac_try
='test -s conftest.$ac_objext'
38327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38328 (eval $ac_try) 2>&5
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); }; }; then
38332 wx_cv_type_pthread_mutexattr_t
=yes
38334 echo "$as_me: failed program was:" >&5
38335 sed 's/^/| /' conftest.
$ac_ext >&5
38337 wx_cv_type_pthread_mutexattr_t
=no
38340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38343 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38344 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38346 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38347 cat >>confdefs.h
<<\_ACEOF
38348 #define HAVE_PTHREAD_MUTEXATTR_T 1
38352 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38353 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38354 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38355 echo $ECHO_N "(cached) $ECHO_C" >&6
38358 cat >conftest.
$ac_ext <<_ACEOF
38361 cat confdefs.h
>>conftest.
$ac_ext
38362 cat >>conftest.
$ac_ext <<_ACEOF
38363 /* end confdefs.h. */
38364 #include <pthread.h>
38369 pthread_mutexattr_t attr;
38370 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38376 rm -f conftest.
$ac_objext
38377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38378 (eval $ac_compile) 2>conftest.er1
38380 grep -v '^ *+' conftest.er1
>conftest.err
38382 cat conftest.err
>&5
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); } &&
38385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38387 (eval $ac_try) 2>&5
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); }; } &&
38391 { ac_try
='test -s conftest.$ac_objext'
38392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38393 (eval $ac_try) 2>&5
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); }; }; then
38397 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38399 echo "$as_me: failed program was:" >&5
38400 sed 's/^/| /' conftest.
$ac_ext >&5
38402 wx_cv_func_pthread_mutexattr_settype_decl
=no
38405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38408 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38409 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38410 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38411 cat >>confdefs.h
<<\_ACEOF
38412 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38417 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38418 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38419 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38420 echo $ECHO_N "(cached) $ECHO_C" >&6
38423 cat >conftest.
$ac_ext <<_ACEOF
38426 cat confdefs.h
>>conftest.
$ac_ext
38427 cat >>conftest.
$ac_ext <<_ACEOF
38428 /* end confdefs.h. */
38429 #include <pthread.h>
38434 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38440 rm -f conftest.
$ac_objext
38441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38442 (eval $ac_compile) 2>conftest.er1
38444 grep -v '^ *+' conftest.er1
>conftest.err
38446 cat conftest.err
>&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } &&
38449 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38451 (eval $ac_try) 2>&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); }; } &&
38455 { ac_try
='test -s conftest.$ac_objext'
38456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38457 (eval $ac_try) 2>&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); }; }; then
38462 wx_cv_type_pthread_rec_mutex_init
=yes
38465 echo "$as_me: failed program was:" >&5
38466 sed 's/^/| /' conftest.
$ac_ext >&5
38469 wx_cv_type_pthread_rec_mutex_init
=no
38473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38476 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38477 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38478 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38479 cat >>confdefs.h
<<\_ACEOF
38480 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38484 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38485 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38491 if test "$wxUSE_THREADS" = "yes" ; then
38494 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38495 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38496 if test "${wx_cv_cflags_mthread+set}" = set; then
38497 echo $ECHO_N "(cached) $ECHO_C" >&6
38500 CXXFLAGS_OLD
="$CXXFLAGS"
38501 CXXFLAGS
="-mthreads $CXXFLAGS"
38502 cat >conftest.
$ac_ext <<_ACEOF
38505 cat confdefs.h
>>conftest.
$ac_ext
38506 cat >>conftest.
$ac_ext <<_ACEOF
38507 /* end confdefs.h. */
38517 rm -f conftest.
$ac_objext
38518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38519 (eval $ac_compile) 2>conftest.er1
38521 grep -v '^ *+' conftest.er1
>conftest.err
38523 cat conftest.err
>&5
38524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38525 (exit $ac_status); } &&
38526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38528 (eval $ac_try) 2>&5
38530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38531 (exit $ac_status); }; } &&
38532 { ac_try
='test -s conftest.$ac_objext'
38533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38534 (eval $ac_try) 2>&5
38536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38537 (exit $ac_status); }; }; then
38538 wx_cv_cflags_mthread
=yes
38540 echo "$as_me: failed program was:" >&5
38541 sed 's/^/| /' conftest.
$ac_ext >&5
38543 wx_cv_cflags_mthread
=no
38546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38550 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38551 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38553 if test "$wx_cv_cflags_mthread" = "yes"; then
38554 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
38555 LDFLAGS
="$LDFLAGS -mthreads"
38557 CXXFLAGS
="$CXXFLAGS_OLD"
38561 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38562 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38563 LDFLAGS
="$LDFLAGS -Zmt"
38569 echo "$as_me:$LINENO: checking for localtime_r" >&5
38570 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38571 if test "${ac_cv_func_localtime_r+set}" = set; then
38572 echo $ECHO_N "(cached) $ECHO_C" >&6
38574 cat >conftest.
$ac_ext <<_ACEOF
38577 cat confdefs.h
>>conftest.
$ac_ext
38578 cat >>conftest.
$ac_ext <<_ACEOF
38579 /* end confdefs.h. */
38580 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38582 #define localtime_r innocuous_localtime_r
38584 /* System header to define __stub macros and hopefully few prototypes,
38585 which can conflict with char localtime_r (); below.
38586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38587 <limits.h> exists even on freestanding compilers. */
38590 # include <limits.h>
38592 # include <assert.h>
38597 /* Override any gcc2 internal prototype to avoid an error. */
38602 /* We use char because int might match the return type of a gcc2
38603 builtin and then its argument prototype would still apply. */
38604 char localtime_r ();
38605 /* The GNU C library defines this for functions which it implements
38606 to always fail with ENOSYS. Some functions are actually named
38607 something starting with __ and the normal name is an alias. */
38608 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38611 char (*f) () = localtime_r;
38620 return f != localtime_r;
38625 rm -f conftest.
$ac_objext conftest
$ac_exeext
38626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38627 (eval $ac_link) 2>conftest.er1
38629 grep -v '^ *+' conftest.er1
>conftest.err
38631 cat conftest.err
>&5
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); } &&
38634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38636 (eval $ac_try) 2>&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); }; } &&
38640 { ac_try
='test -s conftest$ac_exeext'
38641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38642 (eval $ac_try) 2>&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); }; }; then
38646 ac_cv_func_localtime_r
=yes
38648 echo "$as_me: failed program was:" >&5
38649 sed 's/^/| /' conftest.
$ac_ext >&5
38651 ac_cv_func_localtime_r
=no
38653 rm -f conftest.err conftest.
$ac_objext \
38654 conftest
$ac_exeext conftest.
$ac_ext
38656 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38657 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38658 if test $ac_cv_func_localtime_r = yes; then
38659 cat >>confdefs.h
<<\_ACEOF
38660 #define HAVE_LOCALTIME_R 1
38665 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38666 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38667 if test "${ac_cv_func_gmtime_r+set}" = set; then
38668 echo $ECHO_N "(cached) $ECHO_C" >&6
38670 cat >conftest.
$ac_ext <<_ACEOF
38673 cat confdefs.h
>>conftest.
$ac_ext
38674 cat >>conftest.
$ac_ext <<_ACEOF
38675 /* end confdefs.h. */
38676 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38678 #define gmtime_r innocuous_gmtime_r
38680 /* System header to define __stub macros and hopefully few prototypes,
38681 which can conflict with char gmtime_r (); below.
38682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38683 <limits.h> exists even on freestanding compilers. */
38686 # include <limits.h>
38688 # include <assert.h>
38693 /* Override any gcc2 internal prototype to avoid an error. */
38698 /* We use char because int might match the return type of a gcc2
38699 builtin and then its argument prototype would still apply. */
38701 /* The GNU C library defines this for functions which it implements
38702 to always fail with ENOSYS. Some functions are actually named
38703 something starting with __ and the normal name is an alias. */
38704 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38707 char (*f) () = gmtime_r;
38716 return f != gmtime_r;
38721 rm -f conftest.
$ac_objext conftest
$ac_exeext
38722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38723 (eval $ac_link) 2>conftest.er1
38725 grep -v '^ *+' conftest.er1
>conftest.err
38727 cat conftest.err
>&5
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); } &&
38730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38732 (eval $ac_try) 2>&5
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); }; } &&
38736 { ac_try
='test -s conftest$ac_exeext'
38737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38738 (eval $ac_try) 2>&5
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); }; }; then
38742 ac_cv_func_gmtime_r
=yes
38744 echo "$as_me: failed program was:" >&5
38745 sed 's/^/| /' conftest.
$ac_ext >&5
38747 ac_cv_func_gmtime_r
=no
38749 rm -f conftest.err conftest.
$ac_objext \
38750 conftest
$ac_exeext conftest.
$ac_ext
38752 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38753 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38754 if test $ac_cv_func_gmtime_r = yes; then
38755 cat >>confdefs.h
<<\_ACEOF
38756 #define HAVE_GMTIME_R 1
38761 echo "$as_me:$LINENO: checking for readdir_r" >&5
38762 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38763 if test "${ac_cv_func_readdir_r+set}" = set; then
38764 echo $ECHO_N "(cached) $ECHO_C" >&6
38766 cat >conftest.
$ac_ext <<_ACEOF
38769 cat confdefs.h
>>conftest.
$ac_ext
38770 cat >>conftest.
$ac_ext <<_ACEOF
38771 /* end confdefs.h. */
38772 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38774 #define readdir_r innocuous_readdir_r
38776 /* System header to define __stub macros and hopefully few prototypes,
38777 which can conflict with char readdir_r (); below.
38778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38779 <limits.h> exists even on freestanding compilers. */
38782 # include <limits.h>
38784 # include <assert.h>
38789 /* Override any gcc2 internal prototype to avoid an error. */
38794 /* We use char because int might match the return type of a gcc2
38795 builtin and then its argument prototype would still apply. */
38797 /* The GNU C library defines this for functions which it implements
38798 to always fail with ENOSYS. Some functions are actually named
38799 something starting with __ and the normal name is an alias. */
38800 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38803 char (*f) () = readdir_r;
38812 return f != readdir_r;
38817 rm -f conftest.
$ac_objext conftest
$ac_exeext
38818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38819 (eval $ac_link) 2>conftest.er1
38821 grep -v '^ *+' conftest.er1
>conftest.err
38823 cat conftest.err
>&5
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); } &&
38826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38828 (eval $ac_try) 2>&5
38830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38831 (exit $ac_status); }; } &&
38832 { ac_try
='test -s conftest$ac_exeext'
38833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38834 (eval $ac_try) 2>&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); }; }; then
38838 ac_cv_func_readdir_r
=yes
38840 echo "$as_me: failed program was:" >&5
38841 sed 's/^/| /' conftest.
$ac_ext >&5
38843 ac_cv_func_readdir_r
=no
38845 rm -f conftest.err conftest.
$ac_objext \
38846 conftest
$ac_exeext conftest.
$ac_ext
38848 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38849 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38850 if test $ac_cv_func_readdir_r = yes; then
38851 cat >>confdefs.h
<<\_ACEOF
38852 #define HAVE_READDIR_R 1
38861 ac_cpp
='$CPP $CPPFLAGS'
38862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38866 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38867 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38869 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38874 ################################################################
38876 ac_cv_func_which_gethostbyname_r
=unknown
38879 # ONE ARGUMENT (sanity check)
38882 # This should fail, as there is no variant of gethostbyname_r() that takes
38883 # a single argument. If it actually compiles, then we can assume that
38884 # netdb.h is not declaring the function, and the compiler is thereby
38885 # assuming an implicit prototype. In which case, we're out of luck.
38887 cat >conftest.
$ac_ext <<_ACEOF
38890 cat confdefs.h
>>conftest.
$ac_ext
38891 cat >>conftest.
$ac_ext <<_ACEOF
38892 /* end confdefs.h. */
38898 char *name = "www.gnu.org";
38899 (void)gethostbyname_r(name) /* ; */
38905 rm -f conftest.
$ac_objext
38906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38907 (eval $ac_compile) 2>conftest.er1
38909 grep -v '^ *+' conftest.er1
>conftest.err
38911 cat conftest.err
>&5
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); } &&
38914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38916 (eval $ac_try) 2>&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); }; } &&
38920 { ac_try
='test -s conftest.$ac_objext'
38921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38922 (eval $ac_try) 2>&5
38924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38925 (exit $ac_status); }; }; then
38926 ac_cv_func_which_gethostbyname_r
=no
38928 echo "$as_me: failed program was:" >&5
38929 sed 's/^/| /' conftest.
$ac_ext >&5
38932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38939 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38941 cat >conftest.
$ac_ext <<_ACEOF
38944 cat confdefs.h
>>conftest.
$ac_ext
38945 cat >>conftest.
$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38952 char *name = "www.gnu.org";
38953 struct hostent ret, *retp;
38957 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38963 rm -f conftest.
$ac_objext
38964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38965 (eval $ac_compile) 2>conftest.er1
38967 grep -v '^ *+' conftest.er1
>conftest.err
38969 cat conftest.err
>&5
38970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38971 (exit $ac_status); } &&
38972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38974 (eval $ac_try) 2>&5
38976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38977 (exit $ac_status); }; } &&
38978 { ac_try
='test -s conftest.$ac_objext'
38979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38980 (eval $ac_try) 2>&5
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); }; }; then
38984 ac_cv_func_which_gethostbyname_r
=six
38986 echo "$as_me: failed program was:" >&5
38987 sed 's/^/| /' conftest.
$ac_ext >&5
38990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38999 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39001 cat >conftest.
$ac_ext <<_ACEOF
39004 cat confdefs.h
>>conftest.
$ac_ext
39005 cat >>conftest.
$ac_ext <<_ACEOF
39006 /* end confdefs.h. */
39012 char *name = "www.gnu.org";
39013 struct hostent ret;
39017 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39023 rm -f conftest.
$ac_objext
39024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39025 (eval $ac_compile) 2>conftest.er1
39027 grep -v '^ *+' conftest.er1
>conftest.err
39029 cat conftest.err
>&5
39030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39031 (exit $ac_status); } &&
39032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39034 (eval $ac_try) 2>&5
39036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037 (exit $ac_status); }; } &&
39038 { ac_try
='test -s conftest.$ac_objext'
39039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39040 (eval $ac_try) 2>&5
39042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043 (exit $ac_status); }; }; then
39044 ac_cv_func_which_gethostbyname_r
=five
39046 echo "$as_me: failed program was:" >&5
39047 sed 's/^/| /' conftest.
$ac_ext >&5
39050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39056 # (e.g. AIX, HP-UX, Tru64)
39059 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39061 cat >conftest.
$ac_ext <<_ACEOF
39064 cat confdefs.h
>>conftest.
$ac_ext
39065 cat >>conftest.
$ac_ext <<_ACEOF
39066 /* end confdefs.h. */
39072 char *name = "www.gnu.org";
39073 struct hostent ret;
39074 struct hostent_data data;
39075 (void)gethostbyname_r(name, &ret, &data) /* ; */
39081 rm -f conftest.
$ac_objext
39082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39083 (eval $ac_compile) 2>conftest.er1
39085 grep -v '^ *+' conftest.er1
>conftest.err
39087 cat conftest.err
>&5
39088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 (exit $ac_status); } &&
39090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; } &&
39096 { ac_try
='test -s conftest.$ac_objext'
39097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39098 (eval $ac_try) 2>&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); }; }; then
39102 ac_cv_func_which_gethostbyname_r
=three
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.
$ac_ext >&5
39108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39112 ################################################################
39117 case "$ac_cv_func_which_gethostbyname_r" in
39119 echo "$as_me:$LINENO: result: three" >&5
39120 echo "${ECHO_T}three" >&6
39121 cat >>confdefs.h
<<\_ACEOF
39122 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39128 echo "$as_me:$LINENO: result: five" >&5
39129 echo "${ECHO_T}five" >&6
39130 cat >>confdefs.h
<<\_ACEOF
39131 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39137 echo "$as_me:$LINENO: result: six" >&5
39138 echo "${ECHO_T}six" >&6
39139 cat >>confdefs.h
<<\_ACEOF
39140 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39146 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39147 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39151 echo "$as_me:$LINENO: result: can't tell" >&5
39152 echo "${ECHO_T}can't tell" >&6
39156 { { echo "$as_me:$LINENO: error: internal error" >&5
39157 echo "$as_me: error: internal error" >&2;}
39158 { (exit 1); exit 1; }; }
39163 ac_cpp
='$CXXCPP $CPPFLAGS'
39164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39170 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39171 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39172 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39173 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39174 if test "${ac_cv_func_gethostbyname+set}" = set; then
39175 echo $ECHO_N "(cached) $ECHO_C" >&6
39177 cat >conftest.
$ac_ext <<_ACEOF
39180 cat confdefs.h
>>conftest.
$ac_ext
39181 cat >>conftest.
$ac_ext <<_ACEOF
39182 /* end confdefs.h. */
39183 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39185 #define gethostbyname innocuous_gethostbyname
39187 /* System header to define __stub macros and hopefully few prototypes,
39188 which can conflict with char gethostbyname (); below.
39189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39190 <limits.h> exists even on freestanding compilers. */
39193 # include <limits.h>
39195 # include <assert.h>
39198 #undef gethostbyname
39200 /* Override any gcc2 internal prototype to avoid an error. */
39205 /* We use char because int might match the return type of a gcc2
39206 builtin and then its argument prototype would still apply. */
39207 char gethostbyname ();
39208 /* The GNU C library defines this for functions which it implements
39209 to always fail with ENOSYS. Some functions are actually named
39210 something starting with __ and the normal name is an alias. */
39211 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39214 char (*f) () = gethostbyname;
39223 return f != gethostbyname;
39228 rm -f conftest.
$ac_objext conftest
$ac_exeext
39229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39230 (eval $ac_link) 2>conftest.er1
39232 grep -v '^ *+' conftest.er1
>conftest.err
39234 cat conftest.err
>&5
39235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39236 (exit $ac_status); } &&
39237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39239 (eval $ac_try) 2>&5
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); }; } &&
39243 { ac_try
='test -s conftest$ac_exeext'
39244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39245 (eval $ac_try) 2>&5
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); }; }; then
39249 ac_cv_func_gethostbyname
=yes
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.
$ac_ext >&5
39254 ac_cv_func_gethostbyname
=no
39256 rm -f conftest.err conftest.
$ac_objext \
39257 conftest
$ac_exeext conftest.
$ac_ext
39259 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39260 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39261 if test $ac_cv_func_gethostbyname = yes; then
39262 cat >>confdefs.h
<<\_ACEOF
39263 #define HAVE_GETHOSTBYNAME 1
39269 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39270 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39271 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 cat >conftest.
$ac_ext <<_ACEOF
39277 cat confdefs.h
>>conftest.
$ac_ext
39278 cat >>conftest.
$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define getservbyname_r innocuous_getservbyname_r
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char getservbyname_r (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39290 # include <limits.h>
39292 # include <assert.h>
39295 #undef getservbyname_r
39297 /* Override any gcc2 internal prototype to avoid an error. */
39302 /* We use char because int might match the return type of a gcc2
39303 builtin and then its argument prototype would still apply. */
39304 char getservbyname_r ();
39305 /* The GNU C library defines this for functions which it implements
39306 to always fail with ENOSYS. Some functions are actually named
39307 something starting with __ and the normal name is an alias. */
39308 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39311 char (*f) () = getservbyname_r;
39320 return f != getservbyname_r;
39325 rm -f conftest.
$ac_objext conftest
$ac_exeext
39326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39327 (eval $ac_link) 2>conftest.er1
39329 grep -v '^ *+' conftest.er1
>conftest.err
39331 cat conftest.err
>&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } &&
39334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39336 (eval $ac_try) 2>&5
39338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39339 (exit $ac_status); }; } &&
39340 { ac_try
='test -s conftest$ac_exeext'
39341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39342 (eval $ac_try) 2>&5
39344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345 (exit $ac_status); }; }; then
39346 ac_cv_func_getservbyname_r
=yes
39348 echo "$as_me: failed program was:" >&5
39349 sed 's/^/| /' conftest.
$ac_ext >&5
39351 ac_cv_func_getservbyname_r
=no
39353 rm -f conftest.err conftest.
$ac_objext \
39354 conftest
$ac_exeext conftest.
$ac_ext
39356 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39357 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39358 if test $ac_cv_func_getservbyname_r = yes; then
39359 cat >conftest.
$ac_ext <<_ACEOF
39362 cat confdefs.h
>>conftest.
$ac_ext
39363 cat >>conftest.
$ac_ext <<_ACEOF
39364 /* end confdefs.h. */
39372 struct servent *se;
39373 struct servent_data data;
39374 (void) getservbyname_r(name, proto, se, &data);
39380 rm -f conftest.
$ac_objext
39381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39382 (eval $ac_compile) 2>conftest.er1
39384 grep -v '^ *+' conftest.er1
>conftest.err
39386 cat conftest.err
>&5
39387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39388 (exit $ac_status); } &&
39389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39391 (eval $ac_try) 2>&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); }; } &&
39395 { ac_try
='test -s conftest.$ac_objext'
39396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39397 (eval $ac_try) 2>&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); }; }; then
39401 ac_cv_func_which_getservbyname_r
=four
39403 echo "$as_me: failed program was:" >&5
39404 sed 's/^/| /' conftest.
$ac_ext >&5
39406 cat >conftest.
$ac_ext <<_ACEOF
39409 cat confdefs.h
>>conftest.
$ac_ext
39410 cat >>conftest.
$ac_ext <<_ACEOF
39411 /* end confdefs.h. */
39419 struct servent *se, *res;
39422 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39428 rm -f conftest.
$ac_objext
39429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39430 (eval $ac_compile) 2>conftest.er1
39432 grep -v '^ *+' conftest.er1
>conftest.err
39434 cat conftest.err
>&5
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); } &&
39437 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39439 (eval $ac_try) 2>&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); }; } &&
39443 { ac_try
='test -s conftest.$ac_objext'
39444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39445 (eval $ac_try) 2>&5
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); }; }; then
39449 ac_cv_func_which_getservbyname_r
=six
39451 echo "$as_me: failed program was:" >&5
39452 sed 's/^/| /' conftest.
$ac_ext >&5
39454 cat >conftest.
$ac_ext <<_ACEOF
39457 cat confdefs.h
>>conftest.
$ac_ext
39458 cat >>conftest.
$ac_ext <<_ACEOF
39459 /* end confdefs.h. */
39467 struct servent *se;
39470 (void) getservbyname_r(name, proto, se, buffer, buflen)
39476 rm -f conftest.
$ac_objext
39477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39478 (eval $ac_compile) 2>conftest.er1
39480 grep -v '^ *+' conftest.er1
>conftest.err
39482 cat conftest.err
>&5
39483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39484 (exit $ac_status); } &&
39485 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39487 (eval $ac_try) 2>&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); }; } &&
39491 { ac_try
='test -s conftest.$ac_objext'
39492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39493 (eval $ac_try) 2>&5
39495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); }; }; then
39497 ac_cv_func_which_getservbyname_r
=five
39499 echo "$as_me: failed program was:" >&5
39500 sed 's/^/| /' conftest.
$ac_ext >&5
39502 ac_cv_func_which_getservbyname_r
=no
39505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39513 ac_cv_func_which_getservbyname_r
=no
39517 if test $ac_cv_func_which_getservbyname_r = six
; then
39518 cat >>confdefs.h
<<\_ACEOF
39519 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39522 elif test $ac_cv_func_which_getservbyname_r = five
; then
39523 cat >>confdefs.h
<<\_ACEOF
39524 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39527 elif test $ac_cv_func_which_getservbyname_r = four
; then
39528 cat >>confdefs.h
<<\_ACEOF
39529 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39535 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39536 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39538 for ac_func
in getservbyname
39540 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39541 echo "$as_me:$LINENO: checking for $ac_func" >&5
39542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39543 if eval "test \"\${$as_ac_var+set}\" = set"; then
39544 echo $ECHO_N "(cached) $ECHO_C" >&6
39546 cat >conftest.
$ac_ext <<_ACEOF
39549 cat confdefs.h
>>conftest.
$ac_ext
39550 cat >>conftest.
$ac_ext <<_ACEOF
39551 /* end confdefs.h. */
39552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39554 #define $ac_func innocuous_$ac_func
39556 /* System header to define __stub macros and hopefully few prototypes,
39557 which can conflict with char $ac_func (); below.
39558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39559 <limits.h> exists even on freestanding compilers. */
39562 # include <limits.h>
39564 # include <assert.h>
39569 /* Override any gcc2 internal prototype to avoid an error. */
39574 /* We use char because int might match the return type of a gcc2
39575 builtin and then its argument prototype would still apply. */
39577 /* The GNU C library defines this for functions which it implements
39578 to always fail with ENOSYS. Some functions are actually named
39579 something starting with __ and the normal name is an alias. */
39580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39583 char (*f) () = $ac_func;
39592 return f != $ac_func;
39597 rm -f conftest.
$ac_objext conftest
$ac_exeext
39598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39599 (eval $ac_link) 2>conftest.er1
39601 grep -v '^ *+' conftest.er1
>conftest.err
39603 cat conftest.err
>&5
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); } &&
39606 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39608 (eval $ac_try) 2>&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); }; } &&
39612 { ac_try
='test -s conftest$ac_exeext'
39613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39614 (eval $ac_try) 2>&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); }; }; then
39618 eval "$as_ac_var=yes"
39620 echo "$as_me: failed program was:" >&5
39621 sed 's/^/| /' conftest.
$ac_ext >&5
39623 eval "$as_ac_var=no"
39625 rm -f conftest.err conftest.
$ac_objext \
39626 conftest
$ac_exeext conftest.
$ac_ext
39628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39630 if test `eval echo '${'$as_ac_var'}'` = yes; then
39631 cat >>confdefs.h
<<_ACEOF
39632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39634 cat >>confdefs.h
<<\_ACEOF
39635 #define HAVE_GETSERVBYNAME 1
39643 if test "$wxUSE_THREADS" = "yes"; then
39644 cat >>confdefs.h
<<\_ACEOF
39645 #define wxUSE_THREADS 1
39649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39651 if test "$ac_cv_func_strtok_r" = "yes"; then
39652 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39653 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39654 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39655 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39656 echo "$as_me:$LINENO: result: yes" >&5
39657 echo "${ECHO_T}yes" >&6
39659 echo "$as_me:$LINENO: result: no" >&5
39660 echo "${ECHO_T}no" >&6
39665 if test "$WXGTK20" = 1 ; then
39666 cat >>confdefs.h
<<_ACEOF
39667 #define __WXGTK20__ $WXGTK20
39673 if test "$WXGTK12" = 1 ; then
39674 cat >>confdefs.h
<<_ACEOF
39675 #define __WXGTK12__ $WXGTK12
39680 if test "$WXGTK127" = 1 ; then
39681 cat >>confdefs.h
<<_ACEOF
39682 #define __WXGTK127__ $WXGTK127
39687 if test "$WXGPE" = 1 ; then
39688 cat >>confdefs.h
<<_ACEOF
39689 #define __WXGPE__ $WXGPE
39695 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39700 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39701 wxUSE_DEBUG_INFO
=yes
39702 if test "$GCC" = yes; then
39703 DEBUG_CFLAGS
="-ggdb"
39707 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39708 cat >>confdefs.h
<<\_ACEOF
39712 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39714 if test "$wxUSE_GTK" = 1 ; then
39715 if test "x$wxGTK_VERSION" = "x1" ; then
39716 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39721 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39722 cat >>confdefs.h
<<\_ACEOF
39723 #define wxUSE_MEMORY_TRACING 1
39726 cat >>confdefs.h
<<\_ACEOF
39727 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39730 cat >>confdefs.h
<<\_ACEOF
39731 #define wxUSE_DEBUG_NEW_ALWAYS 1
39734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39737 if test "$wxUSE_DMALLOC" = "yes" ; then
39738 DMALLOC_LIBS
="-ldmallocthcxx"
39742 if test "$wxUSE_PROFILE" = "yes" ; then
39743 PROFILE_FLAGS
=" -pg"
39746 if test "$GCC" = "yes" ; then
39747 if test "$wxUSE_NO_RTTI" = "yes" ; then
39748 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39750 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39751 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39753 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39754 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39759 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39762 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39768 if test "$wxUSE_OPTIMISE" = "no" ; then
39769 if test "$GCC" = yes ; then
39770 OPTIMISE_CFLAGS
="-O0"
39773 if test "$GCC" = yes ; then
39775 *-pc-os2_emx | *-pc-os2-emx )
39776 OPTIMISE_CFLAGS
="-O2"
39779 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
39783 OPTIMISE_CFLAGS
="-O"
39788 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39789 cat >>confdefs.h
<<\_ACEOF
39790 #define WXWIN_COMPATIBILITY_2_4 1
39794 WXWIN_COMPATIBILITY_2_6
="yes"
39797 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39798 cat >>confdefs.h
<<\_ACEOF
39799 #define WXWIN_COMPATIBILITY_2_6 1
39805 if test "$wxUSE_GUI" = "yes"; then
39806 cat >>confdefs.h
<<\_ACEOF
39807 #define wxUSE_GUI 1
39814 if test "$wxUSE_UNIX" = "yes"; then
39815 cat >>confdefs.h
<<\_ACEOF
39816 #define wxUSE_UNIX 1
39822 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39826 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39827 if test "$USE_DARWIN" = 1; then
39829 elif test "$USE_DOS" = 1; then
39833 for ac_func
in dlopen
39835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39836 echo "$as_me:$LINENO: checking for $ac_func" >&5
39837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39838 if eval "test \"\${$as_ac_var+set}\" = set"; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39841 cat >conftest.
$ac_ext <<_ACEOF
39844 cat confdefs.h
>>conftest.
$ac_ext
39845 cat >>conftest.
$ac_ext <<_ACEOF
39846 /* end confdefs.h. */
39847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39849 #define $ac_func innocuous_$ac_func
39851 /* System header to define __stub macros and hopefully few prototypes,
39852 which can conflict with char $ac_func (); below.
39853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39854 <limits.h> exists even on freestanding compilers. */
39857 # include <limits.h>
39859 # include <assert.h>
39864 /* Override any gcc2 internal prototype to avoid an error. */
39869 /* We use char because int might match the return type of a gcc2
39870 builtin and then its argument prototype would still apply. */
39872 /* The GNU C library defines this for functions which it implements
39873 to always fail with ENOSYS. Some functions are actually named
39874 something starting with __ and the normal name is an alias. */
39875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39878 char (*f) () = $ac_func;
39887 return f != $ac_func;
39892 rm -f conftest.
$ac_objext conftest
$ac_exeext
39893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39894 (eval $ac_link) 2>conftest.er1
39896 grep -v '^ *+' conftest.er1
>conftest.err
39898 cat conftest.err
>&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); } &&
39901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39903 (eval $ac_try) 2>&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); }; } &&
39907 { ac_try
='test -s conftest$ac_exeext'
39908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39909 (eval $ac_try) 2>&5
39911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39912 (exit $ac_status); }; }; then
39913 eval "$as_ac_var=yes"
39915 echo "$as_me: failed program was:" >&5
39916 sed 's/^/| /' conftest.
$ac_ext >&5
39918 eval "$as_ac_var=no"
39920 rm -f conftest.err conftest.
$ac_objext \
39921 conftest
$ac_exeext conftest.
$ac_ext
39923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39925 if test `eval echo '${'$as_ac_var'}'` = yes; then
39926 cat >>confdefs.h
<<_ACEOF
39927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39930 cat >>confdefs.h
<<\_ACEOF
39931 #define HAVE_DLOPEN 1
39938 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39939 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39940 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39941 echo $ECHO_N "(cached) $ECHO_C" >&6
39943 ac_check_lib_save_LIBS
=$LIBS
39945 cat >conftest.
$ac_ext <<_ACEOF
39948 cat confdefs.h
>>conftest.
$ac_ext
39949 cat >>conftest.
$ac_ext <<_ACEOF
39950 /* end confdefs.h. */
39952 /* Override any gcc2 internal prototype to avoid an error. */
39956 /* We use char because int might match the return type of a gcc2
39957 builtin and then its argument prototype would still apply. */
39967 rm -f conftest.
$ac_objext conftest
$ac_exeext
39968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39969 (eval $ac_link) 2>conftest.er1
39971 grep -v '^ *+' conftest.er1
>conftest.err
39973 cat conftest.err
>&5
39974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39975 (exit $ac_status); } &&
39976 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39978 (eval $ac_try) 2>&5
39980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39981 (exit $ac_status); }; } &&
39982 { ac_try
='test -s conftest$ac_exeext'
39983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39984 (eval $ac_try) 2>&5
39986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39987 (exit $ac_status); }; }; then
39988 ac_cv_lib_dl_dlopen
=yes
39990 echo "$as_me: failed program was:" >&5
39991 sed 's/^/| /' conftest.
$ac_ext >&5
39993 ac_cv_lib_dl_dlopen
=no
39995 rm -f conftest.err conftest.
$ac_objext \
39996 conftest
$ac_exeext conftest.
$ac_ext
39997 LIBS
=$ac_check_lib_save_LIBS
39999 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40000 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40001 if test $ac_cv_lib_dl_dlopen = yes; then
40003 cat >>confdefs.h
<<\_ACEOF
40004 #define HAVE_DLOPEN 1
40008 DL_LINK
=" -ldl$DL_LINK"
40013 for ac_func
in shl_load
40015 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40016 echo "$as_me:$LINENO: checking for $ac_func" >&5
40017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40018 if eval "test \"\${$as_ac_var+set}\" = set"; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40021 cat >conftest.
$ac_ext <<_ACEOF
40024 cat confdefs.h
>>conftest.
$ac_ext
40025 cat >>conftest.
$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40029 #define $ac_func innocuous_$ac_func
40031 /* System header to define __stub macros and hopefully few prototypes,
40032 which can conflict with char $ac_func (); below.
40033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40034 <limits.h> exists even on freestanding compilers. */
40037 # include <limits.h>
40039 # include <assert.h>
40044 /* Override any gcc2 internal prototype to avoid an error. */
40049 /* We use char because int might match the return type of a gcc2
40050 builtin and then its argument prototype would still apply. */
40052 /* The GNU C library defines this for functions which it implements
40053 to always fail with ENOSYS. Some functions are actually named
40054 something starting with __ and the normal name is an alias. */
40055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40058 char (*f) () = $ac_func;
40067 return f != $ac_func;
40072 rm -f conftest.
$ac_objext conftest
$ac_exeext
40073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40074 (eval $ac_link) 2>conftest.er1
40076 grep -v '^ *+' conftest.er1
>conftest.err
40078 cat conftest.err
>&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); } &&
40081 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40083 (eval $ac_try) 2>&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); }; } &&
40087 { ac_try
='test -s conftest$ac_exeext'
40088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40089 (eval $ac_try) 2>&5
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); }; }; then
40093 eval "$as_ac_var=yes"
40095 echo "$as_me: failed program was:" >&5
40096 sed 's/^/| /' conftest.
$ac_ext >&5
40098 eval "$as_ac_var=no"
40100 rm -f conftest.err conftest.
$ac_objext \
40101 conftest
$ac_exeext conftest.
$ac_ext
40103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40105 if test `eval echo '${'$as_ac_var'}'` = yes; then
40106 cat >>confdefs.h
<<_ACEOF
40107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40110 cat >>confdefs.h
<<\_ACEOF
40111 #define HAVE_SHL_LOAD 1
40118 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40119 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40120 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40121 echo $ECHO_N "(cached) $ECHO_C" >&6
40123 ac_check_lib_save_LIBS
=$LIBS
40124 LIBS
="-lshl_load $LIBS"
40125 cat >conftest.
$ac_ext <<_ACEOF
40128 cat confdefs.h
>>conftest.
$ac_ext
40129 cat >>conftest.
$ac_ext <<_ACEOF
40130 /* end confdefs.h. */
40132 /* Override any gcc2 internal prototype to avoid an error. */
40136 /* We use char because int might match the return type of a gcc2
40137 builtin and then its argument prototype would still apply. */
40147 rm -f conftest.
$ac_objext conftest
$ac_exeext
40148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40149 (eval $ac_link) 2>conftest.er1
40151 grep -v '^ *+' conftest.er1
>conftest.err
40153 cat conftest.err
>&5
40154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40155 (exit $ac_status); } &&
40156 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40158 (eval $ac_try) 2>&5
40160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161 (exit $ac_status); }; } &&
40162 { ac_try
='test -s conftest$ac_exeext'
40163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40164 (eval $ac_try) 2>&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); }; }; then
40168 ac_cv_lib_shl_load_dld
=yes
40170 echo "$as_me: failed program was:" >&5
40171 sed 's/^/| /' conftest.
$ac_ext >&5
40173 ac_cv_lib_shl_load_dld
=no
40175 rm -f conftest.err conftest.
$ac_objext \
40176 conftest
$ac_exeext conftest.
$ac_ext
40177 LIBS
=$ac_check_lib_save_LIBS
40179 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40180 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40181 if test $ac_cv_lib_shl_load_dld = yes; then
40184 DL_LINK
=" -ldld$DL_LINK"
40200 if test "$HAVE_DL_FUNCS" = 1; then
40202 for ac_func
in dlerror
40204 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40205 echo "$as_me:$LINENO: checking for $ac_func" >&5
40206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40207 if eval "test \"\${$as_ac_var+set}\" = set"; then
40208 echo $ECHO_N "(cached) $ECHO_C" >&6
40210 cat >conftest.
$ac_ext <<_ACEOF
40213 cat confdefs.h
>>conftest.
$ac_ext
40214 cat >>conftest.
$ac_ext <<_ACEOF
40215 /* end confdefs.h. */
40216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40218 #define $ac_func innocuous_$ac_func
40220 /* System header to define __stub macros and hopefully few prototypes,
40221 which can conflict with char $ac_func (); below.
40222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40223 <limits.h> exists even on freestanding compilers. */
40226 # include <limits.h>
40228 # include <assert.h>
40233 /* Override any gcc2 internal prototype to avoid an error. */
40238 /* We use char because int might match the return type of a gcc2
40239 builtin and then its argument prototype would still apply. */
40241 /* The GNU C library defines this for functions which it implements
40242 to always fail with ENOSYS. Some functions are actually named
40243 something starting with __ and the normal name is an alias. */
40244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40247 char (*f) () = $ac_func;
40256 return f != $ac_func;
40261 rm -f conftest.
$ac_objext conftest
$ac_exeext
40262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40263 (eval $ac_link) 2>conftest.er1
40265 grep -v '^ *+' conftest.er1
>conftest.err
40267 cat conftest.err
>&5
40268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40269 (exit $ac_status); } &&
40270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40272 (eval $ac_try) 2>&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); }; } &&
40276 { ac_try
='test -s conftest$ac_exeext'
40277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40278 (eval $ac_try) 2>&5
40280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281 (exit $ac_status); }; }; then
40282 eval "$as_ac_var=yes"
40284 echo "$as_me: failed program was:" >&5
40285 sed 's/^/| /' conftest.
$ac_ext >&5
40287 eval "$as_ac_var=no"
40289 rm -f conftest.err conftest.
$ac_objext \
40290 conftest
$ac_exeext conftest.
$ac_ext
40292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40294 if test `eval echo '${'$as_ac_var'}'` = yes; then
40295 cat >>confdefs.h
<<_ACEOF
40296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40298 cat >>confdefs.h
<<\_ACEOF
40299 #define HAVE_DLERROR 1
40304 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40305 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40306 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40309 ac_check_lib_save_LIBS
=$LIBS
40311 cat >conftest.
$ac_ext <<_ACEOF
40314 cat confdefs.h
>>conftest.
$ac_ext
40315 cat >>conftest.
$ac_ext <<_ACEOF
40316 /* end confdefs.h. */
40318 /* Override any gcc2 internal prototype to avoid an error. */
40322 /* We use char because int might match the return type of a gcc2
40323 builtin and then its argument prototype would still apply. */
40333 rm -f conftest.
$ac_objext conftest
$ac_exeext
40334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40335 (eval $ac_link) 2>conftest.er1
40337 grep -v '^ *+' conftest.er1
>conftest.err
40339 cat conftest.err
>&5
40340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341 (exit $ac_status); } &&
40342 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40344 (eval $ac_try) 2>&5
40346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40347 (exit $ac_status); }; } &&
40348 { ac_try
='test -s conftest$ac_exeext'
40349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40350 (eval $ac_try) 2>&5
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); }; }; then
40354 ac_cv_lib_dl_dlerror
=yes
40356 echo "$as_me: failed program was:" >&5
40357 sed 's/^/| /' conftest.
$ac_ext >&5
40359 ac_cv_lib_dl_dlerror
=no
40361 rm -f conftest.err conftest.
$ac_objext \
40362 conftest
$ac_exeext conftest.
$ac_ext
40363 LIBS
=$ac_check_lib_save_LIBS
40365 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40366 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40367 if test $ac_cv_lib_dl_dlerror = yes; then
40368 cat >>confdefs.h
<<\_ACEOF
40369 #define HAVE_DLERROR 1
40382 if test "$HAVE_DL_FUNCS" = 0; then
40383 if test "$HAVE_SHL_FUNCS" = 0; then
40384 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40385 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40386 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40387 wxUSE_DYNAMIC_LOADER
=no
40388 wxUSE_DYNLIB_CLASS
=no
40390 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40391 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40398 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40399 cat >>confdefs.h
<<\_ACEOF
40400 #define wxUSE_DYNAMIC_LOADER 1
40404 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40405 cat >>confdefs.h
<<\_ACEOF
40406 #define wxUSE_DYNLIB_CLASS 1
40413 if test "$wxUSE_PLUGINS" = "yes" ; then
40414 if test "$wxUSE_SHARED" = "no" ; then
40415 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40416 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40419 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40420 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40421 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40424 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40425 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40426 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40429 if test "$wxUSE_PLUGINS" = "yes" ; then
40430 cat >>confdefs.h
<<\_ACEOF
40431 #define wxUSE_PLUGINS 1
40438 if test "$wxUSE_STL" = "yes"; then
40439 cat >>confdefs.h
<<\_ACEOF
40440 #define wxUSE_STL 1
40445 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40446 cat >>confdefs.h
<<\_ACEOF
40447 #define wxUSE_APPLE_IEEE 1
40452 if test "$wxUSE_TIMER" = "yes"; then
40453 cat >>confdefs.h
<<\_ACEOF
40454 #define wxUSE_TIMER 1
40459 if test "$USE_UNIX" = "1" ; then
40460 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40461 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40462 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40463 echo $ECHO_N "(cached) $ECHO_C" >&6
40466 cat >conftest.
$ac_ext <<_ACEOF
40469 cat confdefs.h
>>conftest.
$ac_ext
40470 cat >>conftest.
$ac_ext <<_ACEOF
40471 /* end confdefs.h. */
40473 #include <sys/soundcard.h>
40479 ioctl(0, SNDCTL_DSP_SYNC, 0);
40485 rm -f conftest.
$ac_objext conftest
$ac_exeext
40486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40487 (eval $ac_link) 2>conftest.er1
40489 grep -v '^ *+' conftest.er1
>conftest.err
40491 cat conftest.err
>&5
40492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40493 (exit $ac_status); } &&
40494 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40496 (eval $ac_try) 2>&5
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); }; } &&
40500 { ac_try
='test -s conftest$ac_exeext'
40501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40502 (eval $ac_try) 2>&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); }; }; then
40506 ac_cv_header_sys_soundcard
=yes
40508 echo "$as_me: failed program was:" >&5
40509 sed 's/^/| /' conftest.
$ac_ext >&5
40513 LIBS
="$saveLibs -lossaudio"
40514 cat >conftest.
$ac_ext <<_ACEOF
40517 cat confdefs.h
>>conftest.
$ac_ext
40518 cat >>conftest.
$ac_ext <<_ACEOF
40519 /* end confdefs.h. */
40521 #include <sys/soundcard.h>
40527 ioctl(0, SNDCTL_DSP_SYNC, 0);
40533 rm -f conftest.
$ac_objext conftest
$ac_exeext
40534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40535 (eval $ac_link) 2>conftest.er1
40537 grep -v '^ *+' conftest.er1
>conftest.err
40539 cat conftest.err
>&5
40540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40541 (exit $ac_status); } &&
40542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40544 (eval $ac_try) 2>&5
40546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40547 (exit $ac_status); }; } &&
40548 { ac_try
='test -s conftest$ac_exeext'
40549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40550 (eval $ac_try) 2>&5
40552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40553 (exit $ac_status); }; }; then
40554 ac_cv_header_sys_soundcard
=yes
40556 echo "$as_me: failed program was:" >&5
40557 sed 's/^/| /' conftest.
$ac_ext >&5
40561 ac_cv_header_sys_soundcard
=no
40565 rm -f conftest.err conftest.
$ac_objext \
40566 conftest
$ac_exeext conftest.
$ac_ext
40570 rm -f conftest.err conftest.
$ac_objext \
40571 conftest
$ac_exeext conftest.
$ac_ext
40574 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40575 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40577 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40578 cat >>confdefs.h
<<\_ACEOF
40579 #define HAVE_SYS_SOUNDCARD_H 1
40583 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40587 if test "$wxUSE_SOUND" = "yes"; then
40588 if test "$USE_UNIX" = "1" ; then
40589 if test "$wxUSE_LIBSDL" != "no"; then
40591 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40592 if test "${with_sdl_prefix+set}" = set; then
40593 withval
="$with_sdl_prefix"
40594 sdl_prefix
="$withval"
40599 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40600 if test "${with_sdl_exec_prefix+set}" = set; then
40601 withval
="$with_sdl_exec_prefix"
40602 sdl_exec_prefix
="$withval"
40606 # Check whether --enable-sdltest or --disable-sdltest was given.
40607 if test "${enable_sdltest+set}" = set; then
40608 enableval
="$enable_sdltest"
40614 if test x
$sdl_exec_prefix != x
; then
40615 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40616 if test x
${SDL_CONFIG+set} != xset
; then
40617 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40620 if test x
$sdl_prefix != x
; then
40621 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40622 if test x
${SDL_CONFIG+set} != xset
; then
40623 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40628 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40629 # Extract the first word of "sdl-config", so it can be a program name with args.
40630 set dummy sdl
-config; ac_word
=$2
40631 echo "$as_me:$LINENO: checking for $ac_word" >&5
40632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40633 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40634 echo $ECHO_N "(cached) $ECHO_C" >&6
40636 case $SDL_CONFIG in
40638 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40642 for as_dir
in $PATH
40645 test -z "$as_dir" && as_dir
=.
40646 for ac_exec_ext
in '' $ac_executable_extensions; do
40647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40648 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40655 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40659 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40661 if test -n "$SDL_CONFIG"; then
40662 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40663 echo "${ECHO_T}$SDL_CONFIG" >&6
40665 echo "$as_me:$LINENO: result: no" >&5
40666 echo "${ECHO_T}no" >&6
40669 min_sdl_version
=1.2.0
40670 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40671 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40673 if test "$SDL_CONFIG" = "no" ; then
40676 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40677 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40679 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40681 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40682 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40683 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40684 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40685 if test "x$enable_sdltest" = "xyes" ; then
40686 ac_save_CFLAGS
="$CFLAGS"
40687 ac_save_CXXFLAGS
="$CXXFLAGS"
40688 ac_save_LIBS
="$LIBS"
40689 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40690 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40691 LIBS
="$LIBS $SDL_LIBS"
40693 if test "$cross_compiling" = yes; then
40694 echo $ac_n "cross compiling; assumed OK... $ac_c"
40696 cat >conftest.
$ac_ext <<_ACEOF
40699 cat confdefs.h
>>conftest.
$ac_ext
40700 cat >>conftest.
$ac_ext <<_ACEOF
40701 /* end confdefs.h. */
40704 #include <stdlib.h>
40705 #include <string.h>
40709 my_strdup (char *str)
40715 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40716 strcpy (new_str, str);
40724 int main (int argc, char *argv[])
40726 int major, minor, micro;
40729 /* This hangs on some systems (?)
40730 system ("touch conf.sdltest");
40732 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40734 /* HP/UX 9 (%@#!) writes to sscanf strings */
40735 tmp_version = my_strdup("$min_sdl_version");
40736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40737 printf("%s, bad version string\n", "$min_sdl_version");
40741 if (($sdl_major_version > major) ||
40742 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40743 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40749 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40750 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40751 printf("*** best to upgrade to the required version.\n");
40752 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40753 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40754 printf("*** config.cache before re-running configure\n");
40761 rm -f conftest
$ac_exeext
40762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40763 (eval $ac_link) 2>&5
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40768 (eval $ac_try) 2>&5
40770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40771 (exit $ac_status); }; }; then
40774 echo "$as_me: program exited with status $ac_status" >&5
40775 echo "$as_me: failed program was:" >&5
40776 sed 's/^/| /' conftest.
$ac_ext >&5
40778 ( exit $ac_status )
40781 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40783 CFLAGS
="$ac_save_CFLAGS"
40784 CXXFLAGS
="$ac_save_CXXFLAGS"
40785 LIBS
="$ac_save_LIBS"
40788 if test "x$no_sdl" = x
; then
40789 echo "$as_me:$LINENO: result: yes" >&5
40790 echo "${ECHO_T}yes" >&6
40792 EXTRALIBS_SDL
="$SDL_LIBS"
40793 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40794 cat >>confdefs.h
<<\_ACEOF
40795 #define wxUSE_LIBSDL 1
40800 echo "$as_me:$LINENO: result: no" >&5
40801 echo "${ECHO_T}no" >&6
40802 if test "$SDL_CONFIG" = "no" ; then
40803 echo "*** The sdl-config script installed by SDL could not be found"
40804 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40805 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40806 echo "*** full path to sdl-config."
40808 if test -f conf.sdltest
; then
40811 echo "*** Could not run SDL test program, checking why..."
40812 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40813 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40814 LIBS
="$LIBS $SDL_LIBS"
40815 cat >conftest.
$ac_ext <<_ACEOF
40818 cat confdefs.h
>>conftest.
$ac_ext
40819 cat >>conftest.
$ac_ext <<_ACEOF
40820 /* end confdefs.h. */
40825 int main(int argc, char *argv[])
40828 #define main K_and_R_C_main
40838 rm -f conftest.
$ac_objext conftest
$ac_exeext
40839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40840 (eval $ac_link) 2>conftest.er1
40842 grep -v '^ *+' conftest.er1
>conftest.err
40844 cat conftest.err
>&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } &&
40847 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40849 (eval $ac_try) 2>&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); }; } &&
40853 { ac_try
='test -s conftest$ac_exeext'
40854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40855 (eval $ac_try) 2>&5
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); }; }; then
40859 echo "*** The test program compiled, but did not run. This usually means"
40860 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40861 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40862 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40863 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40864 echo "*** is required on your system"
40866 echo "*** If you have an old version installed, it is best to remove it, although"
40867 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40869 echo "$as_me: failed program was:" >&5
40870 sed 's/^/| /' conftest.
$ac_ext >&5
40872 echo "*** The test program failed to compile or link. See the file config.log for the"
40873 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40874 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40875 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40877 rm -f conftest.err conftest.
$ac_objext \
40878 conftest
$ac_exeext conftest.
$ac_ext
40879 CFLAGS
="$ac_save_CFLAGS"
40880 CXXFLAGS
="$ac_save_CXXFLAGS"
40881 LIBS
="$ac_save_LIBS"
40892 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40898 cat >>confdefs.h
<<\_ACEOF
40899 #define wxUSE_SOUND 1
40902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40905 if test "$WXGTK20" = 1; then
40906 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40907 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40912 if test -z "$PKG_CONFIG"; then
40913 # Extract the first word of "pkg-config", so it can be a program name with args.
40914 set dummy pkg
-config; ac_word
=$2
40915 echo "$as_me:$LINENO: checking for $ac_word" >&5
40916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40917 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40918 echo $ECHO_N "(cached) $ECHO_C" >&6
40920 case $PKG_CONFIG in
40922 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40926 for as_dir
in $PATH
40929 test -z "$as_dir" && as_dir
=.
40930 for ac_exec_ext
in '' $ac_executable_extensions; do
40931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40932 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40939 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40943 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40945 if test -n "$PKG_CONFIG"; then
40946 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40947 echo "${ECHO_T}$PKG_CONFIG" >&6
40949 echo "$as_me:$LINENO: result: no" >&5
40950 echo "${ECHO_T}no" >&6
40955 if test "$PKG_CONFIG" = "no" ; then
40956 echo "*** The pkg-config script could not be found. Make sure it is"
40957 echo "*** in your path, or set the PKG_CONFIG environment variable"
40958 echo "*** to the full path to pkg-config."
40959 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40961 PKG_CONFIG_MIN_VERSION
=0.9.0
40962 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40963 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40964 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40966 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40967 echo "$as_me:$LINENO: result: yes" >&5
40968 echo "${ECHO_T}yes" >&6
40971 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40972 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40973 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40974 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40975 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40977 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40978 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40979 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40980 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40981 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40983 LIBGNOMEPRINTUI_CFLAGS
=""
40984 LIBGNOMEPRINTUI_LIBS
=""
40985 ## If we have a custom action on failure, don't print errors, but
40986 ## do set a variable so people can do so.
40987 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40994 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40995 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40999 if test $succeeded = yes; then
41001 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41002 cat >>confdefs.h
<<\_ACEOF
41003 #define wxUSE_LIBGNOMEPRINT 1
41009 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41010 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41011 wxUSE_LIBGNOMEPRINT
="no"
41020 if test "$WXGTK20" = 1; then
41021 if test "$wxUSE_MIMETYPE" = "yes" ; then
41022 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41027 if test -z "$PKG_CONFIG"; then
41028 # Extract the first word of "pkg-config", so it can be a program name with args.
41029 set dummy pkg
-config; ac_word
=$2
41030 echo "$as_me:$LINENO: checking for $ac_word" >&5
41031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41032 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41033 echo $ECHO_N "(cached) $ECHO_C" >&6
41035 case $PKG_CONFIG in
41037 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41041 for as_dir
in $PATH
41044 test -z "$as_dir" && as_dir
=.
41045 for ac_exec_ext
in '' $ac_executable_extensions; do
41046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41047 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41054 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41058 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41060 if test -n "$PKG_CONFIG"; then
41061 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41062 echo "${ECHO_T}$PKG_CONFIG" >&6
41064 echo "$as_me:$LINENO: result: no" >&5
41065 echo "${ECHO_T}no" >&6
41070 if test "$PKG_CONFIG" = "no" ; then
41071 echo "*** The pkg-config script could not be found. Make sure it is"
41072 echo "*** in your path, or set the PKG_CONFIG environment variable"
41073 echo "*** to the full path to pkg-config."
41074 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41076 PKG_CONFIG_MIN_VERSION
=0.9.0
41077 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41078 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41079 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41081 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41082 echo "$as_me:$LINENO: result: yes" >&5
41083 echo "${ECHO_T}yes" >&6
41086 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41087 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41088 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41089 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41090 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41092 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41093 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41094 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41095 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41096 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41100 ## If we have a custom action on failure, don't print errors, but
41101 ## do set a variable so people can do so.
41102 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41109 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41110 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41114 if test $succeeded = yes; then
41116 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41117 cat >>confdefs.h
<<\_ACEOF
41118 #define wxUSE_LIBGNOMEVFS 1
41124 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41125 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41126 wxUSE_LIBGNOMEVFS
="no"
41135 if test "$WXGTK20" = 1; then
41136 if test "$wxUSE_LIBHILDON" = "yes" ; then
41140 if test -z "$PKG_CONFIG"; then
41141 # Extract the first word of "pkg-config", so it can be a program name with args.
41142 set dummy pkg
-config; ac_word
=$2
41143 echo "$as_me:$LINENO: checking for $ac_word" >&5
41144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41145 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41146 echo $ECHO_N "(cached) $ECHO_C" >&6
41148 case $PKG_CONFIG in
41150 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41154 for as_dir
in $PATH
41157 test -z "$as_dir" && as_dir
=.
41158 for ac_exec_ext
in '' $ac_executable_extensions; do
41159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41160 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41167 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41171 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41173 if test -n "$PKG_CONFIG"; then
41174 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41175 echo "${ECHO_T}$PKG_CONFIG" >&6
41177 echo "$as_me:$LINENO: result: no" >&5
41178 echo "${ECHO_T}no" >&6
41183 if test "$PKG_CONFIG" = "no" ; then
41184 echo "*** The pkg-config script could not be found. Make sure it is"
41185 echo "*** in your path, or set the PKG_CONFIG environment variable"
41186 echo "*** to the full path to pkg-config."
41187 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41189 PKG_CONFIG_MIN_VERSION
=0.9.0
41190 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41191 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41192 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41194 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41195 echo "$as_me:$LINENO: result: yes" >&5
41196 echo "${ECHO_T}yes" >&6
41199 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41200 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41201 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41202 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41203 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41205 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41206 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41207 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41208 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41209 echo "${ECHO_T}$HILDON_LIBS" >&6
41213 ## If we have a custom action on failure, don't print errors, but
41214 ## do set a variable so people can do so.
41215 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41222 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41223 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41227 if test $succeeded = yes; then
41229 EXTRALIBS_HILDON
="$HILDON_LIBS"
41230 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41231 cat >>confdefs.h
<<\_ACEOF
41232 #define wxUSE_LIBHILDON 1
41238 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41239 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41240 wxUSE_LIBHILDON
="no"
41248 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41249 cat >>confdefs.h
<<\_ACEOF
41250 #define wxUSE_CMDLINE_PARSER 1
41255 if test "$wxUSE_STOPWATCH" = "yes"; then
41256 cat >>confdefs.h
<<\_ACEOF
41257 #define wxUSE_STOPWATCH 1
41262 if test "$wxUSE_DATETIME" = "yes"; then
41263 cat >>confdefs.h
<<\_ACEOF
41264 #define wxUSE_DATETIME 1
41269 if test "$wxUSE_FILE" = "yes"; then
41270 cat >>confdefs.h
<<\_ACEOF
41271 #define wxUSE_FILE 1
41276 if test "$wxUSE_FFILE" = "yes"; then
41277 cat >>confdefs.h
<<\_ACEOF
41278 #define wxUSE_FFILE 1
41283 if test "$wxUSE_FILESYSTEM" = "yes"; then
41284 cat >>confdefs.h
<<\_ACEOF
41285 #define wxUSE_FILESYSTEM 1
41290 if test "$wxUSE_FS_ZIP" = "yes"; then
41291 cat >>confdefs.h
<<\_ACEOF
41292 #define wxUSE_FS_ZIP 1
41297 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41298 cat >>confdefs.h
<<\_ACEOF
41299 #define wxUSE_ARCHIVE_STREAMS 1
41304 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41305 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41306 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41307 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41308 elif test "$wxUSE_ZLIB" = "no"; then
41309 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41310 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41312 cat >>confdefs.h
<<\_ACEOF
41313 #define wxUSE_ZIPSTREAM 1
41319 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41320 if test "$USE_UNIX" != 1; then
41321 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41322 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41323 wxUSE_ON_FATAL_EXCEPTION
=no
41325 cat >>confdefs.h
<<\_ACEOF
41326 #define wxUSE_ON_FATAL_EXCEPTION 1
41332 if test "$wxUSE_STACKWALKER" = "yes"; then
41333 cat >>confdefs.h
<<\_ACEOF
41334 #define wxUSE_STACKWALKER 1
41339 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41340 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41341 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41342 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41343 wxUSE_DEBUGREPORT
=no
41345 cat >>confdefs.h
<<\_ACEOF
41346 #define wxUSE_DEBUGREPORT 1
41349 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41355 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41356 cat >>confdefs.h
<<\_ACEOF
41357 #define wxUSE_SNGLINST_CHECKER 1
41362 if test "$wxUSE_BUSYINFO" = "yes"; then
41363 cat >>confdefs.h
<<\_ACEOF
41364 #define wxUSE_BUSYINFO 1
41369 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41370 cat >>confdefs.h
<<\_ACEOF
41371 #define wxUSE_STD_IOSTREAM 1
41376 if test "$wxUSE_STD_STRING" = "yes"; then
41377 cat >>confdefs.h
<<\_ACEOF
41378 #define wxUSE_STD_STRING 1
41383 if test "$wxUSE_STDPATHS" = "yes"; then
41384 cat >>confdefs.h
<<\_ACEOF
41385 #define wxUSE_STDPATHS 1
41390 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41391 cat >>confdefs.h
<<\_ACEOF
41392 #define wxUSE_TEXTBUFFER 1
41397 if test "$wxUSE_TEXTFILE" = "yes"; then
41398 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41399 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41400 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41402 cat >>confdefs.h
<<\_ACEOF
41403 #define wxUSE_TEXTFILE 1
41409 if test "$wxUSE_CONFIG" = "yes" ; then
41410 if test "$wxUSE_TEXTFILE" != "yes"; then
41411 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41412 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41414 cat >>confdefs.h
<<\_ACEOF
41415 #define wxUSE_CONFIG 1
41418 cat >>confdefs.h
<<\_ACEOF
41419 #define wxUSE_CONFIG_NATIVE 1
41422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41426 if test "$wxUSE_INTL" = "yes" ; then
41427 if test "$wxUSE_FILE" != "yes"; then
41428 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41429 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41431 cat >>confdefs.h
<<\_ACEOF
41432 #define wxUSE_INTL 1
41435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41436 GUIDIST
="$GUIDIST INTL_DIST"
41440 if test "$wxUSE_LOG" = "yes"; then
41441 cat >>confdefs.h
<<\_ACEOF
41442 #define wxUSE_LOG 1
41446 if test "$wxUSE_LOGGUI" = "yes"; then
41447 cat >>confdefs.h
<<\_ACEOF
41448 #define wxUSE_LOGGUI 1
41453 if test "$wxUSE_LOGWINDOW" = "yes"; then
41454 cat >>confdefs.h
<<\_ACEOF
41455 #define wxUSE_LOGWINDOW 1
41460 if test "$wxUSE_LOGDIALOG" = "yes"; then
41461 cat >>confdefs.h
<<\_ACEOF
41462 #define wxUSE_LOG_DIALOG 1
41467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41470 if test "$wxUSE_LONGLONG" = "yes"; then
41471 cat >>confdefs.h
<<\_ACEOF
41472 #define wxUSE_LONGLONG 1
41477 if test "$wxUSE_GEOMETRY" = "yes"; then
41478 cat >>confdefs.h
<<\_ACEOF
41479 #define wxUSE_GEOMETRY 1
41484 if test "$wxUSE_STREAMS" = "yes" ; then
41485 cat >>confdefs.h
<<\_ACEOF
41486 #define wxUSE_STREAMS 1
41492 if test "$wxUSE_DATETIME" = "yes"; then
41494 for ac_func
in strptime
41496 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41497 echo "$as_me:$LINENO: checking for $ac_func" >&5
41498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41499 if eval "test \"\${$as_ac_var+set}\" = set"; then
41500 echo $ECHO_N "(cached) $ECHO_C" >&6
41502 cat >conftest.
$ac_ext <<_ACEOF
41505 cat confdefs.h
>>conftest.
$ac_ext
41506 cat >>conftest.
$ac_ext <<_ACEOF
41507 /* end confdefs.h. */
41508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41510 #define $ac_func innocuous_$ac_func
41512 /* System header to define __stub macros and hopefully few prototypes,
41513 which can conflict with char $ac_func (); below.
41514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41515 <limits.h> exists even on freestanding compilers. */
41518 # include <limits.h>
41520 # include <assert.h>
41525 /* Override any gcc2 internal prototype to avoid an error. */
41530 /* We use char because int might match the return type of a gcc2
41531 builtin and then its argument prototype would still apply. */
41533 /* The GNU C library defines this for functions which it implements
41534 to always fail with ENOSYS. Some functions are actually named
41535 something starting with __ and the normal name is an alias. */
41536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41539 char (*f) () = $ac_func;
41548 return f != $ac_func;
41553 rm -f conftest.
$ac_objext conftest
$ac_exeext
41554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41555 (eval $ac_link) 2>conftest.er1
41557 grep -v '^ *+' conftest.er1
>conftest.err
41559 cat conftest.err
>&5
41560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41561 (exit $ac_status); } &&
41562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41564 (eval $ac_try) 2>&5
41566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41567 (exit $ac_status); }; } &&
41568 { ac_try
='test -s conftest$ac_exeext'
41569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41570 (eval $ac_try) 2>&5
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); }; }; then
41574 eval "$as_ac_var=yes"
41576 echo "$as_me: failed program was:" >&5
41577 sed 's/^/| /' conftest.
$ac_ext >&5
41579 eval "$as_ac_var=no"
41581 rm -f conftest.err conftest.
$ac_objext \
41582 conftest
$ac_exeext conftest.
$ac_ext
41584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41586 if test `eval echo '${'$as_ac_var'}'` = yes; then
41587 cat >>confdefs.h
<<_ACEOF
41588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41594 if test "$ac_cv_func_strptime" = "yes"; then
41595 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41596 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41597 if test "${wx_cv_func_strptime_decl+set}" = set; then
41598 echo $ECHO_N "(cached) $ECHO_C" >&6
41601 cat >conftest.
$ac_ext <<_ACEOF
41604 cat confdefs.h
>>conftest.
$ac_ext
41605 cat >>conftest.
$ac_ext <<_ACEOF
41606 /* end confdefs.h. */
41615 strptime("foo", "bar", &t);
41621 rm -f conftest.
$ac_objext
41622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41623 (eval $ac_compile) 2>conftest.er1
41625 grep -v '^ *+' conftest.er1
>conftest.err
41627 cat conftest.err
>&5
41628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41629 (exit $ac_status); } &&
41630 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41632 (eval $ac_try) 2>&5
41634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41635 (exit $ac_status); }; } &&
41636 { ac_try
='test -s conftest.$ac_objext'
41637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41638 (eval $ac_try) 2>&5
41640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41641 (exit $ac_status); }; }; then
41642 wx_cv_func_strptime_decl
=yes
41644 echo "$as_me: failed program was:" >&5
41645 sed 's/^/| /' conftest.
$ac_ext >&5
41647 wx_cv_func_strptime_decl
=no
41650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41654 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41655 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41657 if test "$wx_cv_func_strptime_decl" = "yes"; then
41658 cat >>confdefs.h
<<\_ACEOF
41659 #define HAVE_STRPTIME_DECL 1
41664 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41665 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41666 if test "${wx_cv_var_timezone+set}" = set; then
41667 echo $ECHO_N "(cached) $ECHO_C" >&6
41670 cat >conftest.
$ac_ext <<_ACEOF
41673 cat confdefs.h
>>conftest.
$ac_ext
41674 cat >>conftest.
$ac_ext <<_ACEOF
41675 /* end confdefs.h. */
41690 rm -f conftest.
$ac_objext
41691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41692 (eval $ac_compile) 2>conftest.er1
41694 grep -v '^ *+' conftest.er1
>conftest.err
41696 cat conftest.err
>&5
41697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698 (exit $ac_status); } &&
41699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41701 (eval $ac_try) 2>&5
41703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41704 (exit $ac_status); }; } &&
41705 { ac_try
='test -s conftest.$ac_objext'
41706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41707 (eval $ac_try) 2>&5
41709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41710 (exit $ac_status); }; }; then
41712 wx_cv_var_timezone
=timezone
41715 echo "$as_me: failed program was:" >&5
41716 sed 's/^/| /' conftest.
$ac_ext >&5
41719 cat >conftest.
$ac_ext <<_ACEOF
41722 cat confdefs.h
>>conftest.
$ac_ext
41723 cat >>conftest.
$ac_ext <<_ACEOF
41724 /* end confdefs.h. */
41739 rm -f conftest.
$ac_objext
41740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41741 (eval $ac_compile) 2>conftest.er1
41743 grep -v '^ *+' conftest.er1
>conftest.err
41745 cat conftest.err
>&5
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); } &&
41748 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41750 (eval $ac_try) 2>&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); }; } &&
41754 { ac_try
='test -s conftest.$ac_objext'
41755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41756 (eval $ac_try) 2>&5
41758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41759 (exit $ac_status); }; }; then
41761 wx_cv_var_timezone
=_timezone
41764 echo "$as_me: failed program was:" >&5
41765 sed 's/^/| /' conftest.
$ac_ext >&5
41768 cat >conftest.
$ac_ext <<_ACEOF
41771 cat confdefs.h
>>conftest.
$ac_ext
41772 cat >>conftest.
$ac_ext <<_ACEOF
41773 /* end confdefs.h. */
41788 rm -f conftest.
$ac_objext
41789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41790 (eval $ac_compile) 2>conftest.er1
41792 grep -v '^ *+' conftest.er1
>conftest.err
41794 cat conftest.err
>&5
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); } &&
41797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41799 (eval $ac_try) 2>&5
41801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41802 (exit $ac_status); }; } &&
41803 { ac_try
='test -s conftest.$ac_objext'
41804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41805 (eval $ac_try) 2>&5
41807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808 (exit $ac_status); }; }; then
41810 wx_cv_var_timezone
=__timezone
41813 echo "$as_me: failed program was:" >&5
41814 sed 's/^/| /' conftest.
$ac_ext >&5
41817 if test "$USE_DOS" = 0 ; then
41818 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41819 echo "$as_me: WARNING: no timezone variable" >&2;}
41824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41836 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41837 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41839 if test "x$wx_cv_var_timezone" != x
; then
41840 cat >>confdefs.h
<<_ACEOF
41841 #define WX_TIMEZONE $wx_cv_var_timezone
41847 for ac_func
in localtime
41849 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41850 echo "$as_me:$LINENO: checking for $ac_func" >&5
41851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41852 if eval "test \"\${$as_ac_var+set}\" = set"; then
41853 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. */
41861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41863 #define $ac_func innocuous_$ac_func
41865 /* System header to define __stub macros and hopefully few prototypes,
41866 which can conflict with char $ac_func (); below.
41867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41868 <limits.h> exists even on freestanding compilers. */
41871 # include <limits.h>
41873 # include <assert.h>
41878 /* Override any gcc2 internal prototype to avoid an error. */
41883 /* We use char because int might match the return type of a gcc2
41884 builtin and then its argument prototype would still apply. */
41886 /* The GNU C library defines this for functions which it implements
41887 to always fail with ENOSYS. Some functions are actually named
41888 something starting with __ and the normal name is an alias. */
41889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41892 char (*f) () = $ac_func;
41901 return f != $ac_func;
41906 rm -f conftest.
$ac_objext conftest
$ac_exeext
41907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41908 (eval $ac_link) 2>conftest.er1
41910 grep -v '^ *+' conftest.er1
>conftest.err
41912 cat conftest.err
>&5
41913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41914 (exit $ac_status); } &&
41915 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41917 (eval $ac_try) 2>&5
41919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41920 (exit $ac_status); }; } &&
41921 { ac_try
='test -s conftest$ac_exeext'
41922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41923 (eval $ac_try) 2>&5
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); }; }; then
41927 eval "$as_ac_var=yes"
41929 echo "$as_me: failed program was:" >&5
41930 sed 's/^/| /' conftest.
$ac_ext >&5
41932 eval "$as_ac_var=no"
41934 rm -f conftest.err conftest.
$ac_objext \
41935 conftest
$ac_exeext conftest.
$ac_ext
41937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41939 if test `eval echo '${'$as_ac_var'}'` = yes; then
41940 cat >>confdefs.h
<<_ACEOF
41941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41948 if test "$ac_cv_func_localtime" = "yes"; then
41949 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41950 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41951 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41952 echo $ECHO_N "(cached) $ECHO_C" >&6
41955 cat >conftest.
$ac_ext <<_ACEOF
41958 cat confdefs.h
>>conftest.
$ac_ext
41959 cat >>conftest.
$ac_ext <<_ACEOF
41960 /* end confdefs.h. */
41975 rm -f conftest.
$ac_objext
41976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41977 (eval $ac_compile) 2>conftest.er1
41979 grep -v '^ *+' conftest.er1
>conftest.err
41981 cat conftest.err
>&5
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); } &&
41984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41986 (eval $ac_try) 2>&5
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); }; } &&
41990 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
41997 wx_cv_struct_tm_has_gmtoff
=yes
42000 echo "$as_me: failed program was:" >&5
42001 sed 's/^/| /' conftest.
$ac_ext >&5
42003 wx_cv_struct_tm_has_gmtoff
=no
42006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42009 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42010 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42013 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42014 cat >>confdefs.h
<<\_ACEOF
42015 #define WX_GMTOFF_IN_TM 1
42022 for ac_func
in gettimeofday ftime
42024 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42025 echo "$as_me:$LINENO: checking for $ac_func" >&5
42026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42027 if eval "test \"\${$as_ac_var+set}\" = set"; then
42028 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. */
42036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42038 #define $ac_func innocuous_$ac_func
42040 /* System header to define __stub macros and hopefully few prototypes,
42041 which can conflict with char $ac_func (); below.
42042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42043 <limits.h> exists even on freestanding compilers. */
42046 # include <limits.h>
42048 # include <assert.h>
42053 /* Override any gcc2 internal prototype to avoid an error. */
42058 /* We use char because int might match the return type of a gcc2
42059 builtin and then its argument prototype would still apply. */
42061 /* The GNU C library defines this for functions which it implements
42062 to always fail with ENOSYS. Some functions are actually named
42063 something starting with __ and the normal name is an alias. */
42064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42067 char (*f) () = $ac_func;
42076 return f != $ac_func;
42081 rm -f conftest.
$ac_objext conftest
$ac_exeext
42082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42083 (eval $ac_link) 2>conftest.er1
42085 grep -v '^ *+' conftest.er1
>conftest.err
42087 cat conftest.err
>&5
42088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42089 (exit $ac_status); } &&
42090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42092 (eval $ac_try) 2>&5
42094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095 (exit $ac_status); }; } &&
42096 { ac_try
='test -s conftest$ac_exeext'
42097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42098 (eval $ac_try) 2>&5
42100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42101 (exit $ac_status); }; }; then
42102 eval "$as_ac_var=yes"
42104 echo "$as_me: failed program was:" >&5
42105 sed 's/^/| /' conftest.
$ac_ext >&5
42107 eval "$as_ac_var=no"
42109 rm -f conftest.err conftest.
$ac_objext \
42110 conftest
$ac_exeext conftest.
$ac_ext
42112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42114 if test `eval echo '${'$as_ac_var'}'` = yes; then
42115 cat >>confdefs.h
<<_ACEOF
42116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42123 if test "$ac_cv_func_gettimeofday" = "yes"; then
42124 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42125 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42126 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42127 echo $ECHO_N "(cached) $ECHO_C" >&6
42130 cat >conftest.
$ac_ext <<_ACEOF
42133 cat confdefs.h
>>conftest.
$ac_ext
42134 cat >>conftest.
$ac_ext <<_ACEOF
42135 /* end confdefs.h. */
42137 #include <sys/time.h>
42138 #include <unistd.h>
42145 gettimeofday(&tv, NULL);
42151 rm -f conftest.
$ac_objext
42152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42153 (eval $ac_compile) 2>conftest.er1
42155 grep -v '^ *+' conftest.er1
>conftest.err
42157 cat conftest.err
>&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); } &&
42160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42162 (eval $ac_try) 2>&5
42164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42165 (exit $ac_status); }; } &&
42166 { ac_try
='test -s conftest.$ac_objext'
42167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42168 (eval $ac_try) 2>&5
42170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42171 (exit $ac_status); }; }; then
42172 wx_cv_func_gettimeofday_has_2_args
=yes
42174 echo "$as_me: failed program was:" >&5
42175 sed 's/^/| /' conftest.
$ac_ext >&5
42177 cat >conftest.
$ac_ext <<_ACEOF
42180 cat confdefs.h
>>conftest.
$ac_ext
42181 cat >>conftest.
$ac_ext <<_ACEOF
42182 /* end confdefs.h. */
42184 #include <sys/time.h>
42185 #include <unistd.h>
42198 rm -f conftest.
$ac_objext
42199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42200 (eval $ac_compile) 2>conftest.er1
42202 grep -v '^ *+' conftest.er1
>conftest.err
42204 cat conftest.err
>&5
42205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42206 (exit $ac_status); } &&
42207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42209 (eval $ac_try) 2>&5
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); }; } &&
42213 { ac_try
='test -s conftest.$ac_objext'
42214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42215 (eval $ac_try) 2>&5
42217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218 (exit $ac_status); }; }; then
42219 wx_cv_func_gettimeofday_has_2_args
=no
42221 echo "$as_me: failed program was:" >&5
42222 sed 's/^/| /' conftest.
$ac_ext >&5
42225 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42226 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42227 wx_cv_func_gettimeofday_has_2_args
=unknown
42231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42237 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42238 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42240 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42241 cat >>confdefs.h
<<\_ACEOF
42242 #define WX_GETTIMEOFDAY_NO_TZ 1
42248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42252 if test "$wxUSE_SOCKETS" = "yes"; then
42253 if test "$wxUSE_MGL" = "1"; then
42254 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42255 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42260 if test "$wxUSE_SOCKETS" = "yes"; then
42261 if test "$TOOLKIT" != "MSW"; then
42262 echo "$as_me:$LINENO: checking for socket" >&5
42263 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42264 if test "${ac_cv_func_socket+set}" = set; then
42265 echo $ECHO_N "(cached) $ECHO_C" >&6
42267 cat >conftest.
$ac_ext <<_ACEOF
42270 cat confdefs.h
>>conftest.
$ac_ext
42271 cat >>conftest.
$ac_ext <<_ACEOF
42272 /* end confdefs.h. */
42273 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42275 #define socket innocuous_socket
42277 /* System header to define __stub macros and hopefully few prototypes,
42278 which can conflict with char socket (); below.
42279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42280 <limits.h> exists even on freestanding compilers. */
42283 # include <limits.h>
42285 # include <assert.h>
42290 /* Override any gcc2 internal prototype to avoid an error. */
42295 /* We use char because int might match the return type of a gcc2
42296 builtin and then its argument prototype would still apply. */
42298 /* The GNU C library defines this for functions which it implements
42299 to always fail with ENOSYS. Some functions are actually named
42300 something starting with __ and the normal name is an alias. */
42301 #if defined (__stub_socket) || defined (__stub___socket)
42304 char (*f) () = socket;
42313 return f != socket;
42318 rm -f conftest.
$ac_objext conftest
$ac_exeext
42319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42320 (eval $ac_link) 2>conftest.er1
42322 grep -v '^ *+' conftest.er1
>conftest.err
42324 cat conftest.err
>&5
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); } &&
42327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; } &&
42333 { ac_try
='test -s conftest$ac_exeext'
42334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42335 (eval $ac_try) 2>&5
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; }; then
42339 ac_cv_func_socket
=yes
42341 echo "$as_me: failed program was:" >&5
42342 sed 's/^/| /' conftest.
$ac_ext >&5
42344 ac_cv_func_socket
=no
42346 rm -f conftest.err conftest.
$ac_objext \
42347 conftest
$ac_exeext conftest.
$ac_ext
42349 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42350 echo "${ECHO_T}$ac_cv_func_socket" >&6
42351 if test $ac_cv_func_socket = yes; then
42355 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42356 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42357 if test "${ac_cv_lib_socket_socket+set}" = set; then
42358 echo $ECHO_N "(cached) $ECHO_C" >&6
42360 ac_check_lib_save_LIBS
=$LIBS
42361 LIBS
="-lsocket $LIBS"
42362 cat >conftest.
$ac_ext <<_ACEOF
42365 cat confdefs.h
>>conftest.
$ac_ext
42366 cat >>conftest.
$ac_ext <<_ACEOF
42367 /* end confdefs.h. */
42369 /* Override any gcc2 internal prototype to avoid an error. */
42373 /* We use char because int might match the return type of a gcc2
42374 builtin and then its argument prototype would still apply. */
42384 rm -f conftest.
$ac_objext conftest
$ac_exeext
42385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42386 (eval $ac_link) 2>conftest.er1
42388 grep -v '^ *+' conftest.er1
>conftest.err
42390 cat conftest.err
>&5
42391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42392 (exit $ac_status); } &&
42393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42395 (eval $ac_try) 2>&5
42397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42398 (exit $ac_status); }; } &&
42399 { ac_try
='test -s conftest$ac_exeext'
42400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42401 (eval $ac_try) 2>&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); }; }; then
42405 ac_cv_lib_socket_socket
=yes
42407 echo "$as_me: failed program was:" >&5
42408 sed 's/^/| /' conftest.
$ac_ext >&5
42410 ac_cv_lib_socket_socket
=no
42412 rm -f conftest.err conftest.
$ac_objext \
42413 conftest
$ac_exeext conftest.
$ac_ext
42414 LIBS
=$ac_check_lib_save_LIBS
42416 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42417 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42418 if test $ac_cv_lib_socket_socket = yes; then
42419 if test "$INET_LINK" != " -lsocket"; then
42420 INET_LINK
="$INET_LINK -lsocket"
42424 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42425 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42438 if test "$wxUSE_SOCKETS" = "yes" ; then
42439 if test "$TOOLKIT" != "MSW"; then
42440 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42441 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42442 if test "${wx_cv_type_getsockname3+set}" = set; then
42443 echo $ECHO_N "(cached) $ECHO_C" >&6
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
=socklen_t
42490 echo "$as_me: failed program was:" >&5
42491 sed 's/^/| /' conftest.
$ac_ext >&5
42494 CXXFLAGS_OLD
="$CXXFLAGS"
42495 if test "$GCC" = yes ; then
42496 CXXFLAGS
="-Werror $CXXFLAGS"
42499 cat >conftest.
$ac_ext <<_ACEOF
42502 cat confdefs.h
>>conftest.
$ac_ext
42503 cat >>conftest.
$ac_ext <<_ACEOF
42504 /* end confdefs.h. */
42506 #include <sys/types.h>
42507 #include <sys/socket.h>
42514 getsockname(0, 0, &len);
42520 rm -f conftest.
$ac_objext
42521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42522 (eval $ac_compile) 2>conftest.er1
42524 grep -v '^ *+' conftest.er1
>conftest.err
42526 cat conftest.err
>&5
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); } &&
42529 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; } &&
42535 { ac_try
='test -s conftest.$ac_objext'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; }; then
42541 wx_cv_type_getsockname3
=size_t
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.
$ac_ext >&5
42546 cat >conftest.
$ac_ext <<_ACEOF
42549 cat confdefs.h
>>conftest.
$ac_ext
42550 cat >>conftest.
$ac_ext <<_ACEOF
42551 /* end confdefs.h. */
42553 #include <sys/types.h>
42554 #include <sys/socket.h>
42561 getsockname(0, 0, &len);
42567 rm -f conftest.
$ac_objext
42568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42569 (eval $ac_compile) 2>conftest.er1
42571 grep -v '^ *+' conftest.er1
>conftest.err
42573 cat conftest.err
>&5
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); } &&
42576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42578 (eval $ac_try) 2>&5
42580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42581 (exit $ac_status); }; } &&
42582 { ac_try
='test -s conftest.$ac_objext'
42583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42584 (eval $ac_try) 2>&5
42586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587 (exit $ac_status); }; }; then
42588 wx_cv_type_getsockname3
=int
42590 echo "$as_me: failed program was:" >&5
42591 sed 's/^/| /' conftest.
$ac_ext >&5
42593 wx_cv_type_getsockname3
=unknown
42596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42601 CXXFLAGS
="$CXXFLAGS_OLD"
42605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42608 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42609 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42611 if test "$wx_cv_type_getsockname3" = "unknown"; then
42613 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42614 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42616 cat >>confdefs.h
<<_ACEOF
42617 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42621 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42622 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42623 if test "${wx_cv_type_getsockopt5+set}" = set; then
42624 echo $ECHO_N "(cached) $ECHO_C" >&6
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
=socklen_t
42671 echo "$as_me: failed program was:" >&5
42672 sed 's/^/| /' conftest.
$ac_ext >&5
42675 CXXFLAGS_OLD
="$CXXFLAGS"
42676 if test "$GCC" = yes ; then
42677 CXXFLAGS
="-Werror $CXXFLAGS"
42680 cat >conftest.
$ac_ext <<_ACEOF
42683 cat confdefs.h
>>conftest.
$ac_ext
42684 cat >>conftest.
$ac_ext <<_ACEOF
42685 /* end confdefs.h. */
42687 #include <sys/types.h>
42688 #include <sys/socket.h>
42695 getsockopt(0, 0, 0, 0, &len);
42701 rm -f conftest.
$ac_objext
42702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42703 (eval $ac_compile) 2>conftest.er1
42705 grep -v '^ *+' conftest.er1
>conftest.err
42707 cat conftest.err
>&5
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); } &&
42710 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42712 (eval $ac_try) 2>&5
42714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42715 (exit $ac_status); }; } &&
42716 { ac_try
='test -s conftest.$ac_objext'
42717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42718 (eval $ac_try) 2>&5
42720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42721 (exit $ac_status); }; }; then
42722 wx_cv_type_getsockopt5
=size_t
42724 echo "$as_me: failed program was:" >&5
42725 sed 's/^/| /' conftest.
$ac_ext >&5
42727 cat >conftest.
$ac_ext <<_ACEOF
42730 cat confdefs.h
>>conftest.
$ac_ext
42731 cat >>conftest.
$ac_ext <<_ACEOF
42732 /* end confdefs.h. */
42734 #include <sys/types.h>
42735 #include <sys/socket.h>
42742 getsockopt(0, 0, 0, 0, &len);
42748 rm -f conftest.
$ac_objext
42749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42750 (eval $ac_compile) 2>conftest.er1
42752 grep -v '^ *+' conftest.er1
>conftest.err
42754 cat conftest.err
>&5
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); } &&
42757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42759 (eval $ac_try) 2>&5
42761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762 (exit $ac_status); }; } &&
42763 { ac_try
='test -s conftest.$ac_objext'
42764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42765 (eval $ac_try) 2>&5
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); }; }; then
42769 wx_cv_type_getsockopt5
=int
42771 echo "$as_me: failed program was:" >&5
42772 sed 's/^/| /' conftest.
$ac_ext >&5
42774 wx_cv_type_getsockopt5
=unknown
42777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42782 CXXFLAGS
="$CXXFLAGS_OLD"
42786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42789 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42790 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42792 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42794 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42795 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42797 cat >>confdefs.h
<<_ACEOF
42798 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42805 if test "$wxUSE_SOCKETS" = "yes" ; then
42806 cat >>confdefs.h
<<\_ACEOF
42807 #define wxUSE_SOCKETS 1
42810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42813 if test "$wxUSE_PROTOCOL" = "yes"; then
42814 if test "$wxUSE_SOCKETS" != "yes"; then
42815 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42816 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42821 if test "$wxUSE_PROTOCOL" = "yes"; then
42822 cat >>confdefs.h
<<\_ACEOF
42823 #define wxUSE_PROTOCOL 1
42827 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42828 cat >>confdefs.h
<<\_ACEOF
42829 #define wxUSE_PROTOCOL_HTTP 1
42833 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42834 cat >>confdefs.h
<<\_ACEOF
42835 #define wxUSE_PROTOCOL_FTP 1
42839 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42840 cat >>confdefs.h
<<\_ACEOF
42841 #define wxUSE_PROTOCOL_FILE 1
42846 if test "$wxUSE_FS_INET" = "yes"; then
42847 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42848 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42853 if test "$wxUSE_URL" = "yes"; then
42854 if test "$wxUSE_PROTOCOL" != "yes"; then
42855 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42856 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42859 if test "$wxUSE_URL" = "yes"; then
42860 cat >>confdefs.h
<<\_ACEOF
42861 #define wxUSE_URL 1
42867 if test "$wxUSE_FS_INET" = "yes"; then
42868 cat >>confdefs.h
<<\_ACEOF
42869 #define wxUSE_FS_INET 1
42875 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42878 if test "$TOOLKIT" = "MSW"; then
42881 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42882 if test "$USE_DARWIN" = 1; then
42883 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42884 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42885 cat >conftest.
$ac_ext <<_ACEOF
42888 cat confdefs.h
>>conftest.
$ac_ext
42889 cat >>conftest.
$ac_ext <<_ACEOF
42890 /* end confdefs.h. */
42891 #include <IOKit/hid/IOHIDLib.h>
42895 IOHIDQueueInterface *qi = NULL;
42896 IOHIDCallbackFunction cb = NULL;
42897 qi->setEventCallout(NULL, cb, NULL, NULL);
42902 rm -f conftest.
$ac_objext
42903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42904 (eval $ac_compile) 2>conftest.er1
42906 grep -v '^ *+' conftest.er1
>conftest.err
42908 cat conftest.err
>&5
42909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42910 (exit $ac_status); } &&
42911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42913 (eval $ac_try) 2>&5
42915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42916 (exit $ac_status); }; } &&
42917 { ac_try
='test -s conftest.$ac_objext'
42918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42919 (eval $ac_try) 2>&5
42921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42922 (exit $ac_status); }; }; then
42926 echo "$as_me: failed program was:" >&5
42927 sed 's/^/| /' conftest.
$ac_ext >&5
42930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42931 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42932 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42937 for ac_header
in linux
/joystick.h
42939 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42941 echo "$as_me:$LINENO: checking for $ac_header" >&5
42942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42944 echo $ECHO_N "(cached) $ECHO_C" >&6
42946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42949 # Is the header compilable?
42950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42952 cat >conftest.
$ac_ext <<_ACEOF
42955 cat confdefs.h
>>conftest.
$ac_ext
42956 cat >>conftest.
$ac_ext <<_ACEOF
42957 /* end confdefs.h. */
42958 $ac_includes_default
42959 #include <$ac_header>
42961 rm -f conftest.
$ac_objext
42962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42963 (eval $ac_compile) 2>conftest.er1
42965 grep -v '^ *+' conftest.er1
>conftest.err
42967 cat conftest.err
>&5
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); } &&
42970 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42972 (eval $ac_try) 2>&5
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); }; } &&
42976 { ac_try
='test -s conftest.$ac_objext'
42977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42978 (eval $ac_try) 2>&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); }; }; then
42982 ac_header_compiler
=yes
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.
$ac_ext >&5
42987 ac_header_compiler
=no
42989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42991 echo "${ECHO_T}$ac_header_compiler" >&6
42993 # Is the header present?
42994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42996 cat >conftest.
$ac_ext <<_ACEOF
42999 cat confdefs.h
>>conftest.
$ac_ext
43000 cat >>conftest.
$ac_ext <<_ACEOF
43001 /* end confdefs.h. */
43002 #include <$ac_header>
43004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43007 grep -v '^ *+' conftest.er1
>conftest.err
43009 cat conftest.err
>&5
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); } >/dev
/null
; then
43012 if test -s conftest.err
; then
43013 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43014 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43021 if test -z "$ac_cpp_err"; then
43022 ac_header_preproc
=yes
43024 echo "$as_me: failed program was:" >&5
43025 sed 's/^/| /' conftest.
$ac_ext >&5
43027 ac_header_preproc
=no
43029 rm -f conftest.err conftest.
$ac_ext
43030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43031 echo "${ECHO_T}$ac_header_preproc" >&6
43033 # So? What about this header?
43034 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43040 ac_header_preproc
=yes
43043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43057 ## ----------------------------------------- ##
43058 ## Report this to wx-dev@lists.wxwidgets.org ##
43059 ## ----------------------------------------- ##
43062 sed "s/^/$as_me: WARNING: /" >&2
43065 echo "$as_me:$LINENO: checking for $ac_header" >&5
43066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43068 echo $ECHO_N "(cached) $ECHO_C" >&6
43070 eval "$as_ac_Header=\$ac_header_preproc"
43072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43077 cat >>confdefs.h
<<_ACEOF
43078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43087 if test "$wxUSE_JOYSTICK" = "yes"; then
43088 cat >>confdefs.h
<<\_ACEOF
43089 #define wxUSE_JOYSTICK 1
43092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43094 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43095 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43101 if test "$wxUSE_FONTMAP" = "yes" ; then
43102 cat >>confdefs.h
<<\_ACEOF
43103 #define wxUSE_FONTMAP 1
43108 if test "$wxUSE_UNICODE" = "yes" ; then
43109 cat >>confdefs.h
<<\_ACEOF
43110 #define wxUSE_UNICODE 1
43114 if test "$USE_WIN32" != 1; then
43115 wxUSE_UNICODE_MSLU
=no
43118 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43119 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43120 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43121 if test "${ac_cv_lib_unicows_main+set}" = set; then
43122 echo $ECHO_N "(cached) $ECHO_C" >&6
43124 ac_check_lib_save_LIBS
=$LIBS
43125 LIBS
="-lunicows $LIBS"
43126 cat >conftest.
$ac_ext <<_ACEOF
43129 cat confdefs.h
>>conftest.
$ac_ext
43130 cat >>conftest.
$ac_ext <<_ACEOF
43131 /* end confdefs.h. */
43142 rm -f conftest.
$ac_objext conftest
$ac_exeext
43143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43144 (eval $ac_link) 2>conftest.er1
43146 grep -v '^ *+' conftest.er1
>conftest.err
43148 cat conftest.err
>&5
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); } &&
43151 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43153 (eval $ac_try) 2>&5
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); }; } &&
43157 { ac_try
='test -s conftest$ac_exeext'
43158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43159 (eval $ac_try) 2>&5
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); }; }; then
43163 ac_cv_lib_unicows_main
=yes
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.
$ac_ext >&5
43168 ac_cv_lib_unicows_main
=no
43170 rm -f conftest.err conftest.
$ac_objext \
43171 conftest
$ac_exeext conftest.
$ac_ext
43172 LIBS
=$ac_check_lib_save_LIBS
43174 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43175 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43176 if test $ac_cv_lib_unicows_main = yes; then
43178 cat >>confdefs.h
<<\_ACEOF
43179 #define wxUSE_UNICODE_MSLU 1
43185 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43186 Applications will only run on Windows NT/2000/XP!" >&5
43187 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43188 Applications will only run on Windows NT/2000/XP!" >&2;}
43189 wxUSE_UNICODE_MSLU
=no
43196 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43197 cat >>confdefs.h
<<\_ACEOF
43198 #define wxUSE_EXPERIMENTAL_PRINTF 1
43204 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43205 cat >>confdefs.h
<<\_ACEOF
43206 #define wxUSE_POSTSCRIPT 1
43211 cat >>confdefs.h
<<\_ACEOF
43212 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43216 cat >>confdefs.h
<<\_ACEOF
43217 #define wxUSE_NORMALIZED_PS_FONTS 1
43222 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43223 cat >>confdefs.h
<<\_ACEOF
43224 #define wxUSE_CONSTRAINTS 1
43227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43230 if test "$wxUSE_MDI" = "yes"; then
43231 cat >>confdefs.h
<<\_ACEOF
43232 #define wxUSE_MDI 1
43236 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43237 cat >>confdefs.h
<<\_ACEOF
43238 #define wxUSE_MDI_ARCHITECTURE 1
43241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43245 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43246 cat >>confdefs.h
<<\_ACEOF
43247 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43251 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43256 if test "$wxUSE_HELP" = "yes"; then
43257 cat >>confdefs.h
<<\_ACEOF
43258 #define wxUSE_HELP 1
43261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43263 if test "$wxUSE_MSW" = 1; then
43264 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43265 cat >>confdefs.h
<<\_ACEOF
43266 #define wxUSE_MS_HTML_HELP 1
43272 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43273 if test "$wxUSE_HTML" = "yes"; then
43274 cat >>confdefs.h
<<\_ACEOF
43275 #define wxUSE_WXHTML_HELP 1
43279 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43280 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43281 wxUSE_WXHTML_HELP
=no
43286 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43287 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43288 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43289 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43291 cat >>confdefs.h
<<\_ACEOF
43292 #define wxUSE_PRINTING_ARCHITECTURE 1
43296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43299 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43300 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43301 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43302 { (exit 1); exit 1; }; }
43306 if test "$wxUSE_METAFILE" = "yes"; then
43307 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43308 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43309 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43315 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43316 -o "$wxUSE_CLIPBOARD" = "yes" \
43317 -o "$wxUSE_OLE" = "yes" \
43318 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43320 for ac_header
in ole2.h
43322 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43324 echo "$as_me:$LINENO: checking for $ac_header" >&5
43325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43327 echo $ECHO_N "(cached) $ECHO_C" >&6
43329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43332 # Is the header compilable?
43333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43335 cat >conftest.
$ac_ext <<_ACEOF
43338 cat confdefs.h
>>conftest.
$ac_ext
43339 cat >>conftest.
$ac_ext <<_ACEOF
43340 /* end confdefs.h. */
43341 $ac_includes_default
43342 #include <$ac_header>
43344 rm -f conftest.
$ac_objext
43345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43346 (eval $ac_compile) 2>conftest.er1
43348 grep -v '^ *+' conftest.er1
>conftest.err
43350 cat conftest.err
>&5
43351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352 (exit $ac_status); } &&
43353 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43355 (eval $ac_try) 2>&5
43357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43358 (exit $ac_status); }; } &&
43359 { ac_try
='test -s conftest.$ac_objext'
43360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43361 (eval $ac_try) 2>&5
43363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43364 (exit $ac_status); }; }; then
43365 ac_header_compiler
=yes
43367 echo "$as_me: failed program was:" >&5
43368 sed 's/^/| /' conftest.
$ac_ext >&5
43370 ac_header_compiler
=no
43372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43373 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43374 echo "${ECHO_T}$ac_header_compiler" >&6
43376 # Is the header present?
43377 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43378 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43379 cat >conftest.
$ac_ext <<_ACEOF
43382 cat confdefs.h
>>conftest.
$ac_ext
43383 cat >>conftest.
$ac_ext <<_ACEOF
43384 /* end confdefs.h. */
43385 #include <$ac_header>
43387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43390 grep -v '^ *+' conftest.er1
>conftest.err
43392 cat conftest.err
>&5
43393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43394 (exit $ac_status); } >/dev
/null
; then
43395 if test -s conftest.err
; then
43396 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43397 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43404 if test -z "$ac_cpp_err"; then
43405 ac_header_preproc
=yes
43407 echo "$as_me: failed program was:" >&5
43408 sed 's/^/| /' conftest.
$ac_ext >&5
43410 ac_header_preproc
=no
43412 rm -f conftest.err conftest.
$ac_ext
43413 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43414 echo "${ECHO_T}$ac_header_preproc" >&6
43416 # So? What about this header?
43417 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43419 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43420 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43422 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43423 ac_header_preproc
=yes
43426 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43427 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43428 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43429 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43430 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43431 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43432 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43433 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43436 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43437 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43440 ## ----------------------------------------- ##
43441 ## Report this to wx-dev@lists.wxwidgets.org ##
43442 ## ----------------------------------------- ##
43445 sed "s/^/$as_me: WARNING: /" >&2
43448 echo "$as_me:$LINENO: checking for $ac_header" >&5
43449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43451 echo $ECHO_N "(cached) $ECHO_C" >&6
43453 eval "$as_ac_Header=\$ac_header_preproc"
43455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43460 cat >>confdefs.h
<<_ACEOF
43461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43469 if test "$ac_cv_header_ole2_h" = "yes" ; then
43470 if test "$GCC" = yes ; then
43471 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43472 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43473 cat >conftest.
$ac_ext <<_ACEOF
43476 cat confdefs.h
>>conftest.
$ac_ext
43477 cat >>conftest.
$ac_ext <<_ACEOF
43478 /* end confdefs.h. */
43479 #include <windows.h>
43489 rm -f conftest.
$ac_objext
43490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43491 (eval $ac_compile) 2>conftest.er1
43493 grep -v '^ *+' conftest.er1
>conftest.err
43495 cat conftest.err
>&5
43496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43497 (exit $ac_status); } &&
43498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43500 (eval $ac_try) 2>&5
43502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503 (exit $ac_status); }; } &&
43504 { ac_try
='test -s conftest.$ac_objext'
43505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43506 (eval $ac_try) 2>&5
43508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509 (exit $ac_status); }; }; then
43510 echo "$as_me:$LINENO: result: no" >&5
43511 echo "${ECHO_T}no" >&6
43513 echo "$as_me: failed program was:" >&5
43514 sed 's/^/| /' conftest.
$ac_ext >&5
43516 echo "$as_me:$LINENO: result: yes" >&5
43517 echo "${ECHO_T}yes" >&6
43518 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43521 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43522 if test "$wxUSE_OLE" = "yes" ; then
43523 cat >>confdefs.h
<<\_ACEOF
43524 #define wxUSE_OLE 1
43527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43531 if test "$wxUSE_DATAOBJ" = "yes" ; then
43532 cat >>confdefs.h
<<\_ACEOF
43533 #define wxUSE_DATAOBJ 1
43538 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43539 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43542 wxUSE_DRAG_AND_DROP
=no
43547 if test "$wxUSE_METAFILE" = "yes"; then
43548 cat >>confdefs.h
<<\_ACEOF
43549 #define wxUSE_METAFILE 1
43553 cat >>confdefs.h
<<\_ACEOF
43554 #define wxUSE_ENH_METAFILE 1
43560 if test "$wxUSE_IPC" = "yes"; then
43561 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43562 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43563 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43567 if test "$wxUSE_IPC" = "yes"; then
43568 cat >>confdefs.h
<<\_ACEOF
43569 #define wxUSE_IPC 1
43572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43576 if test "$wxUSE_DATAOBJ" = "yes"; then
43577 if test "$wxUSE_MGL" = 1; then
43578 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43579 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43582 cat >>confdefs.h
<<\_ACEOF
43583 #define wxUSE_DATAOBJ 1
43588 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43589 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43591 wxUSE_DRAG_AND_DROP
=no
43594 if test "$wxUSE_CLIPBOARD" = "yes"; then
43595 if test "$wxUSE_MGL" = 1; then
43596 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43597 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43601 if test "$wxUSE_CLIPBOARD" = "yes"; then
43602 cat >>confdefs.h
<<\_ACEOF
43603 #define wxUSE_CLIPBOARD 1
43609 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43610 if test "$wxUSE_GTK" = 1; then
43611 if test "$WXGTK12" != 1; then
43612 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43613 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43614 wxUSE_DRAG_AND_DROP
=no
43618 if test "$wxUSE_MOTIF" = 1; then
43619 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43620 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43621 wxUSE_DRAG_AND_DROP
=no
43624 if test "$wxUSE_X11" = 1; then
43625 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43626 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43627 wxUSE_DRAG_AND_DROP
=no
43630 if test "$wxUSE_MGL" = 1; then
43631 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43632 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43633 wxUSE_DRAG_AND_DROP
=no
43636 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43637 cat >>confdefs.h
<<\_ACEOF
43638 #define wxUSE_DRAG_AND_DROP 1
43645 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43649 if test "$wxUSE_SPLINES" = "yes" ; then
43650 cat >>confdefs.h
<<\_ACEOF
43651 #define wxUSE_SPLINES 1
43656 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43657 cat >>confdefs.h
<<\_ACEOF
43658 #define wxUSE_MOUSEWHEEL 1
43665 if test "$wxUSE_CONTROLS" = "yes"; then
43669 if test "$wxUSE_ACCEL" = "yes"; then
43670 cat >>confdefs.h
<<\_ACEOF
43671 #define wxUSE_ACCEL 1
43677 if test "$wxUSE_BUTTON" = "yes"; then
43678 cat >>confdefs.h
<<\_ACEOF
43679 #define wxUSE_BUTTON 1
43685 if test "$wxUSE_BMPBUTTON" = "yes"; then
43686 cat >>confdefs.h
<<\_ACEOF
43687 #define wxUSE_BMPBUTTON 1
43693 if test "$wxUSE_CALCTRL" = "yes"; then
43694 cat >>confdefs.h
<<\_ACEOF
43695 #define wxUSE_CALENDARCTRL 1
43699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43702 if test "$wxUSE_CARET" = "yes"; then
43703 cat >>confdefs.h
<<\_ACEOF
43704 #define wxUSE_CARET 1
43708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43711 if test "$wxUSE_COMBOBOX" = "yes"; then
43712 cat >>confdefs.h
<<\_ACEOF
43713 #define wxUSE_COMBOBOX 1
43719 if test "$wxUSE_COMBOCONTROL" = "yes"; then
43720 cat >>confdefs.h
<<\_ACEOF
43721 #define wxUSE_COMBOCONTROL 1
43727 if test "$wxUSE_CHOICE" = "yes"; then
43728 cat >>confdefs.h
<<\_ACEOF
43729 #define wxUSE_CHOICE 1
43735 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43736 cat >>confdefs.h
<<\_ACEOF
43737 #define wxUSE_CHOICEBOOK 1
43743 if test "$wxUSE_CHECKBOX" = "yes"; then
43744 cat >>confdefs.h
<<\_ACEOF
43745 #define wxUSE_CHECKBOX 1
43751 if test "$wxUSE_CHECKLST" = "yes"; then
43752 cat >>confdefs.h
<<\_ACEOF
43753 #define wxUSE_CHECKLISTBOX 1
43757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43760 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43761 cat >>confdefs.h
<<\_ACEOF
43762 #define wxUSE_DATEPICKCTRL 1
43768 if test "$wxUSE_DISPLAY" = "yes"; then
43769 cat >>confdefs.h
<<\_ACEOF
43770 #define wxUSE_DISPLAY 1
43773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43776 if test "$wxUSE_GAUGE" = "yes"; then
43777 cat >>confdefs.h
<<\_ACEOF
43778 #define wxUSE_GAUGE 1
43784 if test "$wxUSE_GRID" = "yes"; then
43785 cat >>confdefs.h
<<\_ACEOF
43786 #define wxUSE_GRID 1
43790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43793 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43794 cat >>confdefs.h
<<\_ACEOF
43795 #define wxUSE_DATAVIEWCTRL 1
43799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43802 if test "$wxUSE_IMAGLIST" = "yes"; then
43803 cat >>confdefs.h
<<\_ACEOF
43804 #define wxUSE_IMAGLIST 1
43809 if test "$wxUSE_LISTBOOK" = "yes"; then
43810 cat >>confdefs.h
<<\_ACEOF
43811 #define wxUSE_LISTBOOK 1
43817 if test "$wxUSE_LISTBOX" = "yes"; then
43818 cat >>confdefs.h
<<\_ACEOF
43819 #define wxUSE_LISTBOX 1
43823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43826 if test "$wxUSE_LISTCTRL" = "yes"; then
43827 if test "$wxUSE_IMAGLIST" = "yes"; then
43828 cat >>confdefs.h
<<\_ACEOF
43829 #define wxUSE_LISTCTRL 1
43833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43835 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43836 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43840 if test "$wxUSE_NOTEBOOK" = "yes"; then
43841 cat >>confdefs.h
<<\_ACEOF
43842 #define wxUSE_NOTEBOOK 1
43846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43849 if test "$wxUSE_OWNERDRAWNCOMBOBOX" = "yes"; then
43850 cat >>confdefs.h
<<\_ACEOF
43851 #define wxUSE_OWNERDRAWNCOMBOBOX 1
43855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
43859 if test "$wxUSE_RADIOBOX" = "yes"; then
43860 cat >>confdefs.h
<<\_ACEOF
43861 #define wxUSE_RADIOBOX 1
43867 if test "$wxUSE_RADIOBTN" = "yes"; then
43868 cat >>confdefs.h
<<\_ACEOF
43869 #define wxUSE_RADIOBTN 1
43875 if test "$wxUSE_SASH" = "yes"; then
43876 cat >>confdefs.h
<<\_ACEOF
43877 #define wxUSE_SASH 1
43880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43883 if test "$wxUSE_SCROLLBAR" = "yes"; then
43884 cat >>confdefs.h
<<\_ACEOF
43885 #define wxUSE_SCROLLBAR 1
43889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43892 if test "$wxUSE_SLIDER" = "yes"; then
43893 cat >>confdefs.h
<<\_ACEOF
43894 #define wxUSE_SLIDER 1
43900 if test "$wxUSE_SPINBTN" = "yes"; then
43901 cat >>confdefs.h
<<\_ACEOF
43902 #define wxUSE_SPINBTN 1
43908 if test "$wxUSE_SPINCTRL" = "yes"; then
43909 cat >>confdefs.h
<<\_ACEOF
43910 #define wxUSE_SPINCTRL 1
43916 if test "$wxUSE_SPLITTER" = "yes"; then
43917 cat >>confdefs.h
<<\_ACEOF
43918 #define wxUSE_SPLITTER 1
43921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43924 if test "$wxUSE_STATBMP" = "yes"; then
43925 cat >>confdefs.h
<<\_ACEOF
43926 #define wxUSE_STATBMP 1
43932 if test "$wxUSE_STATBOX" = "yes"; then
43933 cat >>confdefs.h
<<\_ACEOF
43934 #define wxUSE_STATBOX 1
43940 if test "$wxUSE_STATTEXT" = "yes"; then
43941 cat >>confdefs.h
<<\_ACEOF
43942 #define wxUSE_STATTEXT 1
43948 if test "$wxUSE_STATLINE" = "yes"; then
43949 cat >>confdefs.h
<<\_ACEOF
43950 #define wxUSE_STATLINE 1
43956 if test "$wxUSE_STATUSBAR" = "yes"; then
43957 cat >>confdefs.h
<<\_ACEOF
43958 #define wxUSE_NATIVE_STATUSBAR 1
43961 cat >>confdefs.h
<<\_ACEOF
43962 #define wxUSE_STATUSBAR 1
43967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43970 if test "$wxUSE_TAB_DIALOG" = "yes"; then
43971 cat >>confdefs.h
<<\_ACEOF
43972 #define wxUSE_TAB_DIALOG 1
43977 if test "$wxUSE_TEXTCTRL" = "yes"; then
43978 cat >>confdefs.h
<<\_ACEOF
43979 #define wxUSE_TEXTCTRL 1
43983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43986 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43987 if test "$wxUSE_COCOA" = 1 ; then
43988 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43989 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43992 if test "$wxUSE_UNIVERSAL" = "yes"; then
43993 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43994 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43998 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43999 cat >>confdefs.h
<<\_ACEOF
44000 #define wxUSE_TOGGLEBTN 1
44007 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44008 cat >>confdefs.h
<<\_ACEOF
44009 #define wxUSE_TOOLBAR_SIMPLE 1
44012 wxUSE_TOOLBAR
="yes"
44016 if test "$wxUSE_TOOLBAR" = "yes"; then
44017 cat >>confdefs.h
<<\_ACEOF
44018 #define wxUSE_TOOLBAR 1
44023 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44024 wxUSE_TOOLBAR_NATIVE
="yes"
44027 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44028 cat >>confdefs.h
<<\_ACEOF
44029 #define wxUSE_TOOLBAR_NATIVE 1
44035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44038 if test "$wxUSE_TOOLTIPS" = "yes"; then
44039 if test "$wxUSE_MOTIF" = 1; then
44040 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44041 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44043 if test "$wxUSE_UNIVERSAL" = "yes"; then
44044 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44045 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44047 cat >>confdefs.h
<<\_ACEOF
44048 #define wxUSE_TOOLTIPS 1
44055 if test "$wxUSE_TREEBOOK" = "yes"; then
44056 cat >>confdefs.h
<<\_ACEOF
44057 #define wxUSE_TREEBOOK 1
44063 if test "$wxUSE_TOOLBOOK" = "yes"; then
44064 cat >>confdefs.h
<<\_ACEOF
44065 #define wxUSE_TOOLBOOK 1
44071 if test "$wxUSE_TREECTRL" = "yes"; then
44072 if test "$wxUSE_IMAGLIST" = "yes"; then
44073 cat >>confdefs.h
<<\_ACEOF
44074 #define wxUSE_TREECTRL 1
44078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44080 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44081 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44085 if test "$wxUSE_POPUPWIN" = "yes"; then
44086 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44087 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44088 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44090 if test "$wxUSE_PM" = 1; then
44091 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44092 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_POPUPWIN 1
44098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44105 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44106 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44107 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44108 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44110 cat >>confdefs.h
<<\_ACEOF
44111 #define wxUSE_DIALUP_MANAGER 1
44114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44118 if test "$wxUSE_TIPWINDOW" = "yes"; then
44119 if test "$wxUSE_PM" = 1; then
44120 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44121 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44123 cat >>confdefs.h
<<\_ACEOF
44124 #define wxUSE_TIPWINDOW 1
44130 if test "$USES_CONTROLS" = 1; then
44131 cat >>confdefs.h
<<\_ACEOF
44132 #define wxUSE_CONTROLS 1
44138 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44139 cat >>confdefs.h
<<\_ACEOF
44140 #define wxUSE_ACCESSIBILITY 1
44143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44146 if test "$wxUSE_DC_CACHEING" = "yes"; then
44147 cat >>confdefs.h
<<\_ACEOF
44148 #define wxUSE_DC_CACHEING 1
44153 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44154 cat >>confdefs.h
<<\_ACEOF
44155 #define wxUSE_DRAGIMAGE 1
44158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44161 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44162 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44163 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44164 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44166 cat >>confdefs.h
<<\_ACEOF
44167 #define wxUSE_EXCEPTIONS 1
44170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44175 if test "$wxUSE_HTML" = "yes"; then
44176 cat >>confdefs.h
<<\_ACEOF
44177 #define wxUSE_HTML 1
44181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44182 if test "$wxUSE_MAC" = 1; then
44183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44186 if test "$wxUSE_WEBKIT" = "yes"; then
44187 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44188 old_CPPFLAGS
="$CPPFLAGS"
44189 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44190 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44191 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44192 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44193 echo $ECHO_N "(cached) $ECHO_C" >&6
44195 cat >conftest.
$ac_ext <<_ACEOF
44198 cat confdefs.h
>>conftest.
$ac_ext
44199 cat >>conftest.
$ac_ext <<_ACEOF
44200 /* end confdefs.h. */
44201 #include <Carbon/Carbon.h>
44203 #include <WebKit/HIWebView.h>
44205 rm -f conftest.
$ac_objext
44206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44207 (eval $ac_compile) 2>conftest.er1
44209 grep -v '^ *+' conftest.er1
>conftest.err
44211 cat conftest.err
>&5
44212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213 (exit $ac_status); } &&
44214 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44216 (eval $ac_try) 2>&5
44218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44219 (exit $ac_status); }; } &&
44220 { ac_try
='test -s conftest.$ac_objext'
44221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44222 (eval $ac_try) 2>&5
44224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44225 (exit $ac_status); }; }; then
44226 ac_cv_header_WebKit_HIWebView_h
=yes
44228 echo "$as_me: failed program was:" >&5
44229 sed 's/^/| /' conftest.
$ac_ext >&5
44231 ac_cv_header_WebKit_HIWebView_h
=no
44233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44235 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44236 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44237 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44239 cat >>confdefs.h
<<\_ACEOF
44240 #define wxUSE_WEBKIT 1
44243 WEBKIT_LINK
="-framework WebKit"
44247 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44248 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44254 CPPFLAGS
="$old_CPPFLAGS"
44255 elif test "$wxUSE_COCOA" = 1; then
44256 cat >>confdefs.h
<<\_ACEOF
44257 #define wxUSE_WEBKIT 1
44266 if test "$wxUSE_XRC" = "yes"; then
44267 if test "$wxUSE_XML" != "yes"; then
44268 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44269 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44272 cat >>confdefs.h
<<\_ACEOF
44273 #define wxUSE_XRC 1
44277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44281 if test "$wxUSE_MENUS" = "yes"; then
44282 cat >>confdefs.h
<<\_ACEOF
44283 #define wxUSE_MENUS 1
44286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44289 if test "$wxUSE_METAFILE" = "yes"; then
44290 cat >>confdefs.h
<<\_ACEOF
44291 #define wxUSE_METAFILE 1
44296 if test "$wxUSE_MIMETYPE" = "yes"; then
44297 cat >>confdefs.h
<<\_ACEOF
44298 #define wxUSE_MIMETYPE 1
44303 if test "$wxUSE_MINIFRAME" = "yes"; then
44304 cat >>confdefs.h
<<\_ACEOF
44305 #define wxUSE_MINIFRAME 1
44308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44311 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44312 cat >>confdefs.h
<<\_ACEOF
44313 #define wxUSE_SYSTEM_OPTIONS 1
44316 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44317 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44323 if test "$wxUSE_VALIDATORS" = "yes"; then
44324 cat >>confdefs.h
<<\_ACEOF
44325 #define wxUSE_VALIDATORS 1
44328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44331 if test "$wxUSE_PALETTE" = "yes" ; then
44332 cat >>confdefs.h
<<\_ACEOF
44333 #define wxUSE_PALETTE 1
44338 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44339 LIBS
=" -lunicows $LIBS"
44343 if test "$wxUSE_RICHTEXT" = "yes"; then
44344 cat >>confdefs.h
<<\_ACEOF
44345 #define wxUSE_RICHTEXT 1
44349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44353 if test "$wxUSE_IMAGE" = "yes" ; then
44354 cat >>confdefs.h
<<\_ACEOF
44355 #define wxUSE_IMAGE 1
44359 if test "$wxUSE_GIF" = "yes" ; then
44360 cat >>confdefs.h
<<\_ACEOF
44361 #define wxUSE_GIF 1
44366 if test "$wxUSE_PCX" = "yes" ; then
44367 cat >>confdefs.h
<<\_ACEOF
44368 #define wxUSE_PCX 1
44373 if test "$wxUSE_IFF" = "yes" ; then
44374 cat >>confdefs.h
<<\_ACEOF
44375 #define wxUSE_IFF 1
44380 if test "$wxUSE_PNM" = "yes" ; then
44381 cat >>confdefs.h
<<\_ACEOF
44382 #define wxUSE_PNM 1
44387 if test "$wxUSE_XPM" = "yes" ; then
44388 cat >>confdefs.h
<<\_ACEOF
44389 #define wxUSE_XPM 1
44394 if test "$wxUSE_ICO_CUR" = "yes" ; then
44395 cat >>confdefs.h
<<\_ACEOF
44396 #define wxUSE_ICO_CUR 1
44403 if test "$wxUSE_CHOICEDLG" = "yes"; then
44404 cat >>confdefs.h
<<\_ACEOF
44405 #define wxUSE_CHOICEDLG 1
44410 if test "$wxUSE_COLOURDLG" = "yes"; then
44411 cat >>confdefs.h
<<\_ACEOF
44412 #define wxUSE_COLOURDLG 1
44417 if test "$wxUSE_FILEDLG" = "yes"; then
44418 cat >>confdefs.h
<<\_ACEOF
44419 #define wxUSE_FILEDLG 1
44424 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44425 cat >>confdefs.h
<<\_ACEOF
44426 #define wxUSE_FINDREPLDLG 1
44431 if test "$wxUSE_FONTDLG" = "yes"; then
44432 cat >>confdefs.h
<<\_ACEOF
44433 #define wxUSE_FONTDLG 1
44438 if test "$wxUSE_DIRDLG" = "yes"; then
44439 if test "$wxUSE_TREECTRL" != "yes"; then
44440 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44441 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44443 cat >>confdefs.h
<<\_ACEOF
44444 #define wxUSE_DIRDLG 1
44450 if test "$wxUSE_MSGDLG" = "yes"; then
44451 cat >>confdefs.h
<<\_ACEOF
44452 #define wxUSE_MSGDLG 1
44457 if test "$wxUSE_NUMBERDLG" = "yes"; then
44458 cat >>confdefs.h
<<\_ACEOF
44459 #define wxUSE_NUMBERDLG 1
44464 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44465 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44466 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44467 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44469 cat >>confdefs.h
<<\_ACEOF
44470 #define wxUSE_PROGRESSDLG 1
44476 if test "$wxUSE_SPLASH" = "yes"; then
44477 cat >>confdefs.h
<<\_ACEOF
44478 #define wxUSE_SPLASH 1
44481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44484 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44485 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44486 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44487 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44489 cat >>confdefs.h
<<\_ACEOF
44490 #define wxUSE_STARTUP_TIPS 1
44496 if test "$wxUSE_TEXTDLG" = "yes"; then
44497 cat >>confdefs.h
<<\_ACEOF
44498 #define wxUSE_TEXTDLG 1
44503 if test "$wxUSE_WIZARDDLG" = "yes"; then
44504 cat >>confdefs.h
<<\_ACEOF
44505 #define wxUSE_WIZARDDLG 1
44508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44514 if test "$wxUSE_MEDIACTRL" = "yes"; then
44515 if test "$wxUSE_GTK" = 1; then
44516 wxUSE_GSTREAMER
="yes"
44518 GST_VERSION_MAJOR
=0
44519 GST_VERSION_MINOR
=10
44520 GST_VERSION_RELEASE
=0
44521 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44522 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44524 if test "$wxUSE_GSTREAMER8" = "no"; then
44528 if test -z "$PKG_CONFIG"; then
44529 # Extract the first word of "pkg-config", so it can be a program name with args.
44530 set dummy pkg
-config; ac_word
=$2
44531 echo "$as_me:$LINENO: checking for $ac_word" >&5
44532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44534 echo $ECHO_N "(cached) $ECHO_C" >&6
44536 case $PKG_CONFIG in
44538 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44542 for as_dir
in $PATH
44545 test -z "$as_dir" && as_dir
=.
44546 for ac_exec_ext
in '' $ac_executable_extensions; do
44547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44548 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44555 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44559 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44561 if test -n "$PKG_CONFIG"; then
44562 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44563 echo "${ECHO_T}$PKG_CONFIG" >&6
44565 echo "$as_me:$LINENO: result: no" >&5
44566 echo "${ECHO_T}no" >&6
44571 if test "$PKG_CONFIG" = "no" ; then
44572 echo "*** The pkg-config script could not be found. Make sure it is"
44573 echo "*** in your path, or set the PKG_CONFIG environment variable"
44574 echo "*** to the full path to pkg-config."
44575 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44577 PKG_CONFIG_MIN_VERSION
=0.9.0
44578 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44579 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44580 gstreamer-plugins-base-$GST_MAJORMINOR
44582 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44583 gstreamer-plugins-base-$GST_MAJORMINOR
44584 gconf-2.0... $ECHO_C" >&6
44586 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44587 gstreamer-plugins-base-$GST_MAJORMINOR
44589 echo "$as_me:$LINENO: result: yes" >&5
44590 echo "${ECHO_T}yes" >&6
44593 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44594 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44595 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44596 gstreamer-plugins-base-$GST_MAJORMINOR
44598 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44599 echo "${ECHO_T}$GST_CFLAGS" >&6
44601 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44602 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44603 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44604 gstreamer-plugins-base-$GST_MAJORMINOR
44606 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44607 echo "${ECHO_T}$GST_LIBS" >&6
44611 ## If we have a custom action on failure, don't print errors, but
44612 ## do set a variable so people can do so.
44613 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44614 gstreamer-plugins-base-$GST_MAJORMINOR
44622 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44623 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44627 if test $succeeded = yes; then
44629 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44630 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44634 GST_VERSION_MINOR
=8
44639 GST_VERSION_MINOR
=8
44642 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44643 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44645 if test x
$GST_VERSION_MINOR = x8
; then
44649 if test -z "$PKG_CONFIG"; then
44650 # Extract the first word of "pkg-config", so it can be a program name with args.
44651 set dummy pkg
-config; ac_word
=$2
44652 echo "$as_me:$LINENO: checking for $ac_word" >&5
44653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44654 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44655 echo $ECHO_N "(cached) $ECHO_C" >&6
44657 case $PKG_CONFIG in
44659 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44663 for as_dir
in $PATH
44666 test -z "$as_dir" && as_dir
=.
44667 for ac_exec_ext
in '' $ac_executable_extensions; do
44668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44669 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44676 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44680 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44682 if test -n "$PKG_CONFIG"; then
44683 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44684 echo "${ECHO_T}$PKG_CONFIG" >&6
44686 echo "$as_me:$LINENO: result: no" >&5
44687 echo "${ECHO_T}no" >&6
44692 if test "$PKG_CONFIG" = "no" ; then
44693 echo "*** The pkg-config script could not be found. Make sure it is"
44694 echo "*** in your path, or set the PKG_CONFIG environment variable"
44695 echo "*** to the full path to pkg-config."
44696 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44698 PKG_CONFIG_MIN_VERSION
=0.9.0
44699 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44700 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44701 gstreamer-interfaces-$GST_MAJORMINOR
44702 gstreamer-gconf-$GST_MAJORMINOR" >&5
44703 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44704 gstreamer-interfaces-$GST_MAJORMINOR
44705 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
44707 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44708 gstreamer-interfaces-$GST_MAJORMINOR
44709 gstreamer-gconf-$GST_MAJORMINOR" ; then
44710 echo "$as_me:$LINENO: result: yes" >&5
44711 echo "${ECHO_T}yes" >&6
44714 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44715 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44716 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44717 gstreamer-interfaces-$GST_MAJORMINOR
44718 gstreamer-gconf-$GST_MAJORMINOR"`
44719 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44720 echo "${ECHO_T}$GST_CFLAGS" >&6
44722 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44723 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44724 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44725 gstreamer-interfaces-$GST_MAJORMINOR
44726 gstreamer-gconf-$GST_MAJORMINOR"`
44727 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44728 echo "${ECHO_T}$GST_LIBS" >&6
44732 ## If we have a custom action on failure, don't print errors, but
44733 ## do set a variable so people can do so.
44734 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44735 gstreamer-interfaces-$GST_MAJORMINOR
44736 gstreamer-gconf-$GST_MAJORMINOR"`
44743 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44744 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44748 if test $succeeded = yes; then
44750 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44751 LIBS
="$LIBS $GST_LIBS"
44755 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
44756 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
44757 wxUSE_GSTREAMER
="no"
44764 if test "$wxUSE_GSTREAMER" = "yes"; then
44765 cat >>confdefs.h
<<\_ACEOF
44766 #define wxUSE_GSTREAMER 1
44769 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44770 echo "${ECHO_T}GStreamer detection successful" >&6
44774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44775 cat >>confdefs.h
<<\_ACEOF
44776 #define wxUSE_MEDIACTRL 1
44782 if test "$cross_compiling" = "yes"; then
44785 OSINFO
=`uname -s -r -m`
44786 OSINFO
="\"$OSINFO\""
44789 cat >>confdefs.h
<<_ACEOF
44790 #define WXWIN_OS_DESCRIPTION $OSINFO
44795 if test "x$prefix" != "xNONE"; then
44798 wxPREFIX
=$ac_default_prefix
44801 cat >>confdefs.h
<<_ACEOF
44802 #define wxINSTALL_PREFIX "$wxPREFIX"
44808 CORE_BASE_LIBS
="net base"
44809 CORE_GUI_LIBS
="adv core"
44811 if test "$wxUSE_XML" = "yes" ; then
44812 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44814 if test "$wxUSE_ODBC" != "no" ; then
44815 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44816 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44818 if test "$wxUSE_HTML" = "yes" ; then
44819 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44821 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44822 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44824 if test "$wxUSE_XRC" = "yes" ; then
44825 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44828 if test "$wxUSE_GUI" != "yes"; then
44837 ac_cpp
='$CPP $CPPFLAGS'
44838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44844 if test "$wxUSE_MAC" = 1 ; then
44845 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44846 if test "$USE_DARWIN" = 1; then
44847 LDFLAGS
="$LDFLAGS -framework QuickTime"
44849 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44852 if test "$USE_DARWIN" = 1; then
44853 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44855 LDFLAGS
="$LDFLAGS -lCarbonLib"
44858 if test "$wxUSE_COCOA" = 1 ; then
44859 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44860 if test "$wxUSE_MEDIACTRL" = "yes"; then
44861 LDFLAGS
="$LDFLAGS -framework QuickTime"
44864 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44865 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44868 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44870 if test "$wxUSE_GUI" = "yes"; then
44873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
44874 dynamic erase event exec font image minimal mobile \
44875 mobile/wxedit mobile/styles propsize render \
44876 rotate shaped vscroll widgets"
44878 if test "$wxUSE_MONOLITHIC" != "yes"; then
44879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
44881 if test "$TOOLKIT" = "MSW"; then
44882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
44883 if test "$wxUSE_UNIVERSAL" != "yes"; then
44884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
44887 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
44888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
44891 SAMPLES_SUBDIRS
="console"
44895 if test "x$INTELCC" = "xyes" ; then
44896 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
44897 elif test "$GCC" = yes ; then
44898 CWARNINGS
="-Wall -Wundef"
44901 if test "x$INTELCXX" = "xyes" ; then
44902 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
44903 elif test "$GXX" = yes ; then
44904 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
44908 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
44909 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
44912 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
44913 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
44914 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
44917 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
44918 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
44919 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
44921 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
44924 if test "x$MWCC" = "xyes"; then
44926 CC
="$CC -cwd source -I-"
44927 CXX
="$CXX -cwd source -I-"
44932 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
44933 EXTRALIBS_XML
="$EXPAT_LINK"
44934 EXTRALIBS_HTML
="$MSPACK_LINK"
44935 EXTRALIBS_ODBC
="$ODBC_LINK"
44936 if test "$wxUSE_GUI" = "yes"; then
44937 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
44939 if test "$wxUSE_OPENGL" = "yes"; then
44940 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
44943 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
44945 WXCONFIG_LIBS
="$LIBS"
44947 if test "$wxUSE_REGEX" = "builtin" ; then
44948 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
44950 if test "$wxUSE_EXPAT" = "builtin" ; then
44951 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
44953 if test "$wxUSE_ODBC" = "builtin" ; then
44954 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
44956 if test "$wxUSE_LIBTIFF" = "builtin" ; then
44957 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
44959 if test "$wxUSE_LIBJPEG" = "builtin" ; then
44960 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
44962 if test "$wxUSE_LIBPNG" = "builtin" ; then
44963 wxconfig_3rdparty
="png $wxconfig_3rdparty"
44965 if test "$wxUSE_ZLIB" = "builtin" ; then
44966 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
44969 for i
in $wxconfig_3rdparty ; do
44970 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
44974 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
44988 if test $wxUSE_MONOLITHIC = "yes" ; then
44994 if test $wxUSE_PLUGINS = "yes" ; then
45000 if test $wxUSE_ODBC != "no" ; then
45006 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45012 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45042 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45053 TOOLKIT_USER
="GTK+"
45054 if test "$WXGTK20" = 1; then
45055 TOOLKIT_USER
="$TOOLKIT_USER 2"
45060 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45064 if test "$wxUSE_WINE" = "yes"; then
45065 BAKEFILE_FORCE_PLATFORM
=win32
45068 if test "$wxUSE_MAC" = 1 ; then
45069 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45070 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45071 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45072 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45075 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45076 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45077 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45083 if test "x$BAKEFILE_HOST" = "x"; then
45084 if test "x${host}" = "x" ; then
45085 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45086 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45087 { (exit 1); exit 1; }; }
45090 BAKEFILE_HOST
="${host}"
45093 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45095 if test -n "$ac_tool_prefix"; then
45096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45097 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45098 echo "$as_me:$LINENO: checking for $ac_word" >&5
45099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45100 if test "${ac_cv_prog_RANLIB+set}" = set; then
45101 echo $ECHO_N "(cached) $ECHO_C" >&6
45103 if test -n "$RANLIB"; then
45104 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45107 for as_dir
in $PATH
45110 test -z "$as_dir" && as_dir
=.
45111 for ac_exec_ext
in '' $ac_executable_extensions; do
45112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45113 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45122 RANLIB
=$ac_cv_prog_RANLIB
45123 if test -n "$RANLIB"; then
45124 echo "$as_me:$LINENO: result: $RANLIB" >&5
45125 echo "${ECHO_T}$RANLIB" >&6
45127 echo "$as_me:$LINENO: result: no" >&5
45128 echo "${ECHO_T}no" >&6
45132 if test -z "$ac_cv_prog_RANLIB"; then
45133 ac_ct_RANLIB
=$RANLIB
45134 # Extract the first word of "ranlib", so it can be a program name with args.
45135 set dummy ranlib
; ac_word
=$2
45136 echo "$as_me:$LINENO: checking for $ac_word" >&5
45137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45139 echo $ECHO_N "(cached) $ECHO_C" >&6
45141 if test -n "$ac_ct_RANLIB"; then
45142 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45145 for as_dir
in $PATH
45148 test -z "$as_dir" && as_dir
=.
45149 for ac_exec_ext
in '' $ac_executable_extensions; do
45150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45151 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45158 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45161 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45162 if test -n "$ac_ct_RANLIB"; then
45163 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45164 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45166 echo "$as_me:$LINENO: result: no" >&5
45167 echo "${ECHO_T}no" >&6
45170 RANLIB
=$ac_ct_RANLIB
45172 RANLIB
="$ac_cv_prog_RANLIB"
45175 # Find a good install program. We prefer a C program (faster),
45176 # so one script is as good as another. But avoid the broken or
45177 # incompatible versions:
45178 # SysV /etc/install, /usr/sbin/install
45179 # SunOS /usr/etc/install
45180 # IRIX /sbin/install
45182 # AmigaOS /C/install, which installs bootblocks on floppy discs
45183 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45184 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45185 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45186 # OS/2's system install, which has a completely different semantic
45187 # ./install, which can be erroneously created by make from ./install.sh.
45188 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45189 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45190 if test -z "$INSTALL"; then
45191 if test "${ac_cv_path_install+set}" = set; then
45192 echo $ECHO_N "(cached) $ECHO_C" >&6
45194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45195 for as_dir
in $PATH
45198 test -z "$as_dir" && as_dir
=.
45199 # Account for people who put trailing slashes in PATH elements.
45201 .
/ | .
// | /cC
/* | \
45202 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45203 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45206 # OSF1 and SCO ODT 3.0 have their own names for install.
45207 # Don't use installbsd from OSF since it installs stuff as root
45209 for ac_prog
in ginstall scoinst
install; do
45210 for ac_exec_ext
in '' $ac_executable_extensions; do
45211 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45212 if test $ac_prog = install &&
45213 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45214 # AIX install. It has an incompatible calling convention.
45216 elif test $ac_prog = install &&
45217 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45218 # program-specific install script used by HP pwplus--don't use.
45221 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45233 if test "${ac_cv_path_install+set}" = set; then
45234 INSTALL
=$ac_cv_path_install
45236 # As a last resort, use the slow shell script. We don't cache a
45237 # path for INSTALL within a source directory, because that will
45238 # break other packages using the cache if that directory is
45239 # removed, or if the path is relative.
45240 INSTALL
=$ac_install_sh
45243 echo "$as_me:$LINENO: result: $INSTALL" >&5
45244 echo "${ECHO_T}$INSTALL" >&6
45246 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45247 # It thinks the first close brace ends the variable substitution.
45248 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45250 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45252 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45254 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45255 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45257 if test "$LN_S" = "ln -s"; then
45258 echo "$as_me:$LINENO: result: yes" >&5
45259 echo "${ECHO_T}yes" >&6
45261 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45262 echo "${ECHO_T}no, using $LN_S" >&6
45266 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45267 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45268 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45269 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45270 echo $ECHO_N "(cached) $ECHO_C" >&6
45272 cat >conftest.
make <<\_ACEOF
45274 @
echo 'ac_maketemp="$(MAKE)"'
45276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45277 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45278 if test -n "$ac_maketemp"; then
45279 eval ac_cv_prog_make_
${ac_make}_set
=yes
45281 eval ac_cv_prog_make_
${ac_make}_set
=no
45283 rm -f conftest.
make
45285 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45286 echo "$as_me:$LINENO: result: yes" >&5
45287 echo "${ECHO_T}yes" >&6
45290 echo "$as_me:$LINENO: result: no" >&5
45291 echo "${ECHO_T}no" >&6
45292 SET_MAKE
="MAKE=${MAKE-make}"
45297 if test -n "$ac_tool_prefix"; then
45298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45299 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45300 echo "$as_me:$LINENO: checking for $ac_word" >&5
45301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45302 if test "${ac_cv_prog_AR+set}" = set; then
45303 echo $ECHO_N "(cached) $ECHO_C" >&6
45305 if test -n "$AR"; then
45306 ac_cv_prog_AR
="$AR" # Let the user override the test.
45308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45309 for as_dir
in $PATH
45312 test -z "$as_dir" && as_dir
=.
45313 for ac_exec_ext
in '' $ac_executable_extensions; do
45314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45315 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45325 if test -n "$AR"; then
45326 echo "$as_me:$LINENO: result: $AR" >&5
45327 echo "${ECHO_T}$AR" >&6
45329 echo "$as_me:$LINENO: result: no" >&5
45330 echo "${ECHO_T}no" >&6
45334 if test -z "$ac_cv_prog_AR"; then
45336 # Extract the first word of "ar", so it can be a program name with args.
45337 set dummy
ar; ac_word
=$2
45338 echo "$as_me:$LINENO: checking for $ac_word" >&5
45339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45341 echo $ECHO_N "(cached) $ECHO_C" >&6
45343 if test -n "$ac_ct_AR"; then
45344 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45347 for as_dir
in $PATH
45350 test -z "$as_dir" && as_dir
=.
45351 for ac_exec_ext
in '' $ac_executable_extensions; do
45352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45353 ac_cv_prog_ac_ct_AR
="ar"
45354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45360 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45363 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45364 if test -n "$ac_ct_AR"; then
45365 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45366 echo "${ECHO_T}$ac_ct_AR" >&6
45368 echo "$as_me:$LINENO: result: no" >&5
45369 echo "${ECHO_T}no" >&6
45374 AR
="$ac_cv_prog_AR"
45377 if test -n "$ac_tool_prefix"; then
45378 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45379 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45380 echo "$as_me:$LINENO: checking for $ac_word" >&5
45381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45382 if test "${ac_cv_prog_STRIP+set}" = set; then
45383 echo $ECHO_N "(cached) $ECHO_C" >&6
45385 if test -n "$STRIP"; then
45386 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45389 for as_dir
in $PATH
45392 test -z "$as_dir" && as_dir
=.
45393 for ac_exec_ext
in '' $ac_executable_extensions; do
45394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45395 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45404 STRIP
=$ac_cv_prog_STRIP
45405 if test -n "$STRIP"; then
45406 echo "$as_me:$LINENO: result: $STRIP" >&5
45407 echo "${ECHO_T}$STRIP" >&6
45409 echo "$as_me:$LINENO: result: no" >&5
45410 echo "${ECHO_T}no" >&6
45414 if test -z "$ac_cv_prog_STRIP"; then
45416 # Extract the first word of "strip", so it can be a program name with args.
45417 set dummy strip
; ac_word
=$2
45418 echo "$as_me:$LINENO: checking for $ac_word" >&5
45419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45420 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45421 echo $ECHO_N "(cached) $ECHO_C" >&6
45423 if test -n "$ac_ct_STRIP"; then
45424 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45427 for as_dir
in $PATH
45430 test -z "$as_dir" && as_dir
=.
45431 for ac_exec_ext
in '' $ac_executable_extensions; do
45432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45433 ac_cv_prog_ac_ct_STRIP
="strip"
45434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45440 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45443 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45444 if test -n "$ac_ct_STRIP"; then
45445 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45446 echo "${ECHO_T}$ac_ct_STRIP" >&6
45448 echo "$as_me:$LINENO: result: no" >&5
45449 echo "${ECHO_T}no" >&6
45454 STRIP
="$ac_cv_prog_STRIP"
45457 if test -n "$ac_tool_prefix"; then
45458 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45459 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45460 echo "$as_me:$LINENO: checking for $ac_word" >&5
45461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45462 if test "${ac_cv_prog_NM+set}" = set; then
45463 echo $ECHO_N "(cached) $ECHO_C" >&6
45465 if test -n "$NM"; then
45466 ac_cv_prog_NM
="$NM" # Let the user override the test.
45468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45469 for as_dir
in $PATH
45472 test -z "$as_dir" && as_dir
=.
45473 for ac_exec_ext
in '' $ac_executable_extensions; do
45474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45475 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45485 if test -n "$NM"; then
45486 echo "$as_me:$LINENO: result: $NM" >&5
45487 echo "${ECHO_T}$NM" >&6
45489 echo "$as_me:$LINENO: result: no" >&5
45490 echo "${ECHO_T}no" >&6
45494 if test -z "$ac_cv_prog_NM"; then
45496 # Extract the first word of "nm", so it can be a program name with args.
45497 set dummy nm
; ac_word
=$2
45498 echo "$as_me:$LINENO: checking for $ac_word" >&5
45499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45500 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45501 echo $ECHO_N "(cached) $ECHO_C" >&6
45503 if test -n "$ac_ct_NM"; then
45504 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45507 for as_dir
in $PATH
45510 test -z "$as_dir" && as_dir
=.
45511 for ac_exec_ext
in '' $ac_executable_extensions; do
45512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45513 ac_cv_prog_ac_ct_NM
="nm"
45514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45520 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45523 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45524 if test -n "$ac_ct_NM"; then
45525 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45526 echo "${ECHO_T}$ac_ct_NM" >&6
45528 echo "$as_me:$LINENO: result: no" >&5
45529 echo "${ECHO_T}no" >&6
45534 NM
="$ac_cv_prog_NM"
45538 case ${BAKEFILE_HOST} in
45540 INSTALL_DIR
="mkdir -p"
45542 *) INSTALL_DIR
="$INSTALL -d"
45548 case ${BAKEFILE_HOST} in
45549 *-*-cygwin* | *-*-mingw32* )
45550 LDFLAGS_GUI
="-mwindows"
45556 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45557 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45558 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45559 echo $ECHO_N "(cached) $ECHO_C" >&6
45562 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45563 egrep -s GNU
> /dev
/null
); then
45564 bakefile_cv_prog_makeisgnu
="yes"
45566 bakefile_cv_prog_makeisgnu
="no"
45570 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45571 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45573 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45590 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45591 case "${BAKEFILE_HOST}" in
45598 *-pc-os2_emx | *-pc-os2-emx )
45608 powerpc
-apple-macos* )
45617 case "$BAKEFILE_FORCE_PLATFORM" in
45638 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45639 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45640 { (exit 1); exit 1; }; }
45655 # Check whether --enable-omf or --disable-omf was given.
45656 if test "${enable_omf+set}" = set; then
45657 enableval
="$enable_omf"
45658 bk_os2_use_omf
="$enableval"
45661 case "${BAKEFILE_HOST}" in
45663 if test "x$GCC" = "xyes"; then
45664 CFLAGS
="$CFLAGS -fno-common"
45665 CXXFLAGS
="$CXXFLAGS -fno-common"
45667 if test "x$XLCC" = "xyes"; then
45668 CFLAGS
="$CFLAGS -qnocommon"
45669 CXXFLAGS
="$CXXFLAGS -qnocommon"
45673 *-pc-os2_emx | *-pc-os2-emx )
45674 if test "x$bk_os2_use_omf" = "xyes" ; then
45677 LDFLAGS
="-Zomf $LDFLAGS"
45678 CFLAGS
="-Zomf $CFLAGS"
45679 CXXFLAGS
="-Zomf $CXXFLAGS"
45687 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45693 SO_SUFFIX_MODULE
="so"
45698 DLLPREFIX_MODULE
=""
45702 case "${BAKEFILE_HOST}" in
45705 SO_SUFFIX_MODULE
="sl"
45709 SO_SUFFIX_MODULE
="a"
45713 SO_SUFFIX_MODULE
="dll"
45714 DLLIMP_SUFFIX
="dll.a"
45721 SO_SUFFIX_MODULE
="dll"
45722 DLLIMP_SUFFIX
="dll.a"
45732 *-pc-os2_emx | *-pc-os2-emx )
45734 SO_SUFFIX_MODULE
="dll"
45735 DLLIMP_SUFFIX
=$OS2_LIBEXT
45739 LIBEXT
=".$OS2_LIBEXT"
45744 SO_SUFFIX_MODULE
="bundle"
45748 if test "x$DLLIMP_SUFFIX" = "x" ; then
45749 DLLIMP_SUFFIX
="$SO_SUFFIX"
45764 if test "x$GCC" = "xyes"; then
45768 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
45769 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
45772 case "${BAKEFILE_HOST}" in
45774 if test "x$GCC" != "xyes"; then
45775 LDFLAGS
="$LDFLAGS -L/usr/lib"
45777 SHARED_LD_CC
="${CC} -b -o"
45778 SHARED_LD_CXX
="${CXX} -b -o"
45784 if test "x$GCC" != "xyes"; then
45785 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45786 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45787 if test "${bakefile_cv_prog_icc+set}" = set; then
45788 echo $ECHO_N "(cached) $ECHO_C" >&6
45791 cat >conftest.
$ac_ext <<_ACEOF
45794 cat confdefs.h
>>conftest.
$ac_ext
45795 cat >>conftest.
$ac_ext <<_ACEOF
45796 /* end confdefs.h. */
45802 #ifndef __INTEL_COMPILER
45810 rm -f conftest.
$ac_objext
45811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45812 (eval $ac_compile) 2>conftest.er1
45814 grep -v '^ *+' conftest.er1
>conftest.err
45816 cat conftest.err
>&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); } &&
45819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821 (eval $ac_try) 2>&5
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); }; } &&
45825 { ac_try
='test -s conftest.$ac_objext'
45826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45827 (eval $ac_try) 2>&5
45829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45830 (exit $ac_status); }; }; then
45831 bakefile_cv_prog_icc
=yes
45833 echo "$as_me: failed program was:" >&5
45834 sed 's/^/| /' conftest.
$ac_ext >&5
45836 bakefile_cv_prog_icc
=no
45839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45842 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
45843 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
45844 if test "$bakefile_cv_prog_icc" = "yes"; then
45851 if test "x$GCC" != xyes
; then
45852 SHARED_LD_CC
="${CC} -G -o"
45853 SHARED_LD_CXX
="${CXX} -G -o"
45861 cat <<EOF >shared-ld-sh
45863 #-----------------------------------------------------------------------------
45864 #-- Name: distrib/mac/shared-ld-sh
45865 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
45866 #-- Author: Gilles Depeyrot
45867 #-- Copyright: (c) 2002 Gilles Depeyrot
45868 #-- Licence: any use permitted
45869 #-----------------------------------------------------------------------------
45874 linking_flag="-dynamiclib"
45875 ldargs="-r -keep_private_externs -nostdlib"
45877 while test ${D}# -gt 0; do
45884 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
45885 # collect these options and values
45886 args="${D}{args} ${D}1 ${D}2"
45891 # collect these load args
45892 ldargs="${D}{ldargs} ${D}1"
45895 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
45896 # collect these options
45897 args="${D}{args} ${D}1"
45900 -dynamiclib|-bundle)
45901 linking_flag="${D}1"
45905 echo "shared-ld: unhandled option '${D}1'"
45909 *.o | *.a | *.dylib)
45910 # collect object files
45911 objects="${D}{objects} ${D}1"
45915 echo "shared-ld: unhandled argument '${D}1'"
45926 # Link one module containing all the others
45928 if test ${D}{verbose} = 1; then
45929 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
45931 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
45935 # Link the shared library from the single module created, but only if the
45936 # previous command didn't fail:
45938 if test ${D}{status} = 0; then
45939 if test ${D}{verbose} = 1; then
45940 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
45942 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
45947 # Remove intermediate module
45949 rm -f master.${D}${D}.o
45954 chmod +x shared
-ld-sh
45956 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
45957 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
45960 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
45961 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
45962 if test "${bakefile_cv_gcc31+set}" = set; then
45963 echo $ECHO_N "(cached) $ECHO_C" >&6
45966 cat >conftest.
$ac_ext <<_ACEOF
45969 cat confdefs.h
>>conftest.
$ac_ext
45970 cat >>conftest.
$ac_ext <<_ACEOF
45971 /* end confdefs.h. */
45977 #if (__GNUC__ < 3) || \
45978 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
45986 rm -f conftest.
$ac_objext
45987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45988 (eval $ac_compile) 2>conftest.er1
45990 grep -v '^ *+' conftest.er1
>conftest.err
45992 cat conftest.err
>&5
45993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45994 (exit $ac_status); } &&
45995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45997 (eval $ac_try) 2>&5
45999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46000 (exit $ac_status); }; } &&
46001 { ac_try
='test -s conftest.$ac_objext'
46002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46003 (eval $ac_try) 2>&5
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); }; }; then
46008 bakefile_cv_gcc31
=yes
46011 echo "$as_me: failed program was:" >&5
46012 sed 's/^/| /' conftest.
$ac_ext >&5
46015 bakefile_cv_gcc31
=no
46019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46022 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46023 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46024 if test "$bakefile_cv_gcc31" = "no"; then
46025 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46026 SHARED_LD_CXX
="$SHARED_LD_CC"
46028 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46029 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46032 if test "x$GCC" == "xyes"; then
46033 PIC_FLAG
="-dynamic -fPIC"
46035 if test "x$XLCC" = "xyes"; then
46036 PIC_FLAG
="-dynamic -DPIC"
46041 if test "x$GCC" = "xyes"; then
46044 case "${BAKEFILE_HOST}" in
46046 LD_EXPFULL
="-Wl,-bexpfull"
46050 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46051 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46053 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46054 set dummy makeC
++SharedLib
; ac_word
=$2
46055 echo "$as_me:$LINENO: checking for $ac_word" >&5
46056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46057 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46058 echo $ECHO_N "(cached) $ECHO_C" >&6
46060 if test -n "$AIX_CXX_LD"; then
46061 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46064 for as_dir
in $PATH
46067 test -z "$as_dir" && as_dir
=.
46068 for ac_exec_ext
in '' $ac_executable_extensions; do
46069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46070 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46077 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46080 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46081 if test -n "$AIX_CXX_LD"; then
46082 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46083 echo "${ECHO_T}$AIX_CXX_LD" >&6
46085 echo "$as_me:$LINENO: result: no" >&5
46086 echo "${ECHO_T}no" >&6
46089 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46090 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46095 SHARED_LD_CC
="${LD} -nostart -o"
46096 SHARED_LD_CXX
="${LD} -nostart -o"
46100 if test "x$GCC" != "xyes"; then
46105 *-*-cygwin* | *-*-mingw32* )
46107 SHARED_LD_CC
="\$(CC) -shared -o"
46108 SHARED_LD_CXX
="\$(CXX) -shared -o"
46112 *-pc-os2_emx | *-pc-os2-emx )
46113 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46114 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46118 cat <<EOF >dllar.sh
46121 # dllar - a tool to build both a .dll and an .a file
46122 # from a set of object (.o) files for EMX/OS2.
46124 # Written by Andrew Zabolotny, bit@freya.etu.ru
46125 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46127 # This script will accept a set of files on the command line.
46128 # All the public symbols from the .o files will be exported into
46129 # a .DEF file, then linker will be run (through gcc) against them to
46130 # build a shared library consisting of all given .o files. All libraries
46131 # (.a) will be first decompressed into component .o files then act as
46132 # described above. You can optionally give a description (-d "description")
46133 # which will be put into .DLL. To see the list of accepted options (as well
46134 # as command-line format) simply run this program without options. The .DLL
46135 # is built to be imported by name (there is no guarantee that new versions
46136 # of the library you build will have same ordinals for same symbols).
46138 # dllar is free software; you can redistribute it and/or modify
46139 # it under the terms of the GNU General Public License as published by
46140 # the Free Software Foundation; either version 2, or (at your option)
46141 # any later version.
46143 # dllar is distributed in the hope that it will be useful,
46144 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46145 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46146 # GNU General Public License for more details.
46148 # You should have received a copy of the GNU General Public License
46149 # along with dllar; see the file COPYING. If not, write to the Free
46150 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46153 # To successfuly run this program you will need:
46154 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46155 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46157 # (used to build the .dll)
46159 # (used to create .def file from .o files)
46161 # (used to create .a file from .def file)
46162 # - GNU text utilites (cat, sort, uniq)
46163 # used to process emxexp output
46164 # - GNU file utilities (mv, rm)
46166 # - lxlite (optional, see flag below)
46167 # (used for general .dll cleanup)
46174 # basnam, variant of basename, which does _not_ remove the path, _iff_
46175 # second argument (suffix to remove) is given
46179 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46182 echo ${D}1 | sed 's/'${D}2'${D}//'
46185 echo "error in basnam ${D}*"
46191 # Cleanup temporary files and output
46194 for i in ${D}inputFiles ; do
46197 rm -rf \`basnam ${D}i !\`
46204 # Kill result in case of failure as there is just to many stupid make/nmake
46205 # things out there which doesn't do this.
46206 if [ ${D}# -eq 0 ]; then
46207 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46211 # Print usage and exit script with rc=1.
46213 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46214 echo ' [-name-mangler-script script.sh]'
46215 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46216 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46217 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46218 echo ' [*.o] [*.a]'
46219 echo '*> "output_file" should have no extension.'
46220 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46221 echo ' The import library name is derived from this and is set to "name".a,'
46222 echo ' unless overridden by -import'
46223 echo '*> "importlib_name" should have no extension.'
46224 echo ' If it has the .o, or .a extension, it is automatically removed.'
46225 echo ' This name is used as the import library name and may be longer and'
46226 echo ' more descriptive than the DLL name which has to follow the old '
46227 echo ' 8.3 convention of FAT.'
46228 echo '*> "script.sh may be given to override the output_file name by a'
46229 echo ' different name. It is mainly useful if the regular make process'
46230 echo ' of some package does not take into account OS/2 restriction of'
46231 echo ' DLL name lengths. It takes the importlib name as input and is'
46232 echo ' supposed to procude a shorter name as output. The script should'
46233 echo ' expect to get importlib_name without extension and should produce'
46234 echo ' a (max.) 8 letter name without extension.'
46235 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46236 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46237 echo ' These flags will be put at the start of GCC command line.'
46238 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46239 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46240 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46241 echo ' If the last character of a symbol is "*", all symbols beginning'
46242 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46243 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46244 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46245 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46246 echo ' C runtime DLLs.'
46247 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46248 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46249 echo ' unchanged to GCC at the end of command line.'
46250 echo '*> If you create a DLL from a library and you do not specify -o,'
46251 echo ' the basename for DLL and import library will be set to library name,'
46252 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46253 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46254 echo ' library will be renamed into gcc_s.a.'
46257 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46258 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46263 # Execute a command.
46264 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46265 # @Uses Whatever CleanUp() uses.
46271 if [ ${D}rcCmd -ne 0 ]; then
46272 echo "command failed, exit code="${D}rcCmd
46287 CFLAGS="-s -Zcrtdll"
46289 EXPORT_BY_ORDINALS=0
46294 case ${D}curDirS in
46298 curDirS=${D}{curDirS}"/"
46301 # Parse commandline
46304 while [ ${D}1 ]; do
46307 EXPORT_BY_ORDINALS=1;
46317 -name-mangler-script)
46338 exclude_symbols=${D}{exclude_symbols}${D}1" "
46342 library_flags=${D}{library_flags}${D}1" "
46361 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46364 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46365 if [ ${D}omfLinking -eq 1 ]; then
46366 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46368 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46373 if [ ${D}libsToLink -ne 0 ]; then
46374 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46376 for file in ${D}1 ; do
46377 if [ -f ${D}file ]; then
46378 inputFiles="${D}{inputFiles} ${D}file"
46382 if [ ${D}found -eq 0 ]; then
46383 echo "ERROR: No file(s) found: "${D}1
46390 done # iterate cmdline words
46393 if [ -z "${D}inputFiles" ]; then
46394 echo "dllar: no input files"
46398 # Now extract all .o files from .a files
46400 for file in ${D}inputFiles ; do
46411 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46416 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46418 if [ ${D}? -ne 0 ]; then
46419 echo "Failed to create subdirectory ./${D}dirname"
46423 # Append '!' to indicate archive
46424 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46425 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46428 for subfile in ${D}dirname/*.o* ; do
46429 if [ -f ${D}subfile ]; then
46431 if [ -s ${D}subfile ]; then
46432 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46433 newInputFiles="${D}newInputFiles ${D}subfile"
46437 if [ ${D}found -eq 0 ]; then
46438 echo "WARNING: there are no files in archive \\'${D}file\\'"
46442 newInputFiles="${D}{newInputFiles} ${D}file"
46446 inputFiles="${D}newInputFiles"
46448 # Output filename(s).
46450 if [ -z ${D}outFile ]; then
46452 set outFile ${D}inputFiles; outFile=${D}2
46455 # If it is an archive, remove the '!' and the '_%' suffixes
46456 case ${D}outFile in
46458 outFile=\`basnam ${D}outFile _%!\`
46463 case ${D}outFile in
46465 outFile=\`basnam ${D}outFile .dll\`
46468 outFile=\`basnam ${D}outFile .DLL\`
46471 outFile=\`basnam ${D}outFile .o\`
46474 outFile=\`basnam ${D}outFile .obj\`
46477 outFile=\`basnam ${D}outFile .a\`
46480 outFile=\`basnam ${D}outFile .lib\`
46485 case ${D}outimpFile in
46487 outimpFile=\`basnam ${D}outimpFile .a\`
46490 outimpFile=\`basnam ${D}outimpFile .lib\`
46495 if [ -z ${D}outimpFile ]; then
46496 outimpFile=${D}outFile
46498 defFile="${D}{outFile}.def"
46499 arcFile="${D}{outimpFile}.a"
46500 arcFile2="${D}{outimpFile}.lib"
46502 #create ${D}dllFile as something matching 8.3 restrictions,
46503 if [ -z ${D}renameScript ] ; then
46504 dllFile="${D}outFile"
46506 dllFile=\`${D}renameScript ${D}outimpFile\`
46509 if [ ${D}do_backup -ne 0 ] ; then
46510 if [ -f ${D}arcFile ] ; then
46511 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46513 if [ -f ${D}arcFile2 ] ; then
46514 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46518 # Extract public symbols from all the object files.
46519 tmpdefFile=${D}{defFile}_%
46520 rm -f ${D}tmpdefFile
46521 for file in ${D}inputFiles ; do
46526 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46531 # Create the def file.
46533 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46534 dllFile="${D}{dllFile}.dll"
46535 if [ ! -z ${D}description ]; then
46536 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46538 echo "EXPORTS" >> ${D}defFile
46540 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46541 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46543 # Checks if the export is ok or not.
46544 for word in ${D}exclude_symbols; do
46545 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46546 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46550 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46551 sed "=" < ${D}tmpdefFile | \\
46555 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46557 ' > ${D}{tmpdefFile}%
46558 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46560 rm -f ${D}{tmpdefFile}%
46562 cat ${D}tmpdefFile >> ${D}defFile
46563 rm -f ${D}tmpdefFile
46565 # Do linking, create implib, and apply lxlite.
46567 for file in ${D}inputFiles ; do
46572 gccCmdl="${D}gccCmdl ${D}file"
46576 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46577 touch "${D}{outFile}.dll"
46579 doCommand "emximp -o ${D}arcFile ${D}defFile"
46580 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46582 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46585 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46587 doCommand "emxomf -s -l ${D}arcFile"
46597 powerpc
-apple-macos* | \
46598 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46607 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46608 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46609 { (exit 1); exit 1; }; }
46612 if test "x$PIC_FLAG" != "x" ; then
46613 PIC_FLAG
="$PIC_FLAG -DPIC"
46616 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46617 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46619 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46620 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46639 case "${BAKEFILE_HOST}" in
46640 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46641 SONAME_FLAG
="-Wl,-soname,"
46675 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
46676 if test "${enable_dependency_tracking+set}" = set; then
46677 enableval
="$enable_dependency_tracking"
46678 bk_use_trackdeps
="$enableval"
46681 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46682 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46684 if test "x$bk_use_trackdeps" = "xno" ; then
46686 echo "$as_me:$LINENO: result: disabled" >&5
46687 echo "${ECHO_T}disabled" >&6
46691 if test "x$GCC" = "xyes"; then
46693 case "${BAKEFILE_HOST}" in
46695 DEPSFLAG
="-no-cpp-precomp -MMD"
46701 echo "$as_me:$LINENO: result: gcc" >&5
46702 echo "${ECHO_T}gcc" >&6
46703 elif test "x$MWCC" = "xyes"; then
46706 echo "$as_me:$LINENO: result: mwcc" >&5
46707 echo "${ECHO_T}mwcc" >&6
46708 elif test "x$SUNCC" = "xyes"; then
46711 echo "$as_me:$LINENO: result: Sun cc" >&5
46712 echo "${ECHO_T}Sun cc" >&6
46713 elif test "x$SGICC" = "xyes"; then
46716 echo "$as_me:$LINENO: result: SGI cc" >&5
46717 echo "${ECHO_T}SGI cc" >&6
46718 elif test "x$HPCC" = "xyes"; then
46721 echo "$as_me:$LINENO: result: HP cc" >&5
46722 echo "${ECHO_T}HP cc" >&6
46723 elif test "x$COMPAQCC" = "xyes"; then
46726 echo "$as_me:$LINENO: result: Compaq cc" >&5
46727 echo "${ECHO_T}Compaq cc" >&6
46730 echo "$as_me:$LINENO: result: none" >&5
46731 echo "${ECHO_T}none" >&6
46734 if test $DEPS_TRACKING = 1 ; then
46740 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46741 # script. It is used to track C/C++ files dependencies in portable way.
46743 # Permission is given to use this file in any way.
46745 DEPSMODE=${DEPSMODE}
46747 DEPSFLAG="${DEPSFLAG}"
46749 mkdir -p ${D}DEPSDIR
46751 if test ${D}DEPSMODE = gcc ; then
46752 ${D}* ${D}{DEPSFLAG}
46754 if test ${D}{status} != 0 ; then
46757 # move created file to the location we want it in:
46758 while test ${D}# -gt 0; do
46772 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46773 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46774 if test -f ${D}depfile ; then
46775 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46778 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46779 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46780 if test ! -f ${D}depfile ; then
46781 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46782 depfile="${D}objfile.d"
46784 if test -f ${D}depfile ; then
46785 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46790 elif test ${D}DEPSMODE = mwcc ; then
46791 ${D}* || exit ${D}?
46792 # Run mwcc again with -MM and redirect into the dep file we want
46793 # NOTE: We can't use shift here because we need ${D}* to be valid
46795 for arg in ${D}* ; do
46796 if test "${D}prevarg" = "-o"; then
46809 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
46811 elif test ${D}DEPSMODE = unixcc; then
46812 ${D}* || exit ${D}?
46813 # Run compiler again with deps flag and redirect into the dep file.
46814 # It doesn't work if the '-o FILE' option is used, but without it the
46815 # dependency file will contain the wrong name for the object. So it is
46816 # removed from the command line, and the dep file is fixed with sed.
46818 while test ${D}# -gt 0; do
46825 eval arg${D}#=\\${D}1
46826 cmd="${D}cmd \\${D}arg${D}#"
46831 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
46846 case ${BAKEFILE_HOST} in
46847 *-*-cygwin* | *-*-mingw32* )
46848 if test -n "$ac_tool_prefix"; then
46849 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
46850 set dummy
${ac_tool_prefix}windres
; 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_WINDRES+set}" = set; then
46854 echo $ECHO_N "(cached) $ECHO_C" >&6
46856 if test -n "$WINDRES"; then
46857 ac_cv_prog_WINDRES
="$WINDRES" # 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_WINDRES
="${ac_tool_prefix}windres"
46867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46875 WINDRES
=$ac_cv_prog_WINDRES
46876 if test -n "$WINDRES"; then
46877 echo "$as_me:$LINENO: result: $WINDRES" >&5
46878 echo "${ECHO_T}$WINDRES" >&6
46880 echo "$as_me:$LINENO: result: no" >&5
46881 echo "${ECHO_T}no" >&6
46885 if test -z "$ac_cv_prog_WINDRES"; then
46886 ac_ct_WINDRES
=$WINDRES
46887 # Extract the first word of "windres", so it can be a program name with args.
46888 set dummy windres
; ac_word
=$2
46889 echo "$as_me:$LINENO: checking for $ac_word" >&5
46890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46891 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
46892 echo $ECHO_N "(cached) $ECHO_C" >&6
46894 if test -n "$ac_ct_WINDRES"; then
46895 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
46897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46898 for as_dir
in $PATH
46901 test -z "$as_dir" && as_dir
=.
46902 for ac_exec_ext
in '' $ac_executable_extensions; do
46903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46904 ac_cv_prog_ac_ct_WINDRES
="windres"
46905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46913 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
46914 if test -n "$ac_ct_WINDRES"; then
46915 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
46916 echo "${ECHO_T}$ac_ct_WINDRES" >&6
46918 echo "$as_me:$LINENO: result: no" >&5
46919 echo "${ECHO_T}no" >&6
46922 WINDRES
=$ac_ct_WINDRES
46924 WINDRES
="$ac_cv_prog_WINDRES"
46929 *-*-darwin* | powerpc
-apple-macos* )
46930 # Extract the first word of "Rez", so it can be a program name with args.
46931 set dummy Rez
; ac_word
=$2
46932 echo "$as_me:$LINENO: checking for $ac_word" >&5
46933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46934 if test "${ac_cv_prog_REZ+set}" = set; then
46935 echo $ECHO_N "(cached) $ECHO_C" >&6
46937 if test -n "$REZ"; then
46938 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
46940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46941 for as_dir
in $PATH
46944 test -z "$as_dir" && as_dir
=.
46945 for ac_exec_ext
in '' $ac_executable_extensions; do
46946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46947 ac_cv_prog_REZ
="Rez"
46948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46954 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
46957 REZ
=$ac_cv_prog_REZ
46958 if test -n "$REZ"; then
46959 echo "$as_me:$LINENO: result: $REZ" >&5
46960 echo "${ECHO_T}$REZ" >&6
46962 echo "$as_me:$LINENO: result: no" >&5
46963 echo "${ECHO_T}no" >&6
46966 # Extract the first word of "SetFile", so it can be a program name with args.
46967 set dummy SetFile
; ac_word
=$2
46968 echo "$as_me:$LINENO: checking for $ac_word" >&5
46969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46970 if test "${ac_cv_prog_SETFILE+set}" = set; then
46971 echo $ECHO_N "(cached) $ECHO_C" >&6
46973 if test -n "$SETFILE"; then
46974 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
46976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46977 for as_dir
in $PATH
46980 test -z "$as_dir" && as_dir
=.
46981 for ac_exec_ext
in '' $ac_executable_extensions; do
46982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46983 ac_cv_prog_SETFILE
="SetFile"
46984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46990 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
46993 SETFILE
=$ac_cv_prog_SETFILE
46994 if test -n "$SETFILE"; then
46995 echo "$as_me:$LINENO: result: $SETFILE" >&5
46996 echo "${ECHO_T}$SETFILE" >&6
46998 echo "$as_me:$LINENO: result: no" >&5
46999 echo "${ECHO_T}no" >&6
47010 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47013 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47017 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47018 if test "${enable_precomp_headers+set}" = set; then
47019 enableval
="$enable_precomp_headers"
47020 bk_use_pch
="$enableval"
47027 case ${BAKEFILE_HOST} in
47033 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47034 if test "x$GCC" = "xyes"; then
47035 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47036 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47037 cat >conftest.
$ac_ext <<_ACEOF
47040 cat confdefs.h
>>conftest.
$ac_ext
47041 cat >>conftest.
$ac_ext <<_ACEOF
47042 /* end confdefs.h. */
47048 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47049 There is no PCH support
47052 There is no PCH support
47054 #if (__GNUC__ == 3) && \
47055 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47056 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47057 ( defined(__INTEL_COMPILER) )
47058 There is no PCH support
47065 rm -f conftest.
$ac_objext
47066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47067 (eval $ac_compile) 2>conftest.er1
47069 grep -v '^ *+' conftest.er1
>conftest.err
47071 cat conftest.err
>&5
47072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47073 (exit $ac_status); } &&
47074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47076 (eval $ac_try) 2>&5
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); }; } &&
47080 { ac_try
='test -s conftest.$ac_objext'
47081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47082 (eval $ac_try) 2>&5
47084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085 (exit $ac_status); }; }; then
47087 echo "$as_me:$LINENO: result: yes" >&5
47088 echo "${ECHO_T}yes" >&6
47092 echo "$as_me: failed program was:" >&5
47093 sed 's/^/| /' conftest.
$ac_ext >&5
47096 cat >conftest.
$ac_ext <<_ACEOF
47099 cat confdefs.h
>>conftest.
$ac_ext
47100 cat >>conftest.
$ac_ext <<_ACEOF
47101 /* end confdefs.h. */
47107 #if !defined(__INTEL_COMPILER) || \
47108 (__INTEL_COMPILER < 800)
47109 There is no PCH support
47116 rm -f conftest.
$ac_objext
47117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47118 (eval $ac_compile) 2>conftest.er1
47120 grep -v '^ *+' conftest.er1
>conftest.err
47122 cat conftest.err
>&5
47123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47124 (exit $ac_status); } &&
47125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47127 (eval $ac_try) 2>&5
47129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47130 (exit $ac_status); }; } &&
47131 { ac_try
='test -s conftest.$ac_objext'
47132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47133 (eval $ac_try) 2>&5
47135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47136 (exit $ac_status); }; }; then
47138 echo "$as_me:$LINENO: result: yes" >&5
47139 echo "${ECHO_T}yes" >&6
47143 echo "$as_me: failed program was:" >&5
47144 sed 's/^/| /' conftest.
$ac_ext >&5
47147 echo "$as_me:$LINENO: result: no" >&5
47148 echo "${ECHO_T}no" >&6
47151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47155 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47159 cat <<EOF >bk-make-pch
47162 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47163 # script. It is used to generated precompiled headers.
47165 # Permission is given to use this file in any way.
47175 while test ${D}{#} -gt 0; do
47179 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47180 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47181 headerfile="${D}{incdir}/${D}{header}"
47184 -use-pch|-use_pch )
47189 if test ${D}add_to_cmdline = 1 ; then
47190 compiler="${D}{compiler} ${D}{1}"
47195 if test "x${D}{headerfile}" = "x" ; then
47196 echo "error: can't find header ${D}{header} in include paths" >&2
47198 if test -f ${D}{outfile} ; then
47199 rm -f ${D}{outfile}
47201 mkdir -p \`dirname ${D}{outfile}\`
47203 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47205 if test "x${GCC_PCH}" = "x1" ; then
47206 # can do this because gcc is >= 3.4:
47207 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47208 elif test "x${ICC_PCH}" = "x1" ; then
47209 filename=pch_gen-${D}${D}
47210 file=${D}{filename}.c
47211 dfile=${D}{filename}.d
47212 cat > ${D}file <<EOT
47213 #include "${D}header"
47215 # using -MF icc complains about differing command lines in creation/use
47216 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47217 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47218 rm -f ${D}file ${D}dfile ${D}{filename}.o
47224 chmod +x bk
-make-pch
47232 COND_BUILD_DEBUG
="#"
47233 if test "x$BUILD" = "xdebug" ; then
47234 COND_BUILD_DEBUG
=""
47237 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47238 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47239 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47242 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47243 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47244 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47247 COND_BUILD_DEBUG_UNICODE_0
="#"
47248 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47249 COND_BUILD_DEBUG_UNICODE_0
=""
47252 COND_BUILD_DEBUG_UNICODE_1
="#"
47253 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47254 COND_BUILD_DEBUG_UNICODE_1
=""
47257 COND_BUILD_RELEASE
="#"
47258 if test "x$BUILD" = "xrelease" ; then
47259 COND_BUILD_RELEASE
=""
47262 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47263 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47264 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47267 COND_BUILD_RELEASE_UNICODE_0
="#"
47268 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47269 COND_BUILD_RELEASE_UNICODE_0
=""
47272 COND_BUILD_RELEASE_UNICODE_1
="#"
47273 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47274 COND_BUILD_RELEASE_UNICODE_1
=""
47277 COND_DEBUG_FLAG_1
="#"
47278 if test "x$DEBUG_FLAG" = "x1" ; then
47279 COND_DEBUG_FLAG_1
=""
47282 COND_DEBUG_INFO_0
="#"
47283 if test "x$DEBUG_INFO" = "x0" ; then
47284 COND_DEBUG_INFO_0
=""
47287 COND_DEBUG_INFO_1
="#"
47288 if test "x$DEBUG_INFO" = "x1" ; then
47289 COND_DEBUG_INFO_1
=""
47292 COND_DEPS_TRACKING_0
="#"
47293 if test "x$DEPS_TRACKING" = "x0" ; then
47294 COND_DEPS_TRACKING_0
=""
47297 COND_DEPS_TRACKING_1
="#"
47298 if test "x$DEPS_TRACKING" = "x1" ; then
47299 COND_DEPS_TRACKING_1
=""
47303 if test "x$GCC_PCH" = "x1" ; then
47308 if test "x$ICC_PCH" = "x1" ; then
47312 COND_MONOLITHIC_0
="#"
47313 if test "x$MONOLITHIC" = "x0" ; then
47314 COND_MONOLITHIC_0
=""
47317 COND_MONOLITHIC_0_SHARED_0
="#"
47318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47319 COND_MONOLITHIC_0_SHARED_0
=""
47322 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47324 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47327 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47329 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47332 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47334 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47337 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47342 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47343 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47344 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47347 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47348 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47349 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47352 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47353 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47354 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47357 COND_MONOLITHIC_0_SHARED_1
="#"
47358 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47359 COND_MONOLITHIC_0_SHARED_1
=""
47362 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47363 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47364 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47367 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47368 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47369 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47372 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47373 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47374 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47377 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47378 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47379 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47382 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47383 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47384 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47387 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47388 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47389 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47392 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47393 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47394 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47397 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47398 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47399 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47402 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47403 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47404 COND_MONOLITHIC_0_USE_ODBC_1
=""
47407 COND_MONOLITHIC_1
="#"
47408 if test "x$MONOLITHIC" = "x1" ; then
47409 COND_MONOLITHIC_1
=""
47412 COND_MONOLITHIC_1_SHARED_0
="#"
47413 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47414 COND_MONOLITHIC_1_SHARED_0
=""
47417 COND_MONOLITHIC_1_SHARED_1
="#"
47418 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47419 COND_MONOLITHIC_1_SHARED_1
=""
47422 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47423 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47424 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47427 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47428 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47429 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47432 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47433 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47434 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47437 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47438 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47439 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47442 COND_PLATFORM_MACOSX_1
="#"
47443 if test "x$PLATFORM_MACOSX" = "x1" ; then
47444 COND_PLATFORM_MACOSX_1
=""
47447 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47448 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47449 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47452 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47453 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47454 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47457 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47458 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47459 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47462 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47463 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47464 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47467 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47468 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47469 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47472 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47473 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47474 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47477 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47478 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47479 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47482 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47483 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47484 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47487 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47488 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47489 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47492 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47493 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47494 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47497 COND_PLATFORM_MACOS_1
="#"
47498 if test "x$PLATFORM_MACOS" = "x1" ; then
47499 COND_PLATFORM_MACOS_1
=""
47502 COND_PLATFORM_MAC_1
="#"
47503 if test "x$PLATFORM_MAC" = "x1" ; then
47504 COND_PLATFORM_MAC_1
=""
47507 COND_PLATFORM_MSDOS_0
="#"
47508 if test "x$PLATFORM_MSDOS" = "x0" ; then
47509 COND_PLATFORM_MSDOS_0
=""
47512 COND_PLATFORM_MSDOS_1
="#"
47513 if test "x$PLATFORM_MSDOS" = "x1" ; then
47514 COND_PLATFORM_MSDOS_1
=""
47517 COND_PLATFORM_OS2_1
="#"
47518 if test "x$PLATFORM_OS2" = "x1" ; then
47519 COND_PLATFORM_OS2_1
=""
47522 COND_PLATFORM_UNIX_0
="#"
47523 if test "x$PLATFORM_UNIX" = "x0" ; then
47524 COND_PLATFORM_UNIX_0
=""
47527 COND_PLATFORM_UNIX_1
="#"
47528 if test "x$PLATFORM_UNIX" = "x1" ; then
47529 COND_PLATFORM_UNIX_1
=""
47532 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47533 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47534 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47537 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47538 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47539 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47542 COND_PLATFORM_WIN32_0
="#"
47543 if test "x$PLATFORM_WIN32" = "x0" ; then
47544 COND_PLATFORM_WIN32_0
=""
47547 COND_PLATFORM_WIN32_1
="#"
47548 if test "x$PLATFORM_WIN32" = "x1" ; then
47549 COND_PLATFORM_WIN32_1
=""
47553 if test "x$SHARED" = "x0" ; then
47557 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47558 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47559 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47562 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47563 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47564 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47567 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47568 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47569 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47572 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47573 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47574 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47577 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47578 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47579 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47582 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47583 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47584 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47587 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47588 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47589 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47592 COND_SHARED_0_USE_XRC_1
="#"
47593 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47594 COND_SHARED_0_USE_XRC_1
=""
47597 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47598 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47599 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47602 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47603 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47604 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47607 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47608 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47609 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47612 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47613 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47614 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47618 if test "x$SHARED" = "x1" ; then
47622 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47623 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47624 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47627 COND_SHARED_1_USE_XRC_1
="#"
47628 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47629 COND_SHARED_1_USE_XRC_1
=""
47633 if test "x$TOOLKIT" = "x" ; then
47637 COND_TOOLKIT_COCOA
="#"
47638 if test "x$TOOLKIT" = "xCOCOA" ; then
47639 COND_TOOLKIT_COCOA
=""
47642 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47643 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47644 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47647 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47648 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47649 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47652 COND_TOOLKIT_GTK
="#"
47653 if test "x$TOOLKIT" = "xGTK" ; then
47654 COND_TOOLKIT_GTK
=""
47657 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47658 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47662 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47663 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47664 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47667 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47668 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47669 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47672 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47673 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47674 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
47677 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
47678 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47679 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
47682 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
47683 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47684 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
47687 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47688 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47689 COND_TOOLKIT_GTK_USE_GUI_1
=""
47692 COND_TOOLKIT_MAC
="#"
47693 if test "x$TOOLKIT" = "xMAC" ; then
47694 COND_TOOLKIT_MAC
=""
47697 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47698 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47699 COND_TOOLKIT_MAC_USE_GUI_1
=""
47702 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47703 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47704 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47707 COND_TOOLKIT_MGL
="#"
47708 if test "x$TOOLKIT" = "xMGL" ; then
47709 COND_TOOLKIT_MGL
=""
47712 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47713 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47714 COND_TOOLKIT_MGL_USE_GUI_1
=""
47717 COND_TOOLKIT_MOTIF
="#"
47718 if test "x$TOOLKIT" = "xMOTIF" ; then
47719 COND_TOOLKIT_MOTIF
=""
47722 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47723 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47724 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47727 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47728 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47729 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47732 COND_TOOLKIT_MSW
="#"
47733 if test "x$TOOLKIT" = "xMSW" ; then
47734 COND_TOOLKIT_MSW
=""
47737 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47738 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47739 COND_TOOLKIT_MSW_USE_GUI_1
=""
47742 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47743 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47744 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47747 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47748 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47749 COND_TOOLKIT_MSW_WXUNIV_0
=""
47752 COND_TOOLKIT_PM
="#"
47753 if test "x$TOOLKIT" = "xPM" ; then
47757 COND_TOOLKIT_PM_USE_GUI_1
="#"
47758 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47759 COND_TOOLKIT_PM_USE_GUI_1
=""
47762 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47763 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47764 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47767 COND_TOOLKIT_WINCE
="#"
47768 if test "x$TOOLKIT" = "xWINCE" ; then
47769 COND_TOOLKIT_WINCE
=""
47772 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47773 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47774 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47777 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47778 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47779 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47782 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47783 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47784 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47787 COND_TOOLKIT_X11
="#"
47788 if test "x$TOOLKIT" = "xX11" ; then
47789 COND_TOOLKIT_X11
=""
47792 COND_TOOLKIT_X11_USE_GUI_1
="#"
47793 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47794 COND_TOOLKIT_X11_USE_GUI_1
=""
47798 if test "x$UNICODE" = "x1" ; then
47802 COND_USE_EXCEPTIONS_0
="#"
47803 if test "x$USE_EXCEPTIONS" = "x0" ; then
47804 COND_USE_EXCEPTIONS_0
=""
47807 COND_USE_EXCEPTIONS_1
="#"
47808 if test "x$USE_EXCEPTIONS" = "x1" ; then
47809 COND_USE_EXCEPTIONS_1
=""
47813 if test "x$USE_GUI" = "x0" ; then
47818 if test "x$USE_GUI" = "x1" ; then
47822 COND_USE_GUI_1_WXUNIV_0
="#"
47823 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47824 COND_USE_GUI_1_WXUNIV_0
=""
47827 COND_USE_GUI_1_WXUNIV_1
="#"
47828 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47829 COND_USE_GUI_1_WXUNIV_1
=""
47832 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47833 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47834 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47837 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47838 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47839 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47842 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47843 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47844 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47847 COND_USE_ODBC_1
="#"
47848 if test "x$USE_ODBC" = "x1" ; then
47852 COND_USE_OPENGL_1
="#"
47853 if test "x$USE_OPENGL" = "x1" ; then
47854 COND_USE_OPENGL_1
=""
47858 if test "x$USE_PCH" = "x1" ; then
47862 COND_USE_PLUGINS_0
="#"
47863 if test "x$USE_PLUGINS" = "x0" ; then
47864 COND_USE_PLUGINS_0
=""
47867 COND_USE_RTTI_0
="#"
47868 if test "x$USE_RTTI" = "x0" ; then
47872 COND_USE_RTTI_1
="#"
47873 if test "x$USE_RTTI" = "x1" ; then
47877 COND_USE_SOSYMLINKS_1
="#"
47878 if test "x$USE_SOSYMLINKS" = "x1" ; then
47879 COND_USE_SOSYMLINKS_1
=""
47882 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
47883 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47884 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
47887 COND_USE_SOVERLINUX_1
="#"
47888 if test "x$USE_SOVERLINUX" = "x1" ; then
47889 COND_USE_SOVERLINUX_1
=""
47892 COND_USE_SOVERSION_0
="#"
47893 if test "x$USE_SOVERSION" = "x0" ; then
47894 COND_USE_SOVERSION_0
=""
47897 COND_USE_SOVERSOLARIS_1
="#"
47898 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47899 COND_USE_SOVERSOLARIS_1
=""
47902 COND_USE_THREADS_0
="#"
47903 if test "x$USE_THREADS" = "x0" ; then
47904 COND_USE_THREADS_0
=""
47907 COND_USE_THREADS_1
="#"
47908 if test "x$USE_THREADS" = "x1" ; then
47909 COND_USE_THREADS_1
=""
47913 if test "x$USE_XRC" = "x1" ; then
47917 COND_WINDOWS_IMPLIB_1
="#"
47918 if test "x$WINDOWS_IMPLIB" = "x1" ; then
47919 COND_WINDOWS_IMPLIB_1
=""
47922 COND_WITH_PLUGIN_SDL_1
="#"
47923 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
47924 COND_WITH_PLUGIN_SDL_1
=""
47928 if test "x$WXUNIV" = "x0" ; then
47933 if test "x$WXUNIV" = "x1" ; then
47937 COND_WXUSE_EXPAT_BUILTIN
="#"
47938 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
47939 COND_WXUSE_EXPAT_BUILTIN
=""
47942 COND_WXUSE_LIBJPEG_BUILTIN
="#"
47943 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47944 COND_WXUSE_LIBJPEG_BUILTIN
=""
47947 COND_WXUSE_LIBPNG_BUILTIN
="#"
47948 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47949 COND_WXUSE_LIBPNG_BUILTIN
=""
47952 COND_WXUSE_LIBTIFF_BUILTIN
="#"
47953 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47954 COND_WXUSE_LIBTIFF_BUILTIN
=""
47957 COND_WXUSE_ODBC_BUILTIN
="#"
47958 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
47959 COND_WXUSE_ODBC_BUILTIN
=""
47962 COND_WXUSE_REGEX_BUILTIN
="#"
47963 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
47964 COND_WXUSE_REGEX_BUILTIN
=""
47967 COND_WXUSE_ZLIB_BUILTIN
="#"
47968 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
47969 COND_WXUSE_ZLIB_BUILTIN
=""
47974 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
47975 { { 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
47976 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;}
47977 { (exit 1); exit 1; }; }
47980 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
47981 { { 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
47982 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;}
47983 { (exit 1); exit 1; }; }
47988 if test "$wxUSE_MAC" = 1 ; then
47989 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
47990 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
47996 if test "$wxUSE_SHARED" = "yes"; then
47998 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
47999 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48002 *-pc-os2_emx | *-pc-os2-emx )
48003 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48004 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48005 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48006 cp -p ${srcdir}/src
/os
2/dllar.sh .
48011 EXE_LINKER
="$CXX -o"
48014 if test "$wxUSE_OMF" = "yes"; then
48016 *-pc-os2_emx | *-pc-os2-emx )
48017 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48018 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48019 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48024 if test $GCC_PCH = 1 ; then
48025 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48028 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48030 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48092 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48093 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48094 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48095 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48096 echo $ECHO_N "(cached) $ECHO_C" >&6
48098 cat >conftest.
make <<\_ACEOF
48100 @
echo 'ac_maketemp="$(MAKE)"'
48102 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48103 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48104 if test -n "$ac_maketemp"; then
48105 eval ac_cv_prog_make_
${ac_make}_set
=yes
48107 eval ac_cv_prog_make_
${ac_make}_set
=no
48109 rm -f conftest.
make
48111 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48112 echo "$as_me:$LINENO: result: yes" >&5
48113 echo "${ECHO_T}yes" >&6
48116 echo "$as_me:$LINENO: result: no" >&5
48117 echo "${ECHO_T}no" >&6
48118 SET_MAKE
="MAKE=${MAKE-make}"
48123 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48126 if test "$USE_WIN32" = 1; then
48127 ac_config_commands
="$ac_config_commands
48133 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48136 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48139 ac_config_files
="$ac_config_files version-script Makefile"
48142 ac_config_commands
="$ac_config_commands wx-config"
48146 if test "$wxWITH_SUBDIRS" != "no"; then
48147 if test "$wxUSE_GUI" = "yes"; then
48148 SUBDIRS
="samples demos utils contrib"
48149 else SUBDIRS
="samples utils"
48154 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48155 if test "${with_cppunit_prefix+set}" = set; then
48156 withval
="$with_cppunit_prefix"
48157 cppunit_config_prefix
="$withval"
48159 cppunit_config_prefix
=""
48162 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48163 if test "${with_cppunit_exec_prefix+set}" = set; then
48164 withval
="$with_cppunit_exec_prefix"
48165 cppunit_config_exec_prefix
="$withval"
48167 cppunit_config_exec_prefix
=""
48170 if test x
$cppunit_config_exec_prefix != x
; then
48171 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48172 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48173 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48176 if test x
$cppunit_config_prefix != x
; then
48177 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48178 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48179 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48183 # Extract the first word of "cppunit-config", so it can be a program name with args.
48184 set dummy cppunit
-config; ac_word
=$2
48185 echo "$as_me:$LINENO: checking for $ac_word" >&5
48186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48187 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48188 echo $ECHO_N "(cached) $ECHO_C" >&6
48190 case $CPPUNIT_CONFIG in
48192 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48196 for as_dir
in $PATH
48199 test -z "$as_dir" && as_dir
=.
48200 for ac_exec_ext
in '' $ac_executable_extensions; do
48201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48202 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48209 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48213 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48215 if test -n "$CPPUNIT_CONFIG"; then
48216 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48217 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48219 echo "$as_me:$LINENO: result: no" >&5
48220 echo "${ECHO_T}no" >&6
48223 cppunit_version_min
=1.8.0
48225 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48226 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48228 if test "$CPPUNIT_CONFIG" = "no" ; then
48231 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48232 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48233 cppunit_version
=`$CPPUNIT_CONFIG --version`
48235 cppunit_major_version
=`echo $cppunit_version | \
48236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48237 cppunit_minor_version
=`echo $cppunit_version | \
48238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48239 cppunit_micro_version
=`echo $cppunit_version | \
48240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48242 cppunit_major_min
=`echo $cppunit_version_min | \
48243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48244 cppunit_minor_min
=`echo $cppunit_version_min | \
48245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48246 cppunit_micro_min
=`echo $cppunit_version_min | \
48247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48249 cppunit_version_proper
=`expr \
48250 $cppunit_major_version \> $cppunit_major_min \| \
48251 $cppunit_major_version \= $cppunit_major_min \& \
48252 $cppunit_minor_version \> $cppunit_minor_min \| \
48253 $cppunit_major_version \= $cppunit_major_min \& \
48254 $cppunit_minor_version \= $cppunit_minor_min \& \
48255 $cppunit_micro_version \>= $cppunit_micro_min `
48257 if test "$cppunit_version_proper" = "1" ; then
48258 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48259 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48261 echo "$as_me:$LINENO: result: no" >&5
48262 echo "${ECHO_T}no" >&6
48267 if test "x$no_cppunit" = x
; then
48268 SUBDIRS
="$SUBDIRS tests"
48279 for subdir
in `echo $SUBDIRS`; do
48280 if test -d ${srcdir}/${subdir} ; then
48281 if test "$wxUSE_GUI" = "yes"; then
48282 if test ${subdir} = "samples"; then
48283 makefiles
="samples/Makefile.in $makefiles"
48284 for sample
in `echo $SAMPLES_SUBDIRS`; do
48285 if test -d $srcdir/samples
/$sample; then
48286 makefiles
="samples/$sample/Makefile.in $makefiles"
48290 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48291 eval "disabled=\$$disabled_var"
48292 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48293 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48295 else if test ${subdir} = "samples"; then
48296 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48297 elif test ${subdir} = "utils"; then
48299 for util
in HelpGen tex2rtf
; do
48300 if test -d $srcdir/utils
/$util ; then
48301 makefiles
="utils/$util/Makefile.in \
48302 utils/$util/src/Makefile.in \
48306 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48310 for mkin
in $makefiles ; do
48311 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48312 ac_config_files
="$ac_config_files $mk"
48318 cat >confcache
<<\_ACEOF
48319 # This file is a shell script that caches the results of configure
48320 # tests run on this system so they can be shared between configure
48321 # scripts and configure runs, see configure's option --config-cache.
48322 # It is not useful on other systems. If it contains results you don't
48323 # want to keep, you may remove or edit it.
48325 # config.status only pays attention to the cache file if you give it
48326 # the --recheck option to rerun configure.
48328 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48329 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48330 # following values.
48334 # The following way of writing the cache mishandles newlines in values,
48335 # but we know of no workaround that is simple, portable, and efficient.
48336 # So, don't put newlines in cache variables' values.
48337 # Ultrix sh set writes to stderr and can't be redirected directly,
48338 # and sets the high bit in the cache file unless we assign to the vars.
48341 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48343 # `set' does not quote correctly, so add quotes (double-quote
48344 # substitution turns \\\\ into \\, and sed turns \\ into \).
48347 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48350 # `set' quotes correctly as required by POSIX, so do not add quotes.
48352 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48359 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48361 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48363 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48364 if test -w $cache_file; then
48365 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48366 cat confcache
>$cache_file
48368 echo "not updating unwritable cache $cache_file"
48373 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48374 # Let make expand exec_prefix.
48375 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48377 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48378 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48379 # trailing colons and then remove the whole line if VPATH becomes empty
48380 # (actually we leave an empty line to preserve line numbers).
48381 if test "x$srcdir" = x.
; then
48382 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48383 s/:*\$(srcdir):*/:/;
48384 s/:*\${srcdir}:*/:/;
48386 s/^\([^=]*=[ ]*\):*/\1/;
48392 DEFS
=-DHAVE_CONFIG_H
48396 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48397 # 1. Remove the extension, and $U if already installed.
48398 ac_i
=`echo "$ac_i" |
48399 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48401 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48402 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48404 LIBOBJS
=$ac_libobjs
48406 LTLIBOBJS
=$ac_ltlibobjs
48410 : ${CONFIG_STATUS=./config.status}
48411 ac_clean_files_save
=$ac_clean_files
48412 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48413 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48414 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48415 cat >$CONFIG_STATUS <<_ACEOF
48417 # Generated by $as_me.
48418 # Run this file to recreate the current configuration.
48419 # Compiler output produced by configure, useful for debugging
48420 # configure, is in config.log if it exists.
48423 ac_cs_recheck=false
48425 SHELL=\${CONFIG_SHELL-$SHELL}
48428 cat >>$CONFIG_STATUS <<\_ACEOF
48429 ## --------------------- ##
48430 ## M4sh Initialization. ##
48431 ## --------------------- ##
48433 # Be Bourne compatible
48434 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48437 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48438 # is contrary to our usage. Disable this feature.
48439 alias -g '${1+"$@"}'='"$@"'
48440 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48443 DUALCASE
=1; export DUALCASE
# for MKS sh
48445 # Support unset when possible.
48446 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48453 # Work around bugs in pre-3.0 UWIN ksh.
48454 $as_unset ENV MAIL MAILPATH
48461 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48462 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48463 LC_TELEPHONE LC_TIME
48465 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48466 eval $as_var=C
; export $as_var
48472 # Required to use basename.
48473 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48479 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48480 as_basename
=basename
48486 # Name of the executable.
48487 as_me
=`$as_basename "$0" ||
48488 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48489 X"$0" : 'X\(//\)$' \| \
48490 X"$0" : 'X\(/\)$' \| \
48491 . : '\(.\)' 2>/dev/null ||
48493 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48494 /^X\/\(\/\/\)$/{ s//\1/; q; }
48495 /^X\/\(\/\).*/{ s//\1/; q; }
48499 # PATH needs CR, and LINENO needs CR and PATH.
48500 # Avoid depending upon Character Ranges.
48501 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48502 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48503 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48504 as_cr_digits
='0123456789'
48505 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48507 # The user is always right.
48508 if test "${PATH_SEPARATOR+set}" != set; then
48509 echo "#! /bin/sh" >conf$$.sh
48510 echo "exit 0" >>conf$$.sh
48512 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48521 as_lineno_1
=$LINENO
48522 as_lineno_2
=$LINENO
48523 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48524 test "x$as_lineno_1" != "x$as_lineno_2" &&
48525 test "x$as_lineno_3" = "x$as_lineno_2" || {
48526 # Find who we are. Look in the path if we contain no path at all
48529 *[\\/]* ) as_myself
=$0 ;;
48530 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48531 for as_dir
in $PATH
48534 test -z "$as_dir" && as_dir
=.
48535 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48540 # We did not find ourselves, most probably we were run as `sh COMMAND'
48541 # in which case we are not to be found in the path.
48542 if test "x$as_myself" = x
; then
48545 if test ! -f "$as_myself"; then
48546 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48547 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48548 { (exit 1); exit 1; }; }
48550 case $CONFIG_SHELL in
48552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48553 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48556 test -z "$as_dir" && as_dir
=.
48557 for as_base
in sh bash ksh sh5
; do
48560 if ("$as_dir/$as_base" -c '
48561 as_lineno_1=$LINENO
48562 as_lineno_2=$LINENO
48563 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48564 test "x$as_lineno_1" != "x$as_lineno_2" &&
48565 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48566 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48567 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48568 CONFIG_SHELL
=$as_dir/$as_base
48569 export CONFIG_SHELL
48570 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48578 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48579 # uniformly replaced by the line number. The first 'sed' inserts a
48580 # line-number line before each line; the second 'sed' does the real
48581 # work. The second script uses 'N' to pair each line-number line
48582 # with the numbered line, and appends trailing '-' during
48583 # substitution so that $LINENO is not a special case at line end.
48584 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48585 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48586 sed '=' <$as_myself |
48591 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48594 s,^['$as_cr_digits']*\n,,
48595 ' >$as_me.lineno
&&
48596 chmod +x
$as_me.lineno
||
48597 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48598 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48599 { (exit 1); exit 1; }; }
48601 # Don't try to exec as it changes $[0], causing all sort of problems
48602 # (the dirname of $[0] is not the place where we might find the
48603 # original and so on. Autoconf is especially sensible to this).
48605 # Exit status is that of the last command.
48610 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48611 *c
*,-n*) ECHO_N
= ECHO_C
='
48613 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48614 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48617 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48623 rm -f conf$$ conf$$.exe conf$$.
file
48625 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48626 # We could just check for DJGPP; but this test a) works b) is more generic
48627 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48628 if test -f conf$$.exe
; then
48629 # Don't use ln at all; we don't have any links
48634 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48639 rm -f conf$$ conf$$.exe conf$$.
file
48641 if mkdir -p .
2>/dev
/null
; then
48644 test -d .
/-p && rmdir .
/-p
48648 as_executable_p
="test -f"
48650 # Sed expression to map a string onto a valid CPP name.
48651 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48653 # Sed expression to map a string onto a valid variable name.
48654 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48658 # We need space, tab and new line, in precisely that order.
48668 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48669 # report actual input values of CONFIG_FILES etc. instead of their
48670 # values after options handling. Logging --version etc. is OK.
48674 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48675 ## Running $as_me. ##
48680 This file was extended by wxWidgets $as_me 2.7.0, which was
48681 generated by GNU Autoconf 2.59. Invocation command line was
48683 CONFIG_FILES = $CONFIG_FILES
48684 CONFIG_HEADERS = $CONFIG_HEADERS
48685 CONFIG_LINKS = $CONFIG_LINKS
48686 CONFIG_COMMANDS = $CONFIG_COMMANDS
48690 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48694 # Files that config.status was made for.
48695 if test -n "$ac_config_files"; then
48696 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48699 if test -n "$ac_config_headers"; then
48700 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48703 if test -n "$ac_config_links"; then
48704 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48707 if test -n "$ac_config_commands"; then
48708 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48711 cat >>$CONFIG_STATUS <<\_ACEOF
48714 \`$as_me' instantiates files from templates according to the
48715 current configuration.
48717 Usage: $0 [OPTIONS] [FILE]...
48719 -h, --help print this help, then exit
48720 -V, --version print version number, then exit
48721 -q, --quiet do not print progress messages
48722 -d, --debug don't remove temporary files
48723 --recheck update $as_me by reconfiguring in the same conditions
48724 --file=FILE[:TEMPLATE]
48725 instantiate the configuration file FILE
48726 --header=FILE[:TEMPLATE]
48727 instantiate the configuration header FILE
48729 Configuration files:
48732 Configuration headers:
48735 Configuration commands:
48738 Report bugs to <bug-autoconf@gnu.org>."
48741 cat >>$CONFIG_STATUS <<_ACEOF
48743 wxWidgets config.status 2.7.0
48744 configured by $0, generated by GNU Autoconf 2.59,
48745 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48747 Copyright (C) 2003 Free Software Foundation, Inc.
48748 This config.status script is free software; the Free Software Foundation
48749 gives unlimited permission to copy, distribute and modify it."
48754 cat >>$CONFIG_STATUS <<\_ACEOF
48755 # If no file are specified by the user, then we need to provide default
48756 # value. By we need to know if files were specified by the user.
48762 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48763 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48771 *) # This is not an option, so the user has probably given explicit
48774 ac_need_defaults
=false
;;
48778 # Handling of the options.
48780 cat >>$CONFIG_STATUS <<\_ACEOF
48781 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48783 --version | --vers* | -V )
48784 echo "$ac_cs_version"; exit 0 ;;
48786 # Conflict between --help and --header
48787 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48788 Try \`$0 --help' for more information." >&5
48789 echo "$as_me: error: ambiguous option: $1
48790 Try \`$0 --help' for more information." >&2;}
48791 { (exit 1); exit 1; }; };;
48792 --help | --hel | -h )
48793 echo "$ac_cs_usage"; exit 0 ;;
48794 --debug | --d* | -d )
48796 --file | --fil | --fi | --f )
48798 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48799 ac_need_defaults
=false
;;
48800 --header | --heade | --head | --hea )
48802 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48803 ac_need_defaults
=false
;;
48804 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48805 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48808 # This is an error.
48809 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48810 Try \`$0 --help' for more information." >&5
48811 echo "$as_me: error: unrecognized option: $1
48812 Try \`$0 --help' for more information." >&2;}
48813 { (exit 1); exit 1; }; } ;;
48815 *) ac_config_targets
="$ac_config_targets $1" ;;
48821 ac_configure_extra_args
=
48823 if $ac_cs_silent; then
48825 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48829 cat >>$CONFIG_STATUS <<_ACEOF
48830 if \$ac_cs_recheck; then
48831 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48832 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48837 cat >>$CONFIG_STATUS <<_ACEOF
48839 # INIT-COMMANDS section.
48844 infile="$srcdir/include/wx/msw/genrcdefs.h"
48845 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48848 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48849 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48850 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48858 cat >>$CONFIG_STATUS <<\_ACEOF
48859 for ac_config_target
in $ac_config_targets
48861 case "$ac_config_target" in
48862 # Handling of arguments.
48863 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48864 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48865 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48866 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48867 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48868 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48869 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48870 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48871 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48872 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48873 { (exit 1); exit 1; }; };;
48877 # If the user did not use the arguments to specify the items to instantiate,
48878 # then the envvar interface is used. Set only those that are not.
48879 # We use the long form for the default assignment because of an extremely
48880 # bizarre bug on SunOS 4.1.3.
48881 if $ac_need_defaults; then
48882 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
48883 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
48884 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
48887 # Have a temporary directory for convenience. Make it in the build tree
48888 # simply because there is no reason to put it here, and in addition,
48889 # creating and moving files from /tmp can sometimes cause problems.
48890 # Create a temporary directory, and hook for its removal unless debugging.
48893 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48894 trap '{ (exit 1); exit 1; }' 1 2 13 15
48897 # Create a (secure) tmp directory for tmp files.
48900 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48901 test -n "$tmp" && test -d "$tmp"
48904 tmp
=.
/confstat$$
-$RANDOM
48905 (umask 077 && mkdir $tmp)
48908 echo "$me: cannot create a temporary directory in ." >&2
48909 { (exit 1); exit 1; }
48914 cat >>$CONFIG_STATUS <<_ACEOF
48917 # CONFIG_FILES section.
48920 # No need to generate the scripts if there are no CONFIG_FILES.
48921 # This happens for instance when ./config.status config.h
48922 if test -n "\$CONFIG_FILES"; then
48923 # Protect against being on the right side of a sed subst in config.status.
48924 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
48925 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
48926 s,@SHELL@,$SHELL,;t t
48927 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
48928 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
48929 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
48930 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
48931 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
48932 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
48933 s,@exec_prefix@,$exec_prefix,;t t
48934 s,@prefix@,$prefix,;t t
48935 s,@program_transform_name@,$program_transform_name,;t t
48936 s,@bindir@,$bindir,;t t
48937 s,@sbindir@,$sbindir,;t t
48938 s,@libexecdir@,$libexecdir,;t t
48939 s,@datadir@,$datadir,;t t
48940 s,@sysconfdir@,$sysconfdir,;t t
48941 s,@sharedstatedir@,$sharedstatedir,;t t
48942 s,@localstatedir@,$localstatedir,;t t
48943 s,@libdir@,$libdir,;t t
48944 s,@includedir@,$includedir,;t t
48945 s,@oldincludedir@,$oldincludedir,;t t
48946 s,@infodir@,$infodir,;t t
48947 s,@mandir@,$mandir,;t t
48948 s,@build_alias@,$build_alias,;t t
48949 s,@host_alias@,$host_alias,;t t
48950 s,@target_alias@,$target_alias,;t t
48951 s,@DEFS@,$DEFS,;t t
48952 s,@ECHO_C@,$ECHO_C,;t t
48953 s,@ECHO_N@,$ECHO_N,;t t
48954 s,@ECHO_T@,$ECHO_T,;t t
48955 s,@LIBS@,$LIBS,;t t
48956 s,@build@,$build,;t t
48957 s,@build_cpu@,$build_cpu,;t t
48958 s,@build_vendor@,$build_vendor,;t t
48959 s,@build_os@,$build_os,;t t
48960 s,@host@,$host,;t t
48961 s,@host_cpu@,$host_cpu,;t t
48962 s,@host_vendor@,$host_vendor,;t t
48963 s,@host_os@,$host_os,;t t
48964 s,@target@,$target,;t t
48965 s,@target_cpu@,$target_cpu,;t t
48966 s,@target_vendor@,$target_vendor,;t t
48967 s,@target_os@,$target_os,;t t
48969 s,@CFLAGS@,$CFLAGS,;t t
48970 s,@LDFLAGS@,$LDFLAGS,;t t
48971 s,@CPPFLAGS@,$CPPFLAGS,;t t
48972 s,@ac_ct_CC@,$ac_ct_CC,;t t
48973 s,@EXEEXT@,$EXEEXT,;t t
48974 s,@OBJEXT@,$OBJEXT,;t t
48976 s,@EGREP@,$EGREP,;t t
48978 s,@CXXFLAGS@,$CXXFLAGS,;t t
48979 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
48980 s,@RANLIB@,$RANLIB,;t t
48981 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
48983 s,@ac_ct_AR@,$ac_ct_AR,;t t
48984 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
48985 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
48986 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
48987 s,@STRIP@,$STRIP,;t t
48988 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
48989 s,@WINDRES@,$WINDRES,;t t
48990 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
48991 s,@DLLTOOL@,$DLLTOOL,;t t
48992 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
48993 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
48994 s,@LN_S@,$LN_S,;t t
48995 s,@CXXCPP@,$CXXCPP,;t t
48996 s,@subdirs@,$subdirs,;t t
48997 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
48998 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
48999 s,@GTK_LIBS@,$GTK_LIBS,;t t
49000 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49001 s,@X_CFLAGS@,$X_CFLAGS,;t t
49002 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49003 s,@X_LIBS@,$X_LIBS,;t t
49004 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49005 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49006 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49007 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49008 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49009 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49010 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49012 s,@DEREZ@,$DEREZ,;t t
49013 s,@SETFILE@,$SETFILE,;t t
49014 s,@LIBICONV@,$LIBICONV,;t t
49015 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49016 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49017 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49018 s,@SDL_LIBS@,$SDL_LIBS,;t t
49019 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49020 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49021 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49022 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49023 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49024 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49025 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49026 s,@GST_LIBS@,$GST_LIBS,;t t
49027 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49028 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49029 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49030 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49031 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49032 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49033 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49034 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49035 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49036 s,@VENDOR@,$VENDOR,;t t
49037 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49038 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49039 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49040 s,@WXUNIV@,$WXUNIV,;t t
49041 s,@MONOLITHIC@,$MONOLITHIC,;t t
49042 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49043 s,@EXTRALIBS@,$EXTRALIBS,;t t
49044 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49045 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49046 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49047 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49048 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49049 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49050 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49051 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49052 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49053 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49054 s,@UNICODE@,$UNICODE,;t t
49055 s,@BUILD@,$BUILD,;t t
49056 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49057 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49058 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49059 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49060 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49061 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49062 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49063 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49064 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49065 s,@SET_MAKE@,$SET_MAKE,;t t
49066 s,@MAKE_SET@,$MAKE_SET,;t t
49068 s,@ac_ct_NM@,$ac_ct_NM,;t t
49069 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49070 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49071 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49072 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49073 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49074 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49075 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49076 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49077 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49078 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49079 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49080 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49081 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49082 s,@LIBPREFIX@,$LIBPREFIX,;t t
49083 s,@LIBEXT@,$LIBEXT,;t t
49084 s,@DLLPREFIX@,$DLLPREFIX,;t t
49085 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49086 s,@dlldir@,$dlldir,;t t
49087 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49088 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49089 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49090 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49091 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49092 s,@PIC_FLAG@,$PIC_FLAG,;t t
49093 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49094 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49095 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49096 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49097 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49098 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49099 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49100 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49101 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49102 s,@GCC_PCH@,$GCC_PCH,;t t
49103 s,@ICC_PCH@,$ICC_PCH,;t t
49104 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49105 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49106 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49107 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49108 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49109 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49110 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49111 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49112 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49113 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49114 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49115 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49116 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49117 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49118 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49119 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49120 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49121 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49122 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49123 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
49124 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
49125 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
49126 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
49127 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49128 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49129 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49130 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49131 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
49132 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
49133 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
49134 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
49135 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49136 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49137 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49138 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49139 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49140 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49141 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49142 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49143 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49144 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49145 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49146 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49147 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49148 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49149 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49150 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49151 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49152 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
49153 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49154 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49155 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49156 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49157 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49158 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49159 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49160 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49161 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49162 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49163 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49164 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49165 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49166 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49167 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49168 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49169 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49170 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49171 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49172 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49173 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49174 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49175 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49176 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49177 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49178 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49179 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49180 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49181 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49182 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49183 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49184 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49185 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49186 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49187 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49188 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49189 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49190 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49191 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49192 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
49193 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49194 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49195 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49196 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49197 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49198 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49199 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49200 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49201 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49202 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49203 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49204 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49205 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49206 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49207 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49208 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49209 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49210 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49211 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49212 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49213 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49214 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49215 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49216 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49217 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49218 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49219 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49220 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49221 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49222 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49223 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49224 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49225 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49226 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49227 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49228 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49229 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49230 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49231 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49232 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49233 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49234 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49235 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49236 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49237 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49238 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49239 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49240 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49241 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49242 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49243 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49244 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49245 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49246 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49247 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49248 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49249 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49250 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49251 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49252 s,@SHARED@,$SHARED,;t t
49253 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49254 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49255 s,@USE_GUI@,$USE_GUI,;t t
49256 s,@AFMINSTALL@,$AFMINSTALL,;t t
49257 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49258 s,@TOOLKIT@,$TOOLKIT,;t t
49259 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49260 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49261 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49262 s,@cross_compiling@,$cross_compiling,;t t
49263 s,@WIDGET_SET@,$WIDGET_SET,;t t
49264 s,@WX_RELEASE@,$WX_RELEASE,;t t
49265 s,@WX_VERSION@,$WX_VERSION,;t t
49266 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49267 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49268 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49269 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49270 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49271 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49272 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49273 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49274 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49275 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49276 s,@EXE_LINKER@,$EXE_LINKER,;t t
49277 s,@GUIDIST@,$GUIDIST,;t t
49278 s,@DISTDIR@,$DISTDIR,;t t
49279 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49280 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49281 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49282 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49283 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49284 s,@RESCOMP@,$RESCOMP,;t t
49285 s,@RESFLAGS@,$RESFLAGS,;t t
49286 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49287 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49288 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49289 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49290 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49291 s,@MACSETFILE@,$MACSETFILE,;t t
49293 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49294 s,@LIBOBJS@,$LIBOBJS,;t t
49295 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49300 cat >>$CONFIG_STATUS <<\_ACEOF
49301 # Split the substitutions into bite-sized pieces for seds with
49302 # small command number limits, like on Digital OSF/1 and HP-UX.
49303 ac_max_sed_lines
=48
49304 ac_sed_frag
=1 # Number of current file.
49305 ac_beg
=1 # First line for current file.
49306 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49309 while $ac_more_lines; do
49310 if test $ac_beg -gt 1; then
49311 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49313 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49315 if test ! -s $tmp/subs.frag
; then
49316 ac_more_lines
=false
49318 # The purpose of the label and of the branching condition is to
49319 # speed up the sed processing (if there are no `@' at all, there
49320 # is no need to browse any of the substitutions).
49321 # These are the two extra sed commands mentioned above.
49323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49324 if test -z "$ac_sed_cmds"; then
49325 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49327 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49329 ac_sed_frag
=`expr $ac_sed_frag + 1`
49331 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49334 if test -z "$ac_sed_cmds"; then
49337 fi # test -n "$CONFIG_FILES"
49340 cat >>$CONFIG_STATUS <<\_ACEOF
49341 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49342 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49344 - | *:- | *:-:* ) # input from stdin
49346 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49347 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49348 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49349 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49350 * ) ac_file_in
=$ac_file.
in ;;
49353 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49354 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49355 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49356 X"$ac_file" : 'X\(//\)[^/]' \| \
49357 X"$ac_file" : 'X\(//\)$' \| \
49358 X"$ac_file" : 'X\(/\)' \| \
49359 . : '\(.\)' 2>/dev/null ||
49361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49362 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49363 /^X\(\/\/\)$/{ s//\1/; q; }
49364 /^X\(\/\).*/{ s//\1/; q; }
49366 { if $as_mkdir_p; then
49371 while test ! -d "$as_dir"; do
49372 as_dirs
="$as_dir $as_dirs"
49373 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49375 X"$as_dir" : 'X\(//\)[^/]' \| \
49376 X"$as_dir" : 'X\(//\)$' \| \
49377 X"$as_dir" : 'X\(/\)' \| \
49378 . : '\(.\)' 2>/dev/null ||
49380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49382 /^X\(\/\/\)$/{ s//\1/; q; }
49383 /^X\(\/\).*/{ s//\1/; q; }
49386 test ! -n "$as_dirs" || mkdir $as_dirs
49387 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49388 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49389 { (exit 1); exit 1; }; }; }
49393 if test "$ac_dir" != .
; then
49394 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49395 # A "../" for each directory in $ac_dir_suffix.
49396 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49398 ac_dir_suffix
= ac_top_builddir
=
49402 .
) # No --srcdir option. We are building in place.
49404 if test -z "$ac_top_builddir"; then
49407 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49409 [\\/]* | ?
:[\\/]* ) # Absolute path.
49410 ac_srcdir
=$srcdir$ac_dir_suffix;
49411 ac_top_srcdir
=$srcdir ;;
49412 *) # Relative path.
49413 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49414 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49417 # Do not use `cd foo && pwd` to compute absolute paths, because
49418 # the directories may not exist.
49420 .
) ac_abs_builddir
="$ac_dir";;
49423 .
) ac_abs_builddir
=`pwd`;;
49424 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49425 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49428 case $ac_abs_builddir in
49429 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49431 case ${ac_top_builddir}.
in
49432 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49433 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49434 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49437 case $ac_abs_builddir in
49438 .
) ac_abs_srcdir
=$ac_srcdir;;
49441 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49442 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49443 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49446 case $ac_abs_builddir in
49447 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49449 case $ac_top_srcdir in
49450 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49451 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49452 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49458 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49459 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49462 # Let's still pretend it is `configure' which instantiates (i.e., don't
49463 # use $as_me), people would be surprised to read:
49464 # /* config.h. Generated by config.status. */
49465 if test x
"$ac_file" = x
-; then
49468 configure_input
="$ac_file. "
49470 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49471 sed 's,.*/,,'` by configure."
49473 # First look for the input files in the build tree, otherwise in the
49475 ac_file_inputs
=`IFS=:
49476 for f in $ac_file_in; do
49478 -) echo $tmp/stdin ;;
49480 # Absolute (can't be DOS-style, as IFS=:)
49481 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49482 echo "$as_me: error: cannot find input file: $f" >&2;}
49483 { (exit 1); exit 1; }; }
49486 if test -f "$f"; then
49489 elif test -f "$srcdir/$f"; then
49494 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49495 echo "$as_me: error: cannot find input file: $f" >&2;}
49496 { (exit 1); exit 1; }; }
49499 done` || { (exit 1); exit 1; }
49501 if test x
"$ac_file" != x
-; then
49502 { echo "$as_me:$LINENO: creating $ac_file" >&5
49503 echo "$as_me: creating $ac_file" >&6;}
49507 cat >>$CONFIG_STATUS <<_ACEOF
49511 cat >>$CONFIG_STATUS <<\_ACEOF
49513 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49514 s
,@configure_input@
,$configure_input,;t t
49515 s
,@srcdir@
,$ac_srcdir,;t t
49516 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49517 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49518 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49519 s
,@builddir@
,$ac_builddir,;t t
49520 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49521 s
,@top_builddir@
,$ac_top_builddir,;t t
49522 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49523 s
,@INSTALL@
,$ac_INSTALL,;t t
49524 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49526 if test x"$ac_file" != x-; then
49527 mv $tmp/out $ac_file
49533 # Run the commands associated with the file.
49535 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49536 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49540 cat >>$CONFIG_STATUS <<\_ACEOF
49543 # CONFIG_HEADER section.
49546 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49547 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49549 # ac_d sets the value in "#define NAME VALUE" lines.
49550 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49551 ac_dB
='[ ].*$,\1#\2'
49554 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49555 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49556 ac_uB
='$,\1#\2define\3'
49560 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49561 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49563 - | *:- | *:-:* ) # input from stdin
49565 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49566 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49567 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49568 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49569 * ) ac_file_in
=$ac_file.
in ;;
49572 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49573 echo "$as_me: creating $ac_file" >&6;}
49575 # First look for the input files in the build tree, otherwise in the
49577 ac_file_inputs
=`IFS=:
49578 for f in $ac_file_in; do
49580 -) echo $tmp/stdin ;;
49582 # Absolute (can't be DOS-style, as IFS=:)
49583 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49584 echo "$as_me: error: cannot find input file: $f" >&2;}
49585 { (exit 1); exit 1; }; }
49586 # Do quote $f, to prevent DOS paths from being IFS'd.
49589 if test -f "$f"; then
49592 elif test -f "$srcdir/$f"; then
49597 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49598 echo "$as_me: error: cannot find input file: $f" >&2;}
49599 { (exit 1); exit 1; }; }
49602 done` || { (exit 1); exit 1; }
49603 # Remove the trailing spaces.
49604 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49608 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49609 # `conftest.undefs', that substitutes the proper values into
49610 # config.h.in to produce config.h. The first handles `#define'
49611 # templates, and the second `#undef' templates.
49612 # And first: Protect against being on the right side of a sed subst in
49613 # config.status. Protect against being in an unquoted here document
49614 # in config.status.
49615 rm -f conftest.defines conftest.undefs
49616 # Using a here document instead of a string reduces the quoting nightmare.
49617 # Putting comments in sed scripts is not portable.
49619 # `end' is used to avoid that the second main sed command (meant for
49620 # 0-ary CPP macros) applies to n-ary macro definitions.
49621 # See the Autoconf documentation for `clear'.
49622 cat >confdef2sed.
sed <<\_ACEOF
49627 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49629 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49632 # If some macros were called several times there might be several times
49633 # the same #defines, which is useless. Nevertheless, we may not want to
49634 # sort them, since we want the *last* AC-DEFINE to be honored.
49635 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49636 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49637 rm -f confdef2sed.sed
49639 # This sed command replaces #undef with comments. This is necessary, for
49640 # example, in the case of _POSIX_SOURCE, which is predefined and required
49641 # on some systems where configure will not decide to define it.
49642 cat >>conftest.undefs <<\_ACEOF
49643 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49646 # Break up conftest.defines because some shells have a limit on the size
49647 # of here documents, and old seds have small limits too (100 cmds).
49648 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49649 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49650 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49651 echo ' :' >>$CONFIG_STATUS
49652 rm -f conftest.tail
49653 while grep . conftest.defines >/dev/null
49655 # Write a limited-size here document to $tmp/defines.sed.
49656 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49657 # Speed up: don't consider the non `#define' lines.
49658 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49659 # Work around the forget-to-reset-the-flag bug.
49660 echo 't clr' >>$CONFIG_STATUS
49661 echo ': clr' >>$CONFIG_STATUS
49662 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49664 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49666 mv $tmp/out $tmp/in
49668 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49669 rm -f conftest.defines
49670 mv conftest.
tail conftest.defines
49672 rm -f conftest.defines
49673 echo ' fi # grep' >>$CONFIG_STATUS
49674 echo >>$CONFIG_STATUS
49676 # Break up conftest.undefs because some shells have a limit on the size
49677 # of here documents, and old seds have small limits too (100 cmds).
49678 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49679 rm -f conftest.
tail
49680 while grep . conftest.undefs
>/dev
/null
49682 # Write a limited-size here document to $tmp/undefs.sed.
49683 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49684 # Speed up: don't consider the non
`#undef'
49685 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49686 # Work around the forget-to-reset-the-flag bug.
49687 echo 't clr' >>$CONFIG_STATUS
49688 echo ': clr' >>$CONFIG_STATUS
49689 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49691 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49693 mv $tmp/out $tmp/in
49695 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49696 rm -f conftest.undefs
49697 mv conftest.tail conftest.undefs
49699 rm -f conftest.undefs
49701 cat >>$CONFIG_STATUS <<\_ACEOF
49702 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49703 # use $as_me), people would be surprised to read:
49704 # /* config.h. Generated by config.status. */
49705 if test x
"$ac_file" = x
-; then
49706 echo "/* Generated by configure. */" >$tmp/config.h
49708 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49710 cat $tmp/in >>$tmp/config.h
49712 if test x
"$ac_file" != x
-; then
49713 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49714 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49715 echo "$as_me: $ac_file is unchanged" >&6;}
49717 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49718 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49719 X"$ac_file" : 'X\(//\)[^/]' \| \
49720 X"$ac_file" : 'X\(//\)$' \| \
49721 X"$ac_file" : 'X\(/\)' \| \
49722 . : '\(.\)' 2>/dev/null ||
49724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49725 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49726 /^X\(\/\/\)$/{ s//\1/; q; }
49727 /^X\(\/\).*/{ s//\1/; q; }
49729 { if $as_mkdir_p; then
49734 while test ! -d "$as_dir"; do
49735 as_dirs
="$as_dir $as_dirs"
49736 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49737 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49738 X"$as_dir" : 'X\(//\)[^/]' \| \
49739 X"$as_dir" : 'X\(//\)$' \| \
49740 X"$as_dir" : 'X\(/\)' \| \
49741 . : '\(.\)' 2>/dev/null ||
49743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49744 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49745 /^X\(\/\/\)$/{ s//\1/; q; }
49746 /^X\(\/\).*/{ s//\1/; q; }
49749 test ! -n "$as_dirs" || mkdir $as_dirs
49750 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49751 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49752 { (exit 1); exit 1; }; }; }
49755 mv $tmp/config.h
$ac_file
49759 rm -f $tmp/config.h
49763 cat >>$CONFIG_STATUS <<\_ACEOF
49766 # CONFIG_COMMANDS section.
49768 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49769 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49770 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49771 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49772 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49773 X"$ac_dest" : 'X\(//\)[^/]' \| \
49774 X"$ac_dest" : 'X\(//\)$' \| \
49775 X"$ac_dest" : 'X\(/\)' \| \
49776 . : '\(.\)' 2>/dev/null ||
49778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49779 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49780 /^X\(\/\/\)$/{ s//\1/; q; }
49781 /^X\(\/\).*/{ s//\1/; q; }
49783 { if $as_mkdir_p; then
49788 while test ! -d "$as_dir"; do
49789 as_dirs
="$as_dir $as_dirs"
49790 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49791 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49792 X"$as_dir" : 'X\(//\)[^/]' \| \
49793 X"$as_dir" : 'X\(//\)$' \| \
49794 X"$as_dir" : 'X\(/\)' \| \
49795 . : '\(.\)' 2>/dev/null ||
49797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49798 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49799 /^X\(\/\/\)$/{ s//\1/; q; }
49800 /^X\(\/\).*/{ s//\1/; q; }
49803 test ! -n "$as_dirs" || mkdir $as_dirs
49804 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49805 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49806 { (exit 1); exit 1; }; }; }
49810 if test "$ac_dir" != .
; then
49811 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49812 # A "../" for each directory in $ac_dir_suffix.
49813 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49815 ac_dir_suffix
= ac_top_builddir
=
49819 .
) # No --srcdir option. We are building in place.
49821 if test -z "$ac_top_builddir"; then
49824 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49826 [\\/]* | ?
:[\\/]* ) # Absolute path.
49827 ac_srcdir
=$srcdir$ac_dir_suffix;
49828 ac_top_srcdir
=$srcdir ;;
49829 *) # Relative path.
49830 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49831 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49834 # Do not use `cd foo && pwd` to compute absolute paths, because
49835 # the directories may not exist.
49837 .
) ac_abs_builddir
="$ac_dir";;
49840 .
) ac_abs_builddir
=`pwd`;;
49841 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49842 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49845 case $ac_abs_builddir in
49846 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49848 case ${ac_top_builddir}.
in
49849 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49850 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49851 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49854 case $ac_abs_builddir in
49855 .
) ac_abs_srcdir
=$ac_srcdir;;
49858 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49859 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49860 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49863 case $ac_abs_builddir in
49864 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49866 case $ac_top_srcdir in
49867 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49868 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49869 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49874 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49875 echo "$as_me: executing $ac_dest commands" >&6;}
49878 mkdir -p $outdir &&
49879 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49881 wx
-config ) rm -f wx
-config
49882 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
49888 cat >>$CONFIG_STATUS <<\_ACEOF
49890 { (exit 0); exit 0; }
49892 chmod +x
$CONFIG_STATUS
49893 ac_clean_files
=$ac_clean_files_save
49896 # configure is writing to config.log, and then calls config.status.
49897 # config.status does its own redirection, appending to config.log.
49898 # Unfortunately, on DOS this fails, as config.log is still kept open
49899 # by configure, so config.status won't be able to write to it; its
49900 # output is simply discarded. So we exec the FD to /dev/null,
49901 # effectively closing config.log, so it can be properly (re)opened and
49902 # appended to by config.status. When coming back to configure, we
49903 # need to make the FD available again.
49904 if test "$no_create" != yes; then
49906 ac_config_status_args
=
49907 test "$silent" = yes &&
49908 ac_config_status_args
="$ac_config_status_args --quiet"
49910 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
49912 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49913 # would make configure fail if this is the last instruction.
49914 $ac_cs_success || { (exit 1); exit 1; }
49918 # CONFIG_SUBDIRS section.
49920 if test "$no_recursion" != yes; then
49922 # Remove --cache-file and --srcdir arguments so they do not pile up.
49923 ac_sub_configure_args
=
49925 for ac_arg
in $ac_configure_args; do
49926 if test -n "$ac_prev"; then
49931 -cache-file | --cache-file | --cache-fil | --cache-fi \
49932 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
49933 ac_prev
=cache_file
;;
49934 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
49935 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
49938 --config-cache | -C)
49940 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
49942 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
49944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
49946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
49948 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
49952 # Always prepend --prefix to ensure using the same prefix
49953 # in subdir configurations.
49954 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
49957 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
49959 # Do not complain, so a configure script can configure whichever
49960 # parts of a large source tree are present.
49961 test -d $srcdir/$ac_dir || continue
49963 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
49964 echo "$as_me: configuring in $ac_dir" >&6;}
49965 { if $as_mkdir_p; then
49970 while test ! -d "$as_dir"; do
49971 as_dirs
="$as_dir $as_dirs"
49972 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49974 X"$as_dir" : 'X\(//\)[^/]' \| \
49975 X"$as_dir" : 'X\(//\)$' \| \
49976 X"$as_dir" : 'X\(/\)' \| \
49977 . : '\(.\)' 2>/dev/null ||
49979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49981 /^X\(\/\/\)$/{ s//\1/; q; }
49982 /^X\(\/\).*/{ s//\1/; q; }
49985 test ! -n "$as_dirs" || mkdir $as_dirs
49986 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49988 { (exit 1); exit 1; }; }; }
49992 if test "$ac_dir" != .
; then
49993 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49994 # A "../" for each directory in $ac_dir_suffix.
49995 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49997 ac_dir_suffix
= ac_top_builddir
=
50001 .
) # No --srcdir option. We are building in place.
50003 if test -z "$ac_top_builddir"; then
50006 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50008 [\\/]* | ?
:[\\/]* ) # Absolute path.
50009 ac_srcdir
=$srcdir$ac_dir_suffix;
50010 ac_top_srcdir
=$srcdir ;;
50011 *) # Relative path.
50012 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50013 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50016 # Do not use `cd foo && pwd` to compute absolute paths, because
50017 # the directories may not exist.
50019 .
) ac_abs_builddir
="$ac_dir";;
50022 .
) ac_abs_builddir
=`pwd`;;
50023 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50024 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50027 case $ac_abs_builddir in
50028 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50030 case ${ac_top_builddir}.
in
50031 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50032 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50033 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50036 case $ac_abs_builddir in
50037 .
) ac_abs_srcdir
=$ac_srcdir;;
50040 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50041 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50042 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50045 case $ac_abs_builddir in
50046 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50048 case $ac_top_srcdir in
50049 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50050 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50051 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50058 # Check for guested configure; otherwise get Cygnus style configure.
50059 if test -f $ac_srcdir/configure.gnu
; then
50060 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50061 elif test -f $ac_srcdir/configure
; then
50062 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50063 elif test -f $ac_srcdir/configure.
in; then
50064 ac_sub_configure
=$ac_configure
50066 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50067 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50071 # The recursion is here.
50072 if test -n "$ac_sub_configure"; then
50073 # Make the cache file name correct relative to the subdirectory.
50074 case $cache_file in
50075 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50076 *) # Relative path.
50077 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50080 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50081 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50082 # The eval makes quoting arguments work.
50083 eval $ac_sub_configure $ac_sub_configure_args \
50084 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50085 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50086 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50087 { (exit 1); exit 1; }; }
50096 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50098 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50099 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50101 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50102 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50103 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50105 echo " What level of wxWidgets compatibility should be enabled?"
50106 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50107 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50109 echo " Which libraries should wxWidgets use?"
50110 echo " jpeg ${wxUSE_LIBJPEG-none}"
50111 echo " png ${wxUSE_LIBPNG-none}"
50112 echo " regex ${wxUSE_REGEX}"
50113 echo " tiff ${wxUSE_LIBTIFF-none}"
50114 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50115 echo " xpm ${wxUSE_LIBXPM-none}"
50117 echo " zlib ${wxUSE_ZLIB}"
50118 echo " odbc ${wxUSE_ODBC}"
50119 echo " expat ${wxUSE_EXPAT}"
50120 echo " libmspack ${wxUSE_LIBMSPACK}"
50121 echo " sdl ${wxUSE_LIBSDL}"
50122 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50123 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50124 echo " hildon ${wxUSE_LIBHILDON-none}"