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_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_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-printfposparam use wxVsnprintf
() which supports positional parameters
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-aui use AUI docking library
957 --enable-constraints use layout
-constraints system
958 --enable-printarch use printing architecture
959 --enable-mdi use multiple document interface architecture
960 --enable-mdidoc use docview architecture with MDI
961 --enable-loggui use standard GUI logger
962 --enable-logwin use wxLogWindow
963 --enable-logdialog use wxLogDialog
964 --enable-webkit use wxWebKitCtrl
(Mac
)
965 --enable-richtext use wxRichTextCtrl
966 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
967 --enable-prologio not available
; see contrib
968 --enable-resources not available
; see contrib
969 --enable-clipboard use wxClipboard class
970 --enable-dnd use Drag
'n'Drop classes
971 --enable-metafile use win32 metafiles
972 --enable-controls use all usual controls
973 --enable-accel use accelerators
974 --enable-button use wxButton class
975 --enable-bmpbutton use wxBitmapButton class
976 --enable-calendar use wxCalendarCtrl class
977 --enable-caret use wxCaret class
978 --enable-checkbox use wxCheckBox class
979 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
980 --enable-choice use wxChoice class
981 --enable-choicebook use wxChoicebook class
982 --enable-colourpicker use wxColourPickerCtrl class
983 --enable-combobox use wxComboBox class
984 --enable-comboctrl use wxComboCtrl class
985 --enable-datepick use wxDatePickerCtrl class
986 --enable-dirpicker use wxDirPickerCtrl class
987 --enable-display use wxDisplay class
988 --enable-filepicker use wxFilePickerCtrl class
989 --enable-fontpicker use wxFontPickerCtrl class
990 --enable-gauge use wxGauge class
991 --enable-grid use wxGrid class
992 --enable-dataviewctrl, use wxDataViewCtrl class
993 --enable-hyperlink use wxHyperlinkCtrl class
994 --enable-imaglist use wxImageList class
995 --enable-listbook use wxListbook class
996 --enable-listbox use wxListBox class
997 --enable-listctrl use wxListCtrl class
998 --enable-notebook use wxNotebook class
999 --enable-odcombobox use wxOwnerDrawnComboBox class
1000 --enable-radiobox use wxRadioBox class
1001 --enable-radiobtn use wxRadioButton class
1002 --enable-sash use wxSashWindow class
1003 --enable-scrollbar use wxScrollBar class and scrollable windows
1004 --enable-slider use wxSlider class
1005 --enable-spinbtn use wxSpinButton class
1006 --enable-spinctrl use wxSpinCtrl class
1007 --enable-splitter use wxSplitterWindow class
1008 --enable-statbmp use wxStaticBitmap class
1009 --enable-statbox use wxStaticBox class
1010 --enable-statline use wxStaticLine class
1011 --enable-stattext use wxStaticText class
1012 --enable-statusbar use wxStatusBar class
1013 --enable-tabdialog use wxTabControl class
1014 --enable-textctrl use wxTextCtrl class
1015 --enable-togglebtn use wxToggleButton class
1016 --enable-toolbar use wxToolBar class
1017 --enable-tbarnative use native wxToolBar class
1018 --enable-tbarsmpl use wxToolBarSimple class
1019 --enable-treebook use wxTreebook class
1020 --enable-toolbook use wxToolbook class
1021 --enable-treectrl use wxTreeCtrl class
1022 --enable-tipwindow use wxTipWindow class
1023 --enable-popupwin use wxPopUpWindow class
1024 --enable-commondlg use all common dialogs
1025 --enable-choicedlg use wxChoiceDialog
1026 --enable-coldlg use wxColourDialog
1027 --enable-filedlg use wxFileDialog
1028 --enable-finddlg use wxFindReplaceDialog
1029 --enable-fontdlg use wxFontDialog
1030 --enable-dirdlg use wxDirDialog
1031 --enable-msgdlg use wxMessageDialog
1032 --enable-numberdlg use wxNumberEntryDialog
1033 --enable-splash use wxSplashScreen
1034 --enable-textdlg use wxTextDialog
1035 --enable-tipdlg use startup tips
1036 --enable-progressdlg use wxProgressDialog
1037 --enable-wizarddlg use wxWizard
1038 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1039 --enable-miniframe use wxMiniFrame class
1040 --enable-tooltips use wxToolTip class
1041 --enable-splines use spline drawing code
1042 --enable-mousewheel use mousewheel
1043 --enable-validators use wxValidator and derived classes
1044 --enable-busyinfo use wxBusyInfo
1045 --enable-joystick use wxJoystick
1046 --enable-metafiles use wxMetaFile
(Win32 only
)
1047 --enable-dragimage use wxDragImage
1048 --enable-accessibility enable accessibility support
1049 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1050 --enable-palette use wxPalette class
1051 --enable-image use wxImage class
1052 --enable-gif use gif images
(GIF
file format
)
1053 --enable-pcx use pcx images
(PCX
file format
)
1054 --enable-iff use iff images
(IFF
file format
)
1055 --enable-pnm use pnm images
(PNM
file format
)
1056 --enable-xpm use xpm images
(XPM
file format
)
1057 --enable-icocur use Windows ICO and CUR formats
1058 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1059 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1060 --disable-largefile omit support
for large files
1061 --disable-gtktest do not try to compile and run a
test GTK
+ program
1062 --disable-gtktest Do not try to compile and run a
test GTK program
1063 --disable-sdltest Do not try to compile and run a
test SDL program
1064 --enable-omf use OMF object format
(OS
/2)
1065 --disable-dependency-tracking
1066 don
't use dependency tracking even if the compiler
1068 --disable-precomp-headers
1069 don't use precompiled headers even
if compiler can
1072 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1073 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1074 --without-subdirs don
't generate makefiles for samples/demos/...
1075 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1076 --with-motif use Motif/Lesstif
1077 --with-mac use Mac OS X
1078 --with-cocoa use Cocoa
1079 --with-wine use Wine
1080 --with-msw use MS-Windows
1081 --with-pm use OS/2 Presentation Manager
1082 --with-mgl use SciTech MGL
1083 --with-microwin use MicroWindows
1085 --with-libpng use libpng (PNG image format)
1086 --with-libjpeg use libjpeg (JPEG file format)
1087 --with-libtiff use libtiff (TIFF file format)
1088 --with-libxpm use libxpm (XPM file format)
1089 --with-libmspack use libmspack (CHM help files loading)
1090 --with-sdl use SDL for audio on Unix
1091 --with-gnomeprint use GNOME print for printing under GNOME
1092 --with-gnomevfs use GNOME VFS for associating MIME types
1093 --with-hildon use Hildon framework for Nokia 770
1094 --with-opengl use OpenGL (or Mesa)
1095 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1096 --with-regex enable support for wxRegEx class
1097 --with-zlib use zlib for LZW compression
1098 --with-odbc use the IODBC and wxODBC classes
1099 --with-expat enable XML support using expat parser
1100 --with-flavour=NAME specify a name to identify this build
1101 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1102 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1103 --with-x use the X Window System
1104 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1105 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1106 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1107 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1108 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1110 Some influential environment variables:
1111 CC C compiler command
1112 CFLAGS C compiler flags
1113 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1114 nonstandard directory <lib dir>
1115 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1116 headers in a nonstandard directory <include dir>
1118 CXX C++ compiler command
1119 CXXFLAGS C++ compiler flags
1120 CXXCPP C++ preprocessor
1122 Use these variables to override the choices made by `configure' or to
help
1123 it to
find libraries and programs with nonstandard names
/locations.
1125 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1129 if test "$ac_init_help" = "recursive"; then
1130 # If there are subdirs, report their specific --help.
1132 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1133 test -d $ac_dir || continue
1136 if test "$ac_dir" != .
; then
1137 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1138 # A "../" for each directory in $ac_dir_suffix.
1139 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1141 ac_dir_suffix
= ac_top_builddir
=
1145 .
) # No --srcdir option. We are building in place.
1147 if test -z "$ac_top_builddir"; then
1150 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1152 [\\/]* | ?
:[\\/]* ) # Absolute path.
1153 ac_srcdir
=$srcdir$ac_dir_suffix;
1154 ac_top_srcdir
=$srcdir ;;
1156 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1157 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1160 # Do not use `cd foo && pwd` to compute absolute paths, because
1161 # the directories may not exist.
1163 .
) ac_abs_builddir
="$ac_dir";;
1166 .
) ac_abs_builddir
=`pwd`;;
1167 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1168 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1171 case $ac_abs_builddir in
1172 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1174 case ${ac_top_builddir}.
in
1175 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1176 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1177 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1180 case $ac_abs_builddir in
1181 .
) ac_abs_srcdir
=$ac_srcdir;;
1184 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1185 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1186 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1189 case $ac_abs_builddir in
1190 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1192 case $ac_top_srcdir in
1193 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1194 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1195 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1200 # Check for guested configure; otherwise get Cygnus style configure.
1201 if test -f $ac_srcdir/configure.gnu
; then
1203 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1204 elif test -f $ac_srcdir/configure
; then
1206 $SHELL $ac_srcdir/configure
--help=recursive
1207 elif test -f $ac_srcdir/configure.ac
||
1208 test -f $ac_srcdir/configure.
in; then
1210 $ac_configure --help
1212 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1218 test -n "$ac_init_help" && exit 0
1219 if $ac_init_version; then
1221 wxWidgets configure
2.7.0
1222 generated by GNU Autoconf
2.59
1224 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1225 This configure
script is free software
; the Free Software Foundation
1226 gives unlimited permission to copy
, distribute and modify it.
1232 This file contains any messages produced by compilers while
1233 running configure, to aid debugging if configure makes a mistake.
1235 It was created by wxWidgets $as_me 2.7.0, which was
1236 generated by GNU Autoconf 2.59. Invocation command line was
1247 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1248 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1249 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1250 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1251 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1253 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1254 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1256 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1257 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1258 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1259 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1260 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1261 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1262 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1270 test -z "$as_dir" && as_dir
=.
1271 echo "PATH: $as_dir"
1286 # Keep a trace of the command line.
1287 # Strip out --no-create and --no-recursion so they do not pile up.
1288 # Strip out --silent because we don't want to record it for future runs.
1289 # Also quote any args containing shell meta-characters.
1290 # Make two passes to allow for proper duplicate-argument suppression.
1295 ac_must_keep_next
=false
1301 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303 | -silent | --silent | --silen | --sile | --sil)
1305 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1306 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1309 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1311 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1312 if test $ac_must_keep_next = true
; then
1313 ac_must_keep_next
=false
# Got value, back to normal.
1316 *=* | --config-cache | -C | -disable-* | --disable-* \
1317 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1318 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1319 | -with-* | --with-* | -without-* | --without-* | --x)
1320 case "$ac_configure_args0 " in
1321 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1324 -* ) ac_must_keep_next
=true
;;
1327 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1328 # Get rid of the leading space.
1334 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1335 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1337 # When interrupted or exit'd, cleanup temporary files, and complete
1338 # config.log. We remove comments because anyway the quotes in there
1339 # would cause problems or look ugly.
1340 # WARNING: Be sure not to use single quotes in there, as some shells,
1341 # such as our DU 5.0 friend, will then `close' the trap.
1342 trap 'exit_status=$?
1343 # Save into config.log some information that might help in debugging.
1348 ## ---------------- ##
1349 ## Cache variables. ##
1350 ## ---------------- ##
1353 # The following way of writing the cache mishandles newlines in values,
1356 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1359 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1364 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1371 ## ----------------- ##
1372 ## Output variables. ##
1373 ## ----------------- ##
1376 for ac_var in $ac_subst_vars
1378 eval ac_val=$`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1383 if test -n "$ac_subst_files"; then
1390 for ac_var in $ac_subst_files
1392 eval ac_val=$`echo $ac_var`
1393 echo "$ac_var='"'"'$ac_val'"'"'"
1398 if test -s confdefs.h; then
1405 sed "/^$/d" confdefs.h | sort
1408 test "$ac_signal" != 0 &&
1409 echo "$as_me: caught signal $ac_signal"
1410 echo "$as_me: exit $exit_status"
1412 rm -f core *.core &&
1413 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1416 for ac_signal
in 1 2 13 15; do
1417 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1422 rm -rf conftest
* confdefs.h
1423 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1426 # Predefined preprocessor variables.
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_NAME "$PACKAGE_NAME"
1433 cat >>confdefs.h
<<_ACEOF
1434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1438 cat >>confdefs.h
<<_ACEOF
1439 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1443 cat >>confdefs.h
<<_ACEOF
1444 #define PACKAGE_STRING "$PACKAGE_STRING"
1448 cat >>confdefs.h
<<_ACEOF
1449 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1453 # Let the site file select an alternate cache file if it wants to.
1454 # Prefer explicitly selected file to automatically selected ones.
1455 if test -z "$CONFIG_SITE"; then
1456 if test "x$prefix" != xNONE
; then
1457 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1459 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1462 for ac_site_file
in $CONFIG_SITE; do
1463 if test -r "$ac_site_file"; then
1464 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1465 echo "$as_me: loading site script $ac_site_file" >&6;}
1466 sed 's/^/| /' "$ac_site_file" >&5
1471 if test -r "$cache_file"; then
1472 # Some versions of bash will fail to source /dev/null (special
1473 # files actually), so we avoid doing that.
1474 if test -f "$cache_file"; then
1475 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1476 echo "$as_me: loading cache $cache_file" >&6;}
1478 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1479 *) . .
/$cache_file;;
1483 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1484 echo "$as_me: creating cache $cache_file" >&6;}
1488 # Check that the precious variables saved in the cache have kept the same
1490 ac_cache_corrupted
=false
1491 for ac_var
in `(set) 2>&1 |
1492 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1493 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1494 eval ac_new_set
=\
$ac_env_${ac_var}_set
1495 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1496 eval ac_new_val
="\$ac_env_${ac_var}_value"
1497 case $ac_old_set,$ac_new_set in
1499 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1500 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1501 ac_cache_corrupted
=: ;;
1503 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1504 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1505 ac_cache_corrupted
=: ;;
1508 if test "x$ac_old_val" != "x$ac_new_val"; then
1509 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1510 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1511 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1512 echo "$as_me: former value: $ac_old_val" >&2;}
1513 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1514 echo "$as_me: current value: $ac_new_val" >&2;}
1515 ac_cache_corrupted
=:
1518 # Pass precious variables to config.status.
1519 if test "$ac_new_set" = set; then
1521 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1522 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1523 *) ac_arg
=$ac_var=$ac_new_val ;;
1525 case " $ac_configure_args " in
1526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1527 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1531 if $ac_cache_corrupted; then
1532 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1533 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1534 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1535 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1536 { (exit 1); exit 1; }; }
1540 ac_cpp
='$CPP $CPPFLAGS'
1541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1575 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1576 if test -f $ac_dir/install-sh; then
1578 ac_install_sh
="$ac_aux_dir/install-sh -c"
1580 elif test -f $ac_dir/install.sh
; then
1582 ac_install_sh
="$ac_aux_dir/install.sh -c"
1584 elif test -f $ac_dir/shtool
; then
1586 ac_install_sh
="$ac_aux_dir/shtool install -c"
1590 if test -z "$ac_aux_dir"; then
1591 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1592 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1593 { (exit 1); exit 1; }; }
1595 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1596 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1597 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1599 # Make sure we can run config.sub.
1600 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1601 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1602 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1603 { (exit 1); exit 1; }; }
1605 echo "$as_me:$LINENO: checking build system type" >&5
1606 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1607 if test "${ac_cv_build+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 ac_cv_build_alias
=$build_alias
1611 test -z "$ac_cv_build_alias" &&
1612 ac_cv_build_alias
=`$ac_config_guess`
1613 test -z "$ac_cv_build_alias" &&
1614 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1615 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1616 { (exit 1); exit 1; }; }
1617 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1624 echo "${ECHO_T}$ac_cv_build" >&6
1626 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631 echo "$as_me:$LINENO: checking host system type" >&5
1632 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1633 if test "${ac_cv_host+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 ac_cv_host_alias
=$host_alias
1637 test -z "$ac_cv_host_alias" &&
1638 ac_cv_host_alias
=$ac_cv_build_alias
1639 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1640 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1641 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1642 { (exit 1); exit 1; }; }
1645 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1646 echo "${ECHO_T}$ac_cv_host" >&6
1648 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1649 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1650 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653 echo "$as_me:$LINENO: checking target system type" >&5
1654 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1655 if test "${ac_cv_target+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 ac_cv_target_alias
=$target_alias
1659 test "x$ac_cv_target_alias" = "x" &&
1660 ac_cv_target_alias
=$ac_cv_host_alias
1661 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1662 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1663 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1664 { (exit 1); exit 1; }; }
1667 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1668 echo "${ECHO_T}$ac_cv_target" >&6
1669 target
=$ac_cv_target
1670 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1671 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1672 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1675 # The aliases save the names the user supplied, while $host etc.
1676 # will get canonicalized.
1677 test -n "$target_alias" &&
1678 test "$program_prefix$program_suffix$program_transform_name" = \
1680 program_prefix
=${target_alias}-
1684 wx_major_version_number
=2
1685 wx_minor_version_number
=7
1687 wx_subrelease_number
=0
1689 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1690 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1691 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1693 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1706 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1712 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1720 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1722 DEFAULT_wxUSE_COCOA
=0
1726 DEFAULT_wxUSE_MICROWIN
=0
1727 DEFAULT_wxUSE_MOTIF
=0
1732 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1733 DEFAULT_DEFAULT_wxUSE_GTK
=0
1734 DEFAULT_DEFAULT_wxUSE_MAC
=0
1735 DEFAULT_DEFAULT_wxUSE_MGL
=0
1736 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1737 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1738 DEFAULT_DEFAULT_wxUSE_MSW
=0
1739 DEFAULT_DEFAULT_wxUSE_PM
=0
1740 DEFAULT_DEFAULT_wxUSE_X11
=0
1745 SAMPLES_RPATH_POSTLINK
=
1747 DEFAULT_STD_FLAG
=yes
1752 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1753 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1755 cat >>confdefs.h
<<\_ACEOF
1760 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1764 cat >>confdefs.h
<<\_ACEOF
1769 if test "x$TMP" = "xalpha"; then
1771 cat >>confdefs.h
<<\_ACEOF
1776 DEFAULT_DEFAULT_wxUSE_GTK
=1
1778 *-*-gnu* | *-*-k*bsd
*-gnu )
1781 if test "x$TMP" = "xalpha"; then
1783 cat >>confdefs.h
<<\_ACEOF
1788 DEFAULT_DEFAULT_wxUSE_GTK
=1
1790 *-*-irix5* | *-*-irix6* )
1793 cat >>confdefs.h
<<\_ACEOF
1797 cat >>confdefs.h
<<\_ACEOF
1801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1807 cat >>confdefs.h
<<\_ACEOF
1811 cat >>confdefs.h
<<\_ACEOF
1812 #define __SOLARIS__ 1
1815 cat >>confdefs.h
<<\_ACEOF
1819 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1826 cat >>confdefs.h
<<\_ACEOF
1830 cat >>confdefs.h
<<\_ACEOF
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1843 cat >>confdefs.h
<<\_ACEOF
1844 #define __FREEBSD__ 1
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_GTK
=1
1856 cat >>confdefs.h
<<\_ACEOF
1857 #define __OPENBSD__ 1
1860 cat >>confdefs.h
<<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_GTK
=1
1869 cat >>confdefs.h
<<\_ACEOF
1870 #define __NETBSD__ 1
1873 cat >>confdefs.h
<<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_GTK
=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1880 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1894 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1899 cat >>confdefs.h
<<\_ACEOF
1903 cat >>confdefs.h
<<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1912 cat >>confdefs.h
<<\_ACEOF
1916 cat >>confdefs.h
<<\_ACEOF
1920 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1927 cat >>confdefs.h
<<\_ACEOF
1931 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1946 cat >>confdefs.h
<<\_ACEOF
1947 #define __UNIXWARE__ 1
1952 *-*-cygwin* | *-*-mingw32* )
1955 DEFAULT_DEFAULT_wxUSE_MSW
=1
1962 cat >>confdefs.h
<<\_ACEOF
1967 DEFAULT_DEFAULT_wxUSE_MGL
=1
1970 *-pc-os2_emx | *-pc-os2-emx )
1971 cat >>confdefs.h
<<\_ACEOF
1976 cat >>confdefs.h
<<\_ACEOF
1981 DEFAULT_DEFAULT_wxUSE_PM
=1
1983 LDFLAGS
="$LDFLAGS -Zcrtdll"
1984 ac_executable_extensions
=".exe"
1985 export ac_executable_extensions
1989 for ac_dir
in $PATH; do
1991 if test -z "$ac_TEMP_PATH"; then
1992 ac_TEMP_PATH
="$ac_dir"
1994 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1997 export PATH
="$ac_TEMP_PATH"
2006 cat >>confdefs.h
<<\_ACEOF
2010 cat >>confdefs.h
<<\_ACEOF
2011 #define __DARWIN__ 1
2014 cat >>confdefs.h
<<\_ACEOF
2015 #define TARGET_CARBON 1
2018 DEFAULT_DEFAULT_wxUSE_MAC
=1
2021 powerpc
-apple-macos* )
2023 ac_cv_c_bigendian
=yes
2025 DEFAULT_DEFAULT_wxUSE_MAC
=1
2031 cat >>confdefs.h
<<\_ACEOF
2038 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2039 echo "$as_me: error: unknown system type ${host}." >&2;}
2040 { (exit 1); exit 1; }; }
2046 wx_arg_cache_file
="configarg.cache"
2047 echo "loading argument cache $wx_arg_cache_file"
2048 rm -f ${wx_arg_cache_file}.tmp
2049 touch ${wx_arg_cache_file}.tmp
2050 touch ${wx_arg_cache_file}
2054 if test $DEBUG_CONFIGURE = 1; then
2055 DEFAULT_wxUSE_UNIVERSAL
=no
2056 DEFAULT_wxUSE_STL
=no
2058 DEFAULT_wxUSE_NANOX
=no
2060 DEFAULT_wxUSE_THREADS
=yes
2062 DEFAULT_wxUSE_SHARED
=yes
2063 DEFAULT_wxUSE_OPTIMISE
=no
2064 DEFAULT_wxUSE_PROFILE
=no
2065 DEFAULT_wxUSE_NO_DEPS
=no
2066 DEFAULT_wxUSE_NO_RTTI
=no
2067 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2068 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2069 DEFAULT_wxUSE_RPATH
=yes
2070 DEFAULT_wxUSE_PERMISSIVE
=no
2071 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2072 DEFAULT_wxUSE_DEBUG_INFO
=yes
2073 DEFAULT_wxUSE_DEBUG_GDB
=yes
2074 DEFAULT_wxUSE_MEM_TRACING
=no
2075 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2076 DEFAULT_wxUSE_DMALLOC
=no
2077 DEFAULT_wxUSE_APPLE_IEEE
=no
2079 DEFAULT_wxUSE_EXCEPTIONS
=no
2080 DEFAULT_wxUSE_LOG
=yes
2081 DEFAULT_wxUSE_LOGWINDOW
=no
2082 DEFAULT_wxUSE_LOGGUI
=no
2083 DEFAULT_wxUSE_LOGDIALOG
=no
2085 DEFAULT_wxUSE_GUI
=yes
2086 DEFAULT_wxUSE_CONTROLS
=no
2088 DEFAULT_wxUSE_REGEX
=no
2089 DEFAULT_wxUSE_XML
=no
2090 DEFAULT_wxUSE_EXPAT
=no
2091 DEFAULT_wxUSE_ZLIB
=no
2092 DEFAULT_wxUSE_LIBPNG
=no
2093 DEFAULT_wxUSE_LIBJPEG
=no
2094 DEFAULT_wxUSE_LIBTIFF
=no
2095 DEFAULT_wxUSE_LIBXPM
=no
2096 DEFAULT_wxUSE_LIBMSPACK
=no
2097 DEFAULT_wxUSE_LIBSDL
=no
2098 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2099 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2100 DEFAULT_wxUSE_LIBHILDON
=no
2101 DEFAULT_wxUSE_ODBC
=no
2102 DEFAULT_wxUSE_OPENGL
=no
2104 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2105 DEFAULT_wxUSE_STACKWALKER
=no
2106 DEFAULT_wxUSE_DEBUGREPORT
=no
2107 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2108 DEFAULT_wxUSE_STD_IOSTREAM
=no
2109 DEFAULT_wxUSE_STD_STRING
=no
2110 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2111 DEFAULT_wxUSE_DATETIME
=no
2112 DEFAULT_wxUSE_TIMER
=no
2113 DEFAULT_wxUSE_STOPWATCH
=no
2114 DEFAULT_wxUSE_FILE
=no
2115 DEFAULT_wxUSE_FFILE
=no
2116 DEFAULT_wxUSE_STDPATHS
=no
2117 DEFAULT_wxUSE_TEXTBUFFER
=no
2118 DEFAULT_wxUSE_TEXTFILE
=no
2119 DEFAULT_wxUSE_SOUND
=no
2120 DEFAULT_wxUSE_MEDIACTRL
=no
2121 DEFAULT_wxUSE_GSTREAMER8
=no
2122 DEFAULT_wxUSE_PRINTF_POS_PARAM
=no
2123 DEFAULT_wxUSE_INTL
=no
2124 DEFAULT_wxUSE_CONFIG
=no
2125 DEFAULT_wxUSE_FONTMAP
=no
2126 DEFAULT_wxUSE_STREAMS
=no
2127 DEFAULT_wxUSE_SOCKETS
=no
2128 DEFAULT_wxUSE_OLE
=no
2129 DEFAULT_wxUSE_DATAOBJ
=no
2130 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2131 DEFAULT_wxUSE_JOYSTICK
=no
2132 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2133 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2134 DEFAULT_wxUSE_LONGLONG
=no
2135 DEFAULT_wxUSE_GEOMETRY
=no
2137 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2138 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2139 DEFAULT_wxUSE_POSTSCRIPT
=no
2141 DEFAULT_wxUSE_CLIPBOARD
=no
2142 DEFAULT_wxUSE_TOOLTIPS
=no
2143 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2144 DEFAULT_wxUSE_DRAGIMAGE
=no
2145 DEFAULT_wxUSE_SPLINES
=no
2146 DEFAULT_wxUSE_MOUSEWHEEL
=no
2148 DEFAULT_wxUSE_MDI
=no
2149 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2150 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2151 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2153 DEFAULT_wxUSE_RESOURCES
=no
2154 DEFAULT_wxUSE_CONSTRAINTS
=no
2155 DEFAULT_wxUSE_IPC
=no
2156 DEFAULT_wxUSE_HELP
=no
2157 DEFAULT_wxUSE_MS_HTML_HELP
=no
2158 DEFAULT_wxUSE_WXHTML_HELP
=no
2159 DEFAULT_wxUSE_TREELAYOUT
=no
2160 DEFAULT_wxUSE_METAFILE
=no
2161 DEFAULT_wxUSE_MIMETYPE
=no
2162 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2163 DEFAULT_wxUSE_PROTOCOL
=no
2164 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2165 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2166 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2167 DEFAULT_wxUSE_URL
=no
2169 DEFAULT_wxUSE_COMMONDLGS
=no
2170 DEFAULT_wxUSE_CHOICEDLG
=no
2171 DEFAULT_wxUSE_COLOURDLG
=no
2172 DEFAULT_wxUSE_DIRDLG
=no
2173 DEFAULT_wxUSE_FILEDLG
=no
2174 DEFAULT_wxUSE_FINDREPLDLG
=no
2175 DEFAULT_wxUSE_FONTDLG
=no
2176 DEFAULT_wxUSE_MSGDLG
=no
2177 DEFAULT_wxUSE_NUMBERDLG
=no
2178 DEFAULT_wxUSE_TEXTDLG
=no
2179 DEFAULT_wxUSE_SPLASH
=no
2180 DEFAULT_wxUSE_STARTUP_TIPS
=no
2181 DEFAULT_wxUSE_PROGRESSDLG
=no
2182 DEFAULT_wxUSE_WIZARDDLG
=no
2184 DEFAULT_wxUSE_MENUS
=no
2185 DEFAULT_wxUSE_MINIFRAME
=no
2186 DEFAULT_wxUSE_HTML
=no
2187 DEFAULT_wxUSE_RICHTEXT
=no
2188 DEFAULT_wxUSE_XRC
=no
2189 DEFAULT_wxUSE_AUI
=no
2190 DEFAULT_wxUSE_WEBKIT
=no
2191 DEFAULT_wxUSE_FILESYSTEM
=no
2192 DEFAULT_wxUSE_FS_INET
=no
2193 DEFAULT_wxUSE_FS_ZIP
=no
2194 DEFAULT_wxUSE_BUSYINFO
=no
2195 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2196 DEFAULT_wxUSE_ZIPSTREAM
=no
2197 DEFAULT_wxUSE_VALIDATORS
=no
2199 DEFAULT_wxUSE_ACCEL
=no
2200 DEFAULT_wxUSE_BUTTON
=no
2201 DEFAULT_wxUSE_BMPBUTTON
=no
2202 DEFAULT_wxUSE_CALCTRL
=no
2203 DEFAULT_wxUSE_CARET
=no
2204 DEFAULT_wxUSE_CHECKBOX
=no
2205 DEFAULT_wxUSE_CHECKLST
=no
2206 DEFAULT_wxUSE_CHOICE
=no
2207 DEFAULT_wxUSE_CHOICEBOOK
=no
2208 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2209 DEFAULT_wxUSE_COMBOBOX
=no
2210 DEFAULT_wxUSE_COMBOCTRL
=no
2211 DEFAULT_wxUSE_DATEPICKCTRL
=no
2212 DEFAULT_wxUSE_DISPLAY
=no
2213 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2214 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2215 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2216 DEFAULT_wxUSE_GAUGE
=no
2217 DEFAULT_wxUSE_GRID
=no
2218 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2219 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2220 DEFAULT_wxUSE_IMAGLIST
=no
2221 DEFAULT_wxUSE_LISTBOOK
=no
2222 DEFAULT_wxUSE_LISTBOX
=no
2223 DEFAULT_wxUSE_LISTCTRL
=no
2224 DEFAULT_wxUSE_NOTEBOOK
=no
2225 DEFAULT_wxUSE_ODCOMBOBOX
=no
2226 DEFAULT_wxUSE_RADIOBOX
=no
2227 DEFAULT_wxUSE_RADIOBTN
=no
2228 DEFAULT_wxUSE_SASH
=no
2229 DEFAULT_wxUSE_SCROLLBAR
=no
2230 DEFAULT_wxUSE_SLIDER
=no
2231 DEFAULT_wxUSE_SPINBTN
=no
2232 DEFAULT_wxUSE_SPINCTRL
=no
2233 DEFAULT_wxUSE_SPLITTER
=no
2234 DEFAULT_wxUSE_STATBMP
=no
2235 DEFAULT_wxUSE_STATBOX
=no
2236 DEFAULT_wxUSE_STATLINE
=no
2237 DEFAULT_wxUSE_STATTEXT
=no
2238 DEFAULT_wxUSE_STATUSBAR
=yes
2239 DEFAULT_wxUSE_TAB_DIALOG
=no
2240 DEFAULT_wxUSE_TEXTCTRL
=no
2241 DEFAULT_wxUSE_TOGGLEBTN
=no
2242 DEFAULT_wxUSE_TOOLBAR
=no
2243 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2244 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2245 DEFAULT_wxUSE_TREEBOOK
=no
2246 DEFAULT_wxUSE_TOOLBOOK
=no
2247 DEFAULT_wxUSE_TREECTRL
=no
2248 DEFAULT_wxUSE_POPUPWIN
=no
2249 DEFAULT_wxUSE_TIPWINDOW
=no
2251 DEFAULT_wxUSE_UNICODE
=no
2252 DEFAULT_wxUSE_UNICODE_MSLU
=no
2253 DEFAULT_wxUSE_WCSRTOMBS
=no
2255 DEFAULT_wxUSE_PALETTE
=no
2256 DEFAULT_wxUSE_IMAGE
=no
2257 DEFAULT_wxUSE_GIF
=no
2258 DEFAULT_wxUSE_PCX
=no
2259 DEFAULT_wxUSE_PNM
=no
2260 DEFAULT_wxUSE_IFF
=no
2261 DEFAULT_wxUSE_XPM
=no
2262 DEFAULT_wxUSE_ICO_CUR
=no
2263 DEFAULT_wxUSE_ACCESSIBILITY
=no
2265 DEFAULT_wxUSE_MONOLITHIC
=no
2266 DEFAULT_wxUSE_PLUGINS
=no
2267 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2269 DEFAULT_wxUSE_UNIVERSAL
=no
2270 DEFAULT_wxUSE_STL
=no
2272 DEFAULT_wxUSE_NANOX
=no
2274 DEFAULT_wxUSE_THREADS
=yes
2276 DEFAULT_wxUSE_SHARED
=yes
2277 DEFAULT_wxUSE_OPTIMISE
=yes
2278 DEFAULT_wxUSE_PROFILE
=no
2279 DEFAULT_wxUSE_NO_DEPS
=no
2280 DEFAULT_wxUSE_NO_RTTI
=no
2281 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2282 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2283 DEFAULT_wxUSE_RPATH
=yes
2284 DEFAULT_wxUSE_PERMISSIVE
=no
2285 DEFAULT_wxUSE_DEBUG_FLAG
=no
2286 DEFAULT_wxUSE_DEBUG_INFO
=no
2287 DEFAULT_wxUSE_DEBUG_GDB
=no
2288 DEFAULT_wxUSE_MEM_TRACING
=no
2289 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2290 DEFAULT_wxUSE_DMALLOC
=no
2291 DEFAULT_wxUSE_APPLE_IEEE
=yes
2293 DEFAULT_wxUSE_EXCEPTIONS
=yes
2294 DEFAULT_wxUSE_LOG
=yes
2295 DEFAULT_wxUSE_LOGWINDOW
=yes
2296 DEFAULT_wxUSE_LOGGUI
=yes
2297 DEFAULT_wxUSE_LOGDIALOG
=yes
2299 DEFAULT_wxUSE_GUI
=yes
2301 DEFAULT_wxUSE_REGEX
=yes
2302 DEFAULT_wxUSE_XML
=yes
2303 DEFAULT_wxUSE_EXPAT
=yes
2304 DEFAULT_wxUSE_ZLIB
=yes
2305 DEFAULT_wxUSE_LIBPNG
=yes
2306 DEFAULT_wxUSE_LIBJPEG
=yes
2307 DEFAULT_wxUSE_LIBTIFF
=yes
2308 DEFAULT_wxUSE_LIBXPM
=yes
2309 DEFAULT_wxUSE_LIBMSPACK
=yes
2310 DEFAULT_wxUSE_LIBSDL
=no
2311 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2312 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2313 DEFAULT_wxUSE_LIBHILDON
=no
2314 DEFAULT_wxUSE_ODBC
=no
2315 DEFAULT_wxUSE_OPENGL
=no
2317 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2318 DEFAULT_wxUSE_STACKWALKER
=yes
2319 DEFAULT_wxUSE_DEBUGREPORT
=yes
2320 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2321 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2322 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2323 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2324 DEFAULT_wxUSE_DATETIME
=yes
2325 DEFAULT_wxUSE_TIMER
=yes
2326 DEFAULT_wxUSE_STOPWATCH
=yes
2327 DEFAULT_wxUSE_FILE
=yes
2328 DEFAULT_wxUSE_FFILE
=yes
2329 DEFAULT_wxUSE_STDPATHS
=yes
2330 DEFAULT_wxUSE_TEXTBUFFER
=yes
2331 DEFAULT_wxUSE_TEXTFILE
=yes
2332 DEFAULT_wxUSE_SOUND
=yes
2333 DEFAULT_wxUSE_MEDIACTRL
=no
2334 DEFAULT_wxUSE_GSTREAMER8
=no
2335 DEFAULT_wxUSE_PRINTF_POS_PARAM
=yes
2336 DEFAULT_wxUSE_INTL
=yes
2337 DEFAULT_wxUSE_CONFIG
=yes
2338 DEFAULT_wxUSE_FONTMAP
=yes
2339 DEFAULT_wxUSE_STREAMS
=yes
2340 DEFAULT_wxUSE_SOCKETS
=yes
2341 DEFAULT_wxUSE_OLE
=yes
2342 DEFAULT_wxUSE_DATAOBJ
=yes
2343 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2344 DEFAULT_wxUSE_JOYSTICK
=yes
2345 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2346 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2347 DEFAULT_wxUSE_LONGLONG
=yes
2348 DEFAULT_wxUSE_GEOMETRY
=yes
2350 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2351 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2352 DEFAULT_wxUSE_POSTSCRIPT
=yes
2354 DEFAULT_wxUSE_CLIPBOARD
=yes
2355 DEFAULT_wxUSE_TOOLTIPS
=yes
2356 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2357 DEFAULT_wxUSE_DRAGIMAGE
=yes
2358 DEFAULT_wxUSE_SPLINES
=yes
2359 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2361 DEFAULT_wxUSE_MDI
=yes
2362 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2363 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2364 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2366 DEFAULT_wxUSE_RESOURCES
=no
2367 DEFAULT_wxUSE_CONSTRAINTS
=yes
2368 DEFAULT_wxUSE_IPC
=yes
2369 DEFAULT_wxUSE_HELP
=yes
2370 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2371 DEFAULT_wxUSE_WXHTML_HELP
=yes
2372 DEFAULT_wxUSE_TREELAYOUT
=yes
2373 DEFAULT_wxUSE_METAFILE
=yes
2374 DEFAULT_wxUSE_MIMETYPE
=yes
2375 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2376 DEFAULT_wxUSE_PROTOCOL
=yes
2377 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2378 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2379 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2380 DEFAULT_wxUSE_URL
=yes
2382 DEFAULT_wxUSE_COMMONDLGS
=yes
2383 DEFAULT_wxUSE_CHOICEDLG
=yes
2384 DEFAULT_wxUSE_COLOURDLG
=yes
2385 DEFAULT_wxUSE_DIRDLG
=yes
2386 DEFAULT_wxUSE_FILEDLG
=yes
2387 DEFAULT_wxUSE_FINDREPLDLG
=yes
2388 DEFAULT_wxUSE_FONTDLG
=yes
2389 DEFAULT_wxUSE_MSGDLG
=yes
2390 DEFAULT_wxUSE_NUMBERDLG
=yes
2391 DEFAULT_wxUSE_TEXTDLG
=yes
2392 DEFAULT_wxUSE_SPLASH
=yes
2393 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2394 DEFAULT_wxUSE_PROGRESSDLG
=yes
2395 DEFAULT_wxUSE_WIZARDDLG
=yes
2397 DEFAULT_wxUSE_MENUS
=yes
2398 DEFAULT_wxUSE_MINIFRAME
=yes
2399 DEFAULT_wxUSE_HTML
=yes
2400 DEFAULT_wxUSE_RICHTEXT
=yes
2401 DEFAULT_wxUSE_XRC
=yes
2402 DEFAULT_wxUSE_AUI
=yes
2403 DEFAULT_wxUSE_WEBKIT
=yes
2404 DEFAULT_wxUSE_FILESYSTEM
=yes
2405 DEFAULT_wxUSE_FS_INET
=yes
2406 DEFAULT_wxUSE_FS_ZIP
=yes
2407 DEFAULT_wxUSE_BUSYINFO
=yes
2408 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2409 DEFAULT_wxUSE_ZIPSTREAM
=yes
2410 DEFAULT_wxUSE_VALIDATORS
=yes
2412 DEFAULT_wxUSE_ACCEL
=yes
2413 DEFAULT_wxUSE_BUTTON
=yes
2414 DEFAULT_wxUSE_BMPBUTTON
=yes
2415 DEFAULT_wxUSE_CALCTRL
=yes
2416 DEFAULT_wxUSE_CARET
=yes
2417 DEFAULT_wxUSE_CHECKBOX
=yes
2418 DEFAULT_wxUSE_CHECKLST
=yes
2419 DEFAULT_wxUSE_CHOICE
=yes
2420 DEFAULT_wxUSE_CHOICEBOOK
=yes
2421 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2422 DEFAULT_wxUSE_COMBOBOX
=yes
2423 DEFAULT_wxUSE_COMBOCTRL
=yes
2424 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2425 DEFAULT_wxUSE_DISPLAY
=yes
2426 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2427 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2428 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2429 DEFAULT_wxUSE_GAUGE
=yes
2430 DEFAULT_wxUSE_GRID
=yes
2431 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2432 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2433 DEFAULT_wxUSE_IMAGLIST
=yes
2434 DEFAULT_wxUSE_LISTBOOK
=yes
2435 DEFAULT_wxUSE_LISTBOX
=yes
2436 DEFAULT_wxUSE_LISTCTRL
=yes
2437 DEFAULT_wxUSE_NOTEBOOK
=yes
2438 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2439 DEFAULT_wxUSE_RADIOBOX
=yes
2440 DEFAULT_wxUSE_RADIOBTN
=yes
2441 DEFAULT_wxUSE_SASH
=yes
2442 DEFAULT_wxUSE_SCROLLBAR
=yes
2443 DEFAULT_wxUSE_SLIDER
=yes
2444 DEFAULT_wxUSE_SPINBTN
=yes
2445 DEFAULT_wxUSE_SPINCTRL
=yes
2446 DEFAULT_wxUSE_SPLITTER
=yes
2447 DEFAULT_wxUSE_STATBMP
=yes
2448 DEFAULT_wxUSE_STATBOX
=yes
2449 DEFAULT_wxUSE_STATLINE
=yes
2450 DEFAULT_wxUSE_STATTEXT
=yes
2451 DEFAULT_wxUSE_STATUSBAR
=yes
2452 DEFAULT_wxUSE_TAB_DIALOG
=no
2453 DEFAULT_wxUSE_TEXTCTRL
=yes
2454 DEFAULT_wxUSE_TOGGLEBTN
=yes
2455 DEFAULT_wxUSE_TOOLBAR
=yes
2456 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2457 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2458 DEFAULT_wxUSE_TREEBOOK
=yes
2459 DEFAULT_wxUSE_TOOLBOOK
=yes
2460 DEFAULT_wxUSE_TREECTRL
=yes
2461 DEFAULT_wxUSE_POPUPWIN
=yes
2462 DEFAULT_wxUSE_TIPWINDOW
=yes
2464 DEFAULT_wxUSE_UNICODE
=no
2465 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2466 DEFAULT_wxUSE_WCSRTOMBS
=no
2468 DEFAULT_wxUSE_PALETTE
=yes
2469 DEFAULT_wxUSE_IMAGE
=yes
2470 DEFAULT_wxUSE_GIF
=yes
2471 DEFAULT_wxUSE_PCX
=yes
2472 DEFAULT_wxUSE_IFF
=no
2473 DEFAULT_wxUSE_PNM
=yes
2474 DEFAULT_wxUSE_XPM
=yes
2475 DEFAULT_wxUSE_ICO_CUR
=yes
2476 DEFAULT_wxUSE_ACCESSIBILITY
=no
2478 DEFAULT_wxUSE_MONOLITHIC
=no
2479 DEFAULT_wxUSE_PLUGINS
=no
2480 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2482 DEFAULT_wxUSE_GTK2
=yes
2488 for toolkit
in `echo $ALL_TOOLKITS`; do
2489 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2490 if test "x$LINE" != "x" ; then
2491 has_toolkit_in_cache
=1
2492 eval "DEFAULT_$LINE"
2493 eval "CACHE_$toolkit=1"
2495 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2496 if test "x$LINE" != "x" ; then
2497 eval "DEFAULT_$LINE"
2505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2506 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2508 # Check whether --enable-gui or --disable-gui was given.
2509 if test "${enable_gui+set}" = set; then
2510 enableval
="$enable_gui"
2512 if test "$enableval" = yes; then
2513 ac_cv_use_gui
='wxUSE_GUI=yes'
2515 ac_cv_use_gui
='wxUSE_GUI=no'
2520 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2521 if test "x$LINE" != x
; then
2522 eval "DEFAULT_$LINE"
2527 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2531 eval "$ac_cv_use_gui"
2532 if test "$no_cache" != 1; then
2533 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2536 if test "$wxUSE_GUI" = yes; then
2537 echo "$as_me:$LINENO: result: yes" >&5
2538 echo "${ECHO_T}yes" >&6
2540 echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6
2546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2547 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2549 # Check whether --enable-monolithic or --disable-monolithic was given.
2550 if test "${enable_monolithic+set}" = set; then
2551 enableval
="$enable_monolithic"
2553 if test "$enableval" = yes; then
2554 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2556 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2561 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2562 if test "x$LINE" != x
; then
2563 eval "DEFAULT_$LINE"
2568 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2572 eval "$ac_cv_use_monolithic"
2573 if test "$no_cache" != 1; then
2574 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2577 if test "$wxUSE_MONOLITHIC" = yes; then
2578 echo "$as_me:$LINENO: result: yes" >&5
2579 echo "${ECHO_T}yes" >&6
2581 echo "$as_me:$LINENO: result: no" >&5
2582 echo "${ECHO_T}no" >&6
2587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2588 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2590 # Check whether --enable-plugins or --disable-plugins was given.
2591 if test "${enable_plugins+set}" = set; then
2592 enableval
="$enable_plugins"
2594 if test "$enableval" = yes; then
2595 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2597 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2602 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2603 if test "x$LINE" != x
; then
2604 eval "DEFAULT_$LINE"
2609 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2613 eval "$ac_cv_use_plugins"
2614 if test "$no_cache" != 1; then
2615 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2618 if test "$wxUSE_PLUGINS" = yes; then
2619 echo "$as_me:$LINENO: result: yes" >&5
2620 echo "${ECHO_T}yes" >&6
2622 echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6
2628 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2629 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2632 # Check whether --with-subdirs or --without-subdirs was given.
2633 if test "${with_subdirs+set}" = set; then
2634 withval
="$with_subdirs"
2636 if test "$withval" = yes; then
2637 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2639 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2644 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2645 if test "x$LINE" != x
; then
2646 eval "DEFAULT_$LINE"
2651 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2655 eval "$ac_cv_use_subdirs"
2656 if test "$no_cache" != 1; then
2657 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2660 if test "$wxWITH_SUBDIRS" = yes; then
2661 echo "$as_me:$LINENO: result: yes" >&5
2662 echo "${ECHO_T}yes" >&6
2664 echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6
2669 if test "$wxUSE_GUI" = "yes"; then
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2676 # Check whether --enable-universal or --disable-universal was given.
2677 if test "${enable_universal+set}" = set; then
2678 enableval
="$enable_universal"
2680 if test "$enableval" = yes; then
2681 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2683 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2688 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x
; then
2690 eval "DEFAULT_$LINE"
2695 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2699 eval "$ac_cv_use_universal"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_UNIVERSAL" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2713 # Check whether --with-gtk or --without-gtk was given.
2714 if test "${with_gtk+set}" = set; then
2716 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2719 # Check whether --with-motif or --without-motif was given.
2720 if test "${with_motif+set}" = set; then
2721 withval
="$with_motif"
2722 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2725 # Check whether --with-mac or --without-mac was given.
2726 if test "${with_mac+set}" = set; then
2728 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2731 # Check whether --with-cocoa or --without-cocoa was given.
2732 if test "${with_cocoa+set}" = set; then
2733 withval
="$with_cocoa"
2734 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2737 # Check whether --with-wine or --without-wine was given.
2738 if test "${with_wine+set}" = set; then
2739 withval
="$with_wine"
2740 wxUSE_WINE
="$withval" CACHE_WINE
=1
2743 # Check whether --with-msw or --without-msw was given.
2744 if test "${with_msw+set}" = set; then
2746 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2749 # Check whether --with-pm or --without-pm was given.
2750 if test "${with_pm+set}" = set; then
2752 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2755 # Check whether --with-mgl or --without-mgl was given.
2756 if test "${with_mgl+set}" = set; then
2758 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2761 # Check whether --with-microwin or --without-microwin was given.
2762 if test "${with_microwin+set}" = set; then
2763 withval
="$with_microwin"
2764 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2767 # Check whether --with-x11 or --without-x11 was given.
2768 if test "${with_x11+set}" = set; then
2770 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2775 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2777 # Check whether --enable-nanox or --disable-nanox was given.
2778 if test "${enable_nanox+set}" = set; then
2779 enableval
="$enable_nanox"
2781 if test "$enableval" = yes; then
2782 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2784 ac_cv_use_nanox
='wxUSE_NANOX=no'
2789 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x
; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2800 eval "$ac_cv_use_nanox"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2805 if test "$wxUSE_NANOX" = yes; then
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2814 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2815 if test "${enable_gtk2+set}" = set; then
2816 enableval
="$enable_gtk2"
2817 wxUSE_GTK2
="$enableval"
2821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2822 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2824 # Check whether --enable-gpe or --disable-gpe was given.
2825 if test "${enable_gpe+set}" = set; then
2826 enableval
="$enable_gpe"
2828 if test "$enableval" = yes; then
2829 ac_cv_use_gpe
='wxUSE_GPE=yes'
2831 ac_cv_use_gpe
='wxUSE_GPE=no'
2836 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2837 if test "x$LINE" != x
; then
2838 eval "DEFAULT_$LINE"
2843 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2847 eval "$ac_cv_use_gpe"
2848 if test "$no_cache" != 1; then
2849 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2852 if test "$wxUSE_GPE" = yes; then
2853 echo "$as_me:$LINENO: result: yes" >&5
2854 echo "${ECHO_T}yes" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2862 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2863 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2866 # Check whether --with-libpng or --without-libpng was given.
2867 if test "${with_libpng+set}" = set; then
2868 withval
="$with_libpng"
2870 if test "$withval" = yes; then
2871 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2872 elif test "$withval" = no
; then
2873 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2874 elif test "$withval" = sys
; then
2875 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2876 elif test "$withval" = builtin; then
2877 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2879 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2880 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2881 { (exit 1); exit 1; }; }
2886 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2887 if test "x$LINE" != x
; then
2888 eval "DEFAULT_$LINE"
2893 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2897 eval "$ac_cv_use_libpng"
2898 if test "$no_cache" != 1; then
2899 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2902 if test "$wxUSE_LIBPNG" = yes; then
2903 echo "$as_me:$LINENO: result: yes" >&5
2904 echo "${ECHO_T}yes" >&6
2905 elif test "$wxUSE_LIBPNG" = no
; then
2906 echo "$as_me:$LINENO: result: no" >&5
2907 echo "${ECHO_T}no" >&6
2908 elif test "$wxUSE_LIBPNG" = sys
; then
2909 echo "$as_me:$LINENO: result: system version" >&5
2910 echo "${ECHO_T}system version" >&6
2911 elif test "$wxUSE_LIBPNG" = builtin; then
2912 echo "$as_me:$LINENO: result: builtin version" >&5
2913 echo "${ECHO_T}builtin version" >&6
2915 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2916 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2917 { (exit 1); exit 1; }; }
2921 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2922 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2925 # Check whether --with-libjpeg or --without-libjpeg was given.
2926 if test "${with_libjpeg+set}" = set; then
2927 withval
="$with_libjpeg"
2929 if test "$withval" = yes; then
2930 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2931 elif test "$withval" = no
; then
2932 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2933 elif test "$withval" = sys
; then
2934 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2935 elif test "$withval" = builtin; then
2936 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2938 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2939 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2940 { (exit 1); exit 1; }; }
2945 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x
; then
2947 eval "DEFAULT_$LINE"
2952 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2956 eval "$ac_cv_use_libjpeg"
2957 if test "$no_cache" != 1; then
2958 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2961 if test "$wxUSE_LIBJPEG" = yes; then
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2964 elif test "$wxUSE_LIBJPEG" = no
; then
2965 echo "$as_me:$LINENO: result: no" >&5
2966 echo "${ECHO_T}no" >&6
2967 elif test "$wxUSE_LIBJPEG" = sys
; then
2968 echo "$as_me:$LINENO: result: system version" >&5
2969 echo "${ECHO_T}system version" >&6
2970 elif test "$wxUSE_LIBJPEG" = builtin; then
2971 echo "$as_me:$LINENO: result: builtin version" >&5
2972 echo "${ECHO_T}builtin version" >&6
2974 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2975 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2976 { (exit 1); exit 1; }; }
2980 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2981 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2984 # Check whether --with-libtiff or --without-libtiff was given.
2985 if test "${with_libtiff+set}" = set; then
2986 withval
="$with_libtiff"
2988 if test "$withval" = yes; then
2989 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2990 elif test "$withval" = no
; then
2991 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2992 elif test "$withval" = sys
; then
2993 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2994 elif test "$withval" = builtin; then
2995 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2997 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2998 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2999 { (exit 1); exit 1; }; }
3004 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3005 if test "x$LINE" != x
; then
3006 eval "DEFAULT_$LINE"
3011 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3015 eval "$ac_cv_use_libtiff"
3016 if test "$no_cache" != 1; then
3017 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3020 if test "$wxUSE_LIBTIFF" = yes; then
3021 echo "$as_me:$LINENO: result: yes" >&5
3022 echo "${ECHO_T}yes" >&6
3023 elif test "$wxUSE_LIBTIFF" = no
; then
3024 echo "$as_me:$LINENO: result: no" >&5
3025 echo "${ECHO_T}no" >&6
3026 elif test "$wxUSE_LIBTIFF" = sys
; then
3027 echo "$as_me:$LINENO: result: system version" >&5
3028 echo "${ECHO_T}system version" >&6
3029 elif test "$wxUSE_LIBTIFF" = builtin; then
3030 echo "$as_me:$LINENO: result: builtin version" >&5
3031 echo "${ECHO_T}builtin version" >&6
3033 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3034 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3035 { (exit 1); exit 1; }; }
3039 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3040 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3043 # Check whether --with-libxpm or --without-libxpm was given.
3044 if test "${with_libxpm+set}" = set; then
3045 withval
="$with_libxpm"
3047 if test "$withval" = yes; then
3048 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3049 elif test "$withval" = no
; then
3050 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3051 elif test "$withval" = sys
; then
3052 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3053 elif test "$withval" = builtin; then
3054 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3056 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3057 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3058 { (exit 1); exit 1; }; }
3063 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3064 if test "x$LINE" != x
; then
3065 eval "DEFAULT_$LINE"
3070 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3074 eval "$ac_cv_use_libxpm"
3075 if test "$no_cache" != 1; then
3076 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3079 if test "$wxUSE_LIBXPM" = yes; then
3080 echo "$as_me:$LINENO: result: yes" >&5
3081 echo "${ECHO_T}yes" >&6
3082 elif test "$wxUSE_LIBXPM" = no
; then
3083 echo "$as_me:$LINENO: result: no" >&5
3084 echo "${ECHO_T}no" >&6
3085 elif test "$wxUSE_LIBXPM" = sys
; then
3086 echo "$as_me:$LINENO: result: system version" >&5
3087 echo "${ECHO_T}system version" >&6
3088 elif test "$wxUSE_LIBXPM" = builtin; then
3089 echo "$as_me:$LINENO: result: builtin version" >&5
3090 echo "${ECHO_T}builtin version" >&6
3092 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3093 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3094 { (exit 1); exit 1; }; }
3099 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3100 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3103 # Check whether --with-libmspack or --without-libmspack was given.
3104 if test "${with_libmspack+set}" = set; then
3105 withval
="$with_libmspack"
3107 if test "$withval" = yes; then
3108 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3110 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3115 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3116 if test "x$LINE" != x
; then
3117 eval "DEFAULT_$LINE"
3122 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3126 eval "$ac_cv_use_libmspack"
3127 if test "$no_cache" != 1; then
3128 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3131 if test "$wxUSE_LIBMSPACK" = yes; then
3132 echo "$as_me:$LINENO: result: yes" >&5
3133 echo "${ECHO_T}yes" >&6
3135 echo "$as_me:$LINENO: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3141 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3142 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3145 # Check whether --with-sdl or --without-sdl was given.
3146 if test "${with_sdl+set}" = set; then
3149 if test "$withval" = yes; then
3150 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3152 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3157 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x
; then
3159 eval "DEFAULT_$LINE"
3164 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3168 eval "$ac_cv_use_sdl"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3173 if test "$wxUSE_LIBSDL" = yes; then
3174 echo "$as_me:$LINENO: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3183 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3184 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3187 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3188 if test "${with_gnomeprint+set}" = set; then
3189 withval
="$with_gnomeprint"
3191 if test "$withval" = yes; then
3192 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3194 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3199 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x
; then
3201 eval "DEFAULT_$LINE"
3206 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3210 eval "$ac_cv_use_gnomeprint"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3225 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3226 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3229 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3230 if test "${with_gnomevfs+set}" = set; then
3231 withval
="$with_gnomevfs"
3233 if test "$withval" = yes; then
3234 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3236 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3241 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x
; then
3243 eval "DEFAULT_$LINE"
3248 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3252 eval "$ac_cv_use_gnomevfs"
3253 if test "$no_cache" != 1; then
3254 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3257 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3258 echo "$as_me:$LINENO: result: yes" >&5
3259 echo "${ECHO_T}yes" >&6
3261 echo "$as_me:$LINENO: result: no" >&5
3262 echo "${ECHO_T}no" >&6
3267 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3268 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3271 # Check whether --with-hildon or --without-hildon was given.
3272 if test "${with_hildon+set}" = set; then
3273 withval
="$with_hildon"
3275 if test "$withval" = yes; then
3276 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3278 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3283 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x
; then
3285 eval "DEFAULT_$LINE"
3290 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3294 eval "$ac_cv_use_hildon"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3299 if test "$wxUSE_LIBHILDON" = yes; then
3300 echo "$as_me:$LINENO: result: yes" >&5
3301 echo "${ECHO_T}yes" >&6
3303 echo "$as_me:$LINENO: result: no" >&5
3304 echo "${ECHO_T}no" >&6
3309 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3310 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3313 # Check whether --with-opengl or --without-opengl was given.
3314 if test "${with_opengl+set}" = set; then
3315 withval
="$with_opengl"
3317 if test "$withval" = yes; then
3318 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3320 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3325 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x
; then
3327 eval "DEFAULT_$LINE"
3332 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3336 eval "$ac_cv_use_opengl"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3341 if test "$wxUSE_OPENGL" = yes; then
3342 echo "$as_me:$LINENO: result: yes" >&5
3343 echo "${ECHO_T}yes" >&6
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3354 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3355 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3358 # Check whether --with-dmalloc or --without-dmalloc was given.
3359 if test "${with_dmalloc+set}" = set; then
3360 withval
="$with_dmalloc"
3362 if test "$withval" = yes; then
3363 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3365 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3370 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3371 if test "x$LINE" != x
; then
3372 eval "DEFAULT_$LINE"
3377 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3381 eval "$ac_cv_use_dmalloc"
3382 if test "$no_cache" != 1; then
3383 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3386 if test "$wxUSE_DMALLOC" = yes; then
3387 echo "$as_me:$LINENO: result: yes" >&5
3388 echo "${ECHO_T}yes" >&6
3390 echo "$as_me:$LINENO: result: no" >&5
3391 echo "${ECHO_T}no" >&6
3395 echo "$as_me:$LINENO: checking for --with-regex" >&5
3396 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3399 # Check whether --with-regex or --without-regex was given.
3400 if test "${with_regex+set}" = set; then
3401 withval
="$with_regex"
3403 if test "$withval" = yes; then
3404 ac_cv_use_regex
='wxUSE_REGEX=yes'
3405 elif test "$withval" = no
; then
3406 ac_cv_use_regex
='wxUSE_REGEX=no'
3407 elif test "$withval" = sys
; then
3408 ac_cv_use_regex
='wxUSE_REGEX=sys'
3409 elif test "$withval" = builtin; then
3410 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3412 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3413 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3414 { (exit 1); exit 1; }; }
3419 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x
; then
3421 eval "DEFAULT_$LINE"
3426 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3430 eval "$ac_cv_use_regex"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3435 if test "$wxUSE_REGEX" = yes; then
3436 echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6
3438 elif test "$wxUSE_REGEX" = no
; then
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3441 elif test "$wxUSE_REGEX" = sys
; then
3442 echo "$as_me:$LINENO: result: system version" >&5
3443 echo "${ECHO_T}system version" >&6
3444 elif test "$wxUSE_REGEX" = builtin; then
3445 echo "$as_me:$LINENO: result: builtin version" >&5
3446 echo "${ECHO_T}builtin version" >&6
3448 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3449 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3450 { (exit 1); exit 1; }; }
3454 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3455 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3458 # Check whether --with-zlib or --without-zlib was given.
3459 if test "${with_zlib+set}" = set; then
3460 withval
="$with_zlib"
3462 if test "$withval" = yes; then
3463 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3464 elif test "$withval" = no
; then
3465 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3466 elif test "$withval" = sys
; then
3467 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3468 elif test "$withval" = builtin; then
3469 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3471 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3472 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3473 { (exit 1); exit 1; }; }
3478 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x
; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3489 eval "$ac_cv_use_zlib"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_ZLIB" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3497 elif test "$wxUSE_ZLIB" = no
; then
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3500 elif test "$wxUSE_ZLIB" = sys
; then
3501 echo "$as_me:$LINENO: result: system version" >&5
3502 echo "${ECHO_T}system version" >&6
3503 elif test "$wxUSE_ZLIB" = builtin; then
3504 echo "$as_me:$LINENO: result: builtin version" >&5
3505 echo "${ECHO_T}builtin version" >&6
3507 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3508 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3509 { (exit 1); exit 1; }; }
3513 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3514 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3517 # Check whether --with-odbc or --without-odbc was given.
3518 if test "${with_odbc+set}" = set; then
3519 withval
="$with_odbc"
3521 if test "$withval" = yes; then
3522 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3523 elif test "$withval" = no
; then
3524 ac_cv_use_odbc
='wxUSE_ODBC=no'
3525 elif test "$withval" = sys
; then
3526 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3527 elif test "$withval" = builtin; then
3528 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3530 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3531 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3532 { (exit 1); exit 1; }; }
3537 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3538 if test "x$LINE" != x
; then
3539 eval "DEFAULT_$LINE"
3544 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3548 eval "$ac_cv_use_odbc"
3549 if test "$no_cache" != 1; then
3550 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3553 if test "$wxUSE_ODBC" = yes; then
3554 echo "$as_me:$LINENO: result: yes" >&5
3555 echo "${ECHO_T}yes" >&6
3556 elif test "$wxUSE_ODBC" = no
; then
3557 echo "$as_me:$LINENO: result: no" >&5
3558 echo "${ECHO_T}no" >&6
3559 elif test "$wxUSE_ODBC" = sys
; then
3560 echo "$as_me:$LINENO: result: system version" >&5
3561 echo "${ECHO_T}system version" >&6
3562 elif test "$wxUSE_ODBC" = builtin; then
3563 echo "$as_me:$LINENO: result: builtin version" >&5
3564 echo "${ECHO_T}builtin version" >&6
3566 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3567 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3568 { (exit 1); exit 1; }; }
3572 echo "$as_me:$LINENO: checking for --with-expat" >&5
3573 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3576 # Check whether --with-expat or --without-expat was given.
3577 if test "${with_expat+set}" = set; then
3578 withval
="$with_expat"
3580 if test "$withval" = yes; then
3581 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3582 elif test "$withval" = no
; then
3583 ac_cv_use_expat
='wxUSE_EXPAT=no'
3584 elif test "$withval" = sys
; then
3585 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3586 elif test "$withval" = builtin; then
3587 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3596 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3597 if test "x$LINE" != x
; then
3598 eval "DEFAULT_$LINE"
3603 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3607 eval "$ac_cv_use_expat"
3608 if test "$no_cache" != 1; then
3609 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3612 if test "$wxUSE_EXPAT" = yes; then
3613 echo "$as_me:$LINENO: result: yes" >&5
3614 echo "${ECHO_T}yes" >&6
3615 elif test "$wxUSE_EXPAT" = no
; then
3616 echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3618 elif test "$wxUSE_EXPAT" = sys
; then
3619 echo "$as_me:$LINENO: result: system version" >&5
3620 echo "${ECHO_T}system version" >&6
3621 elif test "$wxUSE_EXPAT" = builtin; then
3622 echo "$as_me:$LINENO: result: builtin version" >&5
3623 echo "${ECHO_T}builtin version" >&6
3625 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3626 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3627 { (exit 1); exit 1; }; }
3634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3635 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3637 # Check whether --enable-shared or --disable-shared was given.
3638 if test "${enable_shared+set}" = set; then
3639 enableval
="$enable_shared"
3641 if test "$enableval" = yes; then
3642 ac_cv_use_shared
='wxUSE_SHARED=yes'
3644 ac_cv_use_shared
='wxUSE_SHARED=no'
3649 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x
; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3660 eval "$ac_cv_use_shared"
3661 if test "$no_cache" != 1; then
3662 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3665 if test "$wxUSE_SHARED" = yes; then
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3676 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3678 # Check whether --enable-optimise or --disable-optimise was given.
3679 if test "${enable_optimise+set}" = set; then
3680 enableval
="$enable_optimise"
3682 if test "$enableval" = yes; then
3683 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3685 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3690 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x
; then
3692 eval "DEFAULT_$LINE"
3697 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3701 eval "$ac_cv_use_optimise"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3706 if test "$wxUSE_OPTIMISE" = yes; then
3707 echo "$as_me:$LINENO: result: yes" >&5
3708 echo "${ECHO_T}yes" >&6
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3717 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3719 # Check whether --enable-debug or --disable-debug was given.
3720 if test "${enable_debug+set}" = set; then
3721 enableval
="$enable_debug"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3726 ac_cv_use_debug
='wxUSE_DEBUG=no'
3731 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x
; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3742 eval "$ac_cv_use_debug"
3743 if test "$no_cache" != 1; then
3744 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3747 if test "$wxUSE_DEBUG" = yes; then
3748 echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3758 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3760 # Check whether --enable-stl or --disable-stl was given.
3761 if test "${enable_stl+set}" = set; then
3762 enableval
="$enable_stl"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_stl
='wxUSE_STL=yes'
3767 ac_cv_use_stl
='wxUSE_STL=no'
3772 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x
; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3783 eval "$ac_cv_use_stl"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_STL" = yes; then
3789 echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3796 if test "$USE_OS2" = "1"; then
3797 DEFAULT_wxUSE_OMF
=no
3800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3801 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3803 # Check whether --enable-omf or --disable-omf was given.
3804 if test "${enable_omf+set}" = set; then
3805 enableval
="$enable_omf"
3807 if test "$enableval" = yes; then
3808 ac_cv_use_omf
='wxUSE_OMF=yes'
3810 ac_cv_use_omf
='wxUSE_OMF=no'
3815 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3816 if test "x$LINE" != x
; then
3817 eval "DEFAULT_$LINE"
3822 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3826 eval "$ac_cv_use_omf"
3827 if test "$no_cache" != 1; then
3828 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3831 if test "$wxUSE_OMF" = yes; then
3832 echo "$as_me:$LINENO: result: yes" >&5
3833 echo "${ECHO_T}yes" >&6
3835 echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6
3841 if test "$wxUSE_DEBUG" = "yes"; then
3842 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3843 DEFAULT_wxUSE_DEBUG_INFO
=yes
3845 elif test "$wxUSE_DEBUG" = "no"; then
3846 DEFAULT_wxUSE_DEBUG_FLAG
=no
3847 DEFAULT_wxUSE_DEBUG_INFO
=no
3853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3854 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3856 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3857 if test "${enable_debug_flag+set}" = set; then
3858 enableval
="$enable_debug_flag"
3860 if test "$enableval" = yes; then
3861 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3863 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3868 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3869 if test "x$LINE" != x
; then
3870 eval "DEFAULT_$LINE"
3875 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3879 eval "$ac_cv_use_debug_flag"
3880 if test "$no_cache" != 1; then
3881 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3884 if test "$wxUSE_DEBUG_FLAG" = yes; then
3885 echo "$as_me:$LINENO: result: yes" >&5
3886 echo "${ECHO_T}yes" >&6
3888 echo "$as_me:$LINENO: result: no" >&5
3889 echo "${ECHO_T}no" >&6
3894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3895 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3897 # Check whether --enable-debug_info or --disable-debug_info was given.
3898 if test "${enable_debug_info+set}" = set; then
3899 enableval
="$enable_debug_info"
3901 if test "$enableval" = yes; then
3902 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3904 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3909 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3910 if test "x$LINE" != x
; then
3911 eval "DEFAULT_$LINE"
3916 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3920 eval "$ac_cv_use_debug_info"
3921 if test "$no_cache" != 1; then
3922 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3925 if test "$wxUSE_DEBUG_INFO" = yes; then
3926 echo "$as_me:$LINENO: result: yes" >&5
3927 echo "${ECHO_T}yes" >&6
3929 echo "$as_me:$LINENO: result: no" >&5
3930 echo "${ECHO_T}no" >&6
3935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3936 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3938 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3939 if test "${enable_debug_gdb+set}" = set; then
3940 enableval
="$enable_debug_gdb"
3942 if test "$enableval" = yes; then
3943 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3945 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3950 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3951 if test "x$LINE" != x
; then
3952 eval "DEFAULT_$LINE"
3957 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3961 eval "$ac_cv_use_debug_gdb"
3962 if test "$no_cache" != 1; then
3963 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3966 if test "$wxUSE_DEBUG_GDB" = yes; then
3967 echo "$as_me:$LINENO: result: yes" >&5
3968 echo "${ECHO_T}yes" >&6
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3977 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3979 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3980 if test "${enable_debug_cntxt+set}" = set; then
3981 enableval
="$enable_debug_cntxt"
3983 if test "$enableval" = yes; then
3984 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3986 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3991 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3992 if test "x$LINE" != x
; then
3993 eval "DEFAULT_$LINE"
3998 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4002 eval "$ac_cv_use_debug_cntxt"
4003 if test "$no_cache" != 1; then
4004 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4007 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4008 echo "$as_me:$LINENO: result: yes" >&5
4009 echo "${ECHO_T}yes" >&6
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4018 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4020 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4021 if test "${enable_mem_tracing+set}" = set; then
4022 enableval
="$enable_mem_tracing"
4024 if test "$enableval" = yes; then
4025 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4027 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4032 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x
; then
4034 eval "DEFAULT_$LINE"
4039 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4043 eval "$ac_cv_use_mem_tracing"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4048 if test "$wxUSE_MEM_TRACING" = yes; then
4049 echo "$as_me:$LINENO: result: yes" >&5
4050 echo "${ECHO_T}yes" >&6
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4059 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4061 # Check whether --enable-profile or --disable-profile was given.
4062 if test "${enable_profile+set}" = set; then
4063 enableval
="$enable_profile"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4068 ac_cv_use_profile
='wxUSE_PROFILE=no'
4073 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x
; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4084 eval "$ac_cv_use_profile"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4089 if test "$wxUSE_PROFILE" = yes; then
4090 echo "$as_me:$LINENO: result: yes" >&5
4091 echo "${ECHO_T}yes" >&6
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4100 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4102 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4103 if test "${enable_no_rtti+set}" = set; then
4104 enableval
="$enable_no_rtti"
4106 if test "$enableval" = yes; then
4107 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4109 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4114 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4115 if test "x$LINE" != x
; then
4116 eval "DEFAULT_$LINE"
4121 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4125 eval "$ac_cv_use_no_rtti"
4126 if test "$no_cache" != 1; then
4127 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4130 if test "$wxUSE_NO_RTTI" = yes; then
4131 echo "$as_me:$LINENO: result: yes" >&5
4132 echo "${ECHO_T}yes" >&6
4134 echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6
4140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4141 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4143 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4144 if test "${enable_no_exceptions+set}" = set; then
4145 enableval
="$enable_no_exceptions"
4147 if test "$enableval" = yes; then
4148 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4150 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4155 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4156 if test "x$LINE" != x
; then
4157 eval "DEFAULT_$LINE"
4162 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4166 eval "$ac_cv_use_no_exceptions"
4167 if test "$no_cache" != 1; then
4168 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4171 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4172 echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6
4175 echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6
4181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4184 # Check whether --enable-permissive or --disable-permissive was given.
4185 if test "${enable_permissive+set}" = set; then
4186 enableval
="$enable_permissive"
4188 if test "$enableval" = yes; then
4189 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4191 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4196 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x
; then
4198 eval "DEFAULT_$LINE"
4203 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4207 eval "$ac_cv_use_permissive"
4208 if test "$no_cache" != 1; then
4209 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4212 if test "$wxUSE_PERMISSIVE" = yes; then
4213 echo "$as_me:$LINENO: result: yes" >&5
4214 echo "${ECHO_T}yes" >&6
4216 echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6
4222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4223 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4225 # Check whether --enable-no_deps or --disable-no_deps was given.
4226 if test "${enable_no_deps+set}" = set; then
4227 enableval
="$enable_no_deps"
4229 if test "$enableval" = yes; then
4230 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4232 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4237 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4238 if test "x$LINE" != x
; then
4239 eval "DEFAULT_$LINE"
4244 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4248 eval "$ac_cv_use_no_deps"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4253 if test "$wxUSE_NO_DEPS" = yes; then
4254 echo "$as_me:$LINENO: result: yes" >&5
4255 echo "${ECHO_T}yes" >&6
4257 echo "$as_me:$LINENO: result: no" >&5
4258 echo "${ECHO_T}no" >&6
4263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4264 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4266 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4267 if test "${enable_universal_binary+set}" = set; then
4268 enableval
="$enable_universal_binary"
4270 if test "$enableval" = yes; then
4271 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4273 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4278 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4279 if test "x$LINE" != x
; then
4280 eval "DEFAULT_$LINE"
4285 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4289 eval "$ac_cv_use_universal_binary"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4294 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4295 echo "$as_me:$LINENO: result: yes" >&5
4296 echo "${ECHO_T}yes" >&6
4298 echo "$as_me:$LINENO: result: no" >&5
4299 echo "${ECHO_T}no" >&6
4305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4306 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4308 # Check whether --enable-compat24 or --disable-compat24 was given.
4309 if test "${enable_compat24+set}" = set; then
4310 enableval
="$enable_compat24"
4312 if test "$enableval" = yes; then
4313 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4315 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4320 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x
; then
4322 eval "DEFAULT_$LINE"
4327 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4331 eval "$ac_cv_use_compat24"
4332 if test "$no_cache" != 1; then
4333 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4336 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4337 echo "$as_me:$LINENO: result: yes" >&5
4338 echo "${ECHO_T}yes" >&6
4340 echo "$as_me:$LINENO: result: no" >&5
4341 echo "${ECHO_T}no" >&6
4345 enablestring
=disable
4346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4347 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4349 # Check whether --enable-compat26 or --disable-compat26 was given.
4350 if test "${enable_compat26+set}" = set; then
4351 enableval
="$enable_compat26"
4353 if test "$enableval" = yes; then
4354 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4356 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4361 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x
; then
4363 eval "DEFAULT_$LINE"
4368 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4372 eval "$ac_cv_use_compat26"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4377 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4378 echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6
4381 echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6
4388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4389 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4391 # Check whether --enable-rpath or --disable-rpath was given.
4392 if test "${enable_rpath+set}" = set; then
4393 enableval
="$enable_rpath"
4395 if test "$enableval" = yes; then
4396 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4398 ac_cv_use_rpath
='wxUSE_RPATH=no'
4403 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x
; then
4405 eval "DEFAULT_$LINE"
4410 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4414 eval "$ac_cv_use_rpath"
4415 if test "$no_cache" != 1; then
4416 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4419 if test "$wxUSE_RPATH" = yes; then
4420 echo "$as_me:$LINENO: result: yes" >&5
4421 echo "${ECHO_T}yes" >&6
4423 echo "$as_me:$LINENO: result: no" >&5
4424 echo "${ECHO_T}no" >&6
4432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4433 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4435 # Check whether --enable-intl or --disable-intl was given.
4436 if test "${enable_intl+set}" = set; then
4437 enableval
="$enable_intl"
4439 if test "$enableval" = yes; then
4440 ac_cv_use_intl
='wxUSE_INTL=yes'
4442 ac_cv_use_intl
='wxUSE_INTL=no'
4447 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x
; then
4449 eval "DEFAULT_$LINE"
4454 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4458 eval "$ac_cv_use_intl"
4459 if test "$no_cache" != 1; then
4460 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4463 if test "$wxUSE_INTL" = yes; then
4464 echo "$as_me:$LINENO: result: yes" >&5
4465 echo "${ECHO_T}yes" >&6
4467 echo "$as_me:$LINENO: result: no" >&5
4468 echo "${ECHO_T}no" >&6
4473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4474 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4476 # Check whether --enable-config or --disable-config was given.
4477 if test "${enable_config+set}" = set; then
4478 enableval
="$enable_config"
4480 if test "$enableval" = yes; then
4481 ac_cv_use_config
='wxUSE_CONFIG=yes'
4483 ac_cv_use_config
='wxUSE_CONFIG=no'
4488 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x
; then
4490 eval "DEFAULT_$LINE"
4495 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4499 eval "$ac_cv_use_config"
4500 if test "$no_cache" != 1; then
4501 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4504 if test "$wxUSE_CONFIG" = yes; then
4505 echo "$as_me:$LINENO: result: yes" >&5
4506 echo "${ECHO_T}yes" >&6
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4518 # Check whether --enable-protocols or --disable-protocols was given.
4519 if test "${enable_protocols+set}" = set; then
4520 enableval
="$enable_protocols"
4522 if test "$enableval" = yes; then
4523 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4525 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4530 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x
; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4541 eval "$ac_cv_use_protocols"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4546 if test "$wxUSE_PROTOCOL" = yes; then
4547 echo "$as_me:$LINENO: result: yes" >&5
4548 echo "${ECHO_T}yes" >&6
4550 echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6
4556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4557 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4559 # Check whether --enable-ftp or --disable-ftp was given.
4560 if test "${enable_ftp+set}" = set; then
4561 enableval
="$enable_ftp"
4563 if test "$enableval" = yes; then
4564 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4566 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4571 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x
; then
4573 eval "DEFAULT_$LINE"
4578 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4582 eval "$ac_cv_use_ftp"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4587 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4588 echo "$as_me:$LINENO: result: yes" >&5
4589 echo "${ECHO_T}yes" >&6
4591 echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4600 # Check whether --enable-http or --disable-http was given.
4601 if test "${enable_http+set}" = set; then
4602 enableval
="$enable_http"
4604 if test "$enableval" = yes; then
4605 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4607 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4612 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x
; then
4614 eval "DEFAULT_$LINE"
4619 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4623 eval "$ac_cv_use_http"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4628 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4629 echo "$as_me:$LINENO: result: yes" >&5
4630 echo "${ECHO_T}yes" >&6
4632 echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4641 # Check whether --enable-fileproto or --disable-fileproto was given.
4642 if test "${enable_fileproto+set}" = set; then
4643 enableval
="$enable_fileproto"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4648 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4653 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4664 eval "$ac_cv_use_fileproto"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4682 # Check whether --enable-sockets or --disable-sockets was given.
4683 if test "${enable_sockets+set}" = set; then
4684 enableval
="$enable_sockets"
4686 if test "$enableval" = yes; then
4687 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4689 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4694 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x
; then
4696 eval "DEFAULT_$LINE"
4701 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4705 eval "$ac_cv_use_sockets"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4710 if test "$wxUSE_SOCKETS" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4723 # Check whether --enable-ole or --disable-ole was given.
4724 if test "${enable_ole+set}" = set; then
4725 enableval
="$enable_ole"
4727 if test "$enableval" = yes; then
4728 ac_cv_use_ole
='wxUSE_OLE=yes'
4730 ac_cv_use_ole
='wxUSE_OLE=no'
4735 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x
; then
4737 eval "DEFAULT_$LINE"
4742 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4746 eval "$ac_cv_use_ole"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_OLE" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4764 # Check whether --enable-dataobj or --disable-dataobj was given.
4765 if test "${enable_dataobj+set}" = set; then
4766 enableval
="$enable_dataobj"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4771 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4776 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4787 eval "$ac_cv_use_dataobj"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4792 if test "$wxUSE_DATAOBJ" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4804 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4806 # Check whether --enable-ipc or --disable-ipc was given.
4807 if test "${enable_ipc+set}" = set; then
4808 enableval
="$enable_ipc"
4810 if test "$enableval" = yes; then
4811 ac_cv_use_ipc
='wxUSE_IPC=yes'
4813 ac_cv_use_ipc
='wxUSE_IPC=no'
4818 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4819 if test "x$LINE" != x
; then
4820 eval "DEFAULT_$LINE"
4825 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4829 eval "$ac_cv_use_ipc"
4830 if test "$no_cache" != 1; then
4831 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4834 if test "$wxUSE_IPC" = yes; then
4835 echo "$as_me:$LINENO: result: yes" >&5
4836 echo "${ECHO_T}yes" >&6
4838 echo "$as_me:$LINENO: result: no" >&5
4839 echo "${ECHO_T}no" >&6
4845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4848 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4849 if test "${enable_apple_ieee+set}" = set; then
4850 enableval
="$enable_apple_ieee"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4855 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4860 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x
; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4871 eval "$ac_cv_use_apple_ieee"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_APPLE_IEEE" = yes; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878 echo "${ECHO_T}yes" >&6
4880 echo "$as_me:$LINENO: result: no" >&5
4881 echo "${ECHO_T}no" >&6
4886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4889 # Check whether --enable-arcstream or --disable-arcstream was given.
4890 if test "${enable_arcstream+set}" = set; then
4891 enableval
="$enable_arcstream"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4896 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4901 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x
; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4912 eval "$ac_cv_use_arcstream"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4917 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6
4921 echo "$as_me:$LINENO: result: no" >&5
4922 echo "${ECHO_T}no" >&6
4927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4930 # Check whether --enable-backtrace or --disable-backtrace was given.
4931 if test "${enable_backtrace+set}" = set; then
4932 enableval
="$enable_backtrace"
4934 if test "$enableval" = yes; then
4935 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4937 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4942 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x
; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4953 eval "$ac_cv_use_backtrace"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4958 if test "$wxUSE_STACKWALKER" = yes; then
4959 echo "$as_me:$LINENO: result: yes" >&5
4960 echo "${ECHO_T}yes" >&6
4962 echo "$as_me:$LINENO: result: no" >&5
4963 echo "${ECHO_T}no" >&6
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4971 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4972 if test "${enable_catch_segvs+set}" = set; then
4973 enableval
="$enable_catch_segvs"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4978 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4983 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x
; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4994 eval "$ac_cv_use_catch_segvs"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5012 # Check whether --enable-cmdline or --disable-cmdline was given.
5013 if test "${enable_cmdline+set}" = set; then
5014 enableval
="$enable_cmdline"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5019 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5024 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5035 eval "$ac_cv_use_cmdline"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5040 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5053 # Check whether --enable-datetime or --disable-datetime was given.
5054 if test "${enable_datetime+set}" = set; then
5055 enableval
="$enable_datetime"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5060 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5065 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x
; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5076 eval "$ac_cv_use_datetime"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_DATETIME" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5094 # Check whether --enable-debugreport or --disable-debugreport was given.
5095 if test "${enable_debugreport+set}" = set; then
5096 enableval
="$enable_debugreport"
5098 if test "$enableval" = yes; then
5099 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5101 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5106 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x
; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5117 eval "$ac_cv_use_debugreport"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_DEBUGREPORT" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5135 # Check whether --enable-dialupman or --disable-dialupman was given.
5136 if test "${enable_dialupman+set}" = set; then
5137 enableval
="$enable_dialupman"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5142 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5147 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x
; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5158 eval "$ac_cv_use_dialupman"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5176 # Check whether --enable-dynlib or --disable-dynlib was given.
5177 if test "${enable_dynlib+set}" = set; then
5178 enableval
="$enable_dynlib"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5183 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5188 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5199 eval "$ac_cv_use_dynlib"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5217 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5218 if test "${enable_dynamicloader+set}" = set; then
5219 enableval
="$enable_dynamicloader"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5224 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5229 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x
; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5240 eval "$ac_cv_use_dynamicloader"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5258 # Check whether --enable-exceptions or --disable-exceptions was given.
5259 if test "${enable_exceptions+set}" = set; then
5260 enableval
="$enable_exceptions"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5265 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5270 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x
; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5281 eval "$ac_cv_use_exceptions"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_EXCEPTIONS" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5299 # Check whether --enable-ffile or --disable-ffile was given.
5300 if test "${enable_ffile+set}" = set; then
5301 enableval
="$enable_ffile"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5306 ac_cv_use_ffile
='wxUSE_FFILE=no'
5311 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x
; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5322 eval "$ac_cv_use_ffile"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_FFILE" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5340 # Check whether --enable-file or --disable-file was given.
5341 if test "${enable_file+set}" = set; then
5342 enableval
="$enable_file"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_file
='wxUSE_FILE=yes'
5347 ac_cv_use_file
='wxUSE_FILE=no'
5352 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x
; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5363 eval "$ac_cv_use_file"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_FILE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5381 # Check whether --enable-filesystem or --disable-filesystem was given.
5382 if test "${enable_filesystem+set}" = set; then
5383 enableval
="$enable_filesystem"
5385 if test "$enableval" = yes; then
5386 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5388 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5393 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x
; then
5395 eval "DEFAULT_$LINE"
5400 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5404 eval "$ac_cv_use_filesystem"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_FILESYSTEM" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5422 # Check whether --enable-fontmap or --disable-fontmap was given.
5423 if test "${enable_fontmap+set}" = set; then
5424 enableval
="$enable_fontmap"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5429 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5434 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x
; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5445 eval "$ac_cv_use_fontmap"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_FONTMAP" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5463 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5464 if test "${enable_fs_inet+set}" = set; then
5465 enableval
="$enable_fs_inet"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5470 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5475 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x
; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5486 eval "$ac_cv_use_fs_inet"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_FS_INET" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5504 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5505 if test "${enable_fs_zip+set}" = set; then
5506 enableval
="$enable_fs_zip"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5511 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5516 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x
; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5527 eval "$ac_cv_use_fs_zip"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_FS_ZIP" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5545 # Check whether --enable-geometry or --disable-geometry was given.
5546 if test "${enable_geometry+set}" = set; then
5547 enableval
="$enable_geometry"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5552 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5557 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x
; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5568 eval "$ac_cv_use_geometry"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_GEOMETRY" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5586 # Check whether --enable-log or --disable-log was given.
5587 if test "${enable_log+set}" = set; then
5588 enableval
="$enable_log"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_log
='wxUSE_LOG=yes'
5593 ac_cv_use_log
='wxUSE_LOG=no'
5598 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x
; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5609 eval "$ac_cv_use_log"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_LOG" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5627 # Check whether --enable-longlong or --disable-longlong was given.
5628 if test "${enable_longlong+set}" = set; then
5629 enableval
="$enable_longlong"
5631 if test "$enableval" = yes; then
5632 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5634 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5639 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x
; then
5641 eval "DEFAULT_$LINE"
5646 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5650 eval "$ac_cv_use_longlong"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_LONGLONG" = yes; then
5656 echo "$as_me:$LINENO: result: yes" >&5
5657 echo "${ECHO_T}yes" >&6
5659 echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6
5665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5668 # Check whether --enable-mimetype or --disable-mimetype was given.
5669 if test "${enable_mimetype+set}" = set; then
5670 enableval
="$enable_mimetype"
5672 if test "$enableval" = yes; then
5673 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5675 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5680 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x
; then
5682 eval "DEFAULT_$LINE"
5687 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5691 eval "$ac_cv_use_mimetype"
5692 if test "$no_cache" != 1; then
5693 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5696 if test "$wxUSE_MIMETYPE" = yes; then
5697 echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6
5700 echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6
5706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5709 # Check whether --enable-mslu or --disable-mslu was given.
5710 if test "${enable_mslu+set}" = set; then
5711 enableval
="$enable_mslu"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5716 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5721 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x
; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5732 eval "$ac_cv_use_mslu"
5733 if test "$no_cache" != 1; then
5734 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5737 if test "$wxUSE_UNICODE_MSLU" = yes; then
5738 echo "$as_me:$LINENO: result: yes" >&5
5739 echo "${ECHO_T}yes" >&6
5741 echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6
5747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5750 # Check whether --enable-snglinst or --disable-snglinst was given.
5751 if test "${enable_snglinst+set}" = set; then
5752 enableval
="$enable_snglinst"
5754 if test "$enableval" = yes; then
5755 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5757 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5762 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x
; then
5764 eval "DEFAULT_$LINE"
5769 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5773 eval "$ac_cv_use_snglinst"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5779 echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6
5782 echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5791 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5792 if test "${enable_std_iostreams+set}" = set; then
5793 enableval
="$enable_std_iostreams"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5798 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5803 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x
; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5814 eval "$ac_cv_use_std_iostreams"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_STD_IOSTREAM" = yes; then
5820 echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5832 # Check whether --enable-std_string or --disable-std_string was given.
5833 if test "${enable_std_string+set}" = set; then
5834 enableval
="$enable_std_string"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5839 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5844 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x
; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5855 eval "$ac_cv_use_std_string"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_STD_STRING" = yes; then
5861 echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5873 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5874 if test "${enable_stdpaths+set}" = set; then
5875 enableval
="$enable_stdpaths"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5880 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5885 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x
; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5896 eval "$ac_cv_use_stdpaths"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_STDPATHS" = yes; then
5902 echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5905 echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5914 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5915 if test "${enable_stopwatch+set}" = set; then
5916 enableval
="$enable_stopwatch"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5921 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5926 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x
; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5937 eval "$ac_cv_use_stopwatch"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_STOPWATCH" = yes; then
5943 echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5955 # Check whether --enable-streams or --disable-streams was given.
5956 if test "${enable_streams+set}" = set; then
5957 enableval
="$enable_streams"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5962 ac_cv_use_streams
='wxUSE_STREAMS=no'
5967 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x
; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5978 eval "$ac_cv_use_streams"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_STREAMS" = yes; then
5984 echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5996 # Check whether --enable-system_options or --disable-system_options was given.
5997 if test "${enable_system_options+set}" = set; then
5998 enableval
="$enable_system_options"
6000 if test "$enableval" = yes; then
6001 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6003 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6008 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x
; then
6010 eval "DEFAULT_$LINE"
6015 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6019 eval "$ac_cv_use_system_options"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6025 echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6
6028 echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6
6034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6037 # Check whether --enable-textbuf or --disable-textbuf was given.
6038 if test "${enable_textbuf+set}" = set; then
6039 enableval
="$enable_textbuf"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6044 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6049 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x
; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6060 eval "$ac_cv_use_textbuf"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_TEXTBUFFER" = yes; then
6066 echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6069 echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6078 # Check whether --enable-textfile or --disable-textfile was given.
6079 if test "${enable_textfile+set}" = set; then
6080 enableval
="$enable_textfile"
6082 if test "$enableval" = yes; then
6083 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6085 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6090 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x
; then
6092 eval "DEFAULT_$LINE"
6097 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6101 eval "$ac_cv_use_textfile"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_TEXTFILE" = yes; then
6107 echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6
6110 echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6119 # Check whether --enable-timer or --disable-timer was given.
6120 if test "${enable_timer+set}" = set; then
6121 enableval
="$enable_timer"
6123 if test "$enableval" = yes; then
6124 ac_cv_use_timer
='wxUSE_TIMER=yes'
6126 ac_cv_use_timer
='wxUSE_TIMER=no'
6131 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x
; then
6133 eval "DEFAULT_$LINE"
6138 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6142 eval "$ac_cv_use_timer"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6147 if test "$wxUSE_TIMER" = yes; then
6148 echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6
6151 echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6160 # Check whether --enable-unicode or --disable-unicode was given.
6161 if test "${enable_unicode+set}" = set; then
6162 enableval
="$enable_unicode"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6167 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6172 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x
; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6183 eval "$ac_cv_use_unicode"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_UNICODE" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6201 # Check whether --enable-sound or --disable-sound was given.
6202 if test "${enable_sound+set}" = set; then
6203 enableval
="$enable_sound"
6205 if test "$enableval" = yes; then
6206 ac_cv_use_sound
='wxUSE_SOUND=yes'
6208 ac_cv_use_sound
='wxUSE_SOUND=no'
6213 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x
; then
6215 eval "DEFAULT_$LINE"
6220 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6224 eval "$ac_cv_use_sound"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6229 if test "$wxUSE_SOUND" = yes; then
6230 echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6
6233 echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6242 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6243 if test "${enable_mediactrl+set}" = set; then
6244 enableval
="$enable_mediactrl"
6246 if test "$enableval" = yes; then
6247 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6249 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6254 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x
; then
6256 eval "DEFAULT_$LINE"
6261 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6265 eval "$ac_cv_use_mediactrl"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_MEDIACTRL" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6283 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6284 if test "${enable_gstreamer8+set}" = set; then
6285 enableval
="$enable_gstreamer8"
6287 if test "$enableval" = yes; then
6288 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6290 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6295 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x
; then
6297 eval "DEFAULT_$LINE"
6302 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6306 eval "$ac_cv_use_gstreamer8"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_GSTREAMER8" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6
6315 echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6
6321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6324 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6325 if test "${enable_printfposparam+set}" = set; then
6326 enableval
="$enable_printfposparam"
6328 if test "$enableval" = yes; then
6329 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6331 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6336 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x
; then
6338 eval "DEFAULT_$LINE"
6343 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6347 eval "$ac_cv_use_printfposparam"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6352 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6353 echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6
6356 echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6365 # Check whether --enable-zipstream or --disable-zipstream was given.
6366 if test "${enable_zipstream+set}" = set; then
6367 enableval
="$enable_zipstream"
6369 if test "$enableval" = yes; then
6370 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6372 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6377 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x
; then
6379 eval "DEFAULT_$LINE"
6384 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6388 eval "$ac_cv_use_zipstream"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6393 if test "$wxUSE_ZIPSTREAM" = yes; then
6394 echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6
6397 echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6
6404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6405 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6407 # Check whether --enable-url or --disable-url was given.
6408 if test "${enable_url+set}" = set; then
6409 enableval
="$enable_url"
6411 if test "$enableval" = yes; then
6412 ac_cv_use_url
='wxUSE_URL=yes'
6414 ac_cv_use_url
='wxUSE_URL=no'
6419 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6420 if test "x$LINE" != x
; then
6421 eval "DEFAULT_$LINE"
6426 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6430 eval "$ac_cv_use_url"
6431 if test "$no_cache" != 1; then
6432 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6435 if test "$wxUSE_URL" = yes; then
6436 echo "$as_me:$LINENO: result: yes" >&5
6437 echo "${ECHO_T}yes" >&6
6439 echo "$as_me:$LINENO: result: no" >&5
6440 echo "${ECHO_T}no" >&6
6445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6448 # Check whether --enable-protocol or --disable-protocol was given.
6449 if test "${enable_protocol+set}" = set; then
6450 enableval
="$enable_protocol"
6452 if test "$enableval" = yes; then
6453 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6455 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6460 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x
; then
6462 eval "DEFAULT_$LINE"
6467 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6471 eval "$ac_cv_use_protocol"
6472 if test "$no_cache" != 1; then
6473 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6476 if test "$wxUSE_PROTOCOL" = yes; then
6477 echo "$as_me:$LINENO: result: yes" >&5
6478 echo "${ECHO_T}yes" >&6
6480 echo "$as_me:$LINENO: result: no" >&5
6481 echo "${ECHO_T}no" >&6
6486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6487 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6489 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6490 if test "${enable_protocol_http+set}" = set; then
6491 enableval
="$enable_protocol_http"
6493 if test "$enableval" = yes; then
6494 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6496 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6501 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6502 if test "x$LINE" != x
; then
6503 eval "DEFAULT_$LINE"
6508 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6512 eval "$ac_cv_use_protocol_http"
6513 if test "$no_cache" != 1; then
6514 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6517 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6518 echo "$as_me:$LINENO: result: yes" >&5
6519 echo "${ECHO_T}yes" >&6
6521 echo "$as_me:$LINENO: result: no" >&5
6522 echo "${ECHO_T}no" >&6
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6528 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6530 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6531 if test "${enable_protocol_ftp+set}" = set; then
6532 enableval
="$enable_protocol_ftp"
6534 if test "$enableval" = yes; then
6535 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6537 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6542 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x
; then
6544 eval "DEFAULT_$LINE"
6549 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6553 eval "$ac_cv_use_protocol_ftp"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6558 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6559 echo "$as_me:$LINENO: result: yes" >&5
6560 echo "${ECHO_T}yes" >&6
6562 echo "$as_me:$LINENO: result: no" >&5
6563 echo "${ECHO_T}no" >&6
6568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6571 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6572 if test "${enable_protocol_file+set}" = set; then
6573 enableval
="$enable_protocol_file"
6575 if test "$enableval" = yes; then
6576 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6578 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6583 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x
; then
6585 eval "DEFAULT_$LINE"
6590 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6594 eval "$ac_cv_use_protocol_file"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6599 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6600 echo "$as_me:$LINENO: result: yes" >&5
6601 echo "${ECHO_T}yes" >&6
6603 echo "$as_me:$LINENO: result: no" >&5
6604 echo "${ECHO_T}no" >&6
6612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6613 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6615 # Check whether --enable-threads or --disable-threads was given.
6616 if test "${enable_threads+set}" = set; then
6617 enableval
="$enable_threads"
6619 if test "$enableval" = yes; then
6620 ac_cv_use_threads
='wxUSE_THREADS=yes'
6622 ac_cv_use_threads
='wxUSE_THREADS=no'
6627 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6628 if test "x$LINE" != x
; then
6629 eval "DEFAULT_$LINE"
6634 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6638 eval "$ac_cv_use_threads"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6643 if test "$wxUSE_THREADS" = yes; then
6644 echo "$as_me:$LINENO: result: yes" >&5
6645 echo "${ECHO_T}yes" >&6
6647 echo "$as_me:$LINENO: result: no" >&5
6648 echo "${ECHO_T}no" >&6
6652 if test "$wxUSE_GUI" = "yes"; then
6657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6658 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6660 # Check whether --enable-docview or --disable-docview was given.
6661 if test "${enable_docview+set}" = set; then
6662 enableval
="$enable_docview"
6664 if test "$enableval" = yes; then
6665 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6667 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6672 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6673 if test "x$LINE" != x
; then
6674 eval "DEFAULT_$LINE"
6679 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6683 eval "$ac_cv_use_docview"
6684 if test "$no_cache" != 1; then
6685 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6688 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6689 echo "$as_me:$LINENO: result: yes" >&5
6690 echo "${ECHO_T}yes" >&6
6692 echo "$as_me:$LINENO: result: no" >&5
6693 echo "${ECHO_T}no" >&6
6698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6699 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6701 # Check whether --enable-help or --disable-help was given.
6702 if test "${enable_help+set}" = set; then
6703 enableval
="$enable_help"
6705 if test "$enableval" = yes; then
6706 ac_cv_use_help
='wxUSE_HELP=yes'
6708 ac_cv_use_help
='wxUSE_HELP=no'
6713 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x
; then
6715 eval "DEFAULT_$LINE"
6720 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6724 eval "$ac_cv_use_help"
6725 if test "$no_cache" != 1; then
6726 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6729 if test "$wxUSE_HELP" = yes; then
6730 echo "$as_me:$LINENO: result: yes" >&5
6731 echo "${ECHO_T}yes" >&6
6733 echo "$as_me:$LINENO: result: no" >&5
6734 echo "${ECHO_T}no" >&6
6739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6740 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6742 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6743 if test "${enable_mshtmlhelp+set}" = set; then
6744 enableval
="$enable_mshtmlhelp"
6746 if test "$enableval" = yes; then
6747 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6749 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6754 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6755 if test "x$LINE" != x
; then
6756 eval "DEFAULT_$LINE"
6761 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6765 eval "$ac_cv_use_mshtmlhelp"
6766 if test "$no_cache" != 1; then
6767 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6770 if test "$wxUSE_MS_HTML_HELP" = yes; then
6771 echo "$as_me:$LINENO: result: yes" >&5
6772 echo "${ECHO_T}yes" >&6
6774 echo "$as_me:$LINENO: result: no" >&5
6775 echo "${ECHO_T}no" >&6
6780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6783 # Check whether --enable-html or --disable-html was given.
6784 if test "${enable_html+set}" = set; then
6785 enableval
="$enable_html"
6787 if test "$enableval" = yes; then
6788 ac_cv_use_html
='wxUSE_HTML=yes'
6790 ac_cv_use_html
='wxUSE_HTML=no'
6795 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x
; then
6797 eval "DEFAULT_$LINE"
6802 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6806 eval "$ac_cv_use_html"
6807 if test "$no_cache" != 1; then
6808 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6811 if test "$wxUSE_HTML" = yes; then
6812 echo "$as_me:$LINENO: result: yes" >&5
6813 echo "${ECHO_T}yes" >&6
6815 echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6
6821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6824 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6825 if test "${enable_htmlhelp+set}" = set; then
6826 enableval
="$enable_htmlhelp"
6828 if test "$enableval" = yes; then
6829 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6831 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6836 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x
; then
6838 eval "DEFAULT_$LINE"
6843 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6847 eval "$ac_cv_use_htmlhelp"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6852 if test "$wxUSE_WXHTML_HELP" = yes; then
6853 echo "$as_me:$LINENO: result: yes" >&5
6854 echo "${ECHO_T}yes" >&6
6856 echo "$as_me:$LINENO: result: no" >&5
6857 echo "${ECHO_T}no" >&6
6862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6865 # Check whether --enable-xrc or --disable-xrc was given.
6866 if test "${enable_xrc+set}" = set; then
6867 enableval
="$enable_xrc"
6869 if test "$enableval" = yes; then
6870 ac_cv_use_xrc
='wxUSE_XRC=yes'
6872 ac_cv_use_xrc
='wxUSE_XRC=no'
6877 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x
; then
6879 eval "DEFAULT_$LINE"
6884 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6888 eval "$ac_cv_use_xrc"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6893 if test "$wxUSE_XRC" = yes; then
6894 echo "$as_me:$LINENO: result: yes" >&5
6895 echo "${ECHO_T}yes" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6906 # Check whether --enable-aui or --disable-aui was given.
6907 if test "${enable_aui+set}" = set; then
6908 enableval
="$enable_aui"
6910 if test "$enableval" = yes; then
6911 ac_cv_use_aui
='wxUSE_AUI=yes'
6913 ac_cv_use_aui
='wxUSE_AUI=no'
6918 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x
; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
6929 eval "$ac_cv_use_aui"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
6934 if test "$wxUSE_AUI" = yes; then
6935 echo "$as_me:$LINENO: result: yes" >&5
6936 echo "${ECHO_T}yes" >&6
6938 echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6
6944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6947 # Check whether --enable-constraints or --disable-constraints was given.
6948 if test "${enable_constraints+set}" = set; then
6949 enableval
="$enable_constraints"
6951 if test "$enableval" = yes; then
6952 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6954 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6959 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x
; then
6961 eval "DEFAULT_$LINE"
6966 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6970 eval "$ac_cv_use_constraints"
6971 if test "$no_cache" != 1; then
6972 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6975 if test "$wxUSE_CONSTRAINTS" = yes; then
6976 echo "$as_me:$LINENO: result: yes" >&5
6977 echo "${ECHO_T}yes" >&6
6979 echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6
6985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6988 # Check whether --enable-printarch or --disable-printarch was given.
6989 if test "${enable_printarch+set}" = set; then
6990 enableval
="$enable_printarch"
6992 if test "$enableval" = yes; then
6993 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6995 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7000 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x
; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7011 eval "$ac_cv_use_printarch"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7016 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7017 echo "$as_me:$LINENO: result: yes" >&5
7018 echo "${ECHO_T}yes" >&6
7020 echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6
7026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7029 # Check whether --enable-mdi or --disable-mdi was given.
7030 if test "${enable_mdi+set}" = set; then
7031 enableval
="$enable_mdi"
7033 if test "$enableval" = yes; then
7034 ac_cv_use_mdi
='wxUSE_MDI=yes'
7036 ac_cv_use_mdi
='wxUSE_MDI=no'
7041 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x
; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7052 eval "$ac_cv_use_mdi"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_MDI" = yes; then
7058 echo "$as_me:$LINENO: result: yes" >&5
7059 echo "${ECHO_T}yes" >&6
7061 echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7070 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7071 if test "${enable_mdidoc+set}" = set; then
7072 enableval
="$enable_mdidoc"
7074 if test "$enableval" = yes; then
7075 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7077 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7082 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x
; then
7084 eval "DEFAULT_$LINE"
7089 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7093 eval "$ac_cv_use_mdidoc"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7098 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7102 echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7111 # Check whether --enable-loggui or --disable-loggui was given.
7112 if test "${enable_loggui+set}" = set; then
7113 enableval
="$enable_loggui"
7115 if test "$enableval" = yes; then
7116 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7118 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7123 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x
; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7134 eval "$ac_cv_use_loggui"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7139 if test "$wxUSE_LOGGUI" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7152 # Check whether --enable-logwin or --disable-logwin was given.
7153 if test "${enable_logwin+set}" = set; then
7154 enableval
="$enable_logwin"
7156 if test "$enableval" = yes; then
7157 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7159 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7164 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x
; then
7166 eval "DEFAULT_$LINE"
7171 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7175 eval "$ac_cv_use_logwin"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7180 if test "$wxUSE_LOGWINDOW" = yes; then
7181 echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6
7184 echo "$as_me:$LINENO: result: no" >&5
7185 echo "${ECHO_T}no" >&6
7190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7193 # Check whether --enable-logdialog or --disable-logdialog was given.
7194 if test "${enable_logdialog+set}" = set; then
7195 enableval
="$enable_logdialog"
7197 if test "$enableval" = yes; then
7198 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7200 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7205 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x
; then
7207 eval "DEFAULT_$LINE"
7212 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7216 eval "$ac_cv_use_logdialog"
7217 if test "$no_cache" != 1; then
7218 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7221 if test "$wxUSE_LOGDIALOG" = yes; then
7222 echo "$as_me:$LINENO: result: yes" >&5
7223 echo "${ECHO_T}yes" >&6
7225 echo "$as_me:$LINENO: result: no" >&5
7226 echo "${ECHO_T}no" >&6
7231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7234 # Check whether --enable-webkit or --disable-webkit was given.
7235 if test "${enable_webkit+set}" = set; then
7236 enableval
="$enable_webkit"
7238 if test "$enableval" = yes; then
7239 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7241 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7246 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x
; then
7248 eval "DEFAULT_$LINE"
7253 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7257 eval "$ac_cv_use_webkit"
7258 if test "$no_cache" != 1; then
7259 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7262 if test "$wxUSE_WEBKIT" = yes; then
7263 echo "$as_me:$LINENO: result: yes" >&5
7264 echo "${ECHO_T}yes" >&6
7266 echo "$as_me:$LINENO: result: no" >&5
7267 echo "${ECHO_T}no" >&6
7272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7273 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7275 # Check whether --enable-html or --disable-html was given.
7276 if test "${enable_html+set}" = set; then
7277 enableval
="$enable_html"
7279 if test "$enableval" = yes; then
7280 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7282 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7287 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x
; then
7289 eval "DEFAULT_$LINE"
7294 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7298 eval "$ac_cv_use_html"
7299 if test "$no_cache" != 1; then
7300 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7303 if test "$wxUSE_RICHTEXT" = yes; then
7304 echo "$as_me:$LINENO: result: yes" >&5
7305 echo "${ECHO_T}yes" >&6
7307 echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6
7314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7317 # Check whether --enable-postscript or --disable-postscript was given.
7318 if test "${enable_postscript+set}" = set; then
7319 enableval
="$enable_postscript"
7321 if test "$enableval" = yes; then
7322 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7324 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7329 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7330 if test "x$LINE" != x
; then
7331 eval "DEFAULT_$LINE"
7336 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7340 eval "$ac_cv_use_postscript"
7341 if test "$no_cache" != 1; then
7342 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7345 if test "$wxUSE_POSTSCRIPT" = yes; then
7346 echo "$as_me:$LINENO: result: yes" >&5
7347 echo "${ECHO_T}yes" >&6
7349 echo "$as_me:$LINENO: result: no" >&5
7350 echo "${ECHO_T}no" >&6
7358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7361 # Check whether --enable-prologio or --disable-prologio was given.
7362 if test "${enable_prologio+set}" = set; then
7363 enableval
="$enable_prologio"
7365 if test "$enableval" = yes; then
7366 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7368 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7373 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x
; then
7375 eval "DEFAULT_$LINE"
7380 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7384 eval "$ac_cv_use_prologio"
7385 if test "$no_cache" != 1; then
7386 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7389 if test "$wxUSE_PROLOGIO" = yes; then
7390 echo "$as_me:$LINENO: result: yes" >&5
7391 echo "${ECHO_T}yes" >&6
7393 echo "$as_me:$LINENO: result: no" >&5
7394 echo "${ECHO_T}no" >&6
7399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7400 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7402 # Check whether --enable-resources or --disable-resources was given.
7403 if test "${enable_resources+set}" = set; then
7404 enableval
="$enable_resources"
7406 if test "$enableval" = yes; then
7407 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7409 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7414 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x
; then
7416 eval "DEFAULT_$LINE"
7421 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7425 eval "$ac_cv_use_resources"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_RESOURCES" = yes; then
7431 echo "$as_me:$LINENO: result: yes" >&5
7432 echo "${ECHO_T}yes" >&6
7434 echo "$as_me:$LINENO: result: no" >&5
7435 echo "${ECHO_T}no" >&6
7442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7445 # Check whether --enable-clipboard or --disable-clipboard was given.
7446 if test "${enable_clipboard+set}" = set; then
7447 enableval
="$enable_clipboard"
7449 if test "$enableval" = yes; then
7450 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7452 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7457 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7458 if test "x$LINE" != x
; then
7459 eval "DEFAULT_$LINE"
7464 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7468 eval "$ac_cv_use_clipboard"
7469 if test "$no_cache" != 1; then
7470 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7473 if test "$wxUSE_CLIPBOARD" = yes; then
7474 echo "$as_me:$LINENO: result: yes" >&5
7475 echo "${ECHO_T}yes" >&6
7477 echo "$as_me:$LINENO: result: no" >&5
7478 echo "${ECHO_T}no" >&6
7483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7486 # Check whether --enable-dnd or --disable-dnd was given.
7487 if test "${enable_dnd+set}" = set; then
7488 enableval
="$enable_dnd"
7490 if test "$enableval" = yes; then
7491 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7493 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7498 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x
; then
7500 eval "DEFAULT_$LINE"
7505 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7509 eval "$ac_cv_use_dnd"
7510 if test "$no_cache" != 1; then
7511 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7514 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7515 echo "$as_me:$LINENO: result: yes" >&5
7516 echo "${ECHO_T}yes" >&6
7518 echo "$as_me:$LINENO: result: no" >&5
7519 echo "${ECHO_T}no" >&6
7524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7525 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7527 # Check whether --enable-metafile or --disable-metafile was given.
7528 if test "${enable_metafile+set}" = set; then
7529 enableval
="$enable_metafile"
7531 if test "$enableval" = yes; then
7532 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7534 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7539 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7540 if test "x$LINE" != x
; then
7541 eval "DEFAULT_$LINE"
7546 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7550 eval "$ac_cv_use_metafile"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7555 if test "$wxUSE_METAFILE" = yes; then
7556 echo "$as_me:$LINENO: result: yes" >&5
7557 echo "${ECHO_T}yes" >&6
7559 echo "$as_me:$LINENO: result: no" >&5
7560 echo "${ECHO_T}no" >&6
7568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7571 # Check whether --enable-controls or --disable-controls was given.
7572 if test "${enable_controls+set}" = set; then
7573 enableval
="$enable_controls"
7575 if test "$enableval" = yes; then
7576 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7578 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7583 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7584 if test "x$LINE" != x
; then
7585 eval "DEFAULT_$LINE"
7590 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7594 eval "$ac_cv_use_controls"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7599 if test "$wxUSE_CONTROLS" = yes; then
7600 echo "$as_me:$LINENO: result: yes" >&5
7601 echo "${ECHO_T}yes" >&6
7603 echo "$as_me:$LINENO: result: no" >&5
7604 echo "${ECHO_T}no" >&6
7608 if test "$wxUSE_CONTROLS" = "yes"; then
7609 DEFAULT_wxUSE_ACCEL
=yes
7610 DEFAULT_wxUSE_BMPBUTTON
=yes
7611 DEFAULT_wxUSE_BUTTON
=yes
7612 DEFAULT_wxUSE_CALCTRL
=yes
7613 DEFAULT_wxUSE_CARET
=yes
7614 DEFAULT_wxUSE_COMBOBOX
=yes
7615 DEFAULT_wxUSE_CHECKBOX
=yes
7616 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7617 DEFAULT_wxUSE_CHOICE
=yes
7618 DEFAULT_wxUSE_CHOICEBOOK
=yes
7619 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7620 DEFAULT_wxUSE_COMBOBOX
=yes
7621 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7622 DEFAULT_wxUSE_DISPLAY
=yes
7623 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7624 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7625 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7626 DEFAULT_wxUSE_GAUGE
=yes
7627 DEFAULT_wxUSE_GRID
=yes
7628 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7629 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7630 DEFAULT_wxUSE_IMAGLIST
=yes
7631 DEFAULT_wxUSE_LISTBOOK
=yes
7632 DEFAULT_wxUSE_LISTBOX
=yes
7633 DEFAULT_wxUSE_LISTCTRL
=yes
7634 DEFAULT_wxUSE_NOTEBOOK
=yes
7635 DEFAULT_wxUSE_RADIOBOX
=yes
7636 DEFAULT_wxUSE_RADIOBTN
=yes
7637 DEFAULT_wxUSE_SASH
=yes
7638 DEFAULT_wxUSE_SCROLLBAR
=yes
7639 DEFAULT_wxUSE_SLIDER
=yes
7640 DEFAULT_wxUSE_SPINBTN
=yes
7641 DEFAULT_wxUSE_SPINCTRL
=yes
7642 DEFAULT_wxUSE_SPLITTER
=yes
7643 DEFAULT_wxUSE_STATBMP
=yes
7644 DEFAULT_wxUSE_STATBOX
=yes
7645 DEFAULT_wxUSE_STATLINE
=yes
7646 DEFAULT_wxUSE_STATUSBAR
=yes
7647 DEFAULT_wxUSE_TAB_DIALOG
=yes
7648 DEFAULT_wxUSE_TOGGLEBTN
=yes
7649 DEFAULT_wxUSE_TOOLBAR
=yes
7650 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7651 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7652 DEFAULT_wxUSE_TOOLTIPS
=yes
7653 DEFAULT_wxUSE_TREEBOOK
=yes
7654 DEFAULT_wxUSE_TOOLBOOK
=yes
7655 DEFAULT_wxUSE_TREECTRL
=yes
7656 DEFAULT_wxUSE_POPUPWIN
=yes
7657 DEFAULT_wxUSE_TIPWINDOW
=yes
7658 elif test "$wxUSE_CONTROLS" = "no"; then
7659 DEFAULT_wxUSE_ACCEL
=no
7660 DEFAULT_wxUSE_BMPBUTTON
=no
7661 DEFAULT_wxUSE_BUTTON
=no
7662 DEFAULT_wxUSE_CALCTRL
=no
7663 DEFAULT_wxUSE_CARET
=no
7664 DEFAULT_wxUSE_COMBOBOX
=no
7665 DEFAULT_wxUSE_CHECKBOX
=no
7666 DEFAULT_wxUSE_CHECKLISTBOX
=no
7667 DEFAULT_wxUSE_CHOICE
=no
7668 DEFAULT_wxUSE_CHOICEBOOK
=no
7669 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7670 DEFAULT_wxUSE_COMBOBOX
=no
7671 DEFAULT_wxUSE_DATEPICKCTRL
=no
7672 DEFAULT_wxUSE_DISPLAY
=no
7673 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7674 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7675 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7676 DEFAULT_wxUSE_GAUGE
=no
7677 DEFAULT_wxUSE_GRID
=no
7678 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7679 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7680 DEFAULT_wxUSE_IMAGLIST
=no
7681 DEFAULT_wxUSE_LISTBOOK
=no
7682 DEFAULT_wxUSE_LISTBOX
=no
7683 DEFAULT_wxUSE_LISTCTRL
=no
7684 DEFAULT_wxUSE_NOTEBOOK
=no
7685 DEFAULT_wxUSE_RADIOBOX
=no
7686 DEFAULT_wxUSE_RADIOBTN
=no
7687 DEFAULT_wxUSE_SASH
=no
7688 DEFAULT_wxUSE_SCROLLBAR
=no
7689 DEFAULT_wxUSE_SLIDER
=no
7690 DEFAULT_wxUSE_SPINBTN
=no
7691 DEFAULT_wxUSE_SPINCTRL
=no
7692 DEFAULT_wxUSE_SPLITTER
=no
7693 DEFAULT_wxUSE_STATBMP
=no
7694 DEFAULT_wxUSE_STATBOX
=no
7695 DEFAULT_wxUSE_STATLINE
=no
7696 DEFAULT_wxUSE_STATUSBAR
=no
7697 DEFAULT_wxUSE_TAB_DIALOG
=no
7698 DEFAULT_wxUSE_TOGGLEBTN
=no
7699 DEFAULT_wxUSE_TOOLBAR
=no
7700 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7701 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7702 DEFAULT_wxUSE_TOOLTIPS
=no
7703 DEFAULT_wxUSE_TREEBOOK
=no
7704 DEFAULT_wxUSE_TOOLBOOK
=no
7705 DEFAULT_wxUSE_TREECTRL
=no
7706 DEFAULT_wxUSE_POPUPWIN
=no
7707 DEFAULT_wxUSE_TIPWINDOW
=no
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7715 # Check whether --enable-accel or --disable-accel was given.
7716 if test "${enable_accel+set}" = set; then
7717 enableval
="$enable_accel"
7719 if test "$enableval" = yes; then
7720 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7722 ac_cv_use_accel
='wxUSE_ACCEL=no'
7727 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x
; then
7729 eval "DEFAULT_$LINE"
7734 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7738 eval "$ac_cv_use_accel"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7743 if test "$wxUSE_ACCEL" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7756 # Check whether --enable-button or --disable-button was given.
7757 if test "${enable_button+set}" = set; then
7758 enableval
="$enable_button"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_button
='wxUSE_BUTTON=yes'
7763 ac_cv_use_button
='wxUSE_BUTTON=no'
7768 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x
; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7779 eval "$ac_cv_use_button"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_BUTTON" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7797 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7798 if test "${enable_bmpbutton+set}" = set; then
7799 enableval
="$enable_bmpbutton"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7804 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7809 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x
; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7820 eval "$ac_cv_use_bmpbutton"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_BMPBUTTON" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7838 # Check whether --enable-calendar or --disable-calendar was given.
7839 if test "${enable_calendar+set}" = set; then
7840 enableval
="$enable_calendar"
7842 if test "$enableval" = yes; then
7843 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7845 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7850 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x
; then
7852 eval "DEFAULT_$LINE"
7857 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7861 eval "$ac_cv_use_calendar"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7866 if test "$wxUSE_CALCTRL" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7879 # Check whether --enable-caret or --disable-caret was given.
7880 if test "${enable_caret+set}" = set; then
7881 enableval
="$enable_caret"
7883 if test "$enableval" = yes; then
7884 ac_cv_use_caret
='wxUSE_CARET=yes'
7886 ac_cv_use_caret
='wxUSE_CARET=no'
7891 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x
; then
7893 eval "DEFAULT_$LINE"
7898 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7902 eval "$ac_cv_use_caret"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7907 if test "$wxUSE_CARET" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7920 # Check whether --enable-checkbox or --disable-checkbox was given.
7921 if test "${enable_checkbox+set}" = set; then
7922 enableval
="$enable_checkbox"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7927 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7932 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x
; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7943 eval "$ac_cv_use_checkbox"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7948 if test "$wxUSE_CHECKBOX" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7961 # Check whether --enable-checklst or --disable-checklst was given.
7962 if test "${enable_checklst+set}" = set; then
7963 enableval
="$enable_checklst"
7965 if test "$enableval" = yes; then
7966 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7968 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7973 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x
; then
7975 eval "DEFAULT_$LINE"
7980 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7984 eval "$ac_cv_use_checklst"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7989 if test "$wxUSE_CHECKLST" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8002 # Check whether --enable-choice or --disable-choice was given.
8003 if test "${enable_choice+set}" = set; then
8004 enableval
="$enable_choice"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8009 ac_cv_use_choice
='wxUSE_CHOICE=no'
8014 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8025 eval "$ac_cv_use_choice"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8030 if test "$wxUSE_CHOICE" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8043 # Check whether --enable-choicebook or --disable-choicebook was given.
8044 if test "${enable_choicebook+set}" = set; then
8045 enableval
="$enable_choicebook"
8047 if test "$enableval" = yes; then
8048 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8050 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8055 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x
; then
8057 eval "DEFAULT_$LINE"
8062 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8066 eval "$ac_cv_use_choicebook"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8071 if test "$wxUSE_CHOICEBOOK" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8084 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8085 if test "${enable_colourpicker+set}" = set; then
8086 enableval
="$enable_colourpicker"
8088 if test "$enableval" = yes; then
8089 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8091 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8096 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x
; then
8098 eval "DEFAULT_$LINE"
8103 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8107 eval "$ac_cv_use_colourpicker"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8112 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8125 # Check whether --enable-combobox or --disable-combobox was given.
8126 if test "${enable_combobox+set}" = set; then
8127 enableval
="$enable_combobox"
8129 if test "$enableval" = yes; then
8130 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8132 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8137 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x
; then
8139 eval "DEFAULT_$LINE"
8144 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8148 eval "$ac_cv_use_combobox"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8153 if test "$wxUSE_COMBOBOX" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8166 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8167 if test "${enable_comboctrl+set}" = set; then
8168 enableval
="$enable_comboctrl"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8173 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8178 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x
; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8189 eval "$ac_cv_use_comboctrl"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_COMBOCTRL" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8207 # Check whether --enable-datepick or --disable-datepick was given.
8208 if test "${enable_datepick+set}" = set; then
8209 enableval
="$enable_datepick"
8211 if test "$enableval" = yes; then
8212 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8214 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8219 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x
; then
8221 eval "DEFAULT_$LINE"
8226 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8230 eval "$ac_cv_use_datepick"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_DATEPICKCTRL" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8248 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8249 if test "${enable_dirpicker+set}" = set; then
8250 enableval
="$enable_dirpicker"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8255 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8260 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x
; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8271 eval "$ac_cv_use_dirpicker"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8276 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8289 # Check whether --enable-display or --disable-display was given.
8290 if test "${enable_display+set}" = set; then
8291 enableval
="$enable_display"
8293 if test "$enableval" = yes; then
8294 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8296 ac_cv_use_display
='wxUSE_DISPLAY=no'
8301 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x
; then
8303 eval "DEFAULT_$LINE"
8308 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8312 eval "$ac_cv_use_display"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8317 if test "$wxUSE_DISPLAY" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8330 # Check whether --enable-filepicker or --disable-filepicker was given.
8331 if test "${enable_filepicker+set}" = set; then
8332 enableval
="$enable_filepicker"
8334 if test "$enableval" = yes; then
8335 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8337 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8342 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x
; then
8344 eval "DEFAULT_$LINE"
8349 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8353 eval "$ac_cv_use_filepicker"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8358 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8371 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8372 if test "${enable_fontpicker+set}" = set; then
8373 enableval
="$enable_fontpicker"
8375 if test "$enableval" = yes; then
8376 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8378 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8383 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x
; then
8385 eval "DEFAULT_$LINE"
8390 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8394 eval "$ac_cv_use_fontpicker"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8399 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8412 # Check whether --enable-gauge or --disable-gauge was given.
8413 if test "${enable_gauge+set}" = set; then
8414 enableval
="$enable_gauge"
8416 if test "$enableval" = yes; then
8417 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8419 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8424 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x
; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8435 eval "$ac_cv_use_gauge"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8440 if test "$wxUSE_GAUGE" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8453 # Check whether --enable-grid or --disable-grid was given.
8454 if test "${enable_grid+set}" = set; then
8455 enableval
="$enable_grid"
8457 if test "$enableval" = yes; then
8458 ac_cv_use_grid
='wxUSE_GRID=yes'
8460 ac_cv_use_grid
='wxUSE_GRID=no'
8465 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x
; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8476 eval "$ac_cv_use_grid"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8481 if test "$wxUSE_GRID" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8494 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8495 if test "${enable_dataviewctrl+set}" = set; then
8496 enableval
="$enable_dataviewctrl"
8498 if test "$enableval" = yes; then
8499 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8501 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8506 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x
; then
8508 eval "DEFAULT_$LINE"
8513 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8517 eval "$ac_cv_use_dataviewctrl"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8522 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8535 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8536 if test "${enable_hyperlink+set}" = set; then
8537 enableval
="$enable_hyperlink"
8539 if test "$enableval" = yes; then
8540 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8542 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8547 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8548 if test "x$LINE" != x
; then
8549 eval "DEFAULT_$LINE"
8554 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8558 eval "$ac_cv_use_hyperlink"
8559 if test "$no_cache" != 1; then
8560 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8563 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8564 echo "$as_me:$LINENO: result: yes" >&5
8565 echo "${ECHO_T}yes" >&6
8567 echo "$as_me:$LINENO: result: no" >&5
8568 echo "${ECHO_T}no" >&6
8573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8574 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8576 # Check whether --enable-imaglist or --disable-imaglist was given.
8577 if test "${enable_imaglist+set}" = set; then
8578 enableval
="$enable_imaglist"
8580 if test "$enableval" = yes; then
8581 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8583 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8588 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x
; then
8590 eval "DEFAULT_$LINE"
8595 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8599 eval "$ac_cv_use_imaglist"
8600 if test "$no_cache" != 1; then
8601 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8604 if test "$wxUSE_IMAGLIST" = yes; then
8605 echo "$as_me:$LINENO: result: yes" >&5
8606 echo "${ECHO_T}yes" >&6
8608 echo "$as_me:$LINENO: result: no" >&5
8609 echo "${ECHO_T}no" >&6
8614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8617 # Check whether --enable-listbook or --disable-listbook was given.
8618 if test "${enable_listbook+set}" = set; then
8619 enableval
="$enable_listbook"
8621 if test "$enableval" = yes; then
8622 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8624 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8629 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8630 if test "x$LINE" != x
; then
8631 eval "DEFAULT_$LINE"
8636 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8640 eval "$ac_cv_use_listbook"
8641 if test "$no_cache" != 1; then
8642 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8645 if test "$wxUSE_LISTBOOK" = yes; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8649 echo "$as_me:$LINENO: result: no" >&5
8650 echo "${ECHO_T}no" >&6
8655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8658 # Check whether --enable-listbox or --disable-listbox was given.
8659 if test "${enable_listbox+set}" = set; then
8660 enableval
="$enable_listbox"
8662 if test "$enableval" = yes; then
8663 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8665 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8670 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x
; then
8672 eval "DEFAULT_$LINE"
8677 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8681 eval "$ac_cv_use_listbox"
8682 if test "$no_cache" != 1; then
8683 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8686 if test "$wxUSE_LISTBOX" = yes; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8699 # Check whether --enable-listctrl or --disable-listctrl was given.
8700 if test "${enable_listctrl+set}" = set; then
8701 enableval
="$enable_listctrl"
8703 if test "$enableval" = yes; then
8704 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8706 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8711 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8712 if test "x$LINE" != x
; then
8713 eval "DEFAULT_$LINE"
8718 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8722 eval "$ac_cv_use_listctrl"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8727 if test "$wxUSE_LISTCTRL" = yes; then
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8738 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8740 # Check whether --enable-notebook or --disable-notebook was given.
8741 if test "${enable_notebook+set}" = set; then
8742 enableval
="$enable_notebook"
8744 if test "$enableval" = yes; then
8745 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8747 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8752 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8753 if test "x$LINE" != x
; then
8754 eval "DEFAULT_$LINE"
8759 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8763 eval "$ac_cv_use_notebook"
8764 if test "$no_cache" != 1; then
8765 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8768 if test "$wxUSE_NOTEBOOK" = yes; then
8769 echo "$as_me:$LINENO: result: yes" >&5
8770 echo "${ECHO_T}yes" >&6
8772 echo "$as_me:$LINENO: result: no" >&5
8773 echo "${ECHO_T}no" >&6
8778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8779 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8781 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8782 if test "${enable_odcombobox+set}" = set; then
8783 enableval
="$enable_odcombobox"
8785 if test "$enableval" = yes; then
8786 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8788 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8793 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8794 if test "x$LINE" != x
; then
8795 eval "DEFAULT_$LINE"
8800 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8804 eval "$ac_cv_use_odcombobox"
8805 if test "$no_cache" != 1; then
8806 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8809 if test "$wxUSE_ODCOMBOBOX" = yes; then
8810 echo "$as_me:$LINENO: result: yes" >&5
8811 echo "${ECHO_T}yes" >&6
8813 echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6
8819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8822 # Check whether --enable-radiobox or --disable-radiobox was given.
8823 if test "${enable_radiobox+set}" = set; then
8824 enableval
="$enable_radiobox"
8826 if test "$enableval" = yes; then
8827 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8829 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8834 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x
; then
8836 eval "DEFAULT_$LINE"
8841 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8845 eval "$ac_cv_use_radiobox"
8846 if test "$no_cache" != 1; then
8847 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8850 if test "$wxUSE_RADIOBOX" = yes; then
8851 echo "$as_me:$LINENO: result: yes" >&5
8852 echo "${ECHO_T}yes" >&6
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8863 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8864 if test "${enable_radiobtn+set}" = set; then
8865 enableval
="$enable_radiobtn"
8867 if test "$enableval" = yes; then
8868 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8870 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8875 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x
; then
8877 eval "DEFAULT_$LINE"
8882 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8886 eval "$ac_cv_use_radiobtn"
8887 if test "$no_cache" != 1; then
8888 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8891 if test "$wxUSE_RADIOBTN" = yes; then
8892 echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8904 # Check whether --enable-sash or --disable-sash was given.
8905 if test "${enable_sash+set}" = set; then
8906 enableval
="$enable_sash"
8908 if test "$enableval" = yes; then
8909 ac_cv_use_sash
='wxUSE_SASH=yes'
8911 ac_cv_use_sash
='wxUSE_SASH=no'
8916 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8917 if test "x$LINE" != x
; then
8918 eval "DEFAULT_$LINE"
8923 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8927 eval "$ac_cv_use_sash"
8928 if test "$no_cache" != 1; then
8929 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8932 if test "$wxUSE_SASH" = yes; then
8933 echo "$as_me:$LINENO: result: yes" >&5
8934 echo "${ECHO_T}yes" >&6
8936 echo "$as_me:$LINENO: result: no" >&5
8937 echo "${ECHO_T}no" >&6
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8945 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8946 if test "${enable_scrollbar+set}" = set; then
8947 enableval
="$enable_scrollbar"
8949 if test "$enableval" = yes; then
8950 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8952 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8957 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x
; then
8959 eval "DEFAULT_$LINE"
8964 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8968 eval "$ac_cv_use_scrollbar"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8973 if test "$wxUSE_SCROLLBAR" = yes; then
8974 echo "$as_me:$LINENO: result: yes" >&5
8975 echo "${ECHO_T}yes" >&6
8977 echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6
8983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8986 # Check whether --enable-slider or --disable-slider was given.
8987 if test "${enable_slider+set}" = set; then
8988 enableval
="$enable_slider"
8990 if test "$enableval" = yes; then
8991 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8993 ac_cv_use_slider
='wxUSE_SLIDER=no'
8998 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x
; then
9000 eval "DEFAULT_$LINE"
9005 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9009 eval "$ac_cv_use_slider"
9010 if test "$no_cache" != 1; then
9011 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9014 if test "$wxUSE_SLIDER" = yes; then
9015 echo "$as_me:$LINENO: result: yes" >&5
9016 echo "${ECHO_T}yes" >&6
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9027 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9028 if test "${enable_spinbtn+set}" = set; then
9029 enableval
="$enable_spinbtn"
9031 if test "$enableval" = yes; then
9032 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9034 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9039 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x
; then
9041 eval "DEFAULT_$LINE"
9046 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9050 eval "$ac_cv_use_spinbtn"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9055 if test "$wxUSE_SPINBTN" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9068 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9069 if test "${enable_spinctrl+set}" = set; then
9070 enableval
="$enable_spinctrl"
9072 if test "$enableval" = yes; then
9073 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9075 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9080 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x
; then
9082 eval "DEFAULT_$LINE"
9087 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9091 eval "$ac_cv_use_spinctrl"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9096 if test "$wxUSE_SPINCTRL" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9109 # Check whether --enable-splitter or --disable-splitter was given.
9110 if test "${enable_splitter+set}" = set; then
9111 enableval
="$enable_splitter"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9116 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9121 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x
; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9132 eval "$ac_cv_use_splitter"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9137 if test "$wxUSE_SPLITTER" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9150 # Check whether --enable-statbmp or --disable-statbmp was given.
9151 if test "${enable_statbmp+set}" = set; then
9152 enableval
="$enable_statbmp"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9157 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9162 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x
; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9173 eval "$ac_cv_use_statbmp"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_STATBMP" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9191 # Check whether --enable-statbox or --disable-statbox was given.
9192 if test "${enable_statbox+set}" = set; then
9193 enableval
="$enable_statbox"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9198 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9203 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x
; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9214 eval "$ac_cv_use_statbox"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_STATBOX" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9232 # Check whether --enable-statline or --disable-statline was given.
9233 if test "${enable_statline+set}" = set; then
9234 enableval
="$enable_statline"
9236 if test "$enableval" = yes; then
9237 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9239 ac_cv_use_statline
='wxUSE_STATLINE=no'
9244 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x
; then
9246 eval "DEFAULT_$LINE"
9251 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9255 eval "$ac_cv_use_statline"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9260 if test "$wxUSE_STATLINE" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9273 # Check whether --enable-stattext or --disable-stattext was given.
9274 if test "${enable_stattext+set}" = set; then
9275 enableval
="$enable_stattext"
9277 if test "$enableval" = yes; then
9278 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9280 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9285 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x
; then
9287 eval "DEFAULT_$LINE"
9292 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9296 eval "$ac_cv_use_stattext"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9301 if test "$wxUSE_STATTEXT" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9314 # Check whether --enable-statusbar or --disable-statusbar was given.
9315 if test "${enable_statusbar+set}" = set; then
9316 enableval
="$enable_statusbar"
9318 if test "$enableval" = yes; then
9319 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9321 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9326 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x
; then
9328 eval "DEFAULT_$LINE"
9333 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9337 eval "$ac_cv_use_statusbar"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9342 if test "$wxUSE_STATUSBAR" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9355 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9356 if test "${enable_tabdialog+set}" = set; then
9357 enableval
="$enable_tabdialog"
9359 if test "$enableval" = yes; then
9360 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9362 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9367 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x
; then
9369 eval "DEFAULT_$LINE"
9374 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9378 eval "$ac_cv_use_tabdialog"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9383 if test "$wxUSE_TAB_DIALOG" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9396 # Check whether --enable-textctrl or --disable-textctrl was given.
9397 if test "${enable_textctrl+set}" = set; then
9398 enableval
="$enable_textctrl"
9400 if test "$enableval" = yes; then
9401 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9403 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9408 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x
; then
9410 eval "DEFAULT_$LINE"
9415 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9419 eval "$ac_cv_use_textctrl"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9424 if test "$wxUSE_TEXTCTRL" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9437 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9438 if test "${enable_togglebtn+set}" = set; then
9439 enableval
="$enable_togglebtn"
9441 if test "$enableval" = yes; then
9442 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9444 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9449 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x
; then
9451 eval "DEFAULT_$LINE"
9456 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9460 eval "$ac_cv_use_togglebtn"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9465 if test "$wxUSE_TOGGLEBTN" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9478 # Check whether --enable-toolbar or --disable-toolbar was given.
9479 if test "${enable_toolbar+set}" = set; then
9480 enableval
="$enable_toolbar"
9482 if test "$enableval" = yes; then
9483 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9485 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9490 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x
; then
9492 eval "DEFAULT_$LINE"
9497 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9501 eval "$ac_cv_use_toolbar"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9506 if test "$wxUSE_TOOLBAR" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9519 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9520 if test "${enable_tbarnative+set}" = set; then
9521 enableval
="$enable_tbarnative"
9523 if test "$enableval" = yes; then
9524 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9526 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9531 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x
; then
9533 eval "DEFAULT_$LINE"
9538 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9542 eval "$ac_cv_use_tbarnative"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9547 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9560 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9561 if test "${enable_tbarsmpl+set}" = set; then
9562 enableval
="$enable_tbarsmpl"
9564 if test "$enableval" = yes; then
9565 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9567 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9572 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9579 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9583 eval "$ac_cv_use_tbarsmpl"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9588 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9601 # Check whether --enable-treebook or --disable-treebook was given.
9602 if test "${enable_treebook+set}" = set; then
9603 enableval
="$enable_treebook"
9605 if test "$enableval" = yes; then
9606 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9608 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9613 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x
; then
9615 eval "DEFAULT_$LINE"
9620 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9624 eval "$ac_cv_use_treebook"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9629 if test "$wxUSE_TREEBOOK" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9642 # Check whether --enable-toolbook or --disable-toolbook was given.
9643 if test "${enable_toolbook+set}" = set; then
9644 enableval
="$enable_toolbook"
9646 if test "$enableval" = yes; then
9647 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9649 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9654 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x
; then
9656 eval "DEFAULT_$LINE"
9661 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9665 eval "$ac_cv_use_toolbook"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9670 if test "$wxUSE_TOOLBOOK" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9683 # Check whether --enable-treectrl or --disable-treectrl was given.
9684 if test "${enable_treectrl+set}" = set; then
9685 enableval
="$enable_treectrl"
9687 if test "$enableval" = yes; then
9688 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9690 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9695 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x
; then
9697 eval "DEFAULT_$LINE"
9702 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9706 eval "$ac_cv_use_treectrl"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9711 if test "$wxUSE_TREECTRL" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9724 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9725 if test "${enable_tipwindow+set}" = set; then
9726 enableval
="$enable_tipwindow"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9731 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9736 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9747 eval "$ac_cv_use_tipwindow"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_TIPWINDOW" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9765 # Check whether --enable-popupwin or --disable-popupwin was given.
9766 if test "${enable_popupwin+set}" = set; then
9767 enableval
="$enable_popupwin"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9772 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9777 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9788 eval "$ac_cv_use_popupwin"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_POPUPWIN" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9808 # Check whether --enable-commondlg or --disable-commondlg was given.
9809 if test "${enable_commondlg+set}" = set; then
9810 enableval
="$enable_commondlg"
9812 if test "$enableval" = yes; then
9813 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9815 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9820 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x
; then
9822 eval "DEFAULT_$LINE"
9827 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9831 eval "$ac_cv_use_commondlg"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9836 if test "$wxUSE_COMMONDLGS" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9849 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9850 if test "${enable_choicedlg+set}" = set; then
9851 enableval
="$enable_choicedlg"
9853 if test "$enableval" = yes; then
9854 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9856 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9861 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x
; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9872 eval "$ac_cv_use_choicedlg"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9877 if test "$wxUSE_CHOICEDLG" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9890 # Check whether --enable-coldlg or --disable-coldlg was given.
9891 if test "${enable_coldlg+set}" = set; then
9892 enableval
="$enable_coldlg"
9894 if test "$enableval" = yes; then
9895 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9897 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9902 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x
; then
9904 eval "DEFAULT_$LINE"
9909 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9913 eval "$ac_cv_use_coldlg"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9918 if test "$wxUSE_COLOURDLG" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9931 # Check whether --enable-filedlg or --disable-filedlg was given.
9932 if test "${enable_filedlg+set}" = set; then
9933 enableval
="$enable_filedlg"
9935 if test "$enableval" = yes; then
9936 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9938 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9943 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x
; then
9945 eval "DEFAULT_$LINE"
9950 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9954 eval "$ac_cv_use_filedlg"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9959 if test "$wxUSE_FILEDLG" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9972 # Check whether --enable-finddlg or --disable-finddlg was given.
9973 if test "${enable_finddlg+set}" = set; then
9974 enableval
="$enable_finddlg"
9976 if test "$enableval" = yes; then
9977 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9979 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9984 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x
; then
9986 eval "DEFAULT_$LINE"
9991 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9995 eval "$ac_cv_use_finddlg"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10000 if test "$wxUSE_FINDREPLDLG" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10013 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10014 if test "${enable_fontdlg+set}" = set; then
10015 enableval
="$enable_fontdlg"
10017 if test "$enableval" = yes; then
10018 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10020 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10025 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x
; then
10027 eval "DEFAULT_$LINE"
10032 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10036 eval "$ac_cv_use_fontdlg"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10041 if test "$wxUSE_FONTDLG" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10054 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10055 if test "${enable_dirdlg+set}" = set; then
10056 enableval
="$enable_dirdlg"
10058 if test "$enableval" = yes; then
10059 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10061 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10066 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x
; then
10068 eval "DEFAULT_$LINE"
10073 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10077 eval "$ac_cv_use_dirdlg"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10082 if test "$wxUSE_DIRDLG" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10095 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10096 if test "${enable_msgdlg+set}" = set; then
10097 enableval
="$enable_msgdlg"
10099 if test "$enableval" = yes; then
10100 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10102 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10107 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x
; then
10109 eval "DEFAULT_$LINE"
10114 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10118 eval "$ac_cv_use_msgdlg"
10119 if test "$no_cache" != 1; then
10120 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10123 if test "$wxUSE_MSGDLG" = yes; then
10124 echo "$as_me:$LINENO: result: yes" >&5
10125 echo "${ECHO_T}yes" >&6
10127 echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6
10133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10136 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10137 if test "${enable_numberdlg+set}" = set; then
10138 enableval
="$enable_numberdlg"
10140 if test "$enableval" = yes; then
10141 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10143 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10148 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10149 if test "x$LINE" != x
; then
10150 eval "DEFAULT_$LINE"
10155 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10159 eval "$ac_cv_use_numberdlg"
10160 if test "$no_cache" != 1; then
10161 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10164 if test "$wxUSE_NUMBERDLG" = yes; then
10165 echo "$as_me:$LINENO: result: yes" >&5
10166 echo "${ECHO_T}yes" >&6
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10175 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10177 # Check whether --enable-splash or --disable-splash was given.
10178 if test "${enable_splash+set}" = set; then
10179 enableval
="$enable_splash"
10181 if test "$enableval" = yes; then
10182 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10184 ac_cv_use_splash
='wxUSE_SPLASH=no'
10189 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10190 if test "x$LINE" != x
; then
10191 eval "DEFAULT_$LINE"
10196 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10200 eval "$ac_cv_use_splash"
10201 if test "$no_cache" != 1; then
10202 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10205 if test "$wxUSE_SPLASH" = yes; then
10206 echo "$as_me:$LINENO: result: yes" >&5
10207 echo "${ECHO_T}yes" >&6
10209 echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6
10215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10216 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10218 # Check whether --enable-textdlg or --disable-textdlg was given.
10219 if test "${enable_textdlg+set}" = set; then
10220 enableval
="$enable_textdlg"
10222 if test "$enableval" = yes; then
10223 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10225 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10230 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10231 if test "x$LINE" != x
; then
10232 eval "DEFAULT_$LINE"
10237 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10241 eval "$ac_cv_use_textdlg"
10242 if test "$no_cache" != 1; then
10243 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10246 if test "$wxUSE_TEXTDLG" = yes; then
10247 echo "$as_me:$LINENO: result: yes" >&5
10248 echo "${ECHO_T}yes" >&6
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10257 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10259 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10260 if test "${enable_tipdlg+set}" = set; then
10261 enableval
="$enable_tipdlg"
10263 if test "$enableval" = yes; then
10264 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10266 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10271 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10272 if test "x$LINE" != x
; then
10273 eval "DEFAULT_$LINE"
10278 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10282 eval "$ac_cv_use_tipdlg"
10283 if test "$no_cache" != 1; then
10284 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10287 if test "$wxUSE_STARTUP_TIPS" = yes; then
10288 echo "$as_me:$LINENO: result: yes" >&5
10289 echo "${ECHO_T}yes" >&6
10291 echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6
10297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10298 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10300 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10301 if test "${enable_progressdlg+set}" = set; then
10302 enableval
="$enable_progressdlg"
10304 if test "$enableval" = yes; then
10305 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10307 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10312 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10313 if test "x$LINE" != x
; then
10314 eval "DEFAULT_$LINE"
10319 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10323 eval "$ac_cv_use_progressdlg"
10324 if test "$no_cache" != 1; then
10325 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10328 if test "$wxUSE_PROGRESSDLG" = yes; then
10329 echo "$as_me:$LINENO: result: yes" >&5
10330 echo "${ECHO_T}yes" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10339 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10341 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10342 if test "${enable_wizarddlg+set}" = set; then
10343 enableval
="$enable_wizarddlg"
10345 if test "$enableval" = yes; then
10346 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10348 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10353 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10354 if test "x$LINE" != x
; then
10355 eval "DEFAULT_$LINE"
10360 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10364 eval "$ac_cv_use_wizarddlg"
10365 if test "$no_cache" != 1; then
10366 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10369 if test "$wxUSE_WIZARDDLG" = yes; then
10370 echo "$as_me:$LINENO: result: yes" >&5
10371 echo "${ECHO_T}yes" >&6
10373 echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6
10381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10382 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10384 # Check whether --enable-menus or --disable-menus was given.
10385 if test "${enable_menus+set}" = set; then
10386 enableval
="$enable_menus"
10388 if test "$enableval" = yes; then
10389 ac_cv_use_menus
='wxUSE_MENUS=yes'
10391 ac_cv_use_menus
='wxUSE_MENUS=no'
10396 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10397 if test "x$LINE" != x
; then
10398 eval "DEFAULT_$LINE"
10403 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10407 eval "$ac_cv_use_menus"
10408 if test "$no_cache" != 1; then
10409 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10412 if test "$wxUSE_MENUS" = yes; then
10413 echo "$as_me:$LINENO: result: yes" >&5
10414 echo "${ECHO_T}yes" >&6
10416 echo "$as_me:$LINENO: result: no" >&5
10417 echo "${ECHO_T}no" >&6
10422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10425 # Check whether --enable-miniframe or --disable-miniframe was given.
10426 if test "${enable_miniframe+set}" = set; then
10427 enableval
="$enable_miniframe"
10429 if test "$enableval" = yes; then
10430 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10432 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10437 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10438 if test "x$LINE" != x
; then
10439 eval "DEFAULT_$LINE"
10444 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10448 eval "$ac_cv_use_miniframe"
10449 if test "$no_cache" != 1; then
10450 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10453 if test "$wxUSE_MINIFRAME" = yes; then
10454 echo "$as_me:$LINENO: result: yes" >&5
10455 echo "${ECHO_T}yes" >&6
10457 echo "$as_me:$LINENO: result: no" >&5
10458 echo "${ECHO_T}no" >&6
10463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10466 # Check whether --enable-tooltips or --disable-tooltips was given.
10467 if test "${enable_tooltips+set}" = set; then
10468 enableval
="$enable_tooltips"
10470 if test "$enableval" = yes; then
10471 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10473 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10478 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10479 if test "x$LINE" != x
; then
10480 eval "DEFAULT_$LINE"
10485 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10489 eval "$ac_cv_use_tooltips"
10490 if test "$no_cache" != 1; then
10491 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10494 if test "$wxUSE_TOOLTIPS" = yes; then
10495 echo "$as_me:$LINENO: result: yes" >&5
10496 echo "${ECHO_T}yes" >&6
10498 echo "$as_me:$LINENO: result: no" >&5
10499 echo "${ECHO_T}no" >&6
10504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10507 # Check whether --enable-splines or --disable-splines was given.
10508 if test "${enable_splines+set}" = set; then
10509 enableval
="$enable_splines"
10511 if test "$enableval" = yes; then
10512 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10514 ac_cv_use_splines
='wxUSE_SPLINES=no'
10519 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10520 if test "x$LINE" != x
; then
10521 eval "DEFAULT_$LINE"
10526 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10530 eval "$ac_cv_use_splines"
10531 if test "$no_cache" != 1; then
10532 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10535 if test "$wxUSE_SPLINES" = yes; then
10536 echo "$as_me:$LINENO: result: yes" >&5
10537 echo "${ECHO_T}yes" >&6
10539 echo "$as_me:$LINENO: result: no" >&5
10540 echo "${ECHO_T}no" >&6
10545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10548 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10549 if test "${enable_mousewheel+set}" = set; then
10550 enableval
="$enable_mousewheel"
10552 if test "$enableval" = yes; then
10553 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10555 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10560 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10561 if test "x$LINE" != x
; then
10562 eval "DEFAULT_$LINE"
10567 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10571 eval "$ac_cv_use_mousewheel"
10572 if test "$no_cache" != 1; then
10573 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10576 if test "$wxUSE_MOUSEWHEEL" = yes; then
10577 echo "$as_me:$LINENO: result: yes" >&5
10578 echo "${ECHO_T}yes" >&6
10580 echo "$as_me:$LINENO: result: no" >&5
10581 echo "${ECHO_T}no" >&6
10586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10587 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10589 # Check whether --enable-validators or --disable-validators was given.
10590 if test "${enable_validators+set}" = set; then
10591 enableval
="$enable_validators"
10593 if test "$enableval" = yes; then
10594 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10596 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10601 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10602 if test "x$LINE" != x
; then
10603 eval "DEFAULT_$LINE"
10608 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10612 eval "$ac_cv_use_validators"
10613 if test "$no_cache" != 1; then
10614 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10617 if test "$wxUSE_VALIDATORS" = yes; then
10618 echo "$as_me:$LINENO: result: yes" >&5
10619 echo "${ECHO_T}yes" >&6
10621 echo "$as_me:$LINENO: result: no" >&5
10622 echo "${ECHO_T}no" >&6
10627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10628 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10630 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10631 if test "${enable_busyinfo+set}" = set; then
10632 enableval
="$enable_busyinfo"
10634 if test "$enableval" = yes; then
10635 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10637 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10642 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10643 if test "x$LINE" != x
; then
10644 eval "DEFAULT_$LINE"
10649 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10653 eval "$ac_cv_use_busyinfo"
10654 if test "$no_cache" != 1; then
10655 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10658 if test "$wxUSE_BUSYINFO" = yes; then
10659 echo "$as_me:$LINENO: result: yes" >&5
10660 echo "${ECHO_T}yes" >&6
10662 echo "$as_me:$LINENO: result: no" >&5
10663 echo "${ECHO_T}no" >&6
10668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10671 # Check whether --enable-joystick or --disable-joystick was given.
10672 if test "${enable_joystick+set}" = set; then
10673 enableval
="$enable_joystick"
10675 if test "$enableval" = yes; then
10676 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10678 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10683 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10684 if test "x$LINE" != x
; then
10685 eval "DEFAULT_$LINE"
10690 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10694 eval "$ac_cv_use_joystick"
10695 if test "$no_cache" != 1; then
10696 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10699 if test "$wxUSE_JOYSTICK" = yes; then
10700 echo "$as_me:$LINENO: result: yes" >&5
10701 echo "${ECHO_T}yes" >&6
10703 echo "$as_me:$LINENO: result: no" >&5
10704 echo "${ECHO_T}no" >&6
10709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10710 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10712 # Check whether --enable-metafile or --disable-metafile was given.
10713 if test "${enable_metafile+set}" = set; then
10714 enableval
="$enable_metafile"
10716 if test "$enableval" = yes; then
10717 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10719 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10724 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10725 if test "x$LINE" != x
; then
10726 eval "DEFAULT_$LINE"
10731 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10735 eval "$ac_cv_use_metafile"
10736 if test "$no_cache" != 1; then
10737 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10740 if test "$wxUSE_METAFILE" = yes; then
10741 echo "$as_me:$LINENO: result: yes" >&5
10742 echo "${ECHO_T}yes" >&6
10744 echo "$as_me:$LINENO: result: no" >&5
10745 echo "${ECHO_T}no" >&6
10750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10753 # Check whether --enable-dragimage or --disable-dragimage was given.
10754 if test "${enable_dragimage+set}" = set; then
10755 enableval
="$enable_dragimage"
10757 if test "$enableval" = yes; then
10758 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10760 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10765 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10766 if test "x$LINE" != x
; then
10767 eval "DEFAULT_$LINE"
10772 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10776 eval "$ac_cv_use_dragimage"
10777 if test "$no_cache" != 1; then
10778 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10781 if test "$wxUSE_DRAGIMAGE" = yes; then
10782 echo "$as_me:$LINENO: result: yes" >&5
10783 echo "${ECHO_T}yes" >&6
10785 echo "$as_me:$LINENO: result: no" >&5
10786 echo "${ECHO_T}no" >&6
10791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10794 # Check whether --enable-accessibility or --disable-accessibility was given.
10795 if test "${enable_accessibility+set}" = set; then
10796 enableval
="$enable_accessibility"
10798 if test "$enableval" = yes; then
10799 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10801 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10806 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x
; then
10808 eval "DEFAULT_$LINE"
10813 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10817 eval "$ac_cv_use_accessibility"
10818 if test "$no_cache" != 1; then
10819 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10822 if test "$wxUSE_ACCESSIBILITY" = yes; then
10823 echo "$as_me:$LINENO: result: yes" >&5
10824 echo "${ECHO_T}yes" >&6
10826 echo "$as_me:$LINENO: result: no" >&5
10827 echo "${ECHO_T}no" >&6
10831 if test "$wxUSE_MSW" = "1"; then
10834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10835 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10837 # Check whether --enable-dccache or --disable-dccache was given.
10838 if test "${enable_dccache+set}" = set; then
10839 enableval
="$enable_dccache"
10841 if test "$enableval" = yes; then
10842 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10844 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10849 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10850 if test "x$LINE" != x
; then
10851 eval "DEFAULT_$LINE"
10856 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10860 eval "$ac_cv_use_dccache"
10861 if test "$no_cache" != 1; then
10862 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10865 if test "$wxUSE_DC_CACHEING" = yes; then
10866 echo "$as_me:$LINENO: result: yes" >&5
10867 echo "${ECHO_T}yes" >&6
10869 echo "$as_me:$LINENO: result: no" >&5
10870 echo "${ECHO_T}no" >&6
10878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10879 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10881 # Check whether --enable-palette or --disable-palette was given.
10882 if test "${enable_palette+set}" = set; then
10883 enableval
="$enable_palette"
10885 if test "$enableval" = yes; then
10886 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10888 ac_cv_use_palette
='wxUSE_PALETTE=no'
10893 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10894 if test "x$LINE" != x
; then
10895 eval "DEFAULT_$LINE"
10900 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10904 eval "$ac_cv_use_palette"
10905 if test "$no_cache" != 1; then
10906 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10909 if test "$wxUSE_PALETTE" = yes; then
10910 echo "$as_me:$LINENO: result: yes" >&5
10911 echo "${ECHO_T}yes" >&6
10913 echo "$as_me:$LINENO: result: no" >&5
10914 echo "${ECHO_T}no" >&6
10919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10920 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10922 # Check whether --enable-image or --disable-image was given.
10923 if test "${enable_image+set}" = set; then
10924 enableval
="$enable_image"
10926 if test "$enableval" = yes; then
10927 ac_cv_use_image
='wxUSE_IMAGE=yes'
10929 ac_cv_use_image
='wxUSE_IMAGE=no'
10934 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10935 if test "x$LINE" != x
; then
10936 eval "DEFAULT_$LINE"
10941 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10945 eval "$ac_cv_use_image"
10946 if test "$no_cache" != 1; then
10947 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10950 if test "$wxUSE_IMAGE" = yes; then
10951 echo "$as_me:$LINENO: result: yes" >&5
10952 echo "${ECHO_T}yes" >&6
10954 echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6
10960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10961 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10963 # Check whether --enable-gif or --disable-gif was given.
10964 if test "${enable_gif+set}" = set; then
10965 enableval
="$enable_gif"
10967 if test "$enableval" = yes; then
10968 ac_cv_use_gif
='wxUSE_GIF=yes'
10970 ac_cv_use_gif
='wxUSE_GIF=no'
10975 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10976 if test "x$LINE" != x
; then
10977 eval "DEFAULT_$LINE"
10982 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10986 eval "$ac_cv_use_gif"
10987 if test "$no_cache" != 1; then
10988 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10991 if test "$wxUSE_GIF" = yes; then
10992 echo "$as_me:$LINENO: result: yes" >&5
10993 echo "${ECHO_T}yes" >&6
10995 echo "$as_me:$LINENO: result: no" >&5
10996 echo "${ECHO_T}no" >&6
11001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11002 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11004 # Check whether --enable-pcx or --disable-pcx was given.
11005 if test "${enable_pcx+set}" = set; then
11006 enableval
="$enable_pcx"
11008 if test "$enableval" = yes; then
11009 ac_cv_use_pcx
='wxUSE_PCX=yes'
11011 ac_cv_use_pcx
='wxUSE_PCX=no'
11016 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11017 if test "x$LINE" != x
; then
11018 eval "DEFAULT_$LINE"
11023 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11027 eval "$ac_cv_use_pcx"
11028 if test "$no_cache" != 1; then
11029 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11032 if test "$wxUSE_PCX" = yes; then
11033 echo "$as_me:$LINENO: result: yes" >&5
11034 echo "${ECHO_T}yes" >&6
11036 echo "$as_me:$LINENO: result: no" >&5
11037 echo "${ECHO_T}no" >&6
11042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11043 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11045 # Check whether --enable-iff or --disable-iff was given.
11046 if test "${enable_iff+set}" = set; then
11047 enableval
="$enable_iff"
11049 if test "$enableval" = yes; then
11050 ac_cv_use_iff
='wxUSE_IFF=yes'
11052 ac_cv_use_iff
='wxUSE_IFF=no'
11057 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11058 if test "x$LINE" != x
; then
11059 eval "DEFAULT_$LINE"
11064 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11068 eval "$ac_cv_use_iff"
11069 if test "$no_cache" != 1; then
11070 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11073 if test "$wxUSE_IFF" = yes; then
11074 echo "$as_me:$LINENO: result: yes" >&5
11075 echo "${ECHO_T}yes" >&6
11077 echo "$as_me:$LINENO: result: no" >&5
11078 echo "${ECHO_T}no" >&6
11083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11084 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11086 # Check whether --enable-pnm or --disable-pnm was given.
11087 if test "${enable_pnm+set}" = set; then
11088 enableval
="$enable_pnm"
11090 if test "$enableval" = yes; then
11091 ac_cv_use_pnm
='wxUSE_PNM=yes'
11093 ac_cv_use_pnm
='wxUSE_PNM=no'
11098 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11099 if test "x$LINE" != x
; then
11100 eval "DEFAULT_$LINE"
11105 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11109 eval "$ac_cv_use_pnm"
11110 if test "$no_cache" != 1; then
11111 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11114 if test "$wxUSE_PNM" = yes; then
11115 echo "$as_me:$LINENO: result: yes" >&5
11116 echo "${ECHO_T}yes" >&6
11118 echo "$as_me:$LINENO: result: no" >&5
11119 echo "${ECHO_T}no" >&6
11124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11125 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11127 # Check whether --enable-xpm or --disable-xpm was given.
11128 if test "${enable_xpm+set}" = set; then
11129 enableval
="$enable_xpm"
11131 if test "$enableval" = yes; then
11132 ac_cv_use_xpm
='wxUSE_XPM=yes'
11134 ac_cv_use_xpm
='wxUSE_XPM=no'
11139 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11140 if test "x$LINE" != x
; then
11141 eval "DEFAULT_$LINE"
11146 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11150 eval "$ac_cv_use_xpm"
11151 if test "$no_cache" != 1; then
11152 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11155 if test "$wxUSE_XPM" = yes; then
11156 echo "$as_me:$LINENO: result: yes" >&5
11157 echo "${ECHO_T}yes" >&6
11159 echo "$as_me:$LINENO: result: no" >&5
11160 echo "${ECHO_T}no" >&6
11165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11168 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11169 if test "${enable_ico_cur+set}" = set; then
11170 enableval
="$enable_ico_cur"
11172 if test "$enableval" = yes; then
11173 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11175 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11180 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11181 if test "x$LINE" != x
; then
11182 eval "DEFAULT_$LINE"
11187 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11191 eval "$ac_cv_use_ico_cur"
11192 if test "$no_cache" != 1; then
11193 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11196 if test "$wxUSE_ICO_CUR" = yes; then
11197 echo "$as_me:$LINENO: result: yes" >&5
11198 echo "${ECHO_T}yes" >&6
11200 echo "$as_me:$LINENO: result: no" >&5
11201 echo "${ECHO_T}no" >&6
11209 # Check whether --with-flavour or --without-flavour was given.
11210 if test "${with_flavour+set}" = set; then
11211 withval
="$with_flavour"
11212 WX_FLAVOUR
="$withval"
11218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11219 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11221 # Check whether --enable-official_build or --disable-official_build was given.
11222 if test "${enable_official_build+set}" = set; then
11223 enableval
="$enable_official_build"
11225 if test "$enableval" = yes; then
11226 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11228 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11233 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x
; then
11235 eval "DEFAULT_$LINE"
11240 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11244 eval "$ac_cv_use_official_build"
11245 if test "$no_cache" != 1; then
11246 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11249 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11250 echo "$as_me:$LINENO: result: yes" >&5
11251 echo "${ECHO_T}yes" >&6
11253 echo "$as_me:$LINENO: result: no" >&5
11254 echo "${ECHO_T}no" >&6
11257 # Check whether --enable-vendor or --disable-vendor was given.
11258 if test "${enable_vendor+set}" = set; then
11259 enableval
="$enable_vendor"
11260 VENDOR
="$enableval"
11262 if test "x$VENDOR" = "x"; then
11269 echo "saving argument cache $wx_arg_cache_file"
11270 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11274 echo "$as_me:$LINENO: checking for toolkit" >&5
11275 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11277 # In Wine, we need to default to MSW, not GTK or MOTIF
11278 if test "$wxUSE_WINE" = "yes"; then
11279 DEFAULT_DEFAULT_wxUSE_GTK
=0
11280 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11281 DEFAULT_DEFAULT_wxUSE_MSW
=1
11286 if test "$wxUSE_GUI" = "yes"; then
11288 if test "$USE_BEOS" = 1; then
11289 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11290 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11291 { (exit 1); exit 1; }; }
11294 if test "$TOOLKIT_GIVEN" = 1; then
11295 for toolkit
in `echo $ALL_TOOLKITS`; do
11297 eval "value=\$${var}"
11298 if test "x$value" = "xno"; then
11300 elif test "x$value" != "x"; then
11304 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11305 eval "wx${toolkit}_VERSION=$value"
11309 for toolkit
in `echo $ALL_TOOLKITS`; do
11310 if test "$has_toolkit_in_cache" != 1; then
11311 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11313 var
=DEFAULT_wxUSE_
$toolkit
11315 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11316 if test "x$version" != "x"; then
11317 eval "wx${toolkit}_VERSION=$version"
11320 eval "wxUSE_$toolkit=\$${var}"
11324 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11325 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11326 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11329 *-pc-os2_emx | *-pc-os2-emx )
11330 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11333 case "$NUM_TOOLKITS" in
11337 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11338 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11339 { (exit 1); exit 1; }; }
11342 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11343 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11344 { (exit 1); exit 1; }; }
11347 # to be removed when --disable-gtk2 isn't needed
11348 if test "x$wxUSE_GTK2" = "xyes"; then
11350 elif test "x$wxUSE_GTK2" = "xno"; then
11354 for toolkit
in `echo $ALL_TOOLKITS`; do
11356 eval "value=\$${var}"
11357 if test "x$value" != x
; then
11358 cache_var
=CACHE_
$toolkit
11359 eval "cache=\$${cache_var}"
11360 if test "$cache" = 1; then
11361 echo "$var=$value" >> ${wx_arg_cache_file}
11362 eval "version=\$wx${toolkit}_VERSION"
11363 if test "x$version" != "x"; then
11364 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11367 if test "$value" = 1; then
11368 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11369 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11370 echo "${ECHO_T}$toolkit_echo" >&6
11375 if test "x$host_alias" != "x"; then
11376 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11377 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11379 echo "$as_me:$LINENO: result: base only" >&5
11380 echo "${ECHO_T}base only" >&6
11385 doesnt_want_win32
=0
11388 if test "$wxUSE_MSW" = 1 ; then
11390 BAKEFILE_FORCE_PLATFORM
=win32
11392 doesnt_want_win32
=1
11400 if test "$wxUSE_WINE" = "yes"; then
11404 LDFLAGS_GUI
="-mwindows"
11407 if test "$wants_win32" = 1 ; then
11410 cat >>confdefs.h
<<\_ACEOF
11411 #define __WIN32__ 1
11414 cat >>confdefs.h
<<\_ACEOF
11415 #define __WIN95__ 1
11418 cat >>confdefs.h
<<\_ACEOF
11419 #define __WINDOWS__ 1
11422 cat >>confdefs.h
<<\_ACEOF
11423 #define __GNUWIN32__ 1
11426 cat >>confdefs.h
<<\_ACEOF
11430 cat >>confdefs.h
<<\_ACEOF
11431 #define WINVER 0x0400
11435 if test "$doesnt_want_win32" = 1 ; then
11440 if test "$USE_UNIX" = 1 ; then
11442 cat >>confdefs.h
<<\_ACEOF
11449 cat >confcache
<<\_ACEOF
11450 # This file is a shell script that caches the results of configure
11451 # tests run on this system so they can be shared between configure
11452 # scripts and configure runs, see configure's option --config-cache.
11453 # It is not useful on other systems. If it contains results you don't
11454 # want to keep, you may remove or edit it.
11456 # config.status only pays attention to the cache file if you give it
11457 # the --recheck option to rerun configure.
11459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11461 # following values.
11465 # The following way of writing the cache mishandles newlines in values,
11466 # but we know of no workaround that is simple, portable, and efficient.
11467 # So, don't put newlines in cache variables' values.
11468 # Ultrix sh set writes to stderr and can't be redirected directly,
11469 # and sets the high bit in the cache file unless we assign to the vars.
11472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11474 # `set' does not quote correctly, so add quotes (double-quote
11475 # substitution turns \\\\ into \\, and sed turns \\ into \).
11478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11481 # `set' quotes correctly as required by POSIX, so do not add quotes.
11483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11492 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11494 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11495 if test -w $cache_file; then
11496 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11497 cat confcache
>$cache_file
11499 echo "not updating unwritable cache $cache_file"
11509 ac_cpp
='$CPP $CPPFLAGS'
11510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11513 if test -n "$ac_tool_prefix"; then
11514 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11515 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11516 echo "$as_me:$LINENO: checking for $ac_word" >&5
11517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11518 if test "${ac_cv_prog_CC+set}" = set; then
11519 echo $ECHO_N "(cached) $ECHO_C" >&6
11521 if test -n "$CC"; then
11522 ac_cv_prog_CC
="$CC" # Let the user override the test.
11524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11525 for as_dir
in $PATH
11528 test -z "$as_dir" && as_dir
=.
11529 for ac_exec_ext
in '' $ac_executable_extensions; do
11530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11531 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11541 if test -n "$CC"; then
11542 echo "$as_me:$LINENO: result: $CC" >&5
11543 echo "${ECHO_T}$CC" >&6
11545 echo "$as_me:$LINENO: result: no" >&5
11546 echo "${ECHO_T}no" >&6
11550 if test -z "$ac_cv_prog_CC"; then
11552 # Extract the first word of "gcc", so it can be a program name with args.
11553 set dummy gcc
; ac_word
=$2
11554 echo "$as_me:$LINENO: checking for $ac_word" >&5
11555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11559 if test -n "$ac_ct_CC"; then
11560 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11563 for as_dir
in $PATH
11566 test -z "$as_dir" && as_dir
=.
11567 for ac_exec_ext
in '' $ac_executable_extensions; do
11568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11569 ac_cv_prog_ac_ct_CC
="gcc"
11570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11578 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11579 if test -n "$ac_ct_CC"; then
11580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11581 echo "${ECHO_T}$ac_ct_CC" >&6
11583 echo "$as_me:$LINENO: result: no" >&5
11584 echo "${ECHO_T}no" >&6
11589 CC
="$ac_cv_prog_CC"
11592 if test -z "$CC"; then
11593 if test -n "$ac_tool_prefix"; then
11594 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11595 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11596 echo "$as_me:$LINENO: checking for $ac_word" >&5
11597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11598 if test "${ac_cv_prog_CC+set}" = set; then
11599 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 if test -n "$CC"; then
11602 ac_cv_prog_CC
="$CC" # Let the user override the test.
11604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11605 for as_dir
in $PATH
11608 test -z "$as_dir" && as_dir
=.
11609 for ac_exec_ext
in '' $ac_executable_extensions; do
11610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11611 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11621 if test -n "$CC"; then
11622 echo "$as_me:$LINENO: result: $CC" >&5
11623 echo "${ECHO_T}$CC" >&6
11625 echo "$as_me:$LINENO: result: no" >&5
11626 echo "${ECHO_T}no" >&6
11630 if test -z "$ac_cv_prog_CC"; then
11632 # Extract the first word of "cc", so it can be a program name with args.
11633 set dummy cc
; ac_word
=$2
11634 echo "$as_me:$LINENO: checking for $ac_word" >&5
11635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11636 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 if test -n "$ac_ct_CC"; then
11640 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11643 for as_dir
in $PATH
11646 test -z "$as_dir" && as_dir
=.
11647 for ac_exec_ext
in '' $ac_executable_extensions; do
11648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11649 ac_cv_prog_ac_ct_CC
="cc"
11650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11658 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11659 if test -n "$ac_ct_CC"; then
11660 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11661 echo "${ECHO_T}$ac_ct_CC" >&6
11663 echo "$as_me:$LINENO: result: no" >&5
11664 echo "${ECHO_T}no" >&6
11669 CC
="$ac_cv_prog_CC"
11673 if test -z "$CC"; then
11674 # Extract the first word of "cc", so it can be a program name with args.
11675 set dummy cc
; ac_word
=$2
11676 echo "$as_me:$LINENO: checking for $ac_word" >&5
11677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11678 if test "${ac_cv_prog_CC+set}" = set; then
11679 echo $ECHO_N "(cached) $ECHO_C" >&6
11681 if test -n "$CC"; then
11682 ac_cv_prog_CC
="$CC" # Let the user override the test.
11684 ac_prog_rejected
=no
11685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11686 for as_dir
in $PATH
11689 test -z "$as_dir" && as_dir
=.
11690 for ac_exec_ext
in '' $ac_executable_extensions; do
11691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11692 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11693 ac_prog_rejected
=yes
11697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11703 if test $ac_prog_rejected = yes; then
11704 # We found a bogon in the path, so make sure we never use it.
11705 set dummy
$ac_cv_prog_CC
11707 if test $# != 0; then
11708 # We chose a different compiler from the bogus one.
11709 # However, it has the same basename, so the bogon will be chosen
11710 # first if we set CC to just the basename; use the full file name.
11712 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11718 if test -n "$CC"; then
11719 echo "$as_me:$LINENO: result: $CC" >&5
11720 echo "${ECHO_T}$CC" >&6
11722 echo "$as_me:$LINENO: result: no" >&5
11723 echo "${ECHO_T}no" >&6
11727 if test -z "$CC"; then
11728 if test -n "$ac_tool_prefix"; then
11731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11732 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11733 echo "$as_me:$LINENO: checking for $ac_word" >&5
11734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11735 if test "${ac_cv_prog_CC+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 if test -n "$CC"; then
11739 ac_cv_prog_CC
="$CC" # Let the user override the test.
11741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11742 for as_dir
in $PATH
11745 test -z "$as_dir" && as_dir
=.
11746 for ac_exec_ext
in '' $ac_executable_extensions; do
11747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11748 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 if test -n "$CC"; then
11759 echo "$as_me:$LINENO: result: $CC" >&5
11760 echo "${ECHO_T}$CC" >&6
11762 echo "$as_me:$LINENO: result: no" >&5
11763 echo "${ECHO_T}no" >&6
11766 test -n "$CC" && break
11769 if test -z "$CC"; then
11773 # Extract the first word of "$ac_prog", so it can be a program name with args.
11774 set dummy
$ac_prog; ac_word
=$2
11775 echo "$as_me:$LINENO: checking for $ac_word" >&5
11776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 if test -n "$ac_ct_CC"; then
11781 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11784 for as_dir
in $PATH
11787 test -z "$as_dir" && as_dir
=.
11788 for ac_exec_ext
in '' $ac_executable_extensions; do
11789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11790 ac_cv_prog_ac_ct_CC
="$ac_prog"
11791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11799 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11800 if test -n "$ac_ct_CC"; then
11801 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11802 echo "${ECHO_T}$ac_ct_CC" >&6
11804 echo "$as_me:$LINENO: result: no" >&5
11805 echo "${ECHO_T}no" >&6
11808 test -n "$ac_ct_CC" && break
11817 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11818 See \`config.log' for more details." >&5
11819 echo "$as_me: error: no acceptable C compiler found in \$PATH
11820 See \`config.log' for more details." >&2;}
11821 { (exit 1); exit 1; }; }
11823 # Provide some information about the compiler.
11824 echo "$as_me:$LINENO:" \
11825 "checking for C compiler version" >&5
11826 ac_compiler
=`set X $ac_compile; echo $2`
11827 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11828 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }
11832 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11833 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }
11837 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11838 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }
11843 cat >conftest.
$ac_ext <<_ACEOF
11846 cat confdefs.h
>>conftest.
$ac_ext
11847 cat >>conftest.
$ac_ext <<_ACEOF
11848 /* end confdefs.h. */
11858 ac_clean_files_save
=$ac_clean_files
11859 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11860 # Try to create an executable without -o first, disregard a.out.
11861 # It will help us diagnose broken compilers, and finding out an intuition
11863 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11864 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11865 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11866 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11867 (eval $ac_link_default) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; then
11871 # Find the output, starting from the most likely. This scheme is
11872 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11875 # Be careful to initialize this variable, since it used to be cached.
11876 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11878 # b.out is created by i960 compilers.
11879 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11881 test -f "$ac_file" || continue
11883 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11886 # This is the source file.
11889 # We found the default executable, but exeext='' is most
11893 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11894 # FIXME: I believe we export ac_cv_exeext for Libtool,
11895 # but it would be cool to find out if it's true. Does anybody
11896 # maintain Libtool? --akim.
11897 export ac_cv_exeext
11904 echo "$as_me: failed program was:" >&5
11905 sed 's/^/| /' conftest.
$ac_ext >&5
11907 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11908 See \`config.log' for more details." >&5
11909 echo "$as_me: error: C compiler cannot create executables
11910 See \`config.log' for more details." >&2;}
11911 { (exit 77); exit 77; }; }
11914 ac_exeext
=$ac_cv_exeext
11915 echo "$as_me:$LINENO: result: $ac_file" >&5
11916 echo "${ECHO_T}$ac_file" >&6
11918 # Check the compiler produces executables we can run. If not, either
11919 # the compiler is broken, or we cross compile.
11920 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11921 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11922 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11923 # If not cross compiling, check that we can run a simple program.
11924 if test "$cross_compiling" != yes; then
11925 if { ac_try
='./$ac_file'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; }; then
11933 if test "$cross_compiling" = maybe
; then
11934 cross_compiling
=yes
11936 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11937 If you meant to cross compile, use \`--host'.
11938 See \`config.log' for more details." >&5
11939 echo "$as_me: error: cannot run C compiled programs.
11940 If you meant to cross compile, use \`--host'.
11941 See \`config.log' for more details." >&2;}
11942 { (exit 1); exit 1; }; }
11946 echo "$as_me:$LINENO: result: yes" >&5
11947 echo "${ECHO_T}yes" >&6
11949 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11950 ac_clean_files
=$ac_clean_files_save
11951 # Check the compiler produces executables we can run. If not, either
11952 # the compiler is broken, or we cross compile.
11953 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11954 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11955 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11956 echo "${ECHO_T}$cross_compiling" >&6
11958 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11959 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11961 (eval $ac_link) 2>&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); }; then
11965 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11966 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11967 # work properly (i.e., refer to `conftest.exe'), while it won't with
11969 for ac_file
in conftest.exe conftest conftest.
*; do
11970 test -f "$ac_file" || continue
11972 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11973 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11974 export ac_cv_exeext
11980 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11981 See \`config.log' for more details." >&5
11982 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11983 See \`config.log' for more details." >&2;}
11984 { (exit 1); exit 1; }; }
11987 rm -f conftest
$ac_cv_exeext
11988 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11989 echo "${ECHO_T}$ac_cv_exeext" >&6
11991 rm -f conftest.
$ac_ext
11992 EXEEXT
=$ac_cv_exeext
11994 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11995 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11996 if test "${ac_cv_objext+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 cat >conftest.
$ac_ext <<_ACEOF
12002 cat confdefs.h
>>conftest.
$ac_ext
12003 cat >>conftest.
$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12014 rm -f conftest.o conftest.obj
12015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12016 (eval $ac_compile) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; then
12020 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12022 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12023 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12028 echo "$as_me: failed program was:" >&5
12029 sed 's/^/| /' conftest.
$ac_ext >&5
12031 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12032 See \`config.log' for more details." >&5
12033 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12034 See \`config.log' for more details." >&2;}
12035 { (exit 1); exit 1; }; }
12038 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12040 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12041 echo "${ECHO_T}$ac_cv_objext" >&6
12042 OBJEXT
=$ac_cv_objext
12044 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12045 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12046 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12049 cat >conftest.
$ac_ext <<_ACEOF
12052 cat confdefs.h
>>conftest.
$ac_ext
12053 cat >>conftest.
$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12067 rm -f conftest.
$ac_objext
12068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12069 (eval $ac_compile) 2>conftest.er1
12071 grep -v '^ *+' conftest.er1
>conftest.err
12073 cat conftest.err
>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } &&
12076 { ac_try
='test -z "$ac_c_werror_flag"
12077 || test ! -s conftest.err'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; } &&
12083 { ac_try
='test -s conftest.$ac_objext'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; }; then
12089 ac_compiler_gnu
=yes
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.
$ac_ext >&5
12096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12097 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12100 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12101 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12102 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12103 ac_test_CFLAGS
=${CFLAGS+set}
12104 ac_save_CFLAGS
=$CFLAGS
12106 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12107 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12108 if test "${ac_cv_prog_cc_g+set}" = set; then
12109 echo $ECHO_N "(cached) $ECHO_C" >&6
12111 cat >conftest.
$ac_ext <<_ACEOF
12114 cat confdefs.h
>>conftest.
$ac_ext
12115 cat >>conftest.
$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12126 rm -f conftest.
$ac_objext
12127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>conftest.er1
12130 grep -v '^ *+' conftest.er1
>conftest.err
12132 cat conftest.err
>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try
='test -z "$ac_c_werror_flag"
12136 || test ! -s conftest.err'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; } &&
12142 { ac_try
='test -s conftest.$ac_objext'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 ac_cv_prog_cc_g
=yes
12150 echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.
$ac_ext >&5
12155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12157 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12159 if test "$ac_test_CFLAGS" = set; then
12160 CFLAGS
=$ac_save_CFLAGS
12161 elif test $ac_cv_prog_cc_g = yes; then
12162 if test "$GCC" = yes; then
12168 if test "$GCC" = yes; then
12174 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12175 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12176 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 ac_cv_prog_cc_stdc
=no
12181 cat >conftest.
$ac_ext <<_ACEOF
12184 cat confdefs.h
>>conftest.
$ac_ext
12185 cat >>conftest.
$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12187 #include <stdarg.h>
12189 #include <sys/types.h>
12190 #include <sys/stat.h>
12191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12192 struct buf { int x; };
12193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12194 static char *e (p, i)
12200 static char *f (char * (*g) (char **, int), char **p, ...)
12205 s = g (p, va_arg (v,int));
12210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12211 function prototypes and stuff, but not '\xHH' hex character constants.
12212 These don't provoke an error unfortunately, instead are silently treated
12213 as 'x'. The following induces an error, until -std1 is added to get
12214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12215 array size at least. It's necessary to write '\x00'==0 to get something
12216 that's true only with -std1. */
12217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12219 int test (int i, double x);
12220 struct s1 {int (*f) (int a);};
12221 struct s2 {int (*f) (double a);};
12222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12233 # Don't try gcc -ansi; that turns off useful extensions and
12234 # breaks some systems' header files.
12235 # AIX -qlanglvl=ansi
12236 # Ultrix and OSF/1 -std1
12237 # HP-UX 10.20 and later -Ae
12238 # HP-UX older versions -Aa -D_HPUX_SOURCE
12239 # SVR4 -Xc -D__EXTENSIONS__
12240 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12242 CC
="$ac_save_CC $ac_arg"
12243 rm -f conftest.
$ac_objext
12244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12245 (eval $ac_compile) 2>conftest.er1
12247 grep -v '^ *+' conftest.er1
>conftest.err
12249 cat conftest.err
>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); } &&
12252 { ac_try
='test -z "$ac_c_werror_flag"
12253 || test ! -s conftest.err'
12254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12255 (eval $ac_try) 2>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); }; } &&
12259 { ac_try
='test -s conftest.$ac_objext'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; }; then
12265 ac_cv_prog_cc_stdc
=$ac_arg
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.
$ac_ext >&5
12272 rm -f conftest.err conftest.
$ac_objext
12274 rm -f conftest.
$ac_ext conftest.
$ac_objext
12279 case "x$ac_cv_prog_cc_stdc" in
12281 echo "$as_me:$LINENO: result: none needed" >&5
12282 echo "${ECHO_T}none needed" >&6 ;;
12284 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12285 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12286 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12289 # Some people use a C++ compiler to compile C. Since we use `exit',
12290 # in C++ we need to declare it. In case someone uses the same compiler
12291 # for both compiling C and C++ we need to have the C++ compiler decide
12292 # the declaration of exit, since it's the most demanding environment.
12293 cat >conftest.
$ac_ext <<_ACEOF
12294 #ifndef __cplusplus
12298 rm -f conftest.
$ac_objext
12299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12300 (eval $ac_compile) 2>conftest.er1
12302 grep -v '^ *+' conftest.er1
>conftest.err
12304 cat conftest.err
>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); } &&
12307 { ac_try
='test -z "$ac_c_werror_flag"
12308 || test ! -s conftest.err'
12309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310 (eval $ac_try) 2>&5
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); }; } &&
12314 { ac_try
='test -s conftest.$ac_objext'
12315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12316 (eval $ac_try) 2>&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); }; }; then
12320 for ac_declaration
in \
12322 'extern "C" void std::exit (int) throw (); using std::exit;' \
12323 'extern "C" void std::exit (int); using std::exit;' \
12324 'extern "C" void exit (int) throw ();' \
12325 'extern "C" void exit (int);' \
12328 cat >conftest.
$ac_ext <<_ACEOF
12331 cat confdefs.h
>>conftest.
$ac_ext
12332 cat >>conftest.
$ac_ext <<_ACEOF
12333 /* end confdefs.h. */
12335 #include <stdlib.h>
12344 rm -f conftest.
$ac_objext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12346 (eval $ac_compile) 2>conftest.er1
12348 grep -v '^ *+' conftest.er1
>conftest.err
12350 cat conftest.err
>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); } &&
12353 { ac_try
='test -z "$ac_c_werror_flag"
12354 || test ! -s conftest.err'
12355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12356 (eval $ac_try) 2>&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); }; } &&
12360 { ac_try
='test -s conftest.$ac_objext'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; }; then
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.
$ac_ext >&5
12373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12374 cat >conftest.
$ac_ext <<_ACEOF
12377 cat confdefs.h
>>conftest.
$ac_ext
12378 cat >>conftest.
$ac_ext <<_ACEOF
12379 /* end confdefs.h. */
12389 rm -f conftest.
$ac_objext
12390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12391 (eval $ac_compile) 2>conftest.er1
12393 grep -v '^ *+' conftest.er1
>conftest.err
12395 cat conftest.err
>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); } &&
12398 { ac_try
='test -z "$ac_c_werror_flag"
12399 || test ! -s conftest.err'
12400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12401 (eval $ac_try) 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; } &&
12405 { ac_try
='test -s conftest.$ac_objext'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; }; then
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.
$ac_ext >&5
12417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12420 if test -n "$ac_declaration"; then
12421 echo '#ifdef __cplusplus' >>confdefs.h
12422 echo $ac_declaration >>confdefs.h
12423 echo '#endif' >>confdefs.h
12427 echo "$as_me: failed program was:" >&5
12428 sed 's/^/| /' conftest.
$ac_ext >&5
12431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12433 ac_cpp
='$CPP $CPPFLAGS'
12434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12441 ac_cpp
='$CPP $CPPFLAGS'
12442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12446 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12447 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12448 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12449 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 cat >conftest.
$ac_ext <<_ACEOF
12454 cat confdefs.h
>>conftest.
$ac_ext
12455 cat >>conftest.
$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12462 #ifndef __INTEL_COMPILER
12470 rm -f conftest.
$ac_objext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12472 (eval $ac_compile) 2>conftest.er1
12474 grep -v '^ *+' conftest.er1
>conftest.err
12476 cat conftest.err
>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try
='test -z "$ac_c_werror_flag"
12480 || test ! -s conftest.err'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; } &&
12486 { ac_try
='test -s conftest.$ac_objext'
12487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 (eval $ac_try) 2>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }; }; then
12492 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12494 echo "$as_me: failed program was:" >&5
12495 sed 's/^/| /' conftest.
$ac_ext >&5
12497 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12504 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12505 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12507 ac_cpp
='$CPP $CPPFLAGS'
12508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12512 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12519 if test "x$GCC" != "xyes"; then
12520 if test "xCC" = "xC"; then
12521 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12522 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12523 if test "${bakefile_cv_c_exto+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 cat >conftest.
$ac_ext <<_ACEOF
12529 cat confdefs.h
>>conftest.
$ac_ext
12530 cat >>conftest.
$ac_ext <<_ACEOF
12531 /* end confdefs.h. */
12541 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12543 (eval $ac_compile) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; then
12547 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12549 conftest.
$ac_ext.o
)
12550 bakefile_cv_c_exto
="-ext o"
12557 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12558 See \`config.log' for more details." >&5
12559 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12560 See \`config.log' for more details." >&2;}
12561 { (exit 1); exit 1; }; }
12565 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12568 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12569 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12570 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12571 if test "c" = "c"; then
12572 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12574 if test "c" = "cxx"; then
12575 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12579 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12580 unset ac_cv_prog_cc_g
12581 ac_test_CFLAGS
=${CFLAGS+set}
12582 ac_save_CFLAGS
=$CFLAGS
12584 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12585 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12586 if test "${ac_cv_prog_cc_g+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 cat >conftest.
$ac_ext <<_ACEOF
12592 cat confdefs.h
>>conftest.
$ac_ext
12593 cat >>conftest.
$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12604 rm -f conftest.
$ac_objext
12605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12606 (eval $ac_compile) 2>conftest.er1
12608 grep -v '^ *+' conftest.er1
>conftest.err
12610 cat conftest.err
>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try
='test -z "$ac_c_werror_flag"
12614 || test ! -s conftest.err'
12615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12616 (eval $ac_try) 2>&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); }; } &&
12620 { ac_try
='test -s conftest.$ac_objext'
12621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12622 (eval $ac_try) 2>&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; }; then
12626 ac_cv_prog_cc_g
=yes
12628 echo "$as_me: failed program was:" >&5
12629 sed 's/^/| /' conftest.
$ac_ext >&5
12633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12635 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12636 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12637 if test "$ac_test_CFLAGS" = set; then
12638 CFLAGS
=$ac_save_CFLAGS
12639 elif test $ac_cv_prog_cc_g = yes; then
12640 if test "$GCC" = yes; then
12646 if test "$GCC" = yes; then
12658 ac_cpp
='$CPP $CPPFLAGS'
12659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12663 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12664 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12665 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 cat >conftest.
$ac_ext <<_ACEOF
12671 cat confdefs.h
>>conftest.
$ac_ext
12672 cat >>conftest.
$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12686 rm -f conftest.
$ac_objext
12687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12688 (eval $ac_compile) 2>conftest.er1
12690 grep -v '^ *+' conftest.er1
>conftest.err
12692 cat conftest.err
>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); } &&
12695 { ac_try
='test -z "$ac_c_werror_flag"
12696 || test ! -s conftest.err'
12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12698 (eval $ac_try) 2>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); }; } &&
12702 { ac_try
='test -s conftest.$ac_objext'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; }; then
12708 bakefile_compiler_xlc
=yes
12710 echo "$as_me: failed program was:" >&5
12711 sed 's/^/| /' conftest.
$ac_ext >&5
12713 bakefile_compiler_xlc
=no
12715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12716 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12719 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12720 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12722 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12724 ac_cpp
='$CPP $CPPFLAGS'
12725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12734 ac_cpp
='$CPP $CPPFLAGS'
12735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12739 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12740 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12741 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12742 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 cat >conftest.
$ac_ext <<_ACEOF
12747 cat confdefs.h
>>conftest.
$ac_ext
12748 cat >>conftest.
$ac_ext <<_ACEOF
12749 /* end confdefs.h. */
12762 rm -f conftest.
$ac_objext
12763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12764 (eval $ac_compile) 2>conftest.er1
12766 grep -v '^ *+' conftest.er1
>conftest.err
12768 cat conftest.err
>&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } &&
12771 { ac_try
='test -z "$ac_c_werror_flag"
12772 || test ! -s conftest.err'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; } &&
12778 { ac_try
='test -s conftest.$ac_objext'
12779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12780 (eval $ac_try) 2>&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); }; }; then
12784 bakefile_compiler_mwerks
=yes
12786 echo "$as_me: failed program was:" >&5
12787 sed 's/^/| /' conftest.
$ac_ext >&5
12789 bakefile_compiler_mwerks
=no
12791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12792 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12795 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12796 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12798 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12800 ac_cpp
='$CPP $CPPFLAGS'
12801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12807 ac_cpp
='$CPP $CPPFLAGS'
12808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12812 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12813 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12814 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12817 cat >conftest.
$ac_ext <<_ACEOF
12820 cat confdefs.h
>>conftest.
$ac_ext
12821 cat >>conftest.
$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12835 rm -f conftest.
$ac_objext
12836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12837 (eval $ac_compile) 2>conftest.er1
12839 grep -v '^ *+' conftest.er1
>conftest.err
12841 cat conftest.err
>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } &&
12844 { ac_try
='test -z "$ac_c_werror_flag"
12845 || test ! -s conftest.err'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; } &&
12851 { ac_try
='test -s conftest.$ac_objext'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; }; then
12857 bakefile_compiler_xlc
=yes
12859 echo "$as_me: failed program was:" >&5
12860 sed 's/^/| /' conftest.
$ac_ext >&5
12862 bakefile_compiler_xlc
=no
12864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12865 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12868 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12869 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12871 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12873 ac_cpp
='$CPP $CPPFLAGS'
12874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12885 ac_cpp
='$CPP $CPPFLAGS'
12886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12890 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12891 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12892 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 cat >conftest.
$ac_ext <<_ACEOF
12898 cat confdefs.h
>>conftest.
$ac_ext
12899 cat >>conftest.
$ac_ext <<_ACEOF
12900 /* end confdefs.h. */
12906 #ifndef _SGI_COMPILER_VERSION
12914 rm -f conftest.
$ac_objext
12915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12916 (eval $ac_compile) 2>conftest.er1
12918 grep -v '^ *+' conftest.er1
>conftest.err
12920 cat conftest.err
>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); } &&
12923 { ac_try
='test -z "$ac_c_werror_flag"
12924 || test ! -s conftest.err'
12925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12926 (eval $ac_try) 2>&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); }; } &&
12930 { ac_try
='test -s conftest.$ac_objext'
12931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12932 (eval $ac_try) 2>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); }; }; then
12936 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12938 echo "$as_me: failed program was:" >&5
12939 sed 's/^/| /' conftest.
$ac_ext >&5
12941 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12948 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12949 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12951 ac_cpp
='$CPP $CPPFLAGS'
12952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12956 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12969 ac_cpp
='$CPP $CPPFLAGS'
12970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12974 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12975 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12976 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 cat >conftest.
$ac_ext <<_ACEOF
12982 cat confdefs.h
>>conftest.
$ac_ext
12983 cat >>conftest.
$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12998 rm -f conftest.
$ac_objext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13000 (eval $ac_compile) 2>conftest.er1
13002 grep -v '^ *+' conftest.er1
>conftest.err
13004 cat conftest.err
>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try
='test -z "$ac_c_werror_flag"
13008 || test ! -s conftest.err'
13009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13010 (eval $ac_try) 2>&5
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); }; } &&
13014 { ac_try
='test -s conftest.$ac_objext'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; }; then
13020 bakefile_cv_c_compiler___HP_cc
=yes
13022 echo "$as_me: failed program was:" >&5
13023 sed 's/^/| /' conftest.
$ac_ext >&5
13025 bakefile_cv_c_compiler___HP_cc
=no
13028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13032 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13033 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13035 ac_cpp
='$CPP $CPPFLAGS'
13036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13040 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13053 ac_cpp
='$CPP $CPPFLAGS'
13054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13058 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13059 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13060 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13061 echo $ECHO_N "(cached) $ECHO_C" >&6
13063 cat >conftest.
$ac_ext <<_ACEOF
13066 cat confdefs.h
>>conftest.
$ac_ext
13067 cat >>conftest.
$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13082 rm -f conftest.
$ac_objext
13083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13084 (eval $ac_compile) 2>conftest.er1
13086 grep -v '^ *+' conftest.er1
>conftest.err
13088 cat conftest.err
>&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); } &&
13091 { ac_try
='test -z "$ac_c_werror_flag"
13092 || test ! -s conftest.err'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; } &&
13098 { ac_try
='test -s conftest.$ac_objext'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; }; then
13104 bakefile_cv_c_compiler___DECC
=yes
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.
$ac_ext >&5
13109 bakefile_cv_c_compiler___DECC
=no
13112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13116 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13117 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13119 ac_cpp
='$CPP $CPPFLAGS'
13120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13124 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13137 ac_cpp
='$CPP $CPPFLAGS'
13138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13142 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13143 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13144 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 cat >conftest.
$ac_ext <<_ACEOF
13150 cat confdefs.h
>>conftest.
$ac_ext
13151 cat >>conftest.
$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13166 rm -f conftest.
$ac_objext
13167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13168 (eval $ac_compile) 2>conftest.er1
13170 grep -v '^ *+' conftest.er1
>conftest.err
13172 cat conftest.err
>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); } &&
13175 { ac_try
='test -z "$ac_c_werror_flag"
13176 || test ! -s conftest.err'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; } &&
13182 { ac_try
='test -s conftest.$ac_objext'
13183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13184 (eval $ac_try) 2>&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }; }; then
13188 bakefile_cv_c_compiler___SUNPRO_C
=yes
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.
$ac_ext >&5
13193 bakefile_cv_c_compiler___SUNPRO_C
=no
13196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13200 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13201 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13203 ac_cpp
='$CPP $CPPFLAGS'
13204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13208 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13222 ac_cpp
='$CPP $CPPFLAGS'
13223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13226 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13227 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13228 # On Suns, sometimes $CPP names a directory.
13229 if test -n "$CPP" && test -d "$CPP"; then
13232 if test -z "$CPP"; then
13233 if test "${ac_cv_prog_CPP+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 # Double quotes because CPP needs to be expanded
13237 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13239 ac_preproc_ok
=false
13240 for ac_c_preproc_warn_flag
in '' yes
13242 # Use a header file that comes with gcc, so configuring glibc
13243 # with a fresh cross-compiler works.
13244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13245 # <limits.h> exists even on freestanding compilers.
13246 # On the NeXT, cc -E runs the code through the compiler's parser,
13247 # not just through cpp. "Syntax error" is here to catch this case.
13248 cat >conftest.
$ac_ext <<_ACEOF
13251 cat confdefs.h
>>conftest.
$ac_ext
13252 cat >>conftest.
$ac_ext <<_ACEOF
13253 /* end confdefs.h. */
13255 # include <limits.h>
13257 # include <assert.h>
13261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13264 grep -v '^ *+' conftest.er1
>conftest.err
13266 cat conftest.err
>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); } >/dev
/null
; then
13269 if test -s conftest.err
; then
13270 ac_cpp_err
=$ac_c_preproc_warn_flag
13271 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13278 if test -z "$ac_cpp_err"; then
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 # Broken: fails on valid input.
13287 rm -f conftest.err conftest.
$ac_ext
13289 # OK, works on sane cases. Now check whether non-existent headers
13290 # can be detected and how.
13291 cat >conftest.
$ac_ext <<_ACEOF
13294 cat confdefs.h
>>conftest.
$ac_ext
13295 cat >>conftest.
$ac_ext <<_ACEOF
13296 /* end confdefs.h. */
13297 #include <ac_nonexistent.h>
13299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13302 grep -v '^ *+' conftest.er1
>conftest.err
13304 cat conftest.err
>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } >/dev
/null
; then
13307 if test -s conftest.err
; then
13308 ac_cpp_err
=$ac_c_preproc_warn_flag
13309 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13316 if test -z "$ac_cpp_err"; then
13317 # Broken: success on invalid input.
13320 echo "$as_me: failed program was:" >&5
13321 sed 's/^/| /' conftest.
$ac_ext >&5
13323 # Passes both tests.
13327 rm -f conftest.err conftest.
$ac_ext
13330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13331 rm -f conftest.err conftest.
$ac_ext
13332 if $ac_preproc_ok; then
13337 ac_cv_prog_CPP
=$CPP
13340 CPP
=$ac_cv_prog_CPP
13342 ac_cv_prog_CPP
=$CPP
13344 echo "$as_me:$LINENO: result: $CPP" >&5
13345 echo "${ECHO_T}$CPP" >&6
13346 ac_preproc_ok
=false
13347 for ac_c_preproc_warn_flag
in '' yes
13349 # Use a header file that comes with gcc, so configuring glibc
13350 # with a fresh cross-compiler works.
13351 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13352 # <limits.h> exists even on freestanding compilers.
13353 # On the NeXT, cc -E runs the code through the compiler's parser,
13354 # not just through cpp. "Syntax error" is here to catch this case.
13355 cat >conftest.
$ac_ext <<_ACEOF
13358 cat confdefs.h
>>conftest.
$ac_ext
13359 cat >>conftest.
$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13362 # include <limits.h>
13364 # include <assert.h>
13368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13371 grep -v '^ *+' conftest.er1
>conftest.err
13373 cat conftest.err
>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } >/dev
/null
; then
13376 if test -s conftest.err
; then
13377 ac_cpp_err
=$ac_c_preproc_warn_flag
13378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13385 if test -z "$ac_cpp_err"; then
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.
$ac_ext >&5
13391 # Broken: fails on valid input.
13394 rm -f conftest.err conftest.
$ac_ext
13396 # OK, works on sane cases. Now check whether non-existent headers
13397 # can be detected and how.
13398 cat >conftest.
$ac_ext <<_ACEOF
13401 cat confdefs.h
>>conftest.
$ac_ext
13402 cat >>conftest.
$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13404 #include <ac_nonexistent.h>
13406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13409 grep -v '^ *+' conftest.er1
>conftest.err
13411 cat conftest.err
>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } >/dev
/null
; then
13414 if test -s conftest.err
; then
13415 ac_cpp_err
=$ac_c_preproc_warn_flag
13416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13423 if test -z "$ac_cpp_err"; then
13424 # Broken: success on invalid input.
13427 echo "$as_me: failed program was:" >&5
13428 sed 's/^/| /' conftest.
$ac_ext >&5
13430 # Passes both tests.
13434 rm -f conftest.err conftest.
$ac_ext
13437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13438 rm -f conftest.err conftest.
$ac_ext
13439 if $ac_preproc_ok; then
13442 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13443 See \`config.log' for more details." >&5
13444 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13445 See \`config.log' for more details." >&2;}
13446 { (exit 1); exit 1; }; }
13450 ac_cpp
='$CPP $CPPFLAGS'
13451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13456 echo "$as_me:$LINENO: checking for egrep" >&5
13457 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13458 if test "${ac_cv_prog_egrep+set}" = set; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13461 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13462 then ac_cv_prog_egrep
='grep -E'
13463 else ac_cv_prog_egrep
='egrep'
13466 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13467 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13468 EGREP
=$ac_cv_prog_egrep
13471 if test $ac_cv_c_compiler_gnu = yes; then
13472 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13473 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13474 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 ac_pattern
="Autoconf.*'x'"
13478 cat >conftest.
$ac_ext <<_ACEOF
13481 cat confdefs.h
>>conftest.
$ac_ext
13482 cat >>conftest.
$ac_ext <<_ACEOF
13483 /* end confdefs.h. */
13487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13488 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13489 ac_cv_prog_gcc_traditional
=yes
13491 ac_cv_prog_gcc_traditional
=no
13496 if test $ac_cv_prog_gcc_traditional = no
; then
13497 cat >conftest.
$ac_ext <<_ACEOF
13500 cat confdefs.h
>>conftest.
$ac_ext
13501 cat >>conftest.
$ac_ext <<_ACEOF
13502 /* end confdefs.h. */
13503 #include <termio.h>
13506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13507 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13508 ac_cv_prog_gcc_traditional
=yes
13514 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13515 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13516 if test $ac_cv_prog_gcc_traditional = yes; then
13517 CC
="$CC -traditional"
13523 ac_cpp
='$CXXCPP $CPPFLAGS'
13524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13529 CXXFLAGS
=${CXXFLAGS:=}
13534 ac_cpp
='$CXXCPP $CPPFLAGS'
13535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13538 if test -n "$ac_tool_prefix"; then
13539 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13542 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13543 echo "$as_me:$LINENO: checking for $ac_word" >&5
13544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13545 if test "${ac_cv_prog_CXX+set}" = set; then
13546 echo $ECHO_N "(cached) $ECHO_C" >&6
13548 if test -n "$CXX"; then
13549 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13552 for as_dir
in $PATH
13555 test -z "$as_dir" && as_dir
=.
13556 for ac_exec_ext
in '' $ac_executable_extensions; do
13557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13558 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13567 CXX
=$ac_cv_prog_CXX
13568 if test -n "$CXX"; then
13569 echo "$as_me:$LINENO: result: $CXX" >&5
13570 echo "${ECHO_T}$CXX" >&6
13572 echo "$as_me:$LINENO: result: no" >&5
13573 echo "${ECHO_T}no" >&6
13576 test -n "$CXX" && break
13579 if test -z "$CXX"; then
13581 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13583 # Extract the first word of "$ac_prog", so it can be a program name with args.
13584 set dummy
$ac_prog; ac_word
=$2
13585 echo "$as_me:$LINENO: checking for $ac_word" >&5
13586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13587 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 if test -n "$ac_ct_CXX"; then
13591 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13594 for as_dir
in $PATH
13597 test -z "$as_dir" && as_dir
=.
13598 for ac_exec_ext
in '' $ac_executable_extensions; do
13599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13600 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13609 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13610 if test -n "$ac_ct_CXX"; then
13611 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13612 echo "${ECHO_T}$ac_ct_CXX" >&6
13614 echo "$as_me:$LINENO: result: no" >&5
13615 echo "${ECHO_T}no" >&6
13618 test -n "$ac_ct_CXX" && break
13620 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13626 # Provide some information about the compiler.
13627 echo "$as_me:$LINENO:" \
13628 "checking for C++ compiler version" >&5
13629 ac_compiler
=`set X $ac_compile; echo $2`
13630 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13631 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }
13635 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13636 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }
13640 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13641 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }
13646 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13647 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13648 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13649 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 cat >conftest.
$ac_ext <<_ACEOF
13654 cat confdefs.h
>>conftest.
$ac_ext
13655 cat >>conftest.
$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13669 rm -f conftest.
$ac_objext
13670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13671 (eval $ac_compile) 2>conftest.er1
13673 grep -v '^ *+' conftest.er1
>conftest.err
13675 cat conftest.err
>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try
='test -z "$ac_cxx_werror_flag"
13679 || test ! -s conftest.err'
13680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13681 (eval $ac_try) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }; } &&
13685 { ac_try
='test -s conftest.$ac_objext'
13686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13687 (eval $ac_try) 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); }; }; then
13691 ac_compiler_gnu
=yes
13693 echo "$as_me: failed program was:" >&5
13694 sed 's/^/| /' conftest.
$ac_ext >&5
13698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13699 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13702 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13703 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13704 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13705 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13706 ac_save_CXXFLAGS
=$CXXFLAGS
13708 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13709 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13710 if test "${ac_cv_prog_cxx_g+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13713 cat >conftest.
$ac_ext <<_ACEOF
13716 cat confdefs.h
>>conftest.
$ac_ext
13717 cat >>conftest.
$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13728 rm -f conftest.
$ac_objext
13729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13730 (eval $ac_compile) 2>conftest.er1
13732 grep -v '^ *+' conftest.er1
>conftest.err
13734 cat conftest.err
>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } &&
13737 { ac_try
='test -z "$ac_cxx_werror_flag"
13738 || test ! -s conftest.err'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; } &&
13744 { ac_try
='test -s conftest.$ac_objext'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; }; then
13750 ac_cv_prog_cxx_g
=yes
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.
$ac_ext >&5
13755 ac_cv_prog_cxx_g
=no
13757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13759 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13760 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13761 if test "$ac_test_CXXFLAGS" = set; then
13762 CXXFLAGS
=$ac_save_CXXFLAGS
13763 elif test $ac_cv_prog_cxx_g = yes; then
13764 if test "$GXX" = yes; then
13770 if test "$GXX" = yes; then
13776 for ac_declaration
in \
13778 'extern "C" void std::exit (int) throw (); using std::exit;' \
13779 'extern "C" void std::exit (int); using std::exit;' \
13780 'extern "C" void exit (int) throw ();' \
13781 'extern "C" void exit (int);' \
13784 cat >conftest.
$ac_ext <<_ACEOF
13787 cat confdefs.h
>>conftest.
$ac_ext
13788 cat >>conftest.
$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13791 #include <stdlib.h>
13800 rm -f conftest.
$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13804 grep -v '^ *+' conftest.er1
>conftest.err
13806 cat conftest.err
>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try
='test -z "$ac_cxx_werror_flag"
13810 || test ! -s conftest.err'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; } &&
13816 { ac_try
='test -s conftest.$ac_objext'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; }; then
13824 echo "$as_me: failed program was:" >&5
13825 sed 's/^/| /' conftest.
$ac_ext >&5
13829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13830 cat >conftest.
$ac_ext <<_ACEOF
13833 cat confdefs.h
>>conftest.
$ac_ext
13834 cat >>conftest.
$ac_ext <<_ACEOF
13835 /* end confdefs.h. */
13845 rm -f conftest.
$ac_objext
13846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13847 (eval $ac_compile) 2>conftest.er1
13849 grep -v '^ *+' conftest.er1
>conftest.err
13851 cat conftest.err
>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } &&
13854 { ac_try
='test -z "$ac_cxx_werror_flag"
13855 || test ! -s conftest.err'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; } &&
13861 { ac_try
='test -s conftest.$ac_objext'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13869 echo "$as_me: failed program was:" >&5
13870 sed 's/^/| /' conftest.
$ac_ext >&5
13873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13876 if test -n "$ac_declaration"; then
13877 echo '#ifdef __cplusplus' >>confdefs.h
13878 echo $ac_declaration >>confdefs.h
13879 echo '#endif' >>confdefs.h
13883 ac_cpp
='$CXXCPP $CPPFLAGS'
13884 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13885 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13886 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13891 ac_cpp
='$CXXCPP $CPPFLAGS'
13892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13896 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13897 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13898 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13899 echo $ECHO_N "(cached) $ECHO_C" >&6
13901 cat >conftest.
$ac_ext <<_ACEOF
13904 cat confdefs.h
>>conftest.
$ac_ext
13905 cat >>conftest.
$ac_ext <<_ACEOF
13906 /* end confdefs.h. */
13912 #ifndef __INTEL_COMPILER
13920 rm -f conftest.
$ac_objext
13921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13922 (eval $ac_compile) 2>conftest.er1
13924 grep -v '^ *+' conftest.er1
>conftest.err
13926 cat conftest.err
>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } &&
13929 { ac_try
='test -z "$ac_cxx_werror_flag"
13930 || test ! -s conftest.err'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; } &&
13936 { ac_try
='test -s conftest.$ac_objext'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; }; then
13942 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13944 echo "$as_me: failed program was:" >&5
13945 sed 's/^/| /' conftest.
$ac_ext >&5
13947 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13954 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13955 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13957 ac_cpp
='$CXXCPP $CPPFLAGS'
13958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13962 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13969 if test "x$GCXX" != "xyes"; then
13970 if test "xCXX" = "xC"; then
13971 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13972 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13973 if test "${bakefile_cv_cxx_exto+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 cat >conftest.
$ac_ext <<_ACEOF
13979 cat confdefs.h
>>conftest.
$ac_ext
13980 cat >>conftest.
$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13991 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13993 (eval $ac_compile) 2>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; then
13997 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13999 conftest.
$ac_ext.o
)
14000 bakefile_cv_cxx_exto
="-ext o"
14007 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14008 See \`config.log' for more details." >&5
14009 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14010 See \`config.log' for more details." >&2;}
14011 { (exit 1); exit 1; }; }
14015 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14018 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14019 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14020 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14021 if test "cxx" = "c"; then
14022 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14024 if test "cxx" = "cxx"; then
14025 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14029 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14030 unset ac_cv_prog_cc_g
14031 ac_test_CFLAGS
=${CFLAGS+set}
14032 ac_save_CFLAGS
=$CFLAGS
14034 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14036 if test "${ac_cv_prog_cc_g+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 cat >conftest.
$ac_ext <<_ACEOF
14042 cat confdefs.h
>>conftest.
$ac_ext
14043 cat >>conftest.
$ac_ext <<_ACEOF
14044 /* end confdefs.h. */
14054 rm -f conftest.
$ac_objext
14055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14056 (eval $ac_compile) 2>conftest.er1
14058 grep -v '^ *+' conftest.er1
>conftest.err
14060 cat conftest.err
>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); } &&
14063 { ac_try
='test -z "$ac_cxx_werror_flag"
14064 || test ! -s conftest.err'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; } &&
14070 { ac_try
='test -s conftest.$ac_objext'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; }; then
14076 ac_cv_prog_cc_g
=yes
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.
$ac_ext >&5
14083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14085 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14086 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14087 if test "$ac_test_CFLAGS" = set; then
14088 CFLAGS
=$ac_save_CFLAGS
14089 elif test $ac_cv_prog_cc_g = yes; then
14090 if test "$GCC" = yes; then
14096 if test "$GCC" = yes; then
14108 ac_cpp
='$CXXCPP $CPPFLAGS'
14109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14113 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14114 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14115 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 cat >conftest.
$ac_ext <<_ACEOF
14121 cat confdefs.h
>>conftest.
$ac_ext
14122 cat >>conftest.
$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14136 rm -f conftest.
$ac_objext
14137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14138 (eval $ac_compile) 2>conftest.er1
14140 grep -v '^ *+' conftest.er1
>conftest.err
14142 cat conftest.err
>&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } &&
14145 { ac_try
='test -z "$ac_cxx_werror_flag"
14146 || test ! -s conftest.err'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; } &&
14152 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14158 bakefile_compiler_xlc
=yes
14160 echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.
$ac_ext >&5
14163 bakefile_compiler_xlc
=no
14165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14166 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14169 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14170 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14172 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14174 ac_cpp
='$CXXCPP $CPPFLAGS'
14175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14184 ac_cpp
='$CXXCPP $CPPFLAGS'
14185 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14186 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14187 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14189 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14190 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14191 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14192 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 cat >conftest.
$ac_ext <<_ACEOF
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14212 rm -f conftest.
$ac_objext
14213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14214 (eval $ac_compile) 2>conftest.er1
14216 grep -v '^ *+' conftest.er1
>conftest.err
14218 cat conftest.err
>&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } &&
14221 { ac_try
='test -z "$ac_cxx_werror_flag"
14222 || test ! -s conftest.err'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; } &&
14228 { ac_try
='test -s conftest.$ac_objext'
14229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14230 (eval $ac_try) 2>&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); }; }; then
14234 bakefile_compiler_mwerks
=yes
14236 echo "$as_me: failed program was:" >&5
14237 sed 's/^/| /' conftest.
$ac_ext >&5
14239 bakefile_compiler_mwerks
=no
14241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14242 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14245 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14246 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14248 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14250 ac_cpp
='$CXXCPP $CPPFLAGS'
14251 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14252 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14253 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14257 ac_cpp
='$CXXCPP $CPPFLAGS'
14258 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14259 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14260 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14262 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14263 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14264 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 cat >conftest.
$ac_ext <<_ACEOF
14270 cat confdefs.h
>>conftest.
$ac_ext
14271 cat >>conftest.
$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14285 rm -f conftest.
$ac_objext
14286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14287 (eval $ac_compile) 2>conftest.er1
14289 grep -v '^ *+' conftest.er1
>conftest.err
14291 cat conftest.err
>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); } &&
14294 { ac_try
='test -z "$ac_cxx_werror_flag"
14295 || test ! -s conftest.err'
14296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14297 (eval $ac_try) 2>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); }; } &&
14301 { ac_try
='test -s conftest.$ac_objext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14307 bakefile_compiler_xlc
=yes
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.
$ac_ext >&5
14312 bakefile_compiler_xlc
=no
14314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14315 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14318 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14319 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14321 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14323 ac_cpp
='$CXXCPP $CPPFLAGS'
14324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14335 ac_cpp
='$CXXCPP $CPPFLAGS'
14336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14340 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14341 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14342 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 cat >conftest.
$ac_ext <<_ACEOF
14348 cat confdefs.h
>>conftest.
$ac_ext
14349 cat >>conftest.
$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14356 #ifndef _SGI_COMPILER_VERSION
14364 rm -f conftest.
$ac_objext
14365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14366 (eval $ac_compile) 2>conftest.er1
14368 grep -v '^ *+' conftest.er1
>conftest.err
14370 cat conftest.err
>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); } &&
14373 { ac_try
='test -z "$ac_cxx_werror_flag"
14374 || test ! -s conftest.err'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; } &&
14380 { ac_try
='test -s conftest.$ac_objext'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; }; then
14386 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.
$ac_ext >&5
14391 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14398 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14399 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14401 ac_cpp
='$CXXCPP $CPPFLAGS'
14402 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14403 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14404 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14406 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14419 ac_cpp
='$CXXCPP $CPPFLAGS'
14420 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14421 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14422 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14424 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14425 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14426 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 cat >conftest.
$ac_ext <<_ACEOF
14432 cat confdefs.h
>>conftest.
$ac_ext
14433 cat >>conftest.
$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14448 rm -f conftest.
$ac_objext
14449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14450 (eval $ac_compile) 2>conftest.er1
14452 grep -v '^ *+' conftest.er1
>conftest.err
14454 cat conftest.err
>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); } &&
14457 { ac_try
='test -z "$ac_cxx_werror_flag"
14458 || test ! -s conftest.err'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); }; } &&
14464 { ac_try
='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 bakefile_cv_cxx_compiler___HP_aCC
=yes
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.
$ac_ext >&5
14475 bakefile_cv_cxx_compiler___HP_aCC
=no
14478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14482 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14483 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14485 ac_cpp
='$CXXCPP $CPPFLAGS'
14486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14490 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14503 ac_cpp
='$CXXCPP $CPPFLAGS'
14504 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14505 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14506 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14508 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14509 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14510 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14513 cat >conftest.
$ac_ext <<_ACEOF
14516 cat confdefs.h
>>conftest.
$ac_ext
14517 cat >>conftest.
$ac_ext <<_ACEOF
14518 /* end confdefs.h. */
14532 rm -f conftest.
$ac_objext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14534 (eval $ac_compile) 2>conftest.er1
14536 grep -v '^ *+' conftest.er1
>conftest.err
14538 cat conftest.err
>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try
='test -z "$ac_cxx_werror_flag"
14542 || test ! -s conftest.err'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; } &&
14548 { ac_try
='test -s conftest.$ac_objext'
14549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14550 (eval $ac_try) 2>&5
14552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); }; }; then
14554 bakefile_cv_cxx_compiler___DECCXX
=yes
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.
$ac_ext >&5
14559 bakefile_cv_cxx_compiler___DECCXX
=no
14562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14566 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14567 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14569 ac_cpp
='$CXXCPP $CPPFLAGS'
14570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14574 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14587 ac_cpp
='$CXXCPP $CPPFLAGS'
14588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14592 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14593 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14594 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14595 echo $ECHO_N "(cached) $ECHO_C" >&6
14597 cat >conftest.
$ac_ext <<_ACEOF
14600 cat confdefs.h
>>conftest.
$ac_ext
14601 cat >>conftest.
$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14608 #ifndef __SUNPRO_CC
14616 rm -f conftest.
$ac_objext
14617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14618 (eval $ac_compile) 2>conftest.er1
14620 grep -v '^ *+' conftest.er1
>conftest.err
14622 cat conftest.err
>&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try
='test -z "$ac_cxx_werror_flag"
14626 || test ! -s conftest.err'
14627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14628 (eval $ac_try) 2>&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); }; } &&
14632 { ac_try
='test -s conftest.$ac_objext'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; }; then
14638 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.
$ac_ext >&5
14643 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14650 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14651 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14653 ac_cpp
='$CXXCPP $CPPFLAGS'
14654 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14655 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14656 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14658 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14671 if test -n "$ac_tool_prefix"; then
14672 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14673 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14674 echo "$as_me:$LINENO: checking for $ac_word" >&5
14675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14676 if test "${ac_cv_prog_RANLIB+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14679 if test -n "$RANLIB"; then
14680 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14683 for as_dir
in $PATH
14686 test -z "$as_dir" && as_dir
=.
14687 for ac_exec_ext
in '' $ac_executable_extensions; do
14688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14689 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14698 RANLIB
=$ac_cv_prog_RANLIB
14699 if test -n "$RANLIB"; then
14700 echo "$as_me:$LINENO: result: $RANLIB" >&5
14701 echo "${ECHO_T}$RANLIB" >&6
14703 echo "$as_me:$LINENO: result: no" >&5
14704 echo "${ECHO_T}no" >&6
14708 if test -z "$ac_cv_prog_RANLIB"; then
14709 ac_ct_RANLIB
=$RANLIB
14710 # Extract the first word of "ranlib", so it can be a program name with args.
14711 set dummy ranlib
; ac_word
=$2
14712 echo "$as_me:$LINENO: checking for $ac_word" >&5
14713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14714 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14715 echo $ECHO_N "(cached) $ECHO_C" >&6
14717 if test -n "$ac_ct_RANLIB"; then
14718 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14721 for as_dir
in $PATH
14724 test -z "$as_dir" && as_dir
=.
14725 for ac_exec_ext
in '' $ac_executable_extensions; do
14726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14727 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14734 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14737 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14738 if test -n "$ac_ct_RANLIB"; then
14739 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14740 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14742 echo "$as_me:$LINENO: result: no" >&5
14743 echo "${ECHO_T}no" >&6
14746 RANLIB
=$ac_ct_RANLIB
14748 RANLIB
="$ac_cv_prog_RANLIB"
14752 if test -n "$ac_tool_prefix"; then
14753 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14754 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14755 echo "$as_me:$LINENO: checking for $ac_word" >&5
14756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14757 if test "${ac_cv_prog_AR+set}" = set; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 if test -n "$AR"; then
14761 ac_cv_prog_AR
="$AR" # Let the user override the test.
14763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14764 for as_dir
in $PATH
14767 test -z "$as_dir" && as_dir
=.
14768 for ac_exec_ext
in '' $ac_executable_extensions; do
14769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14770 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14780 if test -n "$AR"; then
14781 echo "$as_me:$LINENO: result: $AR" >&5
14782 echo "${ECHO_T}$AR" >&6
14784 echo "$as_me:$LINENO: result: no" >&5
14785 echo "${ECHO_T}no" >&6
14789 if test -z "$ac_cv_prog_AR"; then
14791 # Extract the first word of "ar", so it can be a program name with args.
14792 set dummy
ar; ac_word
=$2
14793 echo "$as_me:$LINENO: checking for $ac_word" >&5
14794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14795 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14796 echo $ECHO_N "(cached) $ECHO_C" >&6
14798 if test -n "$ac_ct_AR"; then
14799 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14802 for as_dir
in $PATH
14805 test -z "$as_dir" && as_dir
=.
14806 for ac_exec_ext
in '' $ac_executable_extensions; do
14807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14808 ac_cv_prog_ac_ct_AR
="ar"
14809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14817 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14818 if test -n "$ac_ct_AR"; then
14819 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14820 echo "${ECHO_T}$ac_ct_AR" >&6
14822 echo "$as_me:$LINENO: result: no" >&5
14823 echo "${ECHO_T}no" >&6
14828 AR
="$ac_cv_prog_AR"
14831 if test "x$AR" = "x" ; then
14832 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14833 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14834 { (exit 1); exit 1; }; }
14837 # Find a good install program. We prefer a C program (faster),
14838 # so one script is as good as another. But avoid the broken or
14839 # incompatible versions:
14840 # SysV /etc/install, /usr/sbin/install
14841 # SunOS /usr/etc/install
14842 # IRIX /sbin/install
14844 # AmigaOS /C/install, which installs bootblocks on floppy discs
14845 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14846 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14847 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14848 # OS/2's system install, which has a completely different semantic
14849 # ./install, which can be erroneously created by make from ./install.sh.
14850 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14851 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14852 if test -z "$INSTALL"; then
14853 if test "${ac_cv_path_install+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14857 for as_dir
in $PATH
14860 test -z "$as_dir" && as_dir
=.
14861 # Account for people who put trailing slashes in PATH elements.
14863 .
/ | .
// | /cC
/* | \
14864 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14865 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14868 # OSF1 and SCO ODT 3.0 have their own names for install.
14869 # Don't use installbsd from OSF since it installs stuff as root
14871 for ac_prog
in ginstall scoinst
install; do
14872 for ac_exec_ext
in '' $ac_executable_extensions; do
14873 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14874 if test $ac_prog = install &&
14875 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14876 # AIX install. It has an incompatible calling convention.
14878 elif test $ac_prog = install &&
14879 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14880 # program-specific install script used by HP pwplus--don't use.
14883 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14895 if test "${ac_cv_path_install+set}" = set; then
14896 INSTALL
=$ac_cv_path_install
14898 # As a last resort, use the slow shell script. We don't cache a
14899 # path for INSTALL within a source directory, because that will
14900 # break other packages using the cache if that directory is
14901 # removed, or if the path is relative.
14902 INSTALL
=$ac_install_sh
14905 echo "$as_me:$LINENO: result: $INSTALL" >&5
14906 echo "${ECHO_T}$INSTALL" >&6
14908 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14909 # It thinks the first close brace ends the variable substitution.
14910 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14912 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14914 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14920 ?
:* ) # Drive letter, considered as absolute.
14923 INSTALL
=`pwd`/${INSTALL} ;;
14930 INSTALL_PROGRAM
="cp -fp"
14931 INSTALL_DATA
="cp -fp"
14937 if test -n "$ac_tool_prefix"; then
14938 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14939 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14940 echo "$as_me:$LINENO: checking for $ac_word" >&5
14941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14942 if test "${ac_cv_prog_STRIP+set}" = set; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 if test -n "$STRIP"; then
14946 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14949 for as_dir
in $PATH
14952 test -z "$as_dir" && as_dir
=.
14953 for ac_exec_ext
in '' $ac_executable_extensions; do
14954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14955 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14964 STRIP
=$ac_cv_prog_STRIP
14965 if test -n "$STRIP"; then
14966 echo "$as_me:$LINENO: result: $STRIP" >&5
14967 echo "${ECHO_T}$STRIP" >&6
14969 echo "$as_me:$LINENO: result: no" >&5
14970 echo "${ECHO_T}no" >&6
14974 if test -z "$ac_cv_prog_STRIP"; then
14976 # Extract the first word of "strip", so it can be a program name with args.
14977 set dummy strip
; ac_word
=$2
14978 echo "$as_me:$LINENO: checking for $ac_word" >&5
14979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14980 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14981 echo $ECHO_N "(cached) $ECHO_C" >&6
14983 if test -n "$ac_ct_STRIP"; then
14984 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14987 for as_dir
in $PATH
14990 test -z "$as_dir" && as_dir
=.
14991 for ac_exec_ext
in '' $ac_executable_extensions; do
14992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14993 ac_cv_prog_ac_ct_STRIP
="strip"
14994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15000 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15003 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15004 if test -n "$ac_ct_STRIP"; then
15005 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15006 echo "${ECHO_T}$ac_ct_STRIP" >&6
15008 echo "$as_me:$LINENO: result: no" >&5
15009 echo "${ECHO_T}no" >&6
15014 STRIP
="$ac_cv_prog_STRIP"
15018 if test "$wxUSE_WINE" = "yes"; then
15019 if test -n "$ac_tool_prefix"; then
15020 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15021 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15022 echo "$as_me:$LINENO: checking for $ac_word" >&5
15023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15024 if test "${ac_cv_prog_WINDRES+set}" = set; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15027 if test -n "$WINDRES"; then
15028 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15031 for as_dir
in $PATH
15034 test -z "$as_dir" && as_dir
=.
15035 for ac_exec_ext
in '' $ac_executable_extensions; do
15036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15037 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15046 WINDRES
=$ac_cv_prog_WINDRES
15047 if test -n "$WINDRES"; then
15048 echo "$as_me:$LINENO: result: $WINDRES" >&5
15049 echo "${ECHO_T}$WINDRES" >&6
15051 echo "$as_me:$LINENO: result: no" >&5
15052 echo "${ECHO_T}no" >&6
15056 if test -z "$ac_cv_prog_WINDRES"; then
15057 ac_ct_WINDRES
=$WINDRES
15058 # Extract the first word of "wrc", so it can be a program name with args.
15059 set dummy wrc
; ac_word
=$2
15060 echo "$as_me:$LINENO: checking for $ac_word" >&5
15061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15062 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15063 echo $ECHO_N "(cached) $ECHO_C" >&6
15065 if test -n "$ac_ct_WINDRES"; then
15066 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15069 for as_dir
in $PATH
15072 test -z "$as_dir" && as_dir
=.
15073 for ac_exec_ext
in '' $ac_executable_extensions; do
15074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15075 ac_cv_prog_ac_ct_WINDRES
="wrc"
15076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15084 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15085 if test -n "$ac_ct_WINDRES"; then
15086 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15087 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15089 echo "$as_me:$LINENO: result: no" >&5
15090 echo "${ECHO_T}no" >&6
15093 WINDRES
=$ac_ct_WINDRES
15095 WINDRES
="$ac_cv_prog_WINDRES"
15101 *-*-cygwin* | *-*-mingw32* )
15102 if test -n "$ac_tool_prefix"; then
15103 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15104 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15105 echo "$as_me:$LINENO: checking for $ac_word" >&5
15106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15107 if test "${ac_cv_prog_WINDRES+set}" = set; then
15108 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 if test -n "$WINDRES"; then
15111 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15114 for as_dir
in $PATH
15117 test -z "$as_dir" && as_dir
=.
15118 for ac_exec_ext
in '' $ac_executable_extensions; do
15119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15120 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15129 WINDRES
=$ac_cv_prog_WINDRES
15130 if test -n "$WINDRES"; then
15131 echo "$as_me:$LINENO: result: $WINDRES" >&5
15132 echo "${ECHO_T}$WINDRES" >&6
15134 echo "$as_me:$LINENO: result: no" >&5
15135 echo "${ECHO_T}no" >&6
15139 if test -z "$ac_cv_prog_WINDRES"; then
15140 ac_ct_WINDRES
=$WINDRES
15141 # Extract the first word of "windres", so it can be a program name with args.
15142 set dummy windres
; ac_word
=$2
15143 echo "$as_me:$LINENO: checking for $ac_word" >&5
15144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15145 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 if test -n "$ac_ct_WINDRES"; then
15149 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15152 for as_dir
in $PATH
15155 test -z "$as_dir" && as_dir
=.
15156 for ac_exec_ext
in '' $ac_executable_extensions; do
15157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15158 ac_cv_prog_ac_ct_WINDRES
="windres"
15159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15167 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15168 if test -n "$ac_ct_WINDRES"; then
15169 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15170 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15172 echo "$as_me:$LINENO: result: no" >&5
15173 echo "${ECHO_T}no" >&6
15176 WINDRES
=$ac_ct_WINDRES
15178 WINDRES
="$ac_cv_prog_WINDRES"
15182 if test -n "$ac_tool_prefix"; then
15183 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15184 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15185 echo "$as_me:$LINENO: checking for $ac_word" >&5
15186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15187 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15188 echo $ECHO_N "(cached) $ECHO_C" >&6
15190 if test -n "$DLLTOOL"; then
15191 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15194 for as_dir
in $PATH
15197 test -z "$as_dir" && as_dir
=.
15198 for ac_exec_ext
in '' $ac_executable_extensions; do
15199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15200 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15209 DLLTOOL
=$ac_cv_prog_DLLTOOL
15210 if test -n "$DLLTOOL"; then
15211 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15212 echo "${ECHO_T}$DLLTOOL" >&6
15214 echo "$as_me:$LINENO: result: no" >&5
15215 echo "${ECHO_T}no" >&6
15219 if test -z "$ac_cv_prog_DLLTOOL"; then
15220 ac_ct_DLLTOOL
=$DLLTOOL
15221 # Extract the first word of "dlltool", so it can be a program name with args.
15222 set dummy dlltool
; ac_word
=$2
15223 echo "$as_me:$LINENO: checking for $ac_word" >&5
15224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15225 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 if test -n "$ac_ct_DLLTOOL"; then
15229 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15232 for as_dir
in $PATH
15235 test -z "$as_dir" && as_dir
=.
15236 for ac_exec_ext
in '' $ac_executable_extensions; do
15237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15238 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15247 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15248 if test -n "$ac_ct_DLLTOOL"; then
15249 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15250 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15252 echo "$as_me:$LINENO: result: no" >&5
15253 echo "${ECHO_T}no" >&6
15256 DLLTOOL
=$ac_ct_DLLTOOL
15258 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15265 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15266 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15267 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15272 egrep -s GNU
> /dev
/null
); then
15273 wx_cv_prog_makeisgnu
="yes"
15275 wx_cv_prog_makeisgnu
="no"
15279 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15280 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15282 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15290 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15291 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15292 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15293 if test "${wx_cv_prog_makevpath+set}" = set; then
15294 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 cat - << EOF > confMake
15303 if test ! -d sub
; then
15306 echo dummy
> sub
/file
15307 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15309 rm -f sub
/file check final_file confMake
15311 if test "$RESULT" = 0; then
15312 wx_cv_prog_makevpath
="yes"
15314 wx_cv_prog_makevpath
="no"
15318 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15319 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15321 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15322 { { echo "$as_me:$LINENO: error:
15323 You need a make-utility that is able to use the variable
15325 If your version of make does not support VPATH correctly,
15326 please install GNU-make (possibly as gmake), and start
15327 configure with the following command:
15328 export MAKE=gmake; ./configure for sh-type shells
15329 setenv MAKE gmake; ./configure for csh-type shells
15330 Also please do remember to use gmake in this case every time
15331 you are trying to compile.
15333 echo "$as_me: error:
15334 You need a make-utility that is able to use the variable
15336 If your version of make does not support VPATH correctly,
15337 please install GNU-make (possibly as gmake), and start
15338 configure with the following command:
15339 export MAKE=gmake; ./configure for sh-type shells
15340 setenv MAKE gmake; ./configure for csh-type shells
15341 Also please do remember to use gmake in this case every time
15342 you are trying to compile.
15344 { (exit 1); exit 1; }; }
15346 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15347 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15349 if test "$LN_S" = "ln -s"; then
15350 echo "$as_me:$LINENO: result: yes" >&5
15351 echo "${ECHO_T}yes" >&6
15353 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15354 echo "${ECHO_T}no, using $LN_S" >&6
15360 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15361 CXXFLAGS
="-qunique $CXXFLAGS"
15365 powerpc
-*-darwin* )
15366 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15367 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15368 cat >conftest.
$ac_ext <<_ACEOF
15371 cat confdefs.h
>>conftest.
$ac_ext
15372 cat >>conftest.
$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15378 #ifndef __POWERPC__
15379 choke me for lack of PowerPC
15386 rm -f conftest.
$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>conftest.er1
15390 grep -v '^ *+' conftest.er1
>conftest.err
15392 cat conftest.err
>&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try
='test -z "$ac_cxx_werror_flag"
15396 || test ! -s conftest.err'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; } &&
15402 { ac_try
='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 echo "$as_me:$LINENO: result: yes" >&5
15409 echo "${ECHO_T}yes" >&6
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.
$ac_ext >&5
15414 echo "$as_me:$LINENO: result: no" >&5
15415 echo "${ECHO_T}no" >&6
15416 cat >>confdefs.h
<<\_ACEOF
15417 #define __POWERPC__ 1
15422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15428 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15429 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15430 cat >conftest.
$ac_ext <<_ACEOF
15433 cat confdefs.h
>>conftest.
$ac_ext
15434 cat >>conftest.
$ac_ext <<_ACEOF
15435 /* end confdefs.h. */
15436 #include <CoreFoundation/CFBase.h>
15446 rm -f conftest.
$ac_objext
15447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15448 (eval $ac_compile) 2>conftest.er1
15450 grep -v '^ *+' conftest.er1
>conftest.err
15452 cat conftest.err
>&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); } &&
15455 { ac_try
='test -z "$ac_cxx_werror_flag"
15456 || test ! -s conftest.err'
15457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458 (eval $ac_try) 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; } &&
15462 { ac_try
='test -s conftest.$ac_objext'
15463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15464 (eval $ac_try) 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; }; then
15468 echo "$as_me:$LINENO: result: yes" >&5
15469 echo "${ECHO_T}yes" >&6
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.
$ac_ext >&5
15474 echo "$as_me:$LINENO: result: no" >&5
15475 echo "${ECHO_T}no" >&6
15476 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15477 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15478 cat >conftest.
$ac_ext <<_ACEOF
15481 cat confdefs.h
>>conftest.
$ac_ext
15482 cat >>conftest.
$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484 #define __CF_USE_FRAMEWORK_INCLUDES__
15485 #include <CoreFoundation/CFBase.h>
15495 rm -f conftest.
$ac_objext
15496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15497 (eval $ac_compile) 2>conftest.er1
15499 grep -v '^ *+' conftest.er1
>conftest.err
15501 cat conftest.err
>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try
='test -z "$ac_cxx_werror_flag"
15505 || test ! -s conftest.err'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; } &&
15511 { ac_try
='test -s conftest.$ac_objext'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; }; then
15517 echo "$as_me:$LINENO: result: yes" >&5
15518 echo "${ECHO_T}yes" >&6
15519 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.
$ac_ext >&5
15524 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15525 See \`config.log' for more details." >&5
15526 echo "$as_me: error: no. CoreFoundation not available.
15527 See \`config.log' for more details." >&2;}
15528 { (exit 1); exit 1; }; }
15531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15540 *-pc-os2_emx | *-pc-os2-emx )
15542 ac_cpp
='$CPP $CPPFLAGS'
15543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15547 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15548 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15549 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15550 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15553 ac_check_lib_save_LIBS
=$LIBS
15554 LIBS
="-lcExt $LIBS"
15555 cat >conftest.
$ac_ext <<_ACEOF
15558 cat confdefs.h
>>conftest.
$ac_ext
15559 cat >>conftest.
$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15562 /* Override any gcc2 internal prototype to avoid an error. */
15566 /* We use char because int might match the return type of a gcc2
15567 builtin and then its argument prototype would still apply. */
15577 rm -f conftest.
$ac_objext conftest
$ac_exeext
15578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15579 (eval $ac_link) 2>conftest.er1
15581 grep -v '^ *+' conftest.er1
>conftest.err
15583 cat conftest.err
>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); } &&
15586 { ac_try
='test -z "$ac_c_werror_flag"
15587 || test ! -s conftest.err'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; } &&
15593 { ac_try
='test -s conftest$ac_exeext'
15594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15595 (eval $ac_try) 2>&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); }; }; then
15599 ac_cv_lib_cExt_drand48
=yes
15601 echo "$as_me: failed program was:" >&5
15602 sed 's/^/| /' conftest.
$ac_ext >&5
15604 ac_cv_lib_cExt_drand48
=no
15606 rm -f conftest.err conftest.
$ac_objext \
15607 conftest
$ac_exeext conftest.
$ac_ext
15608 LIBS
=$ac_check_lib_save_LIBS
15610 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15611 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15612 if test $ac_cv_lib_cExt_drand48 = yes; then
15613 LIBS
="$LIBS -lcExt"
15617 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15619 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15620 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15621 if test "${wx_cv_gccversion+set}" = set; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 if test "$cross_compiling" = yes; then
15626 wx_cv_gccversion
="EMX2"
15629 cat >conftest.
$ac_ext <<_ACEOF
15632 cat confdefs.h
>>conftest.
$ac_ext
15633 cat >>conftest.
$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15640 FILE *f=fopen("conftestval", "w");
15645 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15647 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15657 rm -f conftest
$ac_exeext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15659 (eval $ac_link) 2>&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; }; then
15668 wx_cv_gccversion
=`cat conftestval`
15670 echo "$as_me: program exited with status $ac_status" >&5
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.
$ac_ext >&5
15674 ( exit $ac_status )
15675 wx_cv_gccversion
="EMX2"
15677 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15681 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15682 echo "${ECHO_T}$wx_cv_gccversion" >&6
15684 ac_cpp
='$CXXCPP $CPPFLAGS'
15685 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15689 if test "$wx_cv_gccversion" = "EMX2"; then
15690 LIBS
="$LIBS -lstdcpp"
15691 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15693 if test "$wx_cv_gccversion" = "EMX3"; then
15694 LIBS
="$LIBS -lstdcxx -lgcc"
15695 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15697 LIBS
="$LIBS -lstdc++"
15700 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15701 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15702 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15709 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15710 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15711 if test "${ac_cv_string_strcasecmp+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 cat >conftest.
$ac_ext <<_ACEOF
15718 cat confdefs.h
>>conftest.
$ac_ext
15719 cat >>conftest.
$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15722 #include <string.h>
15728 strcasecmp("foo", "bar");
15734 rm -f conftest.
$ac_objext conftest
$ac_exeext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15736 (eval $ac_link) 2>conftest.er1
15738 grep -v '^ *+' conftest.er1
>conftest.err
15740 cat conftest.err
>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } &&
15743 { ac_try
='test -z "$ac_cxx_werror_flag"
15744 || test ! -s conftest.err'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; } &&
15750 { ac_try
='test -s conftest$ac_exeext'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; }; then
15756 ac_cv_string_strcasecmp
=yes
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.
$ac_ext >&5
15761 ac_cv_string_strcasecmp
=no
15764 rm -f conftest.err conftest.
$ac_objext \
15765 conftest
$ac_exeext conftest.
$ac_ext
15768 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15769 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15771 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15772 cat >>confdefs.h
<<\_ACEOF
15773 #define HAVE_STRCASECMP_IN_STRING_H 1
15777 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15778 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15779 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15780 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 cat >conftest.
$ac_ext <<_ACEOF
15786 cat confdefs.h
>>conftest.
$ac_ext
15787 cat >>conftest.
$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15790 #include <strings.h>
15796 strcasecmp("foo", "bar");
15802 rm -f conftest.
$ac_objext conftest
$ac_exeext
15803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15804 (eval $ac_link) 2>conftest.er1
15806 grep -v '^ *+' conftest.er1
>conftest.err
15808 cat conftest.err
>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } &&
15811 { ac_try
='test -z "$ac_cxx_werror_flag"
15812 || test ! -s conftest.err'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; } &&
15818 { ac_try
='test -s conftest$ac_exeext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15824 ac_cv_strings_strcasecmp
=yes
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 ac_cv_strings_strcasecmp
=no
15832 rm -f conftest.err conftest.
$ac_objext \
15833 conftest
$ac_exeext conftest.
$ac_ext
15836 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15837 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15839 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15840 cat >>confdefs.h
<<\_ACEOF
15841 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15845 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15846 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15847 { (exit 1); exit 1; }; }
15856 ac_cpp
='$CXXCPP $CPPFLAGS'
15857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15860 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15861 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15862 if test -z "$CXXCPP"; then
15863 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 # Double quotes because CXXCPP needs to be expanded
15867 for CXXCPP
in "$CXX -E" "/lib/cpp"
15869 ac_preproc_ok
=false
15870 for ac_cxx_preproc_warn_flag
in '' yes
15872 # Use a header file that comes with gcc, so configuring glibc
15873 # with a fresh cross-compiler works.
15874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15875 # <limits.h> exists even on freestanding compilers.
15876 # On the NeXT, cc -E runs the code through the compiler's parser,
15877 # not just through cpp. "Syntax error" is here to catch this case.
15878 cat >conftest.
$ac_ext <<_ACEOF
15881 cat confdefs.h
>>conftest.
$ac_ext
15882 cat >>conftest.
$ac_ext <<_ACEOF
15883 /* end confdefs.h. */
15885 # include <limits.h>
15887 # include <assert.h>
15891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15892 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15894 grep -v '^ *+' conftest.er1
>conftest.err
15896 cat conftest.err
>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } >/dev
/null
; then
15899 if test -s conftest.err
; then
15900 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15901 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15908 if test -z "$ac_cpp_err"; then
15911 echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.
$ac_ext >&5
15914 # Broken: fails on valid input.
15917 rm -f conftest.err conftest.
$ac_ext
15919 # OK, works on sane cases. Now check whether non-existent headers
15920 # can be detected and how.
15921 cat >conftest.
$ac_ext <<_ACEOF
15924 cat confdefs.h
>>conftest.
$ac_ext
15925 cat >>conftest.
$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927 #include <ac_nonexistent.h>
15929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15930 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15932 grep -v '^ *+' conftest.er1
>conftest.err
15934 cat conftest.err
>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } >/dev
/null
; then
15937 if test -s conftest.err
; then
15938 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15939 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15946 if test -z "$ac_cpp_err"; then
15947 # Broken: success on invalid input.
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.
$ac_ext >&5
15953 # Passes both tests.
15957 rm -f conftest.err conftest.
$ac_ext
15960 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15961 rm -f conftest.err conftest.
$ac_ext
15962 if $ac_preproc_ok; then
15967 ac_cv_prog_CXXCPP
=$CXXCPP
15970 CXXCPP
=$ac_cv_prog_CXXCPP
15972 ac_cv_prog_CXXCPP
=$CXXCPP
15974 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15975 echo "${ECHO_T}$CXXCPP" >&6
15976 ac_preproc_ok
=false
15977 for ac_cxx_preproc_warn_flag
in '' yes
15979 # Use a header file that comes with gcc, so configuring glibc
15980 # with a fresh cross-compiler works.
15981 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15982 # <limits.h> exists even on freestanding compilers.
15983 # On the NeXT, cc -E runs the code through the compiler's parser,
15984 # not just through cpp. "Syntax error" is here to catch this case.
15985 cat >conftest.
$ac_ext <<_ACEOF
15988 cat confdefs.h
>>conftest.
$ac_ext
15989 cat >>conftest.
$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
15992 # include <limits.h>
15994 # include <assert.h>
15998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16001 grep -v '^ *+' conftest.er1
>conftest.err
16003 cat conftest.err
>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } >/dev
/null
; then
16006 if test -s conftest.err
; then
16007 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16008 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16015 if test -z "$ac_cpp_err"; then
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.
$ac_ext >&5
16021 # Broken: fails on valid input.
16024 rm -f conftest.err conftest.
$ac_ext
16026 # OK, works on sane cases. Now check whether non-existent headers
16027 # can be detected and how.
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034 #include <ac_nonexistent.h>
16036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16037 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16039 grep -v '^ *+' conftest.er1
>conftest.err
16041 cat conftest.err
>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } >/dev
/null
; then
16044 if test -s conftest.err
; then
16045 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16046 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16053 if test -z "$ac_cpp_err"; then
16054 # Broken: success on invalid input.
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.
$ac_ext >&5
16060 # Passes both tests.
16064 rm -f conftest.err conftest.
$ac_ext
16067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16068 rm -f conftest.err conftest.
$ac_ext
16069 if $ac_preproc_ok; then
16072 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16073 See \`config.log' for more details." >&5
16074 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16075 See \`config.log' for more details." >&2;}
16076 { (exit 1); exit 1; }; }
16080 ac_cpp
='$CXXCPP $CPPFLAGS'
16081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16086 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16087 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16088 if test "${ac_cv_header_stdc+set}" = set; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 #include <stdlib.h>
16098 #include <stdarg.h>
16099 #include <string.h>
16110 rm -f conftest.
$ac_objext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16112 (eval $ac_compile) 2>conftest.er1
16114 grep -v '^ *+' conftest.er1
>conftest.err
16116 cat conftest.err
>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try
='test -z "$ac_cxx_werror_flag"
16120 || test ! -s conftest.err'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; } &&
16126 { ac_try
='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 ac_cv_header_stdc
=yes
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.
$ac_ext >&5
16137 ac_cv_header_stdc
=no
16139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16141 if test $ac_cv_header_stdc = yes; then
16142 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16143 cat >conftest.
$ac_ext <<_ACEOF
16146 cat confdefs.h
>>conftest.
$ac_ext
16147 cat >>conftest.
$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16149 #include <string.h>
16152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16153 $EGREP "memchr" >/dev
/null
2>&1; then
16156 ac_cv_header_stdc
=no
16162 if test $ac_cv_header_stdc = yes; then
16163 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16164 cat >conftest.
$ac_ext <<_ACEOF
16167 cat confdefs.h
>>conftest.
$ac_ext
16168 cat >>conftest.
$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170 #include <stdlib.h>
16173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16174 $EGREP "free" >/dev
/null
2>&1; then
16177 ac_cv_header_stdc
=no
16183 if test $ac_cv_header_stdc = yes; then
16184 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16185 if test "$cross_compiling" = yes; then
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16195 #if ((' ' & 0x0FF) == 0x020)
16196 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16197 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16199 # define ISLOWER(c) \
16200 (('a' <= (c) && (c) <= 'i') \
16201 || ('j' <= (c) && (c) <= 'r') \
16202 || ('s' <= (c) && (c) <= 'z'))
16203 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16211 for (i = 0; i < 256; i++)
16212 if (XOR (islower (i), ISLOWER (i))
16213 || toupper (i) != TOUPPER (i))
16218 rm -f conftest
$ac_exeext
16219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16220 (eval $ac_link) 2>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; }; then
16231 echo "$as_me: program exited with status $ac_status" >&5
16232 echo "$as_me: failed program was:" >&5
16233 sed 's/^/| /' conftest.
$ac_ext >&5
16235 ( exit $ac_status )
16236 ac_cv_header_stdc
=no
16238 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16242 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16243 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16244 if test $ac_cv_header_stdc = yes; then
16246 cat >>confdefs.h
<<\_ACEOF
16247 #define STDC_HEADERS 1
16252 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16262 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16263 inttypes.h stdint.h unistd.h
16265 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16266 echo "$as_me:$LINENO: checking for $ac_header" >&5
16267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16271 cat >conftest.
$ac_ext <<_ACEOF
16274 cat confdefs.h
>>conftest.
$ac_ext
16275 cat >>conftest.
$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 $ac_includes_default
16279 #include <$ac_header>
16281 rm -f conftest.
$ac_objext
16282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16283 (eval $ac_compile) 2>conftest.er1
16285 grep -v '^ *+' conftest.er1
>conftest.err
16287 cat conftest.err
>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } &&
16290 { ac_try
='test -z "$ac_cxx_werror_flag"
16291 || test ! -s conftest.err'
16292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16293 (eval $ac_try) 2>&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); }; } &&
16297 { ac_try
='test -s conftest.$ac_objext'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; }; then
16303 eval "$as_ac_Header=yes"
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.
$ac_ext >&5
16308 eval "$as_ac_Header=no"
16310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16315 cat >>confdefs.h
<<_ACEOF
16316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16325 for ac_header
in stdlib.h
16327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16329 echo "$as_me:$LINENO: checking for $ac_header" >&5
16330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16332 echo $ECHO_N "(cached) $ECHO_C" >&6
16334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16337 # Is the header compilable?
16338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16340 cat >conftest.
$ac_ext <<_ACEOF
16343 cat confdefs.h
>>conftest.
$ac_ext
16344 cat >>conftest.
$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16346 $ac_includes_default
16347 #include <$ac_header>
16349 rm -f conftest.
$ac_objext
16350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16351 (eval $ac_compile) 2>conftest.er1
16353 grep -v '^ *+' conftest.er1
>conftest.err
16355 cat conftest.err
>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); } &&
16358 { ac_try
='test -z "$ac_cxx_werror_flag"
16359 || test ! -s conftest.err'
16360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361 (eval $ac_try) 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }; } &&
16365 { ac_try
='test -s conftest.$ac_objext'
16366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367 (eval $ac_try) 2>&5
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); }; }; then
16371 ac_header_compiler
=yes
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.
$ac_ext >&5
16376 ac_header_compiler
=no
16378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16380 echo "${ECHO_T}$ac_header_compiler" >&6
16382 # Is the header present?
16383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16385 cat >conftest.
$ac_ext <<_ACEOF
16388 cat confdefs.h
>>conftest.
$ac_ext
16389 cat >>conftest.
$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16391 #include <$ac_header>
16393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16396 grep -v '^ *+' conftest.er1
>conftest.err
16398 cat conftest.err
>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); } >/dev
/null
; then
16401 if test -s conftest.err
; then
16402 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16403 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16410 if test -z "$ac_cpp_err"; then
16411 ac_header_preproc
=yes
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.
$ac_ext >&5
16416 ac_header_preproc
=no
16418 rm -f conftest.err conftest.
$ac_ext
16419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16420 echo "${ECHO_T}$ac_header_preproc" >&6
16422 # So? What about this header?
16423 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16429 ac_header_preproc
=yes
16432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16446 ## ----------------------------------------- ##
16447 ## Report this to wx-dev@lists.wxwidgets.org ##
16448 ## ----------------------------------------- ##
16451 sed "s/^/$as_me: WARNING: /" >&2
16454 echo "$as_me:$LINENO: checking for $ac_header" >&5
16455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16457 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 eval "$as_ac_Header=\$ac_header_preproc"
16461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16466 cat >>confdefs.h
<<_ACEOF
16467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16475 for ac_header
in malloc.h
16477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16479 echo "$as_me:$LINENO: checking for $ac_header" >&5
16480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16482 echo $ECHO_N "(cached) $ECHO_C" >&6
16484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16487 # Is the header compilable?
16488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16490 cat >conftest.
$ac_ext <<_ACEOF
16493 cat confdefs.h
>>conftest.
$ac_ext
16494 cat >>conftest.
$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 $ac_includes_default
16497 #include <$ac_header>
16499 rm -f conftest.
$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16503 grep -v '^ *+' conftest.er1
>conftest.err
16505 cat conftest.err
>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try
='test -z "$ac_cxx_werror_flag"
16509 || test ! -s conftest.err'
16510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16511 (eval $ac_try) 2>&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); }; } &&
16515 { ac_try
='test -s conftest.$ac_objext'
16516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517 (eval $ac_try) 2>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); }; }; then
16521 ac_header_compiler
=yes
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.
$ac_ext >&5
16526 ac_header_compiler
=no
16528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16530 echo "${ECHO_T}$ac_header_compiler" >&6
16532 # Is the header present?
16533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16535 cat >conftest.
$ac_ext <<_ACEOF
16538 cat confdefs.h
>>conftest.
$ac_ext
16539 cat >>conftest.
$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541 #include <$ac_header>
16543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16546 grep -v '^ *+' conftest.er1
>conftest.err
16548 cat conftest.err
>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } >/dev
/null
; then
16551 if test -s conftest.err
; then
16552 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16553 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16560 if test -z "$ac_cpp_err"; then
16561 ac_header_preproc
=yes
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.
$ac_ext >&5
16566 ac_header_preproc
=no
16568 rm -f conftest.err conftest.
$ac_ext
16569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16570 echo "${ECHO_T}$ac_header_preproc" >&6
16572 # So? What about this header?
16573 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16579 ac_header_preproc
=yes
16582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16596 ## ----------------------------------------- ##
16597 ## Report this to wx-dev@lists.wxwidgets.org ##
16598 ## ----------------------------------------- ##
16601 sed "s/^/$as_me: WARNING: /" >&2
16604 echo "$as_me:$LINENO: checking for $ac_header" >&5
16605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 eval "$as_ac_Header=\$ac_header_preproc"
16611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16616 cat >>confdefs.h
<<_ACEOF
16617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16625 for ac_header
in unistd.h
16627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16629 echo "$as_me:$LINENO: checking for $ac_header" >&5
16630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16632 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16637 # Is the header compilable?
16638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16640 cat >conftest.
$ac_ext <<_ACEOF
16643 cat confdefs.h
>>conftest.
$ac_ext
16644 cat >>conftest.
$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 $ac_includes_default
16647 #include <$ac_header>
16649 rm -f conftest.
$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651 (eval $ac_compile) 2>conftest.er1
16653 grep -v '^ *+' conftest.er1
>conftest.err
16655 cat conftest.err
>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); } &&
16658 { ac_try
='test -z "$ac_cxx_werror_flag"
16659 || test ! -s conftest.err'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; } &&
16665 { ac_try
='test -s conftest.$ac_objext'
16666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16667 (eval $ac_try) 2>&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); }; }; then
16671 ac_header_compiler
=yes
16673 echo "$as_me: failed program was:" >&5
16674 sed 's/^/| /' conftest.
$ac_ext >&5
16676 ac_header_compiler
=no
16678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16680 echo "${ECHO_T}$ac_header_compiler" >&6
16682 # Is the header present?
16683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16685 cat >conftest.
$ac_ext <<_ACEOF
16688 cat confdefs.h
>>conftest.
$ac_ext
16689 cat >>conftest.
$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 #include <$ac_header>
16693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16696 grep -v '^ *+' conftest.er1
>conftest.err
16698 cat conftest.err
>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } >/dev
/null
; then
16701 if test -s conftest.err
; then
16702 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16703 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16710 if test -z "$ac_cpp_err"; then
16711 ac_header_preproc
=yes
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.
$ac_ext >&5
16716 ac_header_preproc
=no
16718 rm -f conftest.err conftest.
$ac_ext
16719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16720 echo "${ECHO_T}$ac_header_preproc" >&6
16722 # So? What about this header?
16723 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16729 ac_header_preproc
=yes
16732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16746 ## ----------------------------------------- ##
16747 ## Report this to wx-dev@lists.wxwidgets.org ##
16748 ## ----------------------------------------- ##
16751 sed "s/^/$as_me: WARNING: /" >&2
16754 echo "$as_me:$LINENO: checking for $ac_header" >&5
16755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 eval "$as_ac_Header=\$ac_header_preproc"
16761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16766 cat >>confdefs.h
<<_ACEOF
16767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16775 for ac_header
in wchar.h
16777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16779 echo "$as_me:$LINENO: checking for $ac_header" >&5
16780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16782 echo $ECHO_N "(cached) $ECHO_C" >&6
16784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16787 # Is the header compilable?
16788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16790 cat >conftest.
$ac_ext <<_ACEOF
16793 cat confdefs.h
>>conftest.
$ac_ext
16794 cat >>conftest.
$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 $ac_includes_default
16797 #include <$ac_header>
16799 rm -f conftest.
$ac_objext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16801 (eval $ac_compile) 2>conftest.er1
16803 grep -v '^ *+' conftest.er1
>conftest.err
16805 cat conftest.err
>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } &&
16808 { ac_try
='test -z "$ac_cxx_werror_flag"
16809 || test ! -s conftest.err'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; } &&
16815 { ac_try
='test -s conftest.$ac_objext'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; }; then
16821 ac_header_compiler
=yes
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.
$ac_ext >&5
16826 ac_header_compiler
=no
16828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16830 echo "${ECHO_T}$ac_header_compiler" >&6
16832 # Is the header present?
16833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16835 cat >conftest.
$ac_ext <<_ACEOF
16838 cat confdefs.h
>>conftest.
$ac_ext
16839 cat >>conftest.
$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 #include <$ac_header>
16843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16846 grep -v '^ *+' conftest.er1
>conftest.err
16848 cat conftest.err
>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } >/dev
/null
; then
16851 if test -s conftest.err
; then
16852 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16853 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16860 if test -z "$ac_cpp_err"; then
16861 ac_header_preproc
=yes
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.
$ac_ext >&5
16866 ac_header_preproc
=no
16868 rm -f conftest.err conftest.
$ac_ext
16869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16870 echo "${ECHO_T}$ac_header_preproc" >&6
16872 # So? What about this header?
16873 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16879 ac_header_preproc
=yes
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16896 ## ----------------------------------------- ##
16897 ## Report this to wx-dev@lists.wxwidgets.org ##
16898 ## ----------------------------------------- ##
16901 sed "s/^/$as_me: WARNING: /" >&2
16904 echo "$as_me:$LINENO: checking for $ac_header" >&5
16905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 eval "$as_ac_Header=\$ac_header_preproc"
16911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16916 cat >>confdefs.h
<<_ACEOF
16917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16925 if test "$ac_cv_header_wchar_h" != "yes"; then
16927 for ac_header
in wcstr.h
16929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16931 echo "$as_me:$LINENO: checking for $ac_header" >&5
16932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16939 # Is the header compilable?
16940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16942 cat >conftest.
$ac_ext <<_ACEOF
16945 cat confdefs.h
>>conftest.
$ac_ext
16946 cat >>conftest.
$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 $ac_includes_default
16949 #include <$ac_header>
16951 rm -f conftest.
$ac_objext
16952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16953 (eval $ac_compile) 2>conftest.er1
16955 grep -v '^ *+' conftest.er1
>conftest.err
16957 cat conftest.err
>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } &&
16960 { ac_try
='test -z "$ac_cxx_werror_flag"
16961 || test ! -s conftest.err'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; } &&
16967 { ac_try
='test -s conftest.$ac_objext'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; }; then
16973 ac_header_compiler
=yes
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.
$ac_ext >&5
16978 ac_header_compiler
=no
16980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16982 echo "${ECHO_T}$ac_header_compiler" >&6
16984 # Is the header present?
16985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16987 cat >conftest.
$ac_ext <<_ACEOF
16990 cat confdefs.h
>>conftest.
$ac_ext
16991 cat >>conftest.
$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993 #include <$ac_header>
16995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16998 grep -v '^ *+' conftest.er1
>conftest.err
17000 cat conftest.err
>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } >/dev
/null
; then
17003 if test -s conftest.err
; then
17004 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17005 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17012 if test -z "$ac_cpp_err"; then
17013 ac_header_preproc
=yes
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17018 ac_header_preproc
=no
17020 rm -f conftest.err conftest.
$ac_ext
17021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17022 echo "${ECHO_T}$ac_header_preproc" >&6
17024 # So? What about this header?
17025 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17031 ac_header_preproc
=yes
17034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17048 ## ----------------------------------------- ##
17049 ## Report this to wx-dev@lists.wxwidgets.org ##
17050 ## ----------------------------------------- ##
17053 sed "s/^/$as_me: WARNING: /" >&2
17056 echo "$as_me:$LINENO: checking for $ac_header" >&5
17057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17059 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 eval "$as_ac_Header=\$ac_header_preproc"
17063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17068 cat >>confdefs.h
<<_ACEOF
17069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17079 for ac_header
in fnmatch.h
17081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17083 echo "$as_me:$LINENO: checking for $ac_header" >&5
17084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17091 # Is the header compilable?
17092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17094 cat >conftest.
$ac_ext <<_ACEOF
17097 cat confdefs.h
>>conftest.
$ac_ext
17098 cat >>conftest.
$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17101 #include <$ac_header>
17103 rm -f conftest.
$ac_objext
17104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17105 (eval $ac_compile) 2>conftest.er1
17107 grep -v '^ *+' conftest.er1
>conftest.err
17109 cat conftest.err
>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } &&
17112 { ac_try
='test -z "$ac_cxx_werror_flag"
17113 || test ! -s conftest.err'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; } &&
17119 { ac_try
='test -s conftest.$ac_objext'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; }; then
17125 ac_header_compiler
=yes
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.
$ac_ext >&5
17130 ac_header_compiler
=no
17132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17134 echo "${ECHO_T}$ac_header_compiler" >&6
17136 # Is the header present?
17137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17139 cat >conftest.
$ac_ext <<_ACEOF
17142 cat confdefs.h
>>conftest.
$ac_ext
17143 cat >>conftest.
$ac_ext <<_ACEOF
17144 /* end confdefs.h. */
17145 #include <$ac_header>
17147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17150 grep -v '^ *+' conftest.er1
>conftest.err
17152 cat conftest.err
>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } >/dev
/null
; then
17155 if test -s conftest.err
; then
17156 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17157 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17164 if test -z "$ac_cpp_err"; then
17165 ac_header_preproc
=yes
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.
$ac_ext >&5
17170 ac_header_preproc
=no
17172 rm -f conftest.err conftest.
$ac_ext
17173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17174 echo "${ECHO_T}$ac_header_preproc" >&6
17176 # So? What about this header?
17177 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17183 ac_header_preproc
=yes
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17200 ## ----------------------------------------- ##
17201 ## Report this to wx-dev@lists.wxwidgets.org ##
17202 ## ----------------------------------------- ##
17205 sed "s/^/$as_me: WARNING: /" >&2
17208 echo "$as_me:$LINENO: checking for $ac_header" >&5
17209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 eval "$as_ac_Header=\$ac_header_preproc"
17215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17220 cat >>confdefs.h
<<_ACEOF
17221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17230 for ac_header
in langinfo.h
17232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17234 echo "$as_me:$LINENO: checking for $ac_header" >&5
17235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17242 # Is the header compilable?
17243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17245 cat >conftest.
$ac_ext <<_ACEOF
17248 cat confdefs.h
>>conftest.
$ac_ext
17249 cat >>conftest.
$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17251 $ac_includes_default
17252 #include <$ac_header>
17254 rm -f conftest.
$ac_objext
17255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17256 (eval $ac_compile) 2>conftest.er1
17258 grep -v '^ *+' conftest.er1
>conftest.err
17260 cat conftest.err
>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } &&
17263 { ac_try
='test -z "$ac_cxx_werror_flag"
17264 || test ! -s conftest.err'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; } &&
17270 { ac_try
='test -s conftest.$ac_objext'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; }; then
17276 ac_header_compiler
=yes
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.
$ac_ext >&5
17281 ac_header_compiler
=no
17283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17285 echo "${ECHO_T}$ac_header_compiler" >&6
17287 # Is the header present?
17288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 #include <$ac_header>
17298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17301 grep -v '^ *+' conftest.er1
>conftest.err
17303 cat conftest.err
>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } >/dev
/null
; then
17306 if test -s conftest.err
; then
17307 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17308 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17315 if test -z "$ac_cpp_err"; then
17316 ac_header_preproc
=yes
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.
$ac_ext >&5
17321 ac_header_preproc
=no
17323 rm -f conftest.err conftest.
$ac_ext
17324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17325 echo "${ECHO_T}$ac_header_preproc" >&6
17327 # So? What about this header?
17328 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17334 ac_header_preproc
=yes
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17351 ## ----------------------------------------- ##
17352 ## Report this to wx-dev@lists.wxwidgets.org ##
17353 ## ----------------------------------------- ##
17356 sed "s/^/$as_me: WARNING: /" >&2
17359 echo "$as_me:$LINENO: checking for $ac_header" >&5
17360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 eval "$as_ac_Header=\$ac_header_preproc"
17366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17371 cat >>confdefs.h
<<_ACEOF
17372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17381 *-pc-os2_emx | *-pc-os2-emx )
17382 if test $ac_cv_header_langinfo_h = "yes" \
17383 -a \
( "$wx_cv_gccversion" = "EMX2" \
17384 -o "$wx_cv_gccversion" = "EMX3" \
17385 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17386 LIBS
="$LIBS -lintl"
17392 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17393 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17394 if test "${ac_cv_c_const+set}" = set; then
17395 echo $ECHO_N "(cached) $ECHO_C" >&6
17397 cat >conftest.
$ac_ext <<_ACEOF
17400 cat confdefs.h
>>conftest.
$ac_ext
17401 cat >>conftest.
$ac_ext <<_ACEOF
17402 /* end confdefs.h. */
17407 /* FIXME: Include the comments suggested by Paul. */
17408 #ifndef __cplusplus
17409 /* Ultrix mips cc rejects this. */
17410 typedef int charset[2];
17412 /* SunOS 4.1.1 cc rejects this. */
17413 char const *const *ccp;
17415 /* NEC SVR4.0.2 mips cc rejects this. */
17416 struct point {int x, y;};
17417 static struct point const zero = {0,0};
17418 /* AIX XL C 1.02.0.0 rejects this.
17419 It does not let you subtract one const X* pointer from another in
17420 an arm of an if-expression whose if-part is not a constant
17422 const char *g = "string";
17423 ccp = &g + (g ? g-g : 0);
17424 /* HPUX 7.0 cc rejects these. */
17427 ccp = (char const *const *) p;
17428 { /* SCO 3.2v4 cc rejects this. */
17430 char const *s = 0 ? (char *) 0 : (char const *) 0;
17434 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17435 int x[] = {25, 17};
17436 const int *foo = &x[0];
17439 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17440 typedef const int *iptr;
17444 { /* AIX XL C 1.02.0.0 rejects this saying
17445 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17446 struct s { int j; const int *ap[3]; };
17447 struct s *b; b->j = 5;
17449 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17450 const int foo = 10;
17458 rm -f conftest.
$ac_objext
17459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17460 (eval $ac_compile) 2>conftest.er1
17462 grep -v '^ *+' conftest.er1
>conftest.err
17464 cat conftest.err
>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } &&
17467 { ac_try
='test -z "$ac_cxx_werror_flag"
17468 || test ! -s conftest.err'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; } &&
17474 { ac_try
='test -s conftest.$ac_objext'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; }; then
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.
$ac_ext >&5
17487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17489 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17490 echo "${ECHO_T}$ac_cv_c_const" >&6
17491 if test $ac_cv_c_const = no
; then
17493 cat >>confdefs.h
<<\_ACEOF
17499 echo "$as_me:$LINENO: checking for inline" >&5
17500 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17501 if test "${ac_cv_c_inline+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 for ac_kw
in inline __inline__ __inline
; do
17506 cat >conftest.
$ac_ext <<_ACEOF
17509 cat confdefs.h
>>conftest.
$ac_ext
17510 cat >>conftest.
$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17512 #ifndef __cplusplus
17514 static $ac_kw foo_t static_foo () {return 0; }
17515 $ac_kw foo_t foo () {return 0; }
17519 rm -f conftest.
$ac_objext
17520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17521 (eval $ac_compile) 2>conftest.er1
17523 grep -v '^ *+' conftest.er1
>conftest.err
17525 cat conftest.err
>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); } &&
17528 { ac_try
='test -z "$ac_cxx_werror_flag"
17529 || test ! -s conftest.err'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; } &&
17535 { ac_try
='test -s conftest.$ac_objext'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; }; then
17541 ac_cv_c_inline
=$ac_kw; break
17543 echo "$as_me: failed program was:" >&5
17544 sed 's/^/| /' conftest.
$ac_ext >&5
17547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17551 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17552 echo "${ECHO_T}$ac_cv_c_inline" >&6
17555 case $ac_cv_c_inline in
17558 case $ac_cv_c_inline in
17560 *) ac_val
=$ac_cv_c_inline;;
17562 cat >>confdefs.h
<<_ACEOF
17563 #ifndef __cplusplus
17564 #define inline $ac_val
17571 echo "$as_me:$LINENO: checking for char" >&5
17572 echo $ECHO_N "checking for char... $ECHO_C" >&6
17573 if test "${ac_cv_type_char+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 cat >conftest.
$ac_ext <<_ACEOF
17579 cat confdefs.h
>>conftest.
$ac_ext
17580 cat >>conftest.
$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582 $ac_includes_default
17594 rm -f conftest.
$ac_objext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>conftest.er1
17598 grep -v '^ *+' conftest.er1
>conftest.err
17600 cat conftest.err
>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try
='test -z "$ac_cxx_werror_flag"
17604 || test ! -s conftest.err'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; } &&
17610 { ac_try
='test -s conftest.$ac_objext'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; }; then
17616 ac_cv_type_char
=yes
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.
$ac_ext >&5
17623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17625 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17626 echo "${ECHO_T}$ac_cv_type_char" >&6
17628 echo "$as_me:$LINENO: checking size of char" >&5
17629 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17630 if test "${ac_cv_sizeof_char+set}" = set; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 if test "$ac_cv_type_char" = yes; then
17634 # The cast to unsigned long works around a bug in the HP C Compiler
17635 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17636 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17637 # This bug is HP SR number 8606223364.
17638 if test "$cross_compiling" = yes; then
17639 # Depending upon the size, compute the lo and hi bounds.
17640 cat >conftest.
$ac_ext <<_ACEOF
17643 cat confdefs.h
>>conftest.
$ac_ext
17644 cat >>conftest.
$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 $ac_includes_default
17650 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17657 rm -f conftest.
$ac_objext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17659 (eval $ac_compile) 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try
='test -z "$ac_cxx_werror_flag"
17667 || test ! -s conftest.err'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; } &&
17673 { ac_try
='test -s conftest.$ac_objext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17681 cat >conftest.
$ac_ext <<_ACEOF
17684 cat confdefs.h
>>conftest.
$ac_ext
17685 cat >>conftest.
$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17687 $ac_includes_default
17691 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17698 rm -f conftest.
$ac_objext
17699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17700 (eval $ac_compile) 2>conftest.er1
17702 grep -v '^ *+' conftest.er1
>conftest.err
17704 cat conftest.err
>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); } &&
17707 { ac_try
='test -z "$ac_cxx_werror_flag"
17708 || test ! -s conftest.err'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; } &&
17714 { ac_try
='test -s conftest.$ac_objext'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; }; then
17720 ac_hi
=$ac_mid; break
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.
$ac_ext >&5
17725 ac_lo
=`expr $ac_mid + 1`
17726 if test $ac_lo -le $ac_mid; then
17730 ac_mid
=`expr 2 '*' $ac_mid + 1`
17732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.
$ac_ext >&5
17738 cat >conftest.
$ac_ext <<_ACEOF
17741 cat confdefs.h
>>conftest.
$ac_ext
17742 cat >>conftest.
$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744 $ac_includes_default
17748 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17755 rm -f conftest.
$ac_objext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>conftest.er1
17759 grep -v '^ *+' conftest.er1
>conftest.err
17761 cat conftest.err
>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try
='test -z "$ac_cxx_werror_flag"
17765 || test ! -s conftest.err'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; } &&
17771 { ac_try
='test -s conftest.$ac_objext'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17779 cat >conftest.
$ac_ext <<_ACEOF
17782 cat confdefs.h
>>conftest.
$ac_ext
17783 cat >>conftest.
$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 $ac_includes_default
17789 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17796 rm -f conftest.
$ac_objext
17797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17798 (eval $ac_compile) 2>conftest.er1
17800 grep -v '^ *+' conftest.er1
>conftest.err
17802 cat conftest.err
>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try
='test -z "$ac_cxx_werror_flag"
17806 || test ! -s conftest.err'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; } &&
17812 { ac_try
='test -s conftest.$ac_objext'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; }; then
17818 ac_lo
=$ac_mid; break
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.
$ac_ext >&5
17823 ac_hi
=`expr '(' $ac_mid ')' - 1`
17824 if test $ac_mid -le $ac_hi; then
17828 ac_mid
=`expr 2 '*' $ac_mid`
17830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17833 echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.
$ac_ext >&5
17838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17841 # Binary search between lo and hi bounds.
17842 while test "x$ac_lo" != "x$ac_hi"; do
17843 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 $ac_includes_default
17854 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17861 rm -f conftest.
$ac_objext
17862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17863 (eval $ac_compile) 2>conftest.er1
17865 grep -v '^ *+' conftest.er1
>conftest.err
17867 cat conftest.err
>&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); } &&
17870 { ac_try
='test -z "$ac_cxx_werror_flag"
17871 || test ! -s conftest.err'
17872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17873 (eval $ac_try) 2>&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); }; } &&
17877 { ac_try
='test -s conftest.$ac_objext'
17878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17879 (eval $ac_try) 2>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); }; }; then
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.
$ac_ext >&5
17888 ac_lo
=`expr '(' $ac_mid ')' + 1`
17890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17893 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17894 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17895 See \`config.log' for more details." >&5
17896 echo "$as_me: error: cannot compute sizeof (char), 77
17897 See \`config.log' for more details." >&2;}
17898 { (exit 1); exit 1; }; } ;;
17901 if test "$cross_compiling" = yes; then
17902 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17903 See \`config.log' for more details." >&5
17904 echo "$as_me: error: cannot run test program while cross compiling
17905 See \`config.log' for more details." >&2;}
17906 { (exit 1); exit 1; }; }
17908 cat >conftest.
$ac_ext <<_ACEOF
17911 cat confdefs.h
>>conftest.
$ac_ext
17912 cat >>conftest.
$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 $ac_includes_default
17915 long longval () { return (long) (sizeof (char)); }
17916 unsigned long ulongval () { return (long) (sizeof (char)); }
17918 #include <stdlib.h>
17923 FILE *f = fopen ("conftest.val", "w");
17926 if (((long) (sizeof (char))) < 0)
17928 long i = longval ();
17929 if (i != ((long) (sizeof (char))))
17931 fprintf (f, "%ld\n", i);
17935 unsigned long i = ulongval ();
17936 if (i != ((long) (sizeof (char))))
17938 fprintf (f, "%lu\n", i);
17940 exit (ferror (f) || fclose (f) != 0);
17946 rm -f conftest
$ac_exeext
17947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17948 (eval $ac_link) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 ac_cv_sizeof_char
=`cat conftest.val`
17959 echo "$as_me: program exited with status $ac_status" >&5
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.
$ac_ext >&5
17963 ( exit $ac_status )
17964 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17965 See \`config.log' for more details." >&5
17966 echo "$as_me: error: cannot compute sizeof (char), 77
17967 See \`config.log' for more details." >&2;}
17968 { (exit 1); exit 1; }; }
17970 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17975 ac_cv_sizeof_char
=0
17978 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17979 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17980 cat >>confdefs.h
<<_ACEOF
17981 #define SIZEOF_CHAR $ac_cv_sizeof_char
17985 echo "$as_me:$LINENO: checking for short" >&5
17986 echo $ECHO_N "checking for short... $ECHO_C" >&6
17987 if test "${ac_cv_type_short+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 cat >conftest.
$ac_ext <<_ACEOF
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
18002 if (sizeof (short))
18008 rm -f conftest.
$ac_objext
18009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18010 (eval $ac_compile) 2>conftest.er1
18012 grep -v '^ *+' conftest.er1
>conftest.err
18014 cat conftest.err
>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } &&
18017 { ac_try
='test -z "$ac_cxx_werror_flag"
18018 || test ! -s conftest.err'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; } &&
18024 { ac_try
='test -s conftest.$ac_objext'
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_type_short
=yes
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.
$ac_ext >&5
18035 ac_cv_type_short
=no
18037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18039 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18040 echo "${ECHO_T}$ac_cv_type_short" >&6
18042 echo "$as_me:$LINENO: checking size of short" >&5
18043 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18044 if test "${ac_cv_sizeof_short+set}" = set; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 if test "$ac_cv_type_short" = yes; then
18048 # The cast to unsigned long works around a bug in the HP C Compiler
18049 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18050 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18051 # This bug is HP SR number 8606223364.
18052 if test "$cross_compiling" = yes; then
18053 # Depending upon the size, compute the lo and hi bounds.
18054 cat >conftest.
$ac_ext <<_ACEOF
18057 cat confdefs.h
>>conftest.
$ac_ext
18058 cat >>conftest.
$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 $ac_includes_default
18064 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18071 rm -f conftest.
$ac_objext
18072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18073 (eval $ac_compile) 2>conftest.er1
18075 grep -v '^ *+' conftest.er1
>conftest.err
18077 cat conftest.err
>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } &&
18080 { ac_try
='test -z "$ac_cxx_werror_flag"
18081 || test ! -s conftest.err'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; } &&
18087 { ac_try
='test -s conftest.$ac_objext'
18088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089 (eval $ac_try) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; }; then
18095 cat >conftest.
$ac_ext <<_ACEOF
18098 cat confdefs.h
>>conftest.
$ac_ext
18099 cat >>conftest.
$ac_ext <<_ACEOF
18100 /* end confdefs.h. */
18101 $ac_includes_default
18105 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18112 rm -f conftest.
$ac_objext
18113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18114 (eval $ac_compile) 2>conftest.er1
18116 grep -v '^ *+' conftest.er1
>conftest.err
18118 cat conftest.err
>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); } &&
18121 { ac_try
='test -z "$ac_cxx_werror_flag"
18122 || test ! -s conftest.err'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; } &&
18128 { ac_try
='test -s conftest.$ac_objext'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; }; then
18134 ac_hi
=$ac_mid; break
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.
$ac_ext >&5
18139 ac_lo
=`expr $ac_mid + 1`
18140 if test $ac_lo -le $ac_mid; then
18144 ac_mid
=`expr 2 '*' $ac_mid + 1`
18146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.
$ac_ext >&5
18152 cat >conftest.
$ac_ext <<_ACEOF
18155 cat confdefs.h
>>conftest.
$ac_ext
18156 cat >>conftest.
$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 $ac_includes_default
18162 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18169 rm -f conftest.
$ac_objext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18171 (eval $ac_compile) 2>conftest.er1
18173 grep -v '^ *+' conftest.er1
>conftest.err
18175 cat conftest.err
>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try
='test -z "$ac_cxx_werror_flag"
18179 || test ! -s conftest.err'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; } &&
18185 { ac_try
='test -s conftest.$ac_objext'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; }; then
18193 cat >conftest.
$ac_ext <<_ACEOF
18196 cat confdefs.h
>>conftest.
$ac_ext
18197 cat >>conftest.
$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 $ac_includes_default
18203 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18210 rm -f conftest.
$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18214 grep -v '^ *+' conftest.er1
>conftest.err
18216 cat conftest.err
>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try
='test -z "$ac_cxx_werror_flag"
18220 || test ! -s conftest.err'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try
='test -s conftest.$ac_objext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 ac_lo
=$ac_mid; break
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.
$ac_ext >&5
18237 ac_hi
=`expr '(' $ac_mid ')' - 1`
18238 if test $ac_mid -le $ac_hi; then
18242 ac_mid
=`expr 2 '*' $ac_mid`
18244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.
$ac_ext >&5
18252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18255 # Binary search between lo and hi bounds.
18256 while test "x$ac_lo" != "x$ac_hi"; do
18257 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18258 cat >conftest.
$ac_ext <<_ACEOF
18261 cat confdefs.h
>>conftest.
$ac_ext
18262 cat >>conftest.
$ac_ext <<_ACEOF
18263 /* end confdefs.h. */
18264 $ac_includes_default
18268 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18275 rm -f conftest.
$ac_objext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18277 (eval $ac_compile) 2>conftest.er1
18279 grep -v '^ *+' conftest.er1
>conftest.err
18281 cat conftest.err
>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try
='test -z "$ac_cxx_werror_flag"
18285 || test ! -s conftest.err'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try
='test -s conftest.$ac_objext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.
$ac_ext >&5
18302 ac_lo
=`expr '(' $ac_mid ')' + 1`
18304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18307 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18308 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18309 See \`config.log' for more details." >&5
18310 echo "$as_me: error: cannot compute sizeof (short), 77
18311 See \`config.log' for more details." >&2;}
18312 { (exit 1); exit 1; }; } ;;
18315 if test "$cross_compiling" = yes; then
18316 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18317 See \`config.log' for more details." >&5
18318 echo "$as_me: error: cannot run test program while cross compiling
18319 See \`config.log' for more details." >&2;}
18320 { (exit 1); exit 1; }; }
18322 cat >conftest.
$ac_ext <<_ACEOF
18325 cat confdefs.h
>>conftest.
$ac_ext
18326 cat >>conftest.
$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328 $ac_includes_default
18329 long longval () { return (long) (sizeof (short)); }
18330 unsigned long ulongval () { return (long) (sizeof (short)); }
18332 #include <stdlib.h>
18337 FILE *f = fopen ("conftest.val", "w");
18340 if (((long) (sizeof (short))) < 0)
18342 long i = longval ();
18343 if (i != ((long) (sizeof (short))))
18345 fprintf (f, "%ld\n", i);
18349 unsigned long i = ulongval ();
18350 if (i != ((long) (sizeof (short))))
18352 fprintf (f, "%lu\n", i);
18354 exit (ferror (f) || fclose (f) != 0);
18360 rm -f conftest
$ac_exeext
18361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18362 (eval $ac_link) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 ac_cv_sizeof_short
=`cat conftest.val`
18373 echo "$as_me: program exited with status $ac_status" >&5
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.
$ac_ext >&5
18377 ( exit $ac_status )
18378 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18379 See \`config.log' for more details." >&5
18380 echo "$as_me: error: cannot compute sizeof (short), 77
18381 See \`config.log' for more details." >&2;}
18382 { (exit 1); exit 1; }; }
18384 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18389 ac_cv_sizeof_short
=0
18392 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18393 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18394 cat >>confdefs.h
<<_ACEOF
18395 #define SIZEOF_SHORT $ac_cv_sizeof_short
18399 echo "$as_me:$LINENO: checking for void *" >&5
18400 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18401 if test "${ac_cv_type_void_p+set}" = set; then
18402 echo $ECHO_N "(cached) $ECHO_C" >&6
18404 cat >conftest.
$ac_ext <<_ACEOF
18407 cat confdefs.h
>>conftest.
$ac_ext
18408 cat >>conftest.
$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 $ac_includes_default
18416 if (sizeof (void *))
18422 rm -f conftest.
$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>conftest.er1
18426 grep -v '^ *+' conftest.er1
>conftest.err
18428 cat conftest.err
>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } &&
18431 { ac_try
='test -z "$ac_cxx_werror_flag"
18432 || test ! -s conftest.err'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; } &&
18438 { ac_try
='test -s conftest.$ac_objext'
18439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18440 (eval $ac_try) 2>&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); }; }; then
18444 ac_cv_type_void_p
=yes
18446 echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.
$ac_ext >&5
18449 ac_cv_type_void_p
=no
18451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18453 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18454 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18456 echo "$as_me:$LINENO: checking size of void *" >&5
18457 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18458 if test "${ac_cv_sizeof_void_p+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18461 if test "$ac_cv_type_void_p" = yes; then
18462 # The cast to unsigned long works around a bug in the HP C Compiler
18463 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18464 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18465 # This bug is HP SR number 8606223364.
18466 if test "$cross_compiling" = yes; then
18467 # Depending upon the size, compute the lo and hi bounds.
18468 cat >conftest.
$ac_ext <<_ACEOF
18471 cat confdefs.h
>>conftest.
$ac_ext
18472 cat >>conftest.
$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 $ac_includes_default
18478 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18485 rm -f conftest.
$ac_objext
18486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18487 (eval $ac_compile) 2>conftest.er1
18489 grep -v '^ *+' conftest.er1
>conftest.err
18491 cat conftest.err
>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try
='test -z "$ac_cxx_werror_flag"
18495 || test ! -s conftest.err'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; } &&
18501 { ac_try
='test -s conftest.$ac_objext'
18502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18503 (eval $ac_try) 2>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; }; then
18509 cat >conftest.
$ac_ext <<_ACEOF
18512 cat confdefs.h
>>conftest.
$ac_ext
18513 cat >>conftest.
$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 $ac_includes_default
18519 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18526 rm -f conftest.
$ac_objext
18527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18528 (eval $ac_compile) 2>conftest.er1
18530 grep -v '^ *+' conftest.er1
>conftest.err
18532 cat conftest.err
>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } &&
18535 { ac_try
='test -z "$ac_cxx_werror_flag"
18536 || test ! -s conftest.err'
18537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18538 (eval $ac_try) 2>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); }; } &&
18542 { ac_try
='test -s conftest.$ac_objext'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; }; then
18548 ac_hi
=$ac_mid; break
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.
$ac_ext >&5
18553 ac_lo
=`expr $ac_mid + 1`
18554 if test $ac_lo -le $ac_mid; then
18558 ac_mid
=`expr 2 '*' $ac_mid + 1`
18560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.
$ac_ext >&5
18566 cat >conftest.
$ac_ext <<_ACEOF
18569 cat confdefs.h
>>conftest.
$ac_ext
18570 cat >>conftest.
$ac_ext <<_ACEOF
18571 /* end confdefs.h. */
18572 $ac_includes_default
18576 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18583 rm -f conftest.
$ac_objext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18585 (eval $ac_compile) 2>conftest.er1
18587 grep -v '^ *+' conftest.er1
>conftest.err
18589 cat conftest.err
>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try
='test -z "$ac_cxx_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try
='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18607 cat >conftest.
$ac_ext <<_ACEOF
18610 cat confdefs.h
>>conftest.
$ac_ext
18611 cat >>conftest.
$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 $ac_includes_default
18617 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18624 rm -f conftest.
$ac_objext
18625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18626 (eval $ac_compile) 2>conftest.er1
18628 grep -v '^ *+' conftest.er1
>conftest.err
18630 cat conftest.err
>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } &&
18633 { ac_try
='test -z "$ac_cxx_werror_flag"
18634 || test ! -s conftest.err'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; } &&
18640 { ac_try
='test -s conftest.$ac_objext'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; }; then
18646 ac_lo
=$ac_mid; break
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18651 ac_hi
=`expr '(' $ac_mid ')' - 1`
18652 if test $ac_mid -le $ac_hi; then
18656 ac_mid
=`expr 2 '*' $ac_mid`
18658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.
$ac_ext >&5
18666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18669 # Binary search between lo and hi bounds.
18670 while test "x$ac_lo" != "x$ac_hi"; do
18671 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18672 cat >conftest.
$ac_ext <<_ACEOF
18675 cat confdefs.h
>>conftest.
$ac_ext
18676 cat >>conftest.
$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 $ac_includes_default
18682 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18689 rm -f conftest.
$ac_objext
18690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18691 (eval $ac_compile) 2>conftest.er1
18693 grep -v '^ *+' conftest.er1
>conftest.err
18695 cat conftest.err
>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } &&
18698 { ac_try
='test -z "$ac_cxx_werror_flag"
18699 || test ! -s conftest.err'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; } &&
18705 { ac_try
='test -s conftest.$ac_objext'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; }; then
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.
$ac_ext >&5
18716 ac_lo
=`expr '(' $ac_mid ')' + 1`
18718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18721 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18722 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18723 See \`config.log' for more details." >&5
18724 echo "$as_me: error: cannot compute sizeof (void *), 77
18725 See \`config.log' for more details." >&2;}
18726 { (exit 1); exit 1; }; } ;;
18729 if test "$cross_compiling" = yes; then
18730 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18731 See \`config.log' for more details." >&5
18732 echo "$as_me: error: cannot run test program while cross compiling
18733 See \`config.log' for more details." >&2;}
18734 { (exit 1); exit 1; }; }
18736 cat >conftest.
$ac_ext <<_ACEOF
18739 cat confdefs.h
>>conftest.
$ac_ext
18740 cat >>conftest.
$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 $ac_includes_default
18743 long longval () { return (long) (sizeof (void *)); }
18744 unsigned long ulongval () { return (long) (sizeof (void *)); }
18746 #include <stdlib.h>
18751 FILE *f = fopen ("conftest.val", "w");
18754 if (((long) (sizeof (void *))) < 0)
18756 long i = longval ();
18757 if (i != ((long) (sizeof (void *))))
18759 fprintf (f, "%ld\n", i);
18763 unsigned long i = ulongval ();
18764 if (i != ((long) (sizeof (void *))))
18766 fprintf (f, "%lu\n", i);
18768 exit (ferror (f) || fclose (f) != 0);
18774 rm -f conftest
$ac_exeext
18775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18776 (eval $ac_link) 2>&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_cv_sizeof_void_p
=`cat conftest.val`
18787 echo "$as_me: program exited with status $ac_status" >&5
18788 echo "$as_me: failed program was:" >&5
18789 sed 's/^/| /' conftest.
$ac_ext >&5
18791 ( exit $ac_status )
18792 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18793 See \`config.log' for more details." >&5
18794 echo "$as_me: error: cannot compute sizeof (void *), 77
18795 See \`config.log' for more details." >&2;}
18796 { (exit 1); exit 1; }; }
18798 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18803 ac_cv_sizeof_void_p
=0
18806 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18807 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18808 cat >>confdefs.h
<<_ACEOF
18809 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18813 echo "$as_me:$LINENO: checking for int" >&5
18814 echo $ECHO_N "checking for int... $ECHO_C" >&6
18815 if test "${ac_cv_type_int+set}" = set; then
18816 echo $ECHO_N "(cached) $ECHO_C" >&6
18818 cat >conftest.
$ac_ext <<_ACEOF
18821 cat confdefs.h
>>conftest.
$ac_ext
18822 cat >>conftest.
$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 $ac_includes_default
18836 rm -f conftest.
$ac_objext
18837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18838 (eval $ac_compile) 2>conftest.er1
18840 grep -v '^ *+' conftest.er1
>conftest.err
18842 cat conftest.err
>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } &&
18845 { ac_try
='test -z "$ac_cxx_werror_flag"
18846 || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try
='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.
$ac_ext >&5
18865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18867 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18868 echo "${ECHO_T}$ac_cv_type_int" >&6
18870 echo "$as_me:$LINENO: checking size of int" >&5
18871 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18872 if test "${ac_cv_sizeof_int+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 if test "$ac_cv_type_int" = yes; then
18876 # The cast to unsigned long works around a bug in the HP C Compiler
18877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18879 # This bug is HP SR number 8606223364.
18880 if test "$cross_compiling" = yes; then
18881 # Depending upon the size, compute the lo and hi bounds.
18882 cat >conftest.
$ac_ext <<_ACEOF
18885 cat confdefs.h
>>conftest.
$ac_ext
18886 cat >>conftest.
$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18892 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18899 rm -f conftest.
$ac_objext
18900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18901 (eval $ac_compile) 2>conftest.er1
18903 grep -v '^ *+' conftest.er1
>conftest.err
18905 cat conftest.err
>&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); } &&
18908 { ac_try
='test -z "$ac_cxx_werror_flag"
18909 || test ! -s conftest.err'
18910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18911 (eval $ac_try) 2>&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); }; } &&
18915 { ac_try
='test -s conftest.$ac_objext'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; }; then
18923 cat >conftest.
$ac_ext <<_ACEOF
18926 cat confdefs.h
>>conftest.
$ac_ext
18927 cat >>conftest.
$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18929 $ac_includes_default
18933 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18940 rm -f conftest.
$ac_objext
18941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18942 (eval $ac_compile) 2>conftest.er1
18944 grep -v '^ *+' conftest.er1
>conftest.err
18946 cat conftest.err
>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } &&
18949 { ac_try
='test -z "$ac_cxx_werror_flag"
18950 || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try
='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 ac_hi
=$ac_mid; break
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.
$ac_ext >&5
18967 ac_lo
=`expr $ac_mid + 1`
18968 if test $ac_lo -le $ac_mid; then
18972 ac_mid
=`expr 2 '*' $ac_mid + 1`
18974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18977 echo "$as_me: failed program was:" >&5
18978 sed 's/^/| /' conftest.
$ac_ext >&5
18980 cat >conftest.
$ac_ext <<_ACEOF
18983 cat confdefs.h
>>conftest.
$ac_ext
18984 cat >>conftest.
$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 $ac_includes_default
18990 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18997 rm -f conftest.
$ac_objext
18998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18999 (eval $ac_compile) 2>conftest.er1
19001 grep -v '^ *+' conftest.er1
>conftest.err
19003 cat conftest.err
>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } &&
19006 { ac_try
='test -z "$ac_cxx_werror_flag"
19007 || test ! -s conftest.err'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; } &&
19013 { ac_try
='test -s conftest.$ac_objext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19021 cat >conftest.
$ac_ext <<_ACEOF
19024 cat confdefs.h
>>conftest.
$ac_ext
19025 cat >>conftest.
$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 $ac_includes_default
19031 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19038 rm -f conftest.
$ac_objext
19039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19040 (eval $ac_compile) 2>conftest.er1
19042 grep -v '^ *+' conftest.er1
>conftest.err
19044 cat conftest.err
>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } &&
19047 { ac_try
='test -z "$ac_cxx_werror_flag"
19048 || test ! -s conftest.err'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; } &&
19054 { ac_try
='test -s conftest.$ac_objext'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; }; then
19060 ac_lo
=$ac_mid; break
19062 echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.
$ac_ext >&5
19065 ac_hi
=`expr '(' $ac_mid ')' - 1`
19066 if test $ac_mid -le $ac_hi; then
19070 ac_mid
=`expr 2 '*' $ac_mid`
19072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.
$ac_ext >&5
19080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19083 # Binary search between lo and hi bounds.
19084 while test "x$ac_lo" != "x$ac_hi"; do
19085 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19086 cat >conftest.
$ac_ext <<_ACEOF
19089 cat confdefs.h
>>conftest.
$ac_ext
19090 cat >>conftest.
$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 $ac_includes_default
19096 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19103 rm -f conftest.
$ac_objext
19104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19105 (eval $ac_compile) 2>conftest.er1
19107 grep -v '^ *+' conftest.er1
>conftest.err
19109 cat conftest.err
>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } &&
19112 { ac_try
='test -z "$ac_cxx_werror_flag"
19113 || test ! -s conftest.err'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } &&
19119 { ac_try
='test -s conftest.$ac_objext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19127 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.
$ac_ext >&5
19130 ac_lo
=`expr '(' $ac_mid ')' + 1`
19132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19135 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19136 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19137 See \`config.log' for more details." >&5
19138 echo "$as_me: error: cannot compute sizeof (int), 77
19139 See \`config.log' for more details." >&2;}
19140 { (exit 1); exit 1; }; } ;;
19143 if test "$cross_compiling" = yes; then
19144 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19145 See \`config.log' for more details." >&5
19146 echo "$as_me: error: cannot run test program while cross compiling
19147 See \`config.log' for more details." >&2;}
19148 { (exit 1); exit 1; }; }
19150 cat >conftest.
$ac_ext <<_ACEOF
19153 cat confdefs.h
>>conftest.
$ac_ext
19154 cat >>conftest.
$ac_ext <<_ACEOF
19155 /* end confdefs.h. */
19156 $ac_includes_default
19157 long longval () { return (long) (sizeof (int)); }
19158 unsigned long ulongval () { return (long) (sizeof (int)); }
19160 #include <stdlib.h>
19165 FILE *f = fopen ("conftest.val", "w");
19168 if (((long) (sizeof (int))) < 0)
19170 long i = longval ();
19171 if (i != ((long) (sizeof (int))))
19173 fprintf (f, "%ld\n", i);
19177 unsigned long i = ulongval ();
19178 if (i != ((long) (sizeof (int))))
19180 fprintf (f, "%lu\n", i);
19182 exit (ferror (f) || fclose (f) != 0);
19188 rm -f conftest
$ac_exeext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19190 (eval $ac_link) 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 ac_cv_sizeof_int
=`cat conftest.val`
19201 echo "$as_me: program exited with status $ac_status" >&5
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.
$ac_ext >&5
19205 ( exit $ac_status )
19206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19207 See \`config.log' for more details." >&5
19208 echo "$as_me: error: cannot compute sizeof (int), 77
19209 See \`config.log' for more details." >&2;}
19210 { (exit 1); exit 1; }; }
19212 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19220 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19221 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19222 cat >>confdefs.h
<<_ACEOF
19223 #define SIZEOF_INT $ac_cv_sizeof_int
19227 echo "$as_me:$LINENO: checking for long" >&5
19228 echo $ECHO_N "checking for long... $ECHO_C" >&6
19229 if test "${ac_cv_type_long+set}" = set; then
19230 echo $ECHO_N "(cached) $ECHO_C" >&6
19232 cat >conftest.
$ac_ext <<_ACEOF
19235 cat confdefs.h
>>conftest.
$ac_ext
19236 cat >>conftest.
$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 $ac_includes_default
19250 rm -f conftest.
$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252 (eval $ac_compile) 2>conftest.er1
19254 grep -v '^ *+' conftest.er1
>conftest.err
19256 cat conftest.err
>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } &&
19259 { ac_try
='test -z "$ac_cxx_werror_flag"
19260 || test ! -s conftest.err'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; } &&
19266 { ac_try
='test -s conftest.$ac_objext'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; }; then
19272 ac_cv_type_long
=yes
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.
$ac_ext >&5
19279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19281 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19282 echo "${ECHO_T}$ac_cv_type_long" >&6
19284 echo "$as_me:$LINENO: checking size of long" >&5
19285 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19286 if test "${ac_cv_sizeof_long+set}" = set; then
19287 echo $ECHO_N "(cached) $ECHO_C" >&6
19289 if test "$ac_cv_type_long" = yes; then
19290 # The cast to unsigned long works around a bug in the HP C Compiler
19291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19293 # This bug is HP SR number 8606223364.
19294 if test "$cross_compiling" = yes; then
19295 # Depending upon the size, compute the lo and hi bounds.
19296 cat >conftest.
$ac_ext <<_ACEOF
19299 cat confdefs.h
>>conftest.
$ac_ext
19300 cat >>conftest.
$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302 $ac_includes_default
19306 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19313 rm -f conftest.
$ac_objext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19315 (eval $ac_compile) 2>conftest.er1
19317 grep -v '^ *+' conftest.er1
>conftest.err
19319 cat conftest.err
>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try
='test -z "$ac_cxx_werror_flag"
19323 || test ! -s conftest.err'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; } &&
19329 { ac_try
='test -s conftest.$ac_objext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19337 cat >conftest.
$ac_ext <<_ACEOF
19340 cat confdefs.h
>>conftest.
$ac_ext
19341 cat >>conftest.
$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 $ac_includes_default
19347 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19354 rm -f conftest.
$ac_objext
19355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19356 (eval $ac_compile) 2>conftest.er1
19358 grep -v '^ *+' conftest.er1
>conftest.err
19360 cat conftest.err
>&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } &&
19363 { ac_try
='test -z "$ac_cxx_werror_flag"
19364 || test ! -s conftest.err'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; } &&
19370 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19376 ac_hi
=$ac_mid; break
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.
$ac_ext >&5
19381 ac_lo
=`expr $ac_mid + 1`
19382 if test $ac_lo -le $ac_mid; then
19386 ac_mid
=`expr 2 '*' $ac_mid + 1`
19388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.
$ac_ext >&5
19394 cat >conftest.
$ac_ext <<_ACEOF
19397 cat confdefs.h
>>conftest.
$ac_ext
19398 cat >>conftest.
$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 $ac_includes_default
19404 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19411 rm -f conftest.
$ac_objext
19412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19413 (eval $ac_compile) 2>conftest.er1
19415 grep -v '^ *+' conftest.er1
>conftest.err
19417 cat conftest.err
>&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } &&
19420 { ac_try
='test -z "$ac_cxx_werror_flag"
19421 || test ! -s conftest.err'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; } &&
19427 { ac_try
='test -s conftest.$ac_objext'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; }; then
19435 cat >conftest.
$ac_ext <<_ACEOF
19438 cat confdefs.h
>>conftest.
$ac_ext
19439 cat >>conftest.
$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 $ac_includes_default
19445 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19452 rm -f conftest.
$ac_objext
19453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19454 (eval $ac_compile) 2>conftest.er1
19456 grep -v '^ *+' conftest.er1
>conftest.err
19458 cat conftest.err
>&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); } &&
19461 { ac_try
='test -z "$ac_cxx_werror_flag"
19462 || test ! -s conftest.err'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; } &&
19468 { ac_try
='test -s conftest.$ac_objext'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; }; then
19474 ac_lo
=$ac_mid; break
19476 echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.
$ac_ext >&5
19479 ac_hi
=`expr '(' $ac_mid ')' - 1`
19480 if test $ac_mid -le $ac_hi; then
19484 ac_mid
=`expr 2 '*' $ac_mid`
19486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.
$ac_ext >&5
19494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19497 # Binary search between lo and hi bounds.
19498 while test "x$ac_lo" != "x$ac_hi"; do
19499 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19500 cat >conftest.
$ac_ext <<_ACEOF
19503 cat confdefs.h
>>conftest.
$ac_ext
19504 cat >>conftest.
$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19510 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19517 rm -f conftest.
$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19521 grep -v '^ *+' conftest.er1
>conftest.err
19523 cat conftest.err
>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try
='test -z "$ac_cxx_werror_flag"
19527 || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try
='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.
$ac_ext >&5
19544 ac_lo
=`expr '(' $ac_mid ')' + 1`
19546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19549 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19550 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19551 See \`config.log' for more details." >&5
19552 echo "$as_me: error: cannot compute sizeof (long), 77
19553 See \`config.log' for more details." >&2;}
19554 { (exit 1); exit 1; }; } ;;
19557 if test "$cross_compiling" = yes; then
19558 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19559 See \`config.log' for more details." >&5
19560 echo "$as_me: error: cannot run test program while cross compiling
19561 See \`config.log' for more details." >&2;}
19562 { (exit 1); exit 1; }; }
19564 cat >conftest.
$ac_ext <<_ACEOF
19567 cat confdefs.h
>>conftest.
$ac_ext
19568 cat >>conftest.
$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 $ac_includes_default
19571 long longval () { return (long) (sizeof (long)); }
19572 unsigned long ulongval () { return (long) (sizeof (long)); }
19574 #include <stdlib.h>
19579 FILE *f = fopen ("conftest.val", "w");
19582 if (((long) (sizeof (long))) < 0)
19584 long i = longval ();
19585 if (i != ((long) (sizeof (long))))
19587 fprintf (f, "%ld\n", i);
19591 unsigned long i = ulongval ();
19592 if (i != ((long) (sizeof (long))))
19594 fprintf (f, "%lu\n", i);
19596 exit (ferror (f) || fclose (f) != 0);
19602 rm -f conftest
$ac_exeext
19603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19604 (eval $ac_link) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_cv_sizeof_long
=`cat conftest.val`
19615 echo "$as_me: program exited with status $ac_status" >&5
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.
$ac_ext >&5
19619 ( exit $ac_status )
19620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19621 See \`config.log' for more details." >&5
19622 echo "$as_me: error: cannot compute sizeof (long), 77
19623 See \`config.log' for more details." >&2;}
19624 { (exit 1); exit 1; }; }
19626 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19631 ac_cv_sizeof_long
=0
19634 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19635 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19636 cat >>confdefs.h
<<_ACEOF
19637 #define SIZEOF_LONG $ac_cv_sizeof_long
19641 echo "$as_me:$LINENO: checking for size_t" >&5
19642 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19643 if test "${ac_cv_type_size_t+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 cat >conftest.
$ac_ext <<_ACEOF
19649 cat confdefs.h
>>conftest.
$ac_ext
19650 cat >>conftest.
$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19658 if (sizeof (size_t))
19664 rm -f conftest.
$ac_objext
19665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19666 (eval $ac_compile) 2>conftest.er1
19668 grep -v '^ *+' conftest.er1
>conftest.err
19670 cat conftest.err
>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
19673 { ac_try
='test -z "$ac_cxx_werror_flag"
19674 || test ! -s conftest.err'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; } &&
19680 { ac_try
='test -s conftest.$ac_objext'
19681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682 (eval $ac_try) 2>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); }; }; then
19686 ac_cv_type_size_t
=yes
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.
$ac_ext >&5
19691 ac_cv_type_size_t
=no
19693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19695 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19696 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19698 echo "$as_me:$LINENO: checking size of size_t" >&5
19699 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19700 if test "${ac_cv_sizeof_size_t+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 if test "$ac_cv_type_size_t" = yes; then
19704 # The cast to unsigned long works around a bug in the HP C Compiler
19705 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19706 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19707 # This bug is HP SR number 8606223364.
19708 if test "$cross_compiling" = yes; then
19709 # Depending upon the size, compute the lo and hi bounds.
19710 cat >conftest.
$ac_ext <<_ACEOF
19713 cat confdefs.h
>>conftest.
$ac_ext
19714 cat >>conftest.
$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19716 $ac_includes_default
19720 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19727 rm -f conftest.
$ac_objext
19728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19729 (eval $ac_compile) 2>conftest.er1
19731 grep -v '^ *+' conftest.er1
>conftest.err
19733 cat conftest.err
>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } &&
19736 { ac_try
='test -z "$ac_cxx_werror_flag"
19737 || test ! -s conftest.err'
19738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19739 (eval $ac_try) 2>&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); }; } &&
19743 { ac_try
='test -s conftest.$ac_objext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19751 cat >conftest.
$ac_ext <<_ACEOF
19754 cat confdefs.h
>>conftest.
$ac_ext
19755 cat >>conftest.
$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 $ac_includes_default
19761 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19768 rm -f conftest.
$ac_objext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19770 (eval $ac_compile) 2>conftest.er1
19772 grep -v '^ *+' conftest.er1
>conftest.err
19774 cat conftest.err
>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try
='test -z "$ac_cxx_werror_flag"
19778 || test ! -s conftest.err'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; } &&
19784 { ac_try
='test -s conftest.$ac_objext'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 ac_hi
=$ac_mid; break
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.
$ac_ext >&5
19795 ac_lo
=`expr $ac_mid + 1`
19796 if test $ac_lo -le $ac_mid; then
19800 ac_mid
=`expr 2 '*' $ac_mid + 1`
19802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.
$ac_ext >&5
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19818 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19825 rm -f conftest.
$ac_objext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827 (eval $ac_compile) 2>conftest.er1
19829 grep -v '^ *+' conftest.er1
>conftest.err
19831 cat conftest.err
>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try
='test -z "$ac_cxx_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try
='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
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 (size_t))) >= $ac_mid)];
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"
19876 || test ! -s conftest.err'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; } &&
19882 { ac_try
='test -s conftest.$ac_objext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_lo
=$ac_mid; break
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.
$ac_ext >&5
19893 ac_hi
=`expr '(' $ac_mid ')' - 1`
19894 if test $ac_mid -le $ac_hi; then
19898 ac_mid
=`expr 2 '*' $ac_mid`
19900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.
$ac_ext >&5
19908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19911 # Binary search between lo and hi bounds.
19912 while test "x$ac_lo" != "x$ac_hi"; do
19913 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19914 cat >conftest.
$ac_ext <<_ACEOF
19917 cat confdefs.h
>>conftest.
$ac_ext
19918 cat >>conftest.
$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 $ac_includes_default
19924 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19931 rm -f conftest.
$ac_objext
19932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19933 (eval $ac_compile) 2>conftest.er1
19935 grep -v '^ *+' conftest.er1
>conftest.err
19937 cat conftest.err
>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } &&
19940 { ac_try
='test -z "$ac_cxx_werror_flag"
19941 || test ! -s conftest.err'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; } &&
19947 { ac_try
='test -s conftest.$ac_objext'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; }; then
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.
$ac_ext >&5
19958 ac_lo
=`expr '(' $ac_mid ')' + 1`
19960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19963 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19964 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19965 See \`config.log' for more details." >&5
19966 echo "$as_me: error: cannot compute sizeof (size_t), 77
19967 See \`config.log' for more details." >&2;}
19968 { (exit 1); exit 1; }; } ;;
19971 if test "$cross_compiling" = yes; then
19972 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19973 See \`config.log' for more details." >&5
19974 echo "$as_me: error: cannot run test program while cross compiling
19975 See \`config.log' for more details." >&2;}
19976 { (exit 1); exit 1; }; }
19978 cat >conftest.
$ac_ext <<_ACEOF
19981 cat confdefs.h
>>conftest.
$ac_ext
19982 cat >>conftest.
$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 $ac_includes_default
19985 long longval () { return (long) (sizeof (size_t)); }
19986 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19988 #include <stdlib.h>
19993 FILE *f = fopen ("conftest.val", "w");
19996 if (((long) (sizeof (size_t))) < 0)
19998 long i = longval ();
19999 if (i != ((long) (sizeof (size_t))))
20001 fprintf (f, "%ld\n", i);
20005 unsigned long i = ulongval ();
20006 if (i != ((long) (sizeof (size_t))))
20008 fprintf (f, "%lu\n", i);
20010 exit (ferror (f) || fclose (f) != 0);
20016 rm -f conftest
$ac_exeext
20017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20018 (eval $ac_link) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; }; then
20027 ac_cv_sizeof_size_t
=`cat conftest.val`
20029 echo "$as_me: program exited with status $ac_status" >&5
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.
$ac_ext >&5
20033 ( exit $ac_status )
20034 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20035 See \`config.log' for more details." >&5
20036 echo "$as_me: error: cannot compute sizeof (size_t), 77
20037 See \`config.log' for more details." >&2;}
20038 { (exit 1); exit 1; }; }
20040 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20045 ac_cv_sizeof_size_t
=0
20048 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20049 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20050 cat >>confdefs.h
<<_ACEOF
20051 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20058 echo "$as_me:$LINENO: checking for long long" >&5
20059 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20060 if test "${ac_cv_type_long_long+set}" = set; then
20061 echo $ECHO_N "(cached) $ECHO_C" >&6
20063 cat >conftest.
$ac_ext <<_ACEOF
20066 cat confdefs.h
>>conftest.
$ac_ext
20067 cat >>conftest.
$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069 $ac_includes_default
20073 if ((long long *) 0)
20075 if (sizeof (long long))
20081 rm -f conftest.
$ac_objext
20082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20083 (eval $ac_compile) 2>conftest.er1
20085 grep -v '^ *+' conftest.er1
>conftest.err
20087 cat conftest.err
>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); } &&
20090 { ac_try
='test -z "$ac_cxx_werror_flag"
20091 || test ! -s conftest.err'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; } &&
20097 { ac_try
='test -s conftest.$ac_objext'
20098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099 (eval $ac_try) 2>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20103 ac_cv_type_long_long
=yes
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.
$ac_ext >&5
20108 ac_cv_type_long_long
=no
20110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20112 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20113 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20115 echo "$as_me:$LINENO: checking size of long long" >&5
20116 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20117 if test "${ac_cv_sizeof_long_long+set}" = set; then
20118 echo $ECHO_N "(cached) $ECHO_C" >&6
20120 if test "$ac_cv_type_long_long" = yes; then
20121 # The cast to unsigned long works around a bug in the HP C Compiler
20122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20124 # This bug is HP SR number 8606223364.
20125 if test "$cross_compiling" = yes; then
20126 # Depending upon the size, compute the lo and hi bounds.
20127 cat >conftest.
$ac_ext <<_ACEOF
20130 cat confdefs.h
>>conftest.
$ac_ext
20131 cat >>conftest.
$ac_ext <<_ACEOF
20132 /* end confdefs.h. */
20133 $ac_includes_default
20137 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20144 rm -f conftest.
$ac_objext
20145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20146 (eval $ac_compile) 2>conftest.er1
20148 grep -v '^ *+' conftest.er1
>conftest.err
20150 cat conftest.err
>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } &&
20153 { ac_try
='test -z "$ac_cxx_werror_flag"
20154 || test ! -s conftest.err'
20155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156 (eval $ac_try) 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; } &&
20160 { ac_try
='test -s conftest.$ac_objext'
20161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162 (eval $ac_try) 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; }; then
20168 cat >conftest.
$ac_ext <<_ACEOF
20171 cat confdefs.h
>>conftest.
$ac_ext
20172 cat >>conftest.
$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20178 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20185 rm -f conftest.
$ac_objext
20186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20187 (eval $ac_compile) 2>conftest.er1
20189 grep -v '^ *+' conftest.er1
>conftest.err
20191 cat conftest.err
>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } &&
20194 { ac_try
='test -z "$ac_cxx_werror_flag"
20195 || test ! -s conftest.err'
20196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20197 (eval $ac_try) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; } &&
20201 { ac_try
='test -s conftest.$ac_objext'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; }; then
20207 ac_hi
=$ac_mid; break
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.
$ac_ext >&5
20212 ac_lo
=`expr $ac_mid + 1`
20213 if test $ac_lo -le $ac_mid; then
20217 ac_mid
=`expr 2 '*' $ac_mid + 1`
20219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.
$ac_ext >&5
20225 cat >conftest.
$ac_ext <<_ACEOF
20228 cat confdefs.h
>>conftest.
$ac_ext
20229 cat >>conftest.
$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20231 $ac_includes_default
20235 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20242 rm -f conftest.
$ac_objext
20243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20244 (eval $ac_compile) 2>conftest.er1
20246 grep -v '^ *+' conftest.er1
>conftest.err
20248 cat conftest.err
>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); } &&
20251 { ac_try
='test -z "$ac_cxx_werror_flag"
20252 || test ! -s conftest.err'
20253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20254 (eval $ac_try) 2>&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); }; } &&
20258 { ac_try
='test -s conftest.$ac_objext'
20259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20260 (eval $ac_try) 2>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); }; }; then
20266 cat >conftest.
$ac_ext <<_ACEOF
20269 cat confdefs.h
>>conftest.
$ac_ext
20270 cat >>conftest.
$ac_ext <<_ACEOF
20271 /* end confdefs.h. */
20272 $ac_includes_default
20276 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20283 rm -f conftest.
$ac_objext
20284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20285 (eval $ac_compile) 2>conftest.er1
20287 grep -v '^ *+' conftest.er1
>conftest.err
20289 cat conftest.err
>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } &&
20292 { ac_try
='test -z "$ac_cxx_werror_flag"
20293 || test ! -s conftest.err'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; } &&
20299 { ac_try
='test -s conftest.$ac_objext'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; }; then
20305 ac_lo
=$ac_mid; break
20307 echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.
$ac_ext >&5
20310 ac_hi
=`expr '(' $ac_mid ')' - 1`
20311 if test $ac_mid -le $ac_hi; then
20315 ac_mid
=`expr 2 '*' $ac_mid`
20317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.
$ac_ext >&5
20325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20328 # Binary search between lo and hi bounds.
20329 while test "x$ac_lo" != "x$ac_hi"; do
20330 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20331 cat >conftest.
$ac_ext <<_ACEOF
20334 cat confdefs.h
>>conftest.
$ac_ext
20335 cat >>conftest.
$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337 $ac_includes_default
20341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20348 rm -f conftest.
$ac_objext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20350 (eval $ac_compile) 2>conftest.er1
20352 grep -v '^ *+' conftest.er1
>conftest.err
20354 cat conftest.err
>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); } &&
20357 { ac_try
='test -z "$ac_cxx_werror_flag"
20358 || test ! -s conftest.err'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try
='test -s conftest.$ac_objext'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.
$ac_ext >&5
20375 ac_lo
=`expr '(' $ac_mid ')' + 1`
20377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20380 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20381 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20382 See \`config.log' for more details." >&5
20383 echo "$as_me: error: cannot compute sizeof (long long), 77
20384 See \`config.log' for more details." >&2;}
20385 { (exit 1); exit 1; }; } ;;
20388 if test "$cross_compiling" = yes; then
20389 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20390 See \`config.log' for more details." >&5
20391 echo "$as_me: error: cannot run test program while cross compiling
20392 See \`config.log' for more details." >&2;}
20393 { (exit 1); exit 1; }; }
20395 cat >conftest.
$ac_ext <<_ACEOF
20398 cat confdefs.h
>>conftest.
$ac_ext
20399 cat >>conftest.
$ac_ext <<_ACEOF
20400 /* end confdefs.h. */
20401 $ac_includes_default
20402 long longval () { return (long) (sizeof (long long)); }
20403 unsigned long ulongval () { return (long) (sizeof (long long)); }
20405 #include <stdlib.h>
20410 FILE *f = fopen ("conftest.val", "w");
20413 if (((long) (sizeof (long long))) < 0)
20415 long i = longval ();
20416 if (i != ((long) (sizeof (long long))))
20418 fprintf (f, "%ld\n", i);
20422 unsigned long i = ulongval ();
20423 if (i != ((long) (sizeof (long long))))
20425 fprintf (f, "%lu\n", i);
20427 exit (ferror (f) || fclose (f) != 0);
20433 rm -f conftest
$ac_exeext
20434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20435 (eval $ac_link) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_cv_sizeof_long_long
=`cat conftest.val`
20446 echo "$as_me: program exited with status $ac_status" >&5
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.
$ac_ext >&5
20450 ( exit $ac_status )
20451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20452 See \`config.log' for more details." >&5
20453 echo "$as_me: error: cannot compute sizeof (long long), 77
20454 See \`config.log' for more details." >&2;}
20455 { (exit 1); exit 1; }; }
20457 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20462 ac_cv_sizeof_long_long
=0
20465 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20466 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20467 cat >>confdefs.h
<<_ACEOF
20468 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20474 echo "$as_me:$LINENO: checking for long long" >&5
20475 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20476 if test "${ac_cv_type_long_long+set}" = set; then
20477 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 cat >conftest.
$ac_ext <<_ACEOF
20482 cat confdefs.h
>>conftest.
$ac_ext
20483 cat >>conftest.
$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20489 if ((long long *) 0)
20491 if (sizeof (long long))
20497 rm -f conftest.
$ac_objext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20499 (eval $ac_compile) 2>conftest.er1
20501 grep -v '^ *+' conftest.er1
>conftest.err
20503 cat conftest.err
>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try
='test -z "$ac_cxx_werror_flag"
20507 || test ! -s conftest.err'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; } &&
20513 { ac_try
='test -s conftest.$ac_objext'
20514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 (eval $ac_try) 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 ac_cv_type_long_long
=yes
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.
$ac_ext >&5
20524 ac_cv_type_long_long
=no
20526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20528 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20529 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20531 echo "$as_me:$LINENO: checking size of long long" >&5
20532 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20533 if test "${ac_cv_sizeof_long_long+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 if test "$ac_cv_type_long_long" = yes; then
20537 # The cast to unsigned long works around a bug in the HP C Compiler
20538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20540 # This bug is HP SR number 8606223364.
20541 if test "$cross_compiling" = yes; then
20542 # Depending upon the size, compute the lo and hi bounds.
20543 cat >conftest.
$ac_ext <<_ACEOF
20546 cat confdefs.h
>>conftest.
$ac_ext
20547 cat >>conftest.
$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20553 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20560 rm -f conftest.
$ac_objext
20561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20562 (eval $ac_compile) 2>conftest.er1
20564 grep -v '^ *+' conftest.er1
>conftest.err
20566 cat conftest.err
>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } &&
20569 { ac_try
='test -z "$ac_cxx_werror_flag"
20570 || test ! -s conftest.err'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; } &&
20576 { ac_try
='test -s conftest.$ac_objext'
20577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20578 (eval $ac_try) 2>&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); }; }; then
20584 cat >conftest.
$ac_ext <<_ACEOF
20587 cat confdefs.h
>>conftest.
$ac_ext
20588 cat >>conftest.
$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 $ac_includes_default
20594 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20601 rm -f conftest.
$ac_objext
20602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20603 (eval $ac_compile) 2>conftest.er1
20605 grep -v '^ *+' conftest.er1
>conftest.err
20607 cat conftest.err
>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } &&
20610 { ac_try
='test -z "$ac_cxx_werror_flag"
20611 || test ! -s conftest.err'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; } &&
20617 { ac_try
='test -s conftest.$ac_objext'
20618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20619 (eval $ac_try) 2>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); }; }; then
20623 ac_hi
=$ac_mid; break
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.
$ac_ext >&5
20628 ac_lo
=`expr $ac_mid + 1`
20629 if test $ac_lo -le $ac_mid; then
20633 ac_mid
=`expr 2 '*' $ac_mid + 1`
20635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.
$ac_ext >&5
20641 cat >conftest.
$ac_ext <<_ACEOF
20644 cat confdefs.h
>>conftest.
$ac_ext
20645 cat >>conftest.
$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20647 $ac_includes_default
20651 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20658 rm -f conftest.
$ac_objext
20659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20660 (eval $ac_compile) 2>conftest.er1
20662 grep -v '^ *+' conftest.er1
>conftest.err
20664 cat conftest.err
>&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } &&
20667 { ac_try
='test -z "$ac_cxx_werror_flag"
20668 || test ! -s conftest.err'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; } &&
20674 { ac_try
='test -s conftest.$ac_objext'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; }; then
20682 cat >conftest.
$ac_ext <<_ACEOF
20685 cat confdefs.h
>>conftest.
$ac_ext
20686 cat >>conftest.
$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 $ac_includes_default
20692 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20699 rm -f conftest.
$ac_objext
20700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20701 (eval $ac_compile) 2>conftest.er1
20703 grep -v '^ *+' conftest.er1
>conftest.err
20705 cat conftest.err
>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } &&
20708 { ac_try
='test -z "$ac_cxx_werror_flag"
20709 || test ! -s conftest.err'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; } &&
20715 { ac_try
='test -s conftest.$ac_objext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 ac_lo
=$ac_mid; break
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.
$ac_ext >&5
20726 ac_hi
=`expr '(' $ac_mid ')' - 1`
20727 if test $ac_mid -le $ac_hi; then
20731 ac_mid
=`expr 2 '*' $ac_mid`
20733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.
$ac_ext >&5
20741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20744 # Binary search between lo and hi bounds.
20745 while test "x$ac_lo" != "x$ac_hi"; do
20746 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20747 cat >conftest.
$ac_ext <<_ACEOF
20750 cat confdefs.h
>>conftest.
$ac_ext
20751 cat >>conftest.
$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20753 $ac_includes_default
20757 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20764 rm -f conftest.
$ac_objext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20766 (eval $ac_compile) 2>conftest.er1
20768 grep -v '^ *+' conftest.er1
>conftest.err
20770 cat conftest.err
>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } &&
20773 { ac_try
='test -z "$ac_cxx_werror_flag"
20774 || test ! -s conftest.err'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; } &&
20780 { ac_try
='test -s conftest.$ac_objext'
20781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20782 (eval $ac_try) 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; }; then
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.
$ac_ext >&5
20791 ac_lo
=`expr '(' $ac_mid ')' + 1`
20793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20796 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20797 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20798 See \`config.log' for more details." >&5
20799 echo "$as_me: error: cannot compute sizeof (long long), 77
20800 See \`config.log' for more details." >&2;}
20801 { (exit 1); exit 1; }; } ;;
20804 if test "$cross_compiling" = yes; then
20805 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20806 See \`config.log' for more details." >&5
20807 echo "$as_me: error: cannot run test program while cross compiling
20808 See \`config.log' for more details." >&2;}
20809 { (exit 1); exit 1; }; }
20811 cat >conftest.
$ac_ext <<_ACEOF
20814 cat confdefs.h
>>conftest.
$ac_ext
20815 cat >>conftest.
$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 long longval () { return (long) (sizeof (long long)); }
20819 unsigned long ulongval () { return (long) (sizeof (long long)); }
20821 #include <stdlib.h>
20826 FILE *f = fopen ("conftest.val", "w");
20829 if (((long) (sizeof (long long))) < 0)
20831 long i = longval ();
20832 if (i != ((long) (sizeof (long long))))
20834 fprintf (f, "%ld\n", i);
20838 unsigned long i = ulongval ();
20839 if (i != ((long) (sizeof (long long))))
20841 fprintf (f, "%lu\n", i);
20843 exit (ferror (f) || fclose (f) != 0);
20849 rm -f conftest
$ac_exeext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20851 (eval $ac_link) 2>&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; }; then
20860 ac_cv_sizeof_long_long
=`cat conftest.val`
20862 echo "$as_me: program exited with status $ac_status" >&5
20863 echo "$as_me: failed program was:" >&5
20864 sed 's/^/| /' conftest.
$ac_ext >&5
20866 ( exit $ac_status )
20867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20868 See \`config.log' for more details." >&5
20869 echo "$as_me: error: cannot compute sizeof (long long), 77
20870 See \`config.log' for more details." >&2;}
20871 { (exit 1); exit 1; }; }
20873 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20878 ac_cv_sizeof_long_long
=0
20881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20882 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20883 cat >>confdefs.h
<<_ACEOF
20884 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20888 if test "$ac_cv_sizeof_long_long" != "0"; then
20889 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20893 echo "$as_me:$LINENO: checking for long long" >&5
20894 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20895 if test "${ac_cv_type_long_long+set}" = set; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 cat >conftest.
$ac_ext <<_ACEOF
20901 cat confdefs.h
>>conftest.
$ac_ext
20902 cat >>conftest.
$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 $ac_includes_default
20908 if ((long long *) 0)
20910 if (sizeof (long long))
20916 rm -f conftest.
$ac_objext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20918 (eval $ac_compile) 2>conftest.er1
20920 grep -v '^ *+' conftest.er1
>conftest.err
20922 cat conftest.err
>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } &&
20925 { ac_try
='test -z "$ac_cxx_werror_flag"
20926 || test ! -s conftest.err'
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928 (eval $ac_try) 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); }; } &&
20932 { ac_try
='test -s conftest.$ac_objext'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; }; then
20938 ac_cv_type_long_long
=yes
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.
$ac_ext >&5
20943 ac_cv_type_long_long
=no
20945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20947 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20948 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20950 echo "$as_me:$LINENO: checking size of long long" >&5
20951 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20952 if test "${ac_cv_sizeof_long_long+set}" = set; then
20953 echo $ECHO_N "(cached) $ECHO_C" >&6
20955 if test "$ac_cv_type_long_long" = yes; then
20956 # The cast to unsigned long works around a bug in the HP C Compiler
20957 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20958 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20959 # This bug is HP SR number 8606223364.
20960 if test "$cross_compiling" = yes; then
20961 # Depending upon the size, compute the lo and hi bounds.
20962 cat >conftest.
$ac_ext <<_ACEOF
20965 cat confdefs.h
>>conftest.
$ac_ext
20966 cat >>conftest.
$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20968 $ac_includes_default
20972 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20979 rm -f conftest.
$ac_objext
20980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20981 (eval $ac_compile) 2>conftest.er1
20983 grep -v '^ *+' conftest.er1
>conftest.err
20985 cat conftest.err
>&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); } &&
20988 { ac_try
='test -z "$ac_cxx_werror_flag"
20989 || test ! -s conftest.err'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; } &&
20995 { ac_try
='test -s conftest.$ac_objext'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; }; then
21003 cat >conftest.
$ac_ext <<_ACEOF
21006 cat confdefs.h
>>conftest.
$ac_ext
21007 cat >>conftest.
$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009 $ac_includes_default
21013 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21020 rm -f conftest.
$ac_objext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21022 (eval $ac_compile) 2>conftest.er1
21024 grep -v '^ *+' conftest.er1
>conftest.err
21026 cat conftest.err
>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try
='test -z "$ac_cxx_werror_flag"
21030 || test ! -s conftest.err'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; } &&
21036 { ac_try
='test -s conftest.$ac_objext'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21042 ac_hi
=$ac_mid; break
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.
$ac_ext >&5
21047 ac_lo
=`expr $ac_mid + 1`
21048 if test $ac_lo -le $ac_mid; then
21052 ac_mid
=`expr 2 '*' $ac_mid + 1`
21054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.
$ac_ext >&5
21060 cat >conftest.
$ac_ext <<_ACEOF
21063 cat confdefs.h
>>conftest.
$ac_ext
21064 cat >>conftest.
$ac_ext <<_ACEOF
21065 /* end confdefs.h. */
21066 $ac_includes_default
21070 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21077 rm -f conftest.
$ac_objext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21079 (eval $ac_compile) 2>conftest.er1
21081 grep -v '^ *+' conftest.er1
>conftest.err
21083 cat conftest.err
>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try
='test -z "$ac_cxx_werror_flag"
21087 || test ! -s conftest.err'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; } &&
21093 { ac_try
='test -s conftest.$ac_objext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21101 cat >conftest.
$ac_ext <<_ACEOF
21104 cat confdefs.h
>>conftest.
$ac_ext
21105 cat >>conftest.
$ac_ext <<_ACEOF
21106 /* end confdefs.h. */
21107 $ac_includes_default
21111 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21118 rm -f conftest.
$ac_objext
21119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21120 (eval $ac_compile) 2>conftest.er1
21122 grep -v '^ *+' conftest.er1
>conftest.err
21124 cat conftest.err
>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } &&
21127 { ac_try
='test -z "$ac_cxx_werror_flag"
21128 || test ! -s conftest.err'
21129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21130 (eval $ac_try) 2>&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); }; } &&
21134 { ac_try
='test -s conftest.$ac_objext'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; }; then
21140 ac_lo
=$ac_mid; break
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.
$ac_ext >&5
21145 ac_hi
=`expr '(' $ac_mid ')' - 1`
21146 if test $ac_mid -le $ac_hi; then
21150 ac_mid
=`expr 2 '*' $ac_mid`
21152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.
$ac_ext >&5
21160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21163 # Binary search between lo and hi bounds.
21164 while test "x$ac_lo" != "x$ac_hi"; do
21165 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21166 cat >conftest.
$ac_ext <<_ACEOF
21169 cat confdefs.h
>>conftest.
$ac_ext
21170 cat >>conftest.
$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21176 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21183 rm -f conftest.
$ac_objext
21184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21185 (eval $ac_compile) 2>conftest.er1
21187 grep -v '^ *+' conftest.er1
>conftest.err
21189 cat conftest.err
>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } &&
21192 { ac_try
='test -z "$ac_cxx_werror_flag"
21193 || test ! -s conftest.err'
21194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21195 (eval $ac_try) 2>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); }; } &&
21199 { ac_try
='test -s conftest.$ac_objext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21207 echo "$as_me: failed program was:" >&5
21208 sed 's/^/| /' conftest.
$ac_ext >&5
21210 ac_lo
=`expr '(' $ac_mid ')' + 1`
21212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21215 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21216 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21217 See \`config.log' for more details." >&5
21218 echo "$as_me: error: cannot compute sizeof (long long), 77
21219 See \`config.log' for more details." >&2;}
21220 { (exit 1); exit 1; }; } ;;
21223 if test "$cross_compiling" = yes; then
21224 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21225 See \`config.log' for more details." >&5
21226 echo "$as_me: error: cannot run test program while cross compiling
21227 See \`config.log' for more details." >&2;}
21228 { (exit 1); exit 1; }; }
21230 cat >conftest.
$ac_ext <<_ACEOF
21233 cat confdefs.h
>>conftest.
$ac_ext
21234 cat >>conftest.
$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21236 $ac_includes_default
21237 long longval () { return (long) (sizeof (long long)); }
21238 unsigned long ulongval () { return (long) (sizeof (long long)); }
21240 #include <stdlib.h>
21245 FILE *f = fopen ("conftest.val", "w");
21248 if (((long) (sizeof (long long))) < 0)
21250 long i = longval ();
21251 if (i != ((long) (sizeof (long long))))
21253 fprintf (f, "%ld\n", i);
21257 unsigned long i = ulongval ();
21258 if (i != ((long) (sizeof (long long))))
21260 fprintf (f, "%lu\n", i);
21262 exit (ferror (f) || fclose (f) != 0);
21268 rm -f conftest
$ac_exeext
21269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21270 (eval $ac_link) 2>&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; }; then
21279 ac_cv_sizeof_long_long
=`cat conftest.val`
21281 echo "$as_me: program exited with status $ac_status" >&5
21282 echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.
$ac_ext >&5
21285 ( exit $ac_status )
21286 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21287 See \`config.log' for more details." >&5
21288 echo "$as_me: error: cannot compute sizeof (long long), 77
21289 See \`config.log' for more details." >&2;}
21290 { (exit 1); exit 1; }; }
21292 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21297 ac_cv_sizeof_long_long
=0
21300 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21301 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21302 cat >>confdefs.h
<<_ACEOF
21303 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21309 echo "$as_me:$LINENO: checking for wchar_t" >&5
21310 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21311 if test "${ac_cv_type_wchar_t+set}" = set; then
21312 echo $ECHO_N "(cached) $ECHO_C" >&6
21314 cat >conftest.
$ac_ext <<_ACEOF
21317 cat confdefs.h
>>conftest.
$ac_ext
21318 cat >>conftest.
$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21321 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21322 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21323 # error "fake wchar_t"
21325 #ifdef HAVE_WCHAR_H
21327 # include <stddef.h>
21329 # include <wchar.h>
21331 #ifdef HAVE_STDLIB_H
21332 # include <stdlib.h>
21343 if (sizeof (wchar_t))
21349 rm -f conftest.
$ac_objext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21351 (eval $ac_compile) 2>conftest.er1
21353 grep -v '^ *+' conftest.er1
>conftest.err
21355 cat conftest.err
>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try
='test -z "$ac_cxx_werror_flag"
21359 || test ! -s conftest.err'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try
='test -s conftest.$ac_objext'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; }; then
21371 ac_cv_type_wchar_t
=yes
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21376 ac_cv_type_wchar_t
=no
21378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21380 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21381 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21383 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21384 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21385 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 if test "$ac_cv_type_wchar_t" = yes; then
21389 # The cast to unsigned long works around a bug in the HP C Compiler
21390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21392 # This bug is HP SR number 8606223364.
21393 if test "$cross_compiling" = yes; then
21394 # Depending upon the size, compute the lo and hi bounds.
21395 cat >conftest.
$ac_ext <<_ACEOF
21398 cat confdefs.h
>>conftest.
$ac_ext
21399 cat >>conftest.
$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21402 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21403 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21404 # error "fake wchar_t"
21406 #ifdef HAVE_WCHAR_H
21408 # include <stddef.h>
21410 # include <wchar.h>
21412 #ifdef HAVE_STDLIB_H
21413 # include <stdlib.h>
21422 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21429 rm -f conftest.
$ac_objext
21430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21431 (eval $ac_compile) 2>conftest.er1
21433 grep -v '^ *+' conftest.er1
>conftest.err
21435 cat conftest.err
>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try
='test -z "$ac_cxx_werror_flag"
21439 || test ! -s conftest.err'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try
='test -s conftest.$ac_objext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21453 cat >conftest.
$ac_ext <<_ACEOF
21456 cat confdefs.h
>>conftest.
$ac_ext
21457 cat >>conftest.
$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21460 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21461 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21462 # error "fake wchar_t"
21464 #ifdef HAVE_WCHAR_H
21466 # include <stddef.h>
21468 # include <wchar.h>
21470 #ifdef HAVE_STDLIB_H
21471 # include <stdlib.h>
21480 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21487 rm -f conftest.
$ac_objext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21489 (eval $ac_compile) 2>conftest.er1
21491 grep -v '^ *+' conftest.er1
>conftest.err
21493 cat conftest.err
>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); } &&
21496 { ac_try
='test -z "$ac_cxx_werror_flag"
21497 || test ! -s conftest.err'
21498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21499 (eval $ac_try) 2>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; } &&
21503 { ac_try
='test -s conftest.$ac_objext'
21504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21505 (eval $ac_try) 2>&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); }; }; then
21509 ac_hi
=$ac_mid; break
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.
$ac_ext >&5
21514 ac_lo
=`expr $ac_mid + 1`
21515 if test $ac_lo -le $ac_mid; then
21519 ac_mid
=`expr 2 '*' $ac_mid + 1`
21521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21524 echo "$as_me: failed program was:" >&5
21525 sed 's/^/| /' conftest.
$ac_ext >&5
21527 cat >conftest.
$ac_ext <<_ACEOF
21530 cat confdefs.h
>>conftest.
$ac_ext
21531 cat >>conftest.
$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21534 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21535 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21536 # error "fake wchar_t"
21538 #ifdef HAVE_WCHAR_H
21540 # include <stddef.h>
21542 # include <wchar.h>
21544 #ifdef HAVE_STDLIB_H
21545 # include <stdlib.h>
21554 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21561 rm -f conftest.
$ac_objext
21562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21563 (eval $ac_compile) 2>conftest.er1
21565 grep -v '^ *+' conftest.er1
>conftest.err
21567 cat conftest.err
>&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } &&
21570 { ac_try
='test -z "$ac_cxx_werror_flag"
21571 || test ! -s conftest.err'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; } &&
21577 { ac_try
='test -s conftest.$ac_objext'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; }; then
21585 cat >conftest.
$ac_ext <<_ACEOF
21588 cat confdefs.h
>>conftest.
$ac_ext
21589 cat >>conftest.
$ac_ext <<_ACEOF
21590 /* end confdefs.h. */
21592 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21593 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21594 # error "fake wchar_t"
21596 #ifdef HAVE_WCHAR_H
21598 # include <stddef.h>
21600 # include <wchar.h>
21602 #ifdef HAVE_STDLIB_H
21603 # include <stdlib.h>
21612 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21619 rm -f conftest.
$ac_objext
21620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21621 (eval $ac_compile) 2>conftest.er1
21623 grep -v '^ *+' conftest.er1
>conftest.err
21625 cat conftest.err
>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } &&
21628 { ac_try
='test -z "$ac_cxx_werror_flag"
21629 || test ! -s conftest.err'
21630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21631 (eval $ac_try) 2>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; } &&
21635 { ac_try
='test -s conftest.$ac_objext'
21636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21637 (eval $ac_try) 2>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); }; }; then
21641 ac_lo
=$ac_mid; break
21643 echo "$as_me: failed program was:" >&5
21644 sed 's/^/| /' conftest.
$ac_ext >&5
21646 ac_hi
=`expr '(' $ac_mid ')' - 1`
21647 if test $ac_mid -le $ac_hi; then
21651 ac_mid
=`expr 2 '*' $ac_mid`
21653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.
$ac_ext >&5
21661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21664 # Binary search between lo and hi bounds.
21665 while test "x$ac_lo" != "x$ac_hi"; do
21666 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21667 cat >conftest.
$ac_ext <<_ACEOF
21670 cat confdefs.h
>>conftest.
$ac_ext
21671 cat >>conftest.
$ac_ext <<_ACEOF
21672 /* end confdefs.h. */
21674 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21675 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21676 # error "fake wchar_t"
21678 #ifdef HAVE_WCHAR_H
21680 # include <stddef.h>
21682 # include <wchar.h>
21684 #ifdef HAVE_STDLIB_H
21685 # include <stdlib.h>
21694 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21701 rm -f conftest.
$ac_objext
21702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21703 (eval $ac_compile) 2>conftest.er1
21705 grep -v '^ *+' conftest.er1
>conftest.err
21707 cat conftest.err
>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); } &&
21710 { ac_try
='test -z "$ac_cxx_werror_flag"
21711 || test ! -s conftest.err'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; } &&
21717 { ac_try
='test -s conftest.$ac_objext'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; }; then
21725 echo "$as_me: failed program was:" >&5
21726 sed 's/^/| /' conftest.
$ac_ext >&5
21728 ac_lo
=`expr '(' $ac_mid ')' + 1`
21730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21733 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21734 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21735 See \`config.log' for more details." >&5
21736 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21737 See \`config.log' for more details." >&2;}
21738 { (exit 1); exit 1; }; } ;;
21741 if test "$cross_compiling" = yes; then
21742 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21743 See \`config.log' for more details." >&5
21744 echo "$as_me: error: cannot run test program while cross compiling
21745 See \`config.log' for more details." >&2;}
21746 { (exit 1); exit 1; }; }
21748 cat >conftest.
$ac_ext <<_ACEOF
21751 cat confdefs.h
>>conftest.
$ac_ext
21752 cat >>conftest.
$ac_ext <<_ACEOF
21753 /* end confdefs.h. */
21755 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21756 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21757 # error "fake wchar_t"
21759 #ifdef HAVE_WCHAR_H
21761 # include <stddef.h>
21763 # include <wchar.h>
21765 #ifdef HAVE_STDLIB_H
21766 # include <stdlib.h>
21772 long longval () { return (long) (sizeof (wchar_t)); }
21773 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21775 #include <stdlib.h>
21780 FILE *f = fopen ("conftest.val", "w");
21783 if (((long) (sizeof (wchar_t))) < 0)
21785 long i = longval ();
21786 if (i != ((long) (sizeof (wchar_t))))
21788 fprintf (f, "%ld\n", i);
21792 unsigned long i = ulongval ();
21793 if (i != ((long) (sizeof (wchar_t))))
21795 fprintf (f, "%lu\n", i);
21797 exit (ferror (f) || fclose (f) != 0);
21803 rm -f conftest
$ac_exeext
21804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21805 (eval $ac_link) 2>&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; }; then
21814 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21816 echo "$as_me: program exited with status $ac_status" >&5
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.
$ac_ext >&5
21820 ( exit $ac_status )
21821 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21822 See \`config.log' for more details." >&5
21823 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21824 See \`config.log' for more details." >&2;}
21825 { (exit 1); exit 1; }; }
21827 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21832 ac_cv_sizeof_wchar_t
=0
21835 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21836 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21837 cat >>confdefs.h
<<_ACEOF
21838 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21842 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21848 echo "$as_me:$LINENO: checking for va_copy" >&5
21849 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21850 if test "${wx_cv_func_va_copy+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21854 cat >conftest.
$ac_ext <<_ACEOF
21856 #include <stdarg.h>
21857 void foo(char *f, ...)
21871 rm -f conftest.
$ac_objext conftest
$ac_exeext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21873 (eval $ac_link) 2>conftest.er1
21875 grep -v '^ *+' conftest.er1
>conftest.err
21877 cat conftest.err
>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try
='test -z "$ac_cxx_werror_flag"
21881 || test ! -s conftest.err'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; } &&
21887 { ac_try
='test -s conftest$ac_exeext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21893 wx_cv_func_va_copy
=yes
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.
$ac_ext >&5
21898 wx_cv_func_va_copy
=no
21901 rm -f conftest.err conftest.
$ac_objext \
21902 conftest
$ac_exeext conftest.
$ac_ext
21906 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21907 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21909 if test $wx_cv_func_va_copy = "yes"; then
21910 cat >>confdefs.h
<<\_ACEOF
21911 #define HAVE_VA_COPY 1
21915 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21916 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21917 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 if test "$cross_compiling" = yes; then
21922 wx_cv_type_va_list_lvalue
=yes
21925 cat >conftest.
$ac_ext <<_ACEOF
21927 #include <stdarg.h>
21928 int foo(char *f, ...)
21933 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21941 return foo("hi", 17);
21944 rm -f conftest
$ac_exeext
21945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21946 (eval $ac_link) 2>&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21951 (eval $ac_try) 2>&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); }; }; then
21955 wx_cv_type_va_list_lvalue
=yes
21957 echo "$as_me: program exited with status $ac_status" >&5
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.
$ac_ext >&5
21961 ( exit $ac_status )
21962 wx_cv_type_va_list_lvalue
=no
21964 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21969 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21970 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21972 if test $wx_cv_type_va_list_lvalue != "yes"; then
21973 cat >>confdefs.h
<<\_ACEOF
21974 #define VA_LIST_IS_ARRAY 1
21980 # Check whether --enable-largefile or --disable-largefile was given.
21981 if test "${enable_largefile+set}" = set; then
21982 enableval
="$enable_largefile"
21985 if test "$enable_largefile" != no
; then
21988 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21989 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21990 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21991 echo $ECHO_N "(cached) $ECHO_C" >&6
21994 cat >conftest.
$ac_ext <<_ACEOF
21997 cat confdefs.h
>>conftest.
$ac_ext
21998 cat >>conftest.
$ac_ext <<_ACEOF
21999 /* end confdefs.h. */
22000 #define _FILE_OFFSET_BITS 64
22001 #include <sys/types.h>
22006 unsigned int field: sizeof(off_t) == 8;
22013 rm -f conftest.
$ac_objext
22014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22015 (eval $ac_compile) 2>conftest.er1
22017 grep -v '^ *+' conftest.er1
>conftest.err
22019 cat conftest.err
>&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } &&
22022 { ac_try
='test -z "$ac_cxx_werror_flag"
22023 || test ! -s conftest.err'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; } &&
22029 { ac_try
='test -s conftest.$ac_objext'
22030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22031 (eval $ac_try) 2>&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22035 ac_cv_sys_file_offset_bits
=64
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.
$ac_ext >&5
22040 ac_cv_sys_file_offset_bits
=no
22042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22046 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22047 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22049 if test "$ac_cv_sys_file_offset_bits" != no
; then
22051 cat >>confdefs.h
<<_ACEOF
22052 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22057 if test "x$wx_largefile" != "xyes"; then
22059 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22060 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22061 if test "${ac_cv_sys_large_files+set}" = set; then
22062 echo $ECHO_N "(cached) $ECHO_C" >&6
22065 cat >conftest.
$ac_ext <<_ACEOF
22068 cat confdefs.h
>>conftest.
$ac_ext
22069 cat >>conftest.
$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22071 #define _LARGE_FILES 1
22072 #include <sys/types.h>
22077 unsigned int field: sizeof(off_t) == 8;
22084 rm -f conftest.
$ac_objext
22085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22086 (eval $ac_compile) 2>conftest.er1
22088 grep -v '^ *+' conftest.er1
>conftest.err
22090 cat conftest.err
>&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } &&
22093 { ac_try
='test -z "$ac_cxx_werror_flag"
22094 || test ! -s conftest.err'
22095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22096 (eval $ac_try) 2>&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); }; } &&
22100 { ac_try
='test -s conftest.$ac_objext'
22101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22102 (eval $ac_try) 2>&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); }; }; then
22106 ac_cv_sys_large_files
=1
22108 echo "$as_me: failed program was:" >&5
22109 sed 's/^/| /' conftest.
$ac_ext >&5
22111 ac_cv_sys_large_files
=no
22113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22117 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22118 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22120 if test "$ac_cv_sys_large_files" != no
; then
22122 cat >>confdefs.h
<<_ACEOF
22123 #define _LARGE_FILES $ac_cv_sys_large_files
22130 echo "$as_me:$LINENO: checking if large file support is available" >&5
22131 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22132 if test "x$wx_largefile" = "xyes"; then
22133 cat >>confdefs.h
<<\_ACEOF
22134 #define HAVE_LARGEFILE_SUPPORT 1
22138 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22139 echo "${ECHO_T}$wx_largefile" >&6
22143 if test "x$wx_largefile" = "xyes"; then
22144 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22145 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22147 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22148 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22149 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22150 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22151 echo $ECHO_N "(cached) $ECHO_C" >&6
22154 cat >conftest.
$ac_ext <<_ACEOF
22157 cat confdefs.h
>>conftest.
$ac_ext
22158 cat >>conftest.
$ac_ext <<_ACEOF
22159 /* end confdefs.h. */
22165 #ifndef __STDC_EXT__
22173 rm -f conftest.
$ac_objext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22175 (eval $ac_compile) 2>conftest.er1
22177 grep -v '^ *+' conftest.er1
>conftest.err
22179 cat conftest.err
>&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); } &&
22182 { ac_try
='test -z "$ac_cxx_werror_flag"
22183 || test ! -s conftest.err'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; } &&
22189 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22195 wx_cv_STDC_EXT_required
=no
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.
$ac_ext >&5
22200 wx_cv_STDC_EXT_required
=yes
22203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22207 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22208 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22209 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22210 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22214 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22216 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22217 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22218 if test "${ac_cv_sys_largefile_source+set}" = set; then
22219 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 ac_cv_sys_largefile_source
=no
22223 cat >conftest.
$ac_ext <<_ACEOF
22226 cat confdefs.h
>>conftest.
$ac_ext
22227 cat >>conftest.
$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22238 rm -f conftest.
$ac_objext
22239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22240 (eval $ac_compile) 2>conftest.er1
22242 grep -v '^ *+' conftest.er1
>conftest.err
22244 cat conftest.err
>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } &&
22247 { ac_try
='test -z "$ac_cxx_werror_flag"
22248 || test ! -s conftest.err'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; } &&
22254 { ac_try
='test -s conftest.$ac_objext'
22255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22256 (eval $ac_try) 2>&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); }; }; then
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.
$ac_ext >&5
22266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22267 cat >conftest.
$ac_ext <<_ACEOF
22270 cat confdefs.h
>>conftest.
$ac_ext
22271 cat >>conftest.
$ac_ext <<_ACEOF
22272 /* end confdefs.h. */
22273 #define _LARGEFILE_SOURCE 1
22283 rm -f conftest.
$ac_objext
22284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22285 (eval $ac_compile) 2>conftest.er1
22287 grep -v '^ *+' conftest.er1
>conftest.err
22289 cat conftest.err
>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } &&
22292 { ac_try
='test -z "$ac_cxx_werror_flag"
22293 || test ! -s conftest.err'
22294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22295 (eval $ac_try) 2>&5
22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298 (exit $ac_status); }; } &&
22299 { ac_try
='test -s conftest.$ac_objext'
22300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22301 (eval $ac_try) 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; }; then
22305 ac_cv_sys_largefile_source
=1; break
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.
$ac_ext >&5
22311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22315 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22316 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22317 if test "$ac_cv_sys_largefile_source" != no
; then
22319 cat >>confdefs.h
<<_ACEOF
22320 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22326 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22327 # in glibc 2.1.3, but that breaks too many other things.
22328 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22329 echo "$as_me:$LINENO: checking for fseeko" >&5
22330 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22331 if test "${ac_cv_func_fseeko+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22334 cat >conftest.
$ac_ext <<_ACEOF
22337 cat confdefs.h
>>conftest.
$ac_ext
22338 cat >>conftest.
$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22344 return fseeko && fseeko (stdin, 0, 0);
22349 rm -f conftest.
$ac_objext conftest
$ac_exeext
22350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22351 (eval $ac_link) 2>conftest.er1
22353 grep -v '^ *+' conftest.er1
>conftest.err
22355 cat conftest.err
>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try
='test -z "$ac_cxx_werror_flag"
22359 || test ! -s conftest.err'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try
='test -s conftest$ac_exeext'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371 ac_cv_func_fseeko
=yes
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.
$ac_ext >&5
22376 ac_cv_func_fseeko
=no
22378 rm -f conftest.err conftest.
$ac_objext \
22379 conftest
$ac_exeext conftest.
$ac_ext
22381 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22382 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22383 if test $ac_cv_func_fseeko = yes; then
22385 cat >>confdefs.h
<<\_ACEOF
22386 #define HAVE_FSEEKO 1
22391 if test "$ac_cv_sys_largefile_source" != no
; then
22392 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22396 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22397 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22398 if test "${ac_cv_c_bigendian+set}" = set; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 ac_cv_c_bigendian
=unknown
22402 # See if sys/param.h defines the BYTE_ORDER macro.
22403 cat >conftest.
$ac_ext <<_ACEOF
22406 cat confdefs.h
>>conftest.
$ac_ext
22407 cat >>conftest.
$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22409 #include <sys/types.h>
22410 #include <sys/param.h>
22415 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22416 bogus endian macros
22422 rm -f conftest.
$ac_objext
22423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22424 (eval $ac_compile) 2>conftest.er1
22426 grep -v '^ *+' conftest.er1
>conftest.err
22428 cat conftest.err
>&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); } &&
22431 { ac_try
='test -z "$ac_cxx_werror_flag"
22432 || test ! -s conftest.err'
22433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22434 (eval $ac_try) 2>&5
22436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437 (exit $ac_status); }; } &&
22438 { ac_try
='test -s conftest.$ac_objext'
22439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22440 (eval $ac_try) 2>&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); }; }; then
22444 # It does; now see whether it defined to BIG_ENDIAN or not.
22445 cat >conftest.
$ac_ext <<_ACEOF
22448 cat confdefs.h
>>conftest.
$ac_ext
22449 cat >>conftest.
$ac_ext <<_ACEOF
22450 /* end confdefs.h. */
22451 #include <sys/types.h>
22452 #include <sys/param.h>
22457 #if BYTE_ORDER != BIG_ENDIAN
22464 rm -f conftest.
$ac_objext
22465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22466 (eval $ac_compile) 2>conftest.er1
22468 grep -v '^ *+' conftest.er1
>conftest.err
22470 cat conftest.err
>&5
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); } &&
22473 { ac_try
='test -z "$ac_cxx_werror_flag"
22474 || test ! -s conftest.err'
22475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22476 (eval $ac_try) 2>&5
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); }; } &&
22480 { ac_try
='test -s conftest.$ac_objext'
22481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22482 (eval $ac_try) 2>&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); }; }; then
22486 ac_cv_c_bigendian
=yes
22488 echo "$as_me: failed program was:" >&5
22489 sed 's/^/| /' conftest.
$ac_ext >&5
22491 ac_cv_c_bigendian
=no
22493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22495 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.
$ac_ext >&5
22499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22500 if test $ac_cv_c_bigendian = unknown
; then
22501 if test "$cross_compiling" = yes; then
22502 ac_cv_c_bigendian
=unknown
22504 cat >conftest.
$ac_ext <<_ACEOF
22507 cat confdefs.h
>>conftest.
$ac_ext
22508 cat >>conftest.
$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22511 /* Are we little or big endian? From Harbison&Steele. */
22515 char c[sizeof (long)];
22518 exit (u.c[sizeof (long) - 1] == 1);
22521 rm -f conftest
$ac_exeext
22522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22523 (eval $ac_link) 2>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; }; then
22532 ac_cv_c_bigendian
=no
22534 echo "$as_me: program exited with status $ac_status" >&5
22535 echo "$as_me: failed program was:" >&5
22536 sed 's/^/| /' conftest.
$ac_ext >&5
22538 ( exit $ac_status )
22539 ac_cv_c_bigendian
=yes
22541 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22545 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22546 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22547 if test $ac_cv_c_bigendian = unknown
; then
22548 { 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
22549 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;}
22551 if test $ac_cv_c_bigendian = yes; then
22552 cat >>confdefs.h
<<\_ACEOF
22553 #define WORDS_BIGENDIAN 1
22563 ac_cpp
='$CXXCPP $CPPFLAGS'
22564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22570 for ac_header
in iostream
22572 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22574 echo "$as_me:$LINENO: checking for $ac_header" >&5
22575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22577 echo $ECHO_N "(cached) $ECHO_C" >&6
22579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22582 # Is the header compilable?
22583 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22585 cat >conftest.
$ac_ext <<_ACEOF
22588 cat confdefs.h
>>conftest.
$ac_ext
22589 cat >>conftest.
$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 $ac_includes_default
22592 #include <$ac_header>
22594 rm -f conftest.
$ac_objext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22596 (eval $ac_compile) 2>conftest.er1
22598 grep -v '^ *+' conftest.er1
>conftest.err
22600 cat conftest.err
>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try
='test -z "$ac_cxx_werror_flag"
22604 || test ! -s conftest.err'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; } &&
22610 { ac_try
='test -s conftest.$ac_objext'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 ac_header_compiler
=yes
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.
$ac_ext >&5
22621 ac_header_compiler
=no
22623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22625 echo "${ECHO_T}$ac_header_compiler" >&6
22627 # Is the header present?
22628 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22630 cat >conftest.
$ac_ext <<_ACEOF
22633 cat confdefs.h
>>conftest.
$ac_ext
22634 cat >>conftest.
$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 #include <$ac_header>
22638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22641 grep -v '^ *+' conftest.er1
>conftest.err
22643 cat conftest.err
>&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } >/dev
/null
; then
22646 if test -s conftest.err
; then
22647 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22648 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22655 if test -z "$ac_cpp_err"; then
22656 ac_header_preproc
=yes
22658 echo "$as_me: failed program was:" >&5
22659 sed 's/^/| /' conftest.
$ac_ext >&5
22661 ac_header_preproc
=no
22663 rm -f conftest.err conftest.
$ac_ext
22664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22665 echo "${ECHO_T}$ac_header_preproc" >&6
22667 # So? What about this header?
22668 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22670 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22671 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22673 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22674 ac_header_preproc
=yes
22677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22678 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22680 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22681 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22682 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22684 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22687 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22688 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22691 ## ----------------------------------------- ##
22692 ## Report this to wx-dev@lists.wxwidgets.org ##
22693 ## ----------------------------------------- ##
22696 sed "s/^/$as_me: WARNING: /" >&2
22699 echo "$as_me:$LINENO: checking for $ac_header" >&5
22700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 eval "$as_ac_Header=\$ac_header_preproc"
22706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22711 cat >>confdefs.h
<<_ACEOF
22712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22720 if test "$ac_cv_header_iostream" = "yes" ; then
22723 cat >>confdefs.h
<<\_ACEOF
22724 #define wxUSE_IOSTREAMH 1
22730 ac_cpp
='$CXXCPP $CPPFLAGS'
22731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22738 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22739 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22740 if test "${wx_cv_cpp_bool+set}" = set; then
22741 echo $ECHO_N "(cached) $ECHO_C" >&6
22747 ac_cpp
='$CXXCPP $CPPFLAGS'
22748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22753 cat >conftest.
$ac_ext <<_ACEOF
22756 cat confdefs.h
>>conftest.
$ac_ext
22757 cat >>conftest.
$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22773 rm -f conftest.
$ac_objext
22774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22775 (eval $ac_compile) 2>conftest.er1
22777 grep -v '^ *+' conftest.er1
>conftest.err
22779 cat conftest.err
>&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try
='test -z "$ac_cxx_werror_flag"
22783 || test ! -s conftest.err'
22784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785 (eval $ac_try) 2>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); }; } &&
22789 { ac_try
='test -s conftest.$ac_objext'
22790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22791 (eval $ac_try) 2>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); }; }; then
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.
$ac_ext >&5
22807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22810 ac_cpp
='$CXXCPP $CPPFLAGS'
22811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22817 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22818 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22820 if test "$wx_cv_cpp_bool" = "yes"; then
22821 cat >>confdefs.h
<<\_ACEOF
22822 #define HAVE_BOOL 1
22829 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22830 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22831 if test "${wx_cv_explicit+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22838 ac_cpp
='$CXXCPP $CPPFLAGS'
22839 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22844 cat >conftest.
$ac_ext <<_ACEOF
22847 cat confdefs.h
>>conftest.
$ac_ext
22848 cat >>conftest.
$ac_ext <<_ACEOF
22849 /* end confdefs.h. */
22851 class Foo { public: explicit Foo(int) {} };
22863 rm -f conftest.
$ac_objext
22864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22865 (eval $ac_compile) 2>conftest.er1
22867 grep -v '^ *+' conftest.er1
>conftest.err
22869 cat conftest.err
>&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); } &&
22872 { ac_try
='test -z "$ac_cxx_werror_flag"
22873 || test ! -s conftest.err'
22874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875 (eval $ac_try) 2>&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; } &&
22879 { ac_try
='test -s conftest.$ac_objext'
22880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22881 (eval $ac_try) 2>&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); }; }; then
22886 cat >conftest.
$ac_ext <<_ACEOF
22889 cat confdefs.h
>>conftest.
$ac_ext
22890 cat >>conftest.
$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22893 class Foo { public: explicit Foo(int) {} };
22894 static void TakeFoo(const Foo& foo) { }
22907 rm -f conftest.
$ac_objext
22908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22909 (eval $ac_compile) 2>conftest.er1
22911 grep -v '^ *+' conftest.er1
>conftest.err
22913 cat conftest.err
>&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } &&
22916 { ac_try
='test -z "$ac_cxx_werror_flag"
22917 || test ! -s conftest.err'
22918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22919 (eval $ac_try) 2>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); }; } &&
22923 { ac_try
='test -s conftest.$ac_objext'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; }; then
22931 echo "$as_me: failed program was:" >&5
22932 sed 's/^/| /' conftest.
$ac_ext >&5
22937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.
$ac_ext >&5
22946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22949 ac_cpp
='$CXXCPP $CPPFLAGS'
22950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22956 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22957 echo "${ECHO_T}$wx_cv_explicit" >&6
22959 if test "$wx_cv_explicit" = "yes"; then
22960 cat >>confdefs.h
<<\_ACEOF
22961 #define HAVE_EXPLICIT 1
22967 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22968 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22969 if test "${ac_cv_cxx_const_cast+set}" = set; then
22970 echo $ECHO_N "(cached) $ECHO_C" >&6
22975 ac_cpp
='$CXXCPP $CPPFLAGS'
22976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22980 cat >conftest.
$ac_ext <<_ACEOF
22983 cat confdefs.h
>>conftest.
$ac_ext
22984 cat >>conftest.
$ac_ext <<_ACEOF
22985 /* end confdefs.h. */
22990 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22995 rm -f conftest.
$ac_objext
22996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22997 (eval $ac_compile) 2>conftest.er1
22999 grep -v '^ *+' conftest.er1
>conftest.err
23001 cat conftest.err
>&5
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); } &&
23004 { ac_try
='test -z "$ac_cxx_werror_flag"
23005 || test ! -s conftest.err'
23006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007 (eval $ac_try) 2>&5
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; } &&
23011 { ac_try
='test -s conftest.$ac_objext'
23012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23013 (eval $ac_try) 2>&5
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); }; }; then
23017 ac_cv_cxx_const_cast
=yes
23019 echo "$as_me: failed program was:" >&5
23020 sed 's/^/| /' conftest.
$ac_ext >&5
23022 ac_cv_cxx_const_cast
=no
23024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23026 ac_cpp
='$CXXCPP $CPPFLAGS'
23027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23033 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23034 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23035 if test "$ac_cv_cxx_const_cast" = yes; then
23037 cat >>confdefs.h
<<\_ACEOF
23038 #define HAVE_CONST_CAST
23043 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23044 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23045 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23046 echo $ECHO_N "(cached) $ECHO_C" >&6
23051 ac_cpp
='$CXXCPP $CPPFLAGS'
23052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23056 cat >conftest.
$ac_ext <<_ACEOF
23059 cat confdefs.h
>>conftest.
$ac_ext
23060 cat >>conftest.
$ac_ext <<_ACEOF
23061 /* end confdefs.h. */
23062 #include <typeinfo>
23063 class Base { public : Base () {} virtual void f () = 0;};
23064 class Derived : public Base { public : Derived () {} virtual void f () {} };
23065 class Unrelated { public : Unrelated () {} };
23066 int g (Unrelated&) { return 0; }
23071 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23076 rm -f conftest.
$ac_objext
23077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23078 (eval $ac_compile) 2>conftest.er1
23080 grep -v '^ *+' conftest.er1
>conftest.err
23082 cat conftest.err
>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } &&
23085 { ac_try
='test -z "$ac_cxx_werror_flag"
23086 || test ! -s conftest.err'
23087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23088 (eval $ac_try) 2>&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); }; } &&
23092 { ac_try
='test -s conftest.$ac_objext'
23093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23094 (eval $ac_try) 2>&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); }; }; then
23098 ac_cv_cxx_reinterpret_cast
=yes
23100 echo "$as_me: failed program was:" >&5
23101 sed 's/^/| /' conftest.
$ac_ext >&5
23103 ac_cv_cxx_reinterpret_cast
=no
23105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23107 ac_cpp
='$CXXCPP $CPPFLAGS'
23108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23114 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23115 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23116 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23118 cat >>confdefs.h
<<\_ACEOF
23119 #define HAVE_REINTERPRET_CAST
23124 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23125 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23126 if test "${ac_cv_cxx_static_cast+set}" = set; then
23127 echo $ECHO_N "(cached) $ECHO_C" >&6
23132 ac_cpp
='$CXXCPP $CPPFLAGS'
23133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23137 cat >conftest.
$ac_ext <<_ACEOF
23140 cat confdefs.h
>>conftest.
$ac_ext
23141 cat >>conftest.
$ac_ext <<_ACEOF
23142 /* end confdefs.h. */
23143 #include <typeinfo>
23144 class Base { public : Base () {} virtual void f () = 0; };
23145 class Derived : public Base { public : Derived () {} virtual void f () {} };
23146 int g (Derived&) { return 0; }
23151 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23156 rm -f conftest.
$ac_objext
23157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23158 (eval $ac_compile) 2>conftest.er1
23160 grep -v '^ *+' conftest.er1
>conftest.err
23162 cat conftest.err
>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } &&
23165 { ac_try
='test -z "$ac_cxx_werror_flag"
23166 || test ! -s conftest.err'
23167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23168 (eval $ac_try) 2>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); }; } &&
23172 { ac_try
='test -s conftest.$ac_objext'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; }; then
23178 ac_cv_cxx_static_cast
=yes
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.
$ac_ext >&5
23183 ac_cv_cxx_static_cast
=no
23185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23187 ac_cpp
='$CXXCPP $CPPFLAGS'
23188 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23189 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23190 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23194 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23195 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23196 if test "$ac_cv_cxx_static_cast" = yes; then
23198 cat >>confdefs.h
<<\_ACEOF
23199 #define HAVE_STATIC_CAST
23205 if test "x$SUNCXX" = xyes
; then
23206 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23209 if test "x$SUNCC" = xyes
; then
23210 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23213 if test "x$SGICC" = "xyes"; then
23214 CFLAGS
="-woff 3970 $CFLAGS"
23216 if test "x$SGICXX" = "xyes"; then
23217 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23220 if test "x$HPCC" = "xyes"; then
23221 CFLAGS
="+W 2011,2450 $CFLAGS"
23223 if test "x$HPCXX" = "xyes"; then
23224 CXXFLAGS
="+W 2340 $CXXFLAGS"
23227 if test "x$COMPAQCXX" = "xyes"; then
23228 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23231 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23232 if test "$wxUSE_UNICODE" = "yes"; then
23233 std_string
="std::wstring"
23234 char_type
="wchar_t"
23236 std_string
="std::string"
23240 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23241 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23242 cat >conftest.
$ac_ext <<_ACEOF
23245 cat confdefs.h
>>conftest.
$ac_ext
23246 cat >>conftest.
$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23257 rm -f conftest.
$ac_objext
23258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23259 (eval $ac_compile) 2>conftest.er1
23261 grep -v '^ *+' conftest.er1
>conftest.err
23263 cat conftest.err
>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } &&
23266 { ac_try
='test -z "$ac_cxx_werror_flag"
23267 || test ! -s conftest.err'
23268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23269 (eval $ac_try) 2>&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); }; } &&
23273 { ac_try
='test -s conftest.$ac_objext'
23274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23275 (eval $ac_try) 2>&5
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); }; }; then
23279 echo "$as_me:$LINENO: result: yes" >&5
23280 echo "${ECHO_T}yes" >&6
23281 cat >>confdefs.h
<<\_ACEOF
23282 #define HAVE_STD_WSTRING 1
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.
$ac_ext >&5
23289 echo "$as_me:$LINENO: result: no" >&5
23290 echo "${ECHO_T}no" >&6
23291 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23292 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23293 cat >conftest.
$ac_ext <<_ACEOF
23296 cat confdefs.h
>>conftest.
$ac_ext
23297 cat >>conftest.
$ac_ext <<_ACEOF
23298 /* end confdefs.h. */
23300 #ifdef HAVE_WCHAR_H
23302 # include <stddef.h>
23304 # include <wchar.h>
23306 #ifdef HAVE_STDLIB_H
23307 # include <stdlib.h>
23315 std::basic_string<$char_type> foo;
23316 const $char_type* dummy = foo.c_str();
23321 rm -f conftest.
$ac_objext
23322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23323 (eval $ac_compile) 2>conftest.er1
23325 grep -v '^ *+' conftest.er1
>conftest.err
23327 cat conftest.err
>&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } &&
23330 { ac_try
='test -z "$ac_cxx_werror_flag"
23331 || test ! -s conftest.err'
23332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23333 (eval $ac_try) 2>&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); }; } &&
23337 { ac_try
='test -s conftest.$ac_objext'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 echo "$as_me:$LINENO: result: yes" >&5
23344 echo "${ECHO_T}yes" >&6
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.
$ac_ext >&5
23349 echo "$as_me:$LINENO: result: no" >&5
23350 echo "${ECHO_T}no" >&6
23351 if test "$wxUSE_STL" = "yes"; then
23352 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23353 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23354 { (exit 1); exit 1; }; }
23355 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23356 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23357 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23358 { (exit 1); exit 1; }; }
23360 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23361 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23362 wxUSE_STD_STRING
=no
23367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23373 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23374 echo "$as_me:$LINENO: checking for std::istream" >&5
23375 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23376 if test "${ac_cv_type_std__istream+set}" = set; then
23377 echo $ECHO_N "(cached) $ECHO_C" >&6
23379 cat >conftest.
$ac_ext <<_ACEOF
23382 cat confdefs.h
>>conftest.
$ac_ext
23383 cat >>conftest.
$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 #include <iostream>
23390 if ((std::istream *) 0)
23392 if (sizeof (std::istream))
23398 rm -f conftest.
$ac_objext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23400 (eval $ac_compile) 2>conftest.er1
23402 grep -v '^ *+' conftest.er1
>conftest.err
23404 cat conftest.err
>&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); } &&
23407 { ac_try
='test -z "$ac_cxx_werror_flag"
23408 || test ! -s conftest.err'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; } &&
23414 { ac_try
='test -s conftest.$ac_objext'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23420 ac_cv_type_std__istream
=yes
23422 echo "$as_me: failed program was:" >&5
23423 sed 's/^/| /' conftest.
$ac_ext >&5
23425 ac_cv_type_std__istream
=no
23427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23429 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23430 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23431 if test $ac_cv_type_std__istream = yes; then
23433 cat >>confdefs.h
<<_ACEOF
23434 #define HAVE_STD__ISTREAM 1
23439 wxUSE_STD_IOSTREAM
=no
23441 echo "$as_me:$LINENO: checking for std::ostream" >&5
23442 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23443 if test "${ac_cv_type_std__ostream+set}" = set; then
23444 echo $ECHO_N "(cached) $ECHO_C" >&6
23446 cat >conftest.
$ac_ext <<_ACEOF
23449 cat confdefs.h
>>conftest.
$ac_ext
23450 cat >>conftest.
$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23452 #include <iostream>
23457 if ((std::ostream *) 0)
23459 if (sizeof (std::ostream))
23465 rm -f conftest.
$ac_objext
23466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23467 (eval $ac_compile) 2>conftest.er1
23469 grep -v '^ *+' conftest.er1
>conftest.err
23471 cat conftest.err
>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } &&
23474 { ac_try
='test -z "$ac_cxx_werror_flag"
23475 || test ! -s conftest.err'
23476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23477 (eval $ac_try) 2>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; } &&
23481 { ac_try
='test -s conftest.$ac_objext'
23482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483 (eval $ac_try) 2>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 ac_cv_type_std__ostream
=yes
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.
$ac_ext >&5
23492 ac_cv_type_std__ostream
=no
23494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23496 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23497 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23498 if test $ac_cv_type_std__ostream = yes; then
23500 cat >>confdefs.h
<<_ACEOF
23501 #define HAVE_STD__OSTREAM 1
23506 wxUSE_STD_IOSTREAM
=no
23510 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23511 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23512 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23513 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23514 { (exit 1); exit 1; }; }
23516 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23517 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23522 if test "$wxUSE_STL" = "yes"; then
23523 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23524 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23525 cat >conftest.
$ac_ext <<_ACEOF
23528 cat confdefs.h
>>conftest.
$ac_ext
23529 cat >>conftest.
$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23532 #include <functional>
23533 #include <algorithm>
23539 std::vector<int> moo;
23540 std::list<int> foo;
23541 std::vector<int>::iterator it =
23542 std::find_if(moo.begin(), moo.end(),
23543 std::bind2nd(std::less<int>(), 3));
23548 rm -f conftest.
$ac_objext
23549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23550 (eval $ac_compile) 2>conftest.er1
23552 grep -v '^ *+' conftest.er1
>conftest.err
23554 cat conftest.err
>&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } &&
23557 { ac_try
='test -z "$ac_cxx_werror_flag"
23558 || test ! -s conftest.err'
23559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23560 (eval $ac_try) 2>&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; } &&
23564 { ac_try
='test -s conftest.$ac_objext'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; }; then
23570 echo "$as_me:$LINENO: result: yes" >&5
23571 echo "${ECHO_T}yes" >&6
23573 echo "$as_me: failed program was:" >&5
23574 sed 's/^/| /' conftest.
$ac_ext >&5
23576 echo "$as_me:$LINENO: result: no" >&5
23577 echo "${ECHO_T}no" >&6
23578 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23579 echo "$as_me: error: Basic STL functionality missing" >&2;}
23580 { (exit 1); exit 1; }; }
23582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23584 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23585 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23586 cat >conftest.
$ac_ext <<_ACEOF
23589 cat confdefs.h
>>conftest.
$ac_ext
23590 cat >>conftest.
$ac_ext <<_ACEOF
23591 /* end confdefs.h. */
23596 std::string foo, bar;
23598 foo.compare(1, 1, bar);
23599 foo.compare(1, 1, bar, 1, 1);
23601 foo.compare(1, 1, "");
23602 foo.compare(1, 1, "", 2);
23607 rm -f conftest.
$ac_objext
23608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23609 (eval $ac_compile) 2>conftest.er1
23611 grep -v '^ *+' conftest.er1
>conftest.err
23613 cat conftest.err
>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } &&
23616 { ac_try
='test -z "$ac_cxx_werror_flag"
23617 || test ! -s conftest.err'
23618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23619 (eval $ac_try) 2>&5
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); }; } &&
23623 { ac_try
='test -s conftest.$ac_objext'
23624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23625 (eval $ac_try) 2>&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); }; }; then
23629 echo "$as_me:$LINENO: result: yes" >&5
23630 echo "${ECHO_T}yes" >&6
23631 cat >>confdefs.h
<<\_ACEOF
23632 #define HAVE_STD_STRING_COMPARE 1
23636 echo "$as_me: failed program was:" >&5
23637 sed 's/^/| /' conftest.
$ac_ext >&5
23639 echo "$as_me:$LINENO: result: no" >&5
23640 echo "${ECHO_T}no" >&6
23642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23644 if test "${ac_cv_header_hash_map+set}" = set; then
23645 echo "$as_me:$LINENO: checking for hash_map" >&5
23646 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23647 if test "${ac_cv_header_hash_map+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23650 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23651 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23653 # Is the header compilable?
23654 echo "$as_me:$LINENO: checking hash_map usability" >&5
23655 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23656 cat >conftest.
$ac_ext <<_ACEOF
23659 cat confdefs.h
>>conftest.
$ac_ext
23660 cat >>conftest.
$ac_ext <<_ACEOF
23661 /* end confdefs.h. */
23662 $ac_includes_default
23663 #include <hash_map>
23665 rm -f conftest.
$ac_objext
23666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23667 (eval $ac_compile) 2>conftest.er1
23669 grep -v '^ *+' conftest.er1
>conftest.err
23671 cat conftest.err
>&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } &&
23674 { ac_try
='test -z "$ac_cxx_werror_flag"
23675 || test ! -s conftest.err'
23676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23677 (eval $ac_try) 2>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); }; } &&
23681 { ac_try
='test -s conftest.$ac_objext'
23682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23683 (eval $ac_try) 2>&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; }; then
23687 ac_header_compiler
=yes
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.
$ac_ext >&5
23692 ac_header_compiler
=no
23694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23696 echo "${ECHO_T}$ac_header_compiler" >&6
23698 # Is the header present?
23699 echo "$as_me:$LINENO: checking hash_map presence" >&5
23700 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23701 cat >conftest.
$ac_ext <<_ACEOF
23704 cat confdefs.h
>>conftest.
$ac_ext
23705 cat >>conftest.
$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23707 #include <hash_map>
23709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23712 grep -v '^ *+' conftest.er1
>conftest.err
23714 cat conftest.err
>&5
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); } >/dev
/null
; then
23717 if test -s conftest.err
; then
23718 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23719 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23726 if test -z "$ac_cpp_err"; then
23727 ac_header_preproc
=yes
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.
$ac_ext >&5
23732 ac_header_preproc
=no
23734 rm -f conftest.err conftest.
$ac_ext
23735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23736 echo "${ECHO_T}$ac_header_preproc" >&6
23738 # So? What about this header?
23739 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23741 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23742 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23743 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23744 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23745 ac_header_preproc
=yes
23748 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23749 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23750 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23751 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23752 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23753 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23754 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23755 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23756 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23757 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23758 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23759 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23762 ## ----------------------------------------- ##
23763 ## Report this to wx-dev@lists.wxwidgets.org ##
23764 ## ----------------------------------------- ##
23767 sed "s/^/$as_me: WARNING: /" >&2
23770 echo "$as_me:$LINENO: checking for hash_map" >&5
23771 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23772 if test "${ac_cv_header_hash_map+set}" = set; then
23773 echo $ECHO_N "(cached) $ECHO_C" >&6
23775 ac_cv_header_hash_map
=$ac_header_preproc
23777 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23778 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23781 if test $ac_cv_header_hash_map = yes; then
23782 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23783 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23784 cat >conftest.
$ac_ext <<_ACEOF
23787 cat confdefs.h
>>conftest.
$ac_ext
23788 cat >>conftest.
$ac_ext <<_ACEOF
23789 /* end confdefs.h. */
23790 #include <hash_map>
23791 #include <hash_set>
23795 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23796 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23801 rm -f conftest.
$ac_objext
23802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23803 (eval $ac_compile) 2>conftest.er1
23805 grep -v '^ *+' conftest.er1
>conftest.err
23807 cat conftest.err
>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); } &&
23810 { ac_try
='test -z "$ac_cxx_werror_flag"
23811 || test ! -s conftest.err'
23812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23813 (eval $ac_try) 2>&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); }; } &&
23817 { ac_try
='test -s conftest.$ac_objext'
23818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23819 (eval $ac_try) 2>&5
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); }; }; then
23823 echo "$as_me:$LINENO: result: yes" >&5
23824 echo "${ECHO_T}yes" >&6
23825 cat >>confdefs.h
<<\_ACEOF
23826 #define HAVE_HASH_MAP 1
23829 cat >>confdefs.h
<<\_ACEOF
23830 #define HAVE_STD_HASH_MAP 1
23834 echo "$as_me: failed program was:" >&5
23835 sed 's/^/| /' conftest.
$ac_ext >&5
23837 echo "$as_me:$LINENO: result: no" >&5
23838 echo "${ECHO_T}no" >&6
23840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23846 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23847 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23848 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23849 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23852 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23853 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23855 # Is the header compilable?
23856 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23857 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23858 cat >conftest.
$ac_ext <<_ACEOF
23861 cat confdefs.h
>>conftest.
$ac_ext
23862 cat >>conftest.
$ac_ext <<_ACEOF
23863 /* end confdefs.h. */
23864 $ac_includes_default
23865 #include <ext/hash_map>
23867 rm -f conftest.
$ac_objext
23868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23869 (eval $ac_compile) 2>conftest.er1
23871 grep -v '^ *+' conftest.er1
>conftest.err
23873 cat conftest.err
>&5
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); } &&
23876 { ac_try
='test -z "$ac_cxx_werror_flag"
23877 || test ! -s conftest.err'
23878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23879 (eval $ac_try) 2>&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); }; } &&
23883 { ac_try
='test -s conftest.$ac_objext'
23884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23885 (eval $ac_try) 2>&5
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); }; }; then
23889 ac_header_compiler
=yes
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.
$ac_ext >&5
23894 ac_header_compiler
=no
23896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23898 echo "${ECHO_T}$ac_header_compiler" >&6
23900 # Is the header present?
23901 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23902 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23903 cat >conftest.
$ac_ext <<_ACEOF
23906 cat confdefs.h
>>conftest.
$ac_ext
23907 cat >>conftest.
$ac_ext <<_ACEOF
23908 /* end confdefs.h. */
23909 #include <ext/hash_map>
23911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23912 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23914 grep -v '^ *+' conftest.er1
>conftest.err
23916 cat conftest.err
>&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } >/dev
/null
; then
23919 if test -s conftest.err
; then
23920 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23921 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23928 if test -z "$ac_cpp_err"; then
23929 ac_header_preproc
=yes
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.
$ac_ext >&5
23934 ac_header_preproc
=no
23936 rm -f conftest.err conftest.
$ac_ext
23937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23938 echo "${ECHO_T}$ac_header_preproc" >&6
23940 # So? What about this header?
23941 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23943 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23944 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23945 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23946 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23947 ac_header_preproc
=yes
23950 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23951 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23952 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23953 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23954 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23955 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23956 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23957 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23958 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23959 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23960 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23961 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23964 ## ----------------------------------------- ##
23965 ## Report this to wx-dev@lists.wxwidgets.org ##
23966 ## ----------------------------------------- ##
23969 sed "s/^/$as_me: WARNING: /" >&2
23972 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23973 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23974 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23975 echo $ECHO_N "(cached) $ECHO_C" >&6
23977 ac_cv_header_ext_hash_map
=$ac_header_preproc
23979 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23980 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23983 if test $ac_cv_header_ext_hash_map = yes; then
23984 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23985 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23986 cat >conftest.
$ac_ext <<_ACEOF
23989 cat confdefs.h
>>conftest.
$ac_ext
23990 cat >>conftest.
$ac_ext <<_ACEOF
23991 /* end confdefs.h. */
23992 #include <ext/hash_map>
23993 #include <ext/hash_set>
23997 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23998 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24003 rm -f conftest.
$ac_objext
24004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24005 (eval $ac_compile) 2>conftest.er1
24007 grep -v '^ *+' conftest.er1
>conftest.err
24009 cat conftest.err
>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); } &&
24012 { ac_try
='test -z "$ac_cxx_werror_flag"
24013 || test ! -s conftest.err'
24014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24015 (eval $ac_try) 2>&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); }; } &&
24019 { ac_try
='test -s conftest.$ac_objext'
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; }; then
24025 echo "$as_me:$LINENO: result: yes" >&5
24026 echo "${ECHO_T}yes" >&6
24027 cat >>confdefs.h
<<\_ACEOF
24028 #define HAVE_EXT_HASH_MAP 1
24031 cat >>confdefs.h
<<\_ACEOF
24032 #define HAVE_GNU_CXX_HASH_MAP 1
24036 echo "$as_me: failed program was:" >&5
24037 sed 's/^/| /' conftest.
$ac_ext >&5
24039 echo "$as_me:$LINENO: result: no" >&5
24040 echo "${ECHO_T}no" >&6
24042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24051 /usr/local/include \
24053 /usr/Motif-2.1/include \
24054 /usr/Motif-1.2/include \
24055 /usr/include/Motif1.2 \
24058 /usr/openwin/include \
24062 /usr/X11R6/include \
24063 /usr/X11R6.4/include \
24064 /usr/X11R5/include \
24065 /usr/X11R4/include \
24067 /usr/include/X11R6 \
24068 /usr/include/X11R5 \
24069 /usr/include/X11R4 \
24071 /usr/local/X11R6/include \
24072 /usr/local/X11R5/include \
24073 /usr/local/X11R4/include \
24075 /usr/local/include/X11R6 \
24076 /usr/local/include/X11R5 \
24077 /usr/local/include/X11R4 \
24081 /usr/local/X11/include \
24082 /usr/local/include/X11 \
24084 /usr/XFree86/include/X11 \
24087 /usr/openwin/share/include"
24089 echo "$as_me:$LINENO: checking for libraries directory" >&5
24090 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24094 if test "${wx_cv_std_libpath+set}" = set; then
24095 echo $ECHO_N "(cached) $ECHO_C" >&6
24098 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24099 for e
in a so sl dylib dll.a
; do
24101 if test -f $libc; then
24104 cat >conftest.
$ac_ext <<_ACEOF
24105 int main() { return 0; }
24107 rm -f conftest.
$ac_objext conftest
$ac_exeext
24108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24109 (eval $ac_link) 2>conftest.er1
24111 grep -v '^ *+' conftest.er1
>conftest.err
24113 cat conftest.err
>&5
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); } &&
24116 { ac_try
='test -z "$ac_cxx_werror_flag"
24117 || test ! -s conftest.err'
24118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24119 (eval $ac_try) 2>&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); }; } &&
24123 { ac_try
='test -s conftest$ac_exeext'
24124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125 (eval $ac_try) 2>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); }; }; then
24129 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24131 echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.
$ac_ext >&5
24135 rm -f conftest.err conftest.
$ac_objext \
24136 conftest
$ac_exeext conftest.
$ac_ext
24138 if test "x$wx_cv_std_libpath" != "x"; then
24144 if test "x$wx_cv_std_libpath" = "x"; then
24145 wx_cv_std_libpath
="lib"
24154 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24155 wx_cv_std_libpath
="lib/64"
24157 wx_cv_std_libpath
="lib"
24162 if test "$ac_cv_sizeof_void_p" = 8 -a \
24163 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24164 wx_cv_std_libpath
="lib64"
24166 wx_cv_std_libpath
="lib"
24171 wx_cv_std_libpath
="lib";
24175 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24176 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24178 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24180 if test "$build" != "$host" -a "$GCC" = yes; then
24181 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24182 cross_root
=`dirname $cross_root`
24183 cross_root
=`dirname $cross_root`
24185 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24186 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24187 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24189 if test -z "$PKG_CONFIG_PATH"; then
24190 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24191 export PKG_CONFIG_PATH
24194 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24197 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24199 if test -f "$ac_dir/X11/Intrinsic.h"; then
24200 ac_find_includes
=$ac_dir
24205 x_includes
=$ac_find_includes
24207 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24210 for ac_dir
in $SEARCH_LIB;
24212 for ac_extension
in a so sl dylib dll.a
; do
24213 if test -f "$ac_dir/libXt.$ac_extension"; then
24214 ac_find_libraries
=$ac_dir
24220 x_libraries
=$ac_find_libraries
24226 cat >confcache
<<\_ACEOF
24227 # This file is a shell script that caches the results of configure
24228 # tests run on this system so they can be shared between configure
24229 # scripts and configure runs, see configure's option --config-cache.
24230 # It is not useful on other systems. If it contains results you don't
24231 # want to keep, you may remove or edit it.
24233 # config.status only pays attention to the cache file if you give it
24234 # the --recheck option to rerun configure.
24236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24238 # following values.
24242 # The following way of writing the cache mishandles newlines in values,
24243 # but we know of no workaround that is simple, portable, and efficient.
24244 # So, don't put newlines in cache variables' values.
24245 # Ultrix sh set writes to stderr and can't be redirected directly,
24246 # and sets the high bit in the cache file unless we assign to the vars.
24249 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24251 # `set' does not quote correctly, so add quotes (double-quote
24252 # substitution turns \\\\ into \\, and sed turns \\ into \).
24255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24258 # `set' quotes correctly as required by POSIX, so do not add quotes.
24260 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24267 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24269 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24271 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24272 if test -w $cache_file; then
24273 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24274 cat confcache
>$cache_file
24276 echo "not updating unwritable cache $cache_file"
24281 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24282 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24283 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24284 if test "${wx_cv_lib_glibc21+set}" = set; then
24285 echo $ECHO_N "(cached) $ECHO_C" >&6
24288 cat >conftest.
$ac_ext <<_ACEOF
24291 cat confdefs.h
>>conftest.
$ac_ext
24292 cat >>conftest.
$ac_ext <<_ACEOF
24293 /* end confdefs.h. */
24294 #include <features.h>
24299 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24307 rm -f conftest.
$ac_objext
24308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24309 (eval $ac_compile) 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"
24317 || test ! -s conftest.err'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; } &&
24323 { ac_try
='test -s conftest.$ac_objext'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24330 wx_cv_lib_glibc21
=yes
24333 echo "$as_me: failed program was:" >&5
24334 sed 's/^/| /' conftest.
$ac_ext >&5
24337 wx_cv_lib_glibc21
=no
24341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24344 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24345 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24346 if test "$wx_cv_lib_glibc21" = "yes"; then
24347 cat >>confdefs.h
<<\_ACEOF
24348 #define wxHAVE_GLIBC2 1
24354 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24355 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24356 cat >>confdefs.h
<<\_ACEOF
24357 #define _GNU_SOURCE 1
24368 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24369 echo "$as_me:$LINENO: checking for $ac_func" >&5
24370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24371 if eval "test \"\${$as_ac_var+set}\" = set"; then
24372 echo $ECHO_N "(cached) $ECHO_C" >&6
24374 cat >conftest.
$ac_ext <<_ACEOF
24377 cat confdefs.h
>>conftest.
$ac_ext
24378 cat >>conftest.
$ac_ext <<_ACEOF
24379 /* end confdefs.h. */
24380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24382 #define $ac_func innocuous_$ac_func
24384 /* System header to define __stub macros and hopefully few prototypes,
24385 which can conflict with char $ac_func (); below.
24386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24387 <limits.h> exists even on freestanding compilers. */
24390 # include <limits.h>
24392 # include <assert.h>
24397 /* Override any gcc2 internal prototype to avoid an error. */
24402 /* We use char because int might match the return type of a gcc2
24403 builtin and then its argument prototype would still apply. */
24405 /* The GNU C library defines this for functions which it implements
24406 to always fail with ENOSYS. Some functions are actually named
24407 something starting with __ and the normal name is an alias. */
24408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24411 char (*f) () = $ac_func;
24420 return f != $ac_func;
24425 rm -f conftest.
$ac_objext conftest
$ac_exeext
24426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24427 (eval $ac_link) 2>conftest.er1
24429 grep -v '^ *+' conftest.er1
>conftest.err
24431 cat conftest.err
>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } &&
24434 { ac_try
='test -z "$ac_cxx_werror_flag"
24435 || test ! -s conftest.err'
24436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437 (eval $ac_try) 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; } &&
24441 { ac_try
='test -s conftest$ac_exeext'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; }; then
24447 eval "$as_ac_var=yes"
24449 echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.
$ac_ext >&5
24452 eval "$as_ac_var=no"
24454 rm -f conftest.err conftest.
$ac_objext \
24455 conftest
$ac_exeext conftest.
$ac_ext
24457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24459 if test `eval echo '${'$as_ac_var'}'` = yes; then
24460 cat >>confdefs.h
<<_ACEOF
24461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24468 for ac_func
in floor
24470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24471 echo "$as_me:$LINENO: checking for $ac_func" >&5
24472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24473 if eval "test \"\${$as_ac_var+set}\" = set"; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24476 cat >conftest.
$ac_ext <<_ACEOF
24479 cat confdefs.h
>>conftest.
$ac_ext
24480 cat >>conftest.
$ac_ext <<_ACEOF
24481 /* end confdefs.h. */
24482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24484 #define $ac_func innocuous_$ac_func
24486 /* System header to define __stub macros and hopefully few prototypes,
24487 which can conflict with char $ac_func (); below.
24488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24489 <limits.h> exists even on freestanding compilers. */
24492 # include <limits.h>
24494 # include <assert.h>
24499 /* Override any gcc2 internal prototype to avoid an error. */
24504 /* We use char because int might match the return type of a gcc2
24505 builtin and then its argument prototype would still apply. */
24507 /* The GNU C library defines this for functions which it implements
24508 to always fail with ENOSYS. Some functions are actually named
24509 something starting with __ and the normal name is an alias. */
24510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24513 char (*f) () = $ac_func;
24522 return f != $ac_func;
24527 rm -f conftest.
$ac_objext conftest
$ac_exeext
24528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24529 (eval $ac_link) 2>conftest.er1
24531 grep -v '^ *+' conftest.er1
>conftest.err
24533 cat conftest.err
>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try
='test -z "$ac_cxx_werror_flag"
24537 || test ! -s conftest.err'
24538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24539 (eval $ac_try) 2>&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; } &&
24543 { ac_try
='test -s conftest$ac_exeext'
24544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24545 (eval $ac_try) 2>&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); }; }; then
24549 eval "$as_ac_var=yes"
24551 echo "$as_me: failed program was:" >&5
24552 sed 's/^/| /' conftest.
$ac_ext >&5
24554 eval "$as_ac_var=no"
24556 rm -f conftest.err conftest.
$ac_objext \
24557 conftest
$ac_exeext conftest.
$ac_ext
24559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24561 if test `eval echo '${'$as_ac_var'}'` = yes; then
24562 cat >>confdefs.h
<<_ACEOF
24563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24569 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24570 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24571 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24572 echo "$as_me:$LINENO: result: yes" >&5
24573 echo "${ECHO_T}yes" >&6
24575 echo "$as_me:$LINENO: result: no" >&5
24576 echo "${ECHO_T}no" >&6
24578 # use different functions to avoid configure caching
24584 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24585 echo "$as_me:$LINENO: checking for $ac_func" >&5
24586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24587 if eval "test \"\${$as_ac_var+set}\" = set"; then
24588 echo $ECHO_N "(cached) $ECHO_C" >&6
24590 cat >conftest.
$ac_ext <<_ACEOF
24593 cat confdefs.h
>>conftest.
$ac_ext
24594 cat >>conftest.
$ac_ext <<_ACEOF
24595 /* end confdefs.h. */
24596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24598 #define $ac_func innocuous_$ac_func
24600 /* System header to define __stub macros and hopefully few prototypes,
24601 which can conflict with char $ac_func (); below.
24602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24603 <limits.h> exists even on freestanding compilers. */
24606 # include <limits.h>
24608 # include <assert.h>
24613 /* Override any gcc2 internal prototype to avoid an error. */
24618 /* We use char because int might match the return type of a gcc2
24619 builtin and then its argument prototype would still apply. */
24621 /* The GNU C library defines this for functions which it implements
24622 to always fail with ENOSYS. Some functions are actually named
24623 something starting with __ and the normal name is an alias. */
24624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24627 char (*f) () = $ac_func;
24636 return f != $ac_func;
24641 rm -f conftest.
$ac_objext conftest
$ac_exeext
24642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24643 (eval $ac_link) 2>conftest.er1
24645 grep -v '^ *+' conftest.er1
>conftest.err
24647 cat conftest.err
>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } &&
24650 { ac_try
='test -z "$ac_cxx_werror_flag"
24651 || test ! -s conftest.err'
24652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24653 (eval $ac_try) 2>&5
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); }; } &&
24657 { ac_try
='test -s conftest$ac_exeext'
24658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659 (eval $ac_try) 2>&5
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); }; }; then
24663 eval "$as_ac_var=yes"
24665 echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.
$ac_ext >&5
24668 eval "$as_ac_var=no"
24670 rm -f conftest.err conftest.
$ac_objext \
24671 conftest
$ac_exeext conftest.
$ac_ext
24673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24675 if test `eval echo '${'$as_ac_var'}'` = yes; then
24676 cat >>confdefs.h
<<_ACEOF
24677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24684 for ac_func
in ceil
24686 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24687 echo "$as_me:$LINENO: checking for $ac_func" >&5
24688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24689 if eval "test \"\${$as_ac_var+set}\" = set"; then
24690 echo $ECHO_N "(cached) $ECHO_C" >&6
24692 cat >conftest.
$ac_ext <<_ACEOF
24695 cat confdefs.h
>>conftest.
$ac_ext
24696 cat >>conftest.
$ac_ext <<_ACEOF
24697 /* end confdefs.h. */
24698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24700 #define $ac_func innocuous_$ac_func
24702 /* System header to define __stub macros and hopefully few prototypes,
24703 which can conflict with char $ac_func (); below.
24704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24705 <limits.h> exists even on freestanding compilers. */
24708 # include <limits.h>
24710 # include <assert.h>
24715 /* Override any gcc2 internal prototype to avoid an error. */
24720 /* We use char because int might match the return type of a gcc2
24721 builtin and then its argument prototype would still apply. */
24723 /* The GNU C library defines this for functions which it implements
24724 to always fail with ENOSYS. Some functions are actually named
24725 something starting with __ and the normal name is an alias. */
24726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24729 char (*f) () = $ac_func;
24738 return f != $ac_func;
24743 rm -f conftest.
$ac_objext conftest
$ac_exeext
24744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24745 (eval $ac_link) 2>conftest.er1
24747 grep -v '^ *+' conftest.er1
>conftest.err
24749 cat conftest.err
>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } &&
24752 { ac_try
='test -z "$ac_cxx_werror_flag"
24753 || test ! -s conftest.err'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; } &&
24759 { ac_try
='test -s conftest$ac_exeext'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; }; then
24765 eval "$as_ac_var=yes"
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.
$ac_ext >&5
24770 eval "$as_ac_var=no"
24772 rm -f conftest.err conftest.
$ac_objext \
24773 conftest
$ac_exeext conftest.
$ac_ext
24775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24777 if test `eval echo '${'$as_ac_var'}'` = yes; then
24778 cat >>confdefs.h
<<_ACEOF
24779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24785 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24786 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24787 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24788 echo "$as_me:$LINENO: result: yes" >&5
24789 echo "${ECHO_T}yes" >&6
24791 echo "$as_me:$LINENO: result: no" >&5
24792 echo "${ECHO_T}no" >&6
24793 # not sure we should warn the user, crash, etc.
24799 if test "$wxUSE_REGEX" != "no"; then
24800 cat >>confdefs.h
<<\_ACEOF
24801 #define wxUSE_REGEX 1
24805 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24806 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24807 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24808 wxUSE_REGEX
=builtin
24811 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24812 if test "${ac_cv_header_regex_h+set}" = set; then
24813 echo "$as_me:$LINENO: checking for regex.h" >&5
24814 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24815 if test "${ac_cv_header_regex_h+set}" = set; then
24816 echo $ECHO_N "(cached) $ECHO_C" >&6
24818 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24819 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24821 # Is the header compilable?
24822 echo "$as_me:$LINENO: checking regex.h usability" >&5
24823 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24824 cat >conftest.
$ac_ext <<_ACEOF
24827 cat confdefs.h
>>conftest.
$ac_ext
24828 cat >>conftest.
$ac_ext <<_ACEOF
24829 /* end confdefs.h. */
24830 $ac_includes_default
24833 rm -f conftest.
$ac_objext
24834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24835 (eval $ac_compile) 2>conftest.er1
24837 grep -v '^ *+' conftest.er1
>conftest.err
24839 cat conftest.err
>&5
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); } &&
24842 { ac_try
='test -z "$ac_cxx_werror_flag"
24843 || test ! -s conftest.err'
24844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24845 (eval $ac_try) 2>&5
24847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848 (exit $ac_status); }; } &&
24849 { ac_try
='test -s conftest.$ac_objext'
24850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24851 (eval $ac_try) 2>&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); }; }; then
24855 ac_header_compiler
=yes
24857 echo "$as_me: failed program was:" >&5
24858 sed 's/^/| /' conftest.
$ac_ext >&5
24860 ac_header_compiler
=no
24862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24864 echo "${ECHO_T}$ac_header_compiler" >&6
24866 # Is the header present?
24867 echo "$as_me:$LINENO: checking regex.h presence" >&5
24868 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24869 cat >conftest.
$ac_ext <<_ACEOF
24872 cat confdefs.h
>>conftest.
$ac_ext
24873 cat >>conftest.
$ac_ext <<_ACEOF
24874 /* end confdefs.h. */
24877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24878 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24880 grep -v '^ *+' conftest.er1
>conftest.err
24882 cat conftest.err
>&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } >/dev
/null
; then
24885 if test -s conftest.err
; then
24886 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24887 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24894 if test -z "$ac_cpp_err"; then
24895 ac_header_preproc
=yes
24897 echo "$as_me: failed program was:" >&5
24898 sed 's/^/| /' conftest.
$ac_ext >&5
24900 ac_header_preproc
=no
24902 rm -f conftest.err conftest.
$ac_ext
24903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24904 echo "${ECHO_T}$ac_header_preproc" >&6
24906 # So? What about this header?
24907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24909 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24910 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24911 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24912 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24913 ac_header_preproc
=yes
24916 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24917 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24918 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24919 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24920 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24921 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24922 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24923 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24924 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24925 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24926 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24927 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24930 ## ----------------------------------------- ##
24931 ## Report this to wx-dev@lists.wxwidgets.org ##
24932 ## ----------------------------------------- ##
24935 sed "s/^/$as_me: WARNING: /" >&2
24938 echo "$as_me:$LINENO: checking for regex.h" >&5
24939 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24940 if test "${ac_cv_header_regex_h+set}" = set; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24943 ac_cv_header_regex_h
=$ac_header_preproc
24945 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24946 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24949 if test $ac_cv_header_regex_h = yes; then
24952 for ac_func
in regcomp re_search
24954 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24955 echo "$as_me:$LINENO: checking for $ac_func" >&5
24956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24957 if eval "test \"\${$as_ac_var+set}\" = set"; then
24958 echo $ECHO_N "(cached) $ECHO_C" >&6
24960 cat >conftest.
$ac_ext <<_ACEOF
24963 cat confdefs.h
>>conftest.
$ac_ext
24964 cat >>conftest.
$ac_ext <<_ACEOF
24965 /* end confdefs.h. */
24966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24968 #define $ac_func innocuous_$ac_func
24970 /* System header to define __stub macros and hopefully few prototypes,
24971 which can conflict with char $ac_func (); below.
24972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24973 <limits.h> exists even on freestanding compilers. */
24976 # include <limits.h>
24978 # include <assert.h>
24983 /* Override any gcc2 internal prototype to avoid an error. */
24988 /* We use char because int might match the return type of a gcc2
24989 builtin and then its argument prototype would still apply. */
24991 /* The GNU C library defines this for functions which it implements
24992 to always fail with ENOSYS. Some functions are actually named
24993 something starting with __ and the normal name is an alias. */
24994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24997 char (*f) () = $ac_func;
25006 return f != $ac_func;
25011 rm -f conftest.
$ac_objext conftest
$ac_exeext
25012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25013 (eval $ac_link) 2>conftest.er1
25015 grep -v '^ *+' conftest.er1
>conftest.err
25017 cat conftest.err
>&5
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); } &&
25020 { ac_try
='test -z "$ac_cxx_werror_flag"
25021 || test ! -s conftest.err'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; } &&
25027 { ac_try
='test -s conftest$ac_exeext'
25028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25029 (eval $ac_try) 2>&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); }; }; then
25033 eval "$as_ac_var=yes"
25035 echo "$as_me: failed program was:" >&5
25036 sed 's/^/| /' conftest.
$ac_ext >&5
25038 eval "$as_ac_var=no"
25040 rm -f conftest.err conftest.
$ac_objext \
25041 conftest
$ac_exeext conftest.
$ac_ext
25043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25045 if test `eval echo '${'$as_ac_var'}'` = yes; then
25046 cat >>confdefs.h
<<_ACEOF
25047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25057 if test "x$ac_cv_func_regcomp" != "xyes"; then
25058 if test "$wxUSE_REGEX" = "sys" ; then
25059 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25060 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25061 { (exit 1); exit 1; }; }
25063 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25064 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25065 wxUSE_REGEX
=builtin
25069 cat >>confdefs.h
<<\_ACEOF
25070 #define WX_NO_REGEX_ADVANCED 1
25079 if test "$wxUSE_ZLIB" != "no" ; then
25080 cat >>confdefs.h
<<\_ACEOF
25081 #define wxUSE_ZLIB 1
25085 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25086 if test "$USE_DARWIN" = 1; then
25087 system_zlib_h_ok
="yes"
25089 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25090 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25091 if test "${ac_cv_header_zlib_h+set}" = set; then
25092 echo $ECHO_N "(cached) $ECHO_C" >&6
25094 if test "$cross_compiling" = yes; then
25095 unset ac_cv_header_zlib_h
25098 cat >conftest.
$ac_ext <<_ACEOF
25101 cat confdefs.h
>>conftest.
$ac_ext
25102 cat >>conftest.
$ac_ext <<_ACEOF
25103 /* end confdefs.h. */
25110 FILE *f=fopen("conftestval", "w");
25113 ZLIB_VERSION[0] == '1' &&
25114 (ZLIB_VERSION[2] > '1' ||
25115 (ZLIB_VERSION[2] == '1' &&
25116 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25121 rm -f conftest
$ac_exeext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25123 (eval $ac_link) 2>&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128 (eval $ac_try) 2>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); }; }; then
25132 ac_cv_header_zlib_h
=`cat conftestval`
25134 echo "$as_me: program exited with status $ac_status" >&5
25135 echo "$as_me: failed program was:" >&5
25136 sed 's/^/| /' conftest.
$ac_ext >&5
25138 ( exit $ac_status )
25139 ac_cv_header_zlib_h
=no
25141 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25145 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25146 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25147 if test "${ac_cv_header_zlib_h+set}" = set; then
25148 echo "$as_me:$LINENO: checking for zlib.h" >&5
25149 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25150 if test "${ac_cv_header_zlib_h+set}" = set; then
25151 echo $ECHO_N "(cached) $ECHO_C" >&6
25153 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25154 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25156 # Is the header compilable?
25157 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25158 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25159 cat >conftest.
$ac_ext <<_ACEOF
25162 cat confdefs.h
>>conftest.
$ac_ext
25163 cat >>conftest.
$ac_ext <<_ACEOF
25164 /* end confdefs.h. */
25165 $ac_includes_default
25168 rm -f conftest.
$ac_objext
25169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25170 (eval $ac_compile) 2>conftest.er1
25172 grep -v '^ *+' conftest.er1
>conftest.err
25174 cat conftest.err
>&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); } &&
25177 { ac_try
='test -z "$ac_cxx_werror_flag"
25178 || test ! -s conftest.err'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; } &&
25184 { ac_try
='test -s conftest.$ac_objext'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; }; then
25190 ac_header_compiler
=yes
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.
$ac_ext >&5
25195 ac_header_compiler
=no
25197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25199 echo "${ECHO_T}$ac_header_compiler" >&6
25201 # Is the header present?
25202 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25203 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25204 cat >conftest.
$ac_ext <<_ACEOF
25207 cat confdefs.h
>>conftest.
$ac_ext
25208 cat >>conftest.
$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25215 grep -v '^ *+' conftest.er1
>conftest.err
25217 cat conftest.err
>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } >/dev
/null
; then
25220 if test -s conftest.err
; then
25221 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25222 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25229 if test -z "$ac_cpp_err"; then
25230 ac_header_preproc
=yes
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.
$ac_ext >&5
25235 ac_header_preproc
=no
25237 rm -f conftest.err conftest.
$ac_ext
25238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25239 echo "${ECHO_T}$ac_header_preproc" >&6
25241 # So? What about this header?
25242 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25244 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25245 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25246 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25247 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25248 ac_header_preproc
=yes
25251 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25252 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25253 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25254 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25255 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25256 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25257 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25258 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25259 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25260 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25261 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25262 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25265 ## ----------------------------------------- ##
25266 ## Report this to wx-dev@lists.wxwidgets.org ##
25267 ## ----------------------------------------- ##
25270 sed "s/^/$as_me: WARNING: /" >&2
25273 echo "$as_me:$LINENO: checking for zlib.h" >&5
25274 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25275 if test "${ac_cv_header_zlib_h+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 ac_cv_header_zlib_h
=$ac_header_preproc
25280 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25281 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25287 system_zlib_h_ok
=$ac_cv_header_zlib_h
25290 if test "$system_zlib_h_ok" = "yes"; then
25291 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25292 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25293 if test "${ac_cv_lib_z_deflate+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 ac_check_lib_save_LIBS
=$LIBS
25298 cat >conftest.
$ac_ext <<_ACEOF
25301 cat confdefs.h
>>conftest.
$ac_ext
25302 cat >>conftest.
$ac_ext <<_ACEOF
25303 /* end confdefs.h. */
25305 /* Override any gcc2 internal prototype to avoid an error. */
25309 /* We use char because int might match the return type of a gcc2
25310 builtin and then its argument prototype would still apply. */
25320 rm -f conftest.
$ac_objext conftest
$ac_exeext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25322 (eval $ac_link) 2>conftest.er1
25324 grep -v '^ *+' conftest.er1
>conftest.err
25326 cat conftest.err
>&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } &&
25329 { ac_try
='test -z "$ac_cxx_werror_flag"
25330 || test ! -s conftest.err'
25331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25332 (eval $ac_try) 2>&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; } &&
25336 { ac_try
='test -s conftest$ac_exeext'
25337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25338 (eval $ac_try) 2>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); }; }; then
25342 ac_cv_lib_z_deflate
=yes
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.
$ac_ext >&5
25347 ac_cv_lib_z_deflate
=no
25349 rm -f conftest.err conftest.
$ac_objext \
25350 conftest
$ac_exeext conftest.
$ac_ext
25351 LIBS
=$ac_check_lib_save_LIBS
25353 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25354 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25355 if test $ac_cv_lib_z_deflate = yes; then
25361 if test "x$ZLIB_LINK" = "x" ; then
25362 if test "$wxUSE_ZLIB" = "sys" ; then
25363 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25364 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25365 { (exit 1); exit 1; }; }
25367 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25368 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25379 if test "$wxUSE_LIBPNG" != "no" ; then
25380 cat >>confdefs.h
<<\_ACEOF
25381 #define wxUSE_LIBPNG 1
25385 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25386 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25387 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25391 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25392 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25393 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25394 wxUSE_LIBPNG
=builtin
25397 if test "$wxUSE_MGL" != 1 ; then
25398 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25399 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25400 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25401 if test "${ac_cv_header_png_h+set}" = set; then
25402 echo $ECHO_N "(cached) $ECHO_C" >&6
25404 if test "$cross_compiling" = yes; then
25405 unset ac_cv_header_png_h
25408 cat >conftest.
$ac_ext <<_ACEOF
25411 cat confdefs.h
>>conftest.
$ac_ext
25412 cat >>conftest.
$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25420 FILE *f=fopen("conftestval", "w");
25423 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25428 rm -f conftest
$ac_exeext
25429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25430 (eval $ac_link) 2>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; }; then
25439 ac_cv_header_png_h
=`cat conftestval`
25441 echo "$as_me: program exited with status $ac_status" >&5
25442 echo "$as_me: failed program was:" >&5
25443 sed 's/^/| /' conftest.
$ac_ext >&5
25445 ( exit $ac_status )
25446 ac_cv_header_png_h
=no
25448 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25452 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25453 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25454 if test "${ac_cv_header_png_h+set}" = set; then
25455 echo "$as_me:$LINENO: checking for png.h" >&5
25456 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25457 if test "${ac_cv_header_png_h+set}" = set; then
25458 echo $ECHO_N "(cached) $ECHO_C" >&6
25460 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25461 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25463 # Is the header compilable?
25464 echo "$as_me:$LINENO: checking png.h usability" >&5
25465 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25466 cat >conftest.
$ac_ext <<_ACEOF
25469 cat confdefs.h
>>conftest.
$ac_ext
25470 cat >>conftest.
$ac_ext <<_ACEOF
25471 /* end confdefs.h. */
25472 $ac_includes_default
25475 rm -f conftest.
$ac_objext
25476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25477 (eval $ac_compile) 2>conftest.er1
25479 grep -v '^ *+' conftest.er1
>conftest.err
25481 cat conftest.err
>&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); } &&
25484 { ac_try
='test -z "$ac_cxx_werror_flag"
25485 || test ! -s conftest.err'
25486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487 (eval $ac_try) 2>&5
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; } &&
25491 { ac_try
='test -s conftest.$ac_objext'
25492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25493 (eval $ac_try) 2>&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); }; }; then
25497 ac_header_compiler
=yes
25499 echo "$as_me: failed program was:" >&5
25500 sed 's/^/| /' conftest.
$ac_ext >&5
25502 ac_header_compiler
=no
25504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25506 echo "${ECHO_T}$ac_header_compiler" >&6
25508 # Is the header present?
25509 echo "$as_me:$LINENO: checking png.h presence" >&5
25510 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25511 cat >conftest.
$ac_ext <<_ACEOF
25514 cat confdefs.h
>>conftest.
$ac_ext
25515 cat >>conftest.
$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25520 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25522 grep -v '^ *+' conftest.er1
>conftest.err
25524 cat conftest.err
>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } >/dev
/null
; then
25527 if test -s conftest.err
; then
25528 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25529 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25536 if test -z "$ac_cpp_err"; then
25537 ac_header_preproc
=yes
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.
$ac_ext >&5
25542 ac_header_preproc
=no
25544 rm -f conftest.err conftest.
$ac_ext
25545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25546 echo "${ECHO_T}$ac_header_preproc" >&6
25548 # So? What about this header?
25549 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25551 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25552 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25553 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25554 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25555 ac_header_preproc
=yes
25558 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25559 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25560 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25561 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25562 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25563 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25564 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25565 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25566 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25567 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25568 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25569 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25572 ## ----------------------------------------- ##
25573 ## Report this to wx-dev@lists.wxwidgets.org ##
25574 ## ----------------------------------------- ##
25577 sed "s/^/$as_me: WARNING: /" >&2
25580 echo "$as_me:$LINENO: checking for png.h" >&5
25581 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25582 if test "${ac_cv_header_png_h+set}" = set; then
25583 echo $ECHO_N "(cached) $ECHO_C" >&6
25585 ac_cv_header_png_h
=$ac_header_preproc
25587 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25588 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25594 if test "$ac_cv_header_png_h" = "yes"; then
25595 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25596 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25597 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25598 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 ac_check_lib_save_LIBS
=$LIBS
25601 LIBS
="-lpng -lz -lm $LIBS"
25602 cat >conftest.
$ac_ext <<_ACEOF
25605 cat confdefs.h
>>conftest.
$ac_ext
25606 cat >>conftest.
$ac_ext <<_ACEOF
25607 /* end confdefs.h. */
25609 /* Override any gcc2 internal prototype to avoid an error. */
25613 /* We use char because int might match the return type of a gcc2
25614 builtin and then its argument prototype would still apply. */
25615 char png_check_sig ();
25624 rm -f conftest.
$ac_objext conftest
$ac_exeext
25625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25626 (eval $ac_link) 2>conftest.er1
25628 grep -v '^ *+' conftest.er1
>conftest.err
25630 cat conftest.err
>&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } &&
25633 { ac_try
='test -z "$ac_cxx_werror_flag"
25634 || test ! -s conftest.err'
25635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25636 (eval $ac_try) 2>&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); }; } &&
25640 { ac_try
='test -s conftest$ac_exeext'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; }; then
25646 ac_cv_lib_png_png_check_sig
=yes
25648 echo "$as_me: failed program was:" >&5
25649 sed 's/^/| /' conftest.
$ac_ext >&5
25651 ac_cv_lib_png_png_check_sig
=no
25653 rm -f conftest.err conftest.
$ac_objext \
25654 conftest
$ac_exeext conftest.
$ac_ext
25655 LIBS
=$ac_check_lib_save_LIBS
25657 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25658 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25659 if test $ac_cv_lib_png_png_check_sig = yes; then
25660 PNG_LINK
=" -lpng -lz"
25665 if test "x$PNG_LINK" = "x" ; then
25666 if test "$wxUSE_LIBPNG" = "sys" ; then
25667 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25668 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25669 { (exit 1); exit 1; }; }
25671 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25672 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25673 wxUSE_LIBPNG
=builtin
25681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25686 if test "$wxUSE_LIBJPEG" != "no" ; then
25687 cat >>confdefs.h
<<\_ACEOF
25688 #define wxUSE_LIBJPEG 1
25692 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25693 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25694 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25698 if test "$wxUSE_MGL" != 1 ; then
25699 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25700 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25701 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25702 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 cat >conftest.
$ac_ext <<_ACEOF
25708 cat confdefs.h
>>conftest.
$ac_ext
25709 cat >>conftest.
$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25712 #undef HAVE_STDLIB_H
25714 #include <jpeglib.h>
25725 rm -f conftest.
$ac_objext
25726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25727 (eval $ac_compile) 2>conftest.er1
25729 grep -v '^ *+' conftest.er1
>conftest.err
25731 cat conftest.err
>&5
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); } &&
25734 { ac_try
='test -z "$ac_cxx_werror_flag"
25735 || test ! -s conftest.err'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; } &&
25741 { ac_try
='test -s conftest.$ac_objext'
25742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25743 (eval $ac_try) 2>&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); }; }; then
25747 ac_cv_header_jpeglib_h
=yes
25749 echo "$as_me: failed program was:" >&5
25750 sed 's/^/| /' conftest.
$ac_ext >&5
25752 ac_cv_header_jpeglib_h
=no
25755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25759 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25760 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25762 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25763 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25764 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25765 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25766 echo $ECHO_N "(cached) $ECHO_C" >&6
25768 ac_check_lib_save_LIBS
=$LIBS
25769 LIBS
="-ljpeg $LIBS"
25770 cat >conftest.
$ac_ext <<_ACEOF
25773 cat confdefs.h
>>conftest.
$ac_ext
25774 cat >>conftest.
$ac_ext <<_ACEOF
25775 /* end confdefs.h. */
25777 /* Override any gcc2 internal prototype to avoid an error. */
25781 /* We use char because int might match the return type of a gcc2
25782 builtin and then its argument prototype would still apply. */
25783 char jpeg_read_header ();
25787 jpeg_read_header ();
25792 rm -f conftest.
$ac_objext conftest
$ac_exeext
25793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25794 (eval $ac_link) 2>conftest.er1
25796 grep -v '^ *+' conftest.er1
>conftest.err
25798 cat conftest.err
>&5
25799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800 (exit $ac_status); } &&
25801 { ac_try
='test -z "$ac_cxx_werror_flag"
25802 || test ! -s conftest.err'
25803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25804 (eval $ac_try) 2>&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); }; } &&
25808 { ac_try
='test -s conftest$ac_exeext'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 ac_cv_lib_jpeg_jpeg_read_header
=yes
25816 echo "$as_me: failed program was:" >&5
25817 sed 's/^/| /' conftest.
$ac_ext >&5
25819 ac_cv_lib_jpeg_jpeg_read_header
=no
25821 rm -f conftest.err conftest.
$ac_objext \
25822 conftest
$ac_exeext conftest.
$ac_ext
25823 LIBS
=$ac_check_lib_save_LIBS
25825 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25826 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25827 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25828 JPEG_LINK
=" -ljpeg"
25833 if test "x$JPEG_LINK" = "x" ; then
25834 if test "$wxUSE_LIBJPEG" = "sys" ; then
25835 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25836 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25837 { (exit 1); exit 1; }; }
25839 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25840 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25841 wxUSE_LIBJPEG
=builtin
25852 TIFF_PREREQ_LINKS
=-lm
25853 if test "$wxUSE_LIBTIFF" != "no" ; then
25854 cat >>confdefs.h
<<\_ACEOF
25855 #define wxUSE_LIBTIFF 1
25859 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25860 if test "$wxUSE_LIBJPEG" = "sys"; then
25861 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25863 if test "$wxUSE_ZLIB" = "sys"; then
25864 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25866 if test "${ac_cv_header_tiffio_h+set}" = set; then
25867 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25868 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25869 if test "${ac_cv_header_tiffio_h+set}" = set; then
25870 echo $ECHO_N "(cached) $ECHO_C" >&6
25872 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25873 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25875 # Is the header compilable?
25876 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25877 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25878 cat >conftest.
$ac_ext <<_ACEOF
25881 cat confdefs.h
>>conftest.
$ac_ext
25882 cat >>conftest.
$ac_ext <<_ACEOF
25883 /* end confdefs.h. */
25884 $ac_includes_default
25885 #include <tiffio.h>
25887 rm -f conftest.
$ac_objext
25888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25889 (eval $ac_compile) 2>conftest.er1
25891 grep -v '^ *+' conftest.er1
>conftest.err
25893 cat conftest.err
>&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); } &&
25896 { ac_try
='test -z "$ac_cxx_werror_flag"
25897 || test ! -s conftest.err'
25898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25899 (eval $ac_try) 2>&5
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; } &&
25903 { ac_try
='test -s conftest.$ac_objext'
25904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25905 (eval $ac_try) 2>&5
25907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25908 (exit $ac_status); }; }; then
25909 ac_header_compiler
=yes
25911 echo "$as_me: failed program was:" >&5
25912 sed 's/^/| /' conftest.
$ac_ext >&5
25914 ac_header_compiler
=no
25916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25918 echo "${ECHO_T}$ac_header_compiler" >&6
25920 # Is the header present?
25921 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25922 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25923 cat >conftest.
$ac_ext <<_ACEOF
25926 cat confdefs.h
>>conftest.
$ac_ext
25927 cat >>conftest.
$ac_ext <<_ACEOF
25928 /* end confdefs.h. */
25929 #include <tiffio.h>
25931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25932 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25934 grep -v '^ *+' conftest.er1
>conftest.err
25936 cat conftest.err
>&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } >/dev
/null
; then
25939 if test -s conftest.err
; then
25940 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25941 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25948 if test -z "$ac_cpp_err"; then
25949 ac_header_preproc
=yes
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.
$ac_ext >&5
25954 ac_header_preproc
=no
25956 rm -f conftest.err conftest.
$ac_ext
25957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25958 echo "${ECHO_T}$ac_header_preproc" >&6
25960 # So? What about this header?
25961 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25963 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25964 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25965 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25966 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25967 ac_header_preproc
=yes
25970 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25971 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25972 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25973 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25974 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25975 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25976 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25977 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25978 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25979 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25980 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25981 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25984 ## ----------------------------------------- ##
25985 ## Report this to wx-dev@lists.wxwidgets.org ##
25986 ## ----------------------------------------- ##
25989 sed "s/^/$as_me: WARNING: /" >&2
25992 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25993 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25994 if test "${ac_cv_header_tiffio_h+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 ac_cv_header_tiffio_h
=$ac_header_preproc
25999 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26000 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26003 if test $ac_cv_header_tiffio_h = yes; then
26005 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26006 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26007 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 ac_check_lib_save_LIBS
=$LIBS
26011 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26012 cat >conftest.
$ac_ext <<_ACEOF
26015 cat confdefs.h
>>conftest.
$ac_ext
26016 cat >>conftest.
$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26019 /* Override any gcc2 internal prototype to avoid an error. */
26023 /* We use char because int might match the return type of a gcc2
26024 builtin and then its argument prototype would still apply. */
26034 rm -f conftest.
$ac_objext conftest
$ac_exeext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26036 (eval $ac_link) 2>conftest.er1
26038 grep -v '^ *+' conftest.er1
>conftest.err
26040 cat conftest.err
>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try
='test -z "$ac_cxx_werror_flag"
26044 || test ! -s conftest.err'
26045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046 (eval $ac_try) 2>&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); }; } &&
26050 { ac_try
='test -s conftest$ac_exeext'
26051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052 (eval $ac_try) 2>&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); }; }; then
26056 ac_cv_lib_tiff_TIFFError
=yes
26058 echo "$as_me: failed program was:" >&5
26059 sed 's/^/| /' conftest.
$ac_ext >&5
26061 ac_cv_lib_tiff_TIFFError
=no
26063 rm -f conftest.err conftest.
$ac_objext \
26064 conftest
$ac_exeext conftest.
$ac_ext
26065 LIBS
=$ac_check_lib_save_LIBS
26067 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26068 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26069 if test $ac_cv_lib_tiff_TIFFError = yes; then
26070 TIFF_LINK
=" -ltiff"
26079 if test "x$TIFF_LINK" = "x" ; then
26080 if test "$wxUSE_LIBTIFF" = "sys" ; then
26081 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26082 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26083 { (exit 1); exit 1; }; }
26085 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26086 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26087 wxUSE_LIBTIFF
=builtin
26096 if test "$wxUSE_WCHAR_T" != "yes"; then
26097 if test "$wxUSE_EXPAT" != "no"; then
26098 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26099 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26102 if test "$wxUSE_XML" != "no"; then
26103 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26104 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26109 if test "$wxUSE_EXPAT" != "no"; then
26111 cat >>confdefs.h
<<\_ACEOF
26112 #define wxUSE_EXPAT 1
26115 cat >>confdefs.h
<<\_ACEOF
26116 #define wxUSE_XML 1
26120 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26121 if test "${ac_cv_header_expat_h+set}" = set; then
26122 echo "$as_me:$LINENO: checking for expat.h" >&5
26123 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26124 if test "${ac_cv_header_expat_h+set}" = set; then
26125 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26128 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26130 # Is the header compilable?
26131 echo "$as_me:$LINENO: checking expat.h usability" >&5
26132 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26133 cat >conftest.
$ac_ext <<_ACEOF
26136 cat confdefs.h
>>conftest.
$ac_ext
26137 cat >>conftest.
$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26139 $ac_includes_default
26142 rm -f conftest.
$ac_objext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26144 (eval $ac_compile) 2>conftest.er1
26146 grep -v '^ *+' conftest.er1
>conftest.err
26148 cat conftest.err
>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try
='test -z "$ac_cxx_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try
='test -s conftest.$ac_objext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 ac_header_compiler
=yes
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.
$ac_ext >&5
26169 ac_header_compiler
=no
26171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26173 echo "${ECHO_T}$ac_header_compiler" >&6
26175 # Is the header present?
26176 echo "$as_me:$LINENO: checking expat.h presence" >&5
26177 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26178 cat >conftest.
$ac_ext <<_ACEOF
26181 cat confdefs.h
>>conftest.
$ac_ext
26182 cat >>conftest.
$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26189 grep -v '^ *+' conftest.er1
>conftest.err
26191 cat conftest.err
>&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } >/dev
/null
; then
26194 if test -s conftest.err
; then
26195 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26196 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26203 if test -z "$ac_cpp_err"; then
26204 ac_header_preproc
=yes
26206 echo "$as_me: failed program was:" >&5
26207 sed 's/^/| /' conftest.
$ac_ext >&5
26209 ac_header_preproc
=no
26211 rm -f conftest.err conftest.
$ac_ext
26212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26213 echo "${ECHO_T}$ac_header_preproc" >&6
26215 # So? What about this header?
26216 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26218 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26219 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26220 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26221 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26222 ac_header_preproc
=yes
26225 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26226 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26227 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26228 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26229 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26230 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26231 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26232 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26233 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26234 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26235 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26236 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26239 ## ----------------------------------------- ##
26240 ## Report this to wx-dev@lists.wxwidgets.org ##
26241 ## ----------------------------------------- ##
26244 sed "s/^/$as_me: WARNING: /" >&2
26247 echo "$as_me:$LINENO: checking for expat.h" >&5
26248 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26249 if test "${ac_cv_header_expat_h+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26252 ac_cv_header_expat_h
=$ac_header_preproc
26254 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26255 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26258 if test $ac_cv_header_expat_h = yes; then
26263 if test "x$found_expat_h" = "x1"; then
26264 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26265 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26266 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26270 cat >conftest.
$ac_ext <<_ACEOF
26273 cat confdefs.h
>>conftest.
$ac_ext
26274 cat >>conftest.
$ac_ext <<_ACEOF
26275 /* end confdefs.h. */
26285 rm -f conftest.
$ac_objext
26286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26287 (eval $ac_compile) 2>conftest.er1
26289 grep -v '^ *+' conftest.er1
>conftest.err
26291 cat conftest.err
>&5
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); } &&
26294 { ac_try
='test -z "$ac_cxx_werror_flag"
26295 || test ! -s conftest.err'
26296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26297 (eval $ac_try) 2>&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); }; } &&
26301 { ac_try
='test -s conftest.$ac_objext'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; }; then
26307 wx_cv_expat_is_not_broken
=yes
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.
$ac_ext >&5
26312 wx_cv_expat_is_not_broken
=no
26315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26319 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26320 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26321 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26322 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26323 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26324 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26325 echo $ECHO_N "(cached) $ECHO_C" >&6
26327 ac_check_lib_save_LIBS
=$LIBS
26328 LIBS
="-lexpat $LIBS"
26329 cat >conftest.
$ac_ext <<_ACEOF
26332 cat confdefs.h
>>conftest.
$ac_ext
26333 cat >>conftest.
$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26336 /* Override any gcc2 internal prototype to avoid an error. */
26340 /* We use char because int might match the return type of a gcc2
26341 builtin and then its argument prototype would still apply. */
26342 char XML_ParserCreate ();
26346 XML_ParserCreate ();
26351 rm -f conftest.
$ac_objext conftest
$ac_exeext
26352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26353 (eval $ac_link) 2>conftest.er1
26355 grep -v '^ *+' conftest.er1
>conftest.err
26357 cat conftest.err
>&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); } &&
26360 { ac_try
='test -z "$ac_cxx_werror_flag"
26361 || test ! -s conftest.err'
26362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363 (eval $ac_try) 2>&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); }; } &&
26367 { ac_try
='test -s conftest$ac_exeext'
26368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369 (eval $ac_try) 2>&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); }; }; then
26373 ac_cv_lib_expat_XML_ParserCreate
=yes
26375 echo "$as_me: failed program was:" >&5
26376 sed 's/^/| /' conftest.
$ac_ext >&5
26378 ac_cv_lib_expat_XML_ParserCreate
=no
26380 rm -f conftest.err conftest.
$ac_objext \
26381 conftest
$ac_exeext conftest.
$ac_ext
26382 LIBS
=$ac_check_lib_save_LIBS
26384 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26385 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26386 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26387 EXPAT_LINK
=" -lexpat"
26392 if test "x$EXPAT_LINK" = "x" ; then
26393 if test "$wxUSE_EXPAT" = "sys" ; then
26394 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26395 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26396 { (exit 1); exit 1; }; }
26398 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26399 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26400 wxUSE_EXPAT
=builtin
26406 if test "$wxUSE_EXPAT" = "builtin" ; then
26409 subdirs
="$subdirs src/expat"
26416 if test "$wxUSE_LIBMSPACK" != "no"; then
26417 if test "${ac_cv_header_mspack_h+set}" = set; then
26418 echo "$as_me:$LINENO: checking for mspack.h" >&5
26419 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26420 if test "${ac_cv_header_mspack_h+set}" = set; then
26421 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26424 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26426 # Is the header compilable?
26427 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26428 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26429 cat >conftest.
$ac_ext <<_ACEOF
26432 cat confdefs.h
>>conftest.
$ac_ext
26433 cat >>conftest.
$ac_ext <<_ACEOF
26434 /* end confdefs.h. */
26435 $ac_includes_default
26436 #include <mspack.h>
26438 rm -f conftest.
$ac_objext
26439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26440 (eval $ac_compile) 2>conftest.er1
26442 grep -v '^ *+' conftest.er1
>conftest.err
26444 cat conftest.err
>&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } &&
26447 { ac_try
='test -z "$ac_cxx_werror_flag"
26448 || test ! -s conftest.err'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; } &&
26454 { ac_try
='test -s conftest.$ac_objext'
26455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26456 (eval $ac_try) 2>&5
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; }; then
26460 ac_header_compiler
=yes
26462 echo "$as_me: failed program was:" >&5
26463 sed 's/^/| /' conftest.
$ac_ext >&5
26465 ac_header_compiler
=no
26467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26469 echo "${ECHO_T}$ac_header_compiler" >&6
26471 # Is the header present?
26472 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26473 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26474 cat >conftest.
$ac_ext <<_ACEOF
26477 cat confdefs.h
>>conftest.
$ac_ext
26478 cat >>conftest.
$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26480 #include <mspack.h>
26482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26483 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26485 grep -v '^ *+' conftest.er1
>conftest.err
26487 cat conftest.err
>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } >/dev
/null
; then
26490 if test -s conftest.err
; then
26491 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26492 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26499 if test -z "$ac_cpp_err"; then
26500 ac_header_preproc
=yes
26502 echo "$as_me: failed program was:" >&5
26503 sed 's/^/| /' conftest.
$ac_ext >&5
26505 ac_header_preproc
=no
26507 rm -f conftest.err conftest.
$ac_ext
26508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26509 echo "${ECHO_T}$ac_header_preproc" >&6
26511 # So? What about this header?
26512 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26514 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26515 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26516 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26517 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26518 ac_header_preproc
=yes
26521 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26522 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26523 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26524 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26525 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26526 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26527 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26528 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26529 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26530 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26531 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26532 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26535 ## ----------------------------------------- ##
26536 ## Report this to wx-dev@lists.wxwidgets.org ##
26537 ## ----------------------------------------- ##
26540 sed "s/^/$as_me: WARNING: /" >&2
26543 echo "$as_me:$LINENO: checking for mspack.h" >&5
26544 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26545 if test "${ac_cv_header_mspack_h+set}" = set; then
26546 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 ac_cv_header_mspack_h
=$ac_header_preproc
26550 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26551 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26554 if test $ac_cv_header_mspack_h = yes; then
26559 if test "x$found_mspack_h" = "x1"; then
26560 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26561 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26562 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26563 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 ac_check_lib_save_LIBS
=$LIBS
26566 LIBS
="-lmspack $LIBS"
26567 cat >conftest.
$ac_ext <<_ACEOF
26570 cat confdefs.h
>>conftest.
$ac_ext
26571 cat >>conftest.
$ac_ext <<_ACEOF
26572 /* end confdefs.h. */
26574 /* Override any gcc2 internal prototype to avoid an error. */
26578 /* We use char because int might match the return type of a gcc2
26579 builtin and then its argument prototype would still apply. */
26580 char mspack_create_chm_decompressor ();
26584 mspack_create_chm_decompressor ();
26589 rm -f conftest.
$ac_objext conftest
$ac_exeext
26590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26591 (eval $ac_link) 2>conftest.er1
26593 grep -v '^ *+' conftest.er1
>conftest.err
26595 cat conftest.err
>&5
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); } &&
26598 { ac_try
='test -z "$ac_cxx_werror_flag"
26599 || test ! -s conftest.err'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; } &&
26605 { ac_try
='test -s conftest$ac_exeext'
26606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607 (eval $ac_try) 2>&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); }; }; then
26611 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26613 echo "$as_me: failed program was:" >&5
26614 sed 's/^/| /' conftest.
$ac_ext >&5
26616 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26618 rm -f conftest.err conftest.
$ac_objext \
26619 conftest
$ac_exeext conftest.
$ac_ext
26620 LIBS
=$ac_check_lib_save_LIBS
26622 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26623 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26624 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26625 MSPACK_LINK
=" -lmspack"
26629 if test "x$MSPACK_LINK" = "x" ; then
26634 if test "$wxUSE_LIBMSPACK" != "no"; then
26635 cat >>confdefs.h
<<\_ACEOF
26636 #define wxUSE_LIBMSPACK 1
26650 if test "$USE_WIN32" = 1 ; then
26652 for ac_header
in w32api.h
26654 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26656 echo "$as_me:$LINENO: checking for $ac_header" >&5
26657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26664 # Is the header compilable?
26665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26667 cat >conftest.
$ac_ext <<_ACEOF
26670 cat confdefs.h
>>conftest.
$ac_ext
26671 cat >>conftest.
$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673 $ac_includes_default
26674 #include <$ac_header>
26676 rm -f conftest.
$ac_objext
26677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26678 (eval $ac_compile) 2>conftest.er1
26680 grep -v '^ *+' conftest.er1
>conftest.err
26682 cat conftest.err
>&5
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); } &&
26685 { ac_try
='test -z "$ac_cxx_werror_flag"
26686 || test ! -s conftest.err'
26687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688 (eval $ac_try) 2>&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; } &&
26692 { ac_try
='test -s conftest.$ac_objext'
26693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26694 (eval $ac_try) 2>&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); }; }; then
26698 ac_header_compiler
=yes
26700 echo "$as_me: failed program was:" >&5
26701 sed 's/^/| /' conftest.
$ac_ext >&5
26703 ac_header_compiler
=no
26705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26707 echo "${ECHO_T}$ac_header_compiler" >&6
26709 # Is the header present?
26710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26712 cat >conftest.
$ac_ext <<_ACEOF
26715 cat confdefs.h
>>conftest.
$ac_ext
26716 cat >>conftest.
$ac_ext <<_ACEOF
26717 /* end confdefs.h. */
26718 #include <$ac_header>
26720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26723 grep -v '^ *+' conftest.er1
>conftest.err
26725 cat conftest.err
>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } >/dev
/null
; then
26728 if test -s conftest.err
; then
26729 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26730 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26737 if test -z "$ac_cpp_err"; then
26738 ac_header_preproc
=yes
26740 echo "$as_me: failed program was:" >&5
26741 sed 's/^/| /' conftest.
$ac_ext >&5
26743 ac_header_preproc
=no
26745 rm -f conftest.err conftest.
$ac_ext
26746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26747 echo "${ECHO_T}$ac_header_preproc" >&6
26749 # So? What about this header?
26750 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26756 ac_header_preproc
=yes
26759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26773 ## ----------------------------------------- ##
26774 ## Report this to wx-dev@lists.wxwidgets.org ##
26775 ## ----------------------------------------- ##
26778 sed "s/^/$as_me: WARNING: /" >&2
26781 echo "$as_me:$LINENO: checking for $ac_header" >&5
26782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26786 eval "$as_ac_Header=\$ac_header_preproc"
26788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26793 cat >>confdefs.h
<<_ACEOF
26794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26801 if test "${ac_cv_header_windows_h+set}" = set; then
26802 echo "$as_me:$LINENO: checking for windows.h" >&5
26803 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26804 if test "${ac_cv_header_windows_h+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26807 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26808 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26810 # Is the header compilable?
26811 echo "$as_me:$LINENO: checking windows.h usability" >&5
26812 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26813 cat >conftest.
$ac_ext <<_ACEOF
26816 cat confdefs.h
>>conftest.
$ac_ext
26817 cat >>conftest.
$ac_ext <<_ACEOF
26818 /* end confdefs.h. */
26819 $ac_includes_default
26820 #include <windows.h>
26822 rm -f conftest.
$ac_objext
26823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26824 (eval $ac_compile) 2>conftest.er1
26826 grep -v '^ *+' conftest.er1
>conftest.err
26828 cat conftest.err
>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); } &&
26831 { ac_try
='test -z "$ac_cxx_werror_flag"
26832 || test ! -s conftest.err'
26833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26834 (eval $ac_try) 2>&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); }; } &&
26838 { ac_try
='test -s conftest.$ac_objext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844 ac_header_compiler
=yes
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.
$ac_ext >&5
26849 ac_header_compiler
=no
26851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26853 echo "${ECHO_T}$ac_header_compiler" >&6
26855 # Is the header present?
26856 echo "$as_me:$LINENO: checking windows.h presence" >&5
26857 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26858 cat >conftest.
$ac_ext <<_ACEOF
26861 cat confdefs.h
>>conftest.
$ac_ext
26862 cat >>conftest.
$ac_ext <<_ACEOF
26863 /* end confdefs.h. */
26864 #include <windows.h>
26866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26869 grep -v '^ *+' conftest.er1
>conftest.err
26871 cat conftest.err
>&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); } >/dev
/null
; then
26874 if test -s conftest.err
; then
26875 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26876 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26883 if test -z "$ac_cpp_err"; then
26884 ac_header_preproc
=yes
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.
$ac_ext >&5
26889 ac_header_preproc
=no
26891 rm -f conftest.err conftest.
$ac_ext
26892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26893 echo "${ECHO_T}$ac_header_preproc" >&6
26895 # So? What about this header?
26896 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26898 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26899 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26900 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26901 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26902 ac_header_preproc
=yes
26905 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26906 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26907 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26908 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26909 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26910 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26912 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26913 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26914 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26915 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26916 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26919 ## ----------------------------------------- ##
26920 ## Report this to wx-dev@lists.wxwidgets.org ##
26921 ## ----------------------------------------- ##
26924 sed "s/^/$as_me: WARNING: /" >&2
26927 echo "$as_me:$LINENO: checking for windows.h" >&5
26928 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26929 if test "${ac_cv_header_windows_h+set}" = set; then
26930 echo $ECHO_N "(cached) $ECHO_C" >&6
26932 ac_cv_header_windows_h
=$ac_header_preproc
26934 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26935 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26938 if test $ac_cv_header_windows_h = yes; then
26942 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26943 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26944 { (exit 1); exit 1; }; }
26950 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26952 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26953 LIBS
="$LIBS -loleacc"
26958 LIBS
="$LIBS -lkernel32 -luser32"
26961 if test "$wxUSE_ODBC" = "sys" ; then
26964 if test "$wxUSE_ODBC" = "yes" ; then
26965 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26966 cat >>confdefs.h
<<\_ACEOF
26967 #define wxUSE_ODBC 1
26972 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26973 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26975 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26977 WIN32INSTALL
=win32install
26980 if test "$wxUSE_GUI" = "yes"; then
26990 if test "$wxUSE_COCOA" = 1 ; then
26991 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26992 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26993 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26994 wxUSE_PRINTING_ARCHITECTURE
=no
26996 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26997 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26998 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26999 wxUSE_DRAG_AND_DROP
=no
27001 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27002 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27003 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27008 if test "$wxUSE_MSW" = 1 ; then
27014 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27018 if test "$wxUSE_GTK" = 1; then
27020 ac_cpp
='$CPP $CPPFLAGS'
27021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27026 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27027 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27029 gtk_version_cached
=1
27030 if test "${wx_cv_lib_gtk+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27034 gtk_version_cached
=0
27035 echo "$as_me:$LINENO: result: " >&5
27036 echo "${ECHO_T}" >&6
27039 if test "$wxUSE_THREADS" = "yes"; then
27040 GTK_MODULES
=gthread
27044 if test "x$wxGTK_VERSION" != "x1"
27048 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27053 # Check whether --enable-gtktest or --disable-gtktest was given.
27054 if test "${enable_gtktest+set}" = set; then
27055 enableval
="$enable_gtktest"
27061 pkg_config_args
=gtk
+-2.0
27062 for module
in .
$GTK_MODULES
27066 pkg_config_args
="$pkg_config_args gthread-2.0"
27073 # Extract the first word of "pkg-config", so it can be a program name with args.
27074 set dummy pkg
-config; ac_word
=$2
27075 echo "$as_me:$LINENO: checking for $ac_word" >&5
27076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27077 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27078 echo $ECHO_N "(cached) $ECHO_C" >&6
27080 case $PKG_CONFIG in
27082 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27086 for as_dir
in $PATH
27089 test -z "$as_dir" && as_dir
=.
27090 for ac_exec_ext
in '' $ac_executable_extensions; do
27091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27092 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27099 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27103 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27105 if test -n "$PKG_CONFIG"; then
27106 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27107 echo "${ECHO_T}$PKG_CONFIG" >&6
27109 echo "$as_me:$LINENO: result: no" >&5
27110 echo "${ECHO_T}no" >&6
27114 if test x
$PKG_CONFIG != xno
; then
27115 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27118 echo "*** pkg-config too old; version 0.7 or better required."
27126 min_gtk_version
=2.0.0
27127 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27128 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27130 if test x
$PKG_CONFIG != xno
; then
27131 ## don't try to run the test against uninstalled libtool libs
27132 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27133 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27137 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27144 if test x
"$no_gtk" = x
; then
27145 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27146 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27147 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27149 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27151 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27152 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27153 if test "x$enable_gtktest" = "xyes" ; then
27154 ac_save_CFLAGS
="$CFLAGS"
27155 ac_save_LIBS
="$LIBS"
27156 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27157 LIBS
="$GTK_LIBS $LIBS"
27159 if test "$cross_compiling" = yes; then
27160 echo $ac_n "cross compiling; assumed OK... $ac_c"
27162 cat >conftest.
$ac_ext <<_ACEOF
27165 cat confdefs.h
>>conftest.
$ac_ext
27166 cat >>conftest.
$ac_ext <<_ACEOF
27167 /* end confdefs.h. */
27169 #include <gtk/gtk.h>
27171 #include <stdlib.h>
27176 int major, minor, micro;
27179 system ("touch conf.gtktest");
27181 /* HP/UX 9 (%@#!) writes to sscanf strings */
27182 tmp_version = g_strdup("$min_gtk_version");
27183 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27184 printf("%s, bad version string\n", "$min_gtk_version");
27188 if ((gtk_major_version != $gtk_config_major_version) ||
27189 (gtk_minor_version != $gtk_config_minor_version) ||
27190 (gtk_micro_version != $gtk_config_micro_version))
27192 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27193 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27194 gtk_major_version, gtk_minor_version, gtk_micro_version);
27195 printf ("*** was found! If pkg-config was correct, then it is best\n");
27196 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27197 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27198 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27199 printf("*** required on your system.\n");
27200 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27201 printf("*** to point to the correct configuration files\n");
27203 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27204 (gtk_minor_version != GTK_MINOR_VERSION) ||
27205 (gtk_micro_version != GTK_MICRO_VERSION))
27207 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27208 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27209 printf("*** library (version %d.%d.%d)\n",
27210 gtk_major_version, gtk_minor_version, gtk_micro_version);
27214 if ((gtk_major_version > major) ||
27215 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27216 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27222 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27223 gtk_major_version, gtk_minor_version, gtk_micro_version);
27224 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27225 major, minor, micro);
27226 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27228 printf("*** If you have already installed a sufficiently new version, this error\n");
27229 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27230 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27231 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27232 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27233 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27234 printf("*** so that the correct libraries are found at run-time))\n");
27241 rm -f conftest
$ac_exeext
27242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27243 (eval $ac_link) 2>&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27248 (eval $ac_try) 2>&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); }; }; then
27254 echo "$as_me: program exited with status $ac_status" >&5
27255 echo "$as_me: failed program was:" >&5
27256 sed 's/^/| /' conftest.
$ac_ext >&5
27258 ( exit $ac_status )
27261 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27263 CFLAGS
="$ac_save_CFLAGS"
27264 LIBS
="$ac_save_LIBS"
27267 if test "x$no_gtk" = x
; then
27268 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27269 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27272 echo "$as_me:$LINENO: result: no" >&5
27273 echo "${ECHO_T}no" >&6
27274 if test "$PKG_CONFIG" = "no" ; then
27275 echo "*** A new enough version of pkg-config was not found."
27276 echo "*** See http://pkgconfig.sourceforge.net"
27278 if test -f conf.gtktest
; then
27281 echo "*** Could not run GTK+ test program, checking why..."
27282 ac_save_CFLAGS
="$CFLAGS"
27283 ac_save_LIBS
="$LIBS"
27284 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27285 LIBS
="$LIBS $GTK_LIBS"
27286 cat >conftest.
$ac_ext <<_ACEOF
27289 cat confdefs.h
>>conftest.
$ac_ext
27290 cat >>conftest.
$ac_ext <<_ACEOF
27291 /* end confdefs.h. */
27293 #include <gtk/gtk.h>
27299 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27304 rm -f conftest.
$ac_objext conftest
$ac_exeext
27305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27306 (eval $ac_link) 2>conftest.er1
27308 grep -v '^ *+' conftest.er1
>conftest.err
27310 cat conftest.err
>&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } &&
27313 { ac_try
='test -z "$ac_c_werror_flag"
27314 || test ! -s conftest.err'
27315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27316 (eval $ac_try) 2>&5
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); }; } &&
27320 { ac_try
='test -s conftest$ac_exeext'
27321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322 (eval $ac_try) 2>&5
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); }; }; then
27326 echo "*** The test program compiled, but did not run. This usually means"
27327 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27328 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27329 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27330 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27331 echo "*** is required on your system"
27333 echo "*** If you have an old version installed, it is best to remove it, although"
27334 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27336 echo "$as_me: failed program was:" >&5
27337 sed 's/^/| /' conftest.
$ac_ext >&5
27339 echo "*** The test program failed to compile or link. See the file config.log for the"
27340 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27342 rm -f conftest.err conftest.
$ac_objext \
27343 conftest
$ac_exeext conftest.
$ac_ext
27344 CFLAGS
="$ac_save_CFLAGS"
27345 LIBS
="$ac_save_LIBS"
27359 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27360 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27361 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27363 if test "$wxUSE_SHARED" != "yes"; then
27364 GTK_LIBS
="$GTK_LIBS -lX11"
27369 if test -z "$wx_cv_lib_gtk"; then
27370 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27372 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27373 if test "${with_gtk_prefix+set}" = set; then
27374 withval
="$with_gtk_prefix"
27375 gtk_config_prefix
="$withval"
27377 gtk_config_prefix
=""
27380 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27381 if test "${with_gtk_exec_prefix+set}" = set; then
27382 withval
="$with_gtk_exec_prefix"
27383 gtk_config_exec_prefix
="$withval"
27385 gtk_config_exec_prefix
=""
27387 # Check whether --enable-gtktest or --disable-gtktest was given.
27388 if test "${enable_gtktest+set}" = set; then
27389 enableval
="$enable_gtktest"
27395 for module
in .
$GTK_MODULES
27399 gtk_config_args
="$gtk_config_args gthread"
27404 if test x
$gtk_config_exec_prefix != x
; then
27405 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27406 if test x
${GTK_CONFIG+set} != xset
; then
27407 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27410 if test x
$gtk_config_prefix != x
; then
27411 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27412 if test x
${GTK_CONFIG+set} != xset
; then
27413 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27417 # Extract the first word of "gtk-config", so it can be a program name with args.
27418 set dummy gtk
-config; ac_word
=$2
27419 echo "$as_me:$LINENO: checking for $ac_word" >&5
27420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27421 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
27424 case $GTK_CONFIG in
27426 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27430 for as_dir
in $PATH
27433 test -z "$as_dir" && as_dir
=.
27434 for ac_exec_ext
in '' $ac_executable_extensions; do
27435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27436 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27443 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27447 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27449 if test -n "$GTK_CONFIG"; then
27450 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27451 echo "${ECHO_T}$GTK_CONFIG" >&6
27453 echo "$as_me:$LINENO: result: no" >&5
27454 echo "${ECHO_T}no" >&6
27457 min_gtk_version
=1.2.7
27458 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27459 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27461 if test "$GTK_CONFIG" = "no" ; then
27464 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27465 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27466 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27468 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27469 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27470 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27472 if test "x$enable_gtktest" = "xyes" ; then
27473 ac_save_CFLAGS
="$CFLAGS"
27474 ac_save_LIBS
="$LIBS"
27475 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27476 LIBS
="$GTK_LIBS $LIBS"
27478 if test "$cross_compiling" = yes; then
27479 echo $ac_n "cross compiling; assumed OK... $ac_c"
27481 cat >conftest.
$ac_ext <<_ACEOF
27484 cat confdefs.h
>>conftest.
$ac_ext
27485 cat >>conftest.
$ac_ext <<_ACEOF
27486 /* end confdefs.h. */
27488 #include <gtk/gtk.h>
27490 #include <stdlib.h>
27495 int major, minor, micro;
27498 system ("touch conf.gtktest");
27500 /* HP/UX 9 (%@#!) writes to sscanf strings */
27501 tmp_version = g_strdup("$min_gtk_version");
27502 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27503 printf("%s, bad version string\n", "$min_gtk_version");
27507 if ((gtk_major_version != $gtk_config_major_version) ||
27508 (gtk_minor_version != $gtk_config_minor_version) ||
27509 (gtk_micro_version != $gtk_config_micro_version))
27511 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27512 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27513 gtk_major_version, gtk_minor_version, gtk_micro_version);
27514 printf ("*** was found! If gtk-config was correct, then it is best\n");
27515 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27516 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27517 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27518 printf("*** required on your system.\n");
27519 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27520 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27521 printf("*** before re-running configure\n");
27523 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27524 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27525 (gtk_minor_version != GTK_MINOR_VERSION) ||
27526 (gtk_micro_version != GTK_MICRO_VERSION))
27528 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27529 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27530 printf("*** library (version %d.%d.%d)\n",
27531 gtk_major_version, gtk_minor_version, gtk_micro_version);
27533 #endif /* defined (GTK_MAJOR_VERSION) ... */
27536 if ((gtk_major_version > major) ||
27537 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27538 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27544 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27545 gtk_major_version, gtk_minor_version, gtk_micro_version);
27546 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27547 major, minor, micro);
27548 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27550 printf("*** If you have already installed a sufficiently new version, this error\n");
27551 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27552 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27553 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27554 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27555 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27556 printf("*** so that the correct libraries are found at run-time))\n");
27563 rm -f conftest
$ac_exeext
27564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27565 (eval $ac_link) 2>&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27570 (eval $ac_try) 2>&5
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); }; }; then
27576 echo "$as_me: program exited with status $ac_status" >&5
27577 echo "$as_me: failed program was:" >&5
27578 sed 's/^/| /' conftest.
$ac_ext >&5
27580 ( exit $ac_status )
27583 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27585 CFLAGS
="$ac_save_CFLAGS"
27586 LIBS
="$ac_save_LIBS"
27589 if test "x$no_gtk" = x
; then
27590 echo "$as_me:$LINENO: result: yes" >&5
27591 echo "${ECHO_T}yes" >&6
27592 wx_cv_lib_gtk
=1.2.7
27594 echo "$as_me:$LINENO: result: no" >&5
27595 echo "${ECHO_T}no" >&6
27596 if test "$GTK_CONFIG" = "no" ; then
27597 echo "*** The gtk-config script installed by GTK could not be found"
27598 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27599 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27600 echo "*** full path to gtk-config."
27602 if test -f conf.gtktest
; then
27605 echo "*** Could not run GTK test program, checking why..."
27606 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27607 LIBS
="$LIBS $GTK_LIBS"
27608 cat >conftest.
$ac_ext <<_ACEOF
27611 cat confdefs.h
>>conftest.
$ac_ext
27612 cat >>conftest.
$ac_ext <<_ACEOF
27613 /* end confdefs.h. */
27615 #include <gtk/gtk.h>
27621 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27626 rm -f conftest.
$ac_objext conftest
$ac_exeext
27627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27628 (eval $ac_link) 2>conftest.er1
27630 grep -v '^ *+' conftest.er1
>conftest.err
27632 cat conftest.err
>&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } &&
27635 { ac_try
='test -z "$ac_c_werror_flag"
27636 || test ! -s conftest.err'
27637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27638 (eval $ac_try) 2>&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); }; } &&
27642 { ac_try
='test -s conftest$ac_exeext'
27643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27644 (eval $ac_try) 2>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); }; }; then
27648 echo "*** The test program compiled, but did not run. This usually means"
27649 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27650 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27651 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27652 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27653 echo "*** is required on your system"
27655 echo "*** If you have an old version installed, it is best to remove it, although"
27656 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27658 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27659 echo "*** came with the system with the command"
27661 echo "*** rpm --erase --nodeps gtk gtk-devel"
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.
$ac_ext >&5
27666 echo "*** The test program failed to compile or link. See the file config.log for the"
27667 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27668 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27669 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27671 rm -f conftest.err conftest.
$ac_objext \
27672 conftest
$ac_exeext conftest.
$ac_ext
27673 CFLAGS
="$ac_save_CFLAGS"
27674 LIBS
="$ac_save_LIBS"
27686 if test -z "$wx_cv_lib_gtk"; then
27688 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27689 if test "${with_gtk_prefix+set}" = set; then
27690 withval
="$with_gtk_prefix"
27691 gtk_config_prefix
="$withval"
27693 gtk_config_prefix
=""
27696 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27697 if test "${with_gtk_exec_prefix+set}" = set; then
27698 withval
="$with_gtk_exec_prefix"
27699 gtk_config_exec_prefix
="$withval"
27701 gtk_config_exec_prefix
=""
27703 # Check whether --enable-gtktest or --disable-gtktest was given.
27704 if test "${enable_gtktest+set}" = set; then
27705 enableval
="$enable_gtktest"
27711 for module
in .
$GTK_MODULES
27715 gtk_config_args
="$gtk_config_args gthread"
27720 if test x
$gtk_config_exec_prefix != x
; then
27721 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27722 if test x
${GTK_CONFIG+set} != xset
; then
27723 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27726 if test x
$gtk_config_prefix != x
; then
27727 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27728 if test x
${GTK_CONFIG+set} != xset
; then
27729 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27733 # Extract the first word of "gtk-config", so it can be a program name with args.
27734 set dummy gtk
-config; ac_word
=$2
27735 echo "$as_me:$LINENO: checking for $ac_word" >&5
27736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27737 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27738 echo $ECHO_N "(cached) $ECHO_C" >&6
27740 case $GTK_CONFIG in
27742 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27746 for as_dir
in $PATH
27749 test -z "$as_dir" && as_dir
=.
27750 for ac_exec_ext
in '' $ac_executable_extensions; do
27751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27752 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27759 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27763 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27765 if test -n "$GTK_CONFIG"; then
27766 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27767 echo "${ECHO_T}$GTK_CONFIG" >&6
27769 echo "$as_me:$LINENO: result: no" >&5
27770 echo "${ECHO_T}no" >&6
27773 min_gtk_version
=1.2.3
27774 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27775 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27777 if test "$GTK_CONFIG" = "no" ; then
27780 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27781 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27782 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27784 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27786 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27787 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27788 if test "x$enable_gtktest" = "xyes" ; then
27789 ac_save_CFLAGS
="$CFLAGS"
27790 ac_save_LIBS
="$LIBS"
27791 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27792 LIBS
="$GTK_LIBS $LIBS"
27794 if test "$cross_compiling" = yes; then
27795 echo $ac_n "cross compiling; assumed OK... $ac_c"
27797 cat >conftest.
$ac_ext <<_ACEOF
27800 cat confdefs.h
>>conftest.
$ac_ext
27801 cat >>conftest.
$ac_ext <<_ACEOF
27802 /* end confdefs.h. */
27804 #include <gtk/gtk.h>
27806 #include <stdlib.h>
27811 int major, minor, micro;
27814 system ("touch conf.gtktest");
27816 /* HP/UX 9 (%@#!) writes to sscanf strings */
27817 tmp_version = g_strdup("$min_gtk_version");
27818 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27819 printf("%s, bad version string\n", "$min_gtk_version");
27823 if ((gtk_major_version != $gtk_config_major_version) ||
27824 (gtk_minor_version != $gtk_config_minor_version) ||
27825 (gtk_micro_version != $gtk_config_micro_version))
27827 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27828 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27829 gtk_major_version, gtk_minor_version, gtk_micro_version);
27830 printf ("*** was found! If gtk-config was correct, then it is best\n");
27831 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27832 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27833 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27834 printf("*** required on your system.\n");
27835 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27836 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27837 printf("*** before re-running configure\n");
27839 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27840 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27841 (gtk_minor_version != GTK_MINOR_VERSION) ||
27842 (gtk_micro_version != GTK_MICRO_VERSION))
27844 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27845 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27846 printf("*** library (version %d.%d.%d)\n",
27847 gtk_major_version, gtk_minor_version, gtk_micro_version);
27849 #endif /* defined (GTK_MAJOR_VERSION) ... */
27852 if ((gtk_major_version > major) ||
27853 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27854 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27860 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27861 gtk_major_version, gtk_minor_version, gtk_micro_version);
27862 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27863 major, minor, micro);
27864 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27866 printf("*** If you have already installed a sufficiently new version, this error\n");
27867 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27868 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27869 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27870 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27871 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27872 printf("*** so that the correct libraries are found at run-time))\n");
27879 rm -f conftest
$ac_exeext
27880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27881 (eval $ac_link) 2>&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27886 (eval $ac_try) 2>&5
27888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27889 (exit $ac_status); }; }; then
27892 echo "$as_me: program exited with status $ac_status" >&5
27893 echo "$as_me: failed program was:" >&5
27894 sed 's/^/| /' conftest.
$ac_ext >&5
27896 ( exit $ac_status )
27899 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27901 CFLAGS
="$ac_save_CFLAGS"
27902 LIBS
="$ac_save_LIBS"
27905 if test "x$no_gtk" = x
; then
27906 echo "$as_me:$LINENO: result: yes" >&5
27907 echo "${ECHO_T}yes" >&6
27908 wx_cv_lib_gtk
=1.2.3
27910 echo "$as_me:$LINENO: result: no" >&5
27911 echo "${ECHO_T}no" >&6
27912 if test "$GTK_CONFIG" = "no" ; then
27913 echo "*** The gtk-config script installed by GTK could not be found"
27914 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27915 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27916 echo "*** full path to gtk-config."
27918 if test -f conf.gtktest
; then
27921 echo "*** Could not run GTK test program, checking why..."
27922 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27923 LIBS
="$LIBS $GTK_LIBS"
27924 cat >conftest.
$ac_ext <<_ACEOF
27927 cat confdefs.h
>>conftest.
$ac_ext
27928 cat >>conftest.
$ac_ext <<_ACEOF
27929 /* end confdefs.h. */
27931 #include <gtk/gtk.h>
27937 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27942 rm -f conftest.
$ac_objext conftest
$ac_exeext
27943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27944 (eval $ac_link) 2>conftest.er1
27946 grep -v '^ *+' conftest.er1
>conftest.err
27948 cat conftest.err
>&5
27949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 (exit $ac_status); } &&
27951 { ac_try
='test -z "$ac_c_werror_flag"
27952 || test ! -s conftest.err'
27953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954 (eval $ac_try) 2>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; } &&
27958 { ac_try
='test -s conftest$ac_exeext'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; }; then
27964 echo "*** The test program compiled, but did not run. This usually means"
27965 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27966 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27967 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27968 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27969 echo "*** is required on your system"
27971 echo "*** If you have an old version installed, it is best to remove it, although"
27972 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27974 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27975 echo "*** came with the system with the command"
27977 echo "*** rpm --erase --nodeps gtk gtk-devel"
27979 echo "$as_me: failed program was:" >&5
27980 sed 's/^/| /' conftest.
$ac_ext >&5
27982 echo "*** The test program failed to compile or link. See the file config.log for the"
27983 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27984 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27985 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27987 rm -f conftest.err conftest.
$ac_objext \
27988 conftest
$ac_exeext conftest.
$ac_ext
27989 CFLAGS
="$ac_save_CFLAGS"
27990 LIBS
="$ac_save_LIBS"
28005 if test -z "$wx_cv_lib_gtk"; then
28008 wx_cv_cflags_gtk
=$GTK_CFLAGS
28009 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28016 if test "$gtk_version_cached" = 1; then
28017 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28018 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28021 case "$wx_cv_lib_gtk" in
28030 *) { { echo "$as_me:$LINENO: error:
28031 The development files for GTK+ were not found. For GTK+ 2, please
28032 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28033 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28034 and that the version is 1.2.3 or above. Also check that the
28035 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28036 --libs' are in the LD_LIBRARY_PATH or equivalent.
28038 echo "$as_me: error:
28039 The development files for GTK+ were not found. For GTK+ 2, please
28040 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28041 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28042 and that the version is 1.2.3 or above. Also check that the
28043 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28044 --libs' are in the LD_LIBRARY_PATH or equivalent.
28046 { (exit 1); exit 1; }; }
28050 if test "$WXGTK20" = 1; then
28051 save_CFLAGS
="$CFLAGS"
28053 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28054 LIBS
="$LIBS $wx_cv_libs_gtk"
28056 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28057 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28058 cat >conftest.
$ac_ext <<_ACEOF
28061 cat confdefs.h
>>conftest.
$ac_ext
28062 cat >>conftest.
$ac_ext <<_ACEOF
28063 /* end confdefs.h. */
28065 #include <gtk/gtk.h>
28071 void *f = gtk_icon_size_lookup;
28077 rm -f conftest.
$ac_objext
28078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28079 (eval $ac_compile) 2>conftest.er1
28081 grep -v '^ *+' conftest.er1
>conftest.err
28083 cat conftest.err
>&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try
='test -z "$ac_c_werror_flag"
28087 || test ! -s conftest.err'
28088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28089 (eval $ac_try) 2>&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); }; } &&
28093 { ac_try
='test -s conftest.$ac_objext'
28094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28095 (eval $ac_try) 2>&5
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); }; }; then
28100 echo "$as_me:$LINENO: result: no" >&5
28101 echo "${ECHO_T}no" >&6
28104 echo "$as_me: failed program was:" >&5
28105 sed 's/^/| /' conftest.
$ac_ext >&5
28108 cat >>confdefs.h
<<\_ACEOF
28109 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28112 echo "$as_me:$LINENO: result: yes" >&5
28113 echo "${ECHO_T}yes" >&6
28116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28118 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28119 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28120 cat >conftest.
$ac_ext <<_ACEOF
28123 cat confdefs.h
>>conftest.
$ac_ext
28124 cat >>conftest.
$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28127 #include <gtk/gtk.h>
28133 #if !GTK_CHECK_VERSION(2,6,0)
28141 rm -f conftest.
$ac_objext
28142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28143 (eval $ac_compile) 2>conftest.er1
28145 grep -v '^ *+' conftest.er1
>conftest.err
28147 cat conftest.err
>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); } &&
28150 { ac_try
='test -z "$ac_c_werror_flag"
28151 || test ! -s conftest.err'
28152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28153 (eval $ac_try) 2>&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); }; } &&
28157 { ac_try
='test -s conftest.$ac_objext'
28158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159 (eval $ac_try) 2>&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); }; }; then
28164 cat >>confdefs.h
<<\_ACEOF
28165 #define __WXGTK26__ 1
28168 cat >>confdefs.h
<<\_ACEOF
28169 #define __WXGTK24__ 1
28172 echo "$as_me:$LINENO: result: yes" >&5
28173 echo "${ECHO_T}yes" >&6
28177 echo "$as_me: failed program was:" >&5
28178 sed 's/^/| /' conftest.
$ac_ext >&5
28181 echo "$as_me:$LINENO: result: no" >&5
28182 echo "${ECHO_T}no" >&6
28186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28188 if test "$ac_wxgtk26" = 0; then
28189 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28190 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28191 cat >conftest.
$ac_ext <<_ACEOF
28194 cat confdefs.h
>>conftest.
$ac_ext
28195 cat >>conftest.
$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28198 #include <gtk/gtk.h>
28204 #if !GTK_CHECK_VERSION(2,4,0)
28212 rm -f conftest.
$ac_objext
28213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28214 (eval $ac_compile) 2>conftest.er1
28216 grep -v '^ *+' conftest.er1
>conftest.err
28218 cat conftest.err
>&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); } &&
28221 { ac_try
='test -z "$ac_c_werror_flag"
28222 || test ! -s conftest.err'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; } &&
28228 { ac_try
='test -s conftest.$ac_objext'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; }; then
28235 cat >>confdefs.h
<<\_ACEOF
28236 #define __WXGTK24__ 1
28239 echo "$as_me:$LINENO: result: yes" >&5
28240 echo "${ECHO_T}yes" >&6
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.
$ac_ext >&5
28247 echo "$as_me:$LINENO: result: no" >&5
28248 echo "${ECHO_T}no" >&6
28251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28254 CFLAGS
="$save_CFLAGS"
28257 if test "$wxUSE_UNICODE" = "yes"; then
28258 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28259 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28265 ac_cpp
='$CXXCPP $CPPFLAGS'
28266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28271 if test "$USE_DARWIN" != 1; then
28273 for ac_func
in poll
28275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28276 echo "$as_me:$LINENO: checking for $ac_func" >&5
28277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28278 if eval "test \"\${$as_ac_var+set}\" = set"; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28281 cat >conftest.
$ac_ext <<_ACEOF
28284 cat confdefs.h
>>conftest.
$ac_ext
28285 cat >>conftest.
$ac_ext <<_ACEOF
28286 /* end confdefs.h. */
28287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28289 #define $ac_func innocuous_$ac_func
28291 /* System header to define __stub macros and hopefully few prototypes,
28292 which can conflict with char $ac_func (); below.
28293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28294 <limits.h> exists even on freestanding compilers. */
28297 # include <limits.h>
28299 # include <assert.h>
28304 /* Override any gcc2 internal prototype to avoid an error. */
28309 /* We use char because int might match the return type of a gcc2
28310 builtin and then its argument prototype would still apply. */
28312 /* The GNU C library defines this for functions which it implements
28313 to always fail with ENOSYS. Some functions are actually named
28314 something starting with __ and the normal name is an alias. */
28315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28318 char (*f) () = $ac_func;
28327 return f != $ac_func;
28332 rm -f conftest.
$ac_objext conftest
$ac_exeext
28333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28334 (eval $ac_link) 2>conftest.er1
28336 grep -v '^ *+' conftest.er1
>conftest.err
28338 cat conftest.err
>&5
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); } &&
28341 { ac_try
='test -z "$ac_cxx_werror_flag"
28342 || test ! -s conftest.err'
28343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344 (eval $ac_try) 2>&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; } &&
28348 { ac_try
='test -s conftest$ac_exeext'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28354 eval "$as_ac_var=yes"
28356 echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.
$ac_ext >&5
28359 eval "$as_ac_var=no"
28361 rm -f conftest.err conftest.
$ac_objext \
28362 conftest
$ac_exeext conftest.
$ac_ext
28364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28366 if test `eval echo '${'$as_ac_var'}'` = yes; then
28367 cat >>confdefs.h
<<_ACEOF
28368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28376 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28377 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28379 AFMINSTALL
=afminstall
28383 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28384 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28385 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28386 echo $ECHO_N "(cached) $ECHO_C" >&6
28388 ac_check_lib_save_LIBS
=$LIBS
28390 cat >conftest.
$ac_ext <<_ACEOF
28393 cat confdefs.h
>>conftest.
$ac_ext
28394 cat >>conftest.
$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28397 /* Override any gcc2 internal prototype to avoid an error. */
28401 /* We use char because int might match the return type of a gcc2
28402 builtin and then its argument prototype would still apply. */
28403 char gdk_im_open ();
28412 rm -f conftest.
$ac_objext conftest
$ac_exeext
28413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28414 (eval $ac_link) 2>conftest.er1
28416 grep -v '^ *+' conftest.er1
>conftest.err
28418 cat conftest.err
>&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); } &&
28421 { ac_try
='test -z "$ac_cxx_werror_flag"
28422 || test ! -s conftest.err'
28423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424 (eval $ac_try) 2>&5
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); }; } &&
28428 { ac_try
='test -s conftest$ac_exeext'
28429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28430 (eval $ac_try) 2>&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 ac_cv_lib_gdk_gdk_im_open
=yes
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.
$ac_ext >&5
28439 ac_cv_lib_gdk_gdk_im_open
=no
28441 rm -f conftest.err conftest.
$ac_objext \
28442 conftest
$ac_exeext conftest.
$ac_ext
28443 LIBS
=$ac_check_lib_save_LIBS
28445 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28446 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28447 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28448 cat >>confdefs.h
<<\_ACEOF
28456 if test "$wxUSE_GPE" = "yes"; then
28457 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28458 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28461 for ac_dir
in $SEARCH_LIB;
28463 for ac_extension
in a so sl dylib dll.a
; do
28464 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28465 ac_find_libraries
=$ac_dir
28471 if test "$ac_find_libraries" != "" ; then
28473 if test "$ac_find_libraries" = "default location"; then
28476 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28478 if test $result = 0; then
28481 ac_path_to_link
=" -L$ac_find_libraries"
28485 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28487 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28488 echo "${ECHO_T}found in $ac_find_libraries" >&6
28490 echo "$as_me:$LINENO: result: not found" >&5
28491 echo "${ECHO_T}not found" >&6
28497 if test "$wxUSE_MGL" = 1; then
28498 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28499 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28500 if test "x$MGL_ROOT" = x
; then
28501 echo "$as_me:$LINENO: result: not found" >&5
28502 echo "${ECHO_T}not found" >&6
28503 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28504 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28505 { (exit 1); exit 1; }; }
28507 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28508 echo "${ECHO_T}$MGL_ROOT" >&6
28511 echo "$as_me:$LINENO: checking for libmgl location" >&5
28512 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28515 if test "x$wxUSE_SHARED" = xyes
; then
28516 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28518 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28522 mgl_os_candidates
="dos32/dj2"
28525 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28526 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28527 { (exit 1); exit 1; }; }
28533 for mgl_os_i
in $mgl_os_candidates ; do
28534 if test "x$mgl_os" = x
; then
28535 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28536 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28537 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28542 if test "x$mgl_lib_type" = x
; then
28543 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28544 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28545 mgl_lib_type
=release
28552 if test "x$mgl_os" = x
; then
28553 echo "$as_me:$LINENO: result: not found" >&5
28554 echo "${ECHO_T}not found" >&6
28555 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28556 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28557 { (exit 1); exit 1; }; }
28559 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28560 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28562 wxUSE_UNIVERSAL
="yes"
28564 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28565 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28567 AFMINSTALL
=afminstall
28572 if test "$wxUSE_MICROWIN" = 1; then
28573 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28574 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28575 if test "x$MICROWINDOWS" = x
; then
28576 echo "$as_me:$LINENO: result: not found" >&5
28577 echo "${ECHO_T}not found" >&6
28578 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28579 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28580 { (exit 1); exit 1; }; }
28582 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28583 echo "${ECHO_T}$MICROWINDOWS" >&6
28586 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28587 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28588 echo "${ECHO_T}MicroWindows' libraries found." >&6
28590 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28591 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28592 { (exit 1); exit 1; }; }
28595 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28596 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28598 wxUSE_UNIVERSAL
="yes"
28600 AFMINSTALL
=afminstall
28602 GUIDIST
=MICROWIN_DIST
28604 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28607 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28608 echo "$as_me:$LINENO: checking for X" >&5
28609 echo $ECHO_N "checking for X... $ECHO_C" >&6
28612 # Check whether --with-x or --without-x was given.
28613 if test "${with_x+set}" = set; then
28617 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28618 if test "x$with_x" = xno
; then
28619 # The user explicitly disabled X.
28622 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28623 # Both variables are already set.
28626 if test "${ac_cv_have_x+set}" = set; then
28627 echo $ECHO_N "(cached) $ECHO_C" >&6
28629 # One or both of the vars are not set, and there is no cached value.
28630 ac_x_includes
=no ac_x_libraries
=no
28631 rm -fr conftest.dir
28632 if mkdir conftest.dir
; then
28634 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28635 cat >Imakefile
<<'_ACEOF'
28637 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28639 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28640 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28641 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28642 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28643 for ac_extension
in a so sl
; do
28644 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28645 test -f $ac_im_libdir/libX11.
$ac_extension; then
28646 ac_im_usrlibdir
=$ac_im_libdir; break
28649 # Screen out bogus values from the imake configuration. They are
28650 # bogus both because they are the default anyway, and because
28651 # using them would break gcc on systems where it needs fixed includes.
28652 case $ac_im_incroot in
28654 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28656 case $ac_im_usrlibdir in
28657 /usr
/lib
| /lib
) ;;
28658 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28662 rm -fr conftest.dir
28665 # Standard set of common directories for X headers.
28666 # Check X11 before X11Rn because it is often a symlink to the current release.
28678 /usr/local/X11/include
28679 /usr/local/X11R6/include
28680 /usr/local/X11R5/include
28681 /usr/local/X11R4/include
28683 /usr/local/include/X11
28684 /usr/local/include/X11R6
28685 /usr/local/include/X11R5
28686 /usr/local/include/X11R4
28690 /usr/XFree86/include/X11
28694 /usr/unsupported/include
28695 /usr/athena/include
28696 /usr/local/x11r5/include
28697 /usr/lpp/Xamples/include
28699 /usr/openwin/include
28700 /usr/openwin/share/include'
28702 if test "$ac_x_includes" = no
; then
28703 # Guess where to find include files, by looking for Intrinsic.h.
28704 # First, try using that file with no special directory specified.
28705 cat >conftest.
$ac_ext <<_ACEOF
28708 cat confdefs.h
>>conftest.
$ac_ext
28709 cat >>conftest.
$ac_ext <<_ACEOF
28710 /* end confdefs.h. */
28711 #include <X11/Intrinsic.h>
28713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28714 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
28721 if test -s conftest.err
; then
28722 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28723 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28730 if test -z "$ac_cpp_err"; then
28731 # We can compile using X headers with no special include directory.
28734 echo "$as_me: failed program was:" >&5
28735 sed 's/^/| /' conftest.
$ac_ext >&5
28737 for ac_dir
in $ac_x_header_dirs; do
28738 if test -r "$ac_dir/X11/Intrinsic.h"; then
28739 ac_x_includes
=$ac_dir
28744 rm -f conftest.err conftest.
$ac_ext
28745 fi # $ac_x_includes = no
28747 if test "$ac_x_libraries" = no
; then
28748 # Check for the libraries.
28749 # See if we find them without any special options.
28750 # Don't add to $LIBS permanently.
28753 cat >conftest.
$ac_ext <<_ACEOF
28756 cat confdefs.h
>>conftest.
$ac_ext
28757 cat >>conftest.
$ac_ext <<_ACEOF
28758 /* end confdefs.h. */
28759 #include <X11/Intrinsic.h>
28768 rm -f conftest.
$ac_objext conftest
$ac_exeext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28770 (eval $ac_link) 2>conftest.er1
28772 grep -v '^ *+' conftest.er1
>conftest.err
28774 cat conftest.err
>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try
='test -z "$ac_cxx_werror_flag"
28778 || test ! -s conftest.err'
28779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28780 (eval $ac_try) 2>&5
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; } &&
28784 { ac_try
='test -s conftest$ac_exeext'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; }; then
28791 # We can link X programs with no special library path.
28794 echo "$as_me: failed program was:" >&5
28795 sed 's/^/| /' conftest.
$ac_ext >&5
28798 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28800 # Don't even attempt the hair of trying to link an X program!
28801 for ac_extension
in a so sl
; do
28802 if test -r $ac_dir/libXt.
$ac_extension; then
28803 ac_x_libraries
=$ac_dir
28809 rm -f conftest.err conftest.
$ac_objext \
28810 conftest
$ac_exeext conftest.
$ac_ext
28811 fi # $ac_x_libraries = no
28813 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28814 # Didn't find X anywhere. Cache the known absence of X.
28815 ac_cv_have_x
="have_x=no"
28817 # Record where we found X for the cache.
28818 ac_cv_have_x
="have_x=yes \
28819 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28824 eval "$ac_cv_have_x"
28827 if test "$have_x" != yes; then
28828 echo "$as_me:$LINENO: result: $have_x" >&5
28829 echo "${ECHO_T}$have_x" >&6
28832 # If each of the values was on the command line, it overrides each guess.
28833 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28834 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28835 # Update the cache value to reflect the command line values.
28836 ac_cv_have_x
="have_x=yes \
28837 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28838 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28839 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28842 if test "$no_x" = yes; then
28843 # Not all programs may use this symbol, but it does not hurt to define it.
28845 cat >>confdefs.h
<<\_ACEOF
28846 #define X_DISPLAY_MISSING 1
28849 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28851 if test -n "$x_includes"; then
28852 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28855 # It would also be nice to do this for all -L options, not just this one.
28856 if test -n "$x_libraries"; then
28857 X_LIBS
="$X_LIBS -L$x_libraries"
28858 # For Solaris; some versions of Sun CC require a space after -R and
28859 # others require no space. Words are not sufficient . . . .
28860 case `(uname -sr) 2>/dev/null` in
28862 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28863 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28864 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28865 cat >conftest.
$ac_ext <<_ACEOF
28868 cat confdefs.h
>>conftest.
$ac_ext
28869 cat >>conftest.
$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28880 rm -f conftest.
$ac_objext conftest
$ac_exeext
28881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28882 (eval $ac_link) 2>conftest.er1
28884 grep -v '^ *+' conftest.er1
>conftest.err
28886 cat conftest.err
>&5
28887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28888 (exit $ac_status); } &&
28889 { ac_try
='test -z "$ac_cxx_werror_flag"
28890 || test ! -s conftest.err'
28891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28892 (eval $ac_try) 2>&5
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); }; } &&
28896 { ac_try
='test -s conftest$ac_exeext'
28897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28898 (eval $ac_try) 2>&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); }; }; then
28904 echo "$as_me: failed program was:" >&5
28905 sed 's/^/| /' conftest.
$ac_ext >&5
28909 rm -f conftest.err conftest.
$ac_objext \
28910 conftest
$ac_exeext conftest.
$ac_ext
28911 if test $ac_R_nospace = yes; then
28912 echo "$as_me:$LINENO: result: no" >&5
28913 echo "${ECHO_T}no" >&6
28914 X_LIBS
="$X_LIBS -R$x_libraries"
28916 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28917 cat >conftest.
$ac_ext <<_ACEOF
28920 cat confdefs.h
>>conftest.
$ac_ext
28921 cat >>conftest.
$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28932 rm -f conftest.
$ac_objext conftest
$ac_exeext
28933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28934 (eval $ac_link) 2>conftest.er1
28936 grep -v '^ *+' conftest.er1
>conftest.err
28938 cat conftest.err
>&5
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); } &&
28941 { ac_try
='test -z "$ac_cxx_werror_flag"
28942 || test ! -s conftest.err'
28943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28944 (eval $ac_try) 2>&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); }; } &&
28948 { ac_try
='test -s conftest$ac_exeext'
28949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28950 (eval $ac_try) 2>&5
28952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 (exit $ac_status); }; }; then
28956 echo "$as_me: failed program was:" >&5
28957 sed 's/^/| /' conftest.
$ac_ext >&5
28961 rm -f conftest.err conftest.
$ac_objext \
28962 conftest
$ac_exeext conftest.
$ac_ext
28963 if test $ac_R_space = yes; then
28964 echo "$as_me:$LINENO: result: yes" >&5
28965 echo "${ECHO_T}yes" >&6
28966 X_LIBS
="$X_LIBS -R $x_libraries"
28968 echo "$as_me:$LINENO: result: neither works" >&5
28969 echo "${ECHO_T}neither works" >&6
28972 LIBS
=$ac_xsave_LIBS
28976 # Check for system-dependent libraries X programs must link with.
28977 # Do this before checking for the system-independent R6 libraries
28978 # (-lICE), since we may need -lsocket or whatever for X linking.
28980 if test "$ISC" = yes; then
28981 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28983 # Martyn Johnson says this is needed for Ultrix, if the X
28984 # libraries were built with DECnet support. And Karl Berry says
28985 # the Alpha needs dnet_stub (dnet does not exist).
28986 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28987 cat >conftest.
$ac_ext <<_ACEOF
28990 cat confdefs.h
>>conftest.
$ac_ext
28991 cat >>conftest.
$ac_ext <<_ACEOF
28992 /* end confdefs.h. */
28994 /* Override any gcc2 internal prototype to avoid an error. */
28998 /* We use char because int might match the return type of a gcc2
28999 builtin and then its argument prototype would still apply. */
29000 char XOpenDisplay ();
29009 rm -f conftest.
$ac_objext conftest
$ac_exeext
29010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29011 (eval $ac_link) 2>conftest.er1
29013 grep -v '^ *+' conftest.er1
>conftest.err
29015 cat conftest.err
>&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); } &&
29018 { ac_try
='test -z "$ac_cxx_werror_flag"
29019 || test ! -s conftest.err'
29020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29021 (eval $ac_try) 2>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try
='test -s conftest$ac_exeext'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29033 echo "$as_me: failed program was:" >&5
29034 sed 's/^/| /' conftest.
$ac_ext >&5
29036 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29037 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29038 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29039 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 ac_check_lib_save_LIBS
=$LIBS
29042 LIBS
="-ldnet $LIBS"
29043 cat >conftest.
$ac_ext <<_ACEOF
29046 cat confdefs.h
>>conftest.
$ac_ext
29047 cat >>conftest.
$ac_ext <<_ACEOF
29048 /* end confdefs.h. */
29050 /* Override any gcc2 internal prototype to avoid an error. */
29054 /* We use char because int might match the return type of a gcc2
29055 builtin and then its argument prototype would still apply. */
29065 rm -f conftest.
$ac_objext conftest
$ac_exeext
29066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29067 (eval $ac_link) 2>conftest.er1
29069 grep -v '^ *+' conftest.er1
>conftest.err
29071 cat conftest.err
>&5
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); } &&
29074 { ac_try
='test -z "$ac_cxx_werror_flag"
29075 || test ! -s conftest.err'
29076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29077 (eval $ac_try) 2>&5
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); }; } &&
29081 { ac_try
='test -s conftest$ac_exeext'
29082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083 (eval $ac_try) 2>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); }; }; then
29087 ac_cv_lib_dnet_dnet_ntoa
=yes
29089 echo "$as_me: failed program was:" >&5
29090 sed 's/^/| /' conftest.
$ac_ext >&5
29092 ac_cv_lib_dnet_dnet_ntoa
=no
29094 rm -f conftest.err conftest.
$ac_objext \
29095 conftest
$ac_exeext conftest.
$ac_ext
29096 LIBS
=$ac_check_lib_save_LIBS
29098 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29099 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29100 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29101 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29104 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29105 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29106 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29107 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29108 echo $ECHO_N "(cached) $ECHO_C" >&6
29110 ac_check_lib_save_LIBS
=$LIBS
29111 LIBS
="-ldnet_stub $LIBS"
29112 cat >conftest.
$ac_ext <<_ACEOF
29115 cat confdefs.h
>>conftest.
$ac_ext
29116 cat >>conftest.
$ac_ext <<_ACEOF
29117 /* end confdefs.h. */
29119 /* Override any gcc2 internal prototype to avoid an error. */
29123 /* We use char because int might match the return type of a gcc2
29124 builtin and then its argument prototype would still apply. */
29134 rm -f conftest.
$ac_objext conftest
$ac_exeext
29135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29136 (eval $ac_link) 2>conftest.er1
29138 grep -v '^ *+' conftest.er1
>conftest.err
29140 cat conftest.err
>&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } &&
29143 { ac_try
='test -z "$ac_cxx_werror_flag"
29144 || test ! -s conftest.err'
29145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29146 (eval $ac_try) 2>&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); }; } &&
29150 { ac_try
='test -s conftest$ac_exeext'
29151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29152 (eval $ac_try) 2>&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); }; }; then
29156 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.
$ac_ext >&5
29161 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29163 rm -f conftest.err conftest.
$ac_objext \
29164 conftest
$ac_exeext conftest.
$ac_ext
29165 LIBS
=$ac_check_lib_save_LIBS
29167 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29168 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29169 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29170 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29175 rm -f conftest.err conftest.
$ac_objext \
29176 conftest
$ac_exeext conftest.
$ac_ext
29177 LIBS
="$ac_xsave_LIBS"
29179 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29180 # to get the SysV transport functions.
29181 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29183 # The nsl library prevents programs from opening the X display
29184 # on Irix 5.2, according to T.E. Dickey.
29185 # The functions gethostbyname, getservbyname, and inet_addr are
29186 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29187 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29188 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29189 if test "${ac_cv_func_gethostbyname+set}" = set; then
29190 echo $ECHO_N "(cached) $ECHO_C" >&6
29192 cat >conftest.
$ac_ext <<_ACEOF
29195 cat confdefs.h
>>conftest.
$ac_ext
29196 cat >>conftest.
$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29200 #define gethostbyname innocuous_gethostbyname
29202 /* System header to define __stub macros and hopefully few prototypes,
29203 which can conflict with char gethostbyname (); below.
29204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29205 <limits.h> exists even on freestanding compilers. */
29208 # include <limits.h>
29210 # include <assert.h>
29213 #undef gethostbyname
29215 /* Override any gcc2 internal prototype to avoid an error. */
29220 /* We use char because int might match the return type of a gcc2
29221 builtin and then its argument prototype would still apply. */
29222 char gethostbyname ();
29223 /* The GNU C library defines this for functions which it implements
29224 to always fail with ENOSYS. Some functions are actually named
29225 something starting with __ and the normal name is an alias. */
29226 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29229 char (*f) () = gethostbyname;
29238 return f != gethostbyname;
29243 rm -f conftest.
$ac_objext conftest
$ac_exeext
29244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29245 (eval $ac_link) 2>conftest.er1
29247 grep -v '^ *+' conftest.er1
>conftest.err
29249 cat conftest.err
>&5
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); } &&
29252 { ac_try
='test -z "$ac_cxx_werror_flag"
29253 || test ! -s conftest.err'
29254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29255 (eval $ac_try) 2>&5
29257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29258 (exit $ac_status); }; } &&
29259 { ac_try
='test -s conftest$ac_exeext'
29260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29261 (eval $ac_try) 2>&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); }; }; then
29265 ac_cv_func_gethostbyname
=yes
29267 echo "$as_me: failed program was:" >&5
29268 sed 's/^/| /' conftest.
$ac_ext >&5
29270 ac_cv_func_gethostbyname
=no
29272 rm -f conftest.err conftest.
$ac_objext \
29273 conftest
$ac_exeext conftest.
$ac_ext
29275 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29276 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29278 if test $ac_cv_func_gethostbyname = no
; then
29279 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29280 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29281 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 ac_check_lib_save_LIBS
=$LIBS
29286 cat >conftest.
$ac_ext <<_ACEOF
29289 cat confdefs.h
>>conftest.
$ac_ext
29290 cat >>conftest.
$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29293 /* Override any gcc2 internal prototype to avoid an error. */
29297 /* We use char because int might match the return type of a gcc2
29298 builtin and then its argument prototype would still apply. */
29299 char gethostbyname ();
29308 rm -f conftest.
$ac_objext conftest
$ac_exeext
29309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29310 (eval $ac_link) 2>conftest.er1
29312 grep -v '^ *+' conftest.er1
>conftest.err
29314 cat conftest.err
>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); } &&
29317 { ac_try
='test -z "$ac_cxx_werror_flag"
29318 || test ! -s conftest.err'
29319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320 (eval $ac_try) 2>&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; } &&
29324 { ac_try
='test -s conftest$ac_exeext'
29325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29326 (eval $ac_try) 2>&5
29328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329 (exit $ac_status); }; }; then
29330 ac_cv_lib_nsl_gethostbyname
=yes
29332 echo "$as_me: failed program was:" >&5
29333 sed 's/^/| /' conftest.
$ac_ext >&5
29335 ac_cv_lib_nsl_gethostbyname
=no
29337 rm -f conftest.err conftest.
$ac_objext \
29338 conftest
$ac_exeext conftest.
$ac_ext
29339 LIBS
=$ac_check_lib_save_LIBS
29341 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29342 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29343 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29344 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29347 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29348 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29349 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29350 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29351 echo $ECHO_N "(cached) $ECHO_C" >&6
29353 ac_check_lib_save_LIBS
=$LIBS
29355 cat >conftest.
$ac_ext <<_ACEOF
29358 cat confdefs.h
>>conftest.
$ac_ext
29359 cat >>conftest.
$ac_ext <<_ACEOF
29360 /* end confdefs.h. */
29362 /* Override any gcc2 internal prototype to avoid an error. */
29366 /* We use char because int might match the return type of a gcc2
29367 builtin and then its argument prototype would still apply. */
29368 char gethostbyname ();
29377 rm -f conftest.
$ac_objext conftest
$ac_exeext
29378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29379 (eval $ac_link) 2>conftest.er1
29381 grep -v '^ *+' conftest.er1
>conftest.err
29383 cat conftest.err
>&5
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); } &&
29386 { ac_try
='test -z "$ac_cxx_werror_flag"
29387 || test ! -s conftest.err'
29388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29389 (eval $ac_try) 2>&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); }; } &&
29393 { ac_try
='test -s conftest$ac_exeext'
29394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29395 (eval $ac_try) 2>&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); }; }; then
29399 ac_cv_lib_bsd_gethostbyname
=yes
29401 echo "$as_me: failed program was:" >&5
29402 sed 's/^/| /' conftest.
$ac_ext >&5
29404 ac_cv_lib_bsd_gethostbyname
=no
29406 rm -f conftest.err conftest.
$ac_objext \
29407 conftest
$ac_exeext conftest.
$ac_ext
29408 LIBS
=$ac_check_lib_save_LIBS
29410 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29411 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29412 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29413 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29419 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29420 # socket/setsockopt and other routines are undefined under SCO ODT
29421 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29422 # on later versions), says Simon Leinen: it contains gethostby*
29423 # variants that don't use the name server (or something). -lsocket
29424 # must be given before -lnsl if both are needed. We assume that
29425 # if connect needs -lnsl, so does gethostbyname.
29426 echo "$as_me:$LINENO: checking for connect" >&5
29427 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29428 if test "${ac_cv_func_connect+set}" = set; then
29429 echo $ECHO_N "(cached) $ECHO_C" >&6
29431 cat >conftest.
$ac_ext <<_ACEOF
29434 cat confdefs.h
>>conftest.
$ac_ext
29435 cat >>conftest.
$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29439 #define connect innocuous_connect
29441 /* System header to define __stub macros and hopefully few prototypes,
29442 which can conflict with char connect (); below.
29443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29444 <limits.h> exists even on freestanding compilers. */
29447 # include <limits.h>
29449 # include <assert.h>
29454 /* Override any gcc2 internal prototype to avoid an error. */
29459 /* We use char because int might match the return type of a gcc2
29460 builtin and then its argument prototype would still apply. */
29462 /* The GNU C library defines this for functions which it implements
29463 to always fail with ENOSYS. Some functions are actually named
29464 something starting with __ and the normal name is an alias. */
29465 #if defined (__stub_connect) || defined (__stub___connect)
29468 char (*f) () = connect;
29477 return f != connect;
29482 rm -f conftest.
$ac_objext conftest
$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>conftest.er1
29486 grep -v '^ *+' conftest.er1
>conftest.err
29488 cat conftest.err
>&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } &&
29491 { ac_try
='test -z "$ac_cxx_werror_flag"
29492 || test ! -s conftest.err'
29493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29494 (eval $ac_try) 2>&5
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); }; } &&
29498 { ac_try
='test -s conftest$ac_exeext'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; }; then
29504 ac_cv_func_connect
=yes
29506 echo "$as_me: failed program was:" >&5
29507 sed 's/^/| /' conftest.
$ac_ext >&5
29509 ac_cv_func_connect
=no
29511 rm -f conftest.err conftest.
$ac_objext \
29512 conftest
$ac_exeext conftest.
$ac_ext
29514 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29515 echo "${ECHO_T}$ac_cv_func_connect" >&6
29517 if test $ac_cv_func_connect = no
; then
29518 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29519 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29520 if test "${ac_cv_lib_socket_connect+set}" = set; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29523 ac_check_lib_save_LIBS
=$LIBS
29524 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29525 cat >conftest.
$ac_ext <<_ACEOF
29528 cat confdefs.h
>>conftest.
$ac_ext
29529 cat >>conftest.
$ac_ext <<_ACEOF
29530 /* end confdefs.h. */
29532 /* Override any gcc2 internal prototype to avoid an error. */
29536 /* We use char because int might match the return type of a gcc2
29537 builtin and then its argument prototype would still apply. */
29547 rm -f conftest.
$ac_objext conftest
$ac_exeext
29548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29549 (eval $ac_link) 2>conftest.er1
29551 grep -v '^ *+' conftest.er1
>conftest.err
29553 cat conftest.err
>&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); } &&
29556 { ac_try
='test -z "$ac_cxx_werror_flag"
29557 || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try
='test -s conftest$ac_exeext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 ac_cv_lib_socket_connect
=yes
29571 echo "$as_me: failed program was:" >&5
29572 sed 's/^/| /' conftest.
$ac_ext >&5
29574 ac_cv_lib_socket_connect
=no
29576 rm -f conftest.err conftest.
$ac_objext \
29577 conftest
$ac_exeext conftest.
$ac_ext
29578 LIBS
=$ac_check_lib_save_LIBS
29580 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29581 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29582 if test $ac_cv_lib_socket_connect = yes; then
29583 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29588 # Guillermo Gomez says -lposix is necessary on A/UX.
29589 echo "$as_me:$LINENO: checking for remove" >&5
29590 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29591 if test "${ac_cv_func_remove+set}" = set; then
29592 echo $ECHO_N "(cached) $ECHO_C" >&6
29594 cat >conftest.
$ac_ext <<_ACEOF
29597 cat confdefs.h
>>conftest.
$ac_ext
29598 cat >>conftest.
$ac_ext <<_ACEOF
29599 /* end confdefs.h. */
29600 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29602 #define remove innocuous_remove
29604 /* System header to define __stub macros and hopefully few prototypes,
29605 which can conflict with char remove (); below.
29606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29607 <limits.h> exists even on freestanding compilers. */
29610 # include <limits.h>
29612 # include <assert.h>
29617 /* Override any gcc2 internal prototype to avoid an error. */
29622 /* We use char because int might match the return type of a gcc2
29623 builtin and then its argument prototype would still apply. */
29625 /* The GNU C library defines this for functions which it implements
29626 to always fail with ENOSYS. Some functions are actually named
29627 something starting with __ and the normal name is an alias. */
29628 #if defined (__stub_remove) || defined (__stub___remove)
29631 char (*f) () = remove;
29640 return f != remove;
29645 rm -f conftest.
$ac_objext conftest
$ac_exeext
29646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29647 (eval $ac_link) 2>conftest.er1
29649 grep -v '^ *+' conftest.er1
>conftest.err
29651 cat conftest.err
>&5
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); } &&
29654 { ac_try
='test -z "$ac_cxx_werror_flag"
29655 || test ! -s conftest.err'
29656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29657 (eval $ac_try) 2>&5
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); }; } &&
29661 { ac_try
='test -s conftest$ac_exeext'
29662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29663 (eval $ac_try) 2>&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); }; }; then
29667 ac_cv_func_remove
=yes
29669 echo "$as_me: failed program was:" >&5
29670 sed 's/^/| /' conftest.
$ac_ext >&5
29672 ac_cv_func_remove
=no
29674 rm -f conftest.err conftest.
$ac_objext \
29675 conftest
$ac_exeext conftest.
$ac_ext
29677 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29678 echo "${ECHO_T}$ac_cv_func_remove" >&6
29680 if test $ac_cv_func_remove = no
; then
29681 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29682 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29683 if test "${ac_cv_lib_posix_remove+set}" = set; then
29684 echo $ECHO_N "(cached) $ECHO_C" >&6
29686 ac_check_lib_save_LIBS
=$LIBS
29687 LIBS
="-lposix $LIBS"
29688 cat >conftest.
$ac_ext <<_ACEOF
29691 cat confdefs.h
>>conftest.
$ac_ext
29692 cat >>conftest.
$ac_ext <<_ACEOF
29693 /* end confdefs.h. */
29695 /* Override any gcc2 internal prototype to avoid an error. */
29699 /* We use char because int might match the return type of a gcc2
29700 builtin and then its argument prototype would still apply. */
29710 rm -f conftest.
$ac_objext conftest
$ac_exeext
29711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29712 (eval $ac_link) 2>conftest.er1
29714 grep -v '^ *+' conftest.er1
>conftest.err
29716 cat conftest.err
>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } &&
29719 { ac_try
='test -z "$ac_cxx_werror_flag"
29720 || test ! -s conftest.err'
29721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29722 (eval $ac_try) 2>&5
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); }; } &&
29726 { ac_try
='test -s conftest$ac_exeext'
29727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728 (eval $ac_try) 2>&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; }; then
29732 ac_cv_lib_posix_remove
=yes
29734 echo "$as_me: failed program was:" >&5
29735 sed 's/^/| /' conftest.
$ac_ext >&5
29737 ac_cv_lib_posix_remove
=no
29739 rm -f conftest.err conftest.
$ac_objext \
29740 conftest
$ac_exeext conftest.
$ac_ext
29741 LIBS
=$ac_check_lib_save_LIBS
29743 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29744 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29745 if test $ac_cv_lib_posix_remove = yes; then
29746 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29751 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29752 echo "$as_me:$LINENO: checking for shmat" >&5
29753 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29754 if test "${ac_cv_func_shmat+set}" = set; then
29755 echo $ECHO_N "(cached) $ECHO_C" >&6
29757 cat >conftest.
$ac_ext <<_ACEOF
29760 cat confdefs.h
>>conftest.
$ac_ext
29761 cat >>conftest.
$ac_ext <<_ACEOF
29762 /* end confdefs.h. */
29763 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29765 #define shmat innocuous_shmat
29767 /* System header to define __stub macros and hopefully few prototypes,
29768 which can conflict with char shmat (); below.
29769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29770 <limits.h> exists even on freestanding compilers. */
29773 # include <limits.h>
29775 # include <assert.h>
29780 /* Override any gcc2 internal prototype to avoid an error. */
29785 /* We use char because int might match the return type of a gcc2
29786 builtin and then its argument prototype would still apply. */
29788 /* The GNU C library defines this for functions which it implements
29789 to always fail with ENOSYS. Some functions are actually named
29790 something starting with __ and the normal name is an alias. */
29791 #if defined (__stub_shmat) || defined (__stub___shmat)
29794 char (*f) () = shmat;
29808 rm -f conftest.
$ac_objext conftest
$ac_exeext
29809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29810 (eval $ac_link) 2>conftest.er1
29812 grep -v '^ *+' conftest.er1
>conftest.err
29814 cat conftest.err
>&5
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); } &&
29817 { ac_try
='test -z "$ac_cxx_werror_flag"
29818 || test ! -s conftest.err'
29819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29820 (eval $ac_try) 2>&5
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); }; } &&
29824 { ac_try
='test -s conftest$ac_exeext'
29825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29826 (eval $ac_try) 2>&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); }; }; then
29830 ac_cv_func_shmat
=yes
29832 echo "$as_me: failed program was:" >&5
29833 sed 's/^/| /' conftest.
$ac_ext >&5
29835 ac_cv_func_shmat
=no
29837 rm -f conftest.err conftest.
$ac_objext \
29838 conftest
$ac_exeext conftest.
$ac_ext
29840 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29841 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29843 if test $ac_cv_func_shmat = no
; then
29844 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29845 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29846 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29847 echo $ECHO_N "(cached) $ECHO_C" >&6
29849 ac_check_lib_save_LIBS
=$LIBS
29851 cat >conftest.
$ac_ext <<_ACEOF
29854 cat confdefs.h
>>conftest.
$ac_ext
29855 cat >>conftest.
$ac_ext <<_ACEOF
29856 /* end confdefs.h. */
29858 /* Override any gcc2 internal prototype to avoid an error. */
29862 /* We use char because int might match the return type of a gcc2
29863 builtin and then its argument prototype would still apply. */
29873 rm -f conftest.
$ac_objext conftest
$ac_exeext
29874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29875 (eval $ac_link) 2>conftest.er1
29877 grep -v '^ *+' conftest.er1
>conftest.err
29879 cat conftest.err
>&5
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); } &&
29882 { ac_try
='test -z "$ac_cxx_werror_flag"
29883 || test ! -s conftest.err'
29884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29885 (eval $ac_try) 2>&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); }; } &&
29889 { ac_try
='test -s conftest$ac_exeext'
29890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29891 (eval $ac_try) 2>&5
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); }; }; then
29895 ac_cv_lib_ipc_shmat
=yes
29897 echo "$as_me: failed program was:" >&5
29898 sed 's/^/| /' conftest.
$ac_ext >&5
29900 ac_cv_lib_ipc_shmat
=no
29902 rm -f conftest.err conftest.
$ac_objext \
29903 conftest
$ac_exeext conftest.
$ac_ext
29904 LIBS
=$ac_check_lib_save_LIBS
29906 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29908 if test $ac_cv_lib_ipc_shmat = yes; then
29909 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29915 # Check for libraries that X11R6 Xt/Xaw programs need.
29916 ac_save_LDFLAGS
=$LDFLAGS
29917 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29919 # check for ICE first), but we must link in the order -lSM -lICE or
29920 # we get undefined symbols. So assume we have SM if we have ICE.
29921 # These have to be linked with before -lX11, unlike the other
29922 # libraries we check for below, so use a different variable.
29923 # John Interrante, Karl Berry
29924 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29927 echo $ECHO_N "(cached) $ECHO_C" >&6
29929 ac_check_lib_save_LIBS
=$LIBS
29930 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29931 cat >conftest.
$ac_ext <<_ACEOF
29934 cat confdefs.h
>>conftest.
$ac_ext
29935 cat >>conftest.
$ac_ext <<_ACEOF
29936 /* end confdefs.h. */
29938 /* Override any gcc2 internal prototype to avoid an error. */
29942 /* We use char because int might match the return type of a gcc2
29943 builtin and then its argument prototype would still apply. */
29944 char IceConnectionNumber ();
29948 IceConnectionNumber ();
29953 rm -f conftest.
$ac_objext conftest
$ac_exeext
29954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29955 (eval $ac_link) 2>conftest.er1
29957 grep -v '^ *+' conftest.er1
>conftest.err
29959 cat conftest.err
>&5
29960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961 (exit $ac_status); } &&
29962 { ac_try
='test -z "$ac_cxx_werror_flag"
29963 || test ! -s conftest.err'
29964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29965 (eval $ac_try) 2>&5
29967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968 (exit $ac_status); }; } &&
29969 { ac_try
='test -s conftest$ac_exeext'
29970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971 (eval $ac_try) 2>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); }; }; then
29975 ac_cv_lib_ICE_IceConnectionNumber
=yes
29977 echo "$as_me: failed program was:" >&5
29978 sed 's/^/| /' conftest.
$ac_ext >&5
29980 ac_cv_lib_ICE_IceConnectionNumber
=no
29982 rm -f conftest.err conftest.
$ac_objext \
29983 conftest
$ac_exeext conftest.
$ac_ext
29984 LIBS
=$ac_check_lib_save_LIBS
29986 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29987 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29988 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29989 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29992 LDFLAGS
=$ac_save_LDFLAGS
29997 if test "$no_x" = "yes"; then
29998 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29999 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30000 { (exit 1); exit 1; }; }
30003 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30004 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30005 AFMINSTALL
=afminstall
30006 COMPILED_X_PROGRAM
=0
30010 if test "$wxUSE_X11" = 1; then
30011 if test "$wxUSE_NANOX" = "yes"; then
30012 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30013 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30014 if test "x$MICROWIN" = x
; then
30015 echo "$as_me:$LINENO: result: not found" >&5
30016 echo "${ECHO_T}not found" >&6
30017 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30018 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30019 { (exit 1); exit 1; }; }
30021 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30022 echo "${ECHO_T}$MICROWIN" >&6
30023 cat >>confdefs.h
<<\_ACEOF
30024 #define wxUSE_NANOX 1
30030 if test "$wxUSE_UNICODE" = "yes"; then
30034 if test -z "$PKG_CONFIG"; then
30035 # Extract the first word of "pkg-config", so it can be a program name with args.
30036 set dummy pkg
-config; ac_word
=$2
30037 echo "$as_me:$LINENO: checking for $ac_word" >&5
30038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30039 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30040 echo $ECHO_N "(cached) $ECHO_C" >&6
30042 case $PKG_CONFIG in
30044 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30048 for as_dir
in $PATH
30051 test -z "$as_dir" && as_dir
=.
30052 for ac_exec_ext
in '' $ac_executable_extensions; do
30053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30054 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30061 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30065 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30067 if test -n "$PKG_CONFIG"; then
30068 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30069 echo "${ECHO_T}$PKG_CONFIG" >&6
30071 echo "$as_me:$LINENO: result: no" >&5
30072 echo "${ECHO_T}no" >&6
30077 if test "$PKG_CONFIG" = "no" ; then
30078 echo "*** The pkg-config script could not be found. Make sure it is"
30079 echo "*** in your path, or set the PKG_CONFIG environment variable"
30080 echo "*** to the full path to pkg-config."
30081 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30083 PKG_CONFIG_MIN_VERSION
=0.9.0
30084 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30085 echo "$as_me:$LINENO: checking for pangox" >&5
30086 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
30088 if $PKG_CONFIG --exists "pangox" ; then
30089 echo "$as_me:$LINENO: result: yes" >&5
30090 echo "${ECHO_T}yes" >&6
30093 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
30094 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
30095 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
30096 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
30097 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
30099 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
30100 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
30101 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
30102 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
30103 echo "${ECHO_T}$PANGOX_LIBS" >&6
30107 ## If we have a custom action on failure, don't print errors, but
30108 ## do set a variable so people can do so.
30109 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30116 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30117 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30121 if test $succeeded = yes; then
30123 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30124 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30128 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30129 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30130 { (exit 1); exit 1; }; }
30138 if test -z "$PKG_CONFIG"; then
30139 # Extract the first word of "pkg-config", so it can be a program name with args.
30140 set dummy pkg
-config; ac_word
=$2
30141 echo "$as_me:$LINENO: checking for $ac_word" >&5
30142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30143 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30146 case $PKG_CONFIG in
30148 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30152 for as_dir
in $PATH
30155 test -z "$as_dir" && as_dir
=.
30156 for ac_exec_ext
in '' $ac_executable_extensions; do
30157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30158 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30165 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30169 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30171 if test -n "$PKG_CONFIG"; then
30172 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30173 echo "${ECHO_T}$PKG_CONFIG" >&6
30175 echo "$as_me:$LINENO: result: no" >&5
30176 echo "${ECHO_T}no" >&6
30181 if test "$PKG_CONFIG" = "no" ; then
30182 echo "*** The pkg-config script could not be found. Make sure it is"
30183 echo "*** in your path, or set the PKG_CONFIG environment variable"
30184 echo "*** to the full path to pkg-config."
30185 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30187 PKG_CONFIG_MIN_VERSION
=0.9.0
30188 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30189 echo "$as_me:$LINENO: checking for pangoft2" >&5
30190 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
30192 if $PKG_CONFIG --exists "pangoft2" ; then
30193 echo "$as_me:$LINENO: result: yes" >&5
30194 echo "${ECHO_T}yes" >&6
30197 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
30198 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
30199 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
30200 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
30201 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
30203 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
30204 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
30205 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
30206 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
30207 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
30211 ## If we have a custom action on failure, don't print errors, but
30212 ## do set a variable so people can do so.
30213 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30220 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30221 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30225 if test $succeeded = yes; then
30227 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30228 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30232 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30233 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30234 wxUSE_PRINTING_ARCHITECTURE
="no"
30242 if test -z "$PKG_CONFIG"; then
30243 # Extract the first word of "pkg-config", so it can be a program name with args.
30244 set dummy pkg
-config; ac_word
=$2
30245 echo "$as_me:$LINENO: checking for $ac_word" >&5
30246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30247 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30248 echo $ECHO_N "(cached) $ECHO_C" >&6
30250 case $PKG_CONFIG in
30252 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30256 for as_dir
in $PATH
30259 test -z "$as_dir" && as_dir
=.
30260 for ac_exec_ext
in '' $ac_executable_extensions; do
30261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30262 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30269 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30273 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30275 if test -n "$PKG_CONFIG"; then
30276 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30277 echo "${ECHO_T}$PKG_CONFIG" >&6
30279 echo "$as_me:$LINENO: result: no" >&5
30280 echo "${ECHO_T}no" >&6
30285 if test "$PKG_CONFIG" = "no" ; then
30286 echo "*** The pkg-config script could not be found. Make sure it is"
30287 echo "*** in your path, or set the PKG_CONFIG environment variable"
30288 echo "*** to the full path to pkg-config."
30289 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30291 PKG_CONFIG_MIN_VERSION
=0.9.0
30292 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30293 echo "$as_me:$LINENO: checking for pangoxft" >&5
30294 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
30296 if $PKG_CONFIG --exists "pangoxft" ; then
30297 echo "$as_me:$LINENO: result: yes" >&5
30298 echo "${ECHO_T}yes" >&6
30301 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
30302 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
30303 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
30304 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
30305 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
30307 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
30308 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
30309 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
30310 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
30311 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
30315 ## If we have a custom action on failure, don't print errors, but
30316 ## do set a variable so people can do so.
30317 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30324 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30325 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30329 if test $succeeded = yes; then
30331 cat >>confdefs.h
<<\_ACEOF
30332 #define HAVE_PANGO_XFT 1
30335 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30336 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30340 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30341 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30346 save_CXXFLAGS
="$CXXFLAGS"
30348 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30349 LIBS
="$LIBS $PANGOX_LIBS"
30351 for ac_func
in pango_font_family_is_monospace
30353 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30354 echo "$as_me:$LINENO: checking for $ac_func" >&5
30355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30356 if eval "test \"\${$as_ac_var+set}\" = set"; then
30357 echo $ECHO_N "(cached) $ECHO_C" >&6
30359 cat >conftest.
$ac_ext <<_ACEOF
30362 cat confdefs.h
>>conftest.
$ac_ext
30363 cat >>conftest.
$ac_ext <<_ACEOF
30364 /* end confdefs.h. */
30365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30367 #define $ac_func innocuous_$ac_func
30369 /* System header to define __stub macros and hopefully few prototypes,
30370 which can conflict with char $ac_func (); below.
30371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30372 <limits.h> exists even on freestanding compilers. */
30375 # include <limits.h>
30377 # include <assert.h>
30382 /* Override any gcc2 internal prototype to avoid an error. */
30387 /* We use char because int might match the return type of a gcc2
30388 builtin and then its argument prototype would still apply. */
30390 /* The GNU C library defines this for functions which it implements
30391 to always fail with ENOSYS. Some functions are actually named
30392 something starting with __ and the normal name is an alias. */
30393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30396 char (*f) () = $ac_func;
30405 return f != $ac_func;
30410 rm -f conftest.
$ac_objext conftest
$ac_exeext
30411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30412 (eval $ac_link) 2>conftest.er1
30414 grep -v '^ *+' conftest.er1
>conftest.err
30416 cat conftest.err
>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); } &&
30419 { ac_try
='test -z "$ac_cxx_werror_flag"
30420 || test ! -s conftest.err'
30421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30422 (eval $ac_try) 2>&5
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); }; } &&
30426 { ac_try
='test -s conftest$ac_exeext'
30427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30428 (eval $ac_try) 2>&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); }; }; then
30432 eval "$as_ac_var=yes"
30434 echo "$as_me: failed program was:" >&5
30435 sed 's/^/| /' conftest.
$ac_ext >&5
30437 eval "$as_ac_var=no"
30439 rm -f conftest.err conftest.
$ac_objext \
30440 conftest
$ac_exeext conftest.
$ac_ext
30442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30444 if test `eval echo '${'$as_ac_var'}'` = yes; then
30445 cat >>confdefs.h
<<_ACEOF
30446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30452 CXXFLAGS
="$save_CXXFLAGS"
30456 wxUSE_UNIVERSAL
="yes"
30458 if test "$wxUSE_NANOX" = "yes"; then
30459 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30460 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"
30461 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30463 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
30470 if test "$wxUSE_MOTIF" = 1; then
30471 if test "$wxUSE_UNICODE" = "yes"; then
30472 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30473 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30474 { (exit 1); exit 1; }; }
30477 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30478 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30481 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30483 if test -f "$ac_dir/Xm/Xm.h"; then
30484 ac_find_includes
=$ac_dir
30489 if test "$ac_find_includes" != "" ; then
30490 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30491 echo "${ECHO_T}found in $ac_find_includes" >&6
30493 if test "x$ac_find_includes" = "x/usr/include"; then
30494 ac_path_to_include
=""
30496 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30498 if test $result = 0; then
30499 ac_path_to_include
=""
30501 ac_path_to_include
=" -I$ac_find_includes"
30505 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30507 save_CXXFLAGS
=$CXXFLAGS
30508 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30510 cat >conftest.
$ac_ext <<_ACEOF
30513 cat confdefs.h
>>conftest.
$ac_ext
30514 cat >>conftest.
$ac_ext <<_ACEOF
30515 /* end confdefs.h. */
30524 version = xmUseVersion;
30530 rm -f conftest.
$ac_objext
30531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30532 (eval $ac_compile) 2>conftest.er1
30534 grep -v '^ *+' conftest.er1
>conftest.err
30536 cat conftest.err
>&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); } &&
30539 { ac_try
='test -z "$ac_cxx_werror_flag"
30540 || test ! -s conftest.err'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; } &&
30546 { ac_try
='test -s conftest.$ac_objext'
30547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30548 (eval $ac_try) 2>&5
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); }; }; then
30553 echo "$as_me:$LINENO: result: found in default search path" >&5
30554 echo "${ECHO_T}found in default search path" >&6
30555 COMPILED_X_PROGRAM
=1
30558 echo "$as_me: failed program was:" >&5
30559 sed 's/^/| /' conftest.
$ac_ext >&5
30562 echo "$as_me:$LINENO: result: no" >&5
30563 echo "${ECHO_T}no" >&6
30564 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30565 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30566 { (exit 1); exit 1; }; }
30570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30572 CXXFLAGS
=$save_CXXFLAGS
30576 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30577 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30580 for ac_dir
in $SEARCH_LIB;
30582 for ac_extension
in a so sl dylib dll.a
; do
30583 if test -f "$ac_dir/libXm.$ac_extension"; then
30584 ac_find_libraries
=$ac_dir
30591 if test "x$ac_find_libraries" != "x" ; then
30592 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30593 echo "${ECHO_T}found in $ac_find_libraries" >&6
30596 if test "$ac_find_libraries" = "default location"; then
30599 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30601 if test $result = 0; then
30604 ac_path_to_link
=" -L$ac_find_libraries"
30608 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30610 save_CXXFLAGS
=$CXXFLAGS
30611 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30613 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30615 cat >conftest.
$ac_ext <<_ACEOF
30618 cat confdefs.h
>>conftest.
$ac_ext
30619 cat >>conftest.
$ac_ext <<_ACEOF
30620 /* end confdefs.h. */
30629 version = xmUseVersion;
30635 rm -f conftest.
$ac_objext conftest
$ac_exeext
30636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30637 (eval $ac_link) 2>conftest.er1
30639 grep -v '^ *+' conftest.er1
>conftest.err
30641 cat conftest.err
>&5
30642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643 (exit $ac_status); } &&
30644 { ac_try
='test -z "$ac_cxx_werror_flag"
30645 || test ! -s conftest.err'
30646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30647 (eval $ac_try) 2>&5
30649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30650 (exit $ac_status); }; } &&
30651 { ac_try
='test -s conftest$ac_exeext'
30652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30653 (eval $ac_try) 2>&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); }; }; then
30658 echo "$as_me:$LINENO: result: found in default search path" >&5
30659 echo "${ECHO_T}found in default search path" >&6
30660 COMPILED_X_PROGRAM
=1
30663 echo "$as_me: failed program was:" >&5
30664 sed 's/^/| /' conftest.
$ac_ext >&5
30667 echo "$as_me:$LINENO: result: no" >&5
30668 echo "${ECHO_T}no" >&6
30669 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30670 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30671 { (exit 1); exit 1; }; }
30675 rm -f conftest.err conftest.
$ac_objext \
30676 conftest
$ac_exeext conftest.
$ac_ext
30678 CXXFLAGS
=$save_CXXFLAGS
30682 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30683 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30687 for libp
in "" " -lXp"; do
30688 if test "$libs_found" = "0"; then
30689 for libsm_ice
in "" " -lSM -lICE"; do
30690 if test "$libs_found" = "0"; then
30692 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30693 save_CXXFLAGS
=$CXXFLAGS
30694 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30696 cat >conftest.
$ac_ext <<_ACEOF
30699 cat confdefs.h
>>conftest.
$ac_ext
30700 cat >>conftest.
$ac_ext <<_ACEOF
30701 /* end confdefs.h. */
30704 #include <Xm/List.h>
30710 XmString string = NULL;
30713 XmListAddItem(w, string, position);
30719 rm -f conftest.
$ac_objext conftest
$ac_exeext
30720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30721 (eval $ac_link) 2>conftest.er1
30723 grep -v '^ *+' conftest.er1
>conftest.err
30725 cat conftest.err
>&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); } &&
30728 { ac_try
='test -z "$ac_cxx_werror_flag"
30729 || test ! -s conftest.err'
30730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 (eval $ac_try) 2>&5
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); }; } &&
30735 { ac_try
='test -s conftest$ac_exeext'
30736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30737 (eval $ac_try) 2>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); }; }; then
30743 libsm_ice_link
="$libsm_ice"
30744 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30745 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30749 echo "$as_me: failed program was:" >&5
30750 sed 's/^/| /' conftest.
$ac_ext >&5
30755 rm -f conftest.err conftest.
$ac_objext \
30756 conftest
$ac_exeext conftest.
$ac_ext
30759 CXXFLAGS
=$save_CXXFLAGS
30765 if test "$libs_found" = "0"; then
30766 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30767 echo "${ECHO_T}can't find the right libraries" >&6
30768 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30769 echo "$as_me: error: can't link a simple motif program" >&2;}
30770 { (exit 1); exit 1; }; }
30773 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30774 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30775 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30776 echo $ECHO_N "(cached) $ECHO_C" >&6
30778 ac_check_lib_save_LIBS
=$LIBS
30780 cat >conftest.
$ac_ext <<_ACEOF
30783 cat confdefs.h
>>conftest.
$ac_ext
30784 cat >>conftest.
$ac_ext <<_ACEOF
30785 /* end confdefs.h. */
30787 /* Override any gcc2 internal prototype to avoid an error. */
30791 /* We use char because int might match the return type of a gcc2
30792 builtin and then its argument prototype would still apply. */
30793 char SgCreateList ();
30802 rm -f conftest.
$ac_objext conftest
$ac_exeext
30803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30804 (eval $ac_link) 2>conftest.er1
30806 grep -v '^ *+' conftest.er1
>conftest.err
30808 cat conftest.err
>&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } &&
30811 { ac_try
='test -z "$ac_cxx_werror_flag"
30812 || test ! -s conftest.err'
30813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30814 (eval $ac_try) 2>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; } &&
30818 { ac_try
='test -s conftest$ac_exeext'
30819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820 (eval $ac_try) 2>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; }; then
30824 ac_cv_lib_Sgm_SgCreateList
=yes
30826 echo "$as_me: failed program was:" >&5
30827 sed 's/^/| /' conftest.
$ac_ext >&5
30829 ac_cv_lib_Sgm_SgCreateList
=no
30831 rm -f conftest.err conftest.
$ac_objext \
30832 conftest
$ac_exeext conftest.
$ac_ext
30833 LIBS
=$ac_check_lib_save_LIBS
30835 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30836 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30837 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30838 libsgm_link
=" -lSgm"
30842 save_CXXFLAGS
=$CXXFLAGS
30843 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30845 echo "$as_me:$LINENO: checking for Motif 2" >&5
30846 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30847 if test "${wx_cv_lib_motif2+set}" = set; then
30848 echo $ECHO_N "(cached) $ECHO_C" >&6
30850 cat >conftest.
$ac_ext <<_ACEOF
30853 cat confdefs.h
>>conftest.
$ac_ext
30854 cat >>conftest.
$ac_ext <<_ACEOF
30855 /* end confdefs.h. */
30863 #if XmVersion < 2000
30871 rm -f conftest.
$ac_objext
30872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30873 (eval $ac_compile) 2>conftest.er1
30875 grep -v '^ *+' conftest.er1
>conftest.err
30877 cat conftest.err
>&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } &&
30880 { ac_try
='test -z "$ac_cxx_werror_flag"
30881 || test ! -s conftest.err'
30882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30883 (eval $ac_try) 2>&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); }; } &&
30887 { ac_try
='test -s conftest.$ac_objext'
30888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30889 (eval $ac_try) 2>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; }; then
30893 wx_cv_lib_motif2
="yes"
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.
$ac_ext >&5
30898 wx_cv_lib_motif2
="no"
30900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30902 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30903 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30904 if test "$wx_cv_lib_motif2" = "yes"; then
30905 cat >>confdefs.h
<<\_ACEOF
30906 #define __WXMOTIF20__ 1
30910 cat >>confdefs.h
<<\_ACEOF
30911 #define __WXMOTIF20__ 0
30916 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30917 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30918 if test "${wx_cv_lib_lesstif+set}" = set; then
30919 echo $ECHO_N "(cached) $ECHO_C" >&6
30921 cat >conftest.
$ac_ext <<_ACEOF
30924 cat confdefs.h
>>conftest.
$ac_ext
30925 cat >>conftest.
$ac_ext <<_ACEOF
30926 /* end confdefs.h. */
30934 #if !defined(LesstifVersion) || LesstifVersion <= 0
30942 rm -f conftest.
$ac_objext
30943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30944 (eval $ac_compile) 2>conftest.er1
30946 grep -v '^ *+' conftest.er1
>conftest.err
30948 cat conftest.err
>&5
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); } &&
30951 { ac_try
='test -z "$ac_cxx_werror_flag"
30952 || test ! -s conftest.err'
30953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30954 (eval $ac_try) 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; } &&
30958 { ac_try
='test -s conftest.$ac_objext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 wx_cv_lib_lesstif
="yes"
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.
$ac_ext >&5
30969 wx_cv_lib_lesstif
="no"
30971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30974 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30975 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30976 if test "$wx_cv_lib_lesstif" = "yes"; then
30977 cat >>confdefs.h
<<\_ACEOF
30978 #define __WXLESSTIF__ 1
30982 cat >>confdefs.h
<<\_ACEOF
30983 #define __WXLESSTIF__ 0
30988 CXXFLAGS
=$save_CXXFLAGS
30990 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30995 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30996 if test "$wxUSE_LIBXPM" = "sys"; then
30997 echo "$as_me:$LINENO: checking for Xpm library" >&5
30998 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31001 for ac_dir
in $SEARCH_LIB;
31003 for ac_extension
in a so sl dylib dll.a
; do
31004 if test -f "$ac_dir/libXpm.$ac_extension"; then
31005 ac_find_libraries
=$ac_dir
31011 if test "$ac_find_libraries" != "" ; then
31013 if test "$ac_find_libraries" = "default location"; then
31016 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31018 if test $result = 0; then
31021 ac_path_to_link
=" -L$ac_find_libraries"
31025 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31026 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31027 echo "${ECHO_T}found in $ac_find_libraries" >&6
31029 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31030 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31031 if test "${wx_cv_x11_xpm_h+set}" = set; then
31032 echo $ECHO_N "(cached) $ECHO_C" >&6
31035 save_CXXFLAGS
=$CXXFLAGS
31036 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31038 cat >conftest.
$ac_ext <<_ACEOF
31041 cat confdefs.h
>>conftest.
$ac_ext
31042 cat >>conftest.
$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31045 #include <X11/xpm.h>
31052 version = XpmLibraryVersion();
31058 rm -f conftest.
$ac_objext
31059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31060 (eval $ac_compile) 2>conftest.er1
31062 grep -v '^ *+' conftest.er1
>conftest.err
31064 cat conftest.err
>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try
='test -z "$ac_cxx_werror_flag"
31068 || test ! -s conftest.err'
31069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31070 (eval $ac_try) 2>&5
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); }; } &&
31074 { ac_try
='test -s conftest.$ac_objext'
31075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31076 (eval $ac_try) 2>&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); }; }; then
31080 wx_cv_x11_xpm_h
=yes
31082 echo "$as_me: failed program was:" >&5
31083 sed 's/^/| /' conftest.
$ac_ext >&5
31088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31090 CXXFLAGS
=$save_CXXFLAGS
31094 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31095 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31097 if test $wx_cv_x11_xpm_h = "yes"; then
31098 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31099 cat >>confdefs.h
<<\_ACEOF
31100 #define wxHAVE_LIB_XPM 1
31104 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31105 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31111 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31112 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31113 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31114 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 ac_check_lib_save_LIBS
=$LIBS
31117 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31118 cat >conftest.
$ac_ext <<_ACEOF
31121 cat confdefs.h
>>conftest.
$ac_ext
31122 cat >>conftest.
$ac_ext <<_ACEOF
31123 /* end confdefs.h. */
31125 /* Override any gcc2 internal prototype to avoid an error. */
31129 /* We use char because int might match the return type of a gcc2
31130 builtin and then its argument prototype would still apply. */
31131 char XShapeQueryExtension ();
31135 XShapeQueryExtension ();
31140 rm -f conftest.
$ac_objext conftest
$ac_exeext
31141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31142 (eval $ac_link) 2>conftest.er1
31144 grep -v '^ *+' conftest.er1
>conftest.err
31146 cat conftest.err
>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); } &&
31149 { ac_try
='test -z "$ac_cxx_werror_flag"
31150 || test ! -s conftest.err'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; } &&
31156 { ac_try
='test -s conftest$ac_exeext'
31157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158 (eval $ac_try) 2>&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); }; }; then
31162 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31164 echo "$as_me: failed program was:" >&5
31165 sed 's/^/| /' conftest.
$ac_ext >&5
31167 ac_cv_lib_Xext_XShapeQueryExtension
=no
31169 rm -f conftest.err conftest.
$ac_objext \
31170 conftest
$ac_exeext conftest.
$ac_ext
31171 LIBS
=$ac_check_lib_save_LIBS
31173 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31174 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31175 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31177 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31183 if test "$wxHAVE_XEXT_LIB" = 1; then
31184 save_CXXFLAGS
="$CXXFLAGS"
31185 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31187 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31188 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31189 cat >conftest.
$ac_ext <<_ACEOF
31192 cat confdefs.h
>>conftest.
$ac_ext
31193 cat >>conftest.
$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31196 #include <X11/Xlib.h>
31197 #include <X11/extensions/shape.h>
31203 int dummy1, dummy2;
31204 XShapeQueryExtension((Display*)NULL,
31205 (int*)NULL, (int*)NULL);
31211 rm -f conftest.
$ac_objext
31212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31213 (eval $ac_compile) 2>conftest.er1
31215 grep -v '^ *+' conftest.er1
>conftest.err
31217 cat conftest.err
>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); } &&
31220 { ac_try
='test -z "$ac_cxx_werror_flag"
31221 || test ! -s conftest.err'
31222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31223 (eval $ac_try) 2>&5
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; } &&
31227 { ac_try
='test -s conftest.$ac_objext'
31228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31229 (eval $ac_try) 2>&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); }; }; then
31234 cat >>confdefs.h
<<\_ACEOF
31235 #define HAVE_XSHAPE 1
31238 echo "$as_me:$LINENO: result: found" >&5
31239 echo "${ECHO_T}found" >&6
31242 echo "$as_me: failed program was:" >&5
31243 sed 's/^/| /' conftest.
$ac_ext >&5
31246 echo "$as_me:$LINENO: result: not found" >&5
31247 echo "${ECHO_T}not found" >&6
31250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31251 CXXFLAGS
="$save_CXXFLAGS"
31256 if test "$wxUSE_MAC" = 1; then
31257 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31258 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31259 if test "$GCC" = yes; then
31260 echo "$as_me:$LINENO: result: gcc" >&5
31261 echo "${ECHO_T}gcc" >&6
31262 CPPFLAGS_PASCAL
="-fpascal-strings"
31263 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31264 echo "$as_me:$LINENO: result: xlc" >&5
31265 echo "${ECHO_T}xlc" >&6
31266 CPPFLAGS_PASCAL
="-qmacpstr"
31268 echo "$as_me:$LINENO: result: none" >&5
31269 echo "${ECHO_T}none" >&6
31272 if test "x$wxUSE_UNIX" = "xyes"; then
31273 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31275 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31280 WXBASEPORT
="_carbon"
31283 if test "$wxUSE_COCOA" = 1; then
31288 if test "$wxUSE_PM" = 1; then
31291 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31292 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31293 if test "${wx_cv_spbcdata+set}" = set; then
31294 echo $ECHO_N "(cached) $ECHO_C" >&6
31297 cat >conftest.
$ac_ext <<_ACEOF
31300 cat confdefs.h
>>conftest.
$ac_ext
31301 cat >>conftest.
$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31317 rm -f conftest.
$ac_objext
31318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31319 (eval $ac_compile) 2>conftest.er1
31321 grep -v '^ *+' conftest.er1
>conftest.err
31323 cat conftest.err
>&5
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); } &&
31326 { ac_try
='test -z "$ac_cxx_werror_flag"
31327 || test ! -s conftest.err'
31328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31329 (eval $ac_try) 2>&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); }; } &&
31333 { ac_try
='test -s conftest.$ac_objext'
31334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31335 (eval $ac_try) 2>&5
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); }; }; then
31341 echo "$as_me: failed program was:" >&5
31342 sed 's/^/| /' conftest.
$ac_ext >&5
31347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31351 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31352 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31354 if test $wx_cv_spbcdata = "yes"; then
31355 cat >>confdefs.h
<<\_ACEOF
31356 #define HAVE_SPBCDATA 1
31362 if test "$TOOLKIT" = "PM" ; then
31365 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31368 if test "$wxUSE_UNIVERSAL" = "yes"; then
31369 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31373 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31374 DISTDIR
="wx\$(TOOLKIT)"
31380 if test "$USE_WIN32" = 1 ; then
31384 GUIDIST
="BASE_DIST"
31389 if test "$wxUSE_GUI" = "yes"; then
31390 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31392 for ac_header
in X
11/Xlib.h
31394 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31396 echo "$as_me:$LINENO: checking for $ac_header" >&5
31397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31404 # Is the header compilable?
31405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31407 cat >conftest.
$ac_ext <<_ACEOF
31410 cat confdefs.h
>>conftest.
$ac_ext
31411 cat >>conftest.
$ac_ext <<_ACEOF
31412 /* end confdefs.h. */
31413 $ac_includes_default
31414 #include <$ac_header>
31416 rm -f conftest.
$ac_objext
31417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31418 (eval $ac_compile) 2>conftest.er1
31420 grep -v '^ *+' conftest.er1
>conftest.err
31422 cat conftest.err
>&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } &&
31425 { ac_try
='test -z "$ac_cxx_werror_flag"
31426 || test ! -s conftest.err'
31427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31428 (eval $ac_try) 2>&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); }; } &&
31432 { ac_try
='test -s conftest.$ac_objext'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; }; then
31438 ac_header_compiler
=yes
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.
$ac_ext >&5
31443 ac_header_compiler
=no
31445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31447 echo "${ECHO_T}$ac_header_compiler" >&6
31449 # Is the header present?
31450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31452 cat >conftest.
$ac_ext <<_ACEOF
31455 cat confdefs.h
>>conftest.
$ac_ext
31456 cat >>conftest.
$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31458 #include <$ac_header>
31460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31463 grep -v '^ *+' conftest.er1
>conftest.err
31465 cat conftest.err
>&5
31466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31467 (exit $ac_status); } >/dev
/null
; then
31468 if test -s conftest.err
; then
31469 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31470 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31477 if test -z "$ac_cpp_err"; then
31478 ac_header_preproc
=yes
31480 echo "$as_me: failed program was:" >&5
31481 sed 's/^/| /' conftest.
$ac_ext >&5
31483 ac_header_preproc
=no
31485 rm -f conftest.err conftest.
$ac_ext
31486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31487 echo "${ECHO_T}$ac_header_preproc" >&6
31489 # So? What about this header?
31490 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31496 ac_header_preproc
=yes
31499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31513 ## ----------------------------------------- ##
31514 ## Report this to wx-dev@lists.wxwidgets.org ##
31515 ## ----------------------------------------- ##
31518 sed "s/^/$as_me: WARNING: /" >&2
31521 echo "$as_me:$LINENO: checking for $ac_header" >&5
31522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31524 echo $ECHO_N "(cached) $ECHO_C" >&6
31526 eval "$as_ac_Header=\$ac_header_preproc"
31528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31533 cat >>confdefs.h
<<_ACEOF
31534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31542 for ac_header
in X
11/XKBlib.h
31544 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31545 echo "$as_me:$LINENO: checking for $ac_header" >&5
31546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31548 echo $ECHO_N "(cached) $ECHO_C" >&6
31550 cat >conftest.
$ac_ext <<_ACEOF
31553 cat confdefs.h
>>conftest.
$ac_ext
31554 cat >>conftest.
$ac_ext <<_ACEOF
31555 /* end confdefs.h. */
31557 #if HAVE_X11_XLIB_H
31558 #include <X11/Xlib.h>
31562 #include <$ac_header>
31564 rm -f conftest.
$ac_objext
31565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31566 (eval $ac_compile) 2>conftest.er1
31568 grep -v '^ *+' conftest.er1
>conftest.err
31570 cat conftest.err
>&5
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); } &&
31573 { ac_try
='test -z "$ac_cxx_werror_flag"
31574 || test ! -s conftest.err'
31575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31576 (eval $ac_try) 2>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); }; } &&
31580 { ac_try
='test -s conftest.$ac_objext'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; }; then
31586 eval "$as_ac_Header=yes"
31588 echo "$as_me: failed program was:" >&5
31589 sed 's/^/| /' conftest.
$ac_ext >&5
31591 eval "$as_ac_Header=no"
31593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31598 cat >>confdefs.h
<<_ACEOF
31599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31614 if test "$TOOLKIT" != "MSW" ; then
31616 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31618 if test "${ac_cv_header_sql_h+set}" = set; then
31619 echo "$as_me:$LINENO: checking for sql.h" >&5
31620 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31621 if test "${ac_cv_header_sql_h+set}" = set; then
31622 echo $ECHO_N "(cached) $ECHO_C" >&6
31624 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31625 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31627 # Is the header compilable?
31628 echo "$as_me:$LINENO: checking sql.h usability" >&5
31629 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31630 cat >conftest.
$ac_ext <<_ACEOF
31633 cat confdefs.h
>>conftest.
$ac_ext
31634 cat >>conftest.
$ac_ext <<_ACEOF
31635 /* end confdefs.h. */
31636 $ac_includes_default
31639 rm -f conftest.
$ac_objext
31640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31641 (eval $ac_compile) 2>conftest.er1
31643 grep -v '^ *+' conftest.er1
>conftest.err
31645 cat conftest.err
>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); } &&
31648 { ac_try
='test -z "$ac_cxx_werror_flag"
31649 || test ! -s conftest.err'
31650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31651 (eval $ac_try) 2>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); }; } &&
31655 { ac_try
='test -s conftest.$ac_objext'
31656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31657 (eval $ac_try) 2>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); }; }; then
31661 ac_header_compiler
=yes
31663 echo "$as_me: failed program was:" >&5
31664 sed 's/^/| /' conftest.
$ac_ext >&5
31666 ac_header_compiler
=no
31668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31670 echo "${ECHO_T}$ac_header_compiler" >&6
31672 # Is the header present?
31673 echo "$as_me:$LINENO: checking sql.h presence" >&5
31674 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31675 cat >conftest.
$ac_ext <<_ACEOF
31678 cat confdefs.h
>>conftest.
$ac_ext
31679 cat >>conftest.
$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31686 grep -v '^ *+' conftest.er1
>conftest.err
31688 cat conftest.err
>&5
31689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31690 (exit $ac_status); } >/dev
/null
; then
31691 if test -s conftest.err
; then
31692 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31693 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31700 if test -z "$ac_cpp_err"; then
31701 ac_header_preproc
=yes
31703 echo "$as_me: failed program was:" >&5
31704 sed 's/^/| /' conftest.
$ac_ext >&5
31706 ac_header_preproc
=no
31708 rm -f conftest.err conftest.
$ac_ext
31709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31710 echo "${ECHO_T}$ac_header_preproc" >&6
31712 # So? What about this header?
31713 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31715 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31716 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31717 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31718 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31719 ac_header_preproc
=yes
31722 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31723 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31724 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31725 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31726 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31727 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31728 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31729 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31730 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31731 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31732 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31733 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31736 ## ----------------------------------------- ##
31737 ## Report this to wx-dev@lists.wxwidgets.org ##
31738 ## ----------------------------------------- ##
31741 sed "s/^/$as_me: WARNING: /" >&2
31744 echo "$as_me:$LINENO: checking for sql.h" >&5
31745 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31746 if test "${ac_cv_header_sql_h+set}" = set; then
31747 echo $ECHO_N "(cached) $ECHO_C" >&6
31749 ac_cv_header_sql_h
=$ac_header_preproc
31751 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31752 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31755 if test $ac_cv_header_sql_h = yes; then
31760 if test "x$found_sql_h" = "x1" ; then
31761 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31762 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31763 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31764 echo $ECHO_N "(cached) $ECHO_C" >&6
31766 ac_check_lib_save_LIBS
=$LIBS
31767 LIBS
="-liodbc $LIBS"
31768 cat >conftest.
$ac_ext <<_ACEOF
31771 cat confdefs.h
>>conftest.
$ac_ext
31772 cat >>conftest.
$ac_ext <<_ACEOF
31773 /* end confdefs.h. */
31775 /* Override any gcc2 internal prototype to avoid an error. */
31779 /* We use char because int might match the return type of a gcc2
31780 builtin and then its argument prototype would still apply. */
31781 char SQLAllocEnv ();
31790 rm -f conftest.
$ac_objext conftest
$ac_exeext
31791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31792 (eval $ac_link) 2>conftest.er1
31794 grep -v '^ *+' conftest.er1
>conftest.err
31796 cat conftest.err
>&5
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); } &&
31799 { ac_try
='test -z "$ac_cxx_werror_flag"
31800 || test ! -s conftest.err'
31801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31802 (eval $ac_try) 2>&5
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); }; } &&
31806 { ac_try
='test -s conftest$ac_exeext'
31807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31808 (eval $ac_try) 2>&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); }; }; then
31812 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31814 echo "$as_me: failed program was:" >&5
31815 sed 's/^/| /' conftest.
$ac_ext >&5
31817 ac_cv_lib_iodbc_SQLAllocEnv
=no
31819 rm -f conftest.err conftest.
$ac_objext \
31820 conftest
$ac_exeext conftest.
$ac_ext
31821 LIBS
=$ac_check_lib_save_LIBS
31823 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31824 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31825 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31826 ODBC_LINK
=" -liodbc"
31829 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31830 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31831 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31832 echo $ECHO_N "(cached) $ECHO_C" >&6
31834 ac_check_lib_save_LIBS
=$LIBS
31835 LIBS
="-lunixodbc $LIBS"
31836 cat >conftest.
$ac_ext <<_ACEOF
31839 cat confdefs.h
>>conftest.
$ac_ext
31840 cat >>conftest.
$ac_ext <<_ACEOF
31841 /* end confdefs.h. */
31843 /* Override any gcc2 internal prototype to avoid an error. */
31847 /* We use char because int might match the return type of a gcc2
31848 builtin and then its argument prototype would still apply. */
31849 char SQLAllocEnv ();
31858 rm -f conftest.
$ac_objext conftest
$ac_exeext
31859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31860 (eval $ac_link) 2>conftest.er1
31862 grep -v '^ *+' conftest.er1
>conftest.err
31864 cat conftest.err
>&5
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); } &&
31867 { ac_try
='test -z "$ac_cxx_werror_flag"
31868 || test ! -s conftest.err'
31869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870 (eval $ac_try) 2>&5
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); }; } &&
31874 { ac_try
='test -s conftest$ac_exeext'
31875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31876 (eval $ac_try) 2>&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); }; }; then
31880 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.
$ac_ext >&5
31885 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31887 rm -f conftest.err conftest.
$ac_objext \
31888 conftest
$ac_exeext conftest.
$ac_ext
31889 LIBS
=$ac_check_lib_save_LIBS
31891 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31892 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31893 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31894 ODBC_LINK
=" -lunixodbc"
31897 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31898 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31899 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31900 echo $ECHO_N "(cached) $ECHO_C" >&6
31902 ac_check_lib_save_LIBS
=$LIBS
31903 LIBS
="-lodbc $LIBS"
31904 cat >conftest.
$ac_ext <<_ACEOF
31907 cat confdefs.h
>>conftest.
$ac_ext
31908 cat >>conftest.
$ac_ext <<_ACEOF
31909 /* end confdefs.h. */
31911 /* Override any gcc2 internal prototype to avoid an error. */
31915 /* We use char because int might match the return type of a gcc2
31916 builtin and then its argument prototype would still apply. */
31917 char SQLAllocEnv ();
31926 rm -f conftest.
$ac_objext conftest
$ac_exeext
31927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31928 (eval $ac_link) 2>conftest.er1
31930 grep -v '^ *+' conftest.er1
>conftest.err
31932 cat conftest.err
>&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } &&
31935 { ac_try
='test -z "$ac_cxx_werror_flag"
31936 || test ! -s conftest.err'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; } &&
31942 { ac_try
='test -s conftest$ac_exeext'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }; then
31948 ac_cv_lib_odbc_SQLAllocEnv
=yes
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.
$ac_ext >&5
31953 ac_cv_lib_odbc_SQLAllocEnv
=no
31955 rm -f conftest.err conftest.
$ac_objext \
31956 conftest
$ac_exeext conftest.
$ac_ext
31957 LIBS
=$ac_check_lib_save_LIBS
31959 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31960 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31961 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31962 ODBC_LINK
=" -lodbc"
31972 if test "x$ODBC_LINK" = "x" ; then
31973 if test "$wxUSE_ODBC" = "sys" ; then
31974 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31975 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31976 { (exit 1); exit 1; }; }
31978 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31979 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31987 if test "$wxUSE_ODBC" = "builtin" ; then
31988 cat >>confdefs.h
<<\_ACEOF
31989 #define wxUSE_BUILTIN_IODBC 1
31995 if test "$wxUSE_ODBC" != "no" ; then
31996 cat >>confdefs.h
<<\_ACEOF
31997 #define wxUSE_ODBC 1
32000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32002 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32006 if test "$wxUSE_DISPLAY" = "yes"; then
32007 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32008 echo "$as_me:$LINENO: checking for Xinerama" >&5
32009 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32012 for ac_dir
in $SEARCH_LIB;
32014 for ac_extension
in a so sl dylib dll.a
; do
32015 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32016 ac_find_libraries
=$ac_dir
32022 if test "$ac_find_libraries" != "" ; then
32024 if test "$ac_find_libraries" = "default location"; then
32027 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32029 if test $result = 0; then
32032 ac_path_to_link
=" -L$ac_find_libraries"
32036 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32037 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32039 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32040 echo "$as_me:$LINENO: result: yes" >&5
32041 echo "${ECHO_T}yes" >&6
32043 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32044 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32047 for ac_dir
in $SEARCH_LIB;
32049 for ac_extension
in a so sl dylib dll.a
; do
32050 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32051 ac_find_libraries
=$ac_dir
32057 if test "$ac_find_libraries" != "" ; then
32058 echo "$as_me:$LINENO: result: yes" >&5
32059 echo "${ECHO_T}yes" >&6
32061 for ac_header
in X
11/extensions
/xf86vmode.h
32063 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32064 echo "$as_me:$LINENO: checking for $ac_header" >&5
32065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32067 echo $ECHO_N "(cached) $ECHO_C" >&6
32069 cat >conftest.
$ac_ext <<_ACEOF
32072 cat confdefs.h
>>conftest.
$ac_ext
32073 cat >>conftest.
$ac_ext <<_ACEOF
32074 /* end confdefs.h. */
32076 #if HAVE_X11_XLIB_H
32077 #include <X11/Xlib.h>
32081 #include <$ac_header>
32083 rm -f conftest.
$ac_objext
32084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32085 (eval $ac_compile) 2>conftest.er1
32087 grep -v '^ *+' conftest.er1
>conftest.err
32089 cat conftest.err
>&5
32090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32091 (exit $ac_status); } &&
32092 { ac_try
='test -z "$ac_cxx_werror_flag"
32093 || test ! -s conftest.err'
32094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32095 (eval $ac_try) 2>&5
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); }; } &&
32099 { ac_try
='test -s conftest.$ac_objext'
32100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32101 (eval $ac_try) 2>&5
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); }; }; then
32105 eval "$as_ac_Header=yes"
32107 echo "$as_me: failed program was:" >&5
32108 sed 's/^/| /' conftest.
$ac_ext >&5
32110 eval "$as_ac_Header=no"
32112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32117 cat >>confdefs.h
<<_ACEOF
32118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32121 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32128 echo "$as_me:$LINENO: result: no" >&5
32129 echo "${ECHO_T}no" >&6
32133 echo "$as_me:$LINENO: result: no" >&5
32134 echo "${ECHO_T}no" >&6
32135 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32136 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32139 elif test "$wxUSE_MSW" = 1; then
32141 for ac_header
in ddraw.h
32143 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32144 echo "$as_me:$LINENO: checking for $ac_header" >&5
32145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32147 echo $ECHO_N "(cached) $ECHO_C" >&6
32149 cat >conftest.
$ac_ext <<_ACEOF
32152 cat confdefs.h
>>conftest.
$ac_ext
32153 cat >>conftest.
$ac_ext <<_ACEOF
32154 /* end confdefs.h. */
32155 #include <windows.h>
32157 #include <$ac_header>
32159 rm -f conftest.
$ac_objext
32160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32161 (eval $ac_compile) 2>conftest.er1
32163 grep -v '^ *+' conftest.er1
>conftest.err
32165 cat conftest.err
>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } &&
32168 { ac_try
='test -z "$ac_cxx_werror_flag"
32169 || test ! -s conftest.err'
32170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32171 (eval $ac_try) 2>&5
32173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32174 (exit $ac_status); }; } &&
32175 { ac_try
='test -s conftest.$ac_objext'
32176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32177 (eval $ac_try) 2>&5
32179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180 (exit $ac_status); }; }; then
32181 eval "$as_ac_Header=yes"
32183 echo "$as_me: failed program was:" >&5
32184 sed 's/^/| /' conftest.
$ac_ext >&5
32186 eval "$as_ac_Header=no"
32188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32193 cat >>confdefs.h
<<_ACEOF
32194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32206 if test "$wxUSE_OPENGL" = "yes"; then
32207 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32208 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32209 elif test "$wxUSE_MSW" = 1; then
32210 OPENGL_LIBS
="-lopengl32 -lglu32"
32215 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32217 if test -f "$ac_dir/GL/gl.h"; then
32218 ac_find_includes
=$ac_dir
32223 if test "$ac_find_includes" != "" ; then
32224 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32225 echo "${ECHO_T}found in $ac_find_includes" >&6
32227 if test "x$ac_find_includes" = "x/usr/include"; then
32228 ac_path_to_include
=""
32230 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32232 if test $result = 0; then
32233 ac_path_to_include
=""
32235 ac_path_to_include
=" -I$ac_find_includes"
32239 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32242 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32243 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32244 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32245 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32246 echo $ECHO_N "(cached) $ECHO_C" >&6
32248 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32249 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32251 # Is the header compilable?
32252 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32253 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32254 cat >conftest.
$ac_ext <<_ACEOF
32257 cat confdefs.h
>>conftest.
$ac_ext
32258 cat >>conftest.
$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260 $ac_includes_default
32263 rm -f conftest.
$ac_objext
32264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32265 (eval $ac_compile) 2>conftest.er1
32267 grep -v '^ *+' conftest.er1
>conftest.err
32269 cat conftest.err
>&5
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } &&
32272 { ac_try
='test -z "$ac_cxx_werror_flag"
32273 || test ! -s conftest.err'
32274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32275 (eval $ac_try) 2>&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); }; } &&
32279 { ac_try
='test -s conftest.$ac_objext'
32280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281 (eval $ac_try) 2>&5
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; }; then
32285 ac_header_compiler
=yes
32287 echo "$as_me: failed program was:" >&5
32288 sed 's/^/| /' conftest.
$ac_ext >&5
32290 ac_header_compiler
=no
32292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32294 echo "${ECHO_T}$ac_header_compiler" >&6
32296 # Is the header present?
32297 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32298 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32299 cat >conftest.
$ac_ext <<_ACEOF
32302 cat confdefs.h
>>conftest.
$ac_ext
32303 cat >>conftest.
$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32310 grep -v '^ *+' conftest.er1
>conftest.err
32312 cat conftest.err
>&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); } >/dev
/null
; then
32315 if test -s conftest.err
; then
32316 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32317 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32324 if test -z "$ac_cpp_err"; then
32325 ac_header_preproc
=yes
32327 echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.
$ac_ext >&5
32330 ac_header_preproc
=no
32332 rm -f conftest.err conftest.
$ac_ext
32333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32334 echo "${ECHO_T}$ac_header_preproc" >&6
32336 # So? What about this header?
32337 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32339 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32340 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32341 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32342 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32343 ac_header_preproc
=yes
32346 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32347 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32348 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32349 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32350 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32351 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32352 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32353 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32354 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32355 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32356 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32357 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32360 ## ----------------------------------------- ##
32361 ## Report this to wx-dev@lists.wxwidgets.org ##
32362 ## ----------------------------------------- ##
32365 sed "s/^/$as_me: WARNING: /" >&2
32368 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32369 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32370 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32371 echo $ECHO_N "(cached) $ECHO_C" >&6
32373 ac_cv_header_GL_gl_h
=$ac_header_preproc
32375 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32376 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32379 if test $ac_cv_header_GL_gl_h = yes; then
32383 echo "$as_me:$LINENO: checking for -lGL" >&5
32384 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32387 for ac_dir
in $SEARCH_LIB;
32389 for ac_extension
in a so sl dylib dll.a
; do
32390 if test -f "$ac_dir/libGL.$ac_extension"; then
32391 ac_find_libraries
=$ac_dir
32397 if test "$ac_find_libraries" != "" ; then
32398 echo "$as_me:$LINENO: result: yes" >&5
32399 echo "${ECHO_T}yes" >&6
32402 if test "$ac_find_libraries" = "default location"; then
32405 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32407 if test $result = 0; then
32410 ac_path_to_link
=" -L$ac_find_libraries"
32414 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32415 LDFLAGS_GL
="$ac_path_to_link"
32418 echo "$as_me:$LINENO: checking for -lGLU" >&5
32419 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32422 for ac_dir
in $SEARCH_LIB;
32424 for ac_extension
in a so sl dylib dll.a
; do
32425 if test -f "$ac_dir/libGLU.$ac_extension"; then
32426 ac_find_libraries
=$ac_dir
32432 if test "$ac_find_libraries" != "" ; then
32434 if test "$ac_find_libraries" = "default location"; then
32437 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32439 if test $result = 0; then
32442 ac_path_to_link
=" -L$ac_find_libraries"
32446 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32447 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32448 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32452 OPENGL_LIBS
="-lGL -lGLU"
32453 echo "$as_me:$LINENO: result: yes" >&5
32454 echo "${ECHO_T}yes" >&6
32456 echo "$as_me:$LINENO: result: no" >&5
32457 echo "${ECHO_T}no" >&6
32460 echo "$as_me:$LINENO: result: no" >&5
32461 echo "${ECHO_T}no" >&6
32464 if test "$found_gl" != 1; then
32465 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32466 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32469 for ac_dir
in $SEARCH_LIB;
32471 for ac_extension
in a so sl dylib dll.a
; do
32472 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32473 ac_find_libraries
=$ac_dir
32479 if test "$ac_find_libraries" != "" ; then
32481 if test "$ac_find_libraries" = "default location"; then
32484 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32486 if test $result = 0; then
32489 ac_path_to_link
=" -L$ac_find_libraries"
32493 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32494 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32495 echo "$as_me:$LINENO: result: yes" >&5
32496 echo "${ECHO_T}yes" >&6
32498 echo "$as_me:$LINENO: result: no" >&5
32499 echo "${ECHO_T}no" >&6
32507 if test "x$OPENGL_LIBS" = "x"; then
32508 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32509 echo "$as_me: error: OpenGL libraries not available" >&2;}
32510 { (exit 1); exit 1; }; }
32514 if test "$wxUSE_OPENGL" = "yes"; then
32516 cat >>confdefs.h
<<\_ACEOF
32517 #define wxUSE_OPENGL 1
32520 cat >>confdefs.h
<<\_ACEOF
32521 #define wxUSE_GLCANVAS 1
32524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32529 if test -n "$TOOLKIT" ; then
32530 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32535 if test "$wxUSE_SHARED" = "yes"; then
32539 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32540 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32545 if test "$wxUSE_SHARED" = "yes"; then
32548 found_versioning
=no
32551 if test $found_versioning = no
; then
32552 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32553 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32554 if test "${wx_cv_version_script+set}" = set; then
32555 echo $ECHO_N "(cached) $ECHO_C" >&6
32558 echo "VER_1 { *; };" >conftest.sym
32559 echo "int main() { return 0; }" >conftest.cpp
32562 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32563 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565 (eval $ac_try) 2>&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); }; } ; then
32569 if test -s conftest.stderr
; then
32570 wx_cv_version_script
=no
32572 wx_cv_version_script
=yes
32575 wx_cv_version_script
=no
32578 if test $wx_cv_version_script = yes
32580 echo "struct B { virtual ~B() { } }; \
32581 struct D : public B { }; \
32582 void F() { D d; }" > conftest.cpp
32585 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32586 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32588 (eval $ac_try) 2>&5
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); }; } &&
32593 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32594 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
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); }; }
32602 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32603 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32605 (eval $ac_try) 2>&5
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); }; }
32610 wx_cv_version_script
=yes
32612 wx_cv_version_script
=no
32617 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32618 rm -f conftest1.output conftest2.output conftest3.output
32621 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32622 echo "${ECHO_T}$wx_cv_version_script" >&6
32623 if test $wx_cv_version_script = yes ; then
32624 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32630 *-*-linux* | *-*-gnu* )
32631 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32632 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32636 if test "$GCC" = yes ; then
32637 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32639 saveLdflags
="$LDFLAGS"
32640 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32641 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32642 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32643 cat >conftest.
$ac_ext <<_ACEOF
32646 cat confdefs.h
>>conftest.
$ac_ext
32647 cat >>conftest.
$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32658 rm -f conftest.
$ac_objext conftest
$ac_exeext
32659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32660 (eval $ac_link) 2>conftest.er1
32662 grep -v '^ *+' conftest.er1
>conftest.err
32664 cat conftest.err
>&5
32665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32666 (exit $ac_status); } &&
32667 { ac_try
='test -z "$ac_cxx_werror_flag"
32668 || test ! -s conftest.err'
32669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32670 (eval $ac_try) 2>&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); }; } &&
32674 { ac_try
='test -s conftest$ac_exeext'
32675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32676 (eval $ac_try) 2>&5
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); }; }; then
32681 echo "$as_me:$LINENO: result: yes" >&5
32682 echo "${ECHO_T}yes" >&6
32683 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32684 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32687 echo "$as_me: failed program was:" >&5
32688 sed 's/^/| /' conftest.
$ac_ext >&5
32691 echo "$as_me:$LINENO: result: no" >&5
32692 echo "${ECHO_T}no" >&6
32693 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32694 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32695 LDFLAGS
="$saveLdflags -Wl,-R,/"
32696 cat >conftest.
$ac_ext <<_ACEOF
32699 cat confdefs.h
>>conftest.
$ac_ext
32700 cat >>conftest.
$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32711 rm -f conftest.
$ac_objext conftest
$ac_exeext
32712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32713 (eval $ac_link) 2>conftest.er1
32715 grep -v '^ *+' conftest.er1
>conftest.err
32717 cat conftest.err
>&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } &&
32720 { ac_try
='test -z "$ac_cxx_werror_flag"
32721 || test ! -s conftest.err'
32722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32723 (eval $ac_try) 2>&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); }; } &&
32727 { ac_try
='test -s conftest$ac_exeext'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; }; then
32734 echo "$as_me:$LINENO: result: yes" >&5
32735 echo "${ECHO_T}yes" >&6
32736 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32737 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32740 echo "$as_me: failed program was:" >&5
32741 sed 's/^/| /' conftest.
$ac_ext >&5
32744 echo "$as_me:$LINENO: result: no" >&5
32745 echo "${ECHO_T}no" >&6
32748 rm -f conftest.err conftest.
$ac_objext \
32749 conftest
$ac_exeext conftest.
$ac_ext
32752 rm -f conftest.err conftest.
$ac_objext \
32753 conftest
$ac_exeext conftest.
$ac_ext
32754 LDFLAGS
="$saveLdflags"
32756 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32757 WXCONFIG_RPATH
="-R\$libdir"
32762 install_name_tool
=`which install_name_tool`
32763 if test "$install_name_tool" -a -x "$install_name_tool"; then
32764 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32765 cat <<EOF >change-install-names
32767 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32768 inst_cmd="install_name_tool "
32769 for i in \${libnames} ; do
32770 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32774 chmod +x change
-install-names
32778 *-*-cygwin* | *-*-mingw32* )
32779 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32783 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32784 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32789 if test $wxUSE_RPATH = "no"; then
32790 SAMPLES_RPATH_FLAG
=''
32791 SAMPLES_RPATH_POSTLINK
=''
32799 config_linkage_component
="-static"
32806 lib_unicode_suffix
=
32808 if test "$wxUSE_UNICODE" = "yes"; then
32809 lib_unicode_suffix
=u
32810 WX_CHARTYPE
="unicode"
32815 WX_DEBUGTYPE
="release"
32817 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32819 WX_DEBUGTYPE
="debug"
32823 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32824 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32827 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32831 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32833 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32835 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32837 if test "$cross_compiling" = "yes"; then
32838 HOST_SUFFIX
="-$host_alias"
32839 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32840 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32843 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32844 if test "${TOOLKIT_DIR}" = "os2"; then
32845 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32847 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32852 if test "$wxUSE_COCOA" = 1; then
32856 ac_cpp
='$CPP $CPPFLAGS'
32857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32863 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32864 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32865 cat >conftest.
$ac_ext <<_ACEOF
32868 cat confdefs.h
>>conftest.
$ac_ext
32869 cat >>conftest.
$ac_ext <<_ACEOF
32870 /* end confdefs.h. */
32871 #include <AppKit/NSEvent.h>
32872 #include <CoreFoundation/CoreFoundation.h>
32882 rm -f conftest.
$ac_objext
32883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32884 (eval $ac_compile) 2>conftest.er1
32886 grep -v '^ *+' conftest.er1
>conftest.err
32888 cat conftest.err
>&5
32889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 (exit $ac_status); } &&
32891 { ac_try
='test -z "$ac_c_werror_flag"
32892 || test ! -s conftest.err'
32893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32894 (eval $ac_try) 2>&5
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; } &&
32898 { ac_try
='test -s conftest.$ac_objext'
32899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32900 (eval $ac_try) 2>&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); }; }; then
32904 echo "$as_me:$LINENO: result: no" >&5
32905 echo "${ECHO_T}no" >&6
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.
$ac_ext >&5
32910 echo "$as_me:$LINENO: result: yes" >&5
32911 echo "${ECHO_T}yes" >&6
32912 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32913 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32914 cat >conftest.
$ac_ext <<_ACEOF
32917 cat confdefs.h
>>conftest.
$ac_ext
32918 cat >>conftest.
$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920 #define __Point__ 1
32921 #include <AppKit/NSEvent.h>
32922 #include <CoreFoundation/CoreFoundation.h>
32932 rm -f conftest.
$ac_objext
32933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32934 (eval $ac_compile) 2>conftest.er1
32936 grep -v '^ *+' conftest.er1
>conftest.err
32938 cat conftest.err
>&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } &&
32941 { ac_try
='test -z "$ac_c_werror_flag"
32942 || test ! -s conftest.err'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; } &&
32948 { ac_try
='test -s conftest.$ac_objext'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; }; then
32954 echo "$as_me:$LINENO: result: yes" >&5
32955 echo "${ECHO_T}yes" >&6
32956 cat >>confdefs.h
<<\_ACEOF
32957 #define __Point__ 1
32962 echo "$as_me: failed program was:" >&5
32963 sed 's/^/| /' conftest.
$ac_ext >&5
32965 { { echo "$as_me:$LINENO: error: no
32966 See \`config.log' for more details." >&5
32967 echo "$as_me: error: no
32968 See \`config.log' for more details." >&2;}
32969 { (exit 1); exit 1; }; }
32972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32977 ac_cpp
='$CXXCPP $CPPFLAGS'
32978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32984 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32985 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32986 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32988 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32990 # Extract the first word of "Rez", so it can be a program name with args.
32991 set dummy Rez
; ac_word
=$2
32992 echo "$as_me:$LINENO: checking for $ac_word" >&5
32993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32994 if test "${ac_cv_prog_REZ+set}" = set; then
32995 echo $ECHO_N "(cached) $ECHO_C" >&6
32997 if test -n "$REZ"; then
32998 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33001 for as_dir
in $PATH
33004 test -z "$as_dir" && as_dir
=.
33005 for ac_exec_ext
in '' $ac_executable_extensions; do
33006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33007 ac_cv_prog_REZ
="Rez"
33008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33014 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33017 REZ
=$ac_cv_prog_REZ
33018 if test -n "$REZ"; then
33019 echo "$as_me:$LINENO: result: $REZ" >&5
33020 echo "${ECHO_T}$REZ" >&6
33022 echo "$as_me:$LINENO: result: no" >&5
33023 echo "${ECHO_T}no" >&6
33026 # Extract the first word of "DeRez", so it can be a program name with args.
33027 set dummy DeRez
; ac_word
=$2
33028 echo "$as_me:$LINENO: checking for $ac_word" >&5
33029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33030 if test "${ac_cv_prog_DEREZ+set}" = set; then
33031 echo $ECHO_N "(cached) $ECHO_C" >&6
33033 if test -n "$DEREZ"; then
33034 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33037 for as_dir
in $PATH
33040 test -z "$as_dir" && as_dir
=.
33041 for ac_exec_ext
in '' $ac_executable_extensions; do
33042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33043 ac_cv_prog_DEREZ
="DeRez"
33044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33050 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33053 DEREZ
=$ac_cv_prog_DEREZ
33054 if test -n "$DEREZ"; then
33055 echo "$as_me:$LINENO: result: $DEREZ" >&5
33056 echo "${ECHO_T}$DEREZ" >&6
33058 echo "$as_me:$LINENO: result: no" >&5
33059 echo "${ECHO_T}no" >&6
33062 # Extract the first word of "SetFile", so it can be a program name with args.
33063 set dummy SetFile
; ac_word
=$2
33064 echo "$as_me:$LINENO: checking for $ac_word" >&5
33065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33066 if test "${ac_cv_prog_SETFILE+set}" = set; then
33067 echo $ECHO_N "(cached) $ECHO_C" >&6
33069 if test -n "$SETFILE"; then
33070 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33073 for as_dir
in $PATH
33076 test -z "$as_dir" && as_dir
=.
33077 for ac_exec_ext
in '' $ac_executable_extensions; do
33078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33079 ac_cv_prog_SETFILE
="SetFile"
33080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33086 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33089 SETFILE
=$ac_cv_prog_SETFILE
33090 if test -n "$SETFILE"; then
33091 echo "$as_me:$LINENO: result: $SETFILE" >&5
33092 echo "${ECHO_T}$SETFILE" >&6
33094 echo "$as_me:$LINENO: result: no" >&5
33095 echo "${ECHO_T}no" >&6
33099 MACSETFILE
="\$(SETFILE)"
33101 if test "$wxUSE_MAC" = 1; then
33102 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33104 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33106 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33107 RESCOMP
="echo -n \| $REZ"
33108 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33114 if test "$wxUSE_PM" = 1; then
33116 WXCONFIG_RESFLAGS
="-ep"
33118 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33120 POSTLINK_COMMAND
="@true"
33127 echo "$as_me:$LINENO: checking for mode_t" >&5
33128 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33129 if test "${ac_cv_type_mode_t+set}" = set; then
33130 echo $ECHO_N "(cached) $ECHO_C" >&6
33132 cat >conftest.
$ac_ext <<_ACEOF
33135 cat confdefs.h
>>conftest.
$ac_ext
33136 cat >>conftest.
$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33138 $ac_includes_default
33144 if (sizeof (mode_t))
33150 rm -f conftest.
$ac_objext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33152 (eval $ac_compile) 2>conftest.er1
33154 grep -v '^ *+' conftest.er1
>conftest.err
33156 cat conftest.err
>&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } &&
33159 { ac_try
='test -z "$ac_cxx_werror_flag"
33160 || test ! -s conftest.err'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; } &&
33166 { ac_try
='test -s conftest.$ac_objext'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; }; then
33172 ac_cv_type_mode_t
=yes
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.
$ac_ext >&5
33177 ac_cv_type_mode_t
=no
33179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33181 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33182 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33183 if test $ac_cv_type_mode_t = yes; then
33187 cat >>confdefs.h
<<_ACEOF
33193 echo "$as_me:$LINENO: checking for off_t" >&5
33194 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33195 if test "${ac_cv_type_off_t+set}" = set; then
33196 echo $ECHO_N "(cached) $ECHO_C" >&6
33198 cat >conftest.
$ac_ext <<_ACEOF
33201 cat confdefs.h
>>conftest.
$ac_ext
33202 cat >>conftest.
$ac_ext <<_ACEOF
33203 /* end confdefs.h. */
33204 $ac_includes_default
33210 if (sizeof (off_t))
33216 rm -f conftest.
$ac_objext
33217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33218 (eval $ac_compile) 2>conftest.er1
33220 grep -v '^ *+' conftest.er1
>conftest.err
33222 cat conftest.err
>&5
33223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224 (exit $ac_status); } &&
33225 { ac_try
='test -z "$ac_cxx_werror_flag"
33226 || test ! -s conftest.err'
33227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33228 (eval $ac_try) 2>&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); }; } &&
33232 { ac_try
='test -s conftest.$ac_objext'
33233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33234 (eval $ac_try) 2>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); }; }; then
33238 ac_cv_type_off_t
=yes
33240 echo "$as_me: failed program was:" >&5
33241 sed 's/^/| /' conftest.
$ac_ext >&5
33243 ac_cv_type_off_t
=no
33245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33247 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33248 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33249 if test $ac_cv_type_off_t = yes; then
33253 cat >>confdefs.h
<<_ACEOF
33259 echo "$as_me:$LINENO: checking for pid_t" >&5
33260 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33261 if test "${ac_cv_type_pid_t+set}" = set; then
33262 echo $ECHO_N "(cached) $ECHO_C" >&6
33264 cat >conftest.
$ac_ext <<_ACEOF
33267 cat confdefs.h
>>conftest.
$ac_ext
33268 cat >>conftest.
$ac_ext <<_ACEOF
33269 /* end confdefs.h. */
33270 $ac_includes_default
33276 if (sizeof (pid_t))
33282 rm -f conftest.
$ac_objext
33283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33284 (eval $ac_compile) 2>conftest.er1
33286 grep -v '^ *+' conftest.er1
>conftest.err
33288 cat conftest.err
>&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); } &&
33291 { ac_try
='test -z "$ac_cxx_werror_flag"
33292 || test ! -s conftest.err'
33293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33294 (eval $ac_try) 2>&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); }; } &&
33298 { ac_try
='test -s conftest.$ac_objext'
33299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33300 (eval $ac_try) 2>&5
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); }; }; then
33304 ac_cv_type_pid_t
=yes
33306 echo "$as_me: failed program was:" >&5
33307 sed 's/^/| /' conftest.
$ac_ext >&5
33309 ac_cv_type_pid_t
=no
33311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33313 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33314 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33315 if test $ac_cv_type_pid_t = yes; then
33319 cat >>confdefs.h
<<_ACEOF
33325 echo "$as_me:$LINENO: checking for size_t" >&5
33326 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33327 if test "${ac_cv_type_size_t+set}" = set; then
33328 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 cat >conftest.
$ac_ext <<_ACEOF
33333 cat confdefs.h
>>conftest.
$ac_ext
33334 cat >>conftest.
$ac_ext <<_ACEOF
33335 /* end confdefs.h. */
33336 $ac_includes_default
33342 if (sizeof (size_t))
33348 rm -f conftest.
$ac_objext
33349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33350 (eval $ac_compile) 2>conftest.er1
33352 grep -v '^ *+' conftest.er1
>conftest.err
33354 cat conftest.err
>&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try
='test -z "$ac_cxx_werror_flag"
33358 || test ! -s conftest.err'
33359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33360 (eval $ac_try) 2>&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); }; } &&
33364 { ac_try
='test -s conftest.$ac_objext'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; }; then
33370 ac_cv_type_size_t
=yes
33372 echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.
$ac_ext >&5
33375 ac_cv_type_size_t
=no
33377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33379 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33380 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33381 if test $ac_cv_type_size_t = yes; then
33385 cat >>confdefs.h
<<_ACEOF
33386 #define size_t unsigned
33391 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33392 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33393 if test "${ac_cv_type_uid_t+set}" = set; then
33394 echo $ECHO_N "(cached) $ECHO_C" >&6
33396 cat >conftest.
$ac_ext <<_ACEOF
33399 cat confdefs.h
>>conftest.
$ac_ext
33400 cat >>conftest.
$ac_ext <<_ACEOF
33401 /* end confdefs.h. */
33402 #include <sys/types.h>
33405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33406 $EGREP "uid_t" >/dev
/null
2>&1; then
33407 ac_cv_type_uid_t
=yes
33409 ac_cv_type_uid_t
=no
33414 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33415 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33416 if test $ac_cv_type_uid_t = no
; then
33418 cat >>confdefs.h
<<\_ACEOF
33423 cat >>confdefs.h
<<\_ACEOF
33430 echo "$as_me:$LINENO: checking for ssize_t" >&5
33431 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33432 if test "${ac_cv_type_ssize_t+set}" = set; then
33433 echo $ECHO_N "(cached) $ECHO_C" >&6
33435 cat >conftest.
$ac_ext <<_ACEOF
33438 cat confdefs.h
>>conftest.
$ac_ext
33439 cat >>conftest.
$ac_ext <<_ACEOF
33440 /* end confdefs.h. */
33441 $ac_includes_default
33447 if (sizeof (ssize_t))
33453 rm -f conftest.
$ac_objext
33454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33455 (eval $ac_compile) 2>conftest.er1
33457 grep -v '^ *+' conftest.er1
>conftest.err
33459 cat conftest.err
>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); } &&
33462 { ac_try
='test -z "$ac_cxx_werror_flag"
33463 || test ! -s conftest.err'
33464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33465 (eval $ac_try) 2>&5
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); }; } &&
33469 { ac_try
='test -s conftest.$ac_objext'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; }; then
33475 ac_cv_type_ssize_t
=yes
33477 echo "$as_me: failed program was:" >&5
33478 sed 's/^/| /' conftest.
$ac_ext >&5
33480 ac_cv_type_ssize_t
=no
33482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33484 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33485 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33486 if test $ac_cv_type_ssize_t = yes; then
33488 cat >>confdefs.h
<<_ACEOF
33489 #define HAVE_SSIZE_T 1
33496 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33497 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33498 if test "${wx_cv_size_t_is_uint+set}" = set; then
33499 echo $ECHO_N "(cached) $ECHO_C" >&6
33502 cat >conftest.
$ac_ext <<_ACEOF
33505 cat confdefs.h
>>conftest.
$ac_ext
33506 cat >>conftest.
$ac_ext <<_ACEOF
33507 /* end confdefs.h. */
33508 #include <stddef.h>
33515 struct Foo { void foo(size_t); void foo(unsigned int); };
33523 rm -f conftest.
$ac_objext
33524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33525 (eval $ac_compile) 2>conftest.er1
33527 grep -v '^ *+' conftest.er1
>conftest.err
33529 cat conftest.err
>&5
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); } &&
33532 { ac_try
='test -z "$ac_cxx_werror_flag"
33533 || 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_objext'
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 wx_cv_size_t_is_uint
=no
33547 echo "$as_me: failed program was:" >&5
33548 sed 's/^/| /' conftest.
$ac_ext >&5
33550 wx_cv_size_t_is_uint
=yes
33553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33557 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33558 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33560 if test "$wx_cv_size_t_is_uint" = "yes"; then
33561 cat >>confdefs.h
<<\_ACEOF
33562 #define wxSIZE_T_IS_UINT 1
33566 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33567 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33568 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33569 echo $ECHO_N "(cached) $ECHO_C" >&6
33571 cat >conftest.
$ac_ext <<_ACEOF
33574 cat confdefs.h
>>conftest.
$ac_ext
33575 cat >>conftest.
$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33577 #include <stddef.h>
33584 struct Foo { void foo(size_t); void foo(unsigned long); };
33592 rm -f conftest.
$ac_objext
33593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33594 (eval $ac_compile) 2>conftest.er1
33596 grep -v '^ *+' conftest.er1
>conftest.err
33598 cat conftest.err
>&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); } &&
33601 { ac_try
='test -z "$ac_cxx_werror_flag"
33602 || test ! -s conftest.err'
33603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33604 (eval $ac_try) 2>&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); }; } &&
33608 { ac_try
='test -s conftest.$ac_objext'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; }; then
33614 wx_cv_size_t_is_ulong
=no
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.
$ac_ext >&5
33619 wx_cv_size_t_is_ulong
=yes
33622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33625 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33626 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33628 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33629 cat >>confdefs.h
<<\_ACEOF
33630 #define wxSIZE_T_IS_ULONG 1
33637 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33638 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33639 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33640 echo $ECHO_N "(cached) $ECHO_C" >&6
33643 cat >conftest.
$ac_ext <<_ACEOF
33646 cat confdefs.h
>>conftest.
$ac_ext
33647 cat >>conftest.
$ac_ext <<_ACEOF
33648 /* end confdefs.h. */
33662 rm -f conftest.
$ac_objext
33663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33664 (eval $ac_compile) 2>conftest.er1
33666 grep -v '^ *+' conftest.er1
>conftest.err
33668 cat conftest.err
>&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } &&
33671 { ac_try
='test -z "$ac_cxx_werror_flag"
33672 || test ! -s conftest.err'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; } &&
33678 { ac_try
='test -s conftest.$ac_objext'
33679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33680 (eval $ac_try) 2>&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); }; }; then
33685 wx_cv_struct_pw_gecos
=yes
33688 echo "$as_me: failed program was:" >&5
33689 sed 's/^/| /' conftest.
$ac_ext >&5
33692 wx_cv_struct_pw_gecos
=no
33696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33700 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33701 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33703 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33704 cat >>confdefs.h
<<\_ACEOF
33705 #define HAVE_PW_GECOS 1
33711 if test "$wxUSE_WCHAR_T" = "yes"; then
33712 cat >>confdefs.h
<<\_ACEOF
33713 #define wxUSE_WCHAR_T 1
33720 for ac_func
in wcslen
33722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33723 echo "$as_me:$LINENO: checking for $ac_func" >&5
33724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33725 if eval "test \"\${$as_ac_var+set}\" = set"; then
33726 echo $ECHO_N "(cached) $ECHO_C" >&6
33728 cat >conftest.
$ac_ext <<_ACEOF
33731 cat confdefs.h
>>conftest.
$ac_ext
33732 cat >>conftest.
$ac_ext <<_ACEOF
33733 /* end confdefs.h. */
33734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33736 #define $ac_func innocuous_$ac_func
33738 /* System header to define __stub macros and hopefully few prototypes,
33739 which can conflict with char $ac_func (); below.
33740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33741 <limits.h> exists even on freestanding compilers. */
33744 # include <limits.h>
33746 # include <assert.h>
33751 /* Override any gcc2 internal prototype to avoid an error. */
33756 /* We use char because int might match the return type of a gcc2
33757 builtin and then its argument prototype would still apply. */
33759 /* The GNU C library defines this for functions which it implements
33760 to always fail with ENOSYS. Some functions are actually named
33761 something starting with __ and the normal name is an alias. */
33762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33765 char (*f) () = $ac_func;
33774 return f != $ac_func;
33779 rm -f conftest.
$ac_objext conftest
$ac_exeext
33780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33781 (eval $ac_link) 2>conftest.er1
33783 grep -v '^ *+' conftest.er1
>conftest.err
33785 cat conftest.err
>&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); } &&
33788 { ac_try
='test -z "$ac_cxx_werror_flag"
33789 || test ! -s conftest.err'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; } &&
33795 { ac_try
='test -s conftest$ac_exeext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 eval "$as_ac_var=yes"
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.
$ac_ext >&5
33806 eval "$as_ac_var=no"
33808 rm -f conftest.err conftest.
$ac_objext \
33809 conftest
$ac_exeext conftest.
$ac_ext
33811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33813 if test `eval echo '${'$as_ac_var'}'` = yes; then
33814 cat >>confdefs.h
<<_ACEOF
33815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33822 if test "$WCSLEN_FOUND" = 0; then
33823 if test "$TOOLKIT" = "MSW"; then
33824 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33825 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33826 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33827 echo $ECHO_N "(cached) $ECHO_C" >&6
33829 ac_check_lib_save_LIBS
=$LIBS
33830 LIBS
="-lmsvcrt $LIBS"
33831 cat >conftest.
$ac_ext <<_ACEOF
33834 cat confdefs.h
>>conftest.
$ac_ext
33835 cat >>conftest.
$ac_ext <<_ACEOF
33836 /* end confdefs.h. */
33838 /* Override any gcc2 internal prototype to avoid an error. */
33842 /* We use char because int might match the return type of a gcc2
33843 builtin and then its argument prototype would still apply. */
33853 rm -f conftest.
$ac_objext conftest
$ac_exeext
33854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33855 (eval $ac_link) 2>conftest.er1
33857 grep -v '^ *+' conftest.er1
>conftest.err
33859 cat conftest.err
>&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } &&
33862 { ac_try
='test -z "$ac_cxx_werror_flag"
33863 || test ! -s conftest.err'
33864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33865 (eval $ac_try) 2>&5
33867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868 (exit $ac_status); }; } &&
33869 { ac_try
='test -s conftest$ac_exeext'
33870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33871 (eval $ac_try) 2>&5
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); }; }; then
33875 ac_cv_lib_msvcrt_wcslen
=yes
33877 echo "$as_me: failed program was:" >&5
33878 sed 's/^/| /' conftest.
$ac_ext >&5
33880 ac_cv_lib_msvcrt_wcslen
=no
33882 rm -f conftest.err conftest.
$ac_objext \
33883 conftest
$ac_exeext conftest.
$ac_ext
33884 LIBS
=$ac_check_lib_save_LIBS
33886 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33887 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33888 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33893 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33894 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33895 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33898 ac_check_lib_save_LIBS
=$LIBS
33900 cat >conftest.
$ac_ext <<_ACEOF
33903 cat confdefs.h
>>conftest.
$ac_ext
33904 cat >>conftest.
$ac_ext <<_ACEOF
33905 /* end confdefs.h. */
33907 /* Override any gcc2 internal prototype to avoid an error. */
33911 /* We use char because int might match the return type of a gcc2
33912 builtin and then its argument prototype would still apply. */
33922 rm -f conftest.
$ac_objext conftest
$ac_exeext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33924 (eval $ac_link) 2>conftest.er1
33926 grep -v '^ *+' conftest.er1
>conftest.err
33928 cat conftest.err
>&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try
='test -z "$ac_cxx_werror_flag"
33932 || test ! -s conftest.err'
33933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33934 (eval $ac_try) 2>&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); }; } &&
33938 { ac_try
='test -s conftest$ac_exeext'
33939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33940 (eval $ac_try) 2>&5
33942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33943 (exit $ac_status); }; }; then
33944 ac_cv_lib_w_wcslen
=yes
33946 echo "$as_me: failed program was:" >&5
33947 sed 's/^/| /' conftest.
$ac_ext >&5
33949 ac_cv_lib_w_wcslen
=no
33951 rm -f conftest.err conftest.
$ac_objext \
33952 conftest
$ac_exeext conftest.
$ac_ext
33953 LIBS
=$ac_check_lib_save_LIBS
33955 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33956 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33957 if test $ac_cv_lib_w_wcslen = yes; then
33967 if test "$WCSLEN_FOUND" = 1; then
33968 cat >>confdefs.h
<<\_ACEOF
33969 #define HAVE_WCSLEN 1
33974 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33975 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33978 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33979 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33980 if test "${ac_cv_type_mbstate_t+set}" = set; then
33981 echo $ECHO_N "(cached) $ECHO_C" >&6
33983 cat >conftest.
$ac_ext <<_ACEOF
33986 cat confdefs.h
>>conftest.
$ac_ext
33987 cat >>conftest.
$ac_ext <<_ACEOF
33988 /* end confdefs.h. */
33994 if ((mbstate_t *) 0)
33996 if (sizeof (mbstate_t))
34002 rm -f conftest.
$ac_objext
34003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34004 (eval $ac_compile) 2>conftest.er1
34006 grep -v '^ *+' conftest.er1
>conftest.err
34008 cat conftest.err
>&5
34009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34010 (exit $ac_status); } &&
34011 { ac_try
='test -z "$ac_cxx_werror_flag"
34012 || test ! -s conftest.err'
34013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34014 (eval $ac_try) 2>&5
34016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34017 (exit $ac_status); }; } &&
34018 { ac_try
='test -s conftest.$ac_objext'
34019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34020 (eval $ac_try) 2>&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); }; }; then
34024 ac_cv_type_mbstate_t
=yes
34026 echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.
$ac_ext >&5
34029 ac_cv_type_mbstate_t
=no
34031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34033 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34034 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34035 if test $ac_cv_type_mbstate_t = yes; then
34037 cat >>confdefs.h
<<_ACEOF
34038 #define HAVE_MBSTATE_T 1
34042 for ac_func
in wcsrtombs
34044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34045 echo "$as_me:$LINENO: checking for $ac_func" >&5
34046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34047 if eval "test \"\${$as_ac_var+set}\" = set"; then
34048 echo $ECHO_N "(cached) $ECHO_C" >&6
34050 cat >conftest.
$ac_ext <<_ACEOF
34053 cat confdefs.h
>>conftest.
$ac_ext
34054 cat >>conftest.
$ac_ext <<_ACEOF
34055 /* end confdefs.h. */
34056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34058 #define $ac_func innocuous_$ac_func
34060 /* System header to define __stub macros and hopefully few prototypes,
34061 which can conflict with char $ac_func (); below.
34062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34063 <limits.h> exists even on freestanding compilers. */
34066 # include <limits.h>
34068 # include <assert.h>
34073 /* Override any gcc2 internal prototype to avoid an error. */
34078 /* We use char because int might match the return type of a gcc2
34079 builtin and then its argument prototype would still apply. */
34081 /* The GNU C library defines this for functions which it implements
34082 to always fail with ENOSYS. Some functions are actually named
34083 something starting with __ and the normal name is an alias. */
34084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34087 char (*f) () = $ac_func;
34096 return f != $ac_func;
34101 rm -f conftest.
$ac_objext conftest
$ac_exeext
34102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34103 (eval $ac_link) 2>conftest.er1
34105 grep -v '^ *+' conftest.er1
>conftest.err
34107 cat conftest.err
>&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } &&
34110 { ac_try
='test -z "$ac_cxx_werror_flag"
34111 || test ! -s conftest.err'
34112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34113 (eval $ac_try) 2>&5
34115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34116 (exit $ac_status); }; } &&
34117 { ac_try
='test -s conftest$ac_exeext'
34118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34119 (eval $ac_try) 2>&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; }; then
34123 eval "$as_ac_var=yes"
34125 echo "$as_me: failed program was:" >&5
34126 sed 's/^/| /' conftest.
$ac_ext >&5
34128 eval "$as_ac_var=no"
34130 rm -f conftest.err conftest.
$ac_objext \
34131 conftest
$ac_exeext conftest.
$ac_ext
34133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34135 if test `eval echo '${'$as_ac_var'}'` = yes; then
34136 cat >>confdefs.h
<<_ACEOF
34137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34146 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34147 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34152 for ac_func
in snprintf vsnprintf
34154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34155 echo "$as_me:$LINENO: checking for $ac_func" >&5
34156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34157 if eval "test \"\${$as_ac_var+set}\" = set"; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34160 cat >conftest.
$ac_ext <<_ACEOF
34163 cat confdefs.h
>>conftest.
$ac_ext
34164 cat >>conftest.
$ac_ext <<_ACEOF
34165 /* end confdefs.h. */
34166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34168 #define $ac_func innocuous_$ac_func
34170 /* System header to define __stub macros and hopefully few prototypes,
34171 which can conflict with char $ac_func (); below.
34172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34173 <limits.h> exists even on freestanding compilers. */
34176 # include <limits.h>
34178 # include <assert.h>
34183 /* Override any gcc2 internal prototype to avoid an error. */
34188 /* We use char because int might match the return type of a gcc2
34189 builtin and then its argument prototype would still apply. */
34191 /* The GNU C library defines this for functions which it implements
34192 to always fail with ENOSYS. Some functions are actually named
34193 something starting with __ and the normal name is an alias. */
34194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34197 char (*f) () = $ac_func;
34206 return f != $ac_func;
34211 rm -f conftest.
$ac_objext conftest
$ac_exeext
34212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34213 (eval $ac_link) 2>conftest.er1
34215 grep -v '^ *+' conftest.er1
>conftest.err
34217 cat conftest.err
>&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } &&
34220 { ac_try
='test -z "$ac_cxx_werror_flag"
34221 || test ! -s conftest.err'
34222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34223 (eval $ac_try) 2>&5
34225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34226 (exit $ac_status); }; } &&
34227 { ac_try
='test -s conftest$ac_exeext'
34228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34229 (eval $ac_try) 2>&5
34231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232 (exit $ac_status); }; }; then
34233 eval "$as_ac_var=yes"
34235 echo "$as_me: failed program was:" >&5
34236 sed 's/^/| /' conftest.
$ac_ext >&5
34238 eval "$as_ac_var=no"
34240 rm -f conftest.err conftest.
$ac_objext \
34241 conftest
$ac_exeext conftest.
$ac_ext
34243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34245 if test `eval echo '${'$as_ac_var'}'` = yes; then
34246 cat >>confdefs.h
<<_ACEOF
34247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34254 if test "$ac_cv_func_vsnprintf" = "yes"; then
34255 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34256 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34257 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 cat >conftest.
$ac_ext <<_ACEOF
34264 cat confdefs.h
>>conftest.
$ac_ext
34265 cat >>conftest.
$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34269 #include <stdarg.h>
34271 #if __MSL__ >= 0x6000
34273 using namespace std;
34283 vsnprintf(buf, 10u, "%s", ap);
34289 rm -f conftest.
$ac_objext
34290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34291 (eval $ac_compile) 2>conftest.er1
34293 grep -v '^ *+' conftest.er1
>conftest.err
34295 cat conftest.err
>&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); } &&
34298 { ac_try
='test -z "$ac_cxx_werror_flag"
34299 || test ! -s conftest.err'
34300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34301 (eval $ac_try) 2>&5
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); }; } &&
34305 { ac_try
='test -s conftest.$ac_objext'
34306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34307 (eval $ac_try) 2>&5
34309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34310 (exit $ac_status); }; }; then
34311 wx_cv_func_vsnprintf_decl
=yes
34313 echo "$as_me: failed program was:" >&5
34314 sed 's/^/| /' conftest.
$ac_ext >&5
34316 wx_cv_func_vsnprintf_decl
=no
34319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34323 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34324 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34326 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34327 cat >>confdefs.h
<<\_ACEOF
34328 #define HAVE_VSNPRINTF_DECL 1
34332 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34333 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34334 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 cat >conftest.
$ac_ext <<_ACEOF
34341 cat confdefs.h
>>conftest.
$ac_ext
34342 cat >>conftest.
$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34346 #include <stdarg.h>
34348 #if __MSL__ >= 0x6000
34350 using namespace std;
34360 const char *fmt = "%s";
34361 vsnprintf(buf, 10u, fmt, ap);
34367 rm -f conftest.
$ac_objext
34368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34369 (eval $ac_compile) 2>conftest.er1
34371 grep -v '^ *+' conftest.er1
>conftest.err
34373 cat conftest.err
>&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } &&
34376 { ac_try
='test -z "$ac_cxx_werror_flag"
34377 || test ! -s conftest.err'
34378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379 (eval $ac_try) 2>&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); }; } &&
34383 { ac_try
='test -s conftest.$ac_objext'
34384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34385 (eval $ac_try) 2>&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); }; }; then
34389 wx_cv_func_broken_vsnprintf_decl
=no
34391 echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.
$ac_ext >&5
34394 wx_cv_func_broken_vsnprintf_decl
=yes
34397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34401 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34402 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34404 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34405 cat >>confdefs.h
<<\_ACEOF
34406 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34413 if test "$ac_cv_func_snprintf" = "yes"; then
34414 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34415 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34416 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34417 echo $ECHO_N "(cached) $ECHO_C" >&6
34420 cat >conftest.
$ac_ext <<_ACEOF
34423 cat confdefs.h
>>conftest.
$ac_ext
34424 cat >>conftest.
$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34428 #include <stdarg.h>
34430 #if __MSL__ >= 0x6000
34432 using namespace std;
34441 snprintf(buf, 10u, "%s", "wx");
34447 rm -f conftest.
$ac_objext
34448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34449 (eval $ac_compile) 2>conftest.er1
34451 grep -v '^ *+' conftest.er1
>conftest.err
34453 cat conftest.err
>&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); } &&
34456 { ac_try
='test -z "$ac_cxx_werror_flag"
34457 || test ! -s conftest.err'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; } &&
34463 { ac_try
='test -s conftest.$ac_objext'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; }; then
34469 wx_cv_func_snprintf_decl
=yes
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.
$ac_ext >&5
34474 wx_cv_func_snprintf_decl
=no
34477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34481 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34482 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34484 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34485 cat >>confdefs.h
<<\_ACEOF
34486 #define HAVE_SNPRINTF_DECL 1
34490 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34491 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34492 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34493 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 cat >conftest.
$ac_ext <<_ACEOF
34499 cat confdefs.h
>>conftest.
$ac_ext
34500 cat >>conftest.
$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34504 #include <stdarg.h>
34506 #if __MSL__ >= 0x6000
34508 using namespace std;
34517 const char *fmt = "%s";
34518 snprintf(buf, 10u, fmt, "wx");
34524 rm -f conftest.
$ac_objext
34525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34526 (eval $ac_compile) 2>conftest.er1
34528 grep -v '^ *+' conftest.er1
>conftest.err
34530 cat conftest.err
>&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } &&
34533 { ac_try
='test -z "$ac_cxx_werror_flag"
34534 || 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_broken_snprintf_decl
=no
34548 echo "$as_me: failed program was:" >&5
34549 sed 's/^/| /' conftest.
$ac_ext >&5
34551 wx_cv_func_broken_snprintf_decl
=yes
34554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34558 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34559 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34561 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34562 cat >>confdefs.h
<<\_ACEOF
34563 #define HAVE_BROKEN_SNPRINTF_DECL 1
34569 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34571 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34572 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34573 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34574 echo $ECHO_N "(cached) $ECHO_C" >&6
34577 if test "$cross_compiling" = yes; then
34578 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34579 See \`config.log' for more details." >&5
34580 echo "$as_me: error: cannot run test program while cross compiling
34581 See \`config.log' for more details." >&2;}
34582 { (exit 1); exit 1; }; }
34584 cat >conftest.
$ac_ext <<_ACEOF
34587 cat confdefs.h
>>conftest.
$ac_ext
34588 cat >>conftest.
$ac_ext <<_ACEOF
34589 /* end confdefs.h. */
34596 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34597 if (strcmp ("2 3 1", buffer) == 0)
34603 rm -f conftest
$ac_exeext
34604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34605 (eval $ac_link) 2>&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34610 (eval $ac_try) 2>&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); }; }; then
34614 wx_cv_func_snprintf_pos_params
=no
34616 echo "$as_me: program exited with status $ac_status" >&5
34617 echo "$as_me: failed program was:" >&5
34618 sed 's/^/| /' conftest.
$ac_ext >&5
34620 ( exit $ac_status )
34621 wx_cv_func_snprintf_pos_params
=yes
34624 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34629 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34630 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34632 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34633 cat >>confdefs.h
<<\_ACEOF
34634 #define HAVE_UNIX98_PRINTF 1
34642 if test "$wxUSE_UNICODE" = yes; then
34649 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34652 echo "$as_me:$LINENO: checking for $ac_func" >&5
34653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34654 if eval "test \"\${$as_ac_var+set}\" = set"; then
34655 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 cat >conftest.
$ac_ext <<_ACEOF
34660 cat confdefs.h
>>conftest.
$ac_ext
34661 cat >>conftest.
$ac_ext <<_ACEOF
34662 /* end confdefs.h. */
34663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34665 #define $ac_func innocuous_$ac_func
34667 /* System header to define __stub macros and hopefully few prototypes,
34668 which can conflict with char $ac_func (); below.
34669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34670 <limits.h> exists even on freestanding compilers. */
34673 # include <limits.h>
34675 # include <assert.h>
34680 /* Override any gcc2 internal prototype to avoid an error. */
34685 /* We use char because int might match the return type of a gcc2
34686 builtin and then its argument prototype would still apply. */
34688 /* The GNU C library defines this for functions which it implements
34689 to always fail with ENOSYS. Some functions are actually named
34690 something starting with __ and the normal name is an alias. */
34691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34694 char (*f) () = $ac_func;
34703 return f != $ac_func;
34708 rm -f conftest.
$ac_objext conftest
$ac_exeext
34709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34710 (eval $ac_link) 2>conftest.er1
34712 grep -v '^ *+' conftest.er1
>conftest.err
34714 cat conftest.err
>&5
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); } &&
34717 { ac_try
='test -z "$ac_cxx_werror_flag"
34718 || test ! -s conftest.err'
34719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34720 (eval $ac_try) 2>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; } &&
34724 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
34730 eval "$as_ac_var=yes"
34732 echo "$as_me: failed program was:" >&5
34733 sed 's/^/| /' conftest.
$ac_ext >&5
34735 eval "$as_ac_var=no"
34737 rm -f conftest.err conftest.
$ac_objext \
34738 conftest
$ac_exeext conftest.
$ac_ext
34740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34742 if test `eval echo '${'$as_ac_var'}'` = yes; then
34743 cat >>confdefs.h
<<_ACEOF
34744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34751 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34752 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34753 cat >conftest.
$ac_ext <<_ACEOF
34756 cat confdefs.h
>>conftest.
$ac_ext
34757 cat >>conftest.
$ac_ext <<_ACEOF
34758 /* end confdefs.h. */
34768 rm -f conftest.
$ac_objext
34769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34770 (eval $ac_compile) 2>conftest.er1
34772 grep -v '^ *+' conftest.er1
>conftest.err
34774 cat conftest.err
>&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); } &&
34777 { ac_try
='test -z "$ac_cxx_werror_flag"
34778 || test ! -s conftest.err'
34779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34780 (eval $ac_try) 2>&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); }; } &&
34784 { ac_try
='test -s conftest.$ac_objext'
34785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34786 (eval $ac_try) 2>&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); }; }; then
34790 echo "$as_me:$LINENO: result: yes" >&5
34791 echo "${ECHO_T}yes" >&6
34792 cat >>confdefs.h
<<\_ACEOF
34793 #define HAVE__VSNWPRINTF 1
34797 echo "$as_me: failed program was:" >&5
34798 sed 's/^/| /' conftest.
$ac_ext >&5
34800 echo "$as_me:$LINENO: result: no" >&5
34801 echo "${ECHO_T}no" >&6
34803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34806 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34808 for ac_func
in fnmatch
34810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34811 echo "$as_me:$LINENO: checking for $ac_func" >&5
34812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34813 if eval "test \"\${$as_ac_var+set}\" = set"; then
34814 echo $ECHO_N "(cached) $ECHO_C" >&6
34816 cat >conftest.
$ac_ext <<_ACEOF
34819 cat confdefs.h
>>conftest.
$ac_ext
34820 cat >>conftest.
$ac_ext <<_ACEOF
34821 /* end confdefs.h. */
34822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34824 #define $ac_func innocuous_$ac_func
34826 /* System header to define __stub macros and hopefully few prototypes,
34827 which can conflict with char $ac_func (); below.
34828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34829 <limits.h> exists even on freestanding compilers. */
34832 # include <limits.h>
34834 # include <assert.h>
34839 /* Override any gcc2 internal prototype to avoid an error. */
34844 /* We use char because int might match the return type of a gcc2
34845 builtin and then its argument prototype would still apply. */
34847 /* The GNU C library defines this for functions which it implements
34848 to always fail with ENOSYS. Some functions are actually named
34849 something starting with __ and the normal name is an alias. */
34850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34853 char (*f) () = $ac_func;
34862 return f != $ac_func;
34867 rm -f conftest.
$ac_objext conftest
$ac_exeext
34868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34869 (eval $ac_link) 2>conftest.er1
34871 grep -v '^ *+' conftest.er1
>conftest.err
34873 cat conftest.err
>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); } &&
34876 { ac_try
='test -z "$ac_cxx_werror_flag"
34877 || test ! -s conftest.err'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; } &&
34883 { ac_try
='test -s conftest$ac_exeext'
34884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34885 (eval $ac_try) 2>&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); }; }; then
34889 eval "$as_ac_var=yes"
34891 echo "$as_me: failed program was:" >&5
34892 sed 's/^/| /' conftest.
$ac_ext >&5
34894 eval "$as_ac_var=no"
34896 rm -f conftest.err conftest.
$ac_objext \
34897 conftest
$ac_exeext conftest.
$ac_ext
34899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34901 if test `eval echo '${'$as_ac_var'}'` = yes; then
34902 cat >>confdefs.h
<<_ACEOF
34903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34911 if test "$wxUSE_FILE" = "yes"; then
34913 for ac_func
in fsync
34915 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34916 echo "$as_me:$LINENO: checking for $ac_func" >&5
34917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34918 if eval "test \"\${$as_ac_var+set}\" = set"; then
34919 echo $ECHO_N "(cached) $ECHO_C" >&6
34921 cat >conftest.
$ac_ext <<_ACEOF
34924 cat confdefs.h
>>conftest.
$ac_ext
34925 cat >>conftest.
$ac_ext <<_ACEOF
34926 /* end confdefs.h. */
34927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34929 #define $ac_func innocuous_$ac_func
34931 /* System header to define __stub macros and hopefully few prototypes,
34932 which can conflict with char $ac_func (); below.
34933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34934 <limits.h> exists even on freestanding compilers. */
34937 # include <limits.h>
34939 # include <assert.h>
34944 /* Override any gcc2 internal prototype to avoid an error. */
34949 /* We use char because int might match the return type of a gcc2
34950 builtin and then its argument prototype would still apply. */
34952 /* The GNU C library defines this for functions which it implements
34953 to always fail with ENOSYS. Some functions are actually named
34954 something starting with __ and the normal name is an alias. */
34955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34958 char (*f) () = $ac_func;
34967 return f != $ac_func;
34972 rm -f conftest.
$ac_objext conftest
$ac_exeext
34973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34974 (eval $ac_link) 2>conftest.er1
34976 grep -v '^ *+' conftest.er1
>conftest.err
34978 cat conftest.err
>&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } &&
34981 { ac_try
='test -z "$ac_cxx_werror_flag"
34982 || test ! -s conftest.err'
34983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984 (eval $ac_try) 2>&5
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); }; } &&
34988 { ac_try
='test -s conftest$ac_exeext'
34989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34990 (eval $ac_try) 2>&5
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); }; }; then
34994 eval "$as_ac_var=yes"
34996 echo "$as_me: failed program was:" >&5
34997 sed 's/^/| /' conftest.
$ac_ext >&5
34999 eval "$as_ac_var=no"
35001 rm -f conftest.err conftest.
$ac_objext \
35002 conftest
$ac_exeext conftest.
$ac_ext
35004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35006 if test `eval echo '${'$as_ac_var'}'` = yes; then
35007 cat >>confdefs.h
<<_ACEOF
35008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35017 if test "$TOOLKIT" != "MSW"; then
35023 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35024 if test "${with_libiconv_prefix+set}" = set; then
35025 withval
="$with_libiconv_prefix"
35027 for dir
in `echo "$withval" | tr : ' '`; do
35028 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35029 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35034 echo "$as_me:$LINENO: checking for iconv" >&5
35035 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35036 if test "${am_cv_func_iconv+set}" = set; then
35037 echo $ECHO_N "(cached) $ECHO_C" >&6
35040 am_cv_func_iconv
="no, consider installing GNU libiconv"
35042 cat >conftest.
$ac_ext <<_ACEOF
35045 cat confdefs.h
>>conftest.
$ac_ext
35046 cat >>conftest.
$ac_ext <<_ACEOF
35047 /* end confdefs.h. */
35048 #include <stdlib.h>
35053 iconv_t cd = iconv_open("","");
35054 iconv(cd,NULL,NULL,NULL,NULL);
35060 rm -f conftest.
$ac_objext conftest
$ac_exeext
35061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35062 (eval $ac_link) 2>conftest.er1
35064 grep -v '^ *+' conftest.er1
>conftest.err
35066 cat conftest.err
>&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); } &&
35069 { ac_try
='test -z "$ac_cxx_werror_flag"
35070 || test ! -s conftest.err'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; } &&
35076 { ac_try
='test -s conftest$ac_exeext'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; }; then
35082 am_cv_func_iconv
=yes
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.
$ac_ext >&5
35088 rm -f conftest.err conftest.
$ac_objext \
35089 conftest
$ac_exeext conftest.
$ac_ext
35090 if test "$am_cv_func_iconv" != yes; then
35091 am_save_LIBS
="$LIBS"
35092 LIBS
="$LIBS -liconv"
35093 cat >conftest.
$ac_ext <<_ACEOF
35096 cat confdefs.h
>>conftest.
$ac_ext
35097 cat >>conftest.
$ac_ext <<_ACEOF
35098 /* end confdefs.h. */
35099 #include <stdlib.h>
35104 iconv_t cd = iconv_open("","");
35105 iconv(cd,NULL,NULL,NULL,NULL);
35111 rm -f conftest.
$ac_objext conftest
$ac_exeext
35112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35113 (eval $ac_link) 2>conftest.er1
35115 grep -v '^ *+' conftest.er1
>conftest.err
35117 cat conftest.err
>&5
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); } &&
35120 { ac_try
='test -z "$ac_cxx_werror_flag"
35121 || test ! -s conftest.err'
35122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35123 (eval $ac_try) 2>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); }; } &&
35127 { ac_try
='test -s conftest$ac_exeext'
35128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35129 (eval $ac_try) 2>&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; }; then
35133 am_cv_lib_iconv
=yes
35134 am_cv_func_iconv
=yes
35136 echo "$as_me: failed program was:" >&5
35137 sed 's/^/| /' conftest.
$ac_ext >&5
35140 rm -f conftest.err conftest.
$ac_objext \
35141 conftest
$ac_exeext conftest.
$ac_ext
35142 LIBS
="$am_save_LIBS"
35146 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35147 echo "${ECHO_T}$am_cv_func_iconv" >&6
35148 if test "$am_cv_func_iconv" = yes; then
35150 cat >>confdefs.h
<<\_ACEOF
35151 #define HAVE_ICONV 1
35154 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35155 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35156 if test "${wx_cv_func_iconv_const+set}" = set; then
35157 echo $ECHO_N "(cached) $ECHO_C" >&6
35159 cat >conftest.
$ac_ext <<_ACEOF
35162 cat confdefs.h
>>conftest.
$ac_ext
35163 cat >>conftest.
$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35166 #include <stdlib.h>
35172 #if defined(__STDC__) || defined(__cplusplus)
35173 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35186 rm -f conftest.
$ac_objext
35187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35188 (eval $ac_compile) 2>conftest.er1
35190 grep -v '^ *+' conftest.er1
>conftest.err
35192 cat conftest.err
>&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); } &&
35195 { ac_try
='test -z "$ac_cxx_werror_flag"
35196 || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try
='test -s conftest.$ac_objext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 wx_cv_func_iconv_const
="no"
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.
$ac_ext >&5
35213 wx_cv_func_iconv_const
="yes"
35216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35219 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35220 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35223 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35224 iconv_const
="const"
35228 cat >>confdefs.h
<<_ACEOF
35229 #define ICONV_CONST $iconv_const
35234 if test "$am_cv_lib_iconv" = yes; then
35239 LIBS
="$LIBICONV $LIBS"
35241 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35243 for ac_func
in sigaction
35245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35246 echo "$as_me:$LINENO: checking for $ac_func" >&5
35247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35248 if eval "test \"\${$as_ac_var+set}\" = set"; then
35249 echo $ECHO_N "(cached) $ECHO_C" >&6
35251 cat >conftest.
$ac_ext <<_ACEOF
35254 cat confdefs.h
>>conftest.
$ac_ext
35255 cat >>conftest.
$ac_ext <<_ACEOF
35256 /* end confdefs.h. */
35257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35259 #define $ac_func innocuous_$ac_func
35261 /* System header to define __stub macros and hopefully few prototypes,
35262 which can conflict with char $ac_func (); below.
35263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35264 <limits.h> exists even on freestanding compilers. */
35267 # include <limits.h>
35269 # include <assert.h>
35274 /* Override any gcc2 internal prototype to avoid an error. */
35279 /* We use char because int might match the return type of a gcc2
35280 builtin and then its argument prototype would still apply. */
35282 /* The GNU C library defines this for functions which it implements
35283 to always fail with ENOSYS. Some functions are actually named
35284 something starting with __ and the normal name is an alias. */
35285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35288 char (*f) () = $ac_func;
35297 return f != $ac_func;
35302 rm -f conftest.
$ac_objext conftest
$ac_exeext
35303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35304 (eval $ac_link) 2>conftest.er1
35306 grep -v '^ *+' conftest.er1
>conftest.err
35308 cat conftest.err
>&5
35309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35310 (exit $ac_status); } &&
35311 { ac_try
='test -z "$ac_cxx_werror_flag"
35312 || test ! -s conftest.err'
35313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35314 (eval $ac_try) 2>&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); }; } &&
35318 { ac_try
='test -s conftest$ac_exeext'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; }; then
35324 eval "$as_ac_var=yes"
35326 echo "$as_me: failed program was:" >&5
35327 sed 's/^/| /' conftest.
$ac_ext >&5
35329 eval "$as_ac_var=no"
35331 rm -f conftest.err conftest.
$ac_objext \
35332 conftest
$ac_exeext conftest.
$ac_ext
35334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35336 if test `eval echo '${'$as_ac_var'}'` = yes; then
35337 cat >>confdefs.h
<<_ACEOF
35338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35345 if test "$ac_cv_func_sigaction" = "no"; then
35346 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35347 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35348 wxUSE_ON_FATAL_EXCEPTION
=no
35351 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35352 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35353 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35354 if test "${wx_cv_type_sa_handler+set}" = set; then
35355 echo $ECHO_N "(cached) $ECHO_C" >&6
35358 cat >conftest.
$ac_ext <<_ACEOF
35361 cat confdefs.h
>>conftest.
$ac_ext
35362 cat >>conftest.
$ac_ext <<_ACEOF
35363 /* end confdefs.h. */
35364 #include <signal.h>
35369 extern void testSigHandler(int);
35371 struct sigaction sa;
35372 sa.sa_handler = testSigHandler;
35378 rm -f conftest.
$ac_objext
35379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35380 (eval $ac_compile) 2>conftest.er1
35382 grep -v '^ *+' conftest.er1
>conftest.err
35384 cat conftest.err
>&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); } &&
35387 { ac_try
='test -z "$ac_cxx_werror_flag"
35388 || test ! -s conftest.err'
35389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390 (eval $ac_try) 2>&5
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); }; } &&
35394 { ac_try
='test -s conftest.$ac_objext'
35395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 (eval $ac_try) 2>&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); }; }; then
35401 wx_cv_type_sa_handler
=int
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.
$ac_ext >&5
35408 wx_cv_type_sa_handler
=void
35411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35414 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35415 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35417 cat >>confdefs.h
<<_ACEOF
35418 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35424 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35425 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35426 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35427 if test "${wx_cv_func_backtrace+set}" = set; then
35428 echo $ECHO_N "(cached) $ECHO_C" >&6
35431 cat >conftest.
$ac_ext <<_ACEOF
35434 cat confdefs.h
>>conftest.
$ac_ext
35435 cat >>conftest.
$ac_ext <<_ACEOF
35436 /* end confdefs.h. */
35437 #include <execinfo.h>
35445 backtrace(trace, 1);
35446 messages = backtrace_symbols(trace, 1);
35452 rm -f conftest.
$ac_objext
35453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35454 (eval $ac_compile) 2>conftest.er1
35456 grep -v '^ *+' conftest.er1
>conftest.err
35458 cat conftest.err
>&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); } &&
35461 { ac_try
='test -z "$ac_cxx_werror_flag"
35462 || test ! -s conftest.err'
35463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35464 (eval $ac_try) 2>&5
35466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35467 (exit $ac_status); }; } &&
35468 { ac_try
='test -s conftest.$ac_objext'
35469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35470 (eval $ac_try) 2>&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); }; }; then
35474 wx_cv_func_backtrace
=yes
35476 echo "$as_me: failed program was:" >&5
35477 sed 's/^/| /' conftest.
$ac_ext >&5
35479 wx_cv_func_backtrace
=no
35482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35486 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35487 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35490 if test "$wx_cv_func_backtrace" = "no"; then
35491 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35492 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35493 wxUSE_STACKWALKER
=no
35495 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35496 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35497 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35498 echo $ECHO_N "(cached) $ECHO_C" >&6
35501 cat >conftest.
$ac_ext <<_ACEOF
35504 cat confdefs.h
>>conftest.
$ac_ext
35505 cat >>conftest.
$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35507 #include <cxxabi.h>
35513 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35519 rm -f conftest.
$ac_objext conftest
$ac_exeext
35520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35521 (eval $ac_link) 2>conftest.er1
35523 grep -v '^ *+' conftest.er1
>conftest.err
35525 cat conftest.err
>&5
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); } &&
35528 { ac_try
='test -z "$ac_cxx_werror_flag"
35529 || test ! -s conftest.err'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; } &&
35535 { ac_try
='test -s conftest$ac_exeext'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; }; then
35541 wx_cv_func_cxa_demangle
=yes
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.
$ac_ext >&5
35546 wx_cv_func_cxa_demangle
=no
35549 rm -f conftest.err conftest.
$ac_objext \
35550 conftest
$ac_exeext conftest.
$ac_ext
35554 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35555 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35557 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35558 cat >>confdefs.h
<<\_ACEOF
35559 #define HAVE_CXA_DEMANGLE 1
35566 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35567 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35568 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35569 wxUSE_STACKWALKER
=no
35575 for ac_func
in mkstemp mktemp
35577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35578 echo "$as_me:$LINENO: checking for $ac_func" >&5
35579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35580 if eval "test \"\${$as_ac_var+set}\" = set"; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35583 cat >conftest.
$ac_ext <<_ACEOF
35586 cat confdefs.h
>>conftest.
$ac_ext
35587 cat >>conftest.
$ac_ext <<_ACEOF
35588 /* end confdefs.h. */
35589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35591 #define $ac_func innocuous_$ac_func
35593 /* System header to define __stub macros and hopefully few prototypes,
35594 which can conflict with char $ac_func (); below.
35595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35596 <limits.h> exists even on freestanding compilers. */
35599 # include <limits.h>
35601 # include <assert.h>
35606 /* Override any gcc2 internal prototype to avoid an error. */
35611 /* We use char because int might match the return type of a gcc2
35612 builtin and then its argument prototype would still apply. */
35614 /* The GNU C library defines this for functions which it implements
35615 to always fail with ENOSYS. Some functions are actually named
35616 something starting with __ and the normal name is an alias. */
35617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35620 char (*f) () = $ac_func;
35629 return f != $ac_func;
35634 rm -f conftest.
$ac_objext conftest
$ac_exeext
35635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35636 (eval $ac_link) 2>conftest.er1
35638 grep -v '^ *+' conftest.er1
>conftest.err
35640 cat conftest.err
>&5
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); } &&
35643 { ac_try
='test -z "$ac_cxx_werror_flag"
35644 || test ! -s conftest.err'
35645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35646 (eval $ac_try) 2>&5
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); }; } &&
35650 { ac_try
='test -s conftest$ac_exeext'
35651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35652 (eval $ac_try) 2>&5
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); }; }; then
35656 eval "$as_ac_var=yes"
35658 echo "$as_me: failed program was:" >&5
35659 sed 's/^/| /' conftest.
$ac_ext >&5
35661 eval "$as_ac_var=no"
35663 rm -f conftest.err conftest.
$ac_objext \
35664 conftest
$ac_exeext conftest.
$ac_ext
35666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35668 if test `eval echo '${'$as_ac_var'}'` = yes; then
35669 cat >>confdefs.h
<<_ACEOF
35670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35677 echo "$as_me:$LINENO: checking for statfs" >&5
35678 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35679 if test "${wx_cv_func_statfs+set}" = set; then
35680 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 cat >conftest.
$ac_ext <<_ACEOF
35685 cat confdefs.h
>>conftest.
$ac_ext
35686 cat >>conftest.
$ac_ext <<_ACEOF
35687 /* end confdefs.h. */
35689 #if defined(__BSD__)
35690 #include <sys/param.h>
35691 #include <sys/mount.h>
35693 #include <sys/vfs.h>
35711 rm -f conftest.
$ac_objext
35712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35713 (eval $ac_compile) 2>conftest.er1
35715 grep -v '^ *+' conftest.er1
>conftest.err
35717 cat conftest.err
>&5
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); } &&
35720 { ac_try
='test -z "$ac_cxx_werror_flag"
35721 || test ! -s conftest.err'
35722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35723 (eval $ac_try) 2>&5
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); }; } &&
35727 { ac_try
='test -s conftest.$ac_objext'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; }; then
35733 wx_cv_func_statfs
=yes
35735 echo "$as_me: failed program was:" >&5
35736 sed 's/^/| /' conftest.
$ac_ext >&5
35738 wx_cv_func_statfs
=no
35741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35744 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35745 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35747 if test "$wx_cv_func_statfs" = "yes"; then
35748 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35749 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35750 if test "${wx_cv_func_statfs_decl+set}" = set; then
35751 echo $ECHO_N "(cached) $ECHO_C" >&6
35753 cat >conftest.
$ac_ext <<_ACEOF
35756 cat confdefs.h
>>conftest.
$ac_ext
35757 cat >>conftest.
$ac_ext <<_ACEOF
35758 /* end confdefs.h. */
35760 #if defined(__BSD__)
35761 #include <sys/param.h>
35762 #include <sys/mount.h>
35764 #include <sys/vfs.h>
35778 rm -f conftest.
$ac_objext
35779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35780 (eval $ac_compile) 2>conftest.er1
35782 grep -v '^ *+' conftest.er1
>conftest.err
35784 cat conftest.err
>&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } &&
35787 { ac_try
='test -z "$ac_cxx_werror_flag"
35788 || test ! -s conftest.err'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; } &&
35794 { ac_try
='test -s conftest.$ac_objext'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }; then
35800 wx_cv_func_statfs_decl
=yes
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.
$ac_ext >&5
35805 wx_cv_func_statfs_decl
=no
35808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35811 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35812 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35814 if test "$wx_cv_func_statfs_decl" = "yes"; then
35815 cat >>confdefs.h
<<\_ACEOF
35816 #define HAVE_STATFS_DECL 1
35821 wx_cv_type_statvfs_t
="struct statfs"
35822 cat >>confdefs.h
<<\_ACEOF
35823 #define HAVE_STATFS 1
35827 echo "$as_me:$LINENO: checking for statvfs" >&5
35828 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35829 if test "${wx_cv_func_statvfs+set}" = set; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 cat >conftest.
$ac_ext <<_ACEOF
35835 cat confdefs.h
>>conftest.
$ac_ext
35836 cat >>conftest.
$ac_ext <<_ACEOF
35837 /* end confdefs.h. */
35839 #include <stddef.h>
35840 #include <sys/statvfs.h>
35846 statvfs("/", NULL);
35852 rm -f conftest.
$ac_objext
35853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35854 (eval $ac_compile) 2>conftest.er1
35856 grep -v '^ *+' conftest.er1
>conftest.err
35858 cat conftest.err
>&5
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); } &&
35861 { ac_try
='test -z "$ac_cxx_werror_flag"
35862 || test ! -s conftest.err'
35863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35864 (eval $ac_try) 2>&5
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); }; } &&
35868 { ac_try
='test -s conftest.$ac_objext'
35869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870 (eval $ac_try) 2>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); }; }; then
35874 wx_cv_func_statvfs
=yes
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.
$ac_ext >&5
35879 wx_cv_func_statvfs
=no
35882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35885 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35886 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35888 if test "$wx_cv_func_statvfs" = "yes"; then
35889 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35890 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35891 if test "${wx_cv_type_statvfs_t+set}" = set; then
35892 echo $ECHO_N "(cached) $ECHO_C" >&6
35894 cat >conftest.
$ac_ext <<_ACEOF
35897 cat confdefs.h
>>conftest.
$ac_ext
35898 cat >>conftest.
$ac_ext <<_ACEOF
35899 /* end confdefs.h. */
35901 #include <sys/statvfs.h>
35918 rm -f conftest.
$ac_objext
35919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35920 (eval $ac_compile) 2>conftest.er1
35922 grep -v '^ *+' conftest.er1
>conftest.err
35924 cat conftest.err
>&5
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); } &&
35927 { ac_try
='test -z "$ac_cxx_werror_flag"
35928 || test ! -s conftest.err'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; } &&
35934 { ac_try
='test -s conftest.$ac_objext'
35935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35936 (eval $ac_try) 2>&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); }; }; then
35940 wx_cv_type_statvfs_t
=statvfs_t
35942 echo "$as_me: failed program was:" >&5
35943 sed 's/^/| /' conftest.
$ac_ext >&5
35946 cat >conftest.
$ac_ext <<_ACEOF
35949 cat confdefs.h
>>conftest.
$ac_ext
35950 cat >>conftest.
$ac_ext <<_ACEOF
35951 /* end confdefs.h. */
35953 #include <sys/statvfs.h>
35970 rm -f conftest.
$ac_objext
35971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35972 (eval $ac_compile) 2>conftest.er1
35974 grep -v '^ *+' conftest.er1
>conftest.err
35976 cat conftest.err
>&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } &&
35979 { ac_try
='test -z "$ac_cxx_werror_flag"
35980 || test ! -s conftest.err'
35981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35982 (eval $ac_try) 2>&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; } &&
35986 { ac_try
='test -s conftest.$ac_objext'
35987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35988 (eval $ac_try) 2>&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); }; }; then
35992 wx_cv_type_statvfs_t
="struct statvfs"
35994 echo "$as_me: failed program was:" >&5
35995 sed 's/^/| /' conftest.
$ac_ext >&5
35997 wx_cv_type_statvfs_t
="unknown"
36000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36007 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36008 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36010 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36011 cat >>confdefs.h
<<\_ACEOF
36012 #define HAVE_STATVFS 1
36017 wx_cv_type_statvfs_t
="unknown"
36021 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36022 cat >>confdefs.h
<<_ACEOF
36023 #define WX_STATFS_T $wx_cv_type_statvfs_t
36027 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36028 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36031 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36034 for ac_func
in fcntl flock
36036 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36037 echo "$as_me:$LINENO: checking for $ac_func" >&5
36038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36039 if eval "test \"\${$as_ac_var+set}\" = set"; then
36040 echo $ECHO_N "(cached) $ECHO_C" >&6
36042 cat >conftest.
$ac_ext <<_ACEOF
36045 cat confdefs.h
>>conftest.
$ac_ext
36046 cat >>conftest.
$ac_ext <<_ACEOF
36047 /* end confdefs.h. */
36048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36050 #define $ac_func innocuous_$ac_func
36052 /* System header to define __stub macros and hopefully few prototypes,
36053 which can conflict with char $ac_func (); below.
36054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36055 <limits.h> exists even on freestanding compilers. */
36058 # include <limits.h>
36060 # include <assert.h>
36065 /* Override any gcc2 internal prototype to avoid an error. */
36070 /* We use char because int might match the return type of a gcc2
36071 builtin and then its argument prototype would still apply. */
36073 /* The GNU C library defines this for functions which it implements
36074 to always fail with ENOSYS. Some functions are actually named
36075 something starting with __ and the normal name is an alias. */
36076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36079 char (*f) () = $ac_func;
36088 return f != $ac_func;
36093 rm -f conftest.
$ac_objext conftest
$ac_exeext
36094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36095 (eval $ac_link) 2>conftest.er1
36097 grep -v '^ *+' conftest.er1
>conftest.err
36099 cat conftest.err
>&5
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); } &&
36102 { ac_try
='test -z "$ac_cxx_werror_flag"
36103 || test ! -s conftest.err'
36104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36105 (eval $ac_try) 2>&5
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); }; } &&
36109 { ac_try
='test -s conftest$ac_exeext'
36110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36111 (eval $ac_try) 2>&5
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); }; }; then
36115 eval "$as_ac_var=yes"
36117 echo "$as_me: failed program was:" >&5
36118 sed 's/^/| /' conftest.
$ac_ext >&5
36120 eval "$as_ac_var=no"
36122 rm -f conftest.err conftest.
$ac_objext \
36123 conftest
$ac_exeext conftest.
$ac_ext
36125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36127 if test `eval echo '${'$as_ac_var'}'` = yes; then
36128 cat >>confdefs.h
<<_ACEOF
36129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36136 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36137 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36138 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36139 wxUSE_SNGLINST_CHECKER
=no
36144 for ac_func
in timegm
36146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36147 echo "$as_me:$LINENO: checking for $ac_func" >&5
36148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36149 if eval "test \"\${$as_ac_var+set}\" = set"; then
36150 echo $ECHO_N "(cached) $ECHO_C" >&6
36152 cat >conftest.
$ac_ext <<_ACEOF
36155 cat confdefs.h
>>conftest.
$ac_ext
36156 cat >>conftest.
$ac_ext <<_ACEOF
36157 /* end confdefs.h. */
36158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36160 #define $ac_func innocuous_$ac_func
36162 /* System header to define __stub macros and hopefully few prototypes,
36163 which can conflict with char $ac_func (); below.
36164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36165 <limits.h> exists even on freestanding compilers. */
36168 # include <limits.h>
36170 # include <assert.h>
36175 /* Override any gcc2 internal prototype to avoid an error. */
36180 /* We use char because int might match the return type of a gcc2
36181 builtin and then its argument prototype would still apply. */
36183 /* The GNU C library defines this for functions which it implements
36184 to always fail with ENOSYS. Some functions are actually named
36185 something starting with __ and the normal name is an alias. */
36186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36189 char (*f) () = $ac_func;
36198 return f != $ac_func;
36203 rm -f conftest.
$ac_objext conftest
$ac_exeext
36204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36205 (eval $ac_link) 2>conftest.er1
36207 grep -v '^ *+' conftest.er1
>conftest.err
36209 cat conftest.err
>&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } &&
36212 { ac_try
='test -z "$ac_cxx_werror_flag"
36213 || test ! -s conftest.err'
36214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36215 (eval $ac_try) 2>&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); }; } &&
36219 { ac_try
='test -s conftest$ac_exeext'
36220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36221 (eval $ac_try) 2>&5
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); }; }; then
36225 eval "$as_ac_var=yes"
36227 echo "$as_me: failed program was:" >&5
36228 sed 's/^/| /' conftest.
$ac_ext >&5
36230 eval "$as_ac_var=no"
36232 rm -f conftest.err conftest.
$ac_objext \
36233 conftest
$ac_exeext conftest.
$ac_ext
36235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36237 if test `eval echo '${'$as_ac_var'}'` = yes; then
36238 cat >>confdefs.h
<<_ACEOF
36239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36248 for ac_func
in putenv setenv
36250 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36251 echo "$as_me:$LINENO: checking for $ac_func" >&5
36252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36253 if eval "test \"\${$as_ac_var+set}\" = set"; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36256 cat >conftest.
$ac_ext <<_ACEOF
36259 cat confdefs.h
>>conftest.
$ac_ext
36260 cat >>conftest.
$ac_ext <<_ACEOF
36261 /* end confdefs.h. */
36262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36264 #define $ac_func innocuous_$ac_func
36266 /* System header to define __stub macros and hopefully few prototypes,
36267 which can conflict with char $ac_func (); below.
36268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36269 <limits.h> exists even on freestanding compilers. */
36272 # include <limits.h>
36274 # include <assert.h>
36279 /* Override any gcc2 internal prototype to avoid an error. */
36284 /* We use char because int might match the return type of a gcc2
36285 builtin and then its argument prototype would still apply. */
36287 /* The GNU C library defines this for functions which it implements
36288 to always fail with ENOSYS. Some functions are actually named
36289 something starting with __ and the normal name is an alias. */
36290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36293 char (*f) () = $ac_func;
36302 return f != $ac_func;
36307 rm -f conftest.
$ac_objext conftest
$ac_exeext
36308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36309 (eval $ac_link) 2>conftest.er1
36311 grep -v '^ *+' conftest.er1
>conftest.err
36313 cat conftest.err
>&5
36314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315 (exit $ac_status); } &&
36316 { ac_try
='test -z "$ac_cxx_werror_flag"
36317 || test ! -s conftest.err'
36318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36319 (eval $ac_try) 2>&5
36321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36322 (exit $ac_status); }; } &&
36323 { ac_try
='test -s conftest$ac_exeext'
36324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36325 (eval $ac_try) 2>&5
36327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36328 (exit $ac_status); }; }; then
36329 eval "$as_ac_var=yes"
36331 echo "$as_me: failed program was:" >&5
36332 sed 's/^/| /' conftest.
$ac_ext >&5
36334 eval "$as_ac_var=no"
36336 rm -f conftest.err conftest.
$ac_objext \
36337 conftest
$ac_exeext conftest.
$ac_ext
36339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36341 if test `eval echo '${'$as_ac_var'}'` = yes; then
36342 cat >>confdefs.h
<<_ACEOF
36343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36350 HAVE_SOME_SLEEP_FUNC
=0
36351 if test "$USE_BEOS" = 1; then
36352 cat >>confdefs.h
<<\_ACEOF
36353 #define HAVE_SLEEP 1
36356 HAVE_SOME_SLEEP_FUNC
=1
36359 if test "$USE_DARWIN" = 1; then
36360 cat >>confdefs.h
<<\_ACEOF
36361 #define HAVE_USLEEP 1
36364 HAVE_SOME_SLEEP_FUNC
=1
36367 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36370 for ac_func
in nanosleep
36372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36373 echo "$as_me:$LINENO: checking for $ac_func" >&5
36374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36375 if eval "test \"\${$as_ac_var+set}\" = set"; then
36376 echo $ECHO_N "(cached) $ECHO_C" >&6
36378 cat >conftest.
$ac_ext <<_ACEOF
36381 cat confdefs.h
>>conftest.
$ac_ext
36382 cat >>conftest.
$ac_ext <<_ACEOF
36383 /* end confdefs.h. */
36384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36386 #define $ac_func innocuous_$ac_func
36388 /* System header to define __stub macros and hopefully few prototypes,
36389 which can conflict with char $ac_func (); below.
36390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36391 <limits.h> exists even on freestanding compilers. */
36394 # include <limits.h>
36396 # include <assert.h>
36401 /* Override any gcc2 internal prototype to avoid an error. */
36406 /* We use char because int might match the return type of a gcc2
36407 builtin and then its argument prototype would still apply. */
36409 /* The GNU C library defines this for functions which it implements
36410 to always fail with ENOSYS. Some functions are actually named
36411 something starting with __ and the normal name is an alias. */
36412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36415 char (*f) () = $ac_func;
36424 return f != $ac_func;
36429 rm -f conftest.
$ac_objext conftest
$ac_exeext
36430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36431 (eval $ac_link) 2>conftest.er1
36433 grep -v '^ *+' conftest.er1
>conftest.err
36435 cat conftest.err
>&5
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); } &&
36438 { ac_try
='test -z "$ac_cxx_werror_flag"
36439 || test ! -s conftest.err'
36440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36441 (eval $ac_try) 2>&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); }; } &&
36445 { ac_try
='test -s conftest$ac_exeext'
36446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36447 (eval $ac_try) 2>&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); }; }; then
36451 eval "$as_ac_var=yes"
36453 echo "$as_me: failed program was:" >&5
36454 sed 's/^/| /' conftest.
$ac_ext >&5
36456 eval "$as_ac_var=no"
36458 rm -f conftest.err conftest.
$ac_objext \
36459 conftest
$ac_exeext conftest.
$ac_ext
36461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36463 if test `eval echo '${'$as_ac_var'}'` = yes; then
36464 cat >>confdefs.h
<<_ACEOF
36465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36467 cat >>confdefs.h
<<\_ACEOF
36468 #define HAVE_NANOSLEEP 1
36473 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36474 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36475 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36478 ac_check_lib_save_LIBS
=$LIBS
36479 LIBS
="-lposix4 $LIBS"
36480 cat >conftest.
$ac_ext <<_ACEOF
36483 cat confdefs.h
>>conftest.
$ac_ext
36484 cat >>conftest.
$ac_ext <<_ACEOF
36485 /* end confdefs.h. */
36487 /* Override any gcc2 internal prototype to avoid an error. */
36491 /* We use char because int might match the return type of a gcc2
36492 builtin and then its argument prototype would still apply. */
36502 rm -f conftest.
$ac_objext conftest
$ac_exeext
36503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36504 (eval $ac_link) 2>conftest.er1
36506 grep -v '^ *+' conftest.er1
>conftest.err
36508 cat conftest.err
>&5
36509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510 (exit $ac_status); } &&
36511 { ac_try
='test -z "$ac_cxx_werror_flag"
36512 || test ! -s conftest.err'
36513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36514 (eval $ac_try) 2>&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); }; } &&
36518 { ac_try
='test -s conftest$ac_exeext'
36519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36520 (eval $ac_try) 2>&5
36522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36523 (exit $ac_status); }; }; then
36524 ac_cv_lib_posix4_nanosleep
=yes
36526 echo "$as_me: failed program was:" >&5
36527 sed 's/^/| /' conftest.
$ac_ext >&5
36529 ac_cv_lib_posix4_nanosleep
=no
36531 rm -f conftest.err conftest.
$ac_objext \
36532 conftest
$ac_exeext conftest.
$ac_ext
36533 LIBS
=$ac_check_lib_save_LIBS
36535 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36536 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36537 if test $ac_cv_lib_posix4_nanosleep = yes; then
36539 cat >>confdefs.h
<<\_ACEOF
36540 #define HAVE_NANOSLEEP 1
36543 POSIX4_LINK
=" -lposix4"
36548 for ac_func
in usleep
36550 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36551 echo "$as_me:$LINENO: checking for $ac_func" >&5
36552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36553 if eval "test \"\${$as_ac_var+set}\" = set"; then
36554 echo $ECHO_N "(cached) $ECHO_C" >&6
36556 cat >conftest.
$ac_ext <<_ACEOF
36559 cat confdefs.h
>>conftest.
$ac_ext
36560 cat >>conftest.
$ac_ext <<_ACEOF
36561 /* end confdefs.h. */
36562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36564 #define $ac_func innocuous_$ac_func
36566 /* System header to define __stub macros and hopefully few prototypes,
36567 which can conflict with char $ac_func (); below.
36568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36569 <limits.h> exists even on freestanding compilers. */
36572 # include <limits.h>
36574 # include <assert.h>
36579 /* Override any gcc2 internal prototype to avoid an error. */
36584 /* We use char because int might match the return type of a gcc2
36585 builtin and then its argument prototype would still apply. */
36587 /* The GNU C library defines this for functions which it implements
36588 to always fail with ENOSYS. Some functions are actually named
36589 something starting with __ and the normal name is an alias. */
36590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36593 char (*f) () = $ac_func;
36602 return f != $ac_func;
36607 rm -f conftest.
$ac_objext conftest
$ac_exeext
36608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36609 (eval $ac_link) 2>conftest.er1
36611 grep -v '^ *+' conftest.er1
>conftest.err
36613 cat conftest.err
>&5
36614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36615 (exit $ac_status); } &&
36616 { ac_try
='test -z "$ac_cxx_werror_flag"
36617 || test ! -s conftest.err'
36618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36619 (eval $ac_try) 2>&5
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); }; } &&
36623 { ac_try
='test -s conftest$ac_exeext'
36624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36625 (eval $ac_try) 2>&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); }; }; then
36629 eval "$as_ac_var=yes"
36631 echo "$as_me: failed program was:" >&5
36632 sed 's/^/| /' conftest.
$ac_ext >&5
36634 eval "$as_ac_var=no"
36636 rm -f conftest.err conftest.
$ac_objext \
36637 conftest
$ac_exeext conftest.
$ac_ext
36639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36641 if test `eval echo '${'$as_ac_var'}'` = yes; then
36642 cat >>confdefs.h
<<_ACEOF
36643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36645 cat >>confdefs.h
<<\_ACEOF
36646 #define HAVE_USLEEP 1
36650 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36651 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36669 for ac_func
in uname gethostname
36671 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36672 echo "$as_me:$LINENO: checking for $ac_func" >&5
36673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36674 if eval "test \"\${$as_ac_var+set}\" = set"; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 cat >conftest.
$ac_ext <<_ACEOF
36680 cat confdefs.h
>>conftest.
$ac_ext
36681 cat >>conftest.
$ac_ext <<_ACEOF
36682 /* end confdefs.h. */
36683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36685 #define $ac_func innocuous_$ac_func
36687 /* System header to define __stub macros and hopefully few prototypes,
36688 which can conflict with char $ac_func (); below.
36689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36690 <limits.h> exists even on freestanding compilers. */
36693 # include <limits.h>
36695 # include <assert.h>
36700 /* Override any gcc2 internal prototype to avoid an error. */
36705 /* We use char because int might match the return type of a gcc2
36706 builtin and then its argument prototype would still apply. */
36708 /* The GNU C library defines this for functions which it implements
36709 to always fail with ENOSYS. Some functions are actually named
36710 something starting with __ and the normal name is an alias. */
36711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36714 char (*f) () = $ac_func;
36723 return f != $ac_func;
36728 rm -f conftest.
$ac_objext conftest
$ac_exeext
36729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36730 (eval $ac_link) 2>conftest.er1
36732 grep -v '^ *+' conftest.er1
>conftest.err
36734 cat conftest.err
>&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); } &&
36737 { ac_try
='test -z "$ac_cxx_werror_flag"
36738 || test ! -s conftest.err'
36739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36740 (eval $ac_try) 2>&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); }; } &&
36744 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
36750 eval "$as_ac_var=yes"
36752 echo "$as_me: failed program was:" >&5
36753 sed 's/^/| /' conftest.
$ac_ext >&5
36755 eval "$as_ac_var=no"
36757 rm -f conftest.err conftest.
$ac_objext \
36758 conftest
$ac_exeext conftest.
$ac_ext
36760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36762 if test `eval echo '${'$as_ac_var'}'` = yes; then
36763 cat >>confdefs.h
<<_ACEOF
36764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36772 for ac_func
in strtok_r
36774 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36775 echo "$as_me:$LINENO: checking for $ac_func" >&5
36776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36777 if eval "test \"\${$as_ac_var+set}\" = set"; then
36778 echo $ECHO_N "(cached) $ECHO_C" >&6
36780 cat >conftest.
$ac_ext <<_ACEOF
36783 cat confdefs.h
>>conftest.
$ac_ext
36784 cat >>conftest.
$ac_ext <<_ACEOF
36785 /* end confdefs.h. */
36786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36788 #define $ac_func innocuous_$ac_func
36790 /* System header to define __stub macros and hopefully few prototypes,
36791 which can conflict with char $ac_func (); below.
36792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36793 <limits.h> exists even on freestanding compilers. */
36796 # include <limits.h>
36798 # include <assert.h>
36803 /* Override any gcc2 internal prototype to avoid an error. */
36808 /* We use char because int might match the return type of a gcc2
36809 builtin and then its argument prototype would still apply. */
36811 /* The GNU C library defines this for functions which it implements
36812 to always fail with ENOSYS. Some functions are actually named
36813 something starting with __ and the normal name is an alias. */
36814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36817 char (*f) () = $ac_func;
36826 return f != $ac_func;
36831 rm -f conftest.
$ac_objext conftest
$ac_exeext
36832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36833 (eval $ac_link) 2>conftest.er1
36835 grep -v '^ *+' conftest.er1
>conftest.err
36837 cat conftest.err
>&5
36838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36839 (exit $ac_status); } &&
36840 { ac_try
='test -z "$ac_cxx_werror_flag"
36841 || test ! -s conftest.err'
36842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36843 (eval $ac_try) 2>&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); }; } &&
36847 { ac_try
='test -s conftest$ac_exeext'
36848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36849 (eval $ac_try) 2>&5
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 (exit $ac_status); }; }; then
36853 eval "$as_ac_var=yes"
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.
$ac_ext >&5
36858 eval "$as_ac_var=no"
36860 rm -f conftest.err conftest.
$ac_objext \
36861 conftest
$ac_exeext conftest.
$ac_ext
36863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36865 if test `eval echo '${'$as_ac_var'}'` = yes; then
36866 cat >>confdefs.h
<<_ACEOF
36867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36876 for ac_func
in inet_addr
36878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36879 echo "$as_me:$LINENO: checking for $ac_func" >&5
36880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36881 if eval "test \"\${$as_ac_var+set}\" = set"; then
36882 echo $ECHO_N "(cached) $ECHO_C" >&6
36884 cat >conftest.
$ac_ext <<_ACEOF
36887 cat confdefs.h
>>conftest.
$ac_ext
36888 cat >>conftest.
$ac_ext <<_ACEOF
36889 /* end confdefs.h. */
36890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36892 #define $ac_func innocuous_$ac_func
36894 /* System header to define __stub macros and hopefully few prototypes,
36895 which can conflict with char $ac_func (); below.
36896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36897 <limits.h> exists even on freestanding compilers. */
36900 # include <limits.h>
36902 # include <assert.h>
36907 /* Override any gcc2 internal prototype to avoid an error. */
36912 /* We use char because int might match the return type of a gcc2
36913 builtin and then its argument prototype would still apply. */
36915 /* The GNU C library defines this for functions which it implements
36916 to always fail with ENOSYS. Some functions are actually named
36917 something starting with __ and the normal name is an alias. */
36918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36921 char (*f) () = $ac_func;
36930 return f != $ac_func;
36935 rm -f conftest.
$ac_objext conftest
$ac_exeext
36936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36937 (eval $ac_link) 2>conftest.er1
36939 grep -v '^ *+' conftest.er1
>conftest.err
36941 cat conftest.err
>&5
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); } &&
36944 { ac_try
='test -z "$ac_cxx_werror_flag"
36945 || test ! -s conftest.err'
36946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36947 (eval $ac_try) 2>&5
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); }; } &&
36951 { ac_try
='test -s conftest$ac_exeext'
36952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36953 (eval $ac_try) 2>&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); }; }; then
36957 eval "$as_ac_var=yes"
36959 echo "$as_me: failed program was:" >&5
36960 sed 's/^/| /' conftest.
$ac_ext >&5
36962 eval "$as_ac_var=no"
36964 rm -f conftest.err conftest.
$ac_objext \
36965 conftest
$ac_exeext conftest.
$ac_ext
36967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36969 if test `eval echo '${'$as_ac_var'}'` = yes; then
36970 cat >>confdefs.h
<<_ACEOF
36971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36973 cat >>confdefs.h
<<\_ACEOF
36974 #define HAVE_INET_ADDR 1
36979 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36980 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36981 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36982 echo $ECHO_N "(cached) $ECHO_C" >&6
36984 ac_check_lib_save_LIBS
=$LIBS
36986 cat >conftest.
$ac_ext <<_ACEOF
36989 cat confdefs.h
>>conftest.
$ac_ext
36990 cat >>conftest.
$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36993 /* Override any gcc2 internal prototype to avoid an error. */
36997 /* We use char because int might match the return type of a gcc2
36998 builtin and then its argument prototype would still apply. */
37008 rm -f conftest.
$ac_objext conftest
$ac_exeext
37009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37010 (eval $ac_link) 2>conftest.er1
37012 grep -v '^ *+' conftest.er1
>conftest.err
37014 cat conftest.err
>&5
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); } &&
37017 { ac_try
='test -z "$ac_cxx_werror_flag"
37018 || test ! -s conftest.err'
37019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37020 (eval $ac_try) 2>&5
37022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023 (exit $ac_status); }; } &&
37024 { ac_try
='test -s conftest$ac_exeext'
37025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37026 (eval $ac_try) 2>&5
37028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37029 (exit $ac_status); }; }; then
37030 ac_cv_lib_nsl_inet_addr
=yes
37032 echo "$as_me: failed program was:" >&5
37033 sed 's/^/| /' conftest.
$ac_ext >&5
37035 ac_cv_lib_nsl_inet_addr
=no
37037 rm -f conftest.err conftest.
$ac_objext \
37038 conftest
$ac_exeext conftest.
$ac_ext
37039 LIBS
=$ac_check_lib_save_LIBS
37041 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37042 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37043 if test $ac_cv_lib_nsl_inet_addr = yes; then
37047 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37048 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37049 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37050 echo $ECHO_N "(cached) $ECHO_C" >&6
37052 ac_check_lib_save_LIBS
=$LIBS
37053 LIBS
="-lresolv $LIBS"
37054 cat >conftest.
$ac_ext <<_ACEOF
37057 cat confdefs.h
>>conftest.
$ac_ext
37058 cat >>conftest.
$ac_ext <<_ACEOF
37059 /* end confdefs.h. */
37061 /* Override any gcc2 internal prototype to avoid an error. */
37065 /* We use char because int might match the return type of a gcc2
37066 builtin and then its argument prototype would still apply. */
37076 rm -f conftest.
$ac_objext conftest
$ac_exeext
37077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37078 (eval $ac_link) 2>conftest.er1
37080 grep -v '^ *+' conftest.er1
>conftest.err
37082 cat conftest.err
>&5
37083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37084 (exit $ac_status); } &&
37085 { ac_try
='test -z "$ac_cxx_werror_flag"
37086 || test ! -s conftest.err'
37087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37088 (eval $ac_try) 2>&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; } &&
37092 { ac_try
='test -s conftest$ac_exeext'
37093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37094 (eval $ac_try) 2>&5
37096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37097 (exit $ac_status); }; }; then
37098 ac_cv_lib_resolv_inet_addr
=yes
37100 echo "$as_me: failed program was:" >&5
37101 sed 's/^/| /' conftest.
$ac_ext >&5
37103 ac_cv_lib_resolv_inet_addr
=no
37105 rm -f conftest.err conftest.
$ac_objext \
37106 conftest
$ac_exeext conftest.
$ac_ext
37107 LIBS
=$ac_check_lib_save_LIBS
37109 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37110 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37111 if test $ac_cv_lib_resolv_inet_addr = yes; then
37115 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37116 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37117 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 ac_check_lib_save_LIBS
=$LIBS
37121 LIBS
="-lsocket $LIBS"
37122 cat >conftest.
$ac_ext <<_ACEOF
37125 cat confdefs.h
>>conftest.
$ac_ext
37126 cat >>conftest.
$ac_ext <<_ACEOF
37127 /* end confdefs.h. */
37129 /* Override any gcc2 internal prototype to avoid an error. */
37133 /* We use char because int might match the return type of a gcc2
37134 builtin and then its argument prototype would still apply. */
37144 rm -f conftest.
$ac_objext conftest
$ac_exeext
37145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37146 (eval $ac_link) 2>conftest.er1
37148 grep -v '^ *+' conftest.er1
>conftest.err
37150 cat conftest.err
>&5
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); } &&
37153 { ac_try
='test -z "$ac_cxx_werror_flag"
37154 || test ! -s conftest.err'
37155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37156 (eval $ac_try) 2>&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); }; } &&
37160 { ac_try
='test -s conftest$ac_exeext'
37161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37162 (eval $ac_try) 2>&5
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); }; }; then
37166 ac_cv_lib_socket_inet_addr
=yes
37168 echo "$as_me: failed program was:" >&5
37169 sed 's/^/| /' conftest.
$ac_ext >&5
37171 ac_cv_lib_socket_inet_addr
=no
37173 rm -f conftest.err conftest.
$ac_objext \
37174 conftest
$ac_exeext conftest.
$ac_ext
37175 LIBS
=$ac_check_lib_save_LIBS
37177 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37178 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37179 if test $ac_cv_lib_socket_inet_addr = yes; then
37199 for ac_func
in inet_aton
37201 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37202 echo "$as_me:$LINENO: checking for $ac_func" >&5
37203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37204 if eval "test \"\${$as_ac_var+set}\" = set"; then
37205 echo $ECHO_N "(cached) $ECHO_C" >&6
37207 cat >conftest.
$ac_ext <<_ACEOF
37210 cat confdefs.h
>>conftest.
$ac_ext
37211 cat >>conftest.
$ac_ext <<_ACEOF
37212 /* end confdefs.h. */
37213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37215 #define $ac_func innocuous_$ac_func
37217 /* System header to define __stub macros and hopefully few prototypes,
37218 which can conflict with char $ac_func (); below.
37219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37220 <limits.h> exists even on freestanding compilers. */
37223 # include <limits.h>
37225 # include <assert.h>
37230 /* Override any gcc2 internal prototype to avoid an error. */
37235 /* We use char because int might match the return type of a gcc2
37236 builtin and then its argument prototype would still apply. */
37238 /* The GNU C library defines this for functions which it implements
37239 to always fail with ENOSYS. Some functions are actually named
37240 something starting with __ and the normal name is an alias. */
37241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37244 char (*f) () = $ac_func;
37253 return f != $ac_func;
37258 rm -f conftest.
$ac_objext conftest
$ac_exeext
37259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37260 (eval $ac_link) 2>conftest.er1
37262 grep -v '^ *+' conftest.er1
>conftest.err
37264 cat conftest.err
>&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); } &&
37267 { ac_try
='test -z "$ac_cxx_werror_flag"
37268 || test ! -s conftest.err'
37269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37270 (eval $ac_try) 2>&5
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); }; } &&
37274 { ac_try
='test -s conftest$ac_exeext'
37275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37276 (eval $ac_try) 2>&5
37278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279 (exit $ac_status); }; }; then
37280 eval "$as_ac_var=yes"
37282 echo "$as_me: failed program was:" >&5
37283 sed 's/^/| /' conftest.
$ac_ext >&5
37285 eval "$as_ac_var=no"
37287 rm -f conftest.err conftest.
$ac_objext \
37288 conftest
$ac_exeext conftest.
$ac_ext
37290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37292 if test `eval echo '${'$as_ac_var'}'` = yes; then
37293 cat >>confdefs.h
<<_ACEOF
37294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37296 cat >>confdefs.h
<<\_ACEOF
37297 #define HAVE_INET_ATON 1
37302 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37303 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37304 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37305 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37306 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 ac_check_lib_save_LIBS
=$LIBS
37309 LIBS
="-l$INET_LINK $LIBS"
37310 cat >conftest.
$ac_ext <<_ACEOF
37313 cat confdefs.h
>>conftest.
$ac_ext
37314 cat >>conftest.
$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37317 /* Override any gcc2 internal prototype to avoid an error. */
37321 /* We use char because int might match the return type of a gcc2
37322 builtin and then its argument prototype would still apply. */
37332 rm -f conftest.
$ac_objext conftest
$ac_exeext
37333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37334 (eval $ac_link) 2>conftest.er1
37336 grep -v '^ *+' conftest.er1
>conftest.err
37338 cat conftest.err
>&5
37339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37340 (exit $ac_status); } &&
37341 { ac_try
='test -z "$ac_cxx_werror_flag"
37342 || test ! -s conftest.err'
37343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37344 (eval $ac_try) 2>&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); }; } &&
37348 { ac_try
='test -s conftest$ac_exeext'
37349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37350 (eval $ac_try) 2>&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); }; }; then
37354 eval "$as_ac_Lib=yes"
37356 echo "$as_me: failed program was:" >&5
37357 sed 's/^/| /' conftest.
$ac_ext >&5
37359 eval "$as_ac_Lib=no"
37361 rm -f conftest.err conftest.
$ac_objext \
37362 conftest
$ac_exeext conftest.
$ac_ext
37363 LIBS
=$ac_check_lib_save_LIBS
37365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37366 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37367 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37368 cat >>confdefs.h
<<\_ACEOF
37369 #define HAVE_INET_ATON 1
37379 if test "x$INET_LINK" != "x"; then
37380 cat >>confdefs.h
<<\_ACEOF
37381 #define HAVE_INET_ADDR 1
37384 INET_LINK
=" -l$INET_LINK"
37392 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37393 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37394 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37395 echo $ECHO_N "(cached) $ECHO_C" >&6
37397 ac_check_lib_save_LIBS
=$LIBS
37399 cat >conftest.
$ac_ext <<_ACEOF
37402 cat confdefs.h
>>conftest.
$ac_ext
37403 cat >>conftest.
$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37406 /* Override any gcc2 internal prototype to avoid an error. */
37410 /* We use char because int might match the return type of a gcc2
37411 builtin and then its argument prototype would still apply. */
37421 rm -f conftest.
$ac_objext conftest
$ac_exeext
37422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37423 (eval $ac_link) 2>conftest.er1
37425 grep -v '^ *+' conftest.er1
>conftest.err
37427 cat conftest.err
>&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); } &&
37430 { ac_try
='test -z "$ac_cxx_werror_flag"
37431 || test ! -s conftest.err'
37432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37433 (eval $ac_try) 2>&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); }; } &&
37437 { ac_try
='test -s conftest$ac_exeext'
37438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37439 (eval $ac_try) 2>&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); }; }; then
37443 ac_cv_lib_esd_esd_close
=yes
37445 echo "$as_me: failed program was:" >&5
37446 sed 's/^/| /' conftest.
$ac_ext >&5
37448 ac_cv_lib_esd_esd_close
=no
37450 rm -f conftest.err conftest.
$ac_objext \
37451 conftest
$ac_exeext conftest.
$ac_ext
37452 LIBS
=$ac_check_lib_save_LIBS
37454 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37455 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37456 if test $ac_cv_lib_esd_esd_close = yes; then
37459 for ac_header
in esd.h
37461 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37463 echo "$as_me:$LINENO: checking for $ac_header" >&5
37464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37471 # Is the header compilable?
37472 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37473 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37474 cat >conftest.
$ac_ext <<_ACEOF
37477 cat confdefs.h
>>conftest.
$ac_ext
37478 cat >>conftest.
$ac_ext <<_ACEOF
37479 /* end confdefs.h. */
37480 $ac_includes_default
37481 #include <$ac_header>
37483 rm -f conftest.
$ac_objext
37484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37485 (eval $ac_compile) 2>conftest.er1
37487 grep -v '^ *+' conftest.er1
>conftest.err
37489 cat conftest.err
>&5
37490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37491 (exit $ac_status); } &&
37492 { ac_try
='test -z "$ac_cxx_werror_flag"
37493 || test ! -s conftest.err'
37494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37495 (eval $ac_try) 2>&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); }; } &&
37499 { ac_try
='test -s conftest.$ac_objext'
37500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37501 (eval $ac_try) 2>&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); }; }; then
37505 ac_header_compiler
=yes
37507 echo "$as_me: failed program was:" >&5
37508 sed 's/^/| /' conftest.
$ac_ext >&5
37510 ac_header_compiler
=no
37512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37514 echo "${ECHO_T}$ac_header_compiler" >&6
37516 # Is the header present?
37517 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37519 cat >conftest.
$ac_ext <<_ACEOF
37522 cat confdefs.h
>>conftest.
$ac_ext
37523 cat >>conftest.
$ac_ext <<_ACEOF
37524 /* end confdefs.h. */
37525 #include <$ac_header>
37527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37530 grep -v '^ *+' conftest.er1
>conftest.err
37532 cat conftest.err
>&5
37533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37534 (exit $ac_status); } >/dev
/null
; then
37535 if test -s conftest.err
; then
37536 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37537 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37544 if test -z "$ac_cpp_err"; then
37545 ac_header_preproc
=yes
37547 echo "$as_me: failed program was:" >&5
37548 sed 's/^/| /' conftest.
$ac_ext >&5
37550 ac_header_preproc
=no
37552 rm -f conftest.err conftest.
$ac_ext
37553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37554 echo "${ECHO_T}$ac_header_preproc" >&6
37556 # So? What about this header?
37557 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37563 ac_header_preproc
=yes
37566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37580 ## ----------------------------------------- ##
37581 ## Report this to wx-dev@lists.wxwidgets.org ##
37582 ## ----------------------------------------- ##
37585 sed "s/^/$as_me: WARNING: /" >&2
37588 echo "$as_me:$LINENO: checking for $ac_header" >&5
37589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37591 echo $ECHO_N "(cached) $ECHO_C" >&6
37593 eval "$as_ac_Header=\$ac_header_preproc"
37595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37600 cat >>confdefs.h
<<_ACEOF
37601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37604 EXTRALIBS_ESD
="-lesd"
37615 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37616 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37617 cat >conftest.
$ac_ext <<_ACEOF
37620 cat confdefs.h
>>conftest.
$ac_ext
37621 cat >>conftest.
$ac_ext <<_ACEOF
37622 /* end confdefs.h. */
37624 #include <linux/cdrom.h>
37627 #include <sys/cdio.h>
37633 struct cdrom_tocentry entry, old_entry;
37638 rm -f conftest.
$ac_objext
37639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37640 (eval $ac_compile) 2>conftest.er1
37642 grep -v '^ *+' conftest.er1
>conftest.err
37644 cat conftest.err
>&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); } &&
37647 { ac_try
='test -z "$ac_cxx_werror_flag"
37648 || test ! -s conftest.err'
37649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650 (eval $ac_try) 2>&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); }; } &&
37654 { ac_try
='test -s conftest.$ac_objext'
37655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37656 (eval $ac_try) 2>&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); }; }; then
37660 echo "$as_me:$LINENO: result: yes" >&5
37661 echo "${ECHO_T}yes" >&6
37662 cat >>confdefs.h
<<\_ACEOF
37663 #define HAVE_KNOWN_CDROM_INTERFACE 1
37667 echo "$as_me: failed program was:" >&5
37668 sed 's/^/| /' conftest.
$ac_ext >&5
37670 echo "$as_me:$LINENO: result: no" >&5
37671 echo "${ECHO_T}no" >&6
37673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37676 cat >confcache
<<\_ACEOF
37677 # This file is a shell script that caches the results of configure
37678 # tests run on this system so they can be shared between configure
37679 # scripts and configure runs, see configure's option --config-cache.
37680 # It is not useful on other systems. If it contains results you don't
37681 # want to keep, you may remove or edit it.
37683 # config.status only pays attention to the cache file if you give it
37684 # the --recheck option to rerun configure.
37686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37688 # following values.
37692 # The following way of writing the cache mishandles newlines in values,
37693 # but we know of no workaround that is simple, portable, and efficient.
37694 # So, don't put newlines in cache variables' values.
37695 # Ultrix sh set writes to stderr and can't be redirected directly,
37696 # and sets the high bit in the cache file unless we assign to the vars.
37699 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37701 # `set' does not quote correctly, so add quotes (double-quote
37702 # substitution turns \\\\ into \\, and sed turns \\ into \).
37705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37708 # `set' quotes correctly as required by POSIX, so do not add quotes.
37710 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37717 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37719 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37721 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37722 if test -w $cache_file; then
37723 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37724 cat confcache
>$cache_file
37726 echo "not updating unwritable cache $cache_file"
37732 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37738 if test "$wxUSE_THREADS" = "yes" ; then
37739 if test "$USE_BEOS" = 1; then
37740 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37741 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37746 if test "$wxUSE_THREADS" = "yes" ; then
37749 THREAD_OPTS
="-pthread"
37751 *-*-solaris2* | *-*-sunos4* )
37752 if test "x$GCC" = "xyes"; then
37753 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37755 THREAD_OPTS
="-mt $THREAD_OPTS"
37759 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37761 *-*-darwin* | *-*-cygwin* )
37765 THREAD_OPTS
="pthreads"
37768 if test "x$GCC" = "xyes"; then
37769 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37777 if test "x$GCC" = "xyes"; then
37783 if test "x$GCC" != "xyes"; then
37784 THREAD_OPTS
="-Ethread"
37789 THREAD_OPTS
="$THREAD_OPTS pthread none"
37792 for flag
in $THREAD_OPTS; do
37795 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37796 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37800 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37801 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37802 THREADS_CXXFLAGS
="$flag"
37806 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37807 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37808 THREADS_LINK
="-l$flag"
37813 save_CXXFLAGS
="$CXXFLAGS"
37814 LIBS
="$THREADS_LINK $LIBS"
37815 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37817 cat >conftest.
$ac_ext <<_ACEOF
37820 cat confdefs.h
>>conftest.
$ac_ext
37821 cat >>conftest.
$ac_ext <<_ACEOF
37822 /* end confdefs.h. */
37823 #include <pthread.h>
37827 pthread_create(0,0,0,0);
37832 rm -f conftest.
$ac_objext conftest
$ac_exeext
37833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37834 (eval $ac_link) 2>conftest.er1
37836 grep -v '^ *+' conftest.er1
>conftest.err
37838 cat conftest.err
>&5
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); } &&
37841 { ac_try
='test -z "$ac_cxx_werror_flag"
37842 || test ! -s conftest.err'
37843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37844 (eval $ac_try) 2>&5
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); }; } &&
37848 { ac_try
='test -s conftest$ac_exeext'
37849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850 (eval $ac_try) 2>&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); }; }; then
37856 echo "$as_me: failed program was:" >&5
37857 sed 's/^/| /' conftest.
$ac_ext >&5
37860 rm -f conftest.err conftest.
$ac_objext \
37861 conftest
$ac_exeext conftest.
$ac_ext
37864 CXXFLAGS
="$save_CXXFLAGS"
37866 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37867 echo "${ECHO_T}$THREADS_OK" >&6
37868 if test "x$THREADS_OK" = "xyes"; then
37873 THREADS_CXXFLAGS
=""
37876 if test "x$THREADS_OK" != "xyes"; then
37878 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37879 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37881 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37882 LIBS
="$THREADS_LINK $LIBS"
37884 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37885 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37889 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37890 flag
="-D_THREAD_SAFE"
37893 flag
="-D_THREAD_SAFE"
37896 flag
="-D_REENTRANT"
37897 if test "x$GCC" != "xyes"; then
37898 flag
="$flag -D_RWSTD_MULTI_THREAD"
37901 *solaris
* | alpha
*-osf*)
37902 flag
="-D_REENTRANT"
37905 echo "$as_me:$LINENO: result: ${flag}" >&5
37906 echo "${ECHO_T}${flag}" >&6
37907 if test "x$flag" != xno
; then
37908 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
37911 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37915 if test "$wxUSE_THREADS" = "yes" ; then
37917 for ac_func
in thr_setconcurrency
37919 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37920 echo "$as_me:$LINENO: checking for $ac_func" >&5
37921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37922 if eval "test \"\${$as_ac_var+set}\" = set"; then
37923 echo $ECHO_N "(cached) $ECHO_C" >&6
37925 cat >conftest.
$ac_ext <<_ACEOF
37928 cat confdefs.h
>>conftest.
$ac_ext
37929 cat >>conftest.
$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37933 #define $ac_func innocuous_$ac_func
37935 /* System header to define __stub macros and hopefully few prototypes,
37936 which can conflict with char $ac_func (); below.
37937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37938 <limits.h> exists even on freestanding compilers. */
37941 # include <limits.h>
37943 # include <assert.h>
37948 /* Override any gcc2 internal prototype to avoid an error. */
37953 /* We use char because int might match the return type of a gcc2
37954 builtin and then its argument prototype would still apply. */
37956 /* The GNU C library defines this for functions which it implements
37957 to always fail with ENOSYS. Some functions are actually named
37958 something starting with __ and the normal name is an alias. */
37959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37962 char (*f) () = $ac_func;
37971 return f != $ac_func;
37976 rm -f conftest.
$ac_objext conftest
$ac_exeext
37977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37978 (eval $ac_link) 2>conftest.er1
37980 grep -v '^ *+' conftest.er1
>conftest.err
37982 cat conftest.err
>&5
37983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37984 (exit $ac_status); } &&
37985 { ac_try
='test -z "$ac_cxx_werror_flag"
37986 || test ! -s conftest.err'
37987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37988 (eval $ac_try) 2>&5
37990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37991 (exit $ac_status); }; } &&
37992 { ac_try
='test -s conftest$ac_exeext'
37993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37994 (eval $ac_try) 2>&5
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); }; }; then
37998 eval "$as_ac_var=yes"
38000 echo "$as_me: failed program was:" >&5
38001 sed 's/^/| /' conftest.
$ac_ext >&5
38003 eval "$as_ac_var=no"
38005 rm -f conftest.err conftest.
$ac_objext \
38006 conftest
$ac_exeext conftest.
$ac_ext
38008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38010 if test `eval echo '${'$as_ac_var'}'` = yes; then
38011 cat >>confdefs.h
<<_ACEOF
38012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38019 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38020 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38021 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38022 echo $ECHO_N "(cached) $ECHO_C" >&6
38025 cat >conftest.
$ac_ext <<_ACEOF
38028 cat confdefs.h
>>conftest.
$ac_ext
38029 cat >>conftest.
$ac_ext <<_ACEOF
38030 /* end confdefs.h. */
38031 #include <pthread.h>
38032 void ThreadCleanupFunc(void *p);
38039 pthread_cleanup_push(ThreadCleanupFunc, p);
38040 pthread_cleanup_pop(0);
38046 rm -f conftest.
$ac_objext
38047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38048 (eval $ac_compile) 2>conftest.er1
38050 grep -v '^ *+' conftest.er1
>conftest.err
38052 cat conftest.err
>&5
38053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38054 (exit $ac_status); } &&
38055 { ac_try
='test -z "$ac_cxx_werror_flag"
38056 || test ! -s conftest.err'
38057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38058 (eval $ac_try) 2>&5
38060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061 (exit $ac_status); }; } &&
38062 { ac_try
='test -s conftest.$ac_objext'
38063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38064 (eval $ac_try) 2>&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); }; }; then
38069 wx_cv_func_pthread_cleanup
=yes
38072 echo "$as_me: failed program was:" >&5
38073 sed 's/^/| /' conftest.
$ac_ext >&5
38076 wx_cv_func_pthread_cleanup
=no
38080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38083 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38084 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38085 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38086 cat >>confdefs.h
<<\_ACEOF
38087 #define wxHAVE_PTHREAD_CLEANUP 1
38093 for ac_header
in sched.h
38095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38097 echo "$as_me:$LINENO: checking for $ac_header" >&5
38098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38100 echo $ECHO_N "(cached) $ECHO_C" >&6
38102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38105 # Is the header compilable?
38106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38108 cat >conftest.
$ac_ext <<_ACEOF
38111 cat confdefs.h
>>conftest.
$ac_ext
38112 cat >>conftest.
$ac_ext <<_ACEOF
38113 /* end confdefs.h. */
38114 $ac_includes_default
38115 #include <$ac_header>
38117 rm -f conftest.
$ac_objext
38118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38119 (eval $ac_compile) 2>conftest.er1
38121 grep -v '^ *+' conftest.er1
>conftest.err
38123 cat conftest.err
>&5
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); } &&
38126 { ac_try
='test -z "$ac_cxx_werror_flag"
38127 || test ! -s conftest.err'
38128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38129 (eval $ac_try) 2>&5
38131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38132 (exit $ac_status); }; } &&
38133 { ac_try
='test -s conftest.$ac_objext'
38134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38135 (eval $ac_try) 2>&5
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); }; }; then
38139 ac_header_compiler
=yes
38141 echo "$as_me: failed program was:" >&5
38142 sed 's/^/| /' conftest.
$ac_ext >&5
38144 ac_header_compiler
=no
38146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38148 echo "${ECHO_T}$ac_header_compiler" >&6
38150 # Is the header present?
38151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38153 cat >conftest.
$ac_ext <<_ACEOF
38156 cat confdefs.h
>>conftest.
$ac_ext
38157 cat >>conftest.
$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38159 #include <$ac_header>
38161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38164 grep -v '^ *+' conftest.er1
>conftest.err
38166 cat conftest.err
>&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } >/dev
/null
; then
38169 if test -s conftest.err
; then
38170 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38171 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38178 if test -z "$ac_cpp_err"; then
38179 ac_header_preproc
=yes
38181 echo "$as_me: failed program was:" >&5
38182 sed 's/^/| /' conftest.
$ac_ext >&5
38184 ac_header_preproc
=no
38186 rm -f conftest.err conftest.
$ac_ext
38187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38188 echo "${ECHO_T}$ac_header_preproc" >&6
38190 # So? What about this header?
38191 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38197 ac_header_preproc
=yes
38200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38214 ## ----------------------------------------- ##
38215 ## Report this to wx-dev@lists.wxwidgets.org ##
38216 ## ----------------------------------------- ##
38219 sed "s/^/$as_me: WARNING: /" >&2
38222 echo "$as_me:$LINENO: checking for $ac_header" >&5
38223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38225 echo $ECHO_N "(cached) $ECHO_C" >&6
38227 eval "$as_ac_Header=\$ac_header_preproc"
38229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38234 cat >>confdefs.h
<<_ACEOF
38235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38242 if test "$ac_cv_header_sched_h" = "yes"; then
38243 echo "$as_me:$LINENO: checking for sched_yield" >&5
38244 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38245 if test "${ac_cv_func_sched_yield+set}" = set; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38248 cat >conftest.
$ac_ext <<_ACEOF
38251 cat confdefs.h
>>conftest.
$ac_ext
38252 cat >>conftest.
$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38254 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38256 #define sched_yield innocuous_sched_yield
38258 /* System header to define __stub macros and hopefully few prototypes,
38259 which can conflict with char sched_yield (); below.
38260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38261 <limits.h> exists even on freestanding compilers. */
38264 # include <limits.h>
38266 # include <assert.h>
38271 /* Override any gcc2 internal prototype to avoid an error. */
38276 /* We use char because int might match the return type of a gcc2
38277 builtin and then its argument prototype would still apply. */
38278 char sched_yield ();
38279 /* The GNU C library defines this for functions which it implements
38280 to always fail with ENOSYS. Some functions are actually named
38281 something starting with __ and the normal name is an alias. */
38282 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38285 char (*f) () = sched_yield;
38294 return f != sched_yield;
38299 rm -f conftest.
$ac_objext conftest
$ac_exeext
38300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38301 (eval $ac_link) 2>conftest.er1
38303 grep -v '^ *+' conftest.er1
>conftest.err
38305 cat conftest.err
>&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); } &&
38308 { ac_try
='test -z "$ac_cxx_werror_flag"
38309 || test ! -s conftest.err'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; } &&
38315 { ac_try
='test -s conftest$ac_exeext'
38316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38317 (eval $ac_try) 2>&5
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); }; }; then
38321 ac_cv_func_sched_yield
=yes
38323 echo "$as_me: failed program was:" >&5
38324 sed 's/^/| /' conftest.
$ac_ext >&5
38326 ac_cv_func_sched_yield
=no
38328 rm -f conftest.err conftest.
$ac_objext \
38329 conftest
$ac_exeext conftest.
$ac_ext
38331 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38332 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38333 if test $ac_cv_func_sched_yield = yes; then
38334 cat >>confdefs.h
<<\_ACEOF
38335 #define HAVE_SCHED_YIELD 1
38340 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38341 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38342 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38343 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 ac_check_lib_save_LIBS
=$LIBS
38346 LIBS
="-lposix4 $LIBS"
38347 cat >conftest.
$ac_ext <<_ACEOF
38350 cat confdefs.h
>>conftest.
$ac_ext
38351 cat >>conftest.
$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38354 /* Override any gcc2 internal prototype to avoid an error. */
38358 /* We use char because int might match the return type of a gcc2
38359 builtin and then its argument prototype would still apply. */
38360 char sched_yield ();
38369 rm -f conftest.
$ac_objext conftest
$ac_exeext
38370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38371 (eval $ac_link) 2>conftest.er1
38373 grep -v '^ *+' conftest.er1
>conftest.err
38375 cat conftest.err
>&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } &&
38378 { ac_try
='test -z "$ac_cxx_werror_flag"
38379 || test ! -s conftest.err'
38380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38381 (eval $ac_try) 2>&5
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); }; } &&
38385 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
38391 ac_cv_lib_posix4_sched_yield
=yes
38393 echo "$as_me: failed program was:" >&5
38394 sed 's/^/| /' conftest.
$ac_ext >&5
38396 ac_cv_lib_posix4_sched_yield
=no
38398 rm -f conftest.err conftest.
$ac_objext \
38399 conftest
$ac_exeext conftest.
$ac_ext
38400 LIBS
=$ac_check_lib_save_LIBS
38402 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38403 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38404 if test $ac_cv_lib_posix4_sched_yield = yes; then
38405 cat >>confdefs.h
<<\_ACEOF
38406 #define HAVE_SCHED_YIELD 1
38408 POSIX4_LINK
=" -lposix4"
38410 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38411 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38422 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38423 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38424 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38425 echo $ECHO_N "(cached) $ECHO_C" >&6
38427 cat >conftest.
$ac_ext <<_ACEOF
38430 cat confdefs.h
>>conftest.
$ac_ext
38431 cat >>conftest.
$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38433 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38435 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38437 /* System header to define __stub macros and hopefully few prototypes,
38438 which can conflict with char pthread_attr_getschedpolicy (); below.
38439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38440 <limits.h> exists even on freestanding compilers. */
38443 # include <limits.h>
38445 # include <assert.h>
38448 #undef pthread_attr_getschedpolicy
38450 /* Override any gcc2 internal prototype to avoid an error. */
38455 /* We use char because int might match the return type of a gcc2
38456 builtin and then its argument prototype would still apply. */
38457 char pthread_attr_getschedpolicy ();
38458 /* The GNU C library defines this for functions which it implements
38459 to always fail with ENOSYS. Some functions are actually named
38460 something starting with __ and the normal name is an alias. */
38461 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38464 char (*f) () = pthread_attr_getschedpolicy;
38473 return f != pthread_attr_getschedpolicy;
38478 rm -f conftest.
$ac_objext conftest
$ac_exeext
38479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38480 (eval $ac_link) 2>conftest.er1
38482 grep -v '^ *+' conftest.er1
>conftest.err
38484 cat conftest.err
>&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); } &&
38487 { ac_try
='test -z "$ac_cxx_werror_flag"
38488 || test ! -s conftest.err'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; } &&
38494 { ac_try
='test -s conftest$ac_exeext'
38495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496 (eval $ac_try) 2>&5
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); }; }; then
38500 ac_cv_func_pthread_attr_getschedpolicy
=yes
38502 echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.
$ac_ext >&5
38505 ac_cv_func_pthread_attr_getschedpolicy
=no
38507 rm -f conftest.err conftest.
$ac_objext \
38508 conftest
$ac_exeext conftest.
$ac_ext
38510 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38511 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38512 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38513 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38514 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38515 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38516 echo $ECHO_N "(cached) $ECHO_C" >&6
38518 cat >conftest.
$ac_ext <<_ACEOF
38521 cat confdefs.h
>>conftest.
$ac_ext
38522 cat >>conftest.
$ac_ext <<_ACEOF
38523 /* end confdefs.h. */
38524 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38526 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38528 /* System header to define __stub macros and hopefully few prototypes,
38529 which can conflict with char pthread_attr_setschedparam (); below.
38530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38531 <limits.h> exists even on freestanding compilers. */
38534 # include <limits.h>
38536 # include <assert.h>
38539 #undef pthread_attr_setschedparam
38541 /* Override any gcc2 internal prototype to avoid an error. */
38546 /* We use char because int might match the return type of a gcc2
38547 builtin and then its argument prototype would still apply. */
38548 char pthread_attr_setschedparam ();
38549 /* The GNU C library defines this for functions which it implements
38550 to always fail with ENOSYS. Some functions are actually named
38551 something starting with __ and the normal name is an alias. */
38552 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38555 char (*f) () = pthread_attr_setschedparam;
38564 return f != pthread_attr_setschedparam;
38569 rm -f conftest.
$ac_objext conftest
$ac_exeext
38570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38571 (eval $ac_link) 2>conftest.er1
38573 grep -v '^ *+' conftest.er1
>conftest.err
38575 cat conftest.err
>&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } &&
38578 { ac_try
='test -z "$ac_cxx_werror_flag"
38579 || test ! -s conftest.err'
38580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38581 (eval $ac_try) 2>&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); }; } &&
38585 { ac_try
='test -s conftest$ac_exeext'
38586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38587 (eval $ac_try) 2>&5
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); }; }; then
38591 ac_cv_func_pthread_attr_setschedparam
=yes
38593 echo "$as_me: failed program was:" >&5
38594 sed 's/^/| /' conftest.
$ac_ext >&5
38596 ac_cv_func_pthread_attr_setschedparam
=no
38598 rm -f conftest.err conftest.
$ac_objext \
38599 conftest
$ac_exeext conftest.
$ac_ext
38601 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38602 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38603 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38604 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38605 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38606 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38607 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 cat >conftest.
$ac_ext <<_ACEOF
38612 cat confdefs.h
>>conftest.
$ac_ext
38613 cat >>conftest.
$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38615 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38617 #define sched_get_priority_max innocuous_sched_get_priority_max
38619 /* System header to define __stub macros and hopefully few prototypes,
38620 which can conflict with char sched_get_priority_max (); below.
38621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38622 <limits.h> exists even on freestanding compilers. */
38625 # include <limits.h>
38627 # include <assert.h>
38630 #undef sched_get_priority_max
38632 /* Override any gcc2 internal prototype to avoid an error. */
38637 /* We use char because int might match the return type of a gcc2
38638 builtin and then its argument prototype would still apply. */
38639 char sched_get_priority_max ();
38640 /* The GNU C library defines this for functions which it implements
38641 to always fail with ENOSYS. Some functions are actually named
38642 something starting with __ and the normal name is an alias. */
38643 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38646 char (*f) () = sched_get_priority_max;
38655 return f != sched_get_priority_max;
38660 rm -f conftest.
$ac_objext conftest
$ac_exeext
38661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38662 (eval $ac_link) 2>conftest.er1
38664 grep -v '^ *+' conftest.er1
>conftest.err
38666 cat conftest.err
>&5
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); } &&
38669 { ac_try
='test -z "$ac_cxx_werror_flag"
38670 || test ! -s conftest.err'
38671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38672 (eval $ac_try) 2>&5
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); }; } &&
38676 { ac_try
='test -s conftest$ac_exeext'
38677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38678 (eval $ac_try) 2>&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; }; then
38682 ac_cv_func_sched_get_priority_max
=yes
38684 echo "$as_me: failed program was:" >&5
38685 sed 's/^/| /' conftest.
$ac_ext >&5
38687 ac_cv_func_sched_get_priority_max
=no
38689 rm -f conftest.err conftest.
$ac_objext \
38690 conftest
$ac_exeext conftest.
$ac_ext
38692 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38693 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38694 if test $ac_cv_func_sched_get_priority_max = yes; then
38697 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38698 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38699 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38700 echo $ECHO_N "(cached) $ECHO_C" >&6
38702 ac_check_lib_save_LIBS
=$LIBS
38703 LIBS
="-lposix4 $LIBS"
38704 cat >conftest.
$ac_ext <<_ACEOF
38707 cat confdefs.h
>>conftest.
$ac_ext
38708 cat >>conftest.
$ac_ext <<_ACEOF
38709 /* end confdefs.h. */
38711 /* Override any gcc2 internal prototype to avoid an error. */
38715 /* We use char because int might match the return type of a gcc2
38716 builtin and then its argument prototype would still apply. */
38717 char sched_get_priority_max ();
38721 sched_get_priority_max ();
38726 rm -f conftest.
$ac_objext conftest
$ac_exeext
38727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38728 (eval $ac_link) 2>conftest.er1
38730 grep -v '^ *+' conftest.er1
>conftest.err
38732 cat conftest.err
>&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } &&
38735 { ac_try
='test -z "$ac_cxx_werror_flag"
38736 || test ! -s conftest.err'
38737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38738 (eval $ac_try) 2>&5
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); }; } &&
38742 { ac_try
='test -s conftest$ac_exeext'
38743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38744 (eval $ac_try) 2>&5
38746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38747 (exit $ac_status); }; }; then
38748 ac_cv_lib_posix4_sched_get_priority_max
=yes
38750 echo "$as_me: failed program was:" >&5
38751 sed 's/^/| /' conftest.
$ac_ext >&5
38753 ac_cv_lib_posix4_sched_get_priority_max
=no
38755 rm -f conftest.err conftest.
$ac_objext \
38756 conftest
$ac_exeext conftest.
$ac_ext
38757 LIBS
=$ac_check_lib_save_LIBS
38759 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38760 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38761 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38764 POSIX4_LINK
=" -lposix4"
38778 if test "$HAVE_PRIOR_FUNCS" = 1; then
38779 cat >>confdefs.h
<<\_ACEOF
38780 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38784 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38785 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38788 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38789 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38790 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38791 echo $ECHO_N "(cached) $ECHO_C" >&6
38793 cat >conftest.
$ac_ext <<_ACEOF
38796 cat confdefs.h
>>conftest.
$ac_ext
38797 cat >>conftest.
$ac_ext <<_ACEOF
38798 /* end confdefs.h. */
38799 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38801 #define pthread_cancel innocuous_pthread_cancel
38803 /* System header to define __stub macros and hopefully few prototypes,
38804 which can conflict with char pthread_cancel (); below.
38805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38806 <limits.h> exists even on freestanding compilers. */
38809 # include <limits.h>
38811 # include <assert.h>
38814 #undef pthread_cancel
38816 /* Override any gcc2 internal prototype to avoid an error. */
38821 /* We use char because int might match the return type of a gcc2
38822 builtin and then its argument prototype would still apply. */
38823 char pthread_cancel ();
38824 /* The GNU C library defines this for functions which it implements
38825 to always fail with ENOSYS. Some functions are actually named
38826 something starting with __ and the normal name is an alias. */
38827 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38830 char (*f) () = pthread_cancel;
38839 return f != pthread_cancel;
38844 rm -f conftest.
$ac_objext conftest
$ac_exeext
38845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38846 (eval $ac_link) 2>conftest.er1
38848 grep -v '^ *+' conftest.er1
>conftest.err
38850 cat conftest.err
>&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); } &&
38853 { ac_try
='test -z "$ac_cxx_werror_flag"
38854 || test ! -s conftest.err'
38855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38856 (eval $ac_try) 2>&5
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); }; } &&
38860 { ac_try
='test -s conftest$ac_exeext'
38861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38862 (eval $ac_try) 2>&5
38864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865 (exit $ac_status); }; }; then
38866 ac_cv_func_pthread_cancel
=yes
38868 echo "$as_me: failed program was:" >&5
38869 sed 's/^/| /' conftest.
$ac_ext >&5
38871 ac_cv_func_pthread_cancel
=no
38873 rm -f conftest.err conftest.
$ac_objext \
38874 conftest
$ac_exeext conftest.
$ac_ext
38876 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38877 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38878 if test $ac_cv_func_pthread_cancel = yes; then
38879 cat >>confdefs.h
<<\_ACEOF
38880 #define HAVE_PTHREAD_CANCEL 1
38884 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38885 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38889 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38890 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38891 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38892 echo $ECHO_N "(cached) $ECHO_C" >&6
38894 cat >conftest.
$ac_ext <<_ACEOF
38897 cat confdefs.h
>>conftest.
$ac_ext
38898 cat >>conftest.
$ac_ext <<_ACEOF
38899 /* end confdefs.h. */
38900 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38902 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38904 /* System header to define __stub macros and hopefully few prototypes,
38905 which can conflict with char pthread_attr_setstacksize (); below.
38906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38907 <limits.h> exists even on freestanding compilers. */
38910 # include <limits.h>
38912 # include <assert.h>
38915 #undef pthread_attr_setstacksize
38917 /* Override any gcc2 internal prototype to avoid an error. */
38922 /* We use char because int might match the return type of a gcc2
38923 builtin and then its argument prototype would still apply. */
38924 char pthread_attr_setstacksize ();
38925 /* The GNU C library defines this for functions which it implements
38926 to always fail with ENOSYS. Some functions are actually named
38927 something starting with __ and the normal name is an alias. */
38928 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38931 char (*f) () = pthread_attr_setstacksize;
38940 return f != pthread_attr_setstacksize;
38945 rm -f conftest.
$ac_objext conftest
$ac_exeext
38946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38947 (eval $ac_link) 2>conftest.er1
38949 grep -v '^ *+' conftest.er1
>conftest.err
38951 cat conftest.err
>&5
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); } &&
38954 { ac_try
='test -z "$ac_cxx_werror_flag"
38955 || test ! -s conftest.err'
38956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38957 (eval $ac_try) 2>&5
38959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38960 (exit $ac_status); }; } &&
38961 { ac_try
='test -s conftest$ac_exeext'
38962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38963 (eval $ac_try) 2>&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); }; }; then
38967 ac_cv_func_pthread_attr_setstacksize
=yes
38969 echo "$as_me: failed program was:" >&5
38970 sed 's/^/| /' conftest.
$ac_ext >&5
38972 ac_cv_func_pthread_attr_setstacksize
=no
38974 rm -f conftest.err conftest.
$ac_objext \
38975 conftest
$ac_exeext conftest.
$ac_ext
38977 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38978 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38979 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38980 cat >>confdefs.h
<<\_ACEOF
38981 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38988 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38989 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38990 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38991 echo $ECHO_N "(cached) $ECHO_C" >&6
38994 cat >conftest.
$ac_ext <<_ACEOF
38997 cat confdefs.h
>>conftest.
$ac_ext
38998 cat >>conftest.
$ac_ext <<_ACEOF
38999 /* end confdefs.h. */
39000 #include <pthread.h>
39005 pthread_mutexattr_t attr;
39006 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39012 rm -f conftest.
$ac_objext
39013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39014 (eval $ac_compile) 2>conftest.er1
39016 grep -v '^ *+' conftest.er1
>conftest.err
39018 cat conftest.err
>&5
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); } &&
39021 { ac_try
='test -z "$ac_cxx_werror_flag"
39022 || test ! -s conftest.err'
39023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39024 (eval $ac_try) 2>&5
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); }; } &&
39028 { ac_try
='test -s conftest.$ac_objext'
39029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030 (eval $ac_try) 2>&5
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); }; }; then
39034 wx_cv_type_pthread_mutexattr_t
=yes
39036 echo "$as_me: failed program was:" >&5
39037 sed 's/^/| /' conftest.
$ac_ext >&5
39039 wx_cv_type_pthread_mutexattr_t
=no
39042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39045 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39046 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39048 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39049 cat >>confdefs.h
<<\_ACEOF
39050 #define HAVE_PTHREAD_MUTEXATTR_T 1
39054 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39055 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39056 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39057 echo $ECHO_N "(cached) $ECHO_C" >&6
39060 cat >conftest.
$ac_ext <<_ACEOF
39063 cat confdefs.h
>>conftest.
$ac_ext
39064 cat >>conftest.
$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39066 #include <pthread.h>
39071 pthread_mutexattr_t attr;
39072 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39078 rm -f conftest.
$ac_objext
39079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39080 (eval $ac_compile) 2>conftest.er1
39082 grep -v '^ *+' conftest.er1
>conftest.err
39084 cat conftest.err
>&5
39085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39086 (exit $ac_status); } &&
39087 { ac_try
='test -z "$ac_cxx_werror_flag"
39088 || test ! -s conftest.err'
39089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39090 (eval $ac_try) 2>&5
39092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39093 (exit $ac_status); }; } &&
39094 { ac_try
='test -s conftest.$ac_objext'
39095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39096 (eval $ac_try) 2>&5
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); }; }; then
39100 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39102 echo "$as_me: failed program was:" >&5
39103 sed 's/^/| /' conftest.
$ac_ext >&5
39105 wx_cv_func_pthread_mutexattr_settype_decl
=no
39108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39111 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39112 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39113 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39114 cat >>confdefs.h
<<\_ACEOF
39115 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39120 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39121 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39122 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39123 echo $ECHO_N "(cached) $ECHO_C" >&6
39126 cat >conftest.
$ac_ext <<_ACEOF
39129 cat confdefs.h
>>conftest.
$ac_ext
39130 cat >>conftest.
$ac_ext <<_ACEOF
39131 /* end confdefs.h. */
39132 #include <pthread.h>
39137 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39143 rm -f conftest.
$ac_objext
39144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39145 (eval $ac_compile) 2>conftest.er1
39147 grep -v '^ *+' conftest.er1
>conftest.err
39149 cat conftest.err
>&5
39150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39151 (exit $ac_status); } &&
39152 { ac_try
='test -z "$ac_cxx_werror_flag"
39153 || test ! -s conftest.err'
39154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39155 (eval $ac_try) 2>&5
39157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39158 (exit $ac_status); }; } &&
39159 { ac_try
='test -s conftest.$ac_objext'
39160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39161 (eval $ac_try) 2>&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); }; }; then
39166 wx_cv_type_pthread_rec_mutex_init
=yes
39169 echo "$as_me: failed program was:" >&5
39170 sed 's/^/| /' conftest.
$ac_ext >&5
39173 wx_cv_type_pthread_rec_mutex_init
=no
39177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39180 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39181 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39182 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39183 cat >>confdefs.h
<<\_ACEOF
39184 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39188 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39189 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39195 if test "$wxUSE_THREADS" = "yes" ; then
39198 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39199 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39200 if test "${wx_cv_cflags_mthread+set}" = set; then
39201 echo $ECHO_N "(cached) $ECHO_C" >&6
39204 CXXFLAGS_OLD
="$CXXFLAGS"
39205 CXXFLAGS
="-mthreads $CXXFLAGS"
39206 cat >conftest.
$ac_ext <<_ACEOF
39209 cat confdefs.h
>>conftest.
$ac_ext
39210 cat >>conftest.
$ac_ext <<_ACEOF
39211 /* end confdefs.h. */
39221 rm -f conftest.
$ac_objext
39222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39223 (eval $ac_compile) 2>conftest.er1
39225 grep -v '^ *+' conftest.er1
>conftest.err
39227 cat conftest.err
>&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); } &&
39230 { ac_try
='test -z "$ac_cxx_werror_flag"
39231 || test ! -s conftest.err'
39232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39233 (eval $ac_try) 2>&5
39235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39236 (exit $ac_status); }; } &&
39237 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
39243 wx_cv_cflags_mthread
=yes
39245 echo "$as_me: failed program was:" >&5
39246 sed 's/^/| /' conftest.
$ac_ext >&5
39248 wx_cv_cflags_mthread
=no
39251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39255 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39256 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39258 if test "$wx_cv_cflags_mthread" = "yes"; then
39259 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
39260 LDFLAGS
="$LDFLAGS -mthreads"
39262 CXXFLAGS
="$CXXFLAGS_OLD"
39266 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39267 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39268 LDFLAGS
="$LDFLAGS -Zmt"
39274 echo "$as_me:$LINENO: checking for localtime_r" >&5
39275 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39276 if test "${ac_cv_func_localtime_r+set}" = set; then
39277 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 cat >conftest.
$ac_ext <<_ACEOF
39282 cat confdefs.h
>>conftest.
$ac_ext
39283 cat >>conftest.
$ac_ext <<_ACEOF
39284 /* end confdefs.h. */
39285 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39287 #define localtime_r innocuous_localtime_r
39289 /* System header to define __stub macros and hopefully few prototypes,
39290 which can conflict with char localtime_r (); below.
39291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39292 <limits.h> exists even on freestanding compilers. */
39295 # include <limits.h>
39297 # include <assert.h>
39302 /* Override any gcc2 internal prototype to avoid an error. */
39307 /* We use char because int might match the return type of a gcc2
39308 builtin and then its argument prototype would still apply. */
39309 char localtime_r ();
39310 /* The GNU C library defines this for functions which it implements
39311 to always fail with ENOSYS. Some functions are actually named
39312 something starting with __ and the normal name is an alias. */
39313 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39316 char (*f) () = localtime_r;
39325 return f != localtime_r;
39330 rm -f conftest.
$ac_objext conftest
$ac_exeext
39331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39332 (eval $ac_link) 2>conftest.er1
39334 grep -v '^ *+' conftest.er1
>conftest.err
39336 cat conftest.err
>&5
39337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39338 (exit $ac_status); } &&
39339 { ac_try
='test -z "$ac_cxx_werror_flag"
39340 || test ! -s conftest.err'
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); }; } &&
39346 { ac_try
='test -s conftest$ac_exeext'
39347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39348 (eval $ac_try) 2>&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); }; }; then
39352 ac_cv_func_localtime_r
=yes
39354 echo "$as_me: failed program was:" >&5
39355 sed 's/^/| /' conftest.
$ac_ext >&5
39357 ac_cv_func_localtime_r
=no
39359 rm -f conftest.err conftest.
$ac_objext \
39360 conftest
$ac_exeext conftest.
$ac_ext
39362 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39363 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39364 if test $ac_cv_func_localtime_r = yes; then
39365 cat >>confdefs.h
<<\_ACEOF
39366 #define HAVE_LOCALTIME_R 1
39371 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39372 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39373 if test "${ac_cv_func_gmtime_r+set}" = set; then
39374 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 cat >conftest.
$ac_ext <<_ACEOF
39379 cat confdefs.h
>>conftest.
$ac_ext
39380 cat >>conftest.
$ac_ext <<_ACEOF
39381 /* end confdefs.h. */
39382 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39384 #define gmtime_r innocuous_gmtime_r
39386 /* System header to define __stub macros and hopefully few prototypes,
39387 which can conflict with char gmtime_r (); below.
39388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39389 <limits.h> exists even on freestanding compilers. */
39392 # include <limits.h>
39394 # include <assert.h>
39399 /* Override any gcc2 internal prototype to avoid an error. */
39404 /* We use char because int might match the return type of a gcc2
39405 builtin and then its argument prototype would still apply. */
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39413 char (*f) () = gmtime_r;
39422 return f != gmtime_r;
39427 rm -f conftest.
$ac_objext conftest
$ac_exeext
39428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39429 (eval $ac_link) 2>conftest.er1
39431 grep -v '^ *+' conftest.er1
>conftest.err
39433 cat conftest.err
>&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } &&
39436 { ac_try
='test -z "$ac_cxx_werror_flag"
39437 || test ! -s conftest.err'
39438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39439 (eval $ac_try) 2>&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); }; } &&
39443 { ac_try
='test -s conftest$ac_exeext'
39444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39445 (eval $ac_try) 2>&5
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); }; }; then
39449 ac_cv_func_gmtime_r
=yes
39451 echo "$as_me: failed program was:" >&5
39452 sed 's/^/| /' conftest.
$ac_ext >&5
39454 ac_cv_func_gmtime_r
=no
39456 rm -f conftest.err conftest.
$ac_objext \
39457 conftest
$ac_exeext conftest.
$ac_ext
39459 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39460 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39461 if test $ac_cv_func_gmtime_r = yes; then
39462 cat >>confdefs.h
<<\_ACEOF
39463 #define HAVE_GMTIME_R 1
39468 echo "$as_me:$LINENO: checking for readdir_r" >&5
39469 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39470 if test "${ac_cv_func_readdir_r+set}" = set; then
39471 echo $ECHO_N "(cached) $ECHO_C" >&6
39473 cat >conftest.
$ac_ext <<_ACEOF
39476 cat confdefs.h
>>conftest.
$ac_ext
39477 cat >>conftest.
$ac_ext <<_ACEOF
39478 /* end confdefs.h. */
39479 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39481 #define readdir_r innocuous_readdir_r
39483 /* System header to define __stub macros and hopefully few prototypes,
39484 which can conflict with char readdir_r (); below.
39485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39486 <limits.h> exists even on freestanding compilers. */
39489 # include <limits.h>
39491 # include <assert.h>
39496 /* Override any gcc2 internal prototype to avoid an error. */
39501 /* We use char because int might match the return type of a gcc2
39502 builtin and then its argument prototype would still apply. */
39504 /* The GNU C library defines this for functions which it implements
39505 to always fail with ENOSYS. Some functions are actually named
39506 something starting with __ and the normal name is an alias. */
39507 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39510 char (*f) () = readdir_r;
39519 return f != readdir_r;
39524 rm -f conftest.
$ac_objext conftest
$ac_exeext
39525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39526 (eval $ac_link) 2>conftest.er1
39528 grep -v '^ *+' conftest.er1
>conftest.err
39530 cat conftest.err
>&5
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); } &&
39533 { ac_try
='test -z "$ac_cxx_werror_flag"
39534 || test ! -s conftest.err'
39535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39536 (eval $ac_try) 2>&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); }; } &&
39540 { ac_try
='test -s conftest$ac_exeext'
39541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39542 (eval $ac_try) 2>&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); }; }; then
39546 ac_cv_func_readdir_r
=yes
39548 echo "$as_me: failed program was:" >&5
39549 sed 's/^/| /' conftest.
$ac_ext >&5
39551 ac_cv_func_readdir_r
=no
39553 rm -f conftest.err conftest.
$ac_objext \
39554 conftest
$ac_exeext conftest.
$ac_ext
39556 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39557 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39558 if test $ac_cv_func_readdir_r = yes; then
39559 cat >>confdefs.h
<<\_ACEOF
39560 #define HAVE_READDIR_R 1
39569 ac_cpp
='$CPP $CPPFLAGS'
39570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39574 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39575 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39577 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39578 echo $ECHO_N "(cached) $ECHO_C" >&6
39582 ################################################################
39584 ac_cv_func_which_gethostbyname_r
=unknown
39587 # ONE ARGUMENT (sanity check)
39590 # This should fail, as there is no variant of gethostbyname_r() that takes
39591 # a single argument. If it actually compiles, then we can assume that
39592 # netdb.h is not declaring the function, and the compiler is thereby
39593 # assuming an implicit prototype. In which case, we're out of luck.
39595 cat >conftest.
$ac_ext <<_ACEOF
39598 cat confdefs.h
>>conftest.
$ac_ext
39599 cat >>conftest.
$ac_ext <<_ACEOF
39600 /* end confdefs.h. */
39606 char *name = "www.gnu.org";
39607 (void)gethostbyname_r(name) /* ; */
39613 rm -f conftest.
$ac_objext
39614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39615 (eval $ac_compile) 2>conftest.er1
39617 grep -v '^ *+' conftest.er1
>conftest.err
39619 cat conftest.err
>&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } &&
39622 { ac_try
='test -z "$ac_c_werror_flag"
39623 || test ! -s conftest.err'
39624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39625 (eval $ac_try) 2>&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); }; } &&
39629 { ac_try
='test -s conftest.$ac_objext'
39630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39631 (eval $ac_try) 2>&5
39633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39634 (exit $ac_status); }; }; then
39635 ac_cv_func_which_gethostbyname_r
=no
39637 echo "$as_me: failed program was:" >&5
39638 sed 's/^/| /' conftest.
$ac_ext >&5
39641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39648 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39650 cat >conftest.
$ac_ext <<_ACEOF
39653 cat confdefs.h
>>conftest.
$ac_ext
39654 cat >>conftest.
$ac_ext <<_ACEOF
39655 /* end confdefs.h. */
39661 char *name = "www.gnu.org";
39662 struct hostent ret, *retp;
39666 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39672 rm -f conftest.
$ac_objext
39673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39674 (eval $ac_compile) 2>conftest.er1
39676 grep -v '^ *+' conftest.er1
>conftest.err
39678 cat conftest.err
>&5
39679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39680 (exit $ac_status); } &&
39681 { ac_try
='test -z "$ac_c_werror_flag"
39682 || test ! -s conftest.err'
39683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39684 (eval $ac_try) 2>&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); }; } &&
39688 { ac_try
='test -s conftest.$ac_objext'
39689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39690 (eval $ac_try) 2>&5
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); }; }; then
39694 ac_cv_func_which_gethostbyname_r
=six
39696 echo "$as_me: failed program was:" >&5
39697 sed 's/^/| /' conftest.
$ac_ext >&5
39700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39709 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39711 cat >conftest.
$ac_ext <<_ACEOF
39714 cat confdefs.h
>>conftest.
$ac_ext
39715 cat >>conftest.
$ac_ext <<_ACEOF
39716 /* end confdefs.h. */
39722 char *name = "www.gnu.org";
39723 struct hostent ret;
39727 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39733 rm -f conftest.
$ac_objext
39734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39735 (eval $ac_compile) 2>conftest.er1
39737 grep -v '^ *+' conftest.er1
>conftest.err
39739 cat conftest.err
>&5
39740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39741 (exit $ac_status); } &&
39742 { ac_try
='test -z "$ac_c_werror_flag"
39743 || test ! -s conftest.err'
39744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39745 (eval $ac_try) 2>&5
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); }; } &&
39749 { ac_try
='test -s conftest.$ac_objext'
39750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39751 (eval $ac_try) 2>&5
39753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754 (exit $ac_status); }; }; then
39755 ac_cv_func_which_gethostbyname_r
=five
39757 echo "$as_me: failed program was:" >&5
39758 sed 's/^/| /' conftest.
$ac_ext >&5
39761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39767 # (e.g. AIX, HP-UX, Tru64)
39770 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39772 cat >conftest.
$ac_ext <<_ACEOF
39775 cat confdefs.h
>>conftest.
$ac_ext
39776 cat >>conftest.
$ac_ext <<_ACEOF
39777 /* end confdefs.h. */
39783 char *name = "www.gnu.org";
39784 struct hostent ret;
39785 struct hostent_data data;
39786 (void)gethostbyname_r(name, &ret, &data) /* ; */
39792 rm -f conftest.
$ac_objext
39793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39794 (eval $ac_compile) 2>conftest.er1
39796 grep -v '^ *+' conftest.er1
>conftest.err
39798 cat conftest.err
>&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } &&
39801 { ac_try
='test -z "$ac_c_werror_flag"
39802 || test ! -s conftest.err'
39803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39804 (eval $ac_try) 2>&5
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); }; } &&
39808 { ac_try
='test -s conftest.$ac_objext'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; }; then
39814 ac_cv_func_which_gethostbyname_r
=three
39816 echo "$as_me: failed program was:" >&5
39817 sed 's/^/| /' conftest.
$ac_ext >&5
39820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39824 ################################################################
39829 case "$ac_cv_func_which_gethostbyname_r" in
39831 echo "$as_me:$LINENO: result: three" >&5
39832 echo "${ECHO_T}three" >&6
39833 cat >>confdefs.h
<<\_ACEOF
39834 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39840 echo "$as_me:$LINENO: result: five" >&5
39841 echo "${ECHO_T}five" >&6
39842 cat >>confdefs.h
<<\_ACEOF
39843 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39849 echo "$as_me:$LINENO: result: six" >&5
39850 echo "${ECHO_T}six" >&6
39851 cat >>confdefs.h
<<\_ACEOF
39852 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39858 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39859 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39863 echo "$as_me:$LINENO: result: can't tell" >&5
39864 echo "${ECHO_T}can't tell" >&6
39868 { { echo "$as_me:$LINENO: error: internal error" >&5
39869 echo "$as_me: error: internal error" >&2;}
39870 { (exit 1); exit 1; }; }
39875 ac_cpp
='$CXXCPP $CPPFLAGS'
39876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39882 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39883 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39884 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39885 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39886 if test "${ac_cv_func_gethostbyname+set}" = set; then
39887 echo $ECHO_N "(cached) $ECHO_C" >&6
39889 cat >conftest.
$ac_ext <<_ACEOF
39892 cat confdefs.h
>>conftest.
$ac_ext
39893 cat >>conftest.
$ac_ext <<_ACEOF
39894 /* end confdefs.h. */
39895 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39897 #define gethostbyname innocuous_gethostbyname
39899 /* System header to define __stub macros and hopefully few prototypes,
39900 which can conflict with char gethostbyname (); below.
39901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39902 <limits.h> exists even on freestanding compilers. */
39905 # include <limits.h>
39907 # include <assert.h>
39910 #undef gethostbyname
39912 /* Override any gcc2 internal prototype to avoid an error. */
39917 /* We use char because int might match the return type of a gcc2
39918 builtin and then its argument prototype would still apply. */
39919 char gethostbyname ();
39920 /* The GNU C library defines this for functions which it implements
39921 to always fail with ENOSYS. Some functions are actually named
39922 something starting with __ and the normal name is an alias. */
39923 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39926 char (*f) () = gethostbyname;
39935 return f != gethostbyname;
39940 rm -f conftest.
$ac_objext conftest
$ac_exeext
39941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39942 (eval $ac_link) 2>conftest.er1
39944 grep -v '^ *+' conftest.er1
>conftest.err
39946 cat conftest.err
>&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); } &&
39949 { ac_try
='test -z "$ac_cxx_werror_flag"
39950 || test ! -s conftest.err'
39951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39952 (eval $ac_try) 2>&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); }; } &&
39956 { ac_try
='test -s conftest$ac_exeext'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; }; then
39962 ac_cv_func_gethostbyname
=yes
39964 echo "$as_me: failed program was:" >&5
39965 sed 's/^/| /' conftest.
$ac_ext >&5
39967 ac_cv_func_gethostbyname
=no
39969 rm -f conftest.err conftest.
$ac_objext \
39970 conftest
$ac_exeext conftest.
$ac_ext
39972 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39973 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39974 if test $ac_cv_func_gethostbyname = yes; then
39975 cat >>confdefs.h
<<\_ACEOF
39976 #define HAVE_GETHOSTBYNAME 1
39982 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39983 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39984 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39985 echo $ECHO_N "(cached) $ECHO_C" >&6
39987 cat >conftest.
$ac_ext <<_ACEOF
39990 cat confdefs.h
>>conftest.
$ac_ext
39991 cat >>conftest.
$ac_ext <<_ACEOF
39992 /* end confdefs.h. */
39993 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39995 #define getservbyname_r innocuous_getservbyname_r
39997 /* System header to define __stub macros and hopefully few prototypes,
39998 which can conflict with char getservbyname_r (); below.
39999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40000 <limits.h> exists even on freestanding compilers. */
40003 # include <limits.h>
40005 # include <assert.h>
40008 #undef getservbyname_r
40010 /* Override any gcc2 internal prototype to avoid an error. */
40015 /* We use char because int might match the return type of a gcc2
40016 builtin and then its argument prototype would still apply. */
40017 char getservbyname_r ();
40018 /* The GNU C library defines this for functions which it implements
40019 to always fail with ENOSYS. Some functions are actually named
40020 something starting with __ and the normal name is an alias. */
40021 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40024 char (*f) () = getservbyname_r;
40033 return f != getservbyname_r;
40038 rm -f conftest.
$ac_objext conftest
$ac_exeext
40039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40040 (eval $ac_link) 2>conftest.er1
40042 grep -v '^ *+' conftest.er1
>conftest.err
40044 cat conftest.err
>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } &&
40047 { ac_try
='test -z "$ac_cxx_werror_flag"
40048 || test ! -s conftest.err'
40049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40050 (eval $ac_try) 2>&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); }; } &&
40054 { ac_try
='test -s conftest$ac_exeext'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; }; then
40060 ac_cv_func_getservbyname_r
=yes
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.
$ac_ext >&5
40065 ac_cv_func_getservbyname_r
=no
40067 rm -f conftest.err conftest.
$ac_objext \
40068 conftest
$ac_exeext conftest.
$ac_ext
40070 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
40071 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
40072 if test $ac_cv_func_getservbyname_r = yes; then
40073 cat >conftest.
$ac_ext <<_ACEOF
40076 cat confdefs.h
>>conftest.
$ac_ext
40077 cat >>conftest.
$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40086 struct servent *se;
40087 struct servent_data data;
40088 (void) getservbyname_r(name, proto, se, &data);
40094 rm -f conftest.
$ac_objext
40095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40096 (eval $ac_compile) 2>conftest.er1
40098 grep -v '^ *+' conftest.er1
>conftest.err
40100 cat conftest.err
>&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } &&
40103 { ac_try
='test -z "$ac_cxx_werror_flag"
40104 || test ! -s conftest.err'
40105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40106 (eval $ac_try) 2>&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); }; } &&
40110 { ac_try
='test -s conftest.$ac_objext'
40111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40112 (eval $ac_try) 2>&5
40114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115 (exit $ac_status); }; }; then
40116 ac_cv_func_which_getservbyname_r
=four
40118 echo "$as_me: failed program was:" >&5
40119 sed 's/^/| /' conftest.
$ac_ext >&5
40121 cat >conftest.
$ac_ext <<_ACEOF
40124 cat confdefs.h
>>conftest.
$ac_ext
40125 cat >>conftest.
$ac_ext <<_ACEOF
40126 /* end confdefs.h. */
40134 struct servent *se, *res;
40137 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
40143 rm -f conftest.
$ac_objext
40144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40145 (eval $ac_compile) 2>conftest.er1
40147 grep -v '^ *+' conftest.er1
>conftest.err
40149 cat conftest.err
>&5
40150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40151 (exit $ac_status); } &&
40152 { ac_try
='test -z "$ac_cxx_werror_flag"
40153 || test ! -s conftest.err'
40154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40155 (eval $ac_try) 2>&5
40157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40158 (exit $ac_status); }; } &&
40159 { ac_try
='test -s conftest.$ac_objext'
40160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40161 (eval $ac_try) 2>&5
40163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40164 (exit $ac_status); }; }; then
40165 ac_cv_func_which_getservbyname_r
=six
40167 echo "$as_me: failed program was:" >&5
40168 sed 's/^/| /' conftest.
$ac_ext >&5
40170 cat >conftest.
$ac_ext <<_ACEOF
40173 cat confdefs.h
>>conftest.
$ac_ext
40174 cat >>conftest.
$ac_ext <<_ACEOF
40175 /* end confdefs.h. */
40183 struct servent *se;
40186 (void) getservbyname_r(name, proto, se, buffer, buflen)
40192 rm -f conftest.
$ac_objext
40193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40194 (eval $ac_compile) 2>conftest.er1
40196 grep -v '^ *+' conftest.er1
>conftest.err
40198 cat conftest.err
>&5
40199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40200 (exit $ac_status); } &&
40201 { ac_try
='test -z "$ac_cxx_werror_flag"
40202 || test ! -s conftest.err'
40203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40204 (eval $ac_try) 2>&5
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); }; } &&
40208 { ac_try
='test -s conftest.$ac_objext'
40209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40210 (eval $ac_try) 2>&5
40212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40213 (exit $ac_status); }; }; then
40214 ac_cv_func_which_getservbyname_r
=five
40216 echo "$as_me: failed program was:" >&5
40217 sed 's/^/| /' conftest.
$ac_ext >&5
40219 ac_cv_func_which_getservbyname_r
=no
40222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40230 ac_cv_func_which_getservbyname_r
=no
40234 if test $ac_cv_func_which_getservbyname_r = six
; then
40235 cat >>confdefs.h
<<\_ACEOF
40236 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40239 elif test $ac_cv_func_which_getservbyname_r = five
; then
40240 cat >>confdefs.h
<<\_ACEOF
40241 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40244 elif test $ac_cv_func_which_getservbyname_r = four
; then
40245 cat >>confdefs.h
<<\_ACEOF
40246 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40252 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40253 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40255 for ac_func
in getservbyname
40257 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40258 echo "$as_me:$LINENO: checking for $ac_func" >&5
40259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40260 if eval "test \"\${$as_ac_var+set}\" = set"; then
40261 echo $ECHO_N "(cached) $ECHO_C" >&6
40263 cat >conftest.
$ac_ext <<_ACEOF
40266 cat confdefs.h
>>conftest.
$ac_ext
40267 cat >>conftest.
$ac_ext <<_ACEOF
40268 /* end confdefs.h. */
40269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40271 #define $ac_func innocuous_$ac_func
40273 /* System header to define __stub macros and hopefully few prototypes,
40274 which can conflict with char $ac_func (); below.
40275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40276 <limits.h> exists even on freestanding compilers. */
40279 # include <limits.h>
40281 # include <assert.h>
40286 /* Override any gcc2 internal prototype to avoid an error. */
40291 /* We use char because int might match the return type of a gcc2
40292 builtin and then its argument prototype would still apply. */
40294 /* The GNU C library defines this for functions which it implements
40295 to always fail with ENOSYS. Some functions are actually named
40296 something starting with __ and the normal name is an alias. */
40297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40300 char (*f) () = $ac_func;
40309 return f != $ac_func;
40314 rm -f conftest.
$ac_objext conftest
$ac_exeext
40315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40316 (eval $ac_link) 2>conftest.er1
40318 grep -v '^ *+' conftest.er1
>conftest.err
40320 cat conftest.err
>&5
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); } &&
40323 { ac_try
='test -z "$ac_cxx_werror_flag"
40324 || test ! -s conftest.err'
40325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40326 (eval $ac_try) 2>&5
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); }; } &&
40330 { ac_try
='test -s conftest$ac_exeext'
40331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40332 (eval $ac_try) 2>&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); }; }; then
40336 eval "$as_ac_var=yes"
40338 echo "$as_me: failed program was:" >&5
40339 sed 's/^/| /' conftest.
$ac_ext >&5
40341 eval "$as_ac_var=no"
40343 rm -f conftest.err conftest.
$ac_objext \
40344 conftest
$ac_exeext conftest.
$ac_ext
40346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40348 if test `eval echo '${'$as_ac_var'}'` = yes; then
40349 cat >>confdefs.h
<<_ACEOF
40350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40352 cat >>confdefs.h
<<\_ACEOF
40353 #define HAVE_GETSERVBYNAME 1
40361 if test "$wxUSE_THREADS" = "yes"; then
40362 cat >>confdefs.h
<<\_ACEOF
40363 #define wxUSE_THREADS 1
40367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40369 if test "$ac_cv_func_strtok_r" = "yes"; then
40370 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40371 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40372 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40373 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40374 echo "$as_me:$LINENO: result: yes" >&5
40375 echo "${ECHO_T}yes" >&6
40377 echo "$as_me:$LINENO: result: no" >&5
40378 echo "${ECHO_T}no" >&6
40383 if test "$WXGTK20" = 1 ; then
40384 cat >>confdefs.h
<<_ACEOF
40385 #define __WXGTK20__ $WXGTK20
40391 if test "$WXGTK12" = 1 ; then
40392 cat >>confdefs.h
<<_ACEOF
40393 #define __WXGTK12__ $WXGTK12
40398 if test "$WXGTK127" = 1 ; then
40399 cat >>confdefs.h
<<_ACEOF
40400 #define __WXGTK127__ $WXGTK127
40405 if test "$WXGPE" = 1 ; then
40406 cat >>confdefs.h
<<_ACEOF
40407 #define __WXGPE__ $WXGPE
40413 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40418 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40419 wxUSE_DEBUG_INFO
=yes
40420 if test "$GCC" = yes; then
40421 DEBUG_CFLAGS
="-ggdb"
40425 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40426 cat >>confdefs.h
<<\_ACEOF
40430 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40432 if test "$wxUSE_GTK" = 1 ; then
40433 if test "x$wxGTK_VERSION" = "x1" ; then
40434 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40439 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40440 cat >>confdefs.h
<<\_ACEOF
40441 #define wxUSE_MEMORY_TRACING 1
40444 cat >>confdefs.h
<<\_ACEOF
40445 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40448 cat >>confdefs.h
<<\_ACEOF
40449 #define wxUSE_DEBUG_NEW_ALWAYS 1
40452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40455 if test "$wxUSE_DMALLOC" = "yes" ; then
40456 DMALLOC_LIBS
="-ldmallocthcxx"
40460 if test "$wxUSE_PROFILE" = "yes" ; then
40461 PROFILE_FLAGS
=" -pg"
40464 if test "$GCC" = "yes" ; then
40465 if test "$wxUSE_NO_RTTI" = "yes" ; then
40466 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40468 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40469 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40471 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40472 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40477 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40480 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40486 if test "$wxUSE_OPTIMISE" = "no" ; then
40487 if test "$GCC" = yes ; then
40488 OPTIMISE_CFLAGS
="-O0"
40491 if test "$GCC" = yes ; then
40493 *-pc-os2_emx | *-pc-os2-emx )
40494 OPTIMISE_CFLAGS
="-O2"
40497 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40501 OPTIMISE_CFLAGS
="-O"
40506 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40507 cat >>confdefs.h
<<\_ACEOF
40508 #define WXWIN_COMPATIBILITY_2_4 1
40512 WXWIN_COMPATIBILITY_2_6
="yes"
40515 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40516 cat >>confdefs.h
<<\_ACEOF
40517 #define WXWIN_COMPATIBILITY_2_6 1
40523 if test "$wxUSE_GUI" = "yes"; then
40524 cat >>confdefs.h
<<\_ACEOF
40525 #define wxUSE_GUI 1
40532 if test "$wxUSE_UNIX" = "yes"; then
40533 cat >>confdefs.h
<<\_ACEOF
40534 #define wxUSE_UNIX 1
40540 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40544 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40545 if test "$USE_DARWIN" = 1; then
40547 elif test "$USE_DOS" = 1; then
40551 for ac_func
in dlopen
40553 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40554 echo "$as_me:$LINENO: checking for $ac_func" >&5
40555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40556 if eval "test \"\${$as_ac_var+set}\" = set"; then
40557 echo $ECHO_N "(cached) $ECHO_C" >&6
40559 cat >conftest.
$ac_ext <<_ACEOF
40562 cat confdefs.h
>>conftest.
$ac_ext
40563 cat >>conftest.
$ac_ext <<_ACEOF
40564 /* end confdefs.h. */
40565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40567 #define $ac_func innocuous_$ac_func
40569 /* System header to define __stub macros and hopefully few prototypes,
40570 which can conflict with char $ac_func (); below.
40571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40572 <limits.h> exists even on freestanding compilers. */
40575 # include <limits.h>
40577 # include <assert.h>
40582 /* Override any gcc2 internal prototype to avoid an error. */
40587 /* We use char because int might match the return type of a gcc2
40588 builtin and then its argument prototype would still apply. */
40590 /* The GNU C library defines this for functions which it implements
40591 to always fail with ENOSYS. Some functions are actually named
40592 something starting with __ and the normal name is an alias. */
40593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40596 char (*f) () = $ac_func;
40605 return f != $ac_func;
40610 rm -f conftest.
$ac_objext conftest
$ac_exeext
40611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40612 (eval $ac_link) 2>conftest.er1
40614 grep -v '^ *+' conftest.er1
>conftest.err
40616 cat conftest.err
>&5
40617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40618 (exit $ac_status); } &&
40619 { ac_try
='test -z "$ac_cxx_werror_flag"
40620 || test ! -s conftest.err'
40621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40622 (eval $ac_try) 2>&5
40624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40625 (exit $ac_status); }; } &&
40626 { ac_try
='test -s conftest$ac_exeext'
40627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40628 (eval $ac_try) 2>&5
40630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40631 (exit $ac_status); }; }; then
40632 eval "$as_ac_var=yes"
40634 echo "$as_me: failed program was:" >&5
40635 sed 's/^/| /' conftest.
$ac_ext >&5
40637 eval "$as_ac_var=no"
40639 rm -f conftest.err conftest.
$ac_objext \
40640 conftest
$ac_exeext conftest.
$ac_ext
40642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40644 if test `eval echo '${'$as_ac_var'}'` = yes; then
40645 cat >>confdefs.h
<<_ACEOF
40646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40649 cat >>confdefs.h
<<\_ACEOF
40650 #define HAVE_DLOPEN 1
40657 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40658 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40659 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40662 ac_check_lib_save_LIBS
=$LIBS
40664 cat >conftest.
$ac_ext <<_ACEOF
40667 cat confdefs.h
>>conftest.
$ac_ext
40668 cat >>conftest.
$ac_ext <<_ACEOF
40669 /* end confdefs.h. */
40671 /* Override any gcc2 internal prototype to avoid an error. */
40675 /* We use char because int might match the return type of a gcc2
40676 builtin and then its argument prototype would still apply. */
40686 rm -f conftest.
$ac_objext conftest
$ac_exeext
40687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40688 (eval $ac_link) 2>conftest.er1
40690 grep -v '^ *+' conftest.er1
>conftest.err
40692 cat conftest.err
>&5
40693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40694 (exit $ac_status); } &&
40695 { ac_try
='test -z "$ac_cxx_werror_flag"
40696 || test ! -s conftest.err'
40697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40698 (eval $ac_try) 2>&5
40700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40701 (exit $ac_status); }; } &&
40702 { ac_try
='test -s conftest$ac_exeext'
40703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40704 (eval $ac_try) 2>&5
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); }; }; then
40708 ac_cv_lib_dl_dlopen
=yes
40710 echo "$as_me: failed program was:" >&5
40711 sed 's/^/| /' conftest.
$ac_ext >&5
40713 ac_cv_lib_dl_dlopen
=no
40715 rm -f conftest.err conftest.
$ac_objext \
40716 conftest
$ac_exeext conftest.
$ac_ext
40717 LIBS
=$ac_check_lib_save_LIBS
40719 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40720 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40721 if test $ac_cv_lib_dl_dlopen = yes; then
40723 cat >>confdefs.h
<<\_ACEOF
40724 #define HAVE_DLOPEN 1
40728 DL_LINK
=" -ldl$DL_LINK"
40733 for ac_func
in shl_load
40735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40736 echo "$as_me:$LINENO: checking for $ac_func" >&5
40737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40738 if eval "test \"\${$as_ac_var+set}\" = set"; then
40739 echo $ECHO_N "(cached) $ECHO_C" >&6
40741 cat >conftest.
$ac_ext <<_ACEOF
40744 cat confdefs.h
>>conftest.
$ac_ext
40745 cat >>conftest.
$ac_ext <<_ACEOF
40746 /* end confdefs.h. */
40747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40749 #define $ac_func innocuous_$ac_func
40751 /* System header to define __stub macros and hopefully few prototypes,
40752 which can conflict with char $ac_func (); below.
40753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40754 <limits.h> exists even on freestanding compilers. */
40757 # include <limits.h>
40759 # include <assert.h>
40764 /* Override any gcc2 internal prototype to avoid an error. */
40769 /* We use char because int might match the return type of a gcc2
40770 builtin and then its argument prototype would still apply. */
40772 /* The GNU C library defines this for functions which it implements
40773 to always fail with ENOSYS. Some functions are actually named
40774 something starting with __ and the normal name is an alias. */
40775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40778 char (*f) () = $ac_func;
40787 return f != $ac_func;
40792 rm -f conftest.
$ac_objext conftest
$ac_exeext
40793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40794 (eval $ac_link) 2>conftest.er1
40796 grep -v '^ *+' conftest.er1
>conftest.err
40798 cat conftest.err
>&5
40799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40800 (exit $ac_status); } &&
40801 { ac_try
='test -z "$ac_cxx_werror_flag"
40802 || test ! -s conftest.err'
40803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40804 (eval $ac_try) 2>&5
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); }; } &&
40808 { ac_try
='test -s conftest$ac_exeext'
40809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40810 (eval $ac_try) 2>&5
40812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40813 (exit $ac_status); }; }; then
40814 eval "$as_ac_var=yes"
40816 echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.
$ac_ext >&5
40819 eval "$as_ac_var=no"
40821 rm -f conftest.err conftest.
$ac_objext \
40822 conftest
$ac_exeext conftest.
$ac_ext
40824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40826 if test `eval echo '${'$as_ac_var'}'` = yes; then
40827 cat >>confdefs.h
<<_ACEOF
40828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40831 cat >>confdefs.h
<<\_ACEOF
40832 #define HAVE_SHL_LOAD 1
40839 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40840 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40841 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40844 ac_check_lib_save_LIBS
=$LIBS
40845 LIBS
="-lshl_load $LIBS"
40846 cat >conftest.
$ac_ext <<_ACEOF
40849 cat confdefs.h
>>conftest.
$ac_ext
40850 cat >>conftest.
$ac_ext <<_ACEOF
40851 /* end confdefs.h. */
40853 /* Override any gcc2 internal prototype to avoid an error. */
40857 /* We use char because int might match the return type of a gcc2
40858 builtin and then its argument prototype would still apply. */
40868 rm -f conftest.
$ac_objext conftest
$ac_exeext
40869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40870 (eval $ac_link) 2>conftest.er1
40872 grep -v '^ *+' conftest.er1
>conftest.err
40874 cat conftest.err
>&5
40875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40876 (exit $ac_status); } &&
40877 { ac_try
='test -z "$ac_cxx_werror_flag"
40878 || test ! -s conftest.err'
40879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40880 (eval $ac_try) 2>&5
40882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40883 (exit $ac_status); }; } &&
40884 { ac_try
='test -s conftest$ac_exeext'
40885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40886 (eval $ac_try) 2>&5
40888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40889 (exit $ac_status); }; }; then
40890 ac_cv_lib_shl_load_dld
=yes
40892 echo "$as_me: failed program was:" >&5
40893 sed 's/^/| /' conftest.
$ac_ext >&5
40895 ac_cv_lib_shl_load_dld
=no
40897 rm -f conftest.err conftest.
$ac_objext \
40898 conftest
$ac_exeext conftest.
$ac_ext
40899 LIBS
=$ac_check_lib_save_LIBS
40901 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40902 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40903 if test $ac_cv_lib_shl_load_dld = yes; then
40906 DL_LINK
=" -ldld$DL_LINK"
40922 if test "$HAVE_DL_FUNCS" = 1; then
40924 for ac_func
in dlerror
40926 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40927 echo "$as_me:$LINENO: checking for $ac_func" >&5
40928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40929 if eval "test \"\${$as_ac_var+set}\" = set"; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 cat >conftest.
$ac_ext <<_ACEOF
40935 cat confdefs.h
>>conftest.
$ac_ext
40936 cat >>conftest.
$ac_ext <<_ACEOF
40937 /* end confdefs.h. */
40938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40940 #define $ac_func innocuous_$ac_func
40942 /* System header to define __stub macros and hopefully few prototypes,
40943 which can conflict with char $ac_func (); below.
40944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40945 <limits.h> exists even on freestanding compilers. */
40948 # include <limits.h>
40950 # include <assert.h>
40955 /* Override any gcc2 internal prototype to avoid an error. */
40960 /* We use char because int might match the return type of a gcc2
40961 builtin and then its argument prototype would still apply. */
40963 /* The GNU C library defines this for functions which it implements
40964 to always fail with ENOSYS. Some functions are actually named
40965 something starting with __ and the normal name is an alias. */
40966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40969 char (*f) () = $ac_func;
40978 return f != $ac_func;
40983 rm -f conftest.
$ac_objext conftest
$ac_exeext
40984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40985 (eval $ac_link) 2>conftest.er1
40987 grep -v '^ *+' conftest.er1
>conftest.err
40989 cat conftest.err
>&5
40990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40991 (exit $ac_status); } &&
40992 { ac_try
='test -z "$ac_cxx_werror_flag"
40993 || test ! -s conftest.err'
40994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40995 (eval $ac_try) 2>&5
40997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998 (exit $ac_status); }; } &&
40999 { ac_try
='test -s conftest$ac_exeext'
41000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41001 (eval $ac_try) 2>&5
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); }; }; then
41005 eval "$as_ac_var=yes"
41007 echo "$as_me: failed program was:" >&5
41008 sed 's/^/| /' conftest.
$ac_ext >&5
41010 eval "$as_ac_var=no"
41012 rm -f conftest.err conftest.
$ac_objext \
41013 conftest
$ac_exeext conftest.
$ac_ext
41015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41017 if test `eval echo '${'$as_ac_var'}'` = yes; then
41018 cat >>confdefs.h
<<_ACEOF
41019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41021 cat >>confdefs.h
<<\_ACEOF
41022 #define HAVE_DLERROR 1
41027 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41028 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41029 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41030 echo $ECHO_N "(cached) $ECHO_C" >&6
41032 ac_check_lib_save_LIBS
=$LIBS
41034 cat >conftest.
$ac_ext <<_ACEOF
41037 cat confdefs.h
>>conftest.
$ac_ext
41038 cat >>conftest.
$ac_ext <<_ACEOF
41039 /* end confdefs.h. */
41041 /* Override any gcc2 internal prototype to avoid an error. */
41045 /* We use char because int might match the return type of a gcc2
41046 builtin and then its argument prototype would still apply. */
41056 rm -f conftest.
$ac_objext conftest
$ac_exeext
41057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41058 (eval $ac_link) 2>conftest.er1
41060 grep -v '^ *+' conftest.er1
>conftest.err
41062 cat conftest.err
>&5
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); } &&
41065 { ac_try
='test -z "$ac_cxx_werror_flag"
41066 || test ! -s conftest.err'
41067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41068 (eval $ac_try) 2>&5
41070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41071 (exit $ac_status); }; } &&
41072 { ac_try
='test -s conftest$ac_exeext'
41073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41074 (eval $ac_try) 2>&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); }; }; then
41078 ac_cv_lib_dl_dlerror
=yes
41080 echo "$as_me: failed program was:" >&5
41081 sed 's/^/| /' conftest.
$ac_ext >&5
41083 ac_cv_lib_dl_dlerror
=no
41085 rm -f conftest.err conftest.
$ac_objext \
41086 conftest
$ac_exeext conftest.
$ac_ext
41087 LIBS
=$ac_check_lib_save_LIBS
41089 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41090 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41091 if test $ac_cv_lib_dl_dlerror = yes; then
41092 cat >>confdefs.h
<<\_ACEOF
41093 #define HAVE_DLERROR 1
41106 if test "$HAVE_DL_FUNCS" = 0; then
41107 if test "$HAVE_SHL_FUNCS" = 0; then
41108 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41109 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41110 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41111 wxUSE_DYNAMIC_LOADER
=no
41112 wxUSE_DYNLIB_CLASS
=no
41114 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41115 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41122 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41123 cat >>confdefs.h
<<\_ACEOF
41124 #define wxUSE_DYNAMIC_LOADER 1
41128 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41129 cat >>confdefs.h
<<\_ACEOF
41130 #define wxUSE_DYNLIB_CLASS 1
41137 if test "$wxUSE_PLUGINS" = "yes" ; then
41138 if test "$wxUSE_SHARED" = "no" ; then
41139 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41140 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41143 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41144 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41145 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41148 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41149 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41150 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41153 if test "$wxUSE_PLUGINS" = "yes" ; then
41154 cat >>confdefs.h
<<\_ACEOF
41155 #define wxUSE_PLUGINS 1
41162 if test "$wxUSE_STL" = "yes"; then
41163 cat >>confdefs.h
<<\_ACEOF
41164 #define wxUSE_STL 1
41169 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41170 cat >>confdefs.h
<<\_ACEOF
41171 #define wxUSE_APPLE_IEEE 1
41176 if test "$wxUSE_TIMER" = "yes"; then
41177 cat >>confdefs.h
<<\_ACEOF
41178 #define wxUSE_TIMER 1
41183 if test "$USE_UNIX" = "1" ; then
41184 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
41185 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
41186 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41187 echo $ECHO_N "(cached) $ECHO_C" >&6
41190 cat >conftest.
$ac_ext <<_ACEOF
41193 cat confdefs.h
>>conftest.
$ac_ext
41194 cat >>conftest.
$ac_ext <<_ACEOF
41195 /* end confdefs.h. */
41197 #include <sys/soundcard.h>
41203 ioctl(0, SNDCTL_DSP_SYNC, 0);
41209 rm -f conftest.
$ac_objext conftest
$ac_exeext
41210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41211 (eval $ac_link) 2>conftest.er1
41213 grep -v '^ *+' conftest.er1
>conftest.err
41215 cat conftest.err
>&5
41216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217 (exit $ac_status); } &&
41218 { ac_try
='test -z "$ac_cxx_werror_flag"
41219 || test ! -s conftest.err'
41220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41221 (eval $ac_try) 2>&5
41223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41224 (exit $ac_status); }; } &&
41225 { ac_try
='test -s conftest$ac_exeext'
41226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41227 (eval $ac_try) 2>&5
41229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41230 (exit $ac_status); }; }; then
41231 ac_cv_header_sys_soundcard
=yes
41233 echo "$as_me: failed program was:" >&5
41234 sed 's/^/| /' conftest.
$ac_ext >&5
41238 LIBS
="$saveLibs -lossaudio"
41239 cat >conftest.
$ac_ext <<_ACEOF
41242 cat confdefs.h
>>conftest.
$ac_ext
41243 cat >>conftest.
$ac_ext <<_ACEOF
41244 /* end confdefs.h. */
41246 #include <sys/soundcard.h>
41252 ioctl(0, SNDCTL_DSP_SYNC, 0);
41258 rm -f conftest.
$ac_objext conftest
$ac_exeext
41259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41260 (eval $ac_link) 2>conftest.er1
41262 grep -v '^ *+' conftest.er1
>conftest.err
41264 cat conftest.err
>&5
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); } &&
41267 { ac_try
='test -z "$ac_cxx_werror_flag"
41268 || test ! -s conftest.err'
41269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41270 (eval $ac_try) 2>&5
41272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41273 (exit $ac_status); }; } &&
41274 { ac_try
='test -s conftest$ac_exeext'
41275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41276 (eval $ac_try) 2>&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); }; }; then
41280 ac_cv_header_sys_soundcard
=yes
41282 echo "$as_me: failed program was:" >&5
41283 sed 's/^/| /' conftest.
$ac_ext >&5
41287 ac_cv_header_sys_soundcard
=no
41291 rm -f conftest.err conftest.
$ac_objext \
41292 conftest
$ac_exeext conftest.
$ac_ext
41296 rm -f conftest.err conftest.
$ac_objext \
41297 conftest
$ac_exeext conftest.
$ac_ext
41300 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41301 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41303 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41304 cat >>confdefs.h
<<\_ACEOF
41305 #define HAVE_SYS_SOUNDCARD_H 1
41309 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
41313 if test "$wxUSE_SOUND" = "yes"; then
41314 if test "$USE_UNIX" = "1" ; then
41315 if test "$wxUSE_LIBSDL" != "no"; then
41317 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41318 if test "${with_sdl_prefix+set}" = set; then
41319 withval
="$with_sdl_prefix"
41320 sdl_prefix
="$withval"
41325 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41326 if test "${with_sdl_exec_prefix+set}" = set; then
41327 withval
="$with_sdl_exec_prefix"
41328 sdl_exec_prefix
="$withval"
41332 # Check whether --enable-sdltest or --disable-sdltest was given.
41333 if test "${enable_sdltest+set}" = set; then
41334 enableval
="$enable_sdltest"
41340 if test x
$sdl_exec_prefix != x
; then
41341 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41342 if test x
${SDL_CONFIG+set} != xset
; then
41343 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41346 if test x
$sdl_prefix != x
; then
41347 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41348 if test x
${SDL_CONFIG+set} != xset
; then
41349 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41354 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41355 # Extract the first word of "sdl-config", so it can be a program name with args.
41356 set dummy sdl
-config; ac_word
=$2
41357 echo "$as_me:$LINENO: checking for $ac_word" >&5
41358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41359 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41360 echo $ECHO_N "(cached) $ECHO_C" >&6
41362 case $SDL_CONFIG in
41364 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41368 for as_dir
in $PATH
41371 test -z "$as_dir" && as_dir
=.
41372 for ac_exec_ext
in '' $ac_executable_extensions; do
41373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41374 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41381 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41385 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41387 if test -n "$SDL_CONFIG"; then
41388 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41389 echo "${ECHO_T}$SDL_CONFIG" >&6
41391 echo "$as_me:$LINENO: result: no" >&5
41392 echo "${ECHO_T}no" >&6
41395 min_sdl_version
=1.2.0
41396 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41397 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41399 if test "$SDL_CONFIG" = "no" ; then
41402 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41403 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41405 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41406 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41407 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41408 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41409 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41410 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41411 if test "x$enable_sdltest" = "xyes" ; then
41412 ac_save_CFLAGS
="$CFLAGS"
41413 ac_save_CXXFLAGS
="$CXXFLAGS"
41414 ac_save_LIBS
="$LIBS"
41415 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41416 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41417 LIBS
="$LIBS $SDL_LIBS"
41419 if test "$cross_compiling" = yes; then
41420 echo $ac_n "cross compiling; assumed OK... $ac_c"
41422 cat >conftest.
$ac_ext <<_ACEOF
41425 cat confdefs.h
>>conftest.
$ac_ext
41426 cat >>conftest.
$ac_ext <<_ACEOF
41427 /* end confdefs.h. */
41430 #include <stdlib.h>
41431 #include <string.h>
41435 my_strdup (char *str)
41441 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41442 strcpy (new_str, str);
41450 int main (int argc, char *argv[])
41452 int major, minor, micro;
41455 /* This hangs on some systems (?)
41456 system ("touch conf.sdltest");
41458 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41460 /* HP/UX 9 (%@#!) writes to sscanf strings */
41461 tmp_version = my_strdup("$min_sdl_version");
41462 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41463 printf("%s, bad version string\n", "$min_sdl_version");
41467 if (($sdl_major_version > major) ||
41468 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41469 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41475 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41476 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41477 printf("*** best to upgrade to the required version.\n");
41478 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41479 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41480 printf("*** config.cache before re-running configure\n");
41487 rm -f conftest
$ac_exeext
41488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41489 (eval $ac_link) 2>&5
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41494 (eval $ac_try) 2>&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); }; }; then
41500 echo "$as_me: program exited with status $ac_status" >&5
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.
$ac_ext >&5
41504 ( exit $ac_status )
41507 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41509 CFLAGS
="$ac_save_CFLAGS"
41510 CXXFLAGS
="$ac_save_CXXFLAGS"
41511 LIBS
="$ac_save_LIBS"
41514 if test "x$no_sdl" = x
; then
41515 echo "$as_me:$LINENO: result: yes" >&5
41516 echo "${ECHO_T}yes" >&6
41518 EXTRALIBS_SDL
="$SDL_LIBS"
41519 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41520 cat >>confdefs.h
<<\_ACEOF
41521 #define wxUSE_LIBSDL 1
41526 echo "$as_me:$LINENO: result: no" >&5
41527 echo "${ECHO_T}no" >&6
41528 if test "$SDL_CONFIG" = "no" ; then
41529 echo "*** The sdl-config script installed by SDL could not be found"
41530 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41531 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41532 echo "*** full path to sdl-config."
41534 if test -f conf.sdltest
; then
41537 echo "*** Could not run SDL test program, checking why..."
41538 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41539 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41540 LIBS
="$LIBS $SDL_LIBS"
41541 cat >conftest.
$ac_ext <<_ACEOF
41544 cat confdefs.h
>>conftest.
$ac_ext
41545 cat >>conftest.
$ac_ext <<_ACEOF
41546 /* end confdefs.h. */
41551 int main(int argc, char *argv[])
41554 #define main K_and_R_C_main
41564 rm -f conftest.
$ac_objext conftest
$ac_exeext
41565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41566 (eval $ac_link) 2>conftest.er1
41568 grep -v '^ *+' conftest.er1
>conftest.err
41570 cat conftest.err
>&5
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); } &&
41573 { ac_try
='test -z "$ac_cxx_werror_flag"
41574 || test ! -s conftest.err'
41575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41576 (eval $ac_try) 2>&5
41578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41579 (exit $ac_status); }; } &&
41580 { ac_try
='test -s conftest$ac_exeext'
41581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582 (eval $ac_try) 2>&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); }; }; then
41586 echo "*** The test program compiled, but did not run. This usually means"
41587 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41588 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41589 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41590 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41591 echo "*** is required on your system"
41593 echo "*** If you have an old version installed, it is best to remove it, although"
41594 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41596 echo "$as_me: failed program was:" >&5
41597 sed 's/^/| /' conftest.
$ac_ext >&5
41599 echo "*** The test program failed to compile or link. See the file config.log for the"
41600 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41601 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41602 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41604 rm -f conftest.err conftest.
$ac_objext \
41605 conftest
$ac_exeext conftest.
$ac_ext
41606 CFLAGS
="$ac_save_CFLAGS"
41607 CXXFLAGS
="$ac_save_CXXFLAGS"
41608 LIBS
="$ac_save_LIBS"
41619 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41625 cat >>confdefs.h
<<\_ACEOF
41626 #define wxUSE_SOUND 1
41629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41632 if test "$WXGTK20" = 1; then
41633 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41634 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41639 if test -z "$PKG_CONFIG"; then
41640 # Extract the first word of "pkg-config", so it can be a program name with args.
41641 set dummy pkg
-config; ac_word
=$2
41642 echo "$as_me:$LINENO: checking for $ac_word" >&5
41643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41644 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41645 echo $ECHO_N "(cached) $ECHO_C" >&6
41647 case $PKG_CONFIG in
41649 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41653 for as_dir
in $PATH
41656 test -z "$as_dir" && as_dir
=.
41657 for ac_exec_ext
in '' $ac_executable_extensions; do
41658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41659 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41666 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41670 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41672 if test -n "$PKG_CONFIG"; then
41673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41674 echo "${ECHO_T}$PKG_CONFIG" >&6
41676 echo "$as_me:$LINENO: result: no" >&5
41677 echo "${ECHO_T}no" >&6
41682 if test "$PKG_CONFIG" = "no" ; then
41683 echo "*** The pkg-config script could not be found. Make sure it is"
41684 echo "*** in your path, or set the PKG_CONFIG environment variable"
41685 echo "*** to the full path to pkg-config."
41686 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41688 PKG_CONFIG_MIN_VERSION
=0.9.0
41689 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41690 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41691 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41693 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41694 echo "$as_me:$LINENO: result: yes" >&5
41695 echo "${ECHO_T}yes" >&6
41698 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41699 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41700 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41701 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41702 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41704 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41705 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41706 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41707 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41708 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41710 LIBGNOMEPRINTUI_CFLAGS
=""
41711 LIBGNOMEPRINTUI_LIBS
=""
41712 ## If we have a custom action on failure, don't print errors, but
41713 ## do set a variable so people can do so.
41714 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41721 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41722 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41726 if test $succeeded = yes; then
41728 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41729 cat >>confdefs.h
<<\_ACEOF
41730 #define wxUSE_LIBGNOMEPRINT 1
41736 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41737 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41738 wxUSE_LIBGNOMEPRINT
="no"
41747 if test "$WXGTK20" = 1; then
41748 if test "$wxUSE_MIMETYPE" = "yes" ; then
41749 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41754 if test -z "$PKG_CONFIG"; then
41755 # Extract the first word of "pkg-config", so it can be a program name with args.
41756 set dummy pkg
-config; ac_word
=$2
41757 echo "$as_me:$LINENO: checking for $ac_word" >&5
41758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41759 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41760 echo $ECHO_N "(cached) $ECHO_C" >&6
41762 case $PKG_CONFIG in
41764 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41768 for as_dir
in $PATH
41771 test -z "$as_dir" && as_dir
=.
41772 for ac_exec_ext
in '' $ac_executable_extensions; do
41773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41774 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41781 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41785 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41787 if test -n "$PKG_CONFIG"; then
41788 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41789 echo "${ECHO_T}$PKG_CONFIG" >&6
41791 echo "$as_me:$LINENO: result: no" >&5
41792 echo "${ECHO_T}no" >&6
41797 if test "$PKG_CONFIG" = "no" ; then
41798 echo "*** The pkg-config script could not be found. Make sure it is"
41799 echo "*** in your path, or set the PKG_CONFIG environment variable"
41800 echo "*** to the full path to pkg-config."
41801 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41803 PKG_CONFIG_MIN_VERSION
=0.9.0
41804 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41805 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41806 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41808 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41809 echo "$as_me:$LINENO: result: yes" >&5
41810 echo "${ECHO_T}yes" >&6
41813 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41814 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41815 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41816 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41817 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41819 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41820 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41821 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41822 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41823 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41827 ## If we have a custom action on failure, don't print errors, but
41828 ## do set a variable so people can do so.
41829 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41836 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41837 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41841 if test $succeeded = yes; then
41843 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41844 cat >>confdefs.h
<<\_ACEOF
41845 #define wxUSE_LIBGNOMEVFS 1
41851 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41852 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41853 wxUSE_LIBGNOMEVFS
="no"
41862 if test "$WXGTK20" = 1; then
41863 if test "$wxUSE_LIBHILDON" = "yes" ; then
41867 if test -z "$PKG_CONFIG"; then
41868 # Extract the first word of "pkg-config", so it can be a program name with args.
41869 set dummy pkg
-config; ac_word
=$2
41870 echo "$as_me:$LINENO: checking for $ac_word" >&5
41871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41872 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41873 echo $ECHO_N "(cached) $ECHO_C" >&6
41875 case $PKG_CONFIG in
41877 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41881 for as_dir
in $PATH
41884 test -z "$as_dir" && as_dir
=.
41885 for ac_exec_ext
in '' $ac_executable_extensions; do
41886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41887 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41894 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41898 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41900 if test -n "$PKG_CONFIG"; then
41901 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41902 echo "${ECHO_T}$PKG_CONFIG" >&6
41904 echo "$as_me:$LINENO: result: no" >&5
41905 echo "${ECHO_T}no" >&6
41910 if test "$PKG_CONFIG" = "no" ; then
41911 echo "*** The pkg-config script could not be found. Make sure it is"
41912 echo "*** in your path, or set the PKG_CONFIG environment variable"
41913 echo "*** to the full path to pkg-config."
41914 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41916 PKG_CONFIG_MIN_VERSION
=0.9.0
41917 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41918 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41919 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41921 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41922 echo "$as_me:$LINENO: result: yes" >&5
41923 echo "${ECHO_T}yes" >&6
41926 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41927 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41928 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41929 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41930 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41932 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41933 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41934 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41935 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41936 echo "${ECHO_T}$HILDON_LIBS" >&6
41940 ## If we have a custom action on failure, don't print errors, but
41941 ## do set a variable so people can do so.
41942 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41949 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41950 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41954 if test $succeeded = yes; then
41956 EXTRALIBS_HILDON
="$HILDON_LIBS"
41957 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41958 cat >>confdefs.h
<<\_ACEOF
41959 #define wxUSE_LIBHILDON 1
41965 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41966 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41967 wxUSE_LIBHILDON
="no"
41975 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41976 cat >>confdefs.h
<<\_ACEOF
41977 #define wxUSE_CMDLINE_PARSER 1
41982 if test "$wxUSE_STOPWATCH" = "yes"; then
41983 cat >>confdefs.h
<<\_ACEOF
41984 #define wxUSE_STOPWATCH 1
41989 if test "$wxUSE_DATETIME" = "yes"; then
41990 cat >>confdefs.h
<<\_ACEOF
41991 #define wxUSE_DATETIME 1
41996 if test "$wxUSE_FILE" = "yes"; then
41997 cat >>confdefs.h
<<\_ACEOF
41998 #define wxUSE_FILE 1
42003 if test "$wxUSE_FFILE" = "yes"; then
42004 cat >>confdefs.h
<<\_ACEOF
42005 #define wxUSE_FFILE 1
42010 if test "$wxUSE_FILESYSTEM" = "yes"; then
42011 cat >>confdefs.h
<<\_ACEOF
42012 #define wxUSE_FILESYSTEM 1
42017 if test "$wxUSE_FS_ZIP" = "yes"; then
42018 cat >>confdefs.h
<<\_ACEOF
42019 #define wxUSE_FS_ZIP 1
42024 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42025 cat >>confdefs.h
<<\_ACEOF
42026 #define wxUSE_ARCHIVE_STREAMS 1
42031 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42032 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42033 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42034 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42035 elif test "$wxUSE_ZLIB" = "no"; then
42036 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42037 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42039 cat >>confdefs.h
<<\_ACEOF
42040 #define wxUSE_ZIPSTREAM 1
42046 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42047 if test "$USE_UNIX" != 1; then
42048 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42049 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42050 wxUSE_ON_FATAL_EXCEPTION
=no
42052 cat >>confdefs.h
<<\_ACEOF
42053 #define wxUSE_ON_FATAL_EXCEPTION 1
42059 if test "$wxUSE_STACKWALKER" = "yes"; then
42060 cat >>confdefs.h
<<\_ACEOF
42061 #define wxUSE_STACKWALKER 1
42066 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42067 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42068 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42069 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42070 wxUSE_DEBUGREPORT
=no
42072 cat >>confdefs.h
<<\_ACEOF
42073 #define wxUSE_DEBUGREPORT 1
42076 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42082 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42083 cat >>confdefs.h
<<\_ACEOF
42084 #define wxUSE_SNGLINST_CHECKER 1
42089 if test "$wxUSE_BUSYINFO" = "yes"; then
42090 cat >>confdefs.h
<<\_ACEOF
42091 #define wxUSE_BUSYINFO 1
42096 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42097 cat >>confdefs.h
<<\_ACEOF
42098 #define wxUSE_STD_IOSTREAM 1
42103 if test "$wxUSE_STD_STRING" = "yes"; then
42104 cat >>confdefs.h
<<\_ACEOF
42105 #define wxUSE_STD_STRING 1
42110 if test "$wxUSE_STDPATHS" = "yes"; then
42111 cat >>confdefs.h
<<\_ACEOF
42112 #define wxUSE_STDPATHS 1
42117 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42118 cat >>confdefs.h
<<\_ACEOF
42119 #define wxUSE_TEXTBUFFER 1
42124 if test "$wxUSE_TEXTFILE" = "yes"; then
42125 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42126 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42127 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42129 cat >>confdefs.h
<<\_ACEOF
42130 #define wxUSE_TEXTFILE 1
42136 if test "$wxUSE_CONFIG" = "yes" ; then
42137 if test "$wxUSE_TEXTFILE" != "yes"; then
42138 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42139 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42141 cat >>confdefs.h
<<\_ACEOF
42142 #define wxUSE_CONFIG 1
42145 cat >>confdefs.h
<<\_ACEOF
42146 #define wxUSE_CONFIG_NATIVE 1
42149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42153 if test "$wxUSE_INTL" = "yes" ; then
42154 if test "$wxUSE_FILE" != "yes"; then
42155 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42156 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42158 cat >>confdefs.h
<<\_ACEOF
42159 #define wxUSE_INTL 1
42162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42163 GUIDIST
="$GUIDIST INTL_DIST"
42167 if test "$wxUSE_LOG" = "yes"; then
42168 cat >>confdefs.h
<<\_ACEOF
42169 #define wxUSE_LOG 1
42173 if test "$wxUSE_LOGGUI" = "yes"; then
42174 cat >>confdefs.h
<<\_ACEOF
42175 #define wxUSE_LOGGUI 1
42180 if test "$wxUSE_LOGWINDOW" = "yes"; then
42181 cat >>confdefs.h
<<\_ACEOF
42182 #define wxUSE_LOGWINDOW 1
42187 if test "$wxUSE_LOGDIALOG" = "yes"; then
42188 cat >>confdefs.h
<<\_ACEOF
42189 #define wxUSE_LOG_DIALOG 1
42194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42197 if test "$wxUSE_LONGLONG" = "yes"; then
42198 cat >>confdefs.h
<<\_ACEOF
42199 #define wxUSE_LONGLONG 1
42204 if test "$wxUSE_GEOMETRY" = "yes"; then
42205 cat >>confdefs.h
<<\_ACEOF
42206 #define wxUSE_GEOMETRY 1
42211 if test "$wxUSE_STREAMS" = "yes" ; then
42212 cat >>confdefs.h
<<\_ACEOF
42213 #define wxUSE_STREAMS 1
42218 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42219 cat >>confdefs.h
<<\_ACEOF
42220 #define wxUSE_PRINTF_POS_PARAMS 1
42227 if test "$wxUSE_DATETIME" = "yes"; then
42229 for ac_func
in strptime
42231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42232 echo "$as_me:$LINENO: checking for $ac_func" >&5
42233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42234 if eval "test \"\${$as_ac_var+set}\" = set"; then
42235 echo $ECHO_N "(cached) $ECHO_C" >&6
42237 cat >conftest.
$ac_ext <<_ACEOF
42240 cat confdefs.h
>>conftest.
$ac_ext
42241 cat >>conftest.
$ac_ext <<_ACEOF
42242 /* end confdefs.h. */
42243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42245 #define $ac_func innocuous_$ac_func
42247 /* System header to define __stub macros and hopefully few prototypes,
42248 which can conflict with char $ac_func (); below.
42249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42250 <limits.h> exists even on freestanding compilers. */
42253 # include <limits.h>
42255 # include <assert.h>
42260 /* Override any gcc2 internal prototype to avoid an error. */
42265 /* We use char because int might match the return type of a gcc2
42266 builtin and then its argument prototype would still apply. */
42268 /* The GNU C library defines this for functions which it implements
42269 to always fail with ENOSYS. Some functions are actually named
42270 something starting with __ and the normal name is an alias. */
42271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42274 char (*f) () = $ac_func;
42283 return f != $ac_func;
42288 rm -f conftest.
$ac_objext conftest
$ac_exeext
42289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42290 (eval $ac_link) 2>conftest.er1
42292 grep -v '^ *+' conftest.er1
>conftest.err
42294 cat conftest.err
>&5
42295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42296 (exit $ac_status); } &&
42297 { ac_try
='test -z "$ac_cxx_werror_flag"
42298 || test ! -s conftest.err'
42299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42300 (eval $ac_try) 2>&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); }; } &&
42304 { ac_try
='test -s conftest$ac_exeext'
42305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42306 (eval $ac_try) 2>&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); }; }; then
42310 eval "$as_ac_var=yes"
42312 echo "$as_me: failed program was:" >&5
42313 sed 's/^/| /' conftest.
$ac_ext >&5
42315 eval "$as_ac_var=no"
42317 rm -f conftest.err conftest.
$ac_objext \
42318 conftest
$ac_exeext conftest.
$ac_ext
42320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42322 if test `eval echo '${'$as_ac_var'}'` = yes; then
42323 cat >>confdefs.h
<<_ACEOF
42324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42330 if test "$ac_cv_func_strptime" = "yes"; then
42331 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42332 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42333 if test "${wx_cv_func_strptime_decl+set}" = set; then
42334 echo $ECHO_N "(cached) $ECHO_C" >&6
42337 cat >conftest.
$ac_ext <<_ACEOF
42340 cat confdefs.h
>>conftest.
$ac_ext
42341 cat >>conftest.
$ac_ext <<_ACEOF
42342 /* end confdefs.h. */
42351 strptime("foo", "bar", &t);
42357 rm -f conftest.
$ac_objext
42358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42359 (eval $ac_compile) 2>conftest.er1
42361 grep -v '^ *+' conftest.er1
>conftest.err
42363 cat conftest.err
>&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); } &&
42366 { ac_try
='test -z "$ac_cxx_werror_flag"
42367 || test ! -s conftest.err'
42368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42369 (eval $ac_try) 2>&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); }; } &&
42373 { ac_try
='test -s conftest.$ac_objext'
42374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42375 (eval $ac_try) 2>&5
42377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); }; }; then
42379 wx_cv_func_strptime_decl
=yes
42381 echo "$as_me: failed program was:" >&5
42382 sed 's/^/| /' conftest.
$ac_ext >&5
42384 wx_cv_func_strptime_decl
=no
42387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42391 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42392 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42394 if test "$wx_cv_func_strptime_decl" = "yes"; then
42395 cat >>confdefs.h
<<\_ACEOF
42396 #define HAVE_STRPTIME_DECL 1
42401 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42402 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42403 if test "${wx_cv_var_timezone+set}" = set; then
42404 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 cat >conftest.
$ac_ext <<_ACEOF
42410 cat confdefs.h
>>conftest.
$ac_ext
42411 cat >>conftest.
$ac_ext <<_ACEOF
42412 /* end confdefs.h. */
42427 rm -f conftest.
$ac_objext
42428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42429 (eval $ac_compile) 2>conftest.er1
42431 grep -v '^ *+' conftest.er1
>conftest.err
42433 cat conftest.err
>&5
42434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435 (exit $ac_status); } &&
42436 { ac_try
='test -z "$ac_cxx_werror_flag"
42437 || test ! -s conftest.err'
42438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42439 (eval $ac_try) 2>&5
42441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42442 (exit $ac_status); }; } &&
42443 { ac_try
='test -s conftest.$ac_objext'
42444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42445 (eval $ac_try) 2>&5
42447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42448 (exit $ac_status); }; }; then
42450 wx_cv_var_timezone
=timezone
42453 echo "$as_me: failed program was:" >&5
42454 sed 's/^/| /' conftest.
$ac_ext >&5
42457 cat >conftest.
$ac_ext <<_ACEOF
42460 cat confdefs.h
>>conftest.
$ac_ext
42461 cat >>conftest.
$ac_ext <<_ACEOF
42462 /* end confdefs.h. */
42477 rm -f conftest.
$ac_objext
42478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42479 (eval $ac_compile) 2>conftest.er1
42481 grep -v '^ *+' conftest.er1
>conftest.err
42483 cat conftest.err
>&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); } &&
42486 { ac_try
='test -z "$ac_cxx_werror_flag"
42487 || test ! -s conftest.err'
42488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42489 (eval $ac_try) 2>&5
42491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42492 (exit $ac_status); }; } &&
42493 { ac_try
='test -s conftest.$ac_objext'
42494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42495 (eval $ac_try) 2>&5
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); }; }; then
42500 wx_cv_var_timezone
=_timezone
42503 echo "$as_me: failed program was:" >&5
42504 sed 's/^/| /' conftest.
$ac_ext >&5
42507 cat >conftest.
$ac_ext <<_ACEOF
42510 cat confdefs.h
>>conftest.
$ac_ext
42511 cat >>conftest.
$ac_ext <<_ACEOF
42512 /* end confdefs.h. */
42527 rm -f conftest.
$ac_objext
42528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42529 (eval $ac_compile) 2>conftest.er1
42531 grep -v '^ *+' conftest.er1
>conftest.err
42533 cat conftest.err
>&5
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); } &&
42536 { ac_try
='test -z "$ac_cxx_werror_flag"
42537 || test ! -s conftest.err'
42538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42539 (eval $ac_try) 2>&5
42541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); }; } &&
42543 { ac_try
='test -s conftest.$ac_objext'
42544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42545 (eval $ac_try) 2>&5
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); }; }; then
42550 wx_cv_var_timezone
=__timezone
42553 echo "$as_me: failed program was:" >&5
42554 sed 's/^/| /' conftest.
$ac_ext >&5
42557 if test "$USE_DOS" = 0 ; then
42558 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42559 echo "$as_me: WARNING: no timezone variable" >&2;}
42564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42576 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42577 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42579 if test "x$wx_cv_var_timezone" != x
; then
42580 cat >>confdefs.h
<<_ACEOF
42581 #define WX_TIMEZONE $wx_cv_var_timezone
42587 for ac_func
in localtime
42589 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42590 echo "$as_me:$LINENO: checking for $ac_func" >&5
42591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42592 if eval "test \"\${$as_ac_var+set}\" = set"; then
42593 echo $ECHO_N "(cached) $ECHO_C" >&6
42595 cat >conftest.
$ac_ext <<_ACEOF
42598 cat confdefs.h
>>conftest.
$ac_ext
42599 cat >>conftest.
$ac_ext <<_ACEOF
42600 /* end confdefs.h. */
42601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42603 #define $ac_func innocuous_$ac_func
42605 /* System header to define __stub macros and hopefully few prototypes,
42606 which can conflict with char $ac_func (); below.
42607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42608 <limits.h> exists even on freestanding compilers. */
42611 # include <limits.h>
42613 # include <assert.h>
42618 /* Override any gcc2 internal prototype to avoid an error. */
42623 /* We use char because int might match the return type of a gcc2
42624 builtin and then its argument prototype would still apply. */
42626 /* The GNU C library defines this for functions which it implements
42627 to always fail with ENOSYS. Some functions are actually named
42628 something starting with __ and the normal name is an alias. */
42629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42632 char (*f) () = $ac_func;
42641 return f != $ac_func;
42646 rm -f conftest.
$ac_objext conftest
$ac_exeext
42647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42648 (eval $ac_link) 2>conftest.er1
42650 grep -v '^ *+' conftest.er1
>conftest.err
42652 cat conftest.err
>&5
42653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42654 (exit $ac_status); } &&
42655 { ac_try
='test -z "$ac_cxx_werror_flag"
42656 || test ! -s conftest.err'
42657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42658 (eval $ac_try) 2>&5
42660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42661 (exit $ac_status); }; } &&
42662 { ac_try
='test -s conftest$ac_exeext'
42663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42664 (eval $ac_try) 2>&5
42666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42667 (exit $ac_status); }; }; then
42668 eval "$as_ac_var=yes"
42670 echo "$as_me: failed program was:" >&5
42671 sed 's/^/| /' conftest.
$ac_ext >&5
42673 eval "$as_ac_var=no"
42675 rm -f conftest.err conftest.
$ac_objext \
42676 conftest
$ac_exeext conftest.
$ac_ext
42678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42680 if test `eval echo '${'$as_ac_var'}'` = yes; then
42681 cat >>confdefs.h
<<_ACEOF
42682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42689 if test "$ac_cv_func_localtime" = "yes"; then
42690 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42691 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42692 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42693 echo $ECHO_N "(cached) $ECHO_C" >&6
42696 cat >conftest.
$ac_ext <<_ACEOF
42699 cat confdefs.h
>>conftest.
$ac_ext
42700 cat >>conftest.
$ac_ext <<_ACEOF
42701 /* end confdefs.h. */
42716 rm -f conftest.
$ac_objext
42717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42718 (eval $ac_compile) 2>conftest.er1
42720 grep -v '^ *+' conftest.er1
>conftest.err
42722 cat conftest.err
>&5
42723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42724 (exit $ac_status); } &&
42725 { ac_try
='test -z "$ac_cxx_werror_flag"
42726 || test ! -s conftest.err'
42727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42728 (eval $ac_try) 2>&5
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; } &&
42732 { ac_try
='test -s conftest.$ac_objext'
42733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42734 (eval $ac_try) 2>&5
42736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42737 (exit $ac_status); }; }; then
42739 wx_cv_struct_tm_has_gmtoff
=yes
42742 echo "$as_me: failed program was:" >&5
42743 sed 's/^/| /' conftest.
$ac_ext >&5
42745 wx_cv_struct_tm_has_gmtoff
=no
42748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42751 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42752 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42755 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42756 cat >>confdefs.h
<<\_ACEOF
42757 #define WX_GMTOFF_IN_TM 1
42764 for ac_func
in gettimeofday ftime
42766 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42767 echo "$as_me:$LINENO: checking for $ac_func" >&5
42768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42769 if eval "test \"\${$as_ac_var+set}\" = set"; then
42770 echo $ECHO_N "(cached) $ECHO_C" >&6
42772 cat >conftest.
$ac_ext <<_ACEOF
42775 cat confdefs.h
>>conftest.
$ac_ext
42776 cat >>conftest.
$ac_ext <<_ACEOF
42777 /* end confdefs.h. */
42778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42780 #define $ac_func innocuous_$ac_func
42782 /* System header to define __stub macros and hopefully few prototypes,
42783 which can conflict with char $ac_func (); below.
42784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42785 <limits.h> exists even on freestanding compilers. */
42788 # include <limits.h>
42790 # include <assert.h>
42795 /* Override any gcc2 internal prototype to avoid an error. */
42800 /* We use char because int might match the return type of a gcc2
42801 builtin and then its argument prototype would still apply. */
42803 /* The GNU C library defines this for functions which it implements
42804 to always fail with ENOSYS. Some functions are actually named
42805 something starting with __ and the normal name is an alias. */
42806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42809 char (*f) () = $ac_func;
42818 return f != $ac_func;
42823 rm -f conftest.
$ac_objext conftest
$ac_exeext
42824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42825 (eval $ac_link) 2>conftest.er1
42827 grep -v '^ *+' conftest.er1
>conftest.err
42829 cat conftest.err
>&5
42830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42831 (exit $ac_status); } &&
42832 { ac_try
='test -z "$ac_cxx_werror_flag"
42833 || test ! -s conftest.err'
42834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42835 (eval $ac_try) 2>&5
42837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42838 (exit $ac_status); }; } &&
42839 { ac_try
='test -s conftest$ac_exeext'
42840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42841 (eval $ac_try) 2>&5
42843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844 (exit $ac_status); }; }; then
42845 eval "$as_ac_var=yes"
42847 echo "$as_me: failed program was:" >&5
42848 sed 's/^/| /' conftest.
$ac_ext >&5
42850 eval "$as_ac_var=no"
42852 rm -f conftest.err conftest.
$ac_objext \
42853 conftest
$ac_exeext conftest.
$ac_ext
42855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42857 if test `eval echo '${'$as_ac_var'}'` = yes; then
42858 cat >>confdefs.h
<<_ACEOF
42859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42866 if test "$ac_cv_func_gettimeofday" = "yes"; then
42867 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42868 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42869 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42870 echo $ECHO_N "(cached) $ECHO_C" >&6
42873 cat >conftest.
$ac_ext <<_ACEOF
42876 cat confdefs.h
>>conftest.
$ac_ext
42877 cat >>conftest.
$ac_ext <<_ACEOF
42878 /* end confdefs.h. */
42880 #include <sys/time.h>
42881 #include <unistd.h>
42888 gettimeofday(&tv, NULL);
42894 rm -f conftest.
$ac_objext
42895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42896 (eval $ac_compile) 2>conftest.er1
42898 grep -v '^ *+' conftest.er1
>conftest.err
42900 cat conftest.err
>&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); } &&
42903 { ac_try
='test -z "$ac_cxx_werror_flag"
42904 || test ! -s conftest.err'
42905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42906 (eval $ac_try) 2>&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); }; } &&
42910 { ac_try
='test -s conftest.$ac_objext'
42911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42912 (eval $ac_try) 2>&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); }; }; then
42916 wx_cv_func_gettimeofday_has_2_args
=yes
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.
$ac_ext >&5
42921 cat >conftest.
$ac_ext <<_ACEOF
42924 cat confdefs.h
>>conftest.
$ac_ext
42925 cat >>conftest.
$ac_ext <<_ACEOF
42926 /* end confdefs.h. */
42928 #include <sys/time.h>
42929 #include <unistd.h>
42942 rm -f conftest.
$ac_objext
42943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42944 (eval $ac_compile) 2>conftest.er1
42946 grep -v '^ *+' conftest.er1
>conftest.err
42948 cat conftest.err
>&5
42949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42950 (exit $ac_status); } &&
42951 { ac_try
='test -z "$ac_cxx_werror_flag"
42952 || test ! -s conftest.err'
42953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42954 (eval $ac_try) 2>&5
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); }; } &&
42958 { ac_try
='test -s conftest.$ac_objext'
42959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42960 (eval $ac_try) 2>&5
42962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42963 (exit $ac_status); }; }; then
42964 wx_cv_func_gettimeofday_has_2_args
=no
42966 echo "$as_me: failed program was:" >&5
42967 sed 's/^/| /' conftest.
$ac_ext >&5
42970 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42971 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42972 wx_cv_func_gettimeofday_has_2_args
=unknown
42976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42982 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42983 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42985 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42986 cat >>confdefs.h
<<\_ACEOF
42987 #define WX_GETTIMEOFDAY_NO_TZ 1
42993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42997 if test "$wxUSE_SOCKETS" = "yes"; then
42998 if test "$wxUSE_MGL" = "1"; then
42999 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43000 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43005 if test "$wxUSE_SOCKETS" = "yes"; then
43006 if test "$TOOLKIT" != "MSW"; then
43007 echo "$as_me:$LINENO: checking for socket" >&5
43008 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43009 if test "${ac_cv_func_socket+set}" = set; then
43010 echo $ECHO_N "(cached) $ECHO_C" >&6
43012 cat >conftest.
$ac_ext <<_ACEOF
43015 cat confdefs.h
>>conftest.
$ac_ext
43016 cat >>conftest.
$ac_ext <<_ACEOF
43017 /* end confdefs.h. */
43018 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43020 #define socket innocuous_socket
43022 /* System header to define __stub macros and hopefully few prototypes,
43023 which can conflict with char socket (); below.
43024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43025 <limits.h> exists even on freestanding compilers. */
43028 # include <limits.h>
43030 # include <assert.h>
43035 /* Override any gcc2 internal prototype to avoid an error. */
43040 /* We use char because int might match the return type of a gcc2
43041 builtin and then its argument prototype would still apply. */
43043 /* The GNU C library defines this for functions which it implements
43044 to always fail with ENOSYS. Some functions are actually named
43045 something starting with __ and the normal name is an alias. */
43046 #if defined (__stub_socket) || defined (__stub___socket)
43049 char (*f) () = socket;
43058 return f != socket;
43063 rm -f conftest.
$ac_objext conftest
$ac_exeext
43064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43065 (eval $ac_link) 2>conftest.er1
43067 grep -v '^ *+' conftest.er1
>conftest.err
43069 cat conftest.err
>&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); } &&
43072 { ac_try
='test -z "$ac_cxx_werror_flag"
43073 || test ! -s conftest.err'
43074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43075 (eval $ac_try) 2>&5
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); }; } &&
43079 { ac_try
='test -s conftest$ac_exeext'
43080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43081 (eval $ac_try) 2>&5
43083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084 (exit $ac_status); }; }; then
43085 ac_cv_func_socket
=yes
43087 echo "$as_me: failed program was:" >&5
43088 sed 's/^/| /' conftest.
$ac_ext >&5
43090 ac_cv_func_socket
=no
43092 rm -f conftest.err conftest.
$ac_objext \
43093 conftest
$ac_exeext conftest.
$ac_ext
43095 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43096 echo "${ECHO_T}$ac_cv_func_socket" >&6
43097 if test $ac_cv_func_socket = yes; then
43101 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43102 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43103 if test "${ac_cv_lib_socket_socket+set}" = set; then
43104 echo $ECHO_N "(cached) $ECHO_C" >&6
43106 ac_check_lib_save_LIBS
=$LIBS
43107 LIBS
="-lsocket $LIBS"
43108 cat >conftest.
$ac_ext <<_ACEOF
43111 cat confdefs.h
>>conftest.
$ac_ext
43112 cat >>conftest.
$ac_ext <<_ACEOF
43113 /* end confdefs.h. */
43115 /* Override any gcc2 internal prototype to avoid an error. */
43119 /* We use char because int might match the return type of a gcc2
43120 builtin and then its argument prototype would still apply. */
43130 rm -f conftest.
$ac_objext conftest
$ac_exeext
43131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43132 (eval $ac_link) 2>conftest.er1
43134 grep -v '^ *+' conftest.er1
>conftest.err
43136 cat conftest.err
>&5
43137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43138 (exit $ac_status); } &&
43139 { ac_try
='test -z "$ac_cxx_werror_flag"
43140 || test ! -s conftest.err'
43141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43142 (eval $ac_try) 2>&5
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); }; } &&
43146 { ac_try
='test -s conftest$ac_exeext'
43147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43148 (eval $ac_try) 2>&5
43150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43151 (exit $ac_status); }; }; then
43152 ac_cv_lib_socket_socket
=yes
43154 echo "$as_me: failed program was:" >&5
43155 sed 's/^/| /' conftest.
$ac_ext >&5
43157 ac_cv_lib_socket_socket
=no
43159 rm -f conftest.err conftest.
$ac_objext \
43160 conftest
$ac_exeext conftest.
$ac_ext
43161 LIBS
=$ac_check_lib_save_LIBS
43163 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43164 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43165 if test $ac_cv_lib_socket_socket = yes; then
43166 if test "$INET_LINK" != " -lsocket"; then
43167 INET_LINK
="$INET_LINK -lsocket"
43171 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43172 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43185 if test "$wxUSE_SOCKETS" = "yes" ; then
43186 if test "$TOOLKIT" != "MSW"; then
43187 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43188 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43189 if test "${wx_cv_type_getsockname3+set}" = set; then
43190 echo $ECHO_N "(cached) $ECHO_C" >&6
43193 cat >conftest.
$ac_ext <<_ACEOF
43196 cat confdefs.h
>>conftest.
$ac_ext
43197 cat >>conftest.
$ac_ext <<_ACEOF
43198 /* end confdefs.h. */
43200 #include <sys/types.h>
43201 #include <sys/socket.h>
43208 getsockname(0, 0, &len);
43214 rm -f conftest.
$ac_objext
43215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43216 (eval $ac_compile) 2>conftest.er1
43218 grep -v '^ *+' conftest.er1
>conftest.err
43220 cat conftest.err
>&5
43221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43222 (exit $ac_status); } &&
43223 { ac_try
='test -z "$ac_cxx_werror_flag"
43224 || test ! -s conftest.err'
43225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43226 (eval $ac_try) 2>&5
43228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43229 (exit $ac_status); }; } &&
43230 { ac_try
='test -s conftest.$ac_objext'
43231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43232 (eval $ac_try) 2>&5
43234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235 (exit $ac_status); }; }; then
43236 wx_cv_type_getsockname3
=socklen_t
43238 echo "$as_me: failed program was:" >&5
43239 sed 's/^/| /' conftest.
$ac_ext >&5
43242 CXXFLAGS_OLD
="$CXXFLAGS"
43243 if test "$GCC" = yes ; then
43244 CXXFLAGS
="-Werror $CXXFLAGS"
43247 cat >conftest.
$ac_ext <<_ACEOF
43250 cat confdefs.h
>>conftest.
$ac_ext
43251 cat >>conftest.
$ac_ext <<_ACEOF
43252 /* end confdefs.h. */
43254 #include <sys/types.h>
43255 #include <sys/socket.h>
43262 getsockname(0, 0, &len);
43268 rm -f conftest.
$ac_objext
43269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43270 (eval $ac_compile) 2>conftest.er1
43272 grep -v '^ *+' conftest.er1
>conftest.err
43274 cat conftest.err
>&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } &&
43277 { ac_try
='test -z "$ac_cxx_werror_flag"
43278 || test ! -s conftest.err'
43279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43280 (eval $ac_try) 2>&5
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); }; } &&
43284 { ac_try
='test -s conftest.$ac_objext'
43285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43286 (eval $ac_try) 2>&5
43288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43289 (exit $ac_status); }; }; then
43290 wx_cv_type_getsockname3
=size_t
43292 echo "$as_me: failed program was:" >&5
43293 sed 's/^/| /' conftest.
$ac_ext >&5
43295 cat >conftest.
$ac_ext <<_ACEOF
43298 cat confdefs.h
>>conftest.
$ac_ext
43299 cat >>conftest.
$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43302 #include <sys/types.h>
43303 #include <sys/socket.h>
43310 getsockname(0, 0, &len);
43316 rm -f conftest.
$ac_objext
43317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43318 (eval $ac_compile) 2>conftest.er1
43320 grep -v '^ *+' conftest.er1
>conftest.err
43322 cat conftest.err
>&5
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); } &&
43325 { ac_try
='test -z "$ac_cxx_werror_flag"
43326 || test ! -s conftest.err'
43327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43328 (eval $ac_try) 2>&5
43330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43331 (exit $ac_status); }; } &&
43332 { ac_try
='test -s conftest.$ac_objext'
43333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43334 (eval $ac_try) 2>&5
43336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43337 (exit $ac_status); }; }; then
43338 wx_cv_type_getsockname3
=int
43340 echo "$as_me: failed program was:" >&5
43341 sed 's/^/| /' conftest.
$ac_ext >&5
43343 wx_cv_type_getsockname3
=unknown
43346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43351 CXXFLAGS
="$CXXFLAGS_OLD"
43355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43358 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43359 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43361 if test "$wx_cv_type_getsockname3" = "unknown"; then
43363 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43364 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43366 cat >>confdefs.h
<<_ACEOF
43367 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43371 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43372 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43373 if test "${wx_cv_type_getsockopt5+set}" = set; then
43374 echo $ECHO_N "(cached) $ECHO_C" >&6
43377 cat >conftest.
$ac_ext <<_ACEOF
43380 cat confdefs.h
>>conftest.
$ac_ext
43381 cat >>conftest.
$ac_ext <<_ACEOF
43382 /* end confdefs.h. */
43384 #include <sys/types.h>
43385 #include <sys/socket.h>
43392 getsockopt(0, 0, 0, 0, &len);
43398 rm -f conftest.
$ac_objext
43399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43400 (eval $ac_compile) 2>conftest.er1
43402 grep -v '^ *+' conftest.er1
>conftest.err
43404 cat conftest.err
>&5
43405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43406 (exit $ac_status); } &&
43407 { ac_try
='test -z "$ac_cxx_werror_flag"
43408 || test ! -s conftest.err'
43409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43410 (eval $ac_try) 2>&5
43412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43413 (exit $ac_status); }; } &&
43414 { ac_try
='test -s conftest.$ac_objext'
43415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43416 (eval $ac_try) 2>&5
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); }; }; then
43420 wx_cv_type_getsockopt5
=socklen_t
43422 echo "$as_me: failed program was:" >&5
43423 sed 's/^/| /' conftest.
$ac_ext >&5
43426 CXXFLAGS_OLD
="$CXXFLAGS"
43427 if test "$GCC" = yes ; then
43428 CXXFLAGS
="-Werror $CXXFLAGS"
43431 cat >conftest.
$ac_ext <<_ACEOF
43434 cat confdefs.h
>>conftest.
$ac_ext
43435 cat >>conftest.
$ac_ext <<_ACEOF
43436 /* end confdefs.h. */
43438 #include <sys/types.h>
43439 #include <sys/socket.h>
43446 getsockopt(0, 0, 0, 0, &len);
43452 rm -f conftest.
$ac_objext
43453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43454 (eval $ac_compile) 2>conftest.er1
43456 grep -v '^ *+' conftest.er1
>conftest.err
43458 cat conftest.err
>&5
43459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43460 (exit $ac_status); } &&
43461 { ac_try
='test -z "$ac_cxx_werror_flag"
43462 || test ! -s conftest.err'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; } &&
43468 { ac_try
='test -s conftest.$ac_objext'
43469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43470 (eval $ac_try) 2>&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); }; }; then
43474 wx_cv_type_getsockopt5
=size_t
43476 echo "$as_me: failed program was:" >&5
43477 sed 's/^/| /' conftest.
$ac_ext >&5
43479 cat >conftest.
$ac_ext <<_ACEOF
43482 cat confdefs.h
>>conftest.
$ac_ext
43483 cat >>conftest.
$ac_ext <<_ACEOF
43484 /* end confdefs.h. */
43486 #include <sys/types.h>
43487 #include <sys/socket.h>
43494 getsockopt(0, 0, 0, 0, &len);
43500 rm -f conftest.
$ac_objext
43501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43502 (eval $ac_compile) 2>conftest.er1
43504 grep -v '^ *+' conftest.er1
>conftest.err
43506 cat conftest.err
>&5
43507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43508 (exit $ac_status); } &&
43509 { ac_try
='test -z "$ac_cxx_werror_flag"
43510 || test ! -s conftest.err'
43511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43512 (eval $ac_try) 2>&5
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); }; } &&
43516 { ac_try
='test -s conftest.$ac_objext'
43517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43518 (eval $ac_try) 2>&5
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); }; }; then
43522 wx_cv_type_getsockopt5
=int
43524 echo "$as_me: failed program was:" >&5
43525 sed 's/^/| /' conftest.
$ac_ext >&5
43527 wx_cv_type_getsockopt5
=unknown
43530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43535 CXXFLAGS
="$CXXFLAGS_OLD"
43539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43542 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43543 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43545 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43547 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43548 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43550 cat >>confdefs.h
<<_ACEOF
43551 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43558 if test "$wxUSE_SOCKETS" = "yes" ; then
43559 cat >>confdefs.h
<<\_ACEOF
43560 #define wxUSE_SOCKETS 1
43563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43566 if test "$wxUSE_PROTOCOL" = "yes"; then
43567 if test "$wxUSE_SOCKETS" != "yes"; then
43568 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43569 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43574 if test "$wxUSE_PROTOCOL" = "yes"; then
43575 cat >>confdefs.h
<<\_ACEOF
43576 #define wxUSE_PROTOCOL 1
43580 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43581 cat >>confdefs.h
<<\_ACEOF
43582 #define wxUSE_PROTOCOL_HTTP 1
43586 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43587 cat >>confdefs.h
<<\_ACEOF
43588 #define wxUSE_PROTOCOL_FTP 1
43592 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43593 cat >>confdefs.h
<<\_ACEOF
43594 #define wxUSE_PROTOCOL_FILE 1
43599 if test "$wxUSE_FS_INET" = "yes"; then
43600 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43601 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43606 if test "$wxUSE_URL" = "yes"; then
43607 if test "$wxUSE_PROTOCOL" != "yes"; then
43608 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43609 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43612 if test "$wxUSE_URL" = "yes"; then
43613 cat >>confdefs.h
<<\_ACEOF
43614 #define wxUSE_URL 1
43620 if test "$wxUSE_FS_INET" = "yes"; then
43621 cat >>confdefs.h
<<\_ACEOF
43622 #define wxUSE_FS_INET 1
43628 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43631 if test "$TOOLKIT" = "MSW"; then
43634 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43635 if test "$USE_DARWIN" = 1; then
43636 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43637 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43638 cat >conftest.
$ac_ext <<_ACEOF
43641 cat confdefs.h
>>conftest.
$ac_ext
43642 cat >>conftest.
$ac_ext <<_ACEOF
43643 /* end confdefs.h. */
43644 #include <IOKit/hid/IOHIDLib.h>
43648 IOHIDQueueInterface *qi = NULL;
43649 IOHIDCallbackFunction cb = NULL;
43650 qi->setEventCallout(NULL, cb, NULL, NULL);
43655 rm -f conftest.
$ac_objext
43656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43657 (eval $ac_compile) 2>conftest.er1
43659 grep -v '^ *+' conftest.er1
>conftest.err
43661 cat conftest.err
>&5
43662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43663 (exit $ac_status); } &&
43664 { ac_try
='test -z "$ac_cxx_werror_flag"
43665 || test ! -s conftest.err'
43666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43667 (eval $ac_try) 2>&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); }; } &&
43671 { ac_try
='test -s conftest.$ac_objext'
43672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43673 (eval $ac_try) 2>&5
43675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43676 (exit $ac_status); }; }; then
43680 echo "$as_me: failed program was:" >&5
43681 sed 's/^/| /' conftest.
$ac_ext >&5
43684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43685 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43686 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43691 for ac_header
in linux
/joystick.h
43693 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43695 echo "$as_me:$LINENO: checking for $ac_header" >&5
43696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43698 echo $ECHO_N "(cached) $ECHO_C" >&6
43700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43703 # Is the header compilable?
43704 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43705 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43706 cat >conftest.
$ac_ext <<_ACEOF
43709 cat confdefs.h
>>conftest.
$ac_ext
43710 cat >>conftest.
$ac_ext <<_ACEOF
43711 /* end confdefs.h. */
43712 $ac_includes_default
43713 #include <$ac_header>
43715 rm -f conftest.
$ac_objext
43716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43717 (eval $ac_compile) 2>conftest.er1
43719 grep -v '^ *+' conftest.er1
>conftest.err
43721 cat conftest.err
>&5
43722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43723 (exit $ac_status); } &&
43724 { ac_try
='test -z "$ac_cxx_werror_flag"
43725 || test ! -s conftest.err'
43726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43727 (eval $ac_try) 2>&5
43729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43730 (exit $ac_status); }; } &&
43731 { ac_try
='test -s conftest.$ac_objext'
43732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43733 (eval $ac_try) 2>&5
43735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736 (exit $ac_status); }; }; then
43737 ac_header_compiler
=yes
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.
$ac_ext >&5
43742 ac_header_compiler
=no
43744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43746 echo "${ECHO_T}$ac_header_compiler" >&6
43748 # Is the header present?
43749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43751 cat >conftest.
$ac_ext <<_ACEOF
43754 cat confdefs.h
>>conftest.
$ac_ext
43755 cat >>conftest.
$ac_ext <<_ACEOF
43756 /* end confdefs.h. */
43757 #include <$ac_header>
43759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43762 grep -v '^ *+' conftest.er1
>conftest.err
43764 cat conftest.err
>&5
43765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43766 (exit $ac_status); } >/dev
/null
; then
43767 if test -s conftest.err
; then
43768 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43769 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43776 if test -z "$ac_cpp_err"; then
43777 ac_header_preproc
=yes
43779 echo "$as_me: failed program was:" >&5
43780 sed 's/^/| /' conftest.
$ac_ext >&5
43782 ac_header_preproc
=no
43784 rm -f conftest.err conftest.
$ac_ext
43785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43786 echo "${ECHO_T}$ac_header_preproc" >&6
43788 # So? What about this header?
43789 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43795 ac_header_preproc
=yes
43798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43812 ## ----------------------------------------- ##
43813 ## Report this to wx-dev@lists.wxwidgets.org ##
43814 ## ----------------------------------------- ##
43817 sed "s/^/$as_me: WARNING: /" >&2
43820 echo "$as_me:$LINENO: checking for $ac_header" >&5
43821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43823 echo $ECHO_N "(cached) $ECHO_C" >&6
43825 eval "$as_ac_Header=\$ac_header_preproc"
43827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43832 cat >>confdefs.h
<<_ACEOF
43833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43842 if test "$wxUSE_JOYSTICK" = "yes"; then
43843 cat >>confdefs.h
<<\_ACEOF
43844 #define wxUSE_JOYSTICK 1
43847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43849 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43850 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43856 if test "$wxUSE_FONTMAP" = "yes" ; then
43857 cat >>confdefs.h
<<\_ACEOF
43858 #define wxUSE_FONTMAP 1
43863 if test "$wxUSE_UNICODE" = "yes" ; then
43864 cat >>confdefs.h
<<\_ACEOF
43865 #define wxUSE_UNICODE 1
43869 if test "$USE_WIN32" != 1; then
43870 wxUSE_UNICODE_MSLU
=no
43873 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43874 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43875 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43876 if test "${ac_cv_lib_unicows_main+set}" = set; then
43877 echo $ECHO_N "(cached) $ECHO_C" >&6
43879 ac_check_lib_save_LIBS
=$LIBS
43880 LIBS
="-lunicows $LIBS"
43881 cat >conftest.
$ac_ext <<_ACEOF
43884 cat confdefs.h
>>conftest.
$ac_ext
43885 cat >>conftest.
$ac_ext <<_ACEOF
43886 /* end confdefs.h. */
43897 rm -f conftest.
$ac_objext conftest
$ac_exeext
43898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43899 (eval $ac_link) 2>conftest.er1
43901 grep -v '^ *+' conftest.er1
>conftest.err
43903 cat conftest.err
>&5
43904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43905 (exit $ac_status); } &&
43906 { ac_try
='test -z "$ac_cxx_werror_flag"
43907 || test ! -s conftest.err'
43908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43909 (eval $ac_try) 2>&5
43911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43912 (exit $ac_status); }; } &&
43913 { ac_try
='test -s conftest$ac_exeext'
43914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43915 (eval $ac_try) 2>&5
43917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918 (exit $ac_status); }; }; then
43919 ac_cv_lib_unicows_main
=yes
43921 echo "$as_me: failed program was:" >&5
43922 sed 's/^/| /' conftest.
$ac_ext >&5
43924 ac_cv_lib_unicows_main
=no
43926 rm -f conftest.err conftest.
$ac_objext \
43927 conftest
$ac_exeext conftest.
$ac_ext
43928 LIBS
=$ac_check_lib_save_LIBS
43930 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43931 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43932 if test $ac_cv_lib_unicows_main = yes; then
43934 cat >>confdefs.h
<<\_ACEOF
43935 #define wxUSE_UNICODE_MSLU 1
43941 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43942 Applications will only run on Windows NT/2000/XP!" >&5
43943 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43944 Applications will only run on Windows NT/2000/XP!" >&2;}
43945 wxUSE_UNICODE_MSLU
=no
43952 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43953 cat >>confdefs.h
<<\_ACEOF
43954 #define wxUSE_EXPERIMENTAL_PRINTF 1
43960 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43961 cat >>confdefs.h
<<\_ACEOF
43962 #define wxUSE_POSTSCRIPT 1
43967 cat >>confdefs.h
<<\_ACEOF
43968 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43972 cat >>confdefs.h
<<\_ACEOF
43973 #define wxUSE_NORMALIZED_PS_FONTS 1
43978 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43979 cat >>confdefs.h
<<\_ACEOF
43980 #define wxUSE_CONSTRAINTS 1
43983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43986 if test "$wxUSE_MDI" = "yes"; then
43987 cat >>confdefs.h
<<\_ACEOF
43988 #define wxUSE_MDI 1
43992 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43993 cat >>confdefs.h
<<\_ACEOF
43994 #define wxUSE_MDI_ARCHITECTURE 1
43997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44001 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44002 cat >>confdefs.h
<<\_ACEOF
44003 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44007 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44012 if test "$wxUSE_HELP" = "yes"; then
44013 cat >>confdefs.h
<<\_ACEOF
44014 #define wxUSE_HELP 1
44017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44019 if test "$wxUSE_MSW" = 1; then
44020 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44021 cat >>confdefs.h
<<\_ACEOF
44022 #define wxUSE_MS_HTML_HELP 1
44028 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44029 if test "$wxUSE_HTML" = "yes"; then
44030 cat >>confdefs.h
<<\_ACEOF
44031 #define wxUSE_WXHTML_HELP 1
44035 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44036 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44037 wxUSE_WXHTML_HELP
=no
44042 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44043 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44044 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44045 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44047 cat >>confdefs.h
<<\_ACEOF
44048 #define wxUSE_PRINTING_ARCHITECTURE 1
44052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44055 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44056 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44057 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44058 { (exit 1); exit 1; }; }
44062 if test "$wxUSE_METAFILE" = "yes"; then
44063 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44064 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44065 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44071 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44072 -o "$wxUSE_CLIPBOARD" = "yes" \
44073 -o "$wxUSE_OLE" = "yes" \
44074 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44076 for ac_header
in ole2.h
44078 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44080 echo "$as_me:$LINENO: checking for $ac_header" >&5
44081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44083 echo $ECHO_N "(cached) $ECHO_C" >&6
44085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44088 # Is the header compilable?
44089 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44090 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44091 cat >conftest.
$ac_ext <<_ACEOF
44094 cat confdefs.h
>>conftest.
$ac_ext
44095 cat >>conftest.
$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44097 $ac_includes_default
44098 #include <$ac_header>
44100 rm -f conftest.
$ac_objext
44101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44102 (eval $ac_compile) 2>conftest.er1
44104 grep -v '^ *+' conftest.er1
>conftest.err
44106 cat conftest.err
>&5
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); } &&
44109 { ac_try
='test -z "$ac_cxx_werror_flag"
44110 || test ! -s conftest.err'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; } &&
44116 { ac_try
='test -s conftest.$ac_objext'
44117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44118 (eval $ac_try) 2>&5
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; }; then
44122 ac_header_compiler
=yes
44124 echo "$as_me: failed program was:" >&5
44125 sed 's/^/| /' conftest.
$ac_ext >&5
44127 ac_header_compiler
=no
44129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44130 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44131 echo "${ECHO_T}$ac_header_compiler" >&6
44133 # Is the header present?
44134 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44135 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44136 cat >conftest.
$ac_ext <<_ACEOF
44139 cat confdefs.h
>>conftest.
$ac_ext
44140 cat >>conftest.
$ac_ext <<_ACEOF
44141 /* end confdefs.h. */
44142 #include <$ac_header>
44144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44147 grep -v '^ *+' conftest.er1
>conftest.err
44149 cat conftest.err
>&5
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); } >/dev
/null
; then
44152 if test -s conftest.err
; then
44153 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44154 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44161 if test -z "$ac_cpp_err"; then
44162 ac_header_preproc
=yes
44164 echo "$as_me: failed program was:" >&5
44165 sed 's/^/| /' conftest.
$ac_ext >&5
44167 ac_header_preproc
=no
44169 rm -f conftest.err conftest.
$ac_ext
44170 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44171 echo "${ECHO_T}$ac_header_preproc" >&6
44173 # So? What about this header?
44174 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44176 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44177 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44179 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44180 ac_header_preproc
=yes
44183 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44184 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44185 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44186 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44187 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44188 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44189 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44190 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44193 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44194 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44197 ## ----------------------------------------- ##
44198 ## Report this to wx-dev@lists.wxwidgets.org ##
44199 ## ----------------------------------------- ##
44202 sed "s/^/$as_me: WARNING: /" >&2
44205 echo "$as_me:$LINENO: checking for $ac_header" >&5
44206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44208 echo $ECHO_N "(cached) $ECHO_C" >&6
44210 eval "$as_ac_Header=\$ac_header_preproc"
44212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44217 cat >>confdefs.h
<<_ACEOF
44218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44226 if test "$ac_cv_header_ole2_h" = "yes" ; then
44227 if test "$GCC" = yes ; then
44228 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44229 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44230 cat >conftest.
$ac_ext <<_ACEOF
44233 cat confdefs.h
>>conftest.
$ac_ext
44234 cat >>conftest.
$ac_ext <<_ACEOF
44235 /* end confdefs.h. */
44236 #include <windows.h>
44246 rm -f conftest.
$ac_objext
44247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44248 (eval $ac_compile) 2>conftest.er1
44250 grep -v '^ *+' conftest.er1
>conftest.err
44252 cat conftest.err
>&5
44253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44254 (exit $ac_status); } &&
44255 { ac_try
='test -z "$ac_cxx_werror_flag"
44256 || test ! -s conftest.err'
44257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44258 (eval $ac_try) 2>&5
44260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261 (exit $ac_status); }; } &&
44262 { ac_try
='test -s conftest.$ac_objext'
44263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44264 (eval $ac_try) 2>&5
44266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44267 (exit $ac_status); }; }; then
44268 echo "$as_me:$LINENO: result: no" >&5
44269 echo "${ECHO_T}no" >&6
44271 echo "$as_me: failed program was:" >&5
44272 sed 's/^/| /' conftest.
$ac_ext >&5
44274 echo "$as_me:$LINENO: result: yes" >&5
44275 echo "${ECHO_T}yes" >&6
44276 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44279 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44280 if test "$wxUSE_OLE" = "yes" ; then
44281 cat >>confdefs.h
<<\_ACEOF
44282 #define wxUSE_OLE 1
44285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44289 if test "$wxUSE_DATAOBJ" = "yes" ; then
44290 cat >>confdefs.h
<<\_ACEOF
44291 #define wxUSE_DATAOBJ 1
44296 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44297 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44300 wxUSE_DRAG_AND_DROP
=no
44305 if test "$wxUSE_METAFILE" = "yes"; then
44306 cat >>confdefs.h
<<\_ACEOF
44307 #define wxUSE_METAFILE 1
44311 cat >>confdefs.h
<<\_ACEOF
44312 #define wxUSE_ENH_METAFILE 1
44318 if test "$wxUSE_IPC" = "yes"; then
44319 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44320 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44321 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44325 if test "$wxUSE_IPC" = "yes"; then
44326 cat >>confdefs.h
<<\_ACEOF
44327 #define wxUSE_IPC 1
44330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44334 if test "$wxUSE_DATAOBJ" = "yes"; then
44335 if test "$wxUSE_MGL" = 1; then
44336 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44337 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44340 cat >>confdefs.h
<<\_ACEOF
44341 #define wxUSE_DATAOBJ 1
44346 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44347 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44349 wxUSE_DRAG_AND_DROP
=no
44352 if test "$wxUSE_CLIPBOARD" = "yes"; then
44353 if test "$wxUSE_MGL" = 1; then
44354 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44355 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44359 if test "$wxUSE_CLIPBOARD" = "yes"; then
44360 cat >>confdefs.h
<<\_ACEOF
44361 #define wxUSE_CLIPBOARD 1
44367 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44368 if test "$wxUSE_GTK" = 1; then
44369 if test "$WXGTK12" != 1; then
44370 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44371 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44372 wxUSE_DRAG_AND_DROP
=no
44376 if test "$wxUSE_MOTIF" = 1; then
44377 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44378 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44379 wxUSE_DRAG_AND_DROP
=no
44382 if test "$wxUSE_X11" = 1; then
44383 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44384 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44385 wxUSE_DRAG_AND_DROP
=no
44388 if test "$wxUSE_MGL" = 1; then
44389 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44390 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44391 wxUSE_DRAG_AND_DROP
=no
44394 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44395 cat >>confdefs.h
<<\_ACEOF
44396 #define wxUSE_DRAG_AND_DROP 1
44403 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44407 if test "$wxUSE_SPLINES" = "yes" ; then
44408 cat >>confdefs.h
<<\_ACEOF
44409 #define wxUSE_SPLINES 1
44414 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44415 cat >>confdefs.h
<<\_ACEOF
44416 #define wxUSE_MOUSEWHEEL 1
44423 if test "$wxUSE_CONTROLS" = "yes"; then
44427 if test "$wxUSE_ACCEL" = "yes"; then
44428 cat >>confdefs.h
<<\_ACEOF
44429 #define wxUSE_ACCEL 1
44435 if test "$wxUSE_BUTTON" = "yes"; then
44436 cat >>confdefs.h
<<\_ACEOF
44437 #define wxUSE_BUTTON 1
44443 if test "$wxUSE_BMPBUTTON" = "yes"; then
44444 cat >>confdefs.h
<<\_ACEOF
44445 #define wxUSE_BMPBUTTON 1
44451 if test "$wxUSE_CALCTRL" = "yes"; then
44452 cat >>confdefs.h
<<\_ACEOF
44453 #define wxUSE_CALENDARCTRL 1
44457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44460 if test "$wxUSE_CARET" = "yes"; then
44461 cat >>confdefs.h
<<\_ACEOF
44462 #define wxUSE_CARET 1
44466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44469 if test "$wxUSE_COMBOBOX" = "yes"; then
44470 cat >>confdefs.h
<<\_ACEOF
44471 #define wxUSE_COMBOBOX 1
44477 if test "$wxUSE_COMBOCTRL" = "yes"; then
44478 cat >>confdefs.h
<<\_ACEOF
44479 #define wxUSE_COMBOCTRL 1
44485 if test "$wxUSE_CHOICE" = "yes"; then
44486 cat >>confdefs.h
<<\_ACEOF
44487 #define wxUSE_CHOICE 1
44493 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44494 cat >>confdefs.h
<<\_ACEOF
44495 #define wxUSE_CHOICEBOOK 1
44501 if test "$wxUSE_CHECKBOX" = "yes"; then
44502 cat >>confdefs.h
<<\_ACEOF
44503 #define wxUSE_CHECKBOX 1
44509 if test "$wxUSE_CHECKLST" = "yes"; then
44510 cat >>confdefs.h
<<\_ACEOF
44511 #define wxUSE_CHECKLISTBOX 1
44515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44518 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44519 cat >>confdefs.h
<<\_ACEOF
44520 #define wxUSE_COLOURPICKERCTRL 1
44526 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44527 cat >>confdefs.h
<<\_ACEOF
44528 #define wxUSE_DATEPICKCTRL 1
44534 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44535 cat >>confdefs.h
<<\_ACEOF
44536 #define wxUSE_DIRPICKERCTRL 1
44542 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44543 cat >>confdefs.h
<<\_ACEOF
44544 #define wxUSE_FILEPICKERCTRL 1
44550 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44551 cat >>confdefs.h
<<\_ACEOF
44552 #define wxUSE_FONTPICKERCTRL 1
44558 if test "$wxUSE_DISPLAY" = "yes"; then
44559 cat >>confdefs.h
<<\_ACEOF
44560 #define wxUSE_DISPLAY 1
44563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44566 if test "$wxUSE_GAUGE" = "yes"; then
44567 cat >>confdefs.h
<<\_ACEOF
44568 #define wxUSE_GAUGE 1
44574 if test "$wxUSE_GRID" = "yes"; then
44575 cat >>confdefs.h
<<\_ACEOF
44576 #define wxUSE_GRID 1
44580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44583 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44584 cat >>confdefs.h
<<\_ACEOF
44585 #define wxUSE_HYPERLINKCTRL 1
44591 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44592 cat >>confdefs.h
<<\_ACEOF
44593 #define wxUSE_DATAVIEWCTRL 1
44597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44600 if test "$wxUSE_IMAGLIST" = "yes"; then
44601 cat >>confdefs.h
<<\_ACEOF
44602 #define wxUSE_IMAGLIST 1
44607 if test "$wxUSE_LISTBOOK" = "yes"; then
44608 cat >>confdefs.h
<<\_ACEOF
44609 #define wxUSE_LISTBOOK 1
44615 if test "$wxUSE_LISTBOX" = "yes"; then
44616 cat >>confdefs.h
<<\_ACEOF
44617 #define wxUSE_LISTBOX 1
44621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44624 if test "$wxUSE_LISTCTRL" = "yes"; then
44625 if test "$wxUSE_IMAGLIST" = "yes"; then
44626 cat >>confdefs.h
<<\_ACEOF
44627 #define wxUSE_LISTCTRL 1
44631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44633 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44634 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44638 if test "$wxUSE_NOTEBOOK" = "yes"; then
44639 cat >>confdefs.h
<<\_ACEOF
44640 #define wxUSE_NOTEBOOK 1
44644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44647 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44648 cat >>confdefs.h
<<\_ACEOF
44649 #define wxUSE_ODCOMBOBOX 1
44653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44657 if test "$wxUSE_RADIOBOX" = "yes"; then
44658 cat >>confdefs.h
<<\_ACEOF
44659 #define wxUSE_RADIOBOX 1
44665 if test "$wxUSE_RADIOBTN" = "yes"; then
44666 cat >>confdefs.h
<<\_ACEOF
44667 #define wxUSE_RADIOBTN 1
44673 if test "$wxUSE_SASH" = "yes"; then
44674 cat >>confdefs.h
<<\_ACEOF
44675 #define wxUSE_SASH 1
44678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44681 if test "$wxUSE_SCROLLBAR" = "yes"; then
44682 cat >>confdefs.h
<<\_ACEOF
44683 #define wxUSE_SCROLLBAR 1
44687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44690 if test "$wxUSE_SLIDER" = "yes"; then
44691 cat >>confdefs.h
<<\_ACEOF
44692 #define wxUSE_SLIDER 1
44698 if test "$wxUSE_SPINBTN" = "yes"; then
44699 cat >>confdefs.h
<<\_ACEOF
44700 #define wxUSE_SPINBTN 1
44706 if test "$wxUSE_SPINCTRL" = "yes"; then
44707 cat >>confdefs.h
<<\_ACEOF
44708 #define wxUSE_SPINCTRL 1
44714 if test "$wxUSE_SPLITTER" = "yes"; then
44715 cat >>confdefs.h
<<\_ACEOF
44716 #define wxUSE_SPLITTER 1
44719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44722 if test "$wxUSE_STATBMP" = "yes"; then
44723 cat >>confdefs.h
<<\_ACEOF
44724 #define wxUSE_STATBMP 1
44730 if test "$wxUSE_STATBOX" = "yes"; then
44731 cat >>confdefs.h
<<\_ACEOF
44732 #define wxUSE_STATBOX 1
44738 if test "$wxUSE_STATTEXT" = "yes"; then
44739 cat >>confdefs.h
<<\_ACEOF
44740 #define wxUSE_STATTEXT 1
44746 if test "$wxUSE_STATLINE" = "yes"; then
44747 cat >>confdefs.h
<<\_ACEOF
44748 #define wxUSE_STATLINE 1
44754 if test "$wxUSE_STATUSBAR" = "yes"; then
44755 cat >>confdefs.h
<<\_ACEOF
44756 #define wxUSE_NATIVE_STATUSBAR 1
44759 cat >>confdefs.h
<<\_ACEOF
44760 #define wxUSE_STATUSBAR 1
44765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44768 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44769 cat >>confdefs.h
<<\_ACEOF
44770 #define wxUSE_TAB_DIALOG 1
44775 if test "$wxUSE_TEXTCTRL" = "yes"; then
44776 cat >>confdefs.h
<<\_ACEOF
44777 #define wxUSE_TEXTCTRL 1
44781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44784 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44785 if test "$wxUSE_COCOA" = 1 ; then
44786 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44787 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44791 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44792 cat >>confdefs.h
<<\_ACEOF
44793 #define wxUSE_TOGGLEBTN 1
44800 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44801 cat >>confdefs.h
<<\_ACEOF
44802 #define wxUSE_TOOLBAR_SIMPLE 1
44805 wxUSE_TOOLBAR
="yes"
44809 if test "$wxUSE_TOOLBAR" = "yes"; then
44810 cat >>confdefs.h
<<\_ACEOF
44811 #define wxUSE_TOOLBAR 1
44816 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44817 wxUSE_TOOLBAR_NATIVE
="yes"
44820 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44821 cat >>confdefs.h
<<\_ACEOF
44822 #define wxUSE_TOOLBAR_NATIVE 1
44828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44831 if test "$wxUSE_TOOLTIPS" = "yes"; then
44832 if test "$wxUSE_MOTIF" = 1; then
44833 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44834 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44836 if test "$wxUSE_UNIVERSAL" = "yes"; then
44837 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44838 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44840 cat >>confdefs.h
<<\_ACEOF
44841 #define wxUSE_TOOLTIPS 1
44848 if test "$wxUSE_TREEBOOK" = "yes"; then
44849 cat >>confdefs.h
<<\_ACEOF
44850 #define wxUSE_TREEBOOK 1
44856 if test "$wxUSE_TOOLBOOK" = "yes"; then
44857 cat >>confdefs.h
<<\_ACEOF
44858 #define wxUSE_TOOLBOOK 1
44864 if test "$wxUSE_TREECTRL" = "yes"; then
44865 if test "$wxUSE_IMAGLIST" = "yes"; then
44866 cat >>confdefs.h
<<\_ACEOF
44867 #define wxUSE_TREECTRL 1
44871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44873 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44874 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44878 if test "$wxUSE_POPUPWIN" = "yes"; then
44879 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44880 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44881 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44883 if test "$wxUSE_PM" = 1; then
44884 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44885 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44887 cat >>confdefs.h
<<\_ACEOF
44888 #define wxUSE_POPUPWIN 1
44891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44898 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44899 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44900 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44901 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44903 cat >>confdefs.h
<<\_ACEOF
44904 #define wxUSE_DIALUP_MANAGER 1
44907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44911 if test "$wxUSE_TIPWINDOW" = "yes"; then
44912 if test "$wxUSE_PM" = 1; then
44913 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44914 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44916 cat >>confdefs.h
<<\_ACEOF
44917 #define wxUSE_TIPWINDOW 1
44923 if test "$USES_CONTROLS" = 1; then
44924 cat >>confdefs.h
<<\_ACEOF
44925 #define wxUSE_CONTROLS 1
44931 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44932 cat >>confdefs.h
<<\_ACEOF
44933 #define wxUSE_ACCESSIBILITY 1
44936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44939 if test "$wxUSE_DC_CACHEING" = "yes"; then
44940 cat >>confdefs.h
<<\_ACEOF
44941 #define wxUSE_DC_CACHEING 1
44946 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44947 cat >>confdefs.h
<<\_ACEOF
44948 #define wxUSE_DRAGIMAGE 1
44951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44954 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44955 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44956 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44957 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44959 cat >>confdefs.h
<<\_ACEOF
44960 #define wxUSE_EXCEPTIONS 1
44963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44968 if test "$wxUSE_HTML" = "yes"; then
44969 cat >>confdefs.h
<<\_ACEOF
44970 #define wxUSE_HTML 1
44974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44975 if test "$wxUSE_MAC" = 1; then
44976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44979 if test "$wxUSE_WEBKIT" = "yes"; then
44980 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44981 old_CPPFLAGS
="$CPPFLAGS"
44982 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44983 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44984 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44985 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44986 echo $ECHO_N "(cached) $ECHO_C" >&6
44988 cat >conftest.
$ac_ext <<_ACEOF
44991 cat confdefs.h
>>conftest.
$ac_ext
44992 cat >>conftest.
$ac_ext <<_ACEOF
44993 /* end confdefs.h. */
44994 #include <Carbon/Carbon.h>
44996 #include <WebKit/HIWebView.h>
44998 rm -f conftest.
$ac_objext
44999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45000 (eval $ac_compile) 2>conftest.er1
45002 grep -v '^ *+' conftest.er1
>conftest.err
45004 cat conftest.err
>&5
45005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006 (exit $ac_status); } &&
45007 { ac_try
='test -z "$ac_cxx_werror_flag"
45008 || test ! -s conftest.err'
45009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45010 (eval $ac_try) 2>&5
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); }; } &&
45014 { ac_try
='test -s conftest.$ac_objext'
45015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45016 (eval $ac_try) 2>&5
45018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45019 (exit $ac_status); }; }; then
45020 ac_cv_header_WebKit_HIWebView_h
=yes
45022 echo "$as_me: failed program was:" >&5
45023 sed 's/^/| /' conftest.
$ac_ext >&5
45025 ac_cv_header_WebKit_HIWebView_h
=no
45027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45029 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45030 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45031 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45033 cat >>confdefs.h
<<\_ACEOF
45034 #define wxUSE_WEBKIT 1
45037 WEBKIT_LINK
="-framework WebKit"
45041 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45042 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45048 CPPFLAGS
="$old_CPPFLAGS"
45049 elif test "$wxUSE_COCOA" = 1; then
45050 cat >>confdefs.h
<<\_ACEOF
45051 #define wxUSE_WEBKIT 1
45060 if test "$wxUSE_XRC" = "yes"; then
45061 if test "$wxUSE_XML" != "yes"; then
45062 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45063 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45066 cat >>confdefs.h
<<\_ACEOF
45067 #define wxUSE_XRC 1
45071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45076 if test "$wxUSE_AUI" = "yes"; then
45077 cat >>confdefs.h
<<\_ACEOF
45078 #define wxUSE_AUI 1
45082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45085 if test "$wxUSE_MENUS" = "yes"; then
45086 cat >>confdefs.h
<<\_ACEOF
45087 #define wxUSE_MENUS 1
45090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45093 if test "$wxUSE_METAFILE" = "yes"; then
45094 cat >>confdefs.h
<<\_ACEOF
45095 #define wxUSE_METAFILE 1
45100 if test "$wxUSE_MIMETYPE" = "yes"; then
45101 cat >>confdefs.h
<<\_ACEOF
45102 #define wxUSE_MIMETYPE 1
45107 if test "$wxUSE_MINIFRAME" = "yes"; then
45108 cat >>confdefs.h
<<\_ACEOF
45109 #define wxUSE_MINIFRAME 1
45112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45115 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45116 cat >>confdefs.h
<<\_ACEOF
45117 #define wxUSE_SYSTEM_OPTIONS 1
45120 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45121 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45127 if test "$wxUSE_VALIDATORS" = "yes"; then
45128 cat >>confdefs.h
<<\_ACEOF
45129 #define wxUSE_VALIDATORS 1
45132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45135 if test "$wxUSE_PALETTE" = "yes" ; then
45136 cat >>confdefs.h
<<\_ACEOF
45137 #define wxUSE_PALETTE 1
45142 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45143 LIBS
=" -lunicows $LIBS"
45147 if test "$wxUSE_RICHTEXT" = "yes"; then
45148 cat >>confdefs.h
<<\_ACEOF
45149 #define wxUSE_RICHTEXT 1
45153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45157 if test "$wxUSE_IMAGE" = "yes" ; then
45158 cat >>confdefs.h
<<\_ACEOF
45159 #define wxUSE_IMAGE 1
45163 if test "$wxUSE_GIF" = "yes" ; then
45164 cat >>confdefs.h
<<\_ACEOF
45165 #define wxUSE_GIF 1
45170 if test "$wxUSE_PCX" = "yes" ; then
45171 cat >>confdefs.h
<<\_ACEOF
45172 #define wxUSE_PCX 1
45177 if test "$wxUSE_IFF" = "yes" ; then
45178 cat >>confdefs.h
<<\_ACEOF
45179 #define wxUSE_IFF 1
45184 if test "$wxUSE_PNM" = "yes" ; then
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_PNM 1
45191 if test "$wxUSE_XPM" = "yes" ; then
45192 cat >>confdefs.h
<<\_ACEOF
45193 #define wxUSE_XPM 1
45198 if test "$wxUSE_ICO_CUR" = "yes" ; then
45199 cat >>confdefs.h
<<\_ACEOF
45200 #define wxUSE_ICO_CUR 1
45207 if test "$wxUSE_CHOICEDLG" = "yes"; then
45208 cat >>confdefs.h
<<\_ACEOF
45209 #define wxUSE_CHOICEDLG 1
45214 if test "$wxUSE_COLOURDLG" = "yes"; then
45215 cat >>confdefs.h
<<\_ACEOF
45216 #define wxUSE_COLOURDLG 1
45221 if test "$wxUSE_FILEDLG" = "yes"; then
45222 cat >>confdefs.h
<<\_ACEOF
45223 #define wxUSE_FILEDLG 1
45228 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45229 cat >>confdefs.h
<<\_ACEOF
45230 #define wxUSE_FINDREPLDLG 1
45235 if test "$wxUSE_FONTDLG" = "yes"; then
45236 cat >>confdefs.h
<<\_ACEOF
45237 #define wxUSE_FONTDLG 1
45242 if test "$wxUSE_DIRDLG" = "yes"; then
45243 if test "$wxUSE_TREECTRL" != "yes"; then
45244 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45245 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45247 cat >>confdefs.h
<<\_ACEOF
45248 #define wxUSE_DIRDLG 1
45254 if test "$wxUSE_MSGDLG" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_MSGDLG 1
45261 if test "$wxUSE_NUMBERDLG" = "yes"; then
45262 cat >>confdefs.h
<<\_ACEOF
45263 #define wxUSE_NUMBERDLG 1
45268 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45269 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45270 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45271 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45273 cat >>confdefs.h
<<\_ACEOF
45274 #define wxUSE_PROGRESSDLG 1
45280 if test "$wxUSE_SPLASH" = "yes"; then
45281 cat >>confdefs.h
<<\_ACEOF
45282 #define wxUSE_SPLASH 1
45285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45288 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45289 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45290 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45291 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45293 cat >>confdefs.h
<<\_ACEOF
45294 #define wxUSE_STARTUP_TIPS 1
45300 if test "$wxUSE_TEXTDLG" = "yes"; then
45301 cat >>confdefs.h
<<\_ACEOF
45302 #define wxUSE_TEXTDLG 1
45307 if test "$wxUSE_WIZARDDLG" = "yes"; then
45308 cat >>confdefs.h
<<\_ACEOF
45309 #define wxUSE_WIZARDDLG 1
45312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45318 if test "$wxUSE_MEDIACTRL" = "yes"; then
45319 if test "$wxUSE_GTK" = 1; then
45320 wxUSE_GSTREAMER
="yes"
45322 GST_VERSION_MAJOR
=0
45323 GST_VERSION_MINOR
=10
45324 GST_VERSION_RELEASE
=0
45325 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
45326 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45328 if test "$wxUSE_GSTREAMER8" = "no"; then
45332 if test -z "$PKG_CONFIG"; then
45333 # Extract the first word of "pkg-config", so it can be a program name with args.
45334 set dummy pkg
-config; ac_word
=$2
45335 echo "$as_me:$LINENO: checking for $ac_word" >&5
45336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45337 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45340 case $PKG_CONFIG in
45342 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45346 for as_dir
in $PATH
45349 test -z "$as_dir" && as_dir
=.
45350 for ac_exec_ext
in '' $ac_executable_extensions; do
45351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45352 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45359 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
45363 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45365 if test -n "$PKG_CONFIG"; then
45366 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45367 echo "${ECHO_T}$PKG_CONFIG" >&6
45369 echo "$as_me:$LINENO: result: no" >&5
45370 echo "${ECHO_T}no" >&6
45375 if test "$PKG_CONFIG" = "no" ; then
45376 echo "*** The pkg-config script could not be found. Make sure it is"
45377 echo "*** in your path, or set the PKG_CONFIG environment variable"
45378 echo "*** to the full path to pkg-config."
45379 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45381 PKG_CONFIG_MIN_VERSION
=0.9.0
45382 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45383 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
45384 gstreamer-plugins-base-$GST_MAJORMINOR
45386 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
45387 gstreamer-plugins-base-$GST_MAJORMINOR
45388 gconf-2.0... $ECHO_C" >&6
45390 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
45391 gstreamer-plugins-base-$GST_MAJORMINOR
45393 echo "$as_me:$LINENO: result: yes" >&5
45394 echo "${ECHO_T}yes" >&6
45397 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45398 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45399 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
45400 gstreamer-plugins-base-$GST_MAJORMINOR
45402 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45403 echo "${ECHO_T}$GST_CFLAGS" >&6
45405 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45406 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45407 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
45408 gstreamer-plugins-base-$GST_MAJORMINOR
45410 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45411 echo "${ECHO_T}$GST_LIBS" >&6
45415 ## If we have a custom action on failure, don't print errors, but
45416 ## do set a variable so people can do so.
45417 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
45418 gstreamer-plugins-base-$GST_MAJORMINOR
45426 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45427 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45431 if test $succeeded = yes; then
45433 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45434 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
45438 GST_VERSION_MINOR
=8
45443 GST_VERSION_MINOR
=8
45446 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
45447 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45449 if test x
$GST_VERSION_MINOR = x8
; then
45453 if test -z "$PKG_CONFIG"; then
45454 # Extract the first word of "pkg-config", so it can be a program name with args.
45455 set dummy pkg
-config; ac_word
=$2
45456 echo "$as_me:$LINENO: checking for $ac_word" >&5
45457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45458 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45459 echo $ECHO_N "(cached) $ECHO_C" >&6
45461 case $PKG_CONFIG in
45463 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45467 for as_dir
in $PATH
45470 test -z "$as_dir" && as_dir
=.
45471 for ac_exec_ext
in '' $ac_executable_extensions; do
45472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45473 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45480 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
45484 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45486 if test -n "$PKG_CONFIG"; then
45487 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45488 echo "${ECHO_T}$PKG_CONFIG" >&6
45490 echo "$as_me:$LINENO: result: no" >&5
45491 echo "${ECHO_T}no" >&6
45496 if test "$PKG_CONFIG" = "no" ; then
45497 echo "*** The pkg-config script could not be found. Make sure it is"
45498 echo "*** in your path, or set the PKG_CONFIG environment variable"
45499 echo "*** to the full path to pkg-config."
45500 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45502 PKG_CONFIG_MIN_VERSION
=0.9.0
45503 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45504 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
45505 gstreamer-interfaces-$GST_MAJORMINOR
45506 gstreamer-gconf-$GST_MAJORMINOR" >&5
45507 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
45508 gstreamer-interfaces-$GST_MAJORMINOR
45509 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
45511 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
45512 gstreamer-interfaces-$GST_MAJORMINOR
45513 gstreamer-gconf-$GST_MAJORMINOR" ; then
45514 echo "$as_me:$LINENO: result: yes" >&5
45515 echo "${ECHO_T}yes" >&6
45518 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45519 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45520 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
45521 gstreamer-interfaces-$GST_MAJORMINOR
45522 gstreamer-gconf-$GST_MAJORMINOR"`
45523 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45524 echo "${ECHO_T}$GST_CFLAGS" >&6
45526 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45527 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45528 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
45529 gstreamer-interfaces-$GST_MAJORMINOR
45530 gstreamer-gconf-$GST_MAJORMINOR"`
45531 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45532 echo "${ECHO_T}$GST_LIBS" >&6
45536 ## If we have a custom action on failure, don't print errors, but
45537 ## do set a variable so people can do so.
45538 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
45539 gstreamer-interfaces-$GST_MAJORMINOR
45540 gstreamer-gconf-$GST_MAJORMINOR"`
45547 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45548 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45552 if test $succeeded = yes; then
45554 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45555 LIBS
="$LIBS $GST_LIBS"
45559 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
45560 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
45561 wxUSE_GSTREAMER
="no"
45568 if test "$wxUSE_GSTREAMER" = "yes"; then
45569 cat >>confdefs.h
<<\_ACEOF
45570 #define wxUSE_GSTREAMER 1
45573 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
45574 echo "${ECHO_T}GStreamer detection successful" >&6
45578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45579 cat >>confdefs.h
<<\_ACEOF
45580 #define wxUSE_MEDIACTRL 1
45586 if test "$cross_compiling" = "yes"; then
45589 OSINFO
=`uname -s -r -m`
45590 OSINFO
="\"$OSINFO\""
45593 cat >>confdefs.h
<<_ACEOF
45594 #define WXWIN_OS_DESCRIPTION $OSINFO
45599 if test "x$prefix" != "xNONE"; then
45602 wxPREFIX
=$ac_default_prefix
45605 cat >>confdefs.h
<<_ACEOF
45606 #define wxINSTALL_PREFIX "$wxPREFIX"
45612 CORE_BASE_LIBS
="net base"
45613 CORE_GUI_LIBS
="adv core"
45615 if test "$wxUSE_XML" = "yes" ; then
45616 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45618 if test "$wxUSE_ODBC" != "no" ; then
45619 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45620 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45622 if test "$wxUSE_HTML" = "yes" ; then
45623 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45625 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45626 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45628 if test "$wxUSE_XRC" = "yes" ; then
45629 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45631 if test "$wxUSE_AUI" = "yes" ; then
45632 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45635 if test "$wxUSE_GUI" != "yes"; then
45644 ac_cpp
='$CPP $CPPFLAGS'
45645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45651 if test "$wxUSE_MAC" = 1 ; then
45652 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45653 if test "$USE_DARWIN" = 1; then
45654 LDFLAGS
="$LDFLAGS -framework QuickTime"
45656 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45659 if test "$USE_DARWIN" = 1; then
45660 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45662 LDFLAGS
="$LDFLAGS -lCarbonLib"
45665 if test "$wxUSE_COCOA" = 1 ; then
45666 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45667 if test "$wxUSE_MEDIACTRL" = "yes"; then
45668 LDFLAGS
="$LDFLAGS -framework QuickTime"
45671 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45672 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45675 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45677 if test "$wxUSE_GUI" = "yes"; then
45680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45681 dynamic erase event exec font image minimal mobile \
45682 mobile/wxedit mobile/styles propsize render \
45683 rotate shaped vscroll widgets"
45685 if test "$wxUSE_MONOLITHIC" != "yes"; then
45686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45688 if test "$TOOLKIT" = "MSW"; then
45689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45690 if test "$wxUSE_UNIVERSAL" != "yes"; then
45691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45694 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45698 SAMPLES_SUBDIRS
="console"
45702 if test "x$INTELCC" = "xyes" ; then
45703 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45704 elif test "$GCC" = yes ; then
45705 CWARNINGS
="-Wall -Wundef"
45708 if test "x$INTELCXX" = "xyes" ; then
45709 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45710 elif test "$GXX" = yes ; then
45711 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45715 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45716 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45719 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45720 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45721 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45724 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45725 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45726 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45728 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45731 if test "x$MWCC" = "xyes"; then
45733 CC
="$CC -cwd source -I-"
45734 CXX
="$CXX -cwd source -I-"
45739 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45740 EXTRALIBS_XML
="$EXPAT_LINK"
45741 EXTRALIBS_HTML
="$MSPACK_LINK"
45742 EXTRALIBS_ODBC
="$ODBC_LINK"
45743 if test "$wxUSE_GUI" = "yes"; then
45744 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45746 if test "$wxUSE_OPENGL" = "yes"; then
45747 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45750 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45752 WXCONFIG_LIBS
="$LIBS"
45754 if test "$wxUSE_REGEX" = "builtin" ; then
45755 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45757 if test "$wxUSE_EXPAT" = "builtin" ; then
45758 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45760 if test "$wxUSE_ODBC" = "builtin" ; then
45761 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45763 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45764 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45766 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45767 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45769 if test "$wxUSE_LIBPNG" = "builtin" ; then
45770 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45772 if test "$wxUSE_ZLIB" = "builtin" ; then
45773 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45776 for i
in $wxconfig_3rdparty ; do
45777 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45781 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45795 if test $wxUSE_MONOLITHIC = "yes" ; then
45801 if test $wxUSE_PLUGINS = "yes" ; then
45807 if test $wxUSE_ODBC != "no" ; then
45813 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45819 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45849 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45860 TOOLKIT_USER
="GTK+"
45861 if test "$WXGTK20" = 1; then
45862 TOOLKIT_USER
="$TOOLKIT_USER 2"
45867 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45871 if test "$wxUSE_WINE" = "yes"; then
45872 BAKEFILE_FORCE_PLATFORM
=win32
45875 if test "$wxUSE_MAC" = 1 ; then
45876 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45877 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45878 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45879 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45882 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45883 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45884 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45890 if test "x$BAKEFILE_HOST" = "x"; then
45891 if test "x${host}" = "x" ; then
45892 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45893 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45894 { (exit 1); exit 1; }; }
45897 BAKEFILE_HOST
="${host}"
45900 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45902 if test -n "$ac_tool_prefix"; then
45903 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45904 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45905 echo "$as_me:$LINENO: checking for $ac_word" >&5
45906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45907 if test "${ac_cv_prog_RANLIB+set}" = set; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45910 if test -n "$RANLIB"; then
45911 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45914 for as_dir
in $PATH
45917 test -z "$as_dir" && as_dir
=.
45918 for ac_exec_ext
in '' $ac_executable_extensions; do
45919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45920 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45929 RANLIB
=$ac_cv_prog_RANLIB
45930 if test -n "$RANLIB"; then
45931 echo "$as_me:$LINENO: result: $RANLIB" >&5
45932 echo "${ECHO_T}$RANLIB" >&6
45934 echo "$as_me:$LINENO: result: no" >&5
45935 echo "${ECHO_T}no" >&6
45939 if test -z "$ac_cv_prog_RANLIB"; then
45940 ac_ct_RANLIB
=$RANLIB
45941 # Extract the first word of "ranlib", so it can be a program name with args.
45942 set dummy ranlib
; ac_word
=$2
45943 echo "$as_me:$LINENO: checking for $ac_word" >&5
45944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45945 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45948 if test -n "$ac_ct_RANLIB"; then
45949 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45952 for as_dir
in $PATH
45955 test -z "$as_dir" && as_dir
=.
45956 for ac_exec_ext
in '' $ac_executable_extensions; do
45957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45958 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45965 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45968 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45969 if test -n "$ac_ct_RANLIB"; then
45970 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45971 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45973 echo "$as_me:$LINENO: result: no" >&5
45974 echo "${ECHO_T}no" >&6
45977 RANLIB
=$ac_ct_RANLIB
45979 RANLIB
="$ac_cv_prog_RANLIB"
45982 # Find a good install program. We prefer a C program (faster),
45983 # so one script is as good as another. But avoid the broken or
45984 # incompatible versions:
45985 # SysV /etc/install, /usr/sbin/install
45986 # SunOS /usr/etc/install
45987 # IRIX /sbin/install
45989 # AmigaOS /C/install, which installs bootblocks on floppy discs
45990 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45991 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45992 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45993 # OS/2's system install, which has a completely different semantic
45994 # ./install, which can be erroneously created by make from ./install.sh.
45995 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45996 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45997 if test -z "$INSTALL"; then
45998 if test "${ac_cv_path_install+set}" = set; then
45999 echo $ECHO_N "(cached) $ECHO_C" >&6
46001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46002 for as_dir
in $PATH
46005 test -z "$as_dir" && as_dir
=.
46006 # Account for people who put trailing slashes in PATH elements.
46008 .
/ | .
// | /cC
/* | \
46009 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46010 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46013 # OSF1 and SCO ODT 3.0 have their own names for install.
46014 # Don't use installbsd from OSF since it installs stuff as root
46016 for ac_prog
in ginstall scoinst
install; do
46017 for ac_exec_ext
in '' $ac_executable_extensions; do
46018 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46019 if test $ac_prog = install &&
46020 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46021 # AIX install. It has an incompatible calling convention.
46023 elif test $ac_prog = install &&
46024 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46025 # program-specific install script used by HP pwplus--don't use.
46028 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46040 if test "${ac_cv_path_install+set}" = set; then
46041 INSTALL
=$ac_cv_path_install
46043 # As a last resort, use the slow shell script. We don't cache a
46044 # path for INSTALL within a source directory, because that will
46045 # break other packages using the cache if that directory is
46046 # removed, or if the path is relative.
46047 INSTALL
=$ac_install_sh
46050 echo "$as_me:$LINENO: result: $INSTALL" >&5
46051 echo "${ECHO_T}$INSTALL" >&6
46053 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46054 # It thinks the first close brace ends the variable substitution.
46055 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46057 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46059 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46061 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46062 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46064 if test "$LN_S" = "ln -s"; then
46065 echo "$as_me:$LINENO: result: yes" >&5
46066 echo "${ECHO_T}yes" >&6
46068 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46069 echo "${ECHO_T}no, using $LN_S" >&6
46073 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46074 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46075 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46076 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46077 echo $ECHO_N "(cached) $ECHO_C" >&6
46079 cat >conftest.
make <<\_ACEOF
46081 @
echo 'ac_maketemp="$(MAKE)"'
46083 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46084 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46085 if test -n "$ac_maketemp"; then
46086 eval ac_cv_prog_make_
${ac_make}_set
=yes
46088 eval ac_cv_prog_make_
${ac_make}_set
=no
46090 rm -f conftest.
make
46092 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46093 echo "$as_me:$LINENO: result: yes" >&5
46094 echo "${ECHO_T}yes" >&6
46097 echo "$as_me:$LINENO: result: no" >&5
46098 echo "${ECHO_T}no" >&6
46099 SET_MAKE
="MAKE=${MAKE-make}"
46104 if test -n "$ac_tool_prefix"; then
46105 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46106 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46107 echo "$as_me:$LINENO: checking for $ac_word" >&5
46108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46109 if test "${ac_cv_prog_AR+set}" = set; then
46110 echo $ECHO_N "(cached) $ECHO_C" >&6
46112 if test -n "$AR"; then
46113 ac_cv_prog_AR
="$AR" # Let the user override the test.
46115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46116 for as_dir
in $PATH
46119 test -z "$as_dir" && as_dir
=.
46120 for ac_exec_ext
in '' $ac_executable_extensions; do
46121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46122 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46132 if test -n "$AR"; then
46133 echo "$as_me:$LINENO: result: $AR" >&5
46134 echo "${ECHO_T}$AR" >&6
46136 echo "$as_me:$LINENO: result: no" >&5
46137 echo "${ECHO_T}no" >&6
46141 if test -z "$ac_cv_prog_AR"; then
46143 # Extract the first word of "ar", so it can be a program name with args.
46144 set dummy
ar; ac_word
=$2
46145 echo "$as_me:$LINENO: checking for $ac_word" >&5
46146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46148 echo $ECHO_N "(cached) $ECHO_C" >&6
46150 if test -n "$ac_ct_AR"; then
46151 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46154 for as_dir
in $PATH
46157 test -z "$as_dir" && as_dir
=.
46158 for ac_exec_ext
in '' $ac_executable_extensions; do
46159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46160 ac_cv_prog_ac_ct_AR
="ar"
46161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46167 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46170 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46171 if test -n "$ac_ct_AR"; then
46172 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46173 echo "${ECHO_T}$ac_ct_AR" >&6
46175 echo "$as_me:$LINENO: result: no" >&5
46176 echo "${ECHO_T}no" >&6
46181 AR
="$ac_cv_prog_AR"
46184 if test -n "$ac_tool_prefix"; then
46185 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46186 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46187 echo "$as_me:$LINENO: checking for $ac_word" >&5
46188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46189 if test "${ac_cv_prog_STRIP+set}" = set; then
46190 echo $ECHO_N "(cached) $ECHO_C" >&6
46192 if test -n "$STRIP"; then
46193 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46196 for as_dir
in $PATH
46199 test -z "$as_dir" && as_dir
=.
46200 for ac_exec_ext
in '' $ac_executable_extensions; do
46201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46202 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46211 STRIP
=$ac_cv_prog_STRIP
46212 if test -n "$STRIP"; then
46213 echo "$as_me:$LINENO: result: $STRIP" >&5
46214 echo "${ECHO_T}$STRIP" >&6
46216 echo "$as_me:$LINENO: result: no" >&5
46217 echo "${ECHO_T}no" >&6
46221 if test -z "$ac_cv_prog_STRIP"; then
46223 # Extract the first word of "strip", so it can be a program name with args.
46224 set dummy strip
; ac_word
=$2
46225 echo "$as_me:$LINENO: checking for $ac_word" >&5
46226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46227 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46228 echo $ECHO_N "(cached) $ECHO_C" >&6
46230 if test -n "$ac_ct_STRIP"; then
46231 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46234 for as_dir
in $PATH
46237 test -z "$as_dir" && as_dir
=.
46238 for ac_exec_ext
in '' $ac_executable_extensions; do
46239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46240 ac_cv_prog_ac_ct_STRIP
="strip"
46241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46247 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46250 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46251 if test -n "$ac_ct_STRIP"; then
46252 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46253 echo "${ECHO_T}$ac_ct_STRIP" >&6
46255 echo "$as_me:$LINENO: result: no" >&5
46256 echo "${ECHO_T}no" >&6
46261 STRIP
="$ac_cv_prog_STRIP"
46264 if test -n "$ac_tool_prefix"; then
46265 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46266 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46267 echo "$as_me:$LINENO: checking for $ac_word" >&5
46268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46269 if test "${ac_cv_prog_NM+set}" = set; then
46270 echo $ECHO_N "(cached) $ECHO_C" >&6
46272 if test -n "$NM"; then
46273 ac_cv_prog_NM
="$NM" # Let the user override the test.
46275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46276 for as_dir
in $PATH
46279 test -z "$as_dir" && as_dir
=.
46280 for ac_exec_ext
in '' $ac_executable_extensions; do
46281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46282 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46292 if test -n "$NM"; then
46293 echo "$as_me:$LINENO: result: $NM" >&5
46294 echo "${ECHO_T}$NM" >&6
46296 echo "$as_me:$LINENO: result: no" >&5
46297 echo "${ECHO_T}no" >&6
46301 if test -z "$ac_cv_prog_NM"; then
46303 # Extract the first word of "nm", so it can be a program name with args.
46304 set dummy nm
; ac_word
=$2
46305 echo "$as_me:$LINENO: checking for $ac_word" >&5
46306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46307 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46308 echo $ECHO_N "(cached) $ECHO_C" >&6
46310 if test -n "$ac_ct_NM"; then
46311 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46314 for as_dir
in $PATH
46317 test -z "$as_dir" && as_dir
=.
46318 for ac_exec_ext
in '' $ac_executable_extensions; do
46319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46320 ac_cv_prog_ac_ct_NM
="nm"
46321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46327 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46330 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46331 if test -n "$ac_ct_NM"; then
46332 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46333 echo "${ECHO_T}$ac_ct_NM" >&6
46335 echo "$as_me:$LINENO: result: no" >&5
46336 echo "${ECHO_T}no" >&6
46341 NM
="$ac_cv_prog_NM"
46345 case ${BAKEFILE_HOST} in
46347 INSTALL_DIR
="mkdir -p"
46349 *) INSTALL_DIR
="$INSTALL -d"
46355 case ${BAKEFILE_HOST} in
46356 *-*-cygwin* | *-*-mingw32* )
46357 LDFLAGS_GUI
="-mwindows"
46363 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46364 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46365 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46366 echo $ECHO_N "(cached) $ECHO_C" >&6
46369 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46370 egrep -s GNU
> /dev
/null
); then
46371 bakefile_cv_prog_makeisgnu
="yes"
46373 bakefile_cv_prog_makeisgnu
="no"
46377 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46378 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46380 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46397 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46398 case "${BAKEFILE_HOST}" in
46405 *-pc-os2_emx | *-pc-os2-emx )
46415 powerpc
-apple-macos* )
46424 case "$BAKEFILE_FORCE_PLATFORM" in
46445 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46446 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46447 { (exit 1); exit 1; }; }
46462 # Check whether --enable-omf or --disable-omf was given.
46463 if test "${enable_omf+set}" = set; then
46464 enableval
="$enable_omf"
46465 bk_os2_use_omf
="$enableval"
46468 case "${BAKEFILE_HOST}" in
46470 if test "x$GCC" = "xyes"; then
46471 CFLAGS
="$CFLAGS -fno-common"
46472 CXXFLAGS
="$CXXFLAGS -fno-common"
46474 if test "x$XLCC" = "xyes"; then
46475 CFLAGS
="$CFLAGS -qnocommon"
46476 CXXFLAGS
="$CXXFLAGS -qnocommon"
46480 *-pc-os2_emx | *-pc-os2-emx )
46481 if test "x$bk_os2_use_omf" = "xyes" ; then
46484 LDFLAGS
="-Zomf $LDFLAGS"
46485 CFLAGS
="-Zomf $CFLAGS"
46486 CXXFLAGS
="-Zomf $CXXFLAGS"
46494 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46500 SO_SUFFIX_MODULE
="so"
46505 DLLPREFIX_MODULE
=""
46509 case "${BAKEFILE_HOST}" in
46512 SO_SUFFIX_MODULE
="sl"
46516 SO_SUFFIX_MODULE
="a"
46520 SO_SUFFIX_MODULE
="dll"
46521 DLLIMP_SUFFIX
="dll.a"
46528 SO_SUFFIX_MODULE
="dll"
46529 DLLIMP_SUFFIX
="dll.a"
46539 *-pc-os2_emx | *-pc-os2-emx )
46541 SO_SUFFIX_MODULE
="dll"
46542 DLLIMP_SUFFIX
=$OS2_LIBEXT
46546 LIBEXT
=".$OS2_LIBEXT"
46551 SO_SUFFIX_MODULE
="bundle"
46555 if test "x$DLLIMP_SUFFIX" = "x" ; then
46556 DLLIMP_SUFFIX
="$SO_SUFFIX"
46571 if test "x$GCC" = "xyes"; then
46575 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46576 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46579 case "${BAKEFILE_HOST}" in
46581 if test "x$GCC" != "xyes"; then
46582 LDFLAGS
="$LDFLAGS -L/usr/lib"
46584 SHARED_LD_CC
="${CC} -b -o"
46585 SHARED_LD_CXX
="${CXX} -b -o"
46591 if test "x$GCC" != "xyes"; then
46592 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46593 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46594 if test "${bakefile_cv_prog_icc+set}" = set; then
46595 echo $ECHO_N "(cached) $ECHO_C" >&6
46598 cat >conftest.
$ac_ext <<_ACEOF
46601 cat confdefs.h
>>conftest.
$ac_ext
46602 cat >>conftest.
$ac_ext <<_ACEOF
46603 /* end confdefs.h. */
46609 #ifndef __INTEL_COMPILER
46617 rm -f conftest.
$ac_objext
46618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46619 (eval $ac_compile) 2>conftest.er1
46621 grep -v '^ *+' conftest.er1
>conftest.err
46623 cat conftest.err
>&5
46624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46625 (exit $ac_status); } &&
46626 { ac_try
='test -z "$ac_c_werror_flag"
46627 || test ! -s conftest.err'
46628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46629 (eval $ac_try) 2>&5
46631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46632 (exit $ac_status); }; } &&
46633 { ac_try
='test -s conftest.$ac_objext'
46634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46635 (eval $ac_try) 2>&5
46637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46638 (exit $ac_status); }; }; then
46639 bakefile_cv_prog_icc
=yes
46641 echo "$as_me: failed program was:" >&5
46642 sed 's/^/| /' conftest.
$ac_ext >&5
46644 bakefile_cv_prog_icc
=no
46647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46650 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46651 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46652 if test "$bakefile_cv_prog_icc" = "yes"; then
46659 if test "x$GCC" != xyes
; then
46660 SHARED_LD_CC
="${CC} -G -o"
46661 SHARED_LD_CXX
="${CXX} -G -o"
46669 cat <<EOF >shared-ld-sh
46671 #-----------------------------------------------------------------------------
46672 #-- Name: distrib/mac/shared-ld-sh
46673 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46674 #-- Author: Gilles Depeyrot
46675 #-- Copyright: (c) 2002 Gilles Depeyrot
46676 #-- Licence: any use permitted
46677 #-----------------------------------------------------------------------------
46682 linking_flag="-dynamiclib"
46683 ldargs="-r -keep_private_externs -nostdlib"
46685 while test ${D}# -gt 0; do
46692 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46693 # collect these options and values
46694 args="${D}{args} ${D}1 ${D}2"
46699 # collect these load args
46700 ldargs="${D}{ldargs} ${D}1"
46703 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46704 # collect these options
46705 args="${D}{args} ${D}1"
46708 -dynamiclib|-bundle)
46709 linking_flag="${D}1"
46713 echo "shared-ld: unhandled option '${D}1'"
46717 *.o | *.a | *.dylib)
46718 # collect object files
46719 objects="${D}{objects} ${D}1"
46723 echo "shared-ld: unhandled argument '${D}1'"
46734 # Link one module containing all the others
46736 if test ${D}{verbose} = 1; then
46737 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46739 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46743 # Link the shared library from the single module created, but only if the
46744 # previous command didn't fail:
46746 if test ${D}{status} = 0; then
46747 if test ${D}{verbose} = 1; then
46748 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46750 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46755 # Remove intermediate module
46757 rm -f master.${D}${D}.o
46762 chmod +x shared
-ld-sh
46764 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46765 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46768 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46769 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46770 if test "${bakefile_cv_gcc31+set}" = set; then
46771 echo $ECHO_N "(cached) $ECHO_C" >&6
46774 cat >conftest.
$ac_ext <<_ACEOF
46777 cat confdefs.h
>>conftest.
$ac_ext
46778 cat >>conftest.
$ac_ext <<_ACEOF
46779 /* end confdefs.h. */
46785 #if (__GNUC__ < 3) || \
46786 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46794 rm -f conftest.
$ac_objext
46795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46796 (eval $ac_compile) 2>conftest.er1
46798 grep -v '^ *+' conftest.er1
>conftest.err
46800 cat conftest.err
>&5
46801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46802 (exit $ac_status); } &&
46803 { ac_try
='test -z "$ac_c_werror_flag"
46804 || test ! -s conftest.err'
46805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46806 (eval $ac_try) 2>&5
46808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46809 (exit $ac_status); }; } &&
46810 { ac_try
='test -s conftest.$ac_objext'
46811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46812 (eval $ac_try) 2>&5
46814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46815 (exit $ac_status); }; }; then
46817 bakefile_cv_gcc31
=yes
46820 echo "$as_me: failed program was:" >&5
46821 sed 's/^/| /' conftest.
$ac_ext >&5
46824 bakefile_cv_gcc31
=no
46828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46831 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46832 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46833 if test "$bakefile_cv_gcc31" = "no"; then
46834 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46835 SHARED_LD_CXX
="$SHARED_LD_CC"
46837 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46838 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46841 if test "x$GCC" == "xyes"; then
46842 PIC_FLAG
="-dynamic -fPIC"
46844 if test "x$XLCC" = "xyes"; then
46845 PIC_FLAG
="-dynamic -DPIC"
46850 if test "x$GCC" = "xyes"; then
46853 case "${BAKEFILE_HOST}" in
46855 LD_EXPFULL
="-Wl,-bexpfull"
46859 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46860 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46862 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46863 set dummy makeC
++SharedLib
; ac_word
=$2
46864 echo "$as_me:$LINENO: checking for $ac_word" >&5
46865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46866 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46867 echo $ECHO_N "(cached) $ECHO_C" >&6
46869 if test -n "$AIX_CXX_LD"; then
46870 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46873 for as_dir
in $PATH
46876 test -z "$as_dir" && as_dir
=.
46877 for ac_exec_ext
in '' $ac_executable_extensions; do
46878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46879 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46886 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46889 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46890 if test -n "$AIX_CXX_LD"; then
46891 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46892 echo "${ECHO_T}$AIX_CXX_LD" >&6
46894 echo "$as_me:$LINENO: result: no" >&5
46895 echo "${ECHO_T}no" >&6
46898 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46899 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46904 SHARED_LD_CC
="${LD} -nostart -o"
46905 SHARED_LD_CXX
="${LD} -nostart -o"
46909 if test "x$GCC" != "xyes"; then
46914 *-*-cygwin* | *-*-mingw32* )
46916 SHARED_LD_CC
="\$(CC) -shared -o"
46917 SHARED_LD_CXX
="\$(CXX) -shared -o"
46921 *-pc-os2_emx | *-pc-os2-emx )
46922 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46923 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46927 cat <<EOF >dllar.sh
46930 # dllar - a tool to build both a .dll and an .a file
46931 # from a set of object (.o) files for EMX/OS2.
46933 # Written by Andrew Zabolotny, bit@freya.etu.ru
46934 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46936 # This script will accept a set of files on the command line.
46937 # All the public symbols from the .o files will be exported into
46938 # a .DEF file, then linker will be run (through gcc) against them to
46939 # build a shared library consisting of all given .o files. All libraries
46940 # (.a) will be first decompressed into component .o files then act as
46941 # described above. You can optionally give a description (-d "description")
46942 # which will be put into .DLL. To see the list of accepted options (as well
46943 # as command-line format) simply run this program without options. The .DLL
46944 # is built to be imported by name (there is no guarantee that new versions
46945 # of the library you build will have same ordinals for same symbols).
46947 # dllar is free software; you can redistribute it and/or modify
46948 # it under the terms of the GNU General Public License as published by
46949 # the Free Software Foundation; either version 2, or (at your option)
46950 # any later version.
46952 # dllar is distributed in the hope that it will be useful,
46953 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46954 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46955 # GNU General Public License for more details.
46957 # You should have received a copy of the GNU General Public License
46958 # along with dllar; see the file COPYING. If not, write to the Free
46959 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46962 # To successfuly run this program you will need:
46963 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46964 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46966 # (used to build the .dll)
46968 # (used to create .def file from .o files)
46970 # (used to create .a file from .def file)
46971 # - GNU text utilites (cat, sort, uniq)
46972 # used to process emxexp output
46973 # - GNU file utilities (mv, rm)
46975 # - lxlite (optional, see flag below)
46976 # (used for general .dll cleanup)
46983 # basnam, variant of basename, which does _not_ remove the path, _iff_
46984 # second argument (suffix to remove) is given
46988 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46991 echo ${D}1 | sed 's/'${D}2'${D}//'
46994 echo "error in basnam ${D}*"
47000 # Cleanup temporary files and output
47003 for i in ${D}inputFiles ; do
47006 rm -rf \`basnam ${D}i !\`
47013 # Kill result in case of failure as there is just to many stupid make/nmake
47014 # things out there which doesn't do this.
47015 if [ ${D}# -eq 0 ]; then
47016 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47020 # Print usage and exit script with rc=1.
47022 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47023 echo ' [-name-mangler-script script.sh]'
47024 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47025 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47026 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47027 echo ' [*.o] [*.a]'
47028 echo '*> "output_file" should have no extension.'
47029 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47030 echo ' The import library name is derived from this and is set to "name".a,'
47031 echo ' unless overridden by -import'
47032 echo '*> "importlib_name" should have no extension.'
47033 echo ' If it has the .o, or .a extension, it is automatically removed.'
47034 echo ' This name is used as the import library name and may be longer and'
47035 echo ' more descriptive than the DLL name which has to follow the old '
47036 echo ' 8.3 convention of FAT.'
47037 echo '*> "script.sh may be given to override the output_file name by a'
47038 echo ' different name. It is mainly useful if the regular make process'
47039 echo ' of some package does not take into account OS/2 restriction of'
47040 echo ' DLL name lengths. It takes the importlib name as input and is'
47041 echo ' supposed to procude a shorter name as output. The script should'
47042 echo ' expect to get importlib_name without extension and should produce'
47043 echo ' a (max.) 8 letter name without extension.'
47044 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47045 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47046 echo ' These flags will be put at the start of GCC command line.'
47047 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47048 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47049 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47050 echo ' If the last character of a symbol is "*", all symbols beginning'
47051 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47052 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47053 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47054 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47055 echo ' C runtime DLLs.'
47056 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47057 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47058 echo ' unchanged to GCC at the end of command line.'
47059 echo '*> If you create a DLL from a library and you do not specify -o,'
47060 echo ' the basename for DLL and import library will be set to library name,'
47061 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47062 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47063 echo ' library will be renamed into gcc_s.a.'
47066 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47067 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47072 # Execute a command.
47073 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47074 # @Uses Whatever CleanUp() uses.
47080 if [ ${D}rcCmd -ne 0 ]; then
47081 echo "command failed, exit code="${D}rcCmd
47096 CFLAGS="-s -Zcrtdll"
47098 EXPORT_BY_ORDINALS=0
47103 case ${D}curDirS in
47107 curDirS=${D}{curDirS}"/"
47110 # Parse commandline
47113 while [ ${D}1 ]; do
47116 EXPORT_BY_ORDINALS=1;
47126 -name-mangler-script)
47147 exclude_symbols=${D}{exclude_symbols}${D}1" "
47151 library_flags=${D}{library_flags}${D}1" "
47170 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47173 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47174 if [ ${D}omfLinking -eq 1 ]; then
47175 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47177 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47182 if [ ${D}libsToLink -ne 0 ]; then
47183 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47185 for file in ${D}1 ; do
47186 if [ -f ${D}file ]; then
47187 inputFiles="${D}{inputFiles} ${D}file"
47191 if [ ${D}found -eq 0 ]; then
47192 echo "ERROR: No file(s) found: "${D}1
47199 done # iterate cmdline words
47202 if [ -z "${D}inputFiles" ]; then
47203 echo "dllar: no input files"
47207 # Now extract all .o files from .a files
47209 for file in ${D}inputFiles ; do
47220 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47225 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47227 if [ ${D}? -ne 0 ]; then
47228 echo "Failed to create subdirectory ./${D}dirname"
47232 # Append '!' to indicate archive
47233 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47234 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47237 for subfile in ${D}dirname/*.o* ; do
47238 if [ -f ${D}subfile ]; then
47240 if [ -s ${D}subfile ]; then
47241 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47242 newInputFiles="${D}newInputFiles ${D}subfile"
47246 if [ ${D}found -eq 0 ]; then
47247 echo "WARNING: there are no files in archive \\'${D}file\\'"
47251 newInputFiles="${D}{newInputFiles} ${D}file"
47255 inputFiles="${D}newInputFiles"
47257 # Output filename(s).
47259 if [ -z ${D}outFile ]; then
47261 set outFile ${D}inputFiles; outFile=${D}2
47264 # If it is an archive, remove the '!' and the '_%' suffixes
47265 case ${D}outFile in
47267 outFile=\`basnam ${D}outFile _%!\`
47272 case ${D}outFile in
47274 outFile=\`basnam ${D}outFile .dll\`
47277 outFile=\`basnam ${D}outFile .DLL\`
47280 outFile=\`basnam ${D}outFile .o\`
47283 outFile=\`basnam ${D}outFile .obj\`
47286 outFile=\`basnam ${D}outFile .a\`
47289 outFile=\`basnam ${D}outFile .lib\`
47294 case ${D}outimpFile in
47296 outimpFile=\`basnam ${D}outimpFile .a\`
47299 outimpFile=\`basnam ${D}outimpFile .lib\`
47304 if [ -z ${D}outimpFile ]; then
47305 outimpFile=${D}outFile
47307 defFile="${D}{outFile}.def"
47308 arcFile="${D}{outimpFile}.a"
47309 arcFile2="${D}{outimpFile}.lib"
47311 #create ${D}dllFile as something matching 8.3 restrictions,
47312 if [ -z ${D}renameScript ] ; then
47313 dllFile="${D}outFile"
47315 dllFile=\`${D}renameScript ${D}outimpFile\`
47318 if [ ${D}do_backup -ne 0 ] ; then
47319 if [ -f ${D}arcFile ] ; then
47320 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47322 if [ -f ${D}arcFile2 ] ; then
47323 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47327 # Extract public symbols from all the object files.
47328 tmpdefFile=${D}{defFile}_%
47329 rm -f ${D}tmpdefFile
47330 for file in ${D}inputFiles ; do
47335 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47340 # Create the def file.
47342 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47343 dllFile="${D}{dllFile}.dll"
47344 if [ ! -z ${D}description ]; then
47345 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47347 echo "EXPORTS" >> ${D}defFile
47349 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47350 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47352 # Checks if the export is ok or not.
47353 for word in ${D}exclude_symbols; do
47354 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47355 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47359 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47360 sed "=" < ${D}tmpdefFile | \\
47364 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47366 ' > ${D}{tmpdefFile}%
47367 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47369 rm -f ${D}{tmpdefFile}%
47371 cat ${D}tmpdefFile >> ${D}defFile
47372 rm -f ${D}tmpdefFile
47374 # Do linking, create implib, and apply lxlite.
47376 for file in ${D}inputFiles ; do
47381 gccCmdl="${D}gccCmdl ${D}file"
47385 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47386 touch "${D}{outFile}.dll"
47388 doCommand "emximp -o ${D}arcFile ${D}defFile"
47389 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47391 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47394 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47396 doCommand "emxomf -s -l ${D}arcFile"
47406 powerpc
-apple-macos* | \
47407 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47416 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47417 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47418 { (exit 1); exit 1; }; }
47421 if test "x$PIC_FLAG" != "x" ; then
47422 PIC_FLAG
="$PIC_FLAG -DPIC"
47425 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47426 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47428 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47429 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47448 case "${BAKEFILE_HOST}" in
47449 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47450 SONAME_FLAG
="-Wl,-soname,"
47484 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47485 if test "${enable_dependency_tracking+set}" = set; then
47486 enableval
="$enable_dependency_tracking"
47487 bk_use_trackdeps
="$enableval"
47490 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47491 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47493 if test "x$bk_use_trackdeps" = "xno" ; then
47495 echo "$as_me:$LINENO: result: disabled" >&5
47496 echo "${ECHO_T}disabled" >&6
47500 if test "x$GCC" = "xyes"; then
47502 case "${BAKEFILE_HOST}" in
47504 DEPSFLAG
="-no-cpp-precomp -MMD"
47510 echo "$as_me:$LINENO: result: gcc" >&5
47511 echo "${ECHO_T}gcc" >&6
47512 elif test "x$MWCC" = "xyes"; then
47515 echo "$as_me:$LINENO: result: mwcc" >&5
47516 echo "${ECHO_T}mwcc" >&6
47517 elif test "x$SUNCC" = "xyes"; then
47520 echo "$as_me:$LINENO: result: Sun cc" >&5
47521 echo "${ECHO_T}Sun cc" >&6
47522 elif test "x$SGICC" = "xyes"; then
47525 echo "$as_me:$LINENO: result: SGI cc" >&5
47526 echo "${ECHO_T}SGI cc" >&6
47527 elif test "x$HPCC" = "xyes"; then
47530 echo "$as_me:$LINENO: result: HP cc" >&5
47531 echo "${ECHO_T}HP cc" >&6
47532 elif test "x$COMPAQCC" = "xyes"; then
47535 echo "$as_me:$LINENO: result: Compaq cc" >&5
47536 echo "${ECHO_T}Compaq cc" >&6
47539 echo "$as_me:$LINENO: result: none" >&5
47540 echo "${ECHO_T}none" >&6
47543 if test $DEPS_TRACKING = 1 ; then
47549 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47550 # script. It is used to track C/C++ files dependencies in portable way.
47552 # Permission is given to use this file in any way.
47554 DEPSMODE=${DEPSMODE}
47556 DEPSFLAG="${DEPSFLAG}"
47558 mkdir -p ${D}DEPSDIR
47560 if test ${D}DEPSMODE = gcc ; then
47561 ${D}* ${D}{DEPSFLAG}
47563 if test ${D}{status} != 0 ; then
47566 # move created file to the location we want it in:
47567 while test ${D}# -gt 0; do
47581 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47582 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47583 if test -f ${D}depfile ; then
47584 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47587 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47588 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47589 if test ! -f ${D}depfile ; then
47590 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47591 depfile="${D}objfile.d"
47593 if test -f ${D}depfile ; then
47594 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47599 elif test ${D}DEPSMODE = mwcc ; then
47600 ${D}* || exit ${D}?
47601 # Run mwcc again with -MM and redirect into the dep file we want
47602 # NOTE: We can't use shift here because we need ${D}* to be valid
47604 for arg in ${D}* ; do
47605 if test "${D}prevarg" = "-o"; then
47618 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47620 elif test ${D}DEPSMODE = unixcc; then
47621 ${D}* || exit ${D}?
47622 # Run compiler again with deps flag and redirect into the dep file.
47623 # It doesn't work if the '-o FILE' option is used, but without it the
47624 # dependency file will contain the wrong name for the object. So it is
47625 # removed from the command line, and the dep file is fixed with sed.
47627 while test ${D}# -gt 0; do
47634 eval arg${D}#=\\${D}1
47635 cmd="${D}cmd \\${D}arg${D}#"
47640 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47655 case ${BAKEFILE_HOST} in
47656 *-*-cygwin* | *-*-mingw32* )
47657 if test -n "$ac_tool_prefix"; then
47658 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47659 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47660 echo "$as_me:$LINENO: checking for $ac_word" >&5
47661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47662 if test "${ac_cv_prog_WINDRES+set}" = set; then
47663 echo $ECHO_N "(cached) $ECHO_C" >&6
47665 if test -n "$WINDRES"; then
47666 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47669 for as_dir
in $PATH
47672 test -z "$as_dir" && as_dir
=.
47673 for ac_exec_ext
in '' $ac_executable_extensions; do
47674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47675 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47684 WINDRES
=$ac_cv_prog_WINDRES
47685 if test -n "$WINDRES"; then
47686 echo "$as_me:$LINENO: result: $WINDRES" >&5
47687 echo "${ECHO_T}$WINDRES" >&6
47689 echo "$as_me:$LINENO: result: no" >&5
47690 echo "${ECHO_T}no" >&6
47694 if test -z "$ac_cv_prog_WINDRES"; then
47695 ac_ct_WINDRES
=$WINDRES
47696 # Extract the first word of "windres", so it can be a program name with args.
47697 set dummy windres
; ac_word
=$2
47698 echo "$as_me:$LINENO: checking for $ac_word" >&5
47699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47700 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47701 echo $ECHO_N "(cached) $ECHO_C" >&6
47703 if test -n "$ac_ct_WINDRES"; then
47704 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47707 for as_dir
in $PATH
47710 test -z "$as_dir" && as_dir
=.
47711 for ac_exec_ext
in '' $ac_executable_extensions; do
47712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47713 ac_cv_prog_ac_ct_WINDRES
="windres"
47714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47722 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47723 if test -n "$ac_ct_WINDRES"; then
47724 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47725 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47727 echo "$as_me:$LINENO: result: no" >&5
47728 echo "${ECHO_T}no" >&6
47731 WINDRES
=$ac_ct_WINDRES
47733 WINDRES
="$ac_cv_prog_WINDRES"
47738 *-*-darwin* | powerpc
-apple-macos* )
47739 # Extract the first word of "Rez", so it can be a program name with args.
47740 set dummy Rez
; ac_word
=$2
47741 echo "$as_me:$LINENO: checking for $ac_word" >&5
47742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47743 if test "${ac_cv_prog_REZ+set}" = set; then
47744 echo $ECHO_N "(cached) $ECHO_C" >&6
47746 if test -n "$REZ"; then
47747 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47750 for as_dir
in $PATH
47753 test -z "$as_dir" && as_dir
=.
47754 for ac_exec_ext
in '' $ac_executable_extensions; do
47755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47756 ac_cv_prog_REZ
="Rez"
47757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47763 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47766 REZ
=$ac_cv_prog_REZ
47767 if test -n "$REZ"; then
47768 echo "$as_me:$LINENO: result: $REZ" >&5
47769 echo "${ECHO_T}$REZ" >&6
47771 echo "$as_me:$LINENO: result: no" >&5
47772 echo "${ECHO_T}no" >&6
47775 # Extract the first word of "SetFile", so it can be a program name with args.
47776 set dummy SetFile
; ac_word
=$2
47777 echo "$as_me:$LINENO: checking for $ac_word" >&5
47778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47779 if test "${ac_cv_prog_SETFILE+set}" = set; then
47780 echo $ECHO_N "(cached) $ECHO_C" >&6
47782 if test -n "$SETFILE"; then
47783 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47786 for as_dir
in $PATH
47789 test -z "$as_dir" && as_dir
=.
47790 for ac_exec_ext
in '' $ac_executable_extensions; do
47791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47792 ac_cv_prog_SETFILE
="SetFile"
47793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47799 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47802 SETFILE
=$ac_cv_prog_SETFILE
47803 if test -n "$SETFILE"; then
47804 echo "$as_me:$LINENO: result: $SETFILE" >&5
47805 echo "${ECHO_T}$SETFILE" >&6
47807 echo "$as_me:$LINENO: result: no" >&5
47808 echo "${ECHO_T}no" >&6
47819 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47822 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47826 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47827 if test "${enable_precomp_headers+set}" = set; then
47828 enableval
="$enable_precomp_headers"
47829 bk_use_pch
="$enableval"
47836 case ${BAKEFILE_HOST} in
47842 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47843 if test "x$GCC" = "xyes"; then
47844 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47845 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47846 cat >conftest.
$ac_ext <<_ACEOF
47849 cat confdefs.h
>>conftest.
$ac_ext
47850 cat >>conftest.
$ac_ext <<_ACEOF
47851 /* end confdefs.h. */
47857 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47858 There is no PCH support
47861 There is no PCH support
47863 #if (__GNUC__ == 3) && \
47864 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47865 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47866 ( defined(__INTEL_COMPILER) )
47867 There is no PCH support
47874 rm -f conftest.
$ac_objext
47875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47876 (eval $ac_compile) 2>conftest.er1
47878 grep -v '^ *+' conftest.er1
>conftest.err
47880 cat conftest.err
>&5
47881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47882 (exit $ac_status); } &&
47883 { ac_try
='test -z "$ac_c_werror_flag"
47884 || test ! -s conftest.err'
47885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47886 (eval $ac_try) 2>&5
47888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47889 (exit $ac_status); }; } &&
47890 { ac_try
='test -s conftest.$ac_objext'
47891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47892 (eval $ac_try) 2>&5
47894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47895 (exit $ac_status); }; }; then
47897 echo "$as_me:$LINENO: result: yes" >&5
47898 echo "${ECHO_T}yes" >&6
47902 echo "$as_me: failed program was:" >&5
47903 sed 's/^/| /' conftest.
$ac_ext >&5
47906 cat >conftest.
$ac_ext <<_ACEOF
47909 cat confdefs.h
>>conftest.
$ac_ext
47910 cat >>conftest.
$ac_ext <<_ACEOF
47911 /* end confdefs.h. */
47917 #if !defined(__INTEL_COMPILER) || \
47918 (__INTEL_COMPILER < 800)
47919 There is no PCH support
47926 rm -f conftest.
$ac_objext
47927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47928 (eval $ac_compile) 2>conftest.er1
47930 grep -v '^ *+' conftest.er1
>conftest.err
47932 cat conftest.err
>&5
47933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47934 (exit $ac_status); } &&
47935 { ac_try
='test -z "$ac_c_werror_flag"
47936 || test ! -s conftest.err'
47937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47938 (eval $ac_try) 2>&5
47940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47941 (exit $ac_status); }; } &&
47942 { ac_try
='test -s conftest.$ac_objext'
47943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47944 (eval $ac_try) 2>&5
47946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47947 (exit $ac_status); }; }; then
47949 echo "$as_me:$LINENO: result: yes" >&5
47950 echo "${ECHO_T}yes" >&6
47954 echo "$as_me: failed program was:" >&5
47955 sed 's/^/| /' conftest.
$ac_ext >&5
47958 echo "$as_me:$LINENO: result: no" >&5
47959 echo "${ECHO_T}no" >&6
47962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47966 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47970 cat <<EOF >bk-make-pch
47973 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47974 # script. It is used to generated precompiled headers.
47976 # Permission is given to use this file in any way.
47986 while test ${D}{#} -gt 0; do
47990 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47991 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47992 headerfile="${D}{incdir}/${D}{header}"
47995 -use-pch|-use_pch )
48000 if test ${D}add_to_cmdline = 1 ; then
48001 compiler="${D}{compiler} ${D}{1}"
48006 if test "x${D}{headerfile}" = "x" ; then
48007 echo "error: can't find header ${D}{header} in include paths" >&2
48009 if test -f ${D}{outfile} ; then
48010 rm -f ${D}{outfile}
48012 mkdir -p \`dirname ${D}{outfile}\`
48014 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48016 if test "x${GCC_PCH}" = "x1" ; then
48017 # can do this because gcc is >= 3.4:
48018 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48019 elif test "x${ICC_PCH}" = "x1" ; then
48020 filename=pch_gen-${D}${D}
48021 file=${D}{filename}.c
48022 dfile=${D}{filename}.d
48023 cat > ${D}file <<EOT
48024 #include "${D}header"
48026 # using -MF icc complains about differing command lines in creation/use
48027 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48028 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48029 rm -f ${D}file ${D}dfile ${D}{filename}.o
48035 chmod +x bk
-make-pch
48043 COND_BUILD_DEBUG
="#"
48044 if test "x$BUILD" = "xdebug" ; then
48045 COND_BUILD_DEBUG
=""
48048 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48049 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48050 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48053 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48054 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48055 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48058 COND_BUILD_DEBUG_UNICODE_0
="#"
48059 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48060 COND_BUILD_DEBUG_UNICODE_0
=""
48063 COND_BUILD_DEBUG_UNICODE_1
="#"
48064 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48065 COND_BUILD_DEBUG_UNICODE_1
=""
48068 COND_BUILD_RELEASE
="#"
48069 if test "x$BUILD" = "xrelease" ; then
48070 COND_BUILD_RELEASE
=""
48073 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48074 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48075 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48078 COND_BUILD_RELEASE_UNICODE_0
="#"
48079 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48080 COND_BUILD_RELEASE_UNICODE_0
=""
48083 COND_BUILD_RELEASE_UNICODE_1
="#"
48084 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48085 COND_BUILD_RELEASE_UNICODE_1
=""
48088 COND_DEBUG_FLAG_1
="#"
48089 if test "x$DEBUG_FLAG" = "x1" ; then
48090 COND_DEBUG_FLAG_1
=""
48093 COND_DEBUG_INFO_0
="#"
48094 if test "x$DEBUG_INFO" = "x0" ; then
48095 COND_DEBUG_INFO_0
=""
48098 COND_DEBUG_INFO_1
="#"
48099 if test "x$DEBUG_INFO" = "x1" ; then
48100 COND_DEBUG_INFO_1
=""
48103 COND_DEPS_TRACKING_0
="#"
48104 if test "x$DEPS_TRACKING" = "x0" ; then
48105 COND_DEPS_TRACKING_0
=""
48108 COND_DEPS_TRACKING_1
="#"
48109 if test "x$DEPS_TRACKING" = "x1" ; then
48110 COND_DEPS_TRACKING_1
=""
48114 if test "x$GCC_PCH" = "x1" ; then
48119 if test "x$ICC_PCH" = "x1" ; then
48123 COND_MONOLITHIC_0
="#"
48124 if test "x$MONOLITHIC" = "x0" ; then
48125 COND_MONOLITHIC_0
=""
48128 COND_MONOLITHIC_0_SHARED_0
="#"
48129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48130 COND_MONOLITHIC_0_SHARED_0
=""
48133 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48135 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48138 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48140 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48143 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48145 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48148 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48149 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48150 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48153 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48154 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48155 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48158 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48159 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48160 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48163 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48164 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48165 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48168 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48169 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48170 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48173 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48174 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48175 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48178 COND_MONOLITHIC_0_SHARED_1
="#"
48179 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48180 COND_MONOLITHIC_0_SHARED_1
=""
48183 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48184 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48185 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48188 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48189 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48190 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48193 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48194 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48195 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48198 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48199 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48200 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48203 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48204 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48205 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48208 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48209 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48210 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48213 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48214 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48215 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48218 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48219 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48220 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48223 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48224 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48225 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48228 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48229 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48230 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48233 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48234 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48235 COND_MONOLITHIC_0_USE_ODBC_1
=""
48238 COND_MONOLITHIC_1
="#"
48239 if test "x$MONOLITHIC" = "x1" ; then
48240 COND_MONOLITHIC_1
=""
48243 COND_MONOLITHIC_1_SHARED_0
="#"
48244 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48245 COND_MONOLITHIC_1_SHARED_0
=""
48248 COND_MONOLITHIC_1_SHARED_1
="#"
48249 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48250 COND_MONOLITHIC_1_SHARED_1
=""
48253 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48254 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48255 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48258 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48259 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48260 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48263 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48264 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48265 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48268 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48269 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48270 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48273 COND_PLATFORM_MACOSX_1
="#"
48274 if test "x$PLATFORM_MACOSX" = "x1" ; then
48275 COND_PLATFORM_MACOSX_1
=""
48278 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48279 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48280 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48283 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48284 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48285 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48288 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48289 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48290 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48293 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48294 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48295 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48298 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48299 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48300 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48303 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48304 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48305 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48308 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48309 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48310 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48313 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48314 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48315 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48318 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48319 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48320 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48323 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48324 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48325 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48328 COND_PLATFORM_MACOS_1
="#"
48329 if test "x$PLATFORM_MACOS" = "x1" ; then
48330 COND_PLATFORM_MACOS_1
=""
48333 COND_PLATFORM_MAC_1
="#"
48334 if test "x$PLATFORM_MAC" = "x1" ; then
48335 COND_PLATFORM_MAC_1
=""
48338 COND_PLATFORM_MSDOS_0
="#"
48339 if test "x$PLATFORM_MSDOS" = "x0" ; then
48340 COND_PLATFORM_MSDOS_0
=""
48343 COND_PLATFORM_MSDOS_1
="#"
48344 if test "x$PLATFORM_MSDOS" = "x1" ; then
48345 COND_PLATFORM_MSDOS_1
=""
48348 COND_PLATFORM_OS2_1
="#"
48349 if test "x$PLATFORM_OS2" = "x1" ; then
48350 COND_PLATFORM_OS2_1
=""
48353 COND_PLATFORM_UNIX_0
="#"
48354 if test "x$PLATFORM_UNIX" = "x0" ; then
48355 COND_PLATFORM_UNIX_0
=""
48358 COND_PLATFORM_UNIX_1
="#"
48359 if test "x$PLATFORM_UNIX" = "x1" ; then
48360 COND_PLATFORM_UNIX_1
=""
48363 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48364 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48365 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48368 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48369 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48370 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48373 COND_PLATFORM_WIN32_0
="#"
48374 if test "x$PLATFORM_WIN32" = "x0" ; then
48375 COND_PLATFORM_WIN32_0
=""
48378 COND_PLATFORM_WIN32_1
="#"
48379 if test "x$PLATFORM_WIN32" = "x1" ; then
48380 COND_PLATFORM_WIN32_1
=""
48384 if test "x$SHARED" = "x0" ; then
48388 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48389 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48390 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48393 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48394 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48395 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48398 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48399 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48400 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48403 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48404 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48405 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48408 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48409 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48410 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48413 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48414 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48415 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48418 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48419 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48420 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48423 COND_SHARED_0_USE_XRC_1
="#"
48424 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48425 COND_SHARED_0_USE_XRC_1
=""
48428 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48429 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48430 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48433 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48434 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48435 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48438 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48439 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48440 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48443 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48444 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48445 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48449 if test "x$SHARED" = "x1" ; then
48453 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48454 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48455 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48458 COND_SHARED_1_USE_XRC_1
="#"
48459 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48460 COND_SHARED_1_USE_XRC_1
=""
48464 if test "x$TOOLKIT" = "x" ; then
48468 COND_TOOLKIT_COCOA
="#"
48469 if test "x$TOOLKIT" = "xCOCOA" ; then
48470 COND_TOOLKIT_COCOA
=""
48473 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48474 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48475 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48478 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48479 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48480 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48483 COND_TOOLKIT_GTK
="#"
48484 if test "x$TOOLKIT" = "xGTK" ; then
48485 COND_TOOLKIT_GTK
=""
48488 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48489 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48490 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48493 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48494 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48495 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48498 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48499 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48500 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48503 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48504 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48505 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48508 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48509 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48510 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48513 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48514 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48515 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48518 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48519 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48520 COND_TOOLKIT_GTK_USE_GUI_1
=""
48523 COND_TOOLKIT_MAC
="#"
48524 if test "x$TOOLKIT" = "xMAC" ; then
48525 COND_TOOLKIT_MAC
=""
48528 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48529 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48530 COND_TOOLKIT_MAC_USE_GUI_1
=""
48533 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48534 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48535 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48538 COND_TOOLKIT_MGL
="#"
48539 if test "x$TOOLKIT" = "xMGL" ; then
48540 COND_TOOLKIT_MGL
=""
48543 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48544 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48545 COND_TOOLKIT_MGL_USE_GUI_1
=""
48548 COND_TOOLKIT_MOTIF
="#"
48549 if test "x$TOOLKIT" = "xMOTIF" ; then
48550 COND_TOOLKIT_MOTIF
=""
48553 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48554 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48555 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48558 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48559 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48560 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48563 COND_TOOLKIT_MSW
="#"
48564 if test "x$TOOLKIT" = "xMSW" ; then
48565 COND_TOOLKIT_MSW
=""
48568 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48569 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48570 COND_TOOLKIT_MSW_USE_GUI_1
=""
48573 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48574 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48575 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48578 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48579 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48580 COND_TOOLKIT_MSW_WXUNIV_0
=""
48583 COND_TOOLKIT_PM
="#"
48584 if test "x$TOOLKIT" = "xPM" ; then
48588 COND_TOOLKIT_PM_USE_GUI_1
="#"
48589 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48590 COND_TOOLKIT_PM_USE_GUI_1
=""
48593 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48594 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48595 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48598 COND_TOOLKIT_WINCE
="#"
48599 if test "x$TOOLKIT" = "xWINCE" ; then
48600 COND_TOOLKIT_WINCE
=""
48603 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48604 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48605 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48608 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48609 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48610 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48613 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48614 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48615 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48618 COND_TOOLKIT_X11
="#"
48619 if test "x$TOOLKIT" = "xX11" ; then
48620 COND_TOOLKIT_X11
=""
48623 COND_TOOLKIT_X11_USE_GUI_1
="#"
48624 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48625 COND_TOOLKIT_X11_USE_GUI_1
=""
48629 if test "x$UNICODE" = "x1" ; then
48633 COND_USE_EXCEPTIONS_0
="#"
48634 if test "x$USE_EXCEPTIONS" = "x0" ; then
48635 COND_USE_EXCEPTIONS_0
=""
48638 COND_USE_EXCEPTIONS_1
="#"
48639 if test "x$USE_EXCEPTIONS" = "x1" ; then
48640 COND_USE_EXCEPTIONS_1
=""
48644 if test "x$USE_GUI" = "x0" ; then
48649 if test "x$USE_GUI" = "x1" ; then
48653 COND_USE_GUI_1_WXUNIV_0
="#"
48654 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48655 COND_USE_GUI_1_WXUNIV_0
=""
48658 COND_USE_GUI_1_WXUNIV_1
="#"
48659 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48660 COND_USE_GUI_1_WXUNIV_1
=""
48663 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48664 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48665 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48668 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48669 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48670 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48673 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48674 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48675 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48678 COND_USE_ODBC_1
="#"
48679 if test "x$USE_ODBC" = "x1" ; then
48683 COND_USE_OPENGL_1
="#"
48684 if test "x$USE_OPENGL" = "x1" ; then
48685 COND_USE_OPENGL_1
=""
48689 if test "x$USE_PCH" = "x1" ; then
48693 COND_USE_PLUGINS_0
="#"
48694 if test "x$USE_PLUGINS" = "x0" ; then
48695 COND_USE_PLUGINS_0
=""
48698 COND_USE_RTTI_0
="#"
48699 if test "x$USE_RTTI" = "x0" ; then
48703 COND_USE_RTTI_1
="#"
48704 if test "x$USE_RTTI" = "x1" ; then
48708 COND_USE_SOSYMLINKS_1
="#"
48709 if test "x$USE_SOSYMLINKS" = "x1" ; then
48710 COND_USE_SOSYMLINKS_1
=""
48713 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48714 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48715 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48718 COND_USE_SOVERLINUX_1
="#"
48719 if test "x$USE_SOVERLINUX" = "x1" ; then
48720 COND_USE_SOVERLINUX_1
=""
48723 COND_USE_SOVERSION_0
="#"
48724 if test "x$USE_SOVERSION" = "x0" ; then
48725 COND_USE_SOVERSION_0
=""
48728 COND_USE_SOVERSOLARIS_1
="#"
48729 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48730 COND_USE_SOVERSOLARIS_1
=""
48733 COND_USE_THREADS_0
="#"
48734 if test "x$USE_THREADS" = "x0" ; then
48735 COND_USE_THREADS_0
=""
48738 COND_USE_THREADS_1
="#"
48739 if test "x$USE_THREADS" = "x1" ; then
48740 COND_USE_THREADS_1
=""
48744 if test "x$USE_XRC" = "x1" ; then
48748 COND_WINDOWS_IMPLIB_1
="#"
48749 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48750 COND_WINDOWS_IMPLIB_1
=""
48753 COND_WITH_PLUGIN_SDL_1
="#"
48754 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48755 COND_WITH_PLUGIN_SDL_1
=""
48759 if test "x$WXUNIV" = "x0" ; then
48764 if test "x$WXUNIV" = "x1" ; then
48768 COND_WXUSE_EXPAT_BUILTIN
="#"
48769 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48770 COND_WXUSE_EXPAT_BUILTIN
=""
48773 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48774 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48775 COND_WXUSE_LIBJPEG_BUILTIN
=""
48778 COND_WXUSE_LIBPNG_BUILTIN
="#"
48779 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48780 COND_WXUSE_LIBPNG_BUILTIN
=""
48783 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48784 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48785 COND_WXUSE_LIBTIFF_BUILTIN
=""
48788 COND_WXUSE_ODBC_BUILTIN
="#"
48789 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48790 COND_WXUSE_ODBC_BUILTIN
=""
48793 COND_WXUSE_REGEX_BUILTIN
="#"
48794 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48795 COND_WXUSE_REGEX_BUILTIN
=""
48798 COND_WXUSE_ZLIB_BUILTIN
="#"
48799 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48800 COND_WXUSE_ZLIB_BUILTIN
=""
48805 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48806 { { 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
48807 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;}
48808 { (exit 1); exit 1; }; }
48811 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48812 { { 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
48813 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;}
48814 { (exit 1); exit 1; }; }
48819 if test "$wxUSE_MAC" = 1 ; then
48820 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48821 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48827 if test "$wxUSE_SHARED" = "yes"; then
48829 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48830 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48833 *-pc-os2_emx | *-pc-os2-emx )
48834 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48835 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48836 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48837 cp -p ${srcdir}/src
/os
2/dllar.sh .
48842 EXE_LINKER
="$CXX -o"
48845 if test "$wxUSE_OMF" = "yes"; then
48847 *-pc-os2_emx | *-pc-os2-emx )
48848 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48849 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48850 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48855 if test $GCC_PCH = 1 ; then
48856 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48859 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48861 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48923 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48924 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48925 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48926 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48927 echo $ECHO_N "(cached) $ECHO_C" >&6
48929 cat >conftest.
make <<\_ACEOF
48931 @
echo 'ac_maketemp="$(MAKE)"'
48933 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48934 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48935 if test -n "$ac_maketemp"; then
48936 eval ac_cv_prog_make_
${ac_make}_set
=yes
48938 eval ac_cv_prog_make_
${ac_make}_set
=no
48940 rm -f conftest.
make
48942 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48943 echo "$as_me:$LINENO: result: yes" >&5
48944 echo "${ECHO_T}yes" >&6
48947 echo "$as_me:$LINENO: result: no" >&5
48948 echo "${ECHO_T}no" >&6
48949 SET_MAKE
="MAKE=${MAKE-make}"
48954 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48957 if test "$USE_WIN32" = 1; then
48958 ac_config_commands
="$ac_config_commands
48964 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48967 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48970 ac_config_files
="$ac_config_files version-script Makefile"
48973 ac_config_commands
="$ac_config_commands wx-config"
48977 if test "$wxWITH_SUBDIRS" != "no"; then
48978 if test "$wxUSE_GUI" = "yes"; then
48979 SUBDIRS
="samples demos utils contrib"
48980 else SUBDIRS
="samples utils"
48985 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48986 if test "${with_cppunit_prefix+set}" = set; then
48987 withval
="$with_cppunit_prefix"
48988 cppunit_config_prefix
="$withval"
48990 cppunit_config_prefix
=""
48993 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48994 if test "${with_cppunit_exec_prefix+set}" = set; then
48995 withval
="$with_cppunit_exec_prefix"
48996 cppunit_config_exec_prefix
="$withval"
48998 cppunit_config_exec_prefix
=""
49001 if test x
$cppunit_config_exec_prefix != x
; then
49002 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49003 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49004 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49007 if test x
$cppunit_config_prefix != x
; then
49008 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49009 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49010 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49014 # Extract the first word of "cppunit-config", so it can be a program name with args.
49015 set dummy cppunit
-config; ac_word
=$2
49016 echo "$as_me:$LINENO: checking for $ac_word" >&5
49017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49018 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49019 echo $ECHO_N "(cached) $ECHO_C" >&6
49021 case $CPPUNIT_CONFIG in
49023 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49027 for as_dir
in $PATH
49030 test -z "$as_dir" && as_dir
=.
49031 for ac_exec_ext
in '' $ac_executable_extensions; do
49032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49033 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49040 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49044 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49046 if test -n "$CPPUNIT_CONFIG"; then
49047 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49048 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49050 echo "$as_me:$LINENO: result: no" >&5
49051 echo "${ECHO_T}no" >&6
49054 cppunit_version_min
=1.8.0
49056 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49057 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49059 if test "$CPPUNIT_CONFIG" = "no" ; then
49062 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49063 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49064 cppunit_version
=`$CPPUNIT_CONFIG --version`
49066 cppunit_major_version
=`echo $cppunit_version | \
49067 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49068 cppunit_minor_version
=`echo $cppunit_version | \
49069 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49070 cppunit_micro_version
=`echo $cppunit_version | \
49071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49073 cppunit_major_min
=`echo $cppunit_version_min | \
49074 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49075 cppunit_minor_min
=`echo $cppunit_version_min | \
49076 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49077 cppunit_micro_min
=`echo $cppunit_version_min | \
49078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49080 cppunit_version_proper
=`expr \
49081 $cppunit_major_version \> $cppunit_major_min \| \
49082 $cppunit_major_version \= $cppunit_major_min \& \
49083 $cppunit_minor_version \> $cppunit_minor_min \| \
49084 $cppunit_major_version \= $cppunit_major_min \& \
49085 $cppunit_minor_version \= $cppunit_minor_min \& \
49086 $cppunit_micro_version \>= $cppunit_micro_min `
49088 if test "$cppunit_version_proper" = "1" ; then
49089 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49090 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49092 echo "$as_me:$LINENO: result: no" >&5
49093 echo "${ECHO_T}no" >&6
49098 if test "x$no_cppunit" = x
; then
49099 SUBDIRS
="$SUBDIRS tests"
49110 for subdir
in `echo $SUBDIRS`; do
49111 if test -d ${srcdir}/${subdir} ; then
49112 if test "$wxUSE_GUI" = "yes"; then
49113 if test ${subdir} = "samples"; then
49114 makefiles
="samples/Makefile.in $makefiles"
49115 for sample
in `echo $SAMPLES_SUBDIRS`; do
49116 if test -d $srcdir/samples
/$sample; then
49117 makefiles
="samples/$sample/Makefile.in $makefiles"
49121 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49122 eval "disabled=\$$disabled_var"
49123 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49124 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49126 else if test ${subdir} = "samples"; then
49127 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49128 elif test ${subdir} = "utils"; then
49130 for util
in HelpGen tex2rtf
; do
49131 if test -d $srcdir/utils
/$util ; then
49132 makefiles
="utils/$util/Makefile.in \
49133 utils/$util/src/Makefile.in \
49137 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49141 for mkin
in $makefiles ; do
49142 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49143 ac_config_files
="$ac_config_files $mk"
49149 cat >confcache
<<\_ACEOF
49150 # This file is a shell script that caches the results of configure
49151 # tests run on this system so they can be shared between configure
49152 # scripts and configure runs, see configure's option --config-cache.
49153 # It is not useful on other systems. If it contains results you don't
49154 # want to keep, you may remove or edit it.
49156 # config.status only pays attention to the cache file if you give it
49157 # the --recheck option to rerun configure.
49159 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49160 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49161 # following values.
49165 # The following way of writing the cache mishandles newlines in values,
49166 # but we know of no workaround that is simple, portable, and efficient.
49167 # So, don't put newlines in cache variables' values.
49168 # Ultrix sh set writes to stderr and can't be redirected directly,
49169 # and sets the high bit in the cache file unless we assign to the vars.
49172 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49174 # `set' does not quote correctly, so add quotes (double-quote
49175 # substitution turns \\\\ into \\, and sed turns \\ into \).
49178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49181 # `set' quotes correctly as required by POSIX, so do not add quotes.
49183 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49190 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49192 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49194 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49195 if test -w $cache_file; then
49196 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49197 cat confcache
>$cache_file
49199 echo "not updating unwritable cache $cache_file"
49204 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49205 # Let make expand exec_prefix.
49206 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49208 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49209 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49210 # trailing colons and then remove the whole line if VPATH becomes empty
49211 # (actually we leave an empty line to preserve line numbers).
49212 if test "x$srcdir" = x.
; then
49213 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49214 s/:*\$(srcdir):*/:/;
49215 s/:*\${srcdir}:*/:/;
49217 s/^\([^=]*=[ ]*\):*/\1/;
49223 DEFS
=-DHAVE_CONFIG_H
49227 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49228 # 1. Remove the extension, and $U if already installed.
49229 ac_i
=`echo "$ac_i" |
49230 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49232 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49233 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49235 LIBOBJS
=$ac_libobjs
49237 LTLIBOBJS
=$ac_ltlibobjs
49241 : ${CONFIG_STATUS=./config.status}
49242 ac_clean_files_save
=$ac_clean_files
49243 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49244 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49245 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49246 cat >$CONFIG_STATUS <<_ACEOF
49248 # Generated by $as_me.
49249 # Run this file to recreate the current configuration.
49250 # Compiler output produced by configure, useful for debugging
49251 # configure, is in config.log if it exists.
49254 ac_cs_recheck=false
49256 SHELL=\${CONFIG_SHELL-$SHELL}
49259 cat >>$CONFIG_STATUS <<\_ACEOF
49260 ## --------------------- ##
49261 ## M4sh Initialization. ##
49262 ## --------------------- ##
49264 # Be Bourne compatible
49265 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49268 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49269 # is contrary to our usage. Disable this feature.
49270 alias -g '${1+"$@"}'='"$@"'
49271 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49274 DUALCASE
=1; export DUALCASE
# for MKS sh
49276 # Support unset when possible.
49277 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49284 # Work around bugs in pre-3.0 UWIN ksh.
49285 $as_unset ENV MAIL MAILPATH
49292 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49293 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49294 LC_TELEPHONE LC_TIME
49296 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49297 eval $as_var=C
; export $as_var
49303 # Required to use basename.
49304 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49310 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49311 as_basename
=basename
49317 # Name of the executable.
49318 as_me
=`$as_basename "$0" ||
49319 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49320 X"$0" : 'X\(//\)$' \| \
49321 X"$0" : 'X\(/\)$' \| \
49322 . : '\(.\)' 2>/dev/null ||
49324 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49325 /^X\/\(\/\/\)$/{ s//\1/; q; }
49326 /^X\/\(\/\).*/{ s//\1/; q; }
49330 # PATH needs CR, and LINENO needs CR and PATH.
49331 # Avoid depending upon Character Ranges.
49332 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49333 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49334 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49335 as_cr_digits
='0123456789'
49336 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49338 # The user is always right.
49339 if test "${PATH_SEPARATOR+set}" != set; then
49340 echo "#! /bin/sh" >conf$$.sh
49341 echo "exit 0" >>conf$$.sh
49343 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49352 as_lineno_1
=$LINENO
49353 as_lineno_2
=$LINENO
49354 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49355 test "x$as_lineno_1" != "x$as_lineno_2" &&
49356 test "x$as_lineno_3" = "x$as_lineno_2" || {
49357 # Find who we are. Look in the path if we contain no path at all
49360 *[\\/]* ) as_myself
=$0 ;;
49361 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49362 for as_dir
in $PATH
49365 test -z "$as_dir" && as_dir
=.
49366 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49371 # We did not find ourselves, most probably we were run as `sh COMMAND'
49372 # in which case we are not to be found in the path.
49373 if test "x$as_myself" = x
; then
49376 if test ! -f "$as_myself"; then
49377 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49378 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49379 { (exit 1); exit 1; }; }
49381 case $CONFIG_SHELL in
49383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49384 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49387 test -z "$as_dir" && as_dir
=.
49388 for as_base
in sh bash ksh sh5
; do
49391 if ("$as_dir/$as_base" -c '
49392 as_lineno_1=$LINENO
49393 as_lineno_2=$LINENO
49394 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49395 test "x$as_lineno_1" != "x$as_lineno_2" &&
49396 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49397 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49398 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49399 CONFIG_SHELL
=$as_dir/$as_base
49400 export CONFIG_SHELL
49401 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49409 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49410 # uniformly replaced by the line number. The first 'sed' inserts a
49411 # line-number line before each line; the second 'sed' does the real
49412 # work. The second script uses 'N' to pair each line-number line
49413 # with the numbered line, and appends trailing '-' during
49414 # substitution so that $LINENO is not a special case at line end.
49415 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49416 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49417 sed '=' <$as_myself |
49422 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49425 s,^['$as_cr_digits']*\n,,
49426 ' >$as_me.lineno
&&
49427 chmod +x
$as_me.lineno
||
49428 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49429 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49430 { (exit 1); exit 1; }; }
49432 # Don't try to exec as it changes $[0], causing all sort of problems
49433 # (the dirname of $[0] is not the place where we might find the
49434 # original and so on. Autoconf is especially sensible to this).
49436 # Exit status is that of the last command.
49441 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49442 *c
*,-n*) ECHO_N
= ECHO_C
='
49444 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49445 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49448 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49454 rm -f conf$$ conf$$.exe conf$$.
file
49456 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49457 # We could just check for DJGPP; but this test a) works b) is more generic
49458 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49459 if test -f conf$$.exe
; then
49460 # Don't use ln at all; we don't have any links
49465 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49470 rm -f conf$$ conf$$.exe conf$$.
file
49472 if mkdir -p .
2>/dev
/null
; then
49475 test -d .
/-p && rmdir .
/-p
49479 as_executable_p
="test -f"
49481 # Sed expression to map a string onto a valid CPP name.
49482 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49484 # Sed expression to map a string onto a valid variable name.
49485 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49489 # We need space, tab and new line, in precisely that order.
49499 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49500 # report actual input values of CONFIG_FILES etc. instead of their
49501 # values after options handling. Logging --version etc. is OK.
49505 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49506 ## Running $as_me. ##
49511 This file was extended by wxWidgets $as_me 2.7.0, which was
49512 generated by GNU Autoconf 2.59. Invocation command line was
49514 CONFIG_FILES = $CONFIG_FILES
49515 CONFIG_HEADERS = $CONFIG_HEADERS
49516 CONFIG_LINKS = $CONFIG_LINKS
49517 CONFIG_COMMANDS = $CONFIG_COMMANDS
49521 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49525 # Files that config.status was made for.
49526 if test -n "$ac_config_files"; then
49527 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49530 if test -n "$ac_config_headers"; then
49531 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49534 if test -n "$ac_config_links"; then
49535 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49538 if test -n "$ac_config_commands"; then
49539 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49542 cat >>$CONFIG_STATUS <<\_ACEOF
49545 \`$as_me' instantiates files from templates according to the
49546 current configuration.
49548 Usage: $0 [OPTIONS] [FILE]...
49550 -h, --help print this help, then exit
49551 -V, --version print version number, then exit
49552 -q, --quiet do not print progress messages
49553 -d, --debug don't remove temporary files
49554 --recheck update $as_me by reconfiguring in the same conditions
49555 --file=FILE[:TEMPLATE]
49556 instantiate the configuration file FILE
49557 --header=FILE[:TEMPLATE]
49558 instantiate the configuration header FILE
49560 Configuration files:
49563 Configuration headers:
49566 Configuration commands:
49569 Report bugs to <bug-autoconf@gnu.org>."
49572 cat >>$CONFIG_STATUS <<_ACEOF
49574 wxWidgets config.status 2.7.0
49575 configured by $0, generated by GNU Autoconf 2.59,
49576 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49578 Copyright (C) 2003 Free Software Foundation, Inc.
49579 This config.status script is free software; the Free Software Foundation
49580 gives unlimited permission to copy, distribute and modify it."
49585 cat >>$CONFIG_STATUS <<\_ACEOF
49586 # If no file are specified by the user, then we need to provide default
49587 # value. By we need to know if files were specified by the user.
49593 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49594 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49602 *) # This is not an option, so the user has probably given explicit
49605 ac_need_defaults
=false
;;
49609 # Handling of the options.
49611 cat >>$CONFIG_STATUS <<\_ACEOF
49612 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49614 --version | --vers* | -V )
49615 echo "$ac_cs_version"; exit 0 ;;
49617 # Conflict between --help and --header
49618 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49619 Try \`$0 --help' for more information." >&5
49620 echo "$as_me: error: ambiguous option: $1
49621 Try \`$0 --help' for more information." >&2;}
49622 { (exit 1); exit 1; }; };;
49623 --help | --hel | -h )
49624 echo "$ac_cs_usage"; exit 0 ;;
49625 --debug | --d* | -d )
49627 --file | --fil | --fi | --f )
49629 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49630 ac_need_defaults
=false
;;
49631 --header | --heade | --head | --hea )
49633 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49634 ac_need_defaults
=false
;;
49635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49636 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49639 # This is an error.
49640 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49641 Try \`$0 --help' for more information." >&5
49642 echo "$as_me: error: unrecognized option: $1
49643 Try \`$0 --help' for more information." >&2;}
49644 { (exit 1); exit 1; }; } ;;
49646 *) ac_config_targets
="$ac_config_targets $1" ;;
49652 ac_configure_extra_args
=
49654 if $ac_cs_silent; then
49656 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49660 cat >>$CONFIG_STATUS <<_ACEOF
49661 if \$ac_cs_recheck; then
49662 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49663 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49668 cat >>$CONFIG_STATUS <<_ACEOF
49670 # INIT-COMMANDS section.
49675 infile="$srcdir/include/wx/msw/genrcdefs.h"
49676 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49679 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49680 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49681 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49689 cat >>$CONFIG_STATUS <<\_ACEOF
49690 for ac_config_target
in $ac_config_targets
49692 case "$ac_config_target" in
49693 # Handling of arguments.
49694 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49695 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49696 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49697 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49698 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49699 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49700 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49701 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49702 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49703 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49704 { (exit 1); exit 1; }; };;
49708 # If the user did not use the arguments to specify the items to instantiate,
49709 # then the envvar interface is used. Set only those that are not.
49710 # We use the long form for the default assignment because of an extremely
49711 # bizarre bug on SunOS 4.1.3.
49712 if $ac_need_defaults; then
49713 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49714 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49715 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49718 # Have a temporary directory for convenience. Make it in the build tree
49719 # simply because there is no reason to put it here, and in addition,
49720 # creating and moving files from /tmp can sometimes cause problems.
49721 # Create a temporary directory, and hook for its removal unless debugging.
49724 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49725 trap '{ (exit 1); exit 1; }' 1 2 13 15
49728 # Create a (secure) tmp directory for tmp files.
49731 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49732 test -n "$tmp" && test -d "$tmp"
49735 tmp
=.
/confstat$$
-$RANDOM
49736 (umask 077 && mkdir $tmp)
49739 echo "$me: cannot create a temporary directory in ." >&2
49740 { (exit 1); exit 1; }
49745 cat >>$CONFIG_STATUS <<_ACEOF
49748 # CONFIG_FILES section.
49751 # No need to generate the scripts if there are no CONFIG_FILES.
49752 # This happens for instance when ./config.status config.h
49753 if test -n "\$CONFIG_FILES"; then
49754 # Protect against being on the right side of a sed subst in config.status.
49755 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49756 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49757 s,@SHELL@,$SHELL,;t t
49758 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49759 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49760 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49761 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49762 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49763 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49764 s,@exec_prefix@,$exec_prefix,;t t
49765 s,@prefix@,$prefix,;t t
49766 s,@program_transform_name@,$program_transform_name,;t t
49767 s,@bindir@,$bindir,;t t
49768 s,@sbindir@,$sbindir,;t t
49769 s,@libexecdir@,$libexecdir,;t t
49770 s,@datadir@,$datadir,;t t
49771 s,@sysconfdir@,$sysconfdir,;t t
49772 s,@sharedstatedir@,$sharedstatedir,;t t
49773 s,@localstatedir@,$localstatedir,;t t
49774 s,@libdir@,$libdir,;t t
49775 s,@includedir@,$includedir,;t t
49776 s,@oldincludedir@,$oldincludedir,;t t
49777 s,@infodir@,$infodir,;t t
49778 s,@mandir@,$mandir,;t t
49779 s,@build_alias@,$build_alias,;t t
49780 s,@host_alias@,$host_alias,;t t
49781 s,@target_alias@,$target_alias,;t t
49782 s,@DEFS@,$DEFS,;t t
49783 s,@ECHO_C@,$ECHO_C,;t t
49784 s,@ECHO_N@,$ECHO_N,;t t
49785 s,@ECHO_T@,$ECHO_T,;t t
49786 s,@LIBS@,$LIBS,;t t
49787 s,@build@,$build,;t t
49788 s,@build_cpu@,$build_cpu,;t t
49789 s,@build_vendor@,$build_vendor,;t t
49790 s,@build_os@,$build_os,;t t
49791 s,@host@,$host,;t t
49792 s,@host_cpu@,$host_cpu,;t t
49793 s,@host_vendor@,$host_vendor,;t t
49794 s,@host_os@,$host_os,;t t
49795 s,@target@,$target,;t t
49796 s,@target_cpu@,$target_cpu,;t t
49797 s,@target_vendor@,$target_vendor,;t t
49798 s,@target_os@,$target_os,;t t
49800 s,@CFLAGS@,$CFLAGS,;t t
49801 s,@LDFLAGS@,$LDFLAGS,;t t
49802 s,@CPPFLAGS@,$CPPFLAGS,;t t
49803 s,@ac_ct_CC@,$ac_ct_CC,;t t
49804 s,@EXEEXT@,$EXEEXT,;t t
49805 s,@OBJEXT@,$OBJEXT,;t t
49807 s,@EGREP@,$EGREP,;t t
49809 s,@CXXFLAGS@,$CXXFLAGS,;t t
49810 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49811 s,@RANLIB@,$RANLIB,;t t
49812 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49814 s,@ac_ct_AR@,$ac_ct_AR,;t t
49815 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49816 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49817 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49818 s,@STRIP@,$STRIP,;t t
49819 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49820 s,@WINDRES@,$WINDRES,;t t
49821 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49822 s,@DLLTOOL@,$DLLTOOL,;t t
49823 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49824 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49825 s,@LN_S@,$LN_S,;t t
49826 s,@CXXCPP@,$CXXCPP,;t t
49827 s,@subdirs@,$subdirs,;t t
49828 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49829 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49830 s,@GTK_LIBS@,$GTK_LIBS,;t t
49831 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49832 s,@X_CFLAGS@,$X_CFLAGS,;t t
49833 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49834 s,@X_LIBS@,$X_LIBS,;t t
49835 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49836 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49837 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49838 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49839 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49840 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49841 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49843 s,@DEREZ@,$DEREZ,;t t
49844 s,@SETFILE@,$SETFILE,;t t
49845 s,@LIBICONV@,$LIBICONV,;t t
49846 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49847 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49848 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49849 s,@SDL_LIBS@,$SDL_LIBS,;t t
49850 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49851 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49852 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49853 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49854 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49855 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49856 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49857 s,@GST_LIBS@,$GST_LIBS,;t t
49858 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49859 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49860 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49861 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49862 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49863 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49864 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49865 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49866 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49867 s,@VENDOR@,$VENDOR,;t t
49868 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49869 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49870 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49871 s,@WXUNIV@,$WXUNIV,;t t
49872 s,@MONOLITHIC@,$MONOLITHIC,;t t
49873 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49874 s,@EXTRALIBS@,$EXTRALIBS,;t t
49875 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49876 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49877 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49878 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49879 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49880 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49881 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49882 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49883 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49884 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49885 s,@UNICODE@,$UNICODE,;t t
49886 s,@BUILD@,$BUILD,;t t
49887 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49888 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49889 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49890 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49891 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49892 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49893 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49894 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49895 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49896 s,@SET_MAKE@,$SET_MAKE,;t t
49897 s,@MAKE_SET@,$MAKE_SET,;t t
49899 s,@ac_ct_NM@,$ac_ct_NM,;t t
49900 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49901 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49902 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49903 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49904 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49905 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49906 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49907 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49908 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49909 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49910 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49911 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49912 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49913 s,@LIBPREFIX@,$LIBPREFIX,;t t
49914 s,@LIBEXT@,$LIBEXT,;t t
49915 s,@DLLPREFIX@,$DLLPREFIX,;t t
49916 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49917 s,@dlldir@,$dlldir,;t t
49918 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49919 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49920 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49921 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49922 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49923 s,@PIC_FLAG@,$PIC_FLAG,;t t
49924 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49925 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49926 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49927 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49928 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49929 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49930 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49931 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49932 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49933 s,@GCC_PCH@,$GCC_PCH,;t t
49934 s,@ICC_PCH@,$ICC_PCH,;t t
49935 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49936 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49937 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49938 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49939 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49940 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49941 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49942 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49943 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49944 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49945 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49946 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49947 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49948 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49949 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49950 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49951 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49952 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49953 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49954 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49955 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
49956 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
49957 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
49958 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
49959 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49960 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49961 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49962 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49963 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49964 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49965 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
49966 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
49967 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
49968 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
49969 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49970 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49971 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49972 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49973 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49974 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49975 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49976 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49977 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49978 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49979 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49980 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49981 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49982 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49983 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49984 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49985 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49986 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49987 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
49988 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49989 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49990 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49991 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49992 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49993 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49994 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49995 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49996 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49997 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49998 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49999 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50000 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50001 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50002 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50003 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50004 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50005 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50006 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50007 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50008 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50009 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50010 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50011 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50012 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50013 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50014 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50015 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50016 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50017 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50018 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50019 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50020 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50021 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50022 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50023 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50024 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50025 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50026 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50027 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
50028 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50029 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50030 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50031 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50032 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50033 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50034 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50035 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50036 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50037 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50038 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50039 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50040 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50041 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50042 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50043 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50044 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50045 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50046 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50047 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50048 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50049 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50050 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50051 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50052 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50053 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50054 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50055 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50056 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50057 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50058 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50059 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50060 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50061 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50062 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50063 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50064 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50065 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50066 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50067 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50068 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50069 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50070 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50071 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50072 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50073 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50074 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50075 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50076 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50077 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50078 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50079 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50080 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50081 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50082 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50083 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50084 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50085 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50086 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50087 s,@SHARED@,$SHARED,;t t
50088 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50089 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50090 s,@USE_GUI@,$USE_GUI,;t t
50091 s,@AFMINSTALL@,$AFMINSTALL,;t t
50092 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50093 s,@TOOLKIT@,$TOOLKIT,;t t
50094 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50095 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50096 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50097 s,@cross_compiling@,$cross_compiling,;t t
50098 s,@WIDGET_SET@,$WIDGET_SET,;t t
50099 s,@WX_RELEASE@,$WX_RELEASE,;t t
50100 s,@WX_VERSION@,$WX_VERSION,;t t
50101 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50102 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50103 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50104 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50105 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50106 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50107 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50108 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50109 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50110 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50111 s,@EXE_LINKER@,$EXE_LINKER,;t t
50112 s,@GUIDIST@,$GUIDIST,;t t
50113 s,@DISTDIR@,$DISTDIR,;t t
50114 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50115 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50116 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50117 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50118 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50119 s,@RESCOMP@,$RESCOMP,;t t
50120 s,@RESFLAGS@,$RESFLAGS,;t t
50121 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50122 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50123 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50124 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50125 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50126 s,@MACSETFILE@,$MACSETFILE,;t t
50128 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50129 s,@LIBOBJS@,$LIBOBJS,;t t
50130 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50135 cat >>$CONFIG_STATUS <<\_ACEOF
50136 # Split the substitutions into bite-sized pieces for seds with
50137 # small command number limits, like on Digital OSF/1 and HP-UX.
50138 ac_max_sed_lines
=48
50139 ac_sed_frag
=1 # Number of current file.
50140 ac_beg
=1 # First line for current file.
50141 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50144 while $ac_more_lines; do
50145 if test $ac_beg -gt 1; then
50146 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50148 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50150 if test ! -s $tmp/subs.frag
; then
50151 ac_more_lines
=false
50153 # The purpose of the label and of the branching condition is to
50154 # speed up the sed processing (if there are no `@' at all, there
50155 # is no need to browse any of the substitutions).
50156 # These are the two extra sed commands mentioned above.
50158 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50159 if test -z "$ac_sed_cmds"; then
50160 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50162 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50164 ac_sed_frag
=`expr $ac_sed_frag + 1`
50166 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50169 if test -z "$ac_sed_cmds"; then
50172 fi # test -n "$CONFIG_FILES"
50175 cat >>$CONFIG_STATUS <<\_ACEOF
50176 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50177 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50179 - | *:- | *:-:* ) # input from stdin
50181 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50182 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50183 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50184 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50185 * ) ac_file_in
=$ac_file.
in ;;
50188 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50189 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50190 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50191 X"$ac_file" : 'X\(//\)[^/]' \| \
50192 X"$ac_file" : 'X\(//\)$' \| \
50193 X"$ac_file" : 'X\(/\)' \| \
50194 . : '\(.\)' 2>/dev/null ||
50196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50197 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50198 /^X\(\/\/\)$/{ s//\1/; q; }
50199 /^X\(\/\).*/{ s//\1/; q; }
50201 { if $as_mkdir_p; then
50206 while test ! -d "$as_dir"; do
50207 as_dirs
="$as_dir $as_dirs"
50208 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50210 X"$as_dir" : 'X\(//\)[^/]' \| \
50211 X"$as_dir" : 'X\(//\)$' \| \
50212 X"$as_dir" : 'X\(/\)' \| \
50213 . : '\(.\)' 2>/dev/null ||
50215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50217 /^X\(\/\/\)$/{ s//\1/; q; }
50218 /^X\(\/\).*/{ s//\1/; q; }
50221 test ! -n "$as_dirs" || mkdir $as_dirs
50222 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50223 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50224 { (exit 1); exit 1; }; }; }
50228 if test "$ac_dir" != .
; then
50229 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50230 # A "../" for each directory in $ac_dir_suffix.
50231 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50233 ac_dir_suffix
= ac_top_builddir
=
50237 .
) # No --srcdir option. We are building in place.
50239 if test -z "$ac_top_builddir"; then
50242 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50244 [\\/]* | ?
:[\\/]* ) # Absolute path.
50245 ac_srcdir
=$srcdir$ac_dir_suffix;
50246 ac_top_srcdir
=$srcdir ;;
50247 *) # Relative path.
50248 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50249 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50252 # Do not use `cd foo && pwd` to compute absolute paths, because
50253 # the directories may not exist.
50255 .
) ac_abs_builddir
="$ac_dir";;
50258 .
) ac_abs_builddir
=`pwd`;;
50259 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50260 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50263 case $ac_abs_builddir in
50264 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50266 case ${ac_top_builddir}.
in
50267 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50268 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50269 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50272 case $ac_abs_builddir in
50273 .
) ac_abs_srcdir
=$ac_srcdir;;
50276 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50277 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50278 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50281 case $ac_abs_builddir in
50282 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50284 case $ac_top_srcdir in
50285 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50286 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50287 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50293 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50294 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50297 if test x
"$ac_file" != x
-; then
50298 { echo "$as_me:$LINENO: creating $ac_file" >&5
50299 echo "$as_me: creating $ac_file" >&6;}
50302 # Let's still pretend it is `configure' which instantiates (i.e., don't
50303 # use $as_me), people would be surprised to read:
50304 # /* config.h. Generated by config.status. */
50305 if test x
"$ac_file" = x
-; then
50308 configure_input
="$ac_file. "
50310 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50311 sed 's,.*/,,'` by configure."
50313 # First look for the input files in the build tree, otherwise in the
50315 ac_file_inputs
=`IFS=:
50316 for f in $ac_file_in; do
50318 -) echo $tmp/stdin ;;
50320 # Absolute (can't be DOS-style, as IFS=:)
50321 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50322 echo "$as_me: error: cannot find input file: $f" >&2;}
50323 { (exit 1); exit 1; }; }
50326 if test -f "$f"; then
50329 elif test -f "$srcdir/$f"; then
50334 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50335 echo "$as_me: error: cannot find input file: $f" >&2;}
50336 { (exit 1); exit 1; }; }
50339 done` || { (exit 1); exit 1; }
50341 cat >>$CONFIG_STATUS <<_ACEOF
50345 cat >>$CONFIG_STATUS <<\_ACEOF
50347 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50348 s
,@configure_input@
,$configure_input,;t t
50349 s
,@srcdir@
,$ac_srcdir,;t t
50350 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50351 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50352 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50353 s
,@builddir@
,$ac_builddir,;t t
50354 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50355 s
,@top_builddir@
,$ac_top_builddir,;t t
50356 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50357 s
,@INSTALL@
,$ac_INSTALL,;t t
50358 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50360 if test x"$ac_file" != x-; then
50361 mv $tmp/out $ac_file
50367 # Run the commands associated with the file.
50369 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50370 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50374 cat >>$CONFIG_STATUS <<\_ACEOF
50377 # CONFIG_HEADER section.
50380 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50381 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50383 # ac_d sets the value in "#define NAME VALUE" lines.
50384 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50385 ac_dB
='[ ].*$,\1#\2'
50388 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50389 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50390 ac_uB
='$,\1#\2define\3'
50394 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50395 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50397 - | *:- | *:-:* ) # input from stdin
50399 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50400 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50401 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50402 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50403 * ) ac_file_in
=$ac_file.
in ;;
50406 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50407 echo "$as_me: creating $ac_file" >&6;}
50409 # First look for the input files in the build tree, otherwise in the
50411 ac_file_inputs
=`IFS=:
50412 for f in $ac_file_in; do
50414 -) echo $tmp/stdin ;;
50416 # Absolute (can't be DOS-style, as IFS=:)
50417 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50418 echo "$as_me: error: cannot find input file: $f" >&2;}
50419 { (exit 1); exit 1; }; }
50420 # Do quote $f, to prevent DOS paths from being IFS'd.
50423 if test -f "$f"; then
50426 elif test -f "$srcdir/$f"; then
50431 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50432 echo "$as_me: error: cannot find input file: $f" >&2;}
50433 { (exit 1); exit 1; }; }
50436 done` || { (exit 1); exit 1; }
50437 # Remove the trailing spaces.
50438 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50442 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50443 # `conftest.undefs', that substitutes the proper values into
50444 # config.h.in to produce config.h. The first handles `#define'
50445 # templates, and the second `#undef' templates.
50446 # And first: Protect against being on the right side of a sed subst in
50447 # config.status. Protect against being in an unquoted here document
50448 # in config.status.
50449 rm -f conftest.defines conftest.undefs
50450 # Using a here document instead of a string reduces the quoting nightmare.
50451 # Putting comments in sed scripts is not portable.
50453 # `end' is used to avoid that the second main sed command (meant for
50454 # 0-ary CPP macros) applies to n-ary macro definitions.
50455 # See the Autoconf documentation for `clear'.
50456 cat >confdef2sed.
sed <<\_ACEOF
50461 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50463 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50466 # If some macros were called several times there might be several times
50467 # the same #defines, which is useless. Nevertheless, we may not want to
50468 # sort them, since we want the *last* AC-DEFINE to be honored.
50469 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50470 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50471 rm -f confdef2sed.sed
50473 # This sed command replaces #undef with comments. This is necessary, for
50474 # example, in the case of _POSIX_SOURCE, which is predefined and required
50475 # on some systems where configure will not decide to define it.
50476 cat >>conftest.undefs <<\_ACEOF
50477 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50480 # Break up conftest.defines because some shells have a limit on the size
50481 # of here documents, and old seds have small limits too (100 cmds).
50482 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50483 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50484 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50485 echo ' :' >>$CONFIG_STATUS
50486 rm -f conftest.tail
50487 while grep . conftest.defines >/dev/null
50489 # Write a limited-size here document to $tmp/defines.sed.
50490 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50491 # Speed up: don't consider the non `#define' lines.
50492 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50493 # Work around the forget-to-reset-the-flag bug.
50494 echo 't clr' >>$CONFIG_STATUS
50495 echo ': clr' >>$CONFIG_STATUS
50496 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50498 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50500 mv $tmp/out $tmp/in
50502 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50503 rm -f conftest.defines
50504 mv conftest.
tail conftest.defines
50506 rm -f conftest.defines
50507 echo ' fi # grep' >>$CONFIG_STATUS
50508 echo >>$CONFIG_STATUS
50510 # Break up conftest.undefs because some shells have a limit on the size
50511 # of here documents, and old seds have small limits too (100 cmds).
50512 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50513 rm -f conftest.
tail
50514 while grep . conftest.undefs
>/dev
/null
50516 # Write a limited-size here document to $tmp/undefs.sed.
50517 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50518 # Speed up: don't consider the non
`#undef'
50519 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50520 # Work around the forget-to-reset-the-flag bug.
50521 echo 't clr' >>$CONFIG_STATUS
50522 echo ': clr' >>$CONFIG_STATUS
50523 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50525 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50527 mv $tmp/out $tmp/in
50529 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50530 rm -f conftest.undefs
50531 mv conftest.tail conftest.undefs
50533 rm -f conftest.undefs
50535 cat >>$CONFIG_STATUS <<\_ACEOF
50536 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50537 # use $as_me), people would be surprised to read:
50538 # /* config.h. Generated by config.status. */
50539 if test x
"$ac_file" = x
-; then
50540 echo "/* Generated by configure. */" >$tmp/config.h
50542 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50544 cat $tmp/in >>$tmp/config.h
50546 if test x
"$ac_file" != x
-; then
50547 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50548 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50549 echo "$as_me: $ac_file is unchanged" >&6;}
50551 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50552 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50553 X"$ac_file" : 'X\(//\)[^/]' \| \
50554 X"$ac_file" : 'X\(//\)$' \| \
50555 X"$ac_file" : 'X\(/\)' \| \
50556 . : '\(.\)' 2>/dev/null ||
50558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50560 /^X\(\/\/\)$/{ s//\1/; q; }
50561 /^X\(\/\).*/{ s//\1/; q; }
50563 { if $as_mkdir_p; then
50568 while test ! -d "$as_dir"; do
50569 as_dirs
="$as_dir $as_dirs"
50570 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50572 X"$as_dir" : 'X\(//\)[^/]' \| \
50573 X"$as_dir" : 'X\(//\)$' \| \
50574 X"$as_dir" : 'X\(/\)' \| \
50575 . : '\(.\)' 2>/dev/null ||
50577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50578 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50579 /^X\(\/\/\)$/{ s//\1/; q; }
50580 /^X\(\/\).*/{ s//\1/; q; }
50583 test ! -n "$as_dirs" || mkdir $as_dirs
50584 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50585 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50586 { (exit 1); exit 1; }; }; }
50589 mv $tmp/config.h
$ac_file
50593 rm -f $tmp/config.h
50597 cat >>$CONFIG_STATUS <<\_ACEOF
50600 # CONFIG_COMMANDS section.
50602 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50603 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50604 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50605 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50606 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50607 X"$ac_dest" : 'X\(//\)[^/]' \| \
50608 X"$ac_dest" : 'X\(//\)$' \| \
50609 X"$ac_dest" : 'X\(/\)' \| \
50610 . : '\(.\)' 2>/dev/null ||
50612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50613 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50614 /^X\(\/\/\)$/{ s//\1/; q; }
50615 /^X\(\/\).*/{ s//\1/; q; }
50617 { if $as_mkdir_p; then
50622 while test ! -d "$as_dir"; do
50623 as_dirs
="$as_dir $as_dirs"
50624 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50625 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50626 X"$as_dir" : 'X\(//\)[^/]' \| \
50627 X"$as_dir" : 'X\(//\)$' \| \
50628 X"$as_dir" : 'X\(/\)' \| \
50629 . : '\(.\)' 2>/dev/null ||
50631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50632 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50633 /^X\(\/\/\)$/{ s//\1/; q; }
50634 /^X\(\/\).*/{ s//\1/; q; }
50637 test ! -n "$as_dirs" || mkdir $as_dirs
50638 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50639 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50640 { (exit 1); exit 1; }; }; }
50644 if test "$ac_dir" != .
; then
50645 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50646 # A "../" for each directory in $ac_dir_suffix.
50647 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50649 ac_dir_suffix
= ac_top_builddir
=
50653 .
) # No --srcdir option. We are building in place.
50655 if test -z "$ac_top_builddir"; then
50658 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50660 [\\/]* | ?
:[\\/]* ) # Absolute path.
50661 ac_srcdir
=$srcdir$ac_dir_suffix;
50662 ac_top_srcdir
=$srcdir ;;
50663 *) # Relative path.
50664 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50665 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50668 # Do not use `cd foo && pwd` to compute absolute paths, because
50669 # the directories may not exist.
50671 .
) ac_abs_builddir
="$ac_dir";;
50674 .
) ac_abs_builddir
=`pwd`;;
50675 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50676 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50679 case $ac_abs_builddir in
50680 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50682 case ${ac_top_builddir}.
in
50683 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50684 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50685 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50688 case $ac_abs_builddir in
50689 .
) ac_abs_srcdir
=$ac_srcdir;;
50692 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50693 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50694 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50697 case $ac_abs_builddir in
50698 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50700 case $ac_top_srcdir in
50701 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50702 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50703 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50708 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50709 echo "$as_me: executing $ac_dest commands" >&6;}
50712 mkdir -p $outdir &&
50713 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50715 wx
-config ) rm -f wx
-config
50716 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50722 cat >>$CONFIG_STATUS <<\_ACEOF
50724 { (exit 0); exit 0; }
50726 chmod +x
$CONFIG_STATUS
50727 ac_clean_files
=$ac_clean_files_save
50730 # configure is writing to config.log, and then calls config.status.
50731 # config.status does its own redirection, appending to config.log.
50732 # Unfortunately, on DOS this fails, as config.log is still kept open
50733 # by configure, so config.status won't be able to write to it; its
50734 # output is simply discarded. So we exec the FD to /dev/null,
50735 # effectively closing config.log, so it can be properly (re)opened and
50736 # appended to by config.status. When coming back to configure, we
50737 # need to make the FD available again.
50738 if test "$no_create" != yes; then
50740 ac_config_status_args
=
50741 test "$silent" = yes &&
50742 ac_config_status_args
="$ac_config_status_args --quiet"
50744 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50746 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50747 # would make configure fail if this is the last instruction.
50748 $ac_cs_success || { (exit 1); exit 1; }
50752 # CONFIG_SUBDIRS section.
50754 if test "$no_recursion" != yes; then
50756 # Remove --cache-file and --srcdir arguments so they do not pile up.
50757 ac_sub_configure_args
=
50759 for ac_arg
in $ac_configure_args; do
50760 if test -n "$ac_prev"; then
50765 -cache-file | --cache-file | --cache-fil | --cache-fi \
50766 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50767 ac_prev
=cache_file
;;
50768 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50769 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50772 --config-cache | -C)
50774 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50776 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50778 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50780 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50782 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50786 # Always prepend --prefix to ensure using the same prefix
50787 # in subdir configurations.
50788 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50791 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50793 # Do not complain, so a configure script can configure whichever
50794 # parts of a large source tree are present.
50795 test -d $srcdir/$ac_dir || continue
50797 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50798 echo "$as_me: configuring in $ac_dir" >&6;}
50799 { if $as_mkdir_p; then
50804 while test ! -d "$as_dir"; do
50805 as_dirs
="$as_dir $as_dirs"
50806 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50807 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50808 X"$as_dir" : 'X\(//\)[^/]' \| \
50809 X"$as_dir" : 'X\(//\)$' \| \
50810 X"$as_dir" : 'X\(/\)' \| \
50811 . : '\(.\)' 2>/dev/null ||
50813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50815 /^X\(\/\/\)$/{ s//\1/; q; }
50816 /^X\(\/\).*/{ s//\1/; q; }
50819 test ! -n "$as_dirs" || mkdir $as_dirs
50820 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50821 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50822 { (exit 1); exit 1; }; }; }
50826 if test "$ac_dir" != .
; then
50827 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50828 # A "../" for each directory in $ac_dir_suffix.
50829 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50831 ac_dir_suffix
= ac_top_builddir
=
50835 .
) # No --srcdir option. We are building in place.
50837 if test -z "$ac_top_builddir"; then
50840 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50842 [\\/]* | ?
:[\\/]* ) # Absolute path.
50843 ac_srcdir
=$srcdir$ac_dir_suffix;
50844 ac_top_srcdir
=$srcdir ;;
50845 *) # Relative path.
50846 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50847 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50850 # Do not use `cd foo && pwd` to compute absolute paths, because
50851 # the directories may not exist.
50853 .
) ac_abs_builddir
="$ac_dir";;
50856 .
) ac_abs_builddir
=`pwd`;;
50857 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50858 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50861 case $ac_abs_builddir in
50862 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50864 case ${ac_top_builddir}.
in
50865 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50866 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50867 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50870 case $ac_abs_builddir in
50871 .
) ac_abs_srcdir
=$ac_srcdir;;
50874 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50875 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50876 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50879 case $ac_abs_builddir in
50880 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50882 case $ac_top_srcdir in
50883 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50884 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50885 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50892 # Check for guested configure; otherwise get Cygnus style configure.
50893 if test -f $ac_srcdir/configure.gnu
; then
50894 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50895 elif test -f $ac_srcdir/configure
; then
50896 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50897 elif test -f $ac_srcdir/configure.
in; then
50898 ac_sub_configure
=$ac_configure
50900 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50901 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50905 # The recursion is here.
50906 if test -n "$ac_sub_configure"; then
50907 # Make the cache file name correct relative to the subdirectory.
50908 case $cache_file in
50909 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50910 *) # Relative path.
50911 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50914 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50915 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50916 # The eval makes quoting arguments work.
50917 eval $ac_sub_configure $ac_sub_configure_args \
50918 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50919 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50920 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50921 { (exit 1); exit 1; }; }
50930 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50932 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50933 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50935 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50936 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50937 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50939 echo " What level of wxWidgets compatibility should be enabled?"
50940 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50941 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50943 echo " Which libraries should wxWidgets use?"
50944 echo " jpeg ${wxUSE_LIBJPEG-none}"
50945 echo " png ${wxUSE_LIBPNG-none}"
50946 echo " regex ${wxUSE_REGEX}"
50947 echo " tiff ${wxUSE_LIBTIFF-none}"
50948 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50949 echo " xpm ${wxUSE_LIBXPM-none}"
50951 echo " zlib ${wxUSE_ZLIB}"
50952 echo " odbc ${wxUSE_ODBC}"
50953 echo " expat ${wxUSE_EXPAT}"
50954 echo " libmspack ${wxUSE_LIBMSPACK}"
50955 echo " sdl ${wxUSE_LIBSDL}"
50956 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50957 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50958 echo " hildon ${wxUSE_LIBHILDON-none}"